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