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