Advertisement
tinyevil

Untitled

Nov 29th, 2017
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. :| Equal < \N:Natural, \M:Natural >
  2. ReflEQ < x:Natural > -> Equal<x,x>
  3.  
  4. :| GreaterEqual < \N:Natural, \M:Natural >
  5. ReflGE < x:Natural > -> GreaterEqual<x, x>
  6. SuccGE < x:Natural, y:Natural, ge:GreaterEqual<x,y> > -> GreaterEqual< Succ(x), y >
  7.  
  8. :| Sig <\A:*, \P:A->*>
  9. exist < a:A, p:P(a) >
  10.  
  11. :| Sig2 <\A:*, \P:A->*, \Q:A->*>
  12. exist2 < a:A, p:P(a), q:Q(a) >
  13.  
  14. array_index ( array:Array<A>, index:Sig<Natural, GreaterEqual<length_of(array)> ) -> A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement