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