(vl-design-udp-elim x) → new-x
Function:
(defun vl-design-udp-elim (x) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-design-udp-elim)) (declare (ignorable __function__)) (b* (((vl-design x) (vl-design-fix x)) (new-mods (vl-udps-to-modules x.udps))) (change-vl-design x :mods (append new-mods x.mods) :udps nil))))
Theorem:
(defthm vl-design-p-of-vl-design-udp-elim (b* ((new-x (vl-design-udp-elim x))) (vl-design-p new-x)) :rule-classes :rewrite)