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