Greater-than relation of a value of type
Function:
(defun gt-sllong-slong (x y) (declare (xargs :guard (and (sllongp x) (slongp y)))) (gt-sllong-sllong x (sllong-from-slong y)))
Theorem:
(defthm sintp-of-gt-sllong-slong (sintp (gt-sllong-slong x y)))
Theorem:
(defthm gt-sllong-slong-of-sllong-fix-x (equal (gt-sllong-slong (sllong-fix x) y) (gt-sllong-slong x y)))
Theorem:
(defthm gt-sllong-slong-sllong-equiv-congruence-on-x (implies (sllong-equiv x x-equiv) (equal (gt-sllong-slong x y) (gt-sllong-slong x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm gt-sllong-slong-of-slong-fix-y (equal (gt-sllong-slong x (slong-fix y)) (gt-sllong-slong x y)))
Theorem:
(defthm gt-sllong-slong-slong-equiv-congruence-on-y (implies (slong-equiv y y-equiv) (equal (gt-sllong-slong x y) (gt-sllong-slong x y-equiv))) :rule-classes :congruence)