Guest User

Untitled

a guest
Oct 20th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Sort list
  2. Operators
  3. Generators
  4. empty: -> list
  5. add: list, E -> list
  6. Operations
  7. size: list -> natural
  8. nth: list, natural -> E
  9.  
  10. Axioms
  11. size(empty) = 0
  12. size(add(l, n)) = succ(size(l))
  13.  
  14. nth(add(l, n), 0) = n
  15. nth(add(l, n), succ(i)) = nth(l, i)
Add Comment
Please, Sign In to add comment