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