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