• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
        • Deftagsum
        • Defprod
        • Defflexsum
        • Defbitstruct
        • Deflist
        • Defalist
        • Defbyte
        • Defresult
        • Deffixequiv
        • Deffixtype
        • Defoption
        • Fty-discipline
        • Fold
        • Specific-types
        • Fty-extensions
        • Defsubtype
        • Deftypes
        • Defset
        • Defflatsum
        • Deflist-of-len
        • Defomap
        • Defbytelist
          • Defbytelist-standard-instances
            • Ubyte8-list
            • Ubyte4-list
            • Ubyte32-list
            • Ubyte256-list
              • Ubyte256-list-fix
              • Ubyte256-list-equiv
              • Ubyte256-listp
            • Ubyte128-list
            • Ubyte64-list
            • Ubyte3-list
            • Ubyte2-list
            • Ubyte16-list
            • Ubyte11-list
            • Ubyte1-list
            • Sbyte8-list
            • Sbyte64-list
            • Sbyte4-list
            • Sbyte32-list
            • Sbyte3-list
            • Sbyte256-list
            • Sbyte2-list
            • Sbyte16-list
            • Sbyte128-list
            • Sbyte1-list
            • Defubytelist
            • Defsbytelist
          • Defbytelist-implementation
        • Fty::basetypes
        • Defvisitors
        • Deffixtype-alias
        • Deffixequiv-sk
        • Defunit
        • Multicase
        • Deffixequiv-mutual
        • Fty::baselists
        • Def-enumcase
        • Defmap
      • Apt
      • Std/util
      • Defdata
      • Defrstobj
      • Seq
      • Match-tree
      • Defrstobj
      • With-supporters
      • Def-partial-measure
      • Template-subst
      • Soft
      • Defthm-domain
      • Event-macros
      • Def-universal-equiv
      • Def-saved-obligs
      • With-supporters-after
      • Definec
      • Sig
      • Outer-local
      • Data-structures
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Defbytelist-standard-instances

Ubyte256-list

Fixtype of true lists of unsigned bytes of size 256.

This is an ordinary fty::deflist.

Theorem: ubyte256-listp-forward-unsigned-byte-listp

(defthm ubyte256-listp-forward-unsigned-byte-listp
  (implies (ubyte256-listp x)
           (unsigned-byte-listp 256 x))
  :rule-classes :forward-chaining)

Theorem: ubyte256-listp-rewrite-unsigned-byte-listp

(defthm ubyte256-listp-rewrite-unsigned-byte-listp
  (equal (ubyte256-listp x)
         (unsigned-byte-listp 256 x)))

Theorem: unsigned-byte-listp-rewrite-ubyte256-listp

(defthm unsigned-byte-listp-rewrite-ubyte256-listp
  (equal (unsigned-byte-listp 256 x)
         (ubyte256-listp x)))

Theorem: true-listp-when-ubyte256-listp-rewrite

(defthm true-listp-when-ubyte256-listp-rewrite
  (implies (ubyte256-listp x)
           (true-listp x)))

Theorem: ubyte256-list-fix-of-take

(defthm ubyte256-list-fix-of-take
  (implies (<= (nfix n) (len x))
           (equal (ubyte256-list-fix (take n x))
                  (take n (ubyte256-list-fix x)))))

Theorem: ubyte256-list-fix-of-rcons

(defthm ubyte256-list-fix-of-rcons
  (equal (ubyte256-list-fix (rcons a x))
         (rcons (ubyte256-fix a)
                (ubyte256-list-fix x))))

Subtopics

Ubyte256-list-fix
(ubyte256-list-fix x) is a usual fty list fixing function.
Ubyte256-list-equiv
Basic equivalence relation for ubyte256-list structures.
Ubyte256-listp
(ubyte256-listp x) recognizes lists where every element satisfies ubyte256p.