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