• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
        • Soft
          • Soft-future-work
          • Soft-macros
            • Defun-inst
            • Defequal
              • Defequal-implementation
                • Defequal-fn
                • Defequal-event-generation
                • Defequal-input-processing
                • Defequal-table
                  • Defequal-trim-call
                  • Defequal-redundant?
                  • Defequal-record-call
                    • Defequal-trim-call-args
                  • Defequal-macro-definition
              • Defsoft
              • Defthm-inst
              • Defun2
              • Defunvar
              • Defun-sk2
              • Defchoose2
              • Defthm-2nd-order
              • Define-sk2
              • Defund-sk2
              • Define2
              • Defund2
            • Updates-to-workshop-material
            • Soft-implementation
            • Soft-notions
          • Bv
          • Imp-language
          • Ethereum
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Defequal-table

    Defequal-record-call

    Table event to record a call of defequal.

    Signature
    (defequal-record-call call expansion) → table-event
    Arguments
    call — Guard (pseudo-event-formp call).
    expansion — Guard (pseudo-event-formp expansion).
    Returns
    table-event — Type (pseudo-event-formp table-event).

    Definitions and Theorems

    Function: defequal-record-call

    (defun defequal-record-call (call expansion)
      (declare (xargs :guard (and (pseudo-event-formp call)
                                  (pseudo-event-formp expansion))))
      (let ((__function__ 'defequal-record-call))
        (declare (ignorable __function__))
        (b* ((call (defequal-trim-call call)))
          (cons 'table
                (cons 'defequal-table
                      (cons (cons 'quote (cons call 'nil))
                            (cons (cons 'quote (cons expansion 'nil))
                                  'nil)))))))

    Theorem: pseudo-event-formp-of-defequal-record-call

    (defthm pseudo-event-formp-of-defequal-record-call
      (b* ((table-event (defequal-record-call call expansion)))
        (pseudo-event-formp table-event))
      :rule-classes :rewrite)