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