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