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