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