Determines if all of the
(vl-expr-widthsfixed-p x) → *
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-cons (equal (vl-exprlist-widthsfixed-p (cons acl2::a acl2::x)) (and (vl-expr-widthsfixed-p acl2::a) (vl-exprlist-widthsfixed-p acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-cdr-when-vl-exprlist-widthsfixed-p (implies (vl-exprlist-widthsfixed-p (double-rewrite acl2::x)) (vl-exprlist-widthsfixed-p (cdr acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-when-not-consp (implies (not (consp acl2::x)) (vl-exprlist-widthsfixed-p acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-expr-widthsfixed-p-of-car-when-vl-exprlist-widthsfixed-p (implies (vl-exprlist-widthsfixed-p acl2::x) (iff (vl-expr-widthsfixed-p (car acl2::x)) (or (consp acl2::x) (vl-expr-widthsfixed-p nil)))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-append (equal (vl-exprlist-widthsfixed-p (append acl2::a acl2::b)) (and (vl-exprlist-widthsfixed-p acl2::a) (vl-exprlist-widthsfixed-p acl2::b))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-list-fix (equal (vl-exprlist-widthsfixed-p (list-fix acl2::x)) (vl-exprlist-widthsfixed-p acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-sfix (iff (vl-exprlist-widthsfixed-p (sfix acl2::x)) (or (vl-exprlist-widthsfixed-p acl2::x) (not (setp acl2::x)))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-insert (iff (vl-exprlist-widthsfixed-p (insert acl2::a acl2::x)) (and (vl-exprlist-widthsfixed-p (sfix acl2::x)) (vl-expr-widthsfixed-p acl2::a))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-delete (implies (vl-exprlist-widthsfixed-p acl2::x) (vl-exprlist-widthsfixed-p (delete acl2::k acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-mergesort (iff (vl-exprlist-widthsfixed-p (mergesort acl2::x)) (vl-exprlist-widthsfixed-p (list-fix acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-union (iff (vl-exprlist-widthsfixed-p (union acl2::x acl2::y)) (and (vl-exprlist-widthsfixed-p (sfix acl2::x)) (vl-exprlist-widthsfixed-p (sfix acl2::y)))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-intersect-1 (implies (vl-exprlist-widthsfixed-p acl2::x) (vl-exprlist-widthsfixed-p (intersect acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-intersect-2 (implies (vl-exprlist-widthsfixed-p acl2::y) (vl-exprlist-widthsfixed-p (intersect acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-difference (implies (vl-exprlist-widthsfixed-p acl2::x) (vl-exprlist-widthsfixed-p (difference acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-duplicated-members (implies (vl-exprlist-widthsfixed-p acl2::x) (vl-exprlist-widthsfixed-p (duplicated-members acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-rev (equal (vl-exprlist-widthsfixed-p (rev acl2::x)) (vl-exprlist-widthsfixed-p (list-fix acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-rcons (iff (vl-exprlist-widthsfixed-p (acl2::rcons acl2::a acl2::x)) (and (vl-expr-widthsfixed-p acl2::a) (vl-exprlist-widthsfixed-p (list-fix acl2::x)))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-expr-widthsfixed-p-when-member-equal-of-vl-exprlist-widthsfixed-p (and (implies (and (member-equal acl2::a acl2::x) (vl-exprlist-widthsfixed-p acl2::x)) (vl-expr-widthsfixed-p acl2::a)) (implies (and (vl-exprlist-widthsfixed-p acl2::x) (member-equal acl2::a acl2::x)) (vl-expr-widthsfixed-p acl2::a))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-when-subsetp-equal (and (implies (and (subsetp-equal acl2::x acl2::y) (vl-exprlist-widthsfixed-p acl2::y)) (vl-exprlist-widthsfixed-p acl2::x)) (implies (and (vl-exprlist-widthsfixed-p acl2::y) (subsetp-equal acl2::x acl2::y)) (vl-exprlist-widthsfixed-p acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-set-equiv-congruence (implies (set-equiv acl2::x acl2::y) (equal (vl-exprlist-widthsfixed-p acl2::x) (vl-exprlist-widthsfixed-p acl2::y))) :rule-classes :congruence)
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-set-difference-equal (implies (vl-exprlist-widthsfixed-p acl2::x) (vl-exprlist-widthsfixed-p (set-difference-equal acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-intersection-equal-1 (implies (vl-exprlist-widthsfixed-p (double-rewrite acl2::x)) (vl-exprlist-widthsfixed-p (intersection-equal acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-intersection-equal-2 (implies (vl-exprlist-widthsfixed-p (double-rewrite acl2::y)) (vl-exprlist-widthsfixed-p (intersection-equal acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-union-equal (equal (vl-exprlist-widthsfixed-p (union-equal acl2::x acl2::y)) (and (vl-exprlist-widthsfixed-p (list-fix acl2::x)) (vl-exprlist-widthsfixed-p (double-rewrite acl2::y)))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-take (implies (vl-exprlist-widthsfixed-p (double-rewrite acl2::x)) (iff (vl-exprlist-widthsfixed-p (take acl2::n acl2::x)) (or (vl-expr-widthsfixed-p nil) (<= (nfix acl2::n) (len acl2::x))))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-repeat (iff (vl-exprlist-widthsfixed-p (repeat acl2::n acl2::x)) (or (vl-expr-widthsfixed-p acl2::x) (zp acl2::n))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-expr-widthsfixed-p-of-nth-when-vl-exprlist-widthsfixed-p (implies (and (vl-exprlist-widthsfixed-p acl2::x) (< (nfix acl2::n) (len acl2::x))) (vl-expr-widthsfixed-p (nth acl2::n acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-update-nth (implies (vl-exprlist-widthsfixed-p (double-rewrite acl2::x)) (iff (vl-exprlist-widthsfixed-p (update-nth acl2::n acl2::y acl2::x)) (and (vl-expr-widthsfixed-p acl2::y) (or (<= (nfix acl2::n) (len acl2::x)) (vl-expr-widthsfixed-p nil))))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-butlast (implies (vl-exprlist-widthsfixed-p (double-rewrite acl2::x)) (vl-exprlist-widthsfixed-p (butlast acl2::x acl2::n))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-nthcdr (implies (vl-exprlist-widthsfixed-p (double-rewrite acl2::x)) (vl-exprlist-widthsfixed-p (nthcdr acl2::n acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-last (implies (vl-exprlist-widthsfixed-p (double-rewrite acl2::x)) (vl-exprlist-widthsfixed-p (last acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-remove (implies (vl-exprlist-widthsfixed-p acl2::x) (vl-exprlist-widthsfixed-p (remove acl2::a acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-exprlist-widthsfixed-p-of-revappend (equal (vl-exprlist-widthsfixed-p (revappend acl2::x acl2::y)) (and (vl-exprlist-widthsfixed-p (list-fix acl2::x)) (vl-exprlist-widthsfixed-p acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm vl-expr-widthsfixed-p-of-car-of-vl-nonatom->args (implies (and (vl-expr-widthsfixed-p x) (force (not (eq (vl-expr-kind x) :atom))) (force (consp (vl-nonatom->args x)))) (vl-expr-widthsfixed-p (car (vl-nonatom->args x)))))
Theorem:
(defthm vl-expr-widthsfixed-p-of-cadr-of-vl-nonatom->args (implies (and (vl-expr-widthsfixed-p x) (force (not (eq (vl-expr-kind x) :atom))) (force (consp (cdr (vl-nonatom->args x))))) (vl-expr-widthsfixed-p (cadr (vl-nonatom->args x)))))