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