Get the hyp field from a ctrex-rule.
(ctrex-rule->hyp x) → hyp
This is an ordinary field accessor created by defprod.
Function:
(defun ctrex-rule->hyp$inline (x) (declare (xargs :guard (ctrex-rule-p x))) (declare (xargs :guard t)) (let ((__function__ 'ctrex-rule->hyp)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (pseudo-term-fix (std::prod-car (std::prod-cdr (std::prod-cdr x))))) :exec (std::prod-car (std::prod-cdr (std::prod-cdr x))))))
Theorem:
(defthm pseudo-termp-of-ctrex-rule->hyp (b* ((hyp (ctrex-rule->hyp$inline x))) (pseudo-termp hyp)) :rule-classes :rewrite)
Theorem:
(defthm ctrex-rule->hyp$inline-of-ctrex-rule-fix-x (equal (ctrex-rule->hyp$inline (ctrex-rule-fix x)) (ctrex-rule->hyp$inline x)))
Theorem:
(defthm ctrex-rule->hyp$inline-ctrex-rule-equiv-congruence-on-x (implies (ctrex-rule-equiv x x-equiv) (equal (ctrex-rule->hyp$inline x) (ctrex-rule->hyp$inline x-equiv))) :rule-classes :congruence)