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