• 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
              • Character-literals
              • Null-literal
                • Null-literal-grammar-validation
                  • Null-literalp-when-grammar-null-literalp
                  • Grammar-null-literalp
                  • Null-literal-tree
                  • Grammar-null-literalp-when-null-literalp
                  • Null-literalp-is-grammar-null-literalp
                • Null-literalp
                • *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
  • Null-literal

Null-literal-grammar-validation

Validation of the definition of null-literalp with respect to the ABNF grammar of Java.

The predicate null-literalp defines the null literal `directly', i.e. without reference to the grammar. Here we introduce an alternative predicate based on the grammar, and we show it equivalent to null-literalp.

Subtopics

Null-literalp-when-grammar-null-literalp
Proof of null-literalp from grammar-null-literalp.
Grammar-null-literalp
Definition of the null literal based on the grammar.
Null-literal-tree
Tree for the null literal.
Grammar-null-literalp-when-null-literalp
Proof of grammar-null-literalp from null-literalp.
Null-literalp-is-grammar-null-literalp
Equivalence of null-literalp and grammar-null-literalp.