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