• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • 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
        • Std/util
        • Defdata
        • Defrstobj
        • Seq
        • Match-tree
        • Defrstobj
        • With-supporters
        • Def-partial-measure
        • Template-subst
        • Soft
        • Defthm-domain
        • Event-macros
        • Def-universal-equiv
        • Def-saved-obligs
        • With-supporters-after
        • Definec
        • Sig
        • Outer-local
        • Data-structures
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • 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))))