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