• 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
              • Make-fact-info
              • Fact-info
                • Change-fact-info
                • Make-honsed-fact-info
                • Honsed-fact-info
                • Fact-info->thm-name
                • Fact-info->formula
              • 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
    • Fact-infop

    Fact-info

    Raw constructor for fact-infop structures.

    Syntax:

    (fact-info thm-name formula)

    This is the lowest-level constructor for fact-infop structures. It simply conses together a structure with the specified fields.

    Note: It's generally better to use macros like make-fact-info or change-fact-info instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.

    The fact-infop structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-fact-info instead.

    Definition

    This is an ordinary constructor function introduced by std::defaggregate.

    Function: fact-info

    (defun fact-info (thm-name formula)
      (declare (xargs :guard (and (symbolp thm-name))))
      (cons (cons 'thm-name thm-name)
            (cons (cons 'formula formula) nil)))