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