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