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