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