• 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
          • 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
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • 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
    • 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)