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