Add
(vl-assign-origexprs x) → new-x
Function:
(defun vl-assign-origexprs (x) (declare (xargs :guard (vl-assign-p x))) (let ((__function__ 'vl-assign-origexprs)) (declare (ignorable __function__)) (let ((x (vl-assign-fix x))) (b* (((vl-assign x))) (change-vl-assign x :lvalue (vl-expr-origexprs x.lvalue) :expr (vl-expr-origexprs x.expr) :delay (vl-maybe-gatedelay-origexprs x.delay))))))
Theorem:
(defthm vl-assign-p-of-vl-assign-origexprs (b* ((new-x (vl-assign-origexprs x))) (vl-assign-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-assign-origexprs-of-vl-assign-fix-x (equal (vl-assign-origexprs (vl-assign-fix x)) (vl-assign-origexprs x)))
Theorem:
(defthm vl-assign-origexprs-vl-assign-equiv-congruence-on-x (implies (vl-assign-equiv x x-equiv) (equal (vl-assign-origexprs x) (vl-assign-origexprs x-equiv))) :rule-classes :congruence)