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