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