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