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