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