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