(vl-design-condcheck x) → new-x
Function:
(defun vl-design-condcheck (x) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-design-condcheck)) (declare (ignorable __function__)) (b* (((vl-design x)) (warnings (vl-warningtree-flatten-aux (vl-design-condcheck! x) nil x.warnings)) (mods (vl-modulelist-condcheck x.mods)) (interfaces (vl-interfacelist-condcheck x.interfaces))) (change-vl-design x :warnings warnings :mods mods :interfaces interfaces))))
Theorem:
(defthm vl-design-p-of-vl-design-condcheck (b* ((new-x (vl-design-condcheck x))) (vl-design-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-design-condcheck-of-vl-design-fix-x (equal (vl-design-condcheck (vl-design-fix x)) (vl-design-condcheck x)))
Theorem:
(defthm vl-design-condcheck-vl-design-equiv-congruence-on-x (implies (vl-design-equiv x x-equiv) (equal (vl-design-condcheck x) (vl-design-condcheck x-equiv))) :rule-classes :congruence)