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