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