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

Decimal-digits-grammar-validation

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

The predicate dec-digitp defines decimal 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 dec-digitp.

Subtopics

Dec-digit-tree
Tree for a decimal digit.
Grammar-dec-digitp
Definition of decimal digits based on the grammar.
Dec-digitp-when-grammar-dec-digitp
Proof of dec-digitp from grammar-dec-digitp.
Grammar-dec-digitp-when-dec-digitp
Proof of grammar-dec-digitp from dec-digitp.
Dec-digitp-is-grammar-dec-digitp
Equivalence of dec-digitp and grammar-dec-digitp.