Basic theorems about esim-vl-iopattern-entrylist-p, generated by deflist.
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-cons (equal (esim-vl-iopattern-entrylist-p (cons acl2::a acl2::x)) (and (esim-vl-iopattern-entry-p acl2::a) (esim-vl-iopattern-entrylist-p acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-cdr-when-esim-vl-iopattern-entrylist-p (implies (esim-vl-iopattern-entrylist-p (double-rewrite acl2::x)) (esim-vl-iopattern-entrylist-p (cdr acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-when-not-consp (implies (not (consp acl2::x)) (esim-vl-iopattern-entrylist-p acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entry-p-of-car-when-esim-vl-iopattern-entrylist-p (implies (esim-vl-iopattern-entrylist-p acl2::x) (iff (esim-vl-iopattern-entry-p (car acl2::x)) (consp acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-append (equal (esim-vl-iopattern-entrylist-p (append acl2::a acl2::b)) (and (esim-vl-iopattern-entrylist-p acl2::a) (esim-vl-iopattern-entrylist-p acl2::b))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-list-fix (equal (esim-vl-iopattern-entrylist-p (list-fix acl2::x)) (esim-vl-iopattern-entrylist-p acl2::x)) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-sfix (iff (esim-vl-iopattern-entrylist-p (sfix acl2::x)) (or (esim-vl-iopattern-entrylist-p acl2::x) (not (setp acl2::x)))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-insert (iff (esim-vl-iopattern-entrylist-p (insert acl2::a acl2::x)) (and (esim-vl-iopattern-entrylist-p (sfix acl2::x)) (esim-vl-iopattern-entry-p acl2::a))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-delete (implies (esim-vl-iopattern-entrylist-p acl2::x) (esim-vl-iopattern-entrylist-p (delete acl2::k acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-mergesort (iff (esim-vl-iopattern-entrylist-p (mergesort acl2::x)) (esim-vl-iopattern-entrylist-p (list-fix acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-union (iff (esim-vl-iopattern-entrylist-p (union acl2::x acl2::y)) (and (esim-vl-iopattern-entrylist-p (sfix acl2::x)) (esim-vl-iopattern-entrylist-p (sfix acl2::y)))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-intersect-1 (implies (esim-vl-iopattern-entrylist-p acl2::x) (esim-vl-iopattern-entrylist-p (intersect acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-intersect-2 (implies (esim-vl-iopattern-entrylist-p acl2::y) (esim-vl-iopattern-entrylist-p (intersect acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-difference (implies (esim-vl-iopattern-entrylist-p acl2::x) (esim-vl-iopattern-entrylist-p (difference acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-duplicated-members (implies (esim-vl-iopattern-entrylist-p acl2::x) (esim-vl-iopattern-entrylist-p (duplicated-members acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-rev (equal (esim-vl-iopattern-entrylist-p (rev acl2::x)) (esim-vl-iopattern-entrylist-p (list-fix acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-rcons (iff (esim-vl-iopattern-entrylist-p (acl2::rcons acl2::a acl2::x)) (and (esim-vl-iopattern-entry-p acl2::a) (esim-vl-iopattern-entrylist-p (list-fix acl2::x)))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entry-p-when-member-equal-of-esim-vl-iopattern-entrylist-p (and (implies (and (member-equal acl2::a acl2::x) (esim-vl-iopattern-entrylist-p acl2::x)) (esim-vl-iopattern-entry-p acl2::a)) (implies (and (esim-vl-iopattern-entrylist-p acl2::x) (member-equal acl2::a acl2::x)) (esim-vl-iopattern-entry-p acl2::a))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-when-subsetp-equal (and (implies (and (subsetp-equal acl2::x acl2::y) (esim-vl-iopattern-entrylist-p acl2::y)) (esim-vl-iopattern-entrylist-p acl2::x)) (implies (and (esim-vl-iopattern-entrylist-p acl2::y) (subsetp-equal acl2::x acl2::y)) (esim-vl-iopattern-entrylist-p acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-set-equiv-congruence (implies (set-equiv acl2::x acl2::y) (equal (esim-vl-iopattern-entrylist-p acl2::x) (esim-vl-iopattern-entrylist-p acl2::y))) :rule-classes :congruence)
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-set-difference-equal (implies (esim-vl-iopattern-entrylist-p acl2::x) (esim-vl-iopattern-entrylist-p (set-difference-equal acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-intersection-equal-1 (implies (esim-vl-iopattern-entrylist-p (double-rewrite acl2::x)) (esim-vl-iopattern-entrylist-p (intersection-equal acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-intersection-equal-2 (implies (esim-vl-iopattern-entrylist-p (double-rewrite acl2::y)) (esim-vl-iopattern-entrylist-p (intersection-equal acl2::x acl2::y))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-union-equal (equal (esim-vl-iopattern-entrylist-p (union-equal acl2::x acl2::y)) (and (esim-vl-iopattern-entrylist-p (list-fix acl2::x)) (esim-vl-iopattern-entrylist-p (double-rewrite acl2::y)))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-take (implies (esim-vl-iopattern-entrylist-p (double-rewrite acl2::x)) (iff (esim-vl-iopattern-entrylist-p (take acl2::n acl2::x)) (or (esim-vl-iopattern-entry-p nil) (<= (nfix acl2::n) (len acl2::x))))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-repeat (iff (esim-vl-iopattern-entrylist-p (repeat acl2::n acl2::x)) (or (esim-vl-iopattern-entry-p acl2::x) (zp acl2::n))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entry-p-of-nth-when-esim-vl-iopattern-entrylist-p (implies (esim-vl-iopattern-entrylist-p acl2::x) (iff (esim-vl-iopattern-entry-p (nth acl2::n acl2::x)) (< (nfix acl2::n) (len acl2::x)))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-update-nth (implies (esim-vl-iopattern-entrylist-p (double-rewrite acl2::x)) (iff (esim-vl-iopattern-entrylist-p (update-nth acl2::n acl2::y acl2::x)) (and (esim-vl-iopattern-entry-p acl2::y) (or (<= (nfix acl2::n) (len acl2::x)) (esim-vl-iopattern-entry-p nil))))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-butlast (implies (esim-vl-iopattern-entrylist-p (double-rewrite acl2::x)) (esim-vl-iopattern-entrylist-p (butlast acl2::x acl2::n))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-nthcdr (implies (esim-vl-iopattern-entrylist-p (double-rewrite acl2::x)) (esim-vl-iopattern-entrylist-p (nthcdr acl2::n acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-last (implies (esim-vl-iopattern-entrylist-p (double-rewrite acl2::x)) (esim-vl-iopattern-entrylist-p (last acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-remove (implies (esim-vl-iopattern-entrylist-p acl2::x) (esim-vl-iopattern-entrylist-p (remove acl2::a acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm esim-vl-iopattern-entrylist-p-of-revappend (equal (esim-vl-iopattern-entrylist-p (revappend acl2::x acl2::y)) (and (esim-vl-iopattern-entrylist-p (list-fix acl2::x)) (esim-vl-iopattern-entrylist-p acl2::y))) :rule-classes ((:rewrite)))