| 1 |
view V from STRICT-TOTAL-ORDER to FOO is |
| 2 |
sort Elt to Bool . |
| 3 |
op X:Elt < Y:Elt to term p X:Bool + Y:Bool . |
| 4 |
endv |
| 5 |
view V from STRICT-TOTAL-ORDER to FOO is |
| 6 |
sort Elt to Bool . |
| 7 |
op X:Elt < Y:Elt to term p X:Bool + Y:Bool . |
| 8 |
endv |
| 9 |
========================================== |
| 10 |
reduce in META-LEVEL : upView('V) . |
| 11 |
rewrites: 1 |
| 12 |
result View: view 'V from 'STRICT-TOTAL-ORDER to 'FOO is |
| 13 |
sort 'Elt to 'Bool . |
| 14 |
op '_<_['X:Elt, 'Y:Elt] to term 'p_['_+_['X:Bool, 'Y:Bool]] . |
| 15 |
none |
| 16 |
endv |
| 17 |
========================================== |
| 18 |
reduce in META-LEVEL : upView('V) . |
| 19 |
rewrites: 1 |
| 20 |
result View: view 'V from 'STRICT-TOTAL-ORDER to 'FOO is |
| 21 |
sort 'Elt to 'Bool . |
| 22 |
op '_<_['X:Elt, 'Y:Elt] to term '_+_['p_['X:Bool], 'Y:Bool] . |
| 23 |
none |
| 24 |
endv |
| 25 |
Bye. |