diff options
-rw-r--r-- | peano.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -44,6 +44,12 @@ (equal (nat= x y) (equal x y)))) +(defmacro nat< (x y) + `(member-equal ,x ,y)) + +(defthm nat<-succ + (nat< x (succ x))) + (defun nat+ (x y) (if (z? y) x |