Get the stmt field from a vl-initial.
(vl-initial->stmt x) → stmt
This is an ordinary field accessor created by defprod.
Function:
(defun vl-initial->stmt$inline (x) (declare (xargs :guard (vl-initial-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-initial->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-initial->stmt (b* ((stmt (vl-initial->stmt$inline x))) (vl-stmt-p stmt)) :rule-classes :rewrite)
Theorem:
(defthm vl-initial->stmt$inline-of-vl-initial-fix-x (equal (vl-initial->stmt$inline (vl-initial-fix x)) (vl-initial->stmt$inline x)))
Theorem:
(defthm vl-initial->stmt$inline-vl-initial-equiv-congruence-on-x (implies (vl-initial-equiv x x-equiv) (equal (vl-initial->stmt$inline x) (vl-initial->stmt$inline x-equiv))) :rule-classes :congruence)