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