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