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