Evaluation semantics of integerp.
Function:
(defun eval-integerp (x) (declare (xargs :guard (valuep x))) (let ((__function__ 'eval-integerp)) (declare (ignorable __function__)) (lift-value (value-case-integer x))))
Theorem:
(defthm valuep-of-eval-integerp (b* ((result (eval-integerp x))) (valuep result)) :rule-classes :rewrite)
Theorem:
(defthm eval-integerp-of-value-fix-x (equal (eval-integerp (value-fix x)) (eval-integerp x)))
Theorem:
(defthm eval-integerp-value-equiv-congruence-on-x (implies (value-equiv x x-equiv) (equal (eval-integerp x) (eval-integerp x-equiv))) :rule-classes :congruence)