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