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