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