Top-level weirdint-elim transform.
(vl-design-weirdint-elim x) → new-x
Function:
(defun vl-design-weirdint-elim (x) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-design-weirdint-elim)) (declare (ignorable __function__)) (b* (((vl-design x) x)) (change-vl-design x :mods (vl-modulelist-weirdint-elim x.mods)))))
Theorem:
(defthm vl-design-p-of-vl-design-weirdint-elim (b* ((new-x (vl-design-weirdint-elim x))) (vl-design-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-design-weirdint-elim-of-vl-design-fix-x (equal (vl-design-weirdint-elim (vl-design-fix x)) (vl-design-weirdint-elim x)))
Theorem:
(defthm vl-design-weirdint-elim-vl-design-equiv-congruence-on-x (implies (vl-design-equiv x x-equiv) (equal (vl-design-weirdint-elim x) (vl-design-weirdint-elim x-equiv))) :rule-classes :congruence)