• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • 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
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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)