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