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