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