Fixtype of true lists of unsigned bytes of size 1.
This is an ordinary fty::deflist.
Theorem:
(defthm ubyte1-listp-forward-unsigned-byte-listp (implies (ubyte1-listp x) (unsigned-byte-listp 1 x)) :rule-classes :forward-chaining)
Theorem:
(defthm ubyte1-listp-rewrite-unsigned-byte-listp (equal (ubyte1-listp x) (unsigned-byte-listp 1 x)))
Theorem:
(defthm unsigned-byte-listp-rewrite-ubyte1-listp (equal (unsigned-byte-listp 1 x) (ubyte1-listp x)))
Theorem:
(defthm true-listp-when-ubyte1-listp-rewrite (implies (ubyte1-listp x) (true-listp x)))
Theorem:
(defthm ubyte1-list-fix-of-take (implies (<= (nfix n) (len x)) (equal (ubyte1-list-fix (take n x)) (take n (ubyte1-list-fix x)))))
Theorem:
(defthm ubyte1-list-fix-of-rcons (equal (ubyte1-list-fix (rcons a x)) (rcons (ubyte1-fix a) (ubyte1-list-fix x))))