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