Guest User

Untitled

a guest
Oct 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. operators:
  2.  
  3. generateurs
  4.  
  5. empty : () => empty
  6. add: (list, nat) => list
  7.  
  8. observateurs
  9.  
  10. size: (list) => nat
  11. nth: (s) => nat
  12.  
  13.  
  14.  
  15. AXIOMS:
  16. size(empty) =0
  17. size( add(list, n)) = succ(size(list))
  18.  
  19. Terminal Case
  20. nth(add(list,n), 0)= n
  21.  
  22. #instead of x-1 in second part we put succ(x in first part of equation)
  23. nth(add(list, succ(x)), x)= nth(list, x)
Add Comment
Please, Sign In to add comment