• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
      • Std/lists
      • Omaps
      • Std/alists
      • Obags
      • Std/util
      • Std/strings
      • Std/osets
      • Std/io
      • Std/basic
        • Maybe-stringp
        • Maybe-natp
        • Two-nats-measure
        • Impossible
        • Bytep
          • Byte
            • Byte-list
              • Byte-listp
              • Byte-list-fix
              • Byte-list20
              • Byte-list32
                • Byte-list32p
                  • Byte-list32-fix
                • Byte-list64
                • Byte-list-equiv
              • Byte-fix
              • Bytep-additional-theorems
            • Bytes-as-digits-in-base-256
            • Bytep-additional-theorems
          • Nat-list-measure
          • Maybe-posp
          • Nibblep
          • Organize-symbols-by-pkg
          • Organize-symbols-by-name
          • Lnfix
          • Good-valuep
          • Streqv
          • Chareqv
          • Symbol-package-name-non-cl
          • Arith-equivs
          • Induction-schemes
          • Maybe-integerp
          • Char-fix
          • Pos-fix
          • Symbol-package-name-lst
          • Mbt$
          • Maybe-bitp
          • Good-pseudo-termp
          • Str-fix
          • Maybe-string-fix
          • Nonkeyword-listp
          • Lifix
          • Bfix
          • Std/basic/if*
          • Impliez
          • Tuplep
          • Std/basic/intern-in-package-of-symbol
          • Lbfix
          • Std/basic/symbol-name-lst
          • True
          • Std/basic/rfix
          • Std/basic/realfix
          • Std/basic/member-symbol-name
          • Std/basic/fix
          • False
          • Std/basic/nfix
          • Std/basic/ifix
        • Std/system
        • Std/typed-lists
        • Std/bitsets
        • Std/testing
        • Std/typed-alists
        • Std/stobjs
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Byte-list32

    Byte-list32p

    Recognizer for byte-list32.

    Signature
    (byte-list32p x) → *

    Definitions and Theorems

    Function: byte-list32p

    (defun byte-list32p (x)
      (declare (xargs :guard t))
      (and (byte-listp x) (equal (len x) 32)))

    Theorem: booleanp-of-byte-list32p

    (defthm booleanp-of-byte-list32p
      (booleanp (byte-list32p x)))

    Theorem: byte-listp-when-byte-list32p-rewrite

    (defthm byte-listp-when-byte-list32p-rewrite
      (implies (byte-list32p x)
               (byte-listp x)))

    Theorem: byte-listp-when-byte-list32p-forward

    (defthm byte-listp-when-byte-list32p-forward
      (implies (byte-list32p x)
               (byte-listp x))
      :rule-classes :forward-chaining)

    Theorem: len-when-byte-list32p-tau

    (defthm len-when-byte-list32p-tau
      (implies (byte-list32p x)
               (equal (len x) 32))
      :rule-classes :tau-system)