• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Debugging
    • Projects
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Vwsim
      • Fgl
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
          • Vl-lint
            • Vl-lintconfig-p
            • Condcheck
            • Lint-warning-suppression
            • Lucid
            • Lvaluecheck
            • Vl-interfacelist-alwaysstyle
            • Truncation-warnings
            • Vl-modulelist-alwaysstyle
            • Skip-detection
            • Vl-lint-report
            • Vl-lintresult
            • Vl::vl-design-sv-use-set
            • Oddexpr-check
            • Leftright-check
            • Duplicate-detect
            • Selfassigns
            • *vl-lint-help*
            • Arith-compare-check
            • Dupeinst-check
            • Qmarksize-check
            • Lint-whole-file-suppression
            • Run-vl-lint-main
            • Logicassign
            • Run-vl-lint
            • Vl-print-certain-warnings
            • Duperhs-check
            • Vl-lint-top
            • Sd-filter-problems
            • Vl-modulelist-add-svbad-warnings
            • Vl-module-add-svbad-warnings
            • Check-case
            • Vl-lint-extra-actions
            • Drop-lint-stubs
            • Vl-lint-print-warnings
            • Drop-user-submodules
            • Check-namespace
            • Vl-lintconfig-loadconfig
            • Vl-lint-design->svex-modalist-wrapper
            • Vl-delete-sd-problems-for-modnames-aux
            • Vl-collect-new-names-from-orignames
              • Vl-lint-print-all-warnings
              • Vl-design-remove-unnecessary-modules
              • Vl-delete-sd-problems-for-modnames
              • Vl-always-check-style
              • Vl-vardecllist-svbad-warnings
              • Vl-vardecl-svbad-warnings
              • Vl-reportcard-remove-suppressed
              • Vl-reportcard-keep-suppressed
              • Vl-alwayslist-check-style
              • Vl-remove-nameless-descriptions
              • Vl-lint-apply-quiet
              • Vl-warninglist-remove-suppressed
              • Vl-warninglist-keep-suppressed
              • Vl-print-eliminated-descs
              • Vl-module-alwaysstyle
              • Vl-jp-reportcard-aux
              • Vl-interface-alwaysstyle
              • Vl-design-alwaysstyle
              • Vl-jp-description-locations
              • Vl-jp-reportcard
              • Vl-pp-stringlist-lines
              • Vl-jp-design-locations
              • Vl-datatype-svbad-p
              • Unpacked-range-check
              • Sd-problem-major-p
              • Vl-alwaysstyle
            • Vl-server
            • Vl-gather
            • Vl-zip
            • Vl-main
            • Split-plusargs
            • Vl-shell
            • Vl-json
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Testing-utilities
      • Math
    • Vl-lint

    Vl-collect-new-names-from-orignames

    Signature
    (vl-collect-new-names-from-orignames keep-orignames mods) 
      → 
    keep-newnames
    Arguments
    keep-orignames — Guard (string-listp keep-orignames).
    mods — Guard (vl-modulelist-p mods).
    Returns
    keep-newnames — Type (string-listp keep-newnames).

    Definitions and Theorems

    Function: vl-collect-new-names-from-orignames

    (defun vl-collect-new-names-from-orignames (keep-orignames mods)
      (declare (xargs :guard (and (string-listp keep-orignames)
                                  (vl-modulelist-p mods))))
      (let ((__function__ 'vl-collect-new-names-from-orignames))
        (declare (ignorable __function__))
        (b* (((when (atom mods)) nil)
             ((vl-module x1) (car mods))
             ((when (member-equal x1.origname
                                  (string-list-fix keep-orignames)))
              (cons x1.name
                    (vl-collect-new-names-from-orignames
                         keep-orignames (cdr mods)))))
          (vl-collect-new-names-from-orignames
               keep-orignames (cdr mods)))))

    Theorem: string-listp-of-vl-collect-new-names-from-orignames

    (defthm string-listp-of-vl-collect-new-names-from-orignames
      (b*
       ((keep-newnames
             (vl-collect-new-names-from-orignames keep-orignames mods)))
       (string-listp keep-newnames))
      :rule-classes :rewrite)