Debian Codegraph @

tests/Meta/metaVariantMatch.expected

raw
1 ==========================================
2 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(cst1 + X:XOR) <=? upTerm(
3 cst2 + Y:XOR), empty, '#, none, 0) .
4 rewrites: 7
5 result Assignment:
6 'X:XOR <- '_+_['cst1.Elem, 'cst2.Elem, 'Y:XOR]
7 ==========================================
8 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(cst1 + X:XOR) <=? upTerm(
9 cst2 + Y:XOR), empty, '#, none, 1) .
10 rewrites: 4
11 result Substitution?: (noMatch).Substitution?
12 ==========================================
13 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
14 upTerm(cst1 + cst2), empty, '#, none, 0) .
15 rewrites: 14
16 result Substitution:
17 'X:XOR <- 'cst1.Elem ;
18 'Y:XOR <- 'cst2.Elem
19 ==========================================
20 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
21 upTerm(cst1 + cst2), empty, '#, none, 1) .
22 rewrites: 4
23 result Substitution:
24 'X:XOR <- 'cst2.Elem ;
25 'Y:XOR <- 'cst1.Elem
26 ==========================================
27 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
28 upTerm(cst1 + cst2), empty, '#, none, 2) .
29 rewrites: 4
30 result Substitution:
31 'X:XOR <- '0.XOR ;
32 'Y:XOR <- '_+_['cst1.Elem, 'cst2.Elem]
33 ==========================================
34 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
35 upTerm(cst1 + cst2), empty, '#, none, 3) .
36 rewrites: 4
37 result Substitution:
38 'X:XOR <- '_+_['cst1.Elem, 'cst2.Elem] ;
39 'Y:XOR <- '0.XOR
40 ==========================================
41 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
42 upTerm(cst1 + cst2), empty, '#, none, 4) .
43 rewrites: 4
44 result Substitution:
45 'X:XOR <- '_+_['cst1.Elem, '#1:XOR] ;
46 'Y:XOR <- '_+_['cst2.Elem, '#1:XOR]
47 ==========================================
48 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
49 upTerm(cst1 + cst2), empty, '#, none, 5) .
50 rewrites: 4
51 result Substitution:
52 'X:XOR <- '_+_['cst2.Elem, '#1:XOR] ;
53 'Y:XOR <- '_+_['cst1.Elem, '#1:XOR]
54 ==========================================
55 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
56 upTerm(cst1 + cst2), empty, '#, none, 6) .
57 rewrites: 4
58 result Substitution:
59 'X:XOR <- '_+_['cst1.Elem, 'cst2.Elem, '#1:XOR] ;
60 'Y:XOR <- '#1:XOR
61 ==========================================
62 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
63 upTerm(cst1 + cst2), empty, '#, none, 7) .
64 rewrites: 4
65 result Substitution:
66 'X:XOR <- '#1:XOR ;
67 'Y:XOR <- '_+_['cst1.Elem, 'cst2.Elem, '#1:XOR]
68 ==========================================
69 reduce in META-TEST : metaVariantMatch(['XOR], upTerm(X:XOR + Y:XOR) <=?
70 upTerm(cst1 + cst2), empty, '#, none, 8) .
71 rewrites: 4
72 result Substitution?: (noMatch).Substitution?
73 Bye.