• 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
            • Parteval-implementation
              • Parteval-event-generation
                • Parteval-gen-everything
                • Parteval-gen-new-fn
                • Parteval-gen-old-to-new-thm-instances
                • Parteval-gen-old-to-new-thm
                • Parteval-gen-new-fn-verify-guards
                • Parteval-gen-new-fn-body
                • Parteval-transform-rec-args
                • Parteval-transform-rec-calls-in-term
                  • Parteval-transform-rec-calls-in-terms
                • Parteval-gen-static-equalities
              • Parteval-fn
              • Parteval-input-processing
              • Parteval-macro-definition
          • Solve
          • Wrap-output
          • Propagate-iso
          • Simplify
          • Finite-difference
          • Drop-irrelevant-params
          • Copy-function
          • Lift-iso
          • Rename-params
          • 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
  • Parteval-event-generation

Parteval-transform-rec-calls-in-term

Transform the recursive calls in the body of old.

Signature
(parteval-transform-rec-calls-in-term 
     body-term old$ new-name$ y1...ym wrld) 
 
  → 
new-body-term
Arguments
body-term — Guard (pseudo-termp body-term).
old$ — Guard (symbolp old$).
new-name$ — Guard (symbolp new-name$).
y1...ym — Guard (symbol-listp y1...ym).
wrld — Guard (plist-worldp wrld).

This applies to case 2 in the reference documentation. Each call of old is replaced with a call of new with the static arguments removed. This code recursively processes the terms in the body of old.

Subtopics

Parteval-transform-rec-calls-in-terms