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