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