Function:
(defun svex-int$inline (x) (declare (xargs :guard (integerp x))) (let ((__function__ 'svex-int)) (declare (ignorable __function__)) (svex-quote (2vec (lifix x)))))
Theorem:
(defthm svex-p-of-svex-int (b* ((svex (svex-int$inline x))) (svex-p svex)) :rule-classes :rewrite)
Theorem:
(defthm svex-int-correct (b* ((?svex (svex-int$inline x))) (equal (svex-eval svex env) (2vec (ifix x)))))
Theorem:
(defthm svex-int-vars (b* nil (equal (svex-vars (svex-int x)) nil)))
Theorem:
(defthm svex-int$inline-of-ifix-x (equal (svex-int$inline (ifix x)) (svex-int$inline x)))
Theorem:
(defthm svex-int$inline-int-equiv-congruence-on-x (implies (int-equiv x x-equiv) (equal (svex-int$inline x) (svex-int$inline x-equiv))) :rule-classes :congruence)