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