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