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