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