(vl-exprlist-scopesubst x ss) → new-x
Theorem:
(defthm vl-exprlist-scopesubst-of-update-nth (implies (<= (nfix acl2::n) (len acl2::x)) (equal (vl-exprlist-scopesubst (update-nth acl2::n acl2::v acl2::x) ss) (update-nth acl2::n (vl-expr-scopesubst acl2::v ss) (vl-exprlist-scopesubst acl2::x ss)))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-scopesubst-of-revappend (equal (vl-exprlist-scopesubst (revappend acl2::x acl2::y) ss) (revappend (vl-exprlist-scopesubst acl2::x ss) (vl-exprlist-scopesubst acl2::y ss))) :rule-classes ((:rewrite)))
Theorem:
(defthm nthcdr-of-vl-exprlist-scopesubst (equal (nthcdr acl2::n (vl-exprlist-scopesubst acl2::x ss)) (vl-exprlist-scopesubst (nthcdr acl2::n acl2::x) ss)) :rule-classes ((:rewrite)))
Theorem:
(defthm nth-of-vl-exprlist-scopesubst (equal (nth acl2::n (vl-exprlist-scopesubst acl2::x ss)) (and (< (nfix acl2::n) (len acl2::x)) (vl-expr-scopesubst (nth acl2::n acl2::x) ss))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-scopesubst-of-take (implies (<= (nfix acl2::n) (len acl2::x)) (equal (vl-exprlist-scopesubst (take acl2::n acl2::x) ss) (take acl2::n (vl-exprlist-scopesubst acl2::x ss)))) :rule-classes ((:rewrite)))
Theorem:
(defthm set-equiv-congruence-over-vl-exprlist-scopesubst (implies (set-equiv acl2::x acl2::y) (set-equiv (vl-exprlist-scopesubst acl2::x ss) (vl-exprlist-scopesubst acl2::y ss))) :rule-classes ((:congruence)))
Theorem:
(defthm subsetp-of-vl-exprlist-scopesubst-when-subsetp (implies (subsetp acl2::x acl2::y) (subsetp (vl-exprlist-scopesubst acl2::x ss) (vl-exprlist-scopesubst acl2::y ss))) :rule-classes ((:rewrite)))
Theorem:
(defthm member-of-vl-expr-scopesubst-in-vl-exprlist-scopesubst (implies (member acl2::k acl2::x) (member (vl-expr-scopesubst acl2::k ss) (vl-exprlist-scopesubst acl2::x ss))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-scopesubst-of-rev (equal (vl-exprlist-scopesubst (rev acl2::x) ss) (rev (vl-exprlist-scopesubst acl2::x ss))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-scopesubst-of-list-fix (equal (vl-exprlist-scopesubst (list-fix acl2::x) ss) (vl-exprlist-scopesubst acl2::x ss)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-scopesubst-of-append (equal (vl-exprlist-scopesubst (append acl2::a acl2::b) ss) (append (vl-exprlist-scopesubst acl2::a ss) (vl-exprlist-scopesubst acl2::b ss))) :rule-classes ((:rewrite)))
Theorem:
(defthm cdr-of-vl-exprlist-scopesubst (equal (cdr (vl-exprlist-scopesubst acl2::x ss)) (vl-exprlist-scopesubst (cdr acl2::x) ss)) :rule-classes ((:rewrite)))
Theorem:
(defthm car-of-vl-exprlist-scopesubst (equal (car (vl-exprlist-scopesubst acl2::x ss)) (and (consp acl2::x) (vl-expr-scopesubst (car acl2::x) ss))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-scopesubst-under-iff (iff (vl-exprlist-scopesubst acl2::x ss) (consp acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm consp-of-vl-exprlist-scopesubst (equal (consp (vl-exprlist-scopesubst acl2::x ss)) (consp acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm len-of-vl-exprlist-scopesubst (equal (len (vl-exprlist-scopesubst acl2::x ss)) (len acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm true-listp-of-vl-exprlist-scopesubst (true-listp (vl-exprlist-scopesubst acl2::x ss)) :rule-classes :type-prescription)
Theorem:
(defthm vl-exprlist-scopesubst-when-not-consp (implies (not (consp acl2::x)) (equal (vl-exprlist-scopesubst acl2::x ss) nil)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-scopesubst-of-cons (equal (vl-exprlist-scopesubst (cons acl2::a acl2::b) ss) (cons (vl-expr-scopesubst acl2::a ss) (vl-exprlist-scopesubst acl2::b ss))) :rule-classes ((:rewrite)))