• 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
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • 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
  • Defisar

Defisar-implementation

Implementation of defisar.

The implementation functions have arguments and results consistently named as follows (unless otherwise stated, explicitly or implicitly, in the functions):

  • state is the ACL2 state.
  • ctx is the context used for errors.
  • name is the homonymous input to the event macro.
  • formula is the homonymous input to the event macro.
  • proof is the homonymous input to the event macro.
  • disable is the homonymous input to the event macro.
  • rule-classes is the homonymous input to the event macro.
  • hyps is the list of hypotheses of formula.
  • concl is the conclusion of formula
  • facts is an alist from keyword that identify facts to information about those facts.
  • bindings is an alist from variable symbols to formulas, corresponding to the :let bindings.

Implementation functions' arguments and results that are not listed above are described in, or clear from, those functions' documentation.

Subtopics

Keyword-fact-info-alistp
Recognize alists from keywords to fact information.
Defisar-assume
Execute an :assume command.
Defisar-derive
Execute a :derive command.
Defisar-commands
Execute a sequence of commands.
Fact-infop
Recognize information about facts.
Defisar-qed
Execute the :qed command.
Defisar-let
Execute a :let command.
Defisar-derive-thm-hyps
Generate the hypotheses for the theorem generated for a :derive command.
Defisar-proof
Execute a proof.
Defisar-fn
Generate and submit the defisar events.
Fact-info-listp
Recognize lists of information about facts.
Fact-info-list->thm-name-list
Lift fact-info->thm-name to lists.
Defisar-formula-to-hyps+concl
Decompose the input formula into hypotheses and conclusion.
Defisar-macro-definition-synonym
Synonym of defisar in the "ACL2" package.
Defisar-macro-definition
Definition of the defisar macro.