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