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