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