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