Get the blockstmt-idx field from a addnames-indices.
(addnames-indices->blockstmt-idx x) → blockstmt-idx
This is an ordinary field accessor created by defprod.
Function:
(defun addnames-indices->blockstmt-idx$inline (x) (declare (xargs :guard (addnames-indices-p x))) (declare (xargs :guard t)) (let ((__function__ 'addnames-indices->blockstmt-idx)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (pos-fix (std::prod-car (std::prod-cdr x)))) :exec (std::prod-car (std::prod-cdr x)))))
Theorem:
(defthm posp-of-addnames-indices->blockstmt-idx (b* ((blockstmt-idx (addnames-indices->blockstmt-idx$inline x))) (posp blockstmt-idx)) :rule-classes :rewrite)
Theorem:
(defthm addnames-indices->blockstmt-idx$inline-of-addnames-indices-fix-x (equal (addnames-indices->blockstmt-idx$inline (addnames-indices-fix x)) (addnames-indices->blockstmt-idx$inline x)))
Theorem:
(defthm addnames-indices->blockstmt-idx$inline-addnames-indices-equiv-congruence-on-x (implies (addnames-indices-equiv x x-equiv) (equal (addnames-indices->blockstmt-idx$inline x) (addnames-indices->blockstmt-idx$inline x-equiv))) :rule-classes :congruence)