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