Prev Up Next
Go backward to E.1.1 PO
Go up to E.1 Specifications from the Bremen Proposal
Go forward to E.1.3 NAT

E.1.2 MONOID

spec
MONOID =
sort
M
ops
n : M;
__*__ : M × M   ->   M, assocunit n
%% 
Alternatively, just specify the corresponding axioms:
vars
x,y,z : M
  ·  
n*x=x
  ·  
x*n=x
  ·  
(x*y)*z=x*(y*z)

CoFI Document: CASL/Summary --Version 0.99-- 21 April 1998.
Comments to cofi-language@brics.dk

Prev Up Next