Eliminate
(vl-packeddimension-wildelim x ctx warnings) → (mv warnings new-x)
Function:
(defun vl-packeddimension-wildelim$inline (x ctx warnings) (declare (xargs :guard (and (vl-packeddimension-p x) (vl-context-p ctx) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-packeddimension-wildelim)) (declare (ignorable __function__)) (b* ((x (vl-packeddimension-fix x)) (warnings (vl-warninglist-fix warnings))) (b* ((x (vl-packeddimension-fix x))) (if (eq x :vl-unsized-dimension) (mv warnings x) (vl-range-wildelim x ctx warnings))))))
Theorem:
(defthm vl-warninglist-p-of-vl-packeddimension-wildelim.warnings (b* (((mv ?warnings ?new-x) (vl-packeddimension-wildelim$inline x ctx warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-packeddimension-p-of-vl-packeddimension-wildelim.new-x (b* (((mv ?warnings ?new-x) (vl-packeddimension-wildelim$inline x ctx warnings))) (vl-packeddimension-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-packeddimension-wildelim$inline-of-vl-packeddimension-fix-x (equal (vl-packeddimension-wildelim$inline (vl-packeddimension-fix x) ctx warnings) (vl-packeddimension-wildelim$inline x ctx warnings)))
Theorem:
(defthm vl-packeddimension-wildelim$inline-vl-packeddimension-equiv-congruence-on-x (implies (vl-packeddimension-equiv x x-equiv) (equal (vl-packeddimension-wildelim$inline x ctx warnings) (vl-packeddimension-wildelim$inline x-equiv ctx warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-packeddimension-wildelim$inline-of-vl-context-fix-ctx (equal (vl-packeddimension-wildelim$inline x (vl-context-fix ctx) warnings) (vl-packeddimension-wildelim$inline x ctx warnings)))
Theorem:
(defthm vl-packeddimension-wildelim$inline-vl-context-equiv-congruence-on-ctx (implies (vl-context-equiv ctx ctx-equiv) (equal (vl-packeddimension-wildelim$inline x ctx warnings) (vl-packeddimension-wildelim$inline x ctx-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-packeddimension-wildelim$inline-of-vl-warninglist-fix-warnings (equal (vl-packeddimension-wildelim$inline x ctx (vl-warninglist-fix warnings)) (vl-packeddimension-wildelim$inline x ctx warnings)))
Theorem:
(defthm vl-packeddimension-wildelim$inline-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-packeddimension-wildelim$inline x ctx warnings) (vl-packeddimension-wildelim$inline x ctx warnings-equiv))) :rule-classes :congruence)