(vl-initial-clean-selects x ss) → new-x
Function:
(defun vl-initial-clean-selects (x ss) (declare (xargs :guard (and (vl-initial-p x) (vl-scopestack-p ss)))) (declare (ignorable x ss)) (let ((__function__ 'vl-initial-clean-selects)) (declare (ignorable __function__)) (b* (((vl-initial x) x)) (change-vl-initial x :stmt (vl-stmt-clean-selects x.stmt ss)))))
Theorem:
(defthm vl-initial-p-of-vl-initial-clean-selects (b* ((new-x (vl-initial-clean-selects x ss))) (vl-initial-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-initial-clean-selects-of-vl-initial-fix-x (equal (vl-initial-clean-selects (vl-initial-fix x) ss) (vl-initial-clean-selects x ss)))
Theorem:
(defthm vl-initial-clean-selects-vl-initial-equiv-congruence-on-x (implies (vl-initial-equiv x x-equiv) (equal (vl-initial-clean-selects x ss) (vl-initial-clean-selects x-equiv ss))) :rule-classes :congruence)
Theorem:
(defthm vl-initial-clean-selects-of-vl-scopestack-fix-ss (equal (vl-initial-clean-selects x (vl-scopestack-fix ss)) (vl-initial-clean-selects x ss)))
Theorem:
(defthm vl-initial-clean-selects-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-initial-clean-selects x ss) (vl-initial-clean-selects x ss-equiv))) :rule-classes :congruence)