• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
        • Syntax-for-tools
        • Atc
        • Language
        • Representation
        • Transformation-tools
          • Simpadd0
          • Deftrans
          • Splitgso
          • Constant-propagation
          • Split-fn
          • Copy-fn
            • Copy-fn-extdecl
            • Copy-fn-filepath-transunit-map
            • Rename-fn-filepath-transunit-map
            • Copy-fn-fundef
            • Rename-fn-transunit-ensemble
            • Copy-fn-transunit-ensemble
            • Copy-fn-extdecl-list
            • Rename-fn-ident-list
            • Rename-fn-fundef
            • Rename-fn-extdecl-list
            • Rename-fn-extdecl
            • Copy-fn-transunit
            • Rename-fn-transunit
            • Rename-fn-ident
              • Rename-fn-const
              • Rename-fn-funcall-fun
            • Specialize
            • Split-all-gso
            • Rename
            • Utilities
          • Insertion-sort
          • Pack
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • Riscv
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Copy-fn

    Rename-fn-ident

    Signature
    (rename-fn-ident ident old-fn new-fn) → new-ident
    Arguments
    ident — Guard (identp ident).
    old-fn — Guard (identp old-fn).
    new-fn — Guard (identp new-fn).
    Returns
    new-ident — Type (identp new-ident).

    Definitions and Theorems

    Function: rename-fn-ident

    (defun rename-fn-ident (ident old-fn new-fn)
      (declare (xargs :guard (and (identp ident)
                                  (identp old-fn)
                                  (identp new-fn))))
      (declare (ignorable ident old-fn new-fn))
      (let ((__function__ 'rename-fn-ident))
        (declare (ignorable __function__))
        (ident-fix ident)))

    Theorem: identp-of-rename-fn-ident

    (defthm identp-of-rename-fn-ident
      (b* ((new-ident (rename-fn-ident ident old-fn new-fn)))
        (identp new-ident))
      :rule-classes :rewrite)