diff options
-rw-r--r-- | peano.lisp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -93,3 +93,10 @@ (equal (equal (nat+ k x) (nat+ k y)) (equal x y))) :hints (("Goal" :induct (nat= x y)))) + +(defthm nat+-right-cancellative + (implies (and (nat? x) + (nat? y) + (nat? k)) + (equal (equal (nat+ x k) (nat+ y k)) + (equal x y)))) |