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