• 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
          • Isodata
          • Simplify-defun
          • Tailrec
          • Schemalg
          • Restrict
          • Expdata
          • Casesplit
          • Simplify-term
          • Simplify-defun-sk
          • Parteval
          • Solve
          • Wrap-output
          • Propagate-iso
          • Simplify
          • Finite-difference
          • Drop-irrelevant-params
          • Copy-function
          • Lift-iso
          • Rename-params
          • Utilities
            • Defaults-table
            • Xdoc::apt-constructors
            • Input-processors
            • Transformation-table
              • Remove-irrelevant-inputs-from-transformation-call
              • Record-transformation-call-event
                • Previous-transformation-expansion
              • Find-base-cases
              • Untranslate-specifier-utilities
              • Print-specifier-utilities
              • Hints-specifier-utilities
            • Simplify-term-programmatic
            • Simplify-defun-sk-programmatic
            • Simplify-defun-programmatic
            • Simplify-defun+
            • Common-options
            • Common-concepts
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • C
          • Soft
          • 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
    • Transformation-table

    Record-transformation-call-event

    Create an event form to record a transformation call into the transformation table.

    Signature
    (record-transformation-call-event call encapsulate wrld) 
      → 
    event
    Arguments
    call — Guard (pseudo-event-formp call).
    encapsulate — Guard (pseudo-event-formp encapsulate).
    wrld — Guard (plist-worldp wrld).
    Returns
    event — Type (pseudo-event-formp event).

    The :print and :show-only inputs, if present, are removed from the call prior to recording it. See the discussion here for motivation.

    Definitions and Theorems

    Function: record-transformation-call-event

    (defun record-transformation-call-event (call encapsulate wrld)
     (declare (xargs :guard (and (pseudo-event-formp call)
                                 (pseudo-event-formp encapsulate)
                                 (plist-worldp wrld))))
     (let ((__function__ 'record-transformation-call-event))
      (declare (ignorable __function__))
      (b*
       ((call
         (remove-irrelevant-inputs-from-transformation-call call wrld)))
       (cons 'table
             (cons 'transformation-table
                   (cons (cons 'quote (cons call 'nil))
                         (cons (cons 'quote (cons encapsulate 'nil))
                               'nil)))))))

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

    (defthm pseudo-event-formp-of-record-transformation-call-event
     (b*
      ((event (record-transformation-call-event call encapsulate wrld)))
      (pseudo-event-formp event))
     :rule-classes :rewrite)