• 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
              • Decimal-digits
              • Binary-digits
                • Bin-digit
                • Binary-digits-grammar-validation
                  • Grammar-bin-digitp
                  • Bin-digitp-when-grammar-bin-digitp
                  • Bin-digit-tree
                  • Grammar-bin-digitp-when-bin-digitp
                  • Bin-digitp-is-grammar-bin-digitp
                • Bin-digit-value
                • Bin-digit-list
                • Binary-digits-std/strings-theorems
              • 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
  • Binary-digits

Binary-digits-grammar-validation

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

The predicate bin-digitp defines binary 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 bin-digitp.

Subtopics

Grammar-bin-digitp
Definition of binary digits based on the grammar.
Bin-digitp-when-grammar-bin-digitp
Proof of bin-digitp from grammar-bin-digitp.
Bin-digit-tree
Tree for a binary digit.
Grammar-bin-digitp-when-bin-digitp
Proof of grammar-bin-digitp from bin-digitp.
Bin-digitp-is-grammar-bin-digitp
Equivalence of bin-digitp and grammar-bin-digitp.