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