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