(vl-shadowcheck-declare-names names decl st warnings) → (mv st warnings)
Function:
(defun vl-shadowcheck-declare-names (names decl st warnings) (declare (xargs :guard (and (string-listp names) (any-p decl) (vl-shadowcheck-state-p st) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-shadowcheck-declare-names)) (declare (ignorable __function__)) (b* (((when (atom names)) (mv (vl-shadowcheck-state-fix st) (vl-warninglist-fix warnings))) ((mv st warnings) (vl-shadowcheck-declare-name (car names) decl st warnings))) (vl-shadowcheck-declare-names (cdr names) decl st warnings))))
Theorem:
(defthm vl-shadowcheck-state-p-of-vl-shadowcheck-declare-names.st (b* (((mv ?st ?warnings) (vl-shadowcheck-declare-names names decl st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm vl-warninglist-p-of-vl-shadowcheck-declare-names.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-declare-names names decl st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-shadowcheck-declare-names-of-string-list-fix-names (equal (vl-shadowcheck-declare-names (string-list-fix names) decl st warnings) (vl-shadowcheck-declare-names names decl st warnings)))
Theorem:
(defthm vl-shadowcheck-declare-names-string-list-equiv-congruence-on-names (implies (str::string-list-equiv names names-equiv) (equal (vl-shadowcheck-declare-names names decl st warnings) (vl-shadowcheck-declare-names names-equiv decl st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-declare-names-of-identity-decl (equal (vl-shadowcheck-declare-names names (identity decl) st warnings) (vl-shadowcheck-declare-names names decl st warnings)))
Theorem:
(defthm vl-shadowcheck-declare-names-equal-congruence-on-decl (implies (equal decl decl-equiv) (equal (vl-shadowcheck-declare-names names decl st warnings) (vl-shadowcheck-declare-names names decl-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-declare-names-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-declare-names names decl (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-declare-names names decl st warnings)))
Theorem:
(defthm vl-shadowcheck-declare-names-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-declare-names names decl st warnings) (vl-shadowcheck-declare-names names decl st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-declare-names-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-declare-names names decl st (vl-warninglist-fix warnings)) (vl-shadowcheck-declare-names names decl st warnings)))
Theorem:
(defthm vl-shadowcheck-declare-names-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-declare-names names decl st warnings) (vl-shadowcheck-declare-names names decl st warnings-equiv))) :rule-classes :congruence)