• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
      • Wp-gen
      • Dimacs-reader
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Riscv
        • Specification
        • Executable
        • Specialized
          • Rv64im
          • Rv32im
            • Semantics32
            • States32
              • Write32-xreg
              • Xregfile32
                • Xregfile32p
                  • Xregfile32-fix
                • Write32-mem-ubyte16-lendian
                • State32
                • Memory32
                • Write32-mem-ubyte32-lendian
                • Write32-pc
                • Write32-mem-ubyte8
                • Read32-mem-ubyte16-lendian
                • Read32-xreg-unsigned
                • Read32-mem-ubyte8
                • Read32-mem-ubyte32-lendian
                • Read32-xreg-signed
                • Inc32-pc
                • Read32-pc
                • Error32p
                • Error32
                • *mem32-size*
              • Execution32
        • Bitcoin
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Xregfile32

    Xregfile32p

    Recognizer for xregfile32.

    Signature
    (xregfile32p x) → *

    Definitions and Theorems

    Function: xregfile32p

    (defun xregfile32p (x)
      (declare (xargs :guard t))
      (and (ubyte32-listp x)
           (equal (len x) 31)))

    Theorem: booleanp-of-xregfile32p

    (defthm booleanp-of-xregfile32p
      (booleanp (xregfile32p x)))

    Theorem: ubyte32-listp-when-xregfile32p-rewrite

    (defthm ubyte32-listp-when-xregfile32p-rewrite
      (implies (xregfile32p x)
               (ubyte32-listp x)))

    Theorem: ubyte32-listp-when-xregfile32p-forward

    (defthm ubyte32-listp-when-xregfile32p-forward
      (implies (xregfile32p x)
               (ubyte32-listp x))
      :rule-classes :forward-chaining)

    Theorem: len-when-xregfile32p-tau

    (defthm len-when-xregfile32p-tau
      (implies (xregfile32p x)
               (equal (len x) 31))
      :rule-classes :tau-system)