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