• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
          • Atj
          • Aij
          • Language
            • Syntax
              • Grammar
              • Unicode-escapes
              • Unicode-input-char
              • Escape-sequence
              • Identifiers
              • Primitive-types
              • Reference-types
              • Keywords
                • Keywords-grammar-validation
                • Jkeywordp
                • Restricted-jkeywordp
                • *jkeywords*
                  • *restricted-jkeywords*
                • Unicode-characters
                • Integer-literals
                • String-literals
                • Octal-digits
                • Hexadecimal-digits
                • Decimal-digits
                • Binary-digits
                • Character-literals
                • Null-literal
                • Floating-point-literals
                • Boolean-literals
                • Package-names
                • Literals
              • Semantics
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Keywords

    *jkeywords*

    The (non-restricted) Java keywords, as ACL2 strings.

    Definition: *jkeywords*

    (defconst *jkeywords*
      (list "abstract" "assert" "boolean" "break"
            "byte" "case" "catch" "char" "class"
            "const" "continue" "default" "do"
            "double" "else" "enum" "extends" "final"
            "finally" "float" "for" "if" "goto"
            "implements" "import" "instanceof"
            "int" "interface" "long" "native" "new"
            "package" "private" "protected" "public"
            "return" "short" "static" "strictfp"
            "super" "switch" "synchronized"
            "this" "throw" "throws" "transient"
            "try" "void" "volatile" "while" "_"))

    Definitions and Theorems

    Theorem: ascii-listp-of-*jkeywords*

    (defthm ascii-listp-of-*jkeywords*
      (implies (member-equal keyword *jkeywords*)
               (ascii-listp (string=>unicode keyword))))