• 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
          • 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
          • Kestrel-utilities
          • Set
          • Soft
          • C
          • 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
    • 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)