Check well-formedness of lvalues in a vl-initial-p.
(vl-initial-lvaluecheck x warnings) → new-warnings
We check the lvalues throughout
Function:
(defun vl-initial-lvaluecheck (x warnings) (declare (xargs :guard (and (vl-initial-p x) (vl-warninglist-p warnings)))) (declare (xargs :guard t)) (let ((__function__ 'vl-initial-lvaluecheck)) (declare (ignorable __function__)) (vl-stmt-lvaluecheck (vl-initial->stmt x) warnings)))
Theorem:
(defthm vl-warninglist-p-of-vl-initial-lvaluecheck (b* ((new-warnings (vl-initial-lvaluecheck x warnings))) (vl-warninglist-p new-warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-initial-lvaluecheck-of-vl-initial-fix-x (equal (vl-initial-lvaluecheck (vl-initial-fix x) warnings) (vl-initial-lvaluecheck x warnings)))
Theorem:
(defthm vl-initial-lvaluecheck-vl-initial-equiv-congruence-on-x (implies (vl-initial-equiv x x-equiv) (equal (vl-initial-lvaluecheck x warnings) (vl-initial-lvaluecheck x-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-initial-lvaluecheck-of-vl-warninglist-fix-warnings (equal (vl-initial-lvaluecheck x (vl-warninglist-fix warnings)) (vl-initial-lvaluecheck x warnings)))
Theorem:
(defthm vl-initial-lvaluecheck-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-initial-lvaluecheck x warnings) (vl-initial-lvaluecheck x warnings-equiv))) :rule-classes :congruence)