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