• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
        • Defisar
          • Defisar-implementation
            • Keyword-fact-info-alistp
            • Defisar-assume
            • Defisar-derive
            • Defisar-commands
            • Fact-infop
            • Defisar-qed
            • Defisar-let
            • Defisar-derive-thm-hyps
            • Defisar-proof
              • Defisar-fn
              • Fact-info-listp
              • Fact-info-list->thm-name-list
              • Defisar-formula-to-hyps+concl
              • Defisar-macro-definition-synonym
              • Defisar-macro-definition
        • Pfcs
        • Wp-gen
        • Dimacs-reader
        • Legacy-defrstobj
        • Proof-checker-array
        • Soft
        • C
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Riscv
        • Bitcoin
        • 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
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Defisar-implementation

    Defisar-proof

    Execute a proof.

    Signature
    (defisar-proof commands name formula disable rule-classes ctx state) 
      → 
    (mv erp events state)
    Arguments
    commands — Guard (true-listp commands).
    name — Guard (symbolp name).
    disable — Guard (booleanp disable).
    Returns
    events — Type (pseudo-event-form-listp events).

    Definitions and Theorems

    Function: defisar-proof

    (defun defisar-proof
           (commands name
                     formula disable rule-classes ctx state)
      (declare (xargs :stobjs (state)))
      (declare (xargs :guard (and (true-listp commands)
                                  (symbolp name)
                                  (booleanp disable))))
      (let ((__function__ 'defisar-proof))
        (declare (ignorable __function__))
        (b* (((mv hyps &)
              (defisar-formula-to-hyps+concl formula))
             ((er events)
              (defisar-commands commands name formula hyps nil nil
                                nil disable rule-classes ctx state)))
          (value (rev events)))))

    Theorem: pseudo-event-form-listp-of-defisar-proof.events

    (defthm pseudo-event-form-listp-of-defisar-proof.events
      (b* (((mv ?erp ?events acl2::?state)
            (defisar-proof commands name formula
                           disable rule-classes ctx state)))
        (pseudo-event-form-listp events))
      :rule-classes :rewrite)