• 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
          • Executable
            • Decoding-left-inverse
            • Decoding-executable
            • Decoding-right-inverse
            • Execution-executable
            • Decoding-correct
              • Decode-is-decodex
          • 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
  • Executable

Decoding-correct

Correctness of the executable decoding.

We use the inversion theorems proved in decoding-left-inverse and decoding-right-inverse to show that the declarative definition of the decoder is equivalent to the executable definition of the decoder.

See encoding-decoding-illustration for an illustration of encoding and decoding.

Subtopics

Decode-is-decodex
Equivalence of declarative and executable decoding.