• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
        • Soft
        • Bv
        • Imp-language
        • Ethereum
        • Event-macros
        • Java
        • Riscv
          • Specification
            • Semantics
            • Features
              • Feat-base
              • Feat-endian
              • Feat
              • Feat->xlen
              • Feat->ialign
              • Feat->xnum
              • Feat-64p
              • Feat-32p
              • Feat-little-endianp
                • Feat-little-or-big-endianp
                • Feat-big-endianp
                • Feat->ilen
                • Feat-embedp
                • Feat-mp
              • Instructions
              • Encoding
              • States
              • Reads-over-writes
              • Semantics-equivalences
              • Decoding
              • Execution
            • Executable
            • Specialized
            • Optimized
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Feat-little-endianp
    • Feat-big-endianp

    Feat-little-or-big-endianp

    One of feat-little-endianp and feat-big-endianp always holds.

    Definitions and Theorems

    Theorem: feat-little-or-big-endianp

    (defthm feat-little-or-big-endianp
     (or (feat-little-endianp feat)
         (feat-big-endianp feat))
     :rule-classes
     (:rewrite
          (:forward-chaining :trigger-terms ((feat-little-endianp feat)
                                             (feat-big-endianp feat)))))