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