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