• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
        • Syntax-for-tools
        • Atc
          • Atc-implementation
            • Atc-abstract-syntax
            • Atc-pretty-printer
            • Atc-event-and-code-generation
            • Fty-pseudo-term-utilities
            • Atc-term-recognizers
            • Atc-input-processing
              • Atc-process-target
              • Atc-process-const-name
              • Atc-process-function
              • Atc-process-target-list
              • Atc-process-inputs
              • Atc-process-file-name
              • Atc-process-const-name-aux
              • Atc-process-targets
              • Atc-process-print
              • Atc-process-pretty-printing
              • Atc-remove-called-fns
              • Atc-process-output-dir
              • Atc-process-proofs
                • Atc-process-header
                • *atc-allowed-pretty-printing-options*
                • *atc-allowed-options*
              • Atc-shallow-embedding
              • Atc-process-inputs-and-gen-everything
              • Atc-table
              • Atc-fn
              • Atc-pretty-printing-options
              • Atc-types
              • Atc-macro-definition
            • Atc-tutorial
          • Language
          • Representation
          • Transformation-tools
          • Insertion-sort
          • Pack
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • Riscv
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Atc-input-processing

    Atc-process-proofs

    Process the :proofs input.

    Signature
    (atc-process-proofs options) → (mv erp proofs)
    Arguments
    options — Guard (symbol-alistp options).
    Returns
    proofs — Type (booleanp proofs).

    Definitions and Theorems

    Function: atc-process-proofs

    (defun atc-process-proofs (options)
     (declare (xargs :guard (symbol-alistp options)))
     (let ((__function__ 'atc-process-proofs))
      (declare (ignorable __function__))
      (b*
       (((reterr) nil)
        (proofs-option (assoc-eq :proofs options))
        (proofs (if proofs-option (cdr proofs-option)
                  t))
        ((unless (booleanp proofs))
         (reterr
          (msg
           "The :PROOFS input must be a boolean, ~
                          but ~x0 is not a boolean."
           proofs))))
       (retok proofs))))

    Theorem: booleanp-of-atc-process-proofs.proofs

    (defthm booleanp-of-atc-process-proofs.proofs
      (b* (((mv acl2::?erp ?proofs)
            (atc-process-proofs options)))
        (booleanp proofs))
      :rule-classes :rewrite)