Main function for checking name shadowing.
(vl-shadowcheck-genelement x st warnings) → (mv st warnings)
Theorem:
(defthm return-type-of-vl-shadowcheck-genelement.st (b* (((mv ?st ?warnings) (vl-shadowcheck-genelement x st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-vl-shadowcheck-genelement.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-genelement x st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-vl-shadowcheck-genelementlist.st (b* (((mv ?st ?warnings) (vl-shadowcheck-genelementlist x st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-vl-shadowcheck-genelementlist.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-genelementlist x st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-vl-shadowcheck-genblock.st (b* (((mv ?st ?warnings) (vl-shadowcheck-genblock x st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-vl-shadowcheck-genblock.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-genblock x st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-vl-shadowcheck-gencaselist.st (b* (((mv ?st ?warnings) (vl-shadowcheck-gencaselist x ctx st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm return-type-of-vl-shadowcheck-gencaselist.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-gencaselist x ctx st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-shadowcheck-genelement-of-vl-genelement-fix-x (equal (vl-shadowcheck-genelement (vl-genelement-fix x) st warnings) (vl-shadowcheck-genelement x st warnings)))
Theorem:
(defthm vl-shadowcheck-genelement-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-genelement x (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-genelement x st warnings)))
Theorem:
(defthm vl-shadowcheck-genelement-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-genelement x st (vl-warninglist-fix warnings)) (vl-shadowcheck-genelement x st warnings)))
Theorem:
(defthm vl-shadowcheck-genelementlist-of-vl-genelementlist-fix-x (equal (vl-shadowcheck-genelementlist (vl-genelementlist-fix x) st warnings) (vl-shadowcheck-genelementlist x st warnings)))
Theorem:
(defthm vl-shadowcheck-genelementlist-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-genelementlist x (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-genelementlist x st warnings)))
Theorem:
(defthm vl-shadowcheck-genelementlist-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-genelementlist x st (vl-warninglist-fix warnings)) (vl-shadowcheck-genelementlist x st warnings)))
Theorem:
(defthm vl-shadowcheck-genblock-of-vl-genblock-fix-x (equal (vl-shadowcheck-genblock (vl-genblock-fix x) st warnings) (vl-shadowcheck-genblock x st warnings)))
Theorem:
(defthm vl-shadowcheck-genblock-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-genblock x (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-genblock x st warnings)))
Theorem:
(defthm vl-shadowcheck-genblock-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-genblock x st (vl-warninglist-fix warnings)) (vl-shadowcheck-genblock x st warnings)))
Theorem:
(defthm vl-shadowcheck-gencaselist-of-vl-gencaselist-fix-x (equal (vl-shadowcheck-gencaselist (vl-gencaselist-fix x) ctx st warnings) (vl-shadowcheck-gencaselist x ctx st warnings)))
Theorem:
(defthm vl-shadowcheck-gencaselist-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-gencaselist x ctx (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-gencaselist x ctx st warnings)))
Theorem:
(defthm vl-shadowcheck-gencaselist-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-gencaselist x ctx st (vl-warninglist-fix warnings)) (vl-shadowcheck-gencaselist x ctx st warnings)))
Theorem:
(defthm vl-shadowcheck-genelement-vl-genelement-equiv-congruence-on-x (implies (vl-genelement-equiv x x-equiv) (equal (vl-shadowcheck-genelement x st warnings) (vl-shadowcheck-genelement x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-genelement-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-genelement x st warnings) (vl-shadowcheck-genelement x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-genelement-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-genelement x st warnings) (vl-shadowcheck-genelement x st warnings-equiv))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-genelementlist-vl-genelementlist-equiv-congruence-on-x (implies (vl-genelementlist-equiv x x-equiv) (equal (vl-shadowcheck-genelementlist x st warnings) (vl-shadowcheck-genelementlist x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-genelementlist-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-genelementlist x st warnings) (vl-shadowcheck-genelementlist x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-genelementlist-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-genelementlist x st warnings) (vl-shadowcheck-genelementlist x st warnings-equiv))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-genblock-vl-genblock-equiv-congruence-on-x (implies (vl-genblock-equiv x x-equiv) (equal (vl-shadowcheck-genblock x st warnings) (vl-shadowcheck-genblock x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-genblock-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-genblock x st warnings) (vl-shadowcheck-genblock x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-genblock-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-genblock x st warnings) (vl-shadowcheck-genblock x st warnings-equiv))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-gencaselist-vl-gencaselist-equiv-congruence-on-x (implies (vl-gencaselist-equiv x x-equiv) (equal (vl-shadowcheck-gencaselist x ctx st warnings) (vl-shadowcheck-gencaselist x-equiv ctx st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-gencaselist-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-gencaselist x ctx st warnings) (vl-shadowcheck-gencaselist x ctx st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-gencaselist-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-gencaselist x ctx st warnings) (vl-shadowcheck-gencaselist x ctx st warnings-equiv))) :rule-classes :congruence)