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