• 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
        • Soft
        • C
        • Bv
        • Imp-language
        • Event-macros
        • Java
          • Atj
            • Atj-implementation
              • Atj-types
              • Atj-java-primitive-array-model
              • Atj-java-abstract-syntax
              • Atj-input-processing
                • Atj-collect-fns-in-term
                • Atj-worklist-iterate
                • Atj-process-test
                • Atj-process-inputs
                • Atj-process-test-input-jprim-value
                • Atj-process-output-subdir
                • Atj-process-test-input
                • Atj-process-output-dir
                • Atj-process-test-input-jprim-values
                • Atj-fns-to-translate
                • Atj-process-test-inputs
                • Atj-process-tests
                • Atj-process-targets
                • Atj-process-no-aij-types
                • Atj-pkgs-to-translate
                • Atj-process-java-class
                • Atj-process-java-package
                  • *atj-default-java-class*
                  • *atj-allowed-options*
                • Atj-java-pretty-printer
                • Atj-code-generation
                • Atj-java-primitives
                • Atj-java-primitive-arrays
                • Atj-type-macros
                • Atj-java-syntax-operations
                • Atj-fn
                • Atj-library-extensions
                • Atj-java-input-types
                • Atj-test-structures
                • Aij-notions
                • Atj-macro-definition
              • Atj-tutorial
            • Aij
            • Language
          • Riscv
          • 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
    • Atj-input-processing

    Atj-process-java-package

    Process the :java-package input.

    Signature
    (atj-process-java-package java-package ctx state) 
      → 
    (mv erp nothing state)
    Arguments
    ctx — Guard (ctxp ctx).
    Returns
    nothing — Type (null nothing).

    Definitions and Theorems

    Function: atj-process-java-package

    (defun atj-process-java-package (java-package ctx state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard (ctxp ctx)))
     (let ((__function__ 'atj-process-java-package))
      (declare (ignorable __function__))
      (b*
       (((er &)
         (ensure-string-or-nil$ java-package
                                "The :JAVA-PACKAGE input" t nil))
        ((unless
              (or (null java-package)
                  (atj-string-ascii-java-package-name-p java-package)))
         (er-soft+
          ctx t nil
          "The :JAVA-PACKAGE input ~x0 is not ~
                       NIL or a valid Java package name ~
                       consisting of only ASCII characters."
          java-package))
        ((when (equal java-package *aij-package*))
         (er-soft+
          ctx t nil
          "The :JAVA-PACKAGE input ~x0 must differ from ~
                       the name of the Java package of AIJ ~x1."
          java-package *aij-package*)))
       (value nil))))

    Theorem: null-of-atj-process-java-package.nothing

    (defthm null-of-atj-process-java-package.nothing
      (b* (((mv ?erp ?nothing acl2::?state)
            (atj-process-java-package java-package ctx state)))
        (null nothing))
      :rule-classes :rewrite)