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