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