Accessor for the value of quote pseudo-terms.
(pseudo-term-quote->val x) → *
Function:
(defun pseudo-term-quote->val (x) (declare (xargs :guard (pseudo-termp x))) (declare (xargs :guard (eq (pseudo-term-kind x) :quote))) (let ((__function__ 'pseudo-term-quote->val)) (declare (ignorable __function__)) (cadr (pseudo-term-fix x))))
Theorem:
(defthm base-ev-when-pseudo-term-quote (implies (equal (pseudo-term-kind x) :quote) (equal (base-ev x a) (pseudo-term-quote->val x))))
Theorem:
(defthm pseudo-term-quote->val-of-pseudo-term-fix-x (equal (pseudo-term-quote->val (pseudo-term-fix x)) (pseudo-term-quote->val x)))
Theorem:
(defthm pseudo-term-quote->val-pseudo-term-equiv-congruence-on-x (implies (pseudo-term-equiv x x-equiv) (equal (pseudo-term-quote->val x) (pseudo-term-quote->val x-equiv))) :rule-classes :congruence)