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