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