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