Check whether the value of
(sparseint-< x y) → less
Function:
(defun sparseint-<$inline (x y) (declare (xargs :guard (and (sparseint-p x) (sparseint-p y)))) (let ((__function__ 'sparseint-<)) (declare (ignorable __function__)) (eql (sparseint-compare x y) -1)))
Theorem:
(defthm booleanp-of-sparseint-< (b* ((less (sparseint-<$inline x y))) (booleanp less)) :rule-classes :type-prescription)
Theorem:
(defthm sparseint-<-correct (b* ((?less (sparseint-<$inline x y))) (equal less (< (sparseint-val x) (sparseint-val y)))))
Theorem:
(defthm sparseint-<$inline-of-sparseint-fix-x (equal (sparseint-<$inline (sparseint-fix x) y) (sparseint-<$inline x y)))
Theorem:
(defthm sparseint-<$inline-sparseint-equiv-congruence-on-x (implies (sparseint-equiv x x-equiv) (equal (sparseint-<$inline x y) (sparseint-<$inline x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm sparseint-<$inline-of-sparseint-fix-y (equal (sparseint-<$inline x (sparseint-fix y)) (sparseint-<$inline x y)))
Theorem:
(defthm sparseint-<$inline-sparseint-equiv-congruence-on-y (implies (sparseint-equiv y y-equiv) (equal (sparseint-<$inline x y) (sparseint-<$inline x y-equiv))) :rule-classes :congruence)