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