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