Basic theorems about tyspecseq-listp, generated by std::deflist.
Theorem:
(defthm tyspecseq-listp-of-cons (equal (tyspecseq-listp (cons acl2::a acl2::x)) (and (tyspecseqp acl2::a) (tyspecseq-listp acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm tyspecseq-listp-of-cdr-when-tyspecseq-listp (implies (tyspecseq-listp (double-rewrite acl2::x)) (tyspecseq-listp (cdr acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm tyspecseq-listp-when-not-consp (implies (not (consp acl2::x)) (equal (tyspecseq-listp acl2::x) (not acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm tyspecseqp-of-car-when-tyspecseq-listp (implies (tyspecseq-listp acl2::x) (iff (tyspecseqp (car acl2::x)) (consp acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm true-listp-when-tyspecseq-listp-compound-recognizer (implies (tyspecseq-listp acl2::x) (true-listp acl2::x)) :rule-classes :compound-recognizer)
Theorem:
(defthm tyspecseq-listp-of-list-fix (implies (tyspecseq-listp acl2::x) (tyspecseq-listp (list-fix acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm tyspecseq-listp-of-rev (equal (tyspecseq-listp (rev acl2::x)) (tyspecseq-listp (list-fix acl2::x))) :rule-classes ((:rewrite)))
Theorem:
(defthm tyspecseq-listp-of-append (equal (tyspecseq-listp (append acl2::a acl2::b)) (and (tyspecseq-listp (list-fix acl2::a)) (tyspecseq-listp acl2::b))) :rule-classes ((:rewrite)))