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