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