• 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
          • Atj
          • Aij
          • Language
            • Syntax
              • Grammar
              • Unicode-escapes
              • Unicode-input-char
              • Escape-sequence
              • Identifiers
              • Primitive-types
              • Reference-types
              • Unicode-characters
              • Keywords
              • Integer-literals
              • String-literals
              • Octal-digits
              • Hexadecimal-digits
                • Hex-digit
                • Hex-digit-value
                • Hexadecimal-digits-grammar-validation
                  • Grammar-hex-digitp
                  • Hex-digitp-when-grammar-hex-digitp
                  • Hex-digit-tree
                  • Grammar-hex-digitp-when-hex-digitp
                  • Hex-digitp-is-grammar-hex-digitp
                • Hex-digit-list
                • Hexadecimal-digits-std/strings-theorems
              • Decimal-digits
              • Binary-digits
              • Character-literals
              • Null-literal
              • Floating-point-literals
              • Boolean-literals
              • Package-names
              • Literals
            • Semantics
        • Riscv
        • 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
  • Hexadecimal-digits

Hexadecimal-digits-grammar-validation

Validation of the definition of hex-digitp with respect to the ABNF grammar of Java.

The predicate hex-digitp defines hexadecimal digits `directly', i.e. without reference to the grammar. Here we introduce an alternative predicate based on the grammar, and we show it equivalent to hex-digitp.

Subtopics

Grammar-hex-digitp
Definition of hexadecimal digits based on the grammar.
Hex-digitp-when-grammar-hex-digitp
Proof of hex-digitp from grammar-hex-digitp.
Hex-digit-tree
Tree for a hexadecimal digit.
Grammar-hex-digitp-when-hex-digitp
Proof of grammar-hex-digitp from hex-digitp.
Hex-digitp-is-grammar-hex-digitp
Equivalence of hex-digitp and grammar-hex-digitp.