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