| 1 |
========================================== |
| 2 |
reduce in META-LEVEL : metaApply(['APPLY], 'f['a.Foo, 'b.Foo], 'k, |
| 3 |
'Y:Foo <- 'b.Foo, 0) . |
| 4 |
*********** equation |
| 5 |
eq [Q:Qid] = sth Q:Qid is |
| 6 |
including Q:Qid . |
| 7 |
sorts none . |
| 8 |
none |
| 9 |
none |
| 10 |
none |
| 11 |
none |
| 12 |
none |
| 13 |
none |
| 14 |
none |
| 15 |
endsth . |
| 16 |
Q:Qid --> 'APPLY |
| 17 |
['APPLY] |
| 18 |
---> |
| 19 |
sth 'APPLY is |
| 20 |
including 'APPLY . |
| 21 |
sorts none . |
| 22 |
none |
| 23 |
none |
| 24 |
none |
| 25 |
none |
| 26 |
none |
| 27 |
none |
| 28 |
none |
| 29 |
endsth |
| 30 |
*********** equation |
| 31 |
eq a = c . |
| 32 |
empty substitution |
| 33 |
a |
| 34 |
---> |
| 35 |
c |
| 36 |
*********** membership axiom |
| 37 |
mb c : Foo . |
| 38 |
empty substitution |
| 39 |
Bar: c becomes Foo |
| 40 |
*********** rule |
| 41 |
rl [k] : f(X:Foo, Y:Foo) => X:Foo . |
| 42 |
X:Foo --> c |
| 43 |
Y:Foo --> b |
| 44 |
f(c, b) |
| 45 |
---> |
| 46 |
c |
| 47 |
*********** equation |
| 48 |
(built-in equation for symbol metaApply) |
| 49 |
metaApply(sth 'APPLY is |
| 50 |
including 'APPLY . |
| 51 |
sorts none . |
| 52 |
none |
| 53 |
none |
| 54 |
none |
| 55 |
none |
| 56 |
none |
| 57 |
none |
| 58 |
none |
| 59 |
endsth, 'f['a.Foo, 'b.Foo], 'k, |
| 60 |
'Y:Foo <- 'b.Foo, 0) |
| 61 |
---> |
| 62 |
{'c.Foo, 'Foo, |
| 63 |
'X:Foo <- 'c.Foo ; |
| 64 |
'Y:Foo <- 'b.Foo} |
| 65 |
rewrites: 5 |
| 66 |
mb applications: 1 equational rewrites: 3 rule rewrites: 1 variant narrowing |
| 67 |
steps: 0 narrowing steps: 0 |
| 68 |
result ResultTriple: {'c.Foo, 'Foo, |
| 69 |
'X:Foo <- 'c.Foo ; |
| 70 |
'Y:Foo <- 'b.Foo} |
| 71 |
========================================== |
| 72 |
reduce in META-LEVEL : metaXapply(['APPLY], 'f['a.Foo, 'b.Foo], 'k, |
| 73 |
'Y:Foo <- 'b.Foo, 0, 0, 0) . |
| 74 |
*********** equation |
| 75 |
eq [Q:Qid] = sth Q:Qid is |
| 76 |
including Q:Qid . |
| 77 |
sorts none . |
| 78 |
none |
| 79 |
none |
| 80 |
none |
| 81 |
none |
| 82 |
none |
| 83 |
none |
| 84 |
none |
| 85 |
endsth . |
| 86 |
Q:Qid --> 'APPLY |
| 87 |
['APPLY] |
| 88 |
---> |
| 89 |
sth 'APPLY is |
| 90 |
including 'APPLY . |
| 91 |
sorts none . |
| 92 |
none |
| 93 |
none |
| 94 |
none |
| 95 |
none |
| 96 |
none |
| 97 |
none |
| 98 |
none |
| 99 |
endsth |
| 100 |
*********** equation |
| 101 |
eq a = c . |
| 102 |
empty substitution |
| 103 |
a |
| 104 |
---> |
| 105 |
c |
| 106 |
*********** membership axiom |
| 107 |
mb c : Foo . |
| 108 |
empty substitution |
| 109 |
Bar: c becomes Foo |
| 110 |
*********** rule |
| 111 |
rl [k] : f(X:Foo, Y:Foo) => X:Foo . |
| 112 |
X:Foo --> c |
| 113 |
Y:Foo --> b |
| 114 |
f(c, b) |
| 115 |
---> |
| 116 |
c |
| 117 |
*********** equation |
| 118 |
(built-in equation for symbol metaXapply) |
| 119 |
metaXapply(sth 'APPLY is |
| 120 |
including 'APPLY . |
| 121 |
sorts none . |
| 122 |
none |
| 123 |
none |
| 124 |
none |
| 125 |
none |
| 126 |
none |
| 127 |
none |
| 128 |
none |
| 129 |
endsth, 'f['a.Foo, 'b.Foo], 'k, |
| 130 |
'Y:Foo <- 'b.Foo, 0, 0, 0) |
| 131 |
---> |
| 132 |
{'c.Foo, 'Foo, |
| 133 |
'X:Foo <- 'c.Foo ; |
| 134 |
'Y:Foo <- 'b.Foo, []} |
| 135 |
rewrites: 5 |
| 136 |
mb applications: 1 equational rewrites: 3 rule rewrites: 1 variant narrowing |
| 137 |
steps: 0 narrowing steps: 0 |
| 138 |
result Result4Tuple: {'c.Foo, 'Foo, |
| 139 |
'X:Foo <- 'c.Foo ; |
| 140 |
'Y:Foo <- 'b.Foo, []} |
| 141 |
Bye. |