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