(vl-final-increwrite x) → new-x
Function:
(defun vl-final-increwrite (x) (declare (xargs :guard (vl-final-p x))) (let ((__function__ 'vl-final-increwrite)) (declare (ignorable __function__)) (b* (((vl-final x) (vl-final-fix x))) (b* ((stmt (vl-stmt-increwrite-flat x.stmt))) (change-vl-final x :stmt stmt)))))
Theorem:
(defthm vl-final-p-of-vl-final-increwrite (b* ((new-x (vl-final-increwrite x))) (vl-final-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-final-increwrite-of-vl-final-fix-x (equal (vl-final-increwrite (vl-final-fix x)) (vl-final-increwrite x)))
Theorem:
(defthm vl-final-increwrite-vl-final-equiv-congruence-on-x (implies (vl-final-equiv x x-equiv) (equal (vl-final-increwrite x) (vl-final-increwrite x-equiv))) :rule-classes :congruence)