• 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
          • Specialize
          • Split-all-gso
          • Rename
            • Ident-ident-subst
            • Rename-filepath-transunit-map
            • Rename-transunit-ensemble
            • Rename-fundef
            • Rename-extdecl-list
            • Rename-transunit
            • Rename-ident-list
            • Rename-extdecl
              • Rename-ident
              • Rename-const
              • Ident-ident-alist
            • 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
    • Rename

    Rename-extdecl

    Signature
    (rename-extdecl extdecl subst) → new-extdecl
    Arguments
    extdecl — Guard (extdeclp extdecl).
    subst — Guard (ident-ident-alistp subst).
    Returns
    new-extdecl — Type (extdeclp new-extdecl).

    Definitions and Theorems

    Function: rename-extdecl

    (defun rename-extdecl (extdecl subst)
     (declare (xargs :guard (and (extdeclp extdecl)
                                 (ident-ident-alistp subst))))
     (declare (ignorable extdecl subst))
     (let ((__function__ 'rename-extdecl))
      (declare (ignorable __function__))
      (extdecl-case
           extdecl
           :fundef (extdecl-fundef (rename-fundef extdecl.unwrap subst))
           :decl (extdecl-decl (rename-decl extdecl.unwrap subst))
           :empty (extdecl-empty)
           :asm (extdecl-fix extdecl))))

    Theorem: extdeclp-of-rename-extdecl

    (defthm extdeclp-of-rename-extdecl
      (b* ((new-extdecl (rename-extdecl extdecl subst)))
        (extdeclp new-extdecl))
      :rule-classes :rewrite)