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