• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
      • Std/util
      • Defdata
      • Defrstobj
      • Seq
      • Match-tree
      • Defrstobj
      • With-supporters
      • Def-partial-measure
      • Template-subst
      • Soft
      • Defthm-domain
      • Event-macros
        • Evmac-input-hints-p
        • Evmac-input-print-p
        • Function-definedness
        • Event-macro-input-processing
        • Event-macro-screen-printing
        • Make-event-terse
        • Event-macro-applicability-conditions
          • Evmac-input-hints-p
          • Event-macro-applicability-condition-utilities
            • Evmac-appcond-theorem
            • Evmac-appcond-theorem-list
            • Evmac-appcondp
              • Evmac-appcond
                • Make-evmac-appcond
                • Change-evmac-appcond
                • Make-honsed-evmac-appcond
                • Honsed-evmac-appcond
                • Evmac-appcond->name
                • Evmac-appcond->formula
              • Evmac-ensure-no-extra-hints
              • Make-evmac-appcond?
              • Evmac-appcond-theorems-no-extra-hints
              • Evmac-appcond-listp
          • Event-macro-results
          • Template-generators
          • Event-macro-event-generators
          • Event-macro-proof-preparation
          • Try-event
          • Restore-output?
          • Restore-output
          • Fail-event
          • Cw-event
          • Event-macro-xdoc-constructors
          • Event-macro-intro-macros
        • Def-universal-equiv
        • Def-saved-obligs
        • With-supporters-after
        • Definec
        • Sig
        • Outer-local
        • Data-structures
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Evmac-appcondp

    Evmac-appcond

    Raw constructor for evmac-appcondp structures.

    Syntax:

    (evmac-appcond name formula)

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

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

    The evmac-appcondp structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-evmac-appcond instead.

    Definition

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

    Function: evmac-appcond

    (defun evmac-appcond (name formula)
      (declare (xargs :guard (and (keywordp name)
                                  (pseudo-termp formula))))
      (cons (cons 'name name)
            (cons (cons 'formula formula) nil)))