Extend vl-warn-problem-modulelist to a list of modules.
(vl-warn-problem-modulelist x problems) → *
This is an ordinary defprojection.
Function:
(defun vl-warn-problem-modulelist-exec (x problems acc) (declare (xargs :guard (and (vl-modulelist-p x) (string-listp problems)))) (let ((__function__ 'vl-warn-problem-modulelist-exec)) (declare (ignorable __function__)) (if (consp x) (vl-warn-problem-modulelist-exec (cdr x) problems (cons (vl-warn-problem-module (car x) problems) acc)) acc)))
Function:
(defun vl-warn-problem-modulelist-nrev (x problems nrev) (declare (xargs :stobjs (nrev))) (declare (xargs :guard (and (vl-modulelist-p x) (string-listp problems)))) (let ((__function__ 'vl-warn-problem-modulelist-nrev)) (declare (ignorable __function__)) (if (atom x) (nrev-fix nrev) (let ((nrev (nrev-push (vl-warn-problem-module (car x) problems) nrev))) (vl-warn-problem-modulelist-nrev (cdr x) problems nrev)))))
Function:
(defun vl-warn-problem-modulelist (x problems) (declare (xargs :guard (and (vl-modulelist-p x) (string-listp problems)))) (let ((__function__ 'vl-warn-problem-modulelist)) (declare (ignorable __function__)) (mbe :logic (if (consp x) (cons (vl-warn-problem-module (car x) problems) (vl-warn-problem-modulelist (cdr x) problems)) nil) :exec (if (atom x) nil (with-local-nrev (vl-warn-problem-modulelist-nrev x problems nrev))))))
Theorem:
(defthm vl-warn-problem-modulelist-of-update-nth (implies (<= (nfix acl2::n) (len acl2::x)) (equal (vl-warn-problem-modulelist (update-nth acl2::n acl2::v acl2::x) problems) (update-nth acl2::n (vl-warn-problem-module acl2::v problems) (vl-warn-problem-modulelist acl2::x problems)))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-of-revappend (equal (vl-warn-problem-modulelist (revappend acl2::x acl2::y) problems) (revappend (vl-warn-problem-modulelist acl2::x problems) (vl-warn-problem-modulelist acl2::y problems))) :rule-classes ((:rewrite)))
Theorem:
(defthm nthcdr-of-vl-warn-problem-modulelist (equal (nthcdr acl2::n (vl-warn-problem-modulelist acl2::x problems)) (vl-warn-problem-modulelist (nthcdr acl2::n acl2::x) problems)) :rule-classes ((:rewrite)))
Theorem:
(defthm nth-of-vl-warn-problem-modulelist (equal (nth acl2::n (vl-warn-problem-modulelist acl2::x problems)) (and (< (nfix acl2::n) (len acl2::x)) (vl-warn-problem-module (nth acl2::n acl2::x) problems))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-of-take (implies (<= (nfix acl2::n) (len acl2::x)) (equal (vl-warn-problem-modulelist (take acl2::n acl2::x) problems) (take acl2::n (vl-warn-problem-modulelist acl2::x problems)))) :rule-classes ((:rewrite)))
Theorem:
(defthm set-equiv-congruence-over-vl-warn-problem-modulelist (implies (set-equiv acl2::x acl2::y) (set-equiv (vl-warn-problem-modulelist acl2::x problems) (vl-warn-problem-modulelist acl2::y problems))) :rule-classes ((:congruence)))
Theorem:
(defthm subsetp-of-vl-warn-problem-modulelist-when-subsetp (implies (subsetp acl2::x acl2::y) (subsetp (vl-warn-problem-modulelist acl2::x problems) (vl-warn-problem-modulelist acl2::y problems))) :rule-classes ((:rewrite)))
Theorem:
(defthm member-of-vl-warn-problem-module-in-vl-warn-problem-modulelist (implies (member acl2::k acl2::x) (member (vl-warn-problem-module acl2::k problems) (vl-warn-problem-modulelist acl2::x problems))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-nrev-removal (equal (vl-warn-problem-modulelist-nrev acl2::x problems nrev) (append nrev (vl-warn-problem-modulelist acl2::x problems))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-exec-removal (equal (vl-warn-problem-modulelist-exec acl2::x problems acl2::acc) (revappend (vl-warn-problem-modulelist acl2::x problems) acl2::acc)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-of-rev (equal (vl-warn-problem-modulelist (rev acl2::x) problems) (rev (vl-warn-problem-modulelist acl2::x problems))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-of-list-fix (equal (vl-warn-problem-modulelist (list-fix acl2::x) problems) (vl-warn-problem-modulelist acl2::x problems)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-of-append (equal (vl-warn-problem-modulelist (append acl2::a acl2::b) problems) (append (vl-warn-problem-modulelist acl2::a problems) (vl-warn-problem-modulelist acl2::b problems))) :rule-classes ((:rewrite)))
Theorem:
(defthm cdr-of-vl-warn-problem-modulelist (equal (cdr (vl-warn-problem-modulelist acl2::x problems)) (vl-warn-problem-modulelist (cdr acl2::x) problems)) :rule-classes ((:rewrite)))
Theorem:
(defthm car-of-vl-warn-problem-modulelist (equal (car (vl-warn-problem-modulelist acl2::x problems)) (and (consp acl2::x) (vl-warn-problem-module (car acl2::x) problems))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-under-iff (iff (vl-warn-problem-modulelist acl2::x problems) (consp acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm consp-of-vl-warn-problem-modulelist (equal (consp (vl-warn-problem-modulelist acl2::x problems)) (consp acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm len-of-vl-warn-problem-modulelist (equal (len (vl-warn-problem-modulelist acl2::x problems)) (len acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm true-listp-of-vl-warn-problem-modulelist (true-listp (vl-warn-problem-modulelist acl2::x problems)) :rule-classes :type-prescription)
Theorem:
(defthm vl-warn-problem-modulelist-when-not-consp (implies (not (consp acl2::x)) (equal (vl-warn-problem-modulelist acl2::x problems) nil)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-warn-problem-modulelist-of-cons (equal (vl-warn-problem-modulelist (cons acl2::a acl2::b) problems) (cons (vl-warn-problem-module acl2::a problems) (vl-warn-problem-modulelist acl2::b problems))) :rule-classes ((:rewrite)))