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