• 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
            • Isodata-implementation
              • Isodata-event-generation
              • Isodata-fn
              • Isodata-input-processing
                • Isodata-symbol-isomap-alistp
                • Isodata-isomapp
                • Isodata-pos-isomap-alistp
                • Isodata-process-iso
                • Isodata-process-inputs
                • Isodata-process-arg/res-list-iso
                • Isodata-process-isomaps
                • Isodata-fresh-defiso-thm-names
                • Isodata-process-arg/res-list
                • Isodata-process-arg/res-list-iso-list
                • Isodata-process-res
                • Isodata-process-old
                • Isodata-fresh-defiso-name-with-*s-suffix
                  • Isodata-process-newp-of-new-name
                  • Isodata-process-undefined
                  • Isodata-symbol-isomap-alist-stobjp
                  • Isodata-pos-isomap-alist-stobjp
                  • Isodata-isomap-listp
                • Isodata-macro-definition
            • 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
            • 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
    • Isodata-input-processing

    Isodata-fresh-defiso-name-with-*s-suffix

    Suffix a name with as many *s as needed to make it a valid name for a new defiso.

    Signature
    (isodata-fresh-defiso-name-with-*s-suffix name wrld) 
      → 
    fresh-name
    Arguments
    name — Guard (symbolp name).
    wrld — Guard (plist-worldp wrld).
    Returns
    fresh-name — A symbolp.

    A name is valid for a new defiso if it is not already a key in the defiso table.

    We use this function for generating local defisos.

    If the input name is already valid, no *s are added.

    Definitions and Theorems

    Function: isodata-fresh-defiso-name-with-*s-suffix-aux

    (defun isodata-fresh-defiso-name-with-*s-suffix-aux (name table)
     (declare (xargs :guard (and (symbolp name) (alistp table))))
     (let ((__function__ 'isodata-fresh-defiso-name-with-*s-suffix-aux))
       (declare (ignorable __function__))
       (if (consp (assoc-eq name table))
           (isodata-fresh-defiso-name-with-*s-suffix-aux
                (packn-pos (list name '*) name)
                table)
         name)))

    Function: isodata-fresh-defiso-name-with-*s-suffix

    (defun isodata-fresh-defiso-name-with-*s-suffix (name wrld)
      (declare (xargs :guard (and (symbolp name)
                                  (plist-worldp wrld))))
      (let ((__function__ 'isodata-fresh-defiso-name-with-*s-suffix))
        (declare (ignorable __function__))
        (b* ((table (table-alist *defmapping-table-name* wrld)
    ))
          (isodata-fresh-defiso-name-with-*s-suffix-aux name table))))