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