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