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