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