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