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