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