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