(vl-design-caseelim x) → new-x
Function:
(defun vl-design-caseelim (x) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-design-caseelim)) (declare (ignorable __function__)) (b* (((vl-design x) x) (ss (vl-scopestack-init x)) (mods (vl-modulelist-caseelim x.mods ss))) (vl-scopestacks-free) (change-vl-design x :mods mods))))
Theorem:
(defthm vl-design-p-of-vl-design-caseelim (b* ((new-x (vl-design-caseelim x))) (vl-design-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-design-caseelim-of-vl-design-fix-x (equal (vl-design-caseelim (vl-design-fix x)) (vl-design-caseelim x)))
Theorem:
(defthm vl-design-caseelim-vl-design-equiv-congruence-on-x (implies (vl-design-equiv x x-equiv) (equal (vl-design-caseelim x) (vl-design-caseelim x-equiv))) :rule-classes :congruence)