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