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