Fixtype of lists of ASCII characters.
Values of this type model Java strings
(at a more essential and abstract level than
instances of the class
Theorem:
(defthm ascii-listp-forward-unsigned-byte-listp (implies (ascii-listp x) (unsigned-byte-listp 7 x)) :rule-classes :forward-chaining)
Theorem:
(defthm ascii-listp-rewrite-unsigned-byte-listp (equal (ascii-listp x) (unsigned-byte-listp 7 x)))
Theorem:
(defthm unsigned-byte-listp-rewrite-ascii-listp (equal (unsigned-byte-listp 7 x) (ascii-listp x)))
Theorem:
(defthm true-listp-when-ascii-listp-rewrite (implies (ascii-listp x) (true-listp x)))
Theorem:
(defthm ascii-list-fix-of-take (implies (<= (nfix n) (len x)) (equal (ascii-list-fix (take n x)) (take n (ascii-list-fix x)))))
Theorem:
(defthm ascii-list-fix-of-rcons (equal (ascii-list-fix (rcons a x)) (rcons (ascii-fix a) (ascii-list-fix x))))
Theorem:
(defthm unicode-listp-when-ascii-listp (implies (ascii-listp x) (unicode-listp x)))