• 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
                • 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
          • 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
    • 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)))