(vl-always-check-regs names vars elem) → warning?
Function:
(defun vl-always-check-regs (names vars elem) (declare (xargs :guard (and (string-listp names) (vl-vardecllist-p vars) (vl-modelement-p elem)))) (let ((__function__ 'vl-always-check-regs)) (declare (ignorable __function__)) (if (atom names) nil (or (vl-always-check-reg (car names) vars elem) (vl-always-check-regs (cdr names) vars elem)))))
Theorem:
(defthm return-type-of-vl-always-check-regs (b* ((warning? (vl-always-check-regs names vars elem))) (equal (vl-warning-p warning?) (if warning? t nil))) :rule-classes :rewrite)
Theorem:
(defthm regs-exists-unless-vl-always-check-regs (implies (and (not (vl-always-check-regs names vars elem)) (force (vl-vardecllist-p vars)) (force (string-listp names))) (subsetp-equal names (vl-vardecllist->names vars))))
Theorem:
(defthm vl-always-check-regs-of-string-list-fix-names (equal (vl-always-check-regs (string-list-fix names) vars elem) (vl-always-check-regs names vars elem)))
Theorem:
(defthm vl-always-check-regs-string-list-equiv-congruence-on-names (implies (str::string-list-equiv names names-equiv) (equal (vl-always-check-regs names vars elem) (vl-always-check-regs names-equiv vars elem))) :rule-classes :congruence)
Theorem:
(defthm vl-always-check-regs-of-vl-vardecllist-fix-vars (equal (vl-always-check-regs names (vl-vardecllist-fix vars) elem) (vl-always-check-regs names vars elem)))
Theorem:
(defthm vl-always-check-regs-vl-vardecllist-equiv-congruence-on-vars (implies (vl-vardecllist-equiv vars vars-equiv) (equal (vl-always-check-regs names vars elem) (vl-always-check-regs names vars-equiv elem))) :rule-classes :congruence)
Theorem:
(defthm vl-always-check-regs-of-vl-modelement-fix-elem (equal (vl-always-check-regs names vars (vl-modelement-fix elem)) (vl-always-check-regs names vars elem)))
Theorem:
(defthm vl-always-check-regs-vl-modelement-equiv-congruence-on-elem (implies (vl-modelement-equiv elem elem-equiv) (equal (vl-always-check-regs names vars elem) (vl-always-check-regs names vars elem-equiv))) :rule-classes :congruence)