Prev Up Next
Go backward to 2.3 LIST_WITH_ORDER
Go up to 2 Specifications from the Paris Proposal
Go forward to 2.5 LIST

2.4 COMPOUND_SYMBOLS_ARE_NICE

spec
COMPOUND_SYMBOLS_ARE_NICE =
 
LIST_WITH_ORDER[ NATURAL fit Elem |-> Nat, __<__ |-> __leq__ ]
and
 
LIST_WITH_ORDER[ NATURAL fit Elem |-> Nat, __<__ |-> __geq__ ]
then
var
l : List[Nat]
axiom
order[__geq__](l) = reverse(order[__leq__](l))
end

CoFI Document: CASL/SyntaxExamples --Version 0.99-- 17 February 1998.
Comments to cofi-language@brics.dk

Prev Up Next