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