• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
          • Vl-lint
          • Vl-server
            • Vls-scannedalist-p
            • Vls-loadedalist-p
            • Vls-commands
            • Vls-data-p
            • Vl-server-opts-p
            • Vl-descriptionlist-summaries
            • Vls-transdb
            • Vl-describe
            • Ts-queue
            • Vls-get-plainsrc
            • Vl-description->warnings
            • Vls-showloc
            • File-layout
            • Vls-remove-from-scannedalist
              • Vls-describe
              • Vl-server-top
              • Vls-port-table
              • Vl-find-description-insensitive
              • Vls-get-warnings
              • Vls-get-summary
              • Vls-get-origsrc
              • Vl-ppc-description
              • Vls-get-parents
              • Vls-get-children
              • Vls-data-origname-reportcard
              • Vls-data-from-zip
              • Start
              • Vls-make-scannedalist
              • Vls-get-summaries
              • Vls-get-unloaded-json
              • Vls-get-desctypes
              • Vls-scannedalist-to-json
              • Vls-loadedalist-to-json
              • Vl-description-summary
              • *vl-server-help*
              • Vl-descalist->descriptions/types
              • Stop
            • Vl-gather
            • Vl-zip
            • Vl-main
            • Split-plusargs
            • Vl-shell
            • Vl-json
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-server

    Vls-remove-from-scannedalist

    Signature
    (vls-remove-from-scannedalist names x) → new-x
    Arguments
    names — Guard (string-listp names).
    x — Guard (vls-scannedalist-p x).
    Returns
    new-x — Type (vls-scannedalist-p new-x), given (vls-scannedalist-p x).

    Definitions and Theorems

    Function: vls-remove-from-scannedalist

    (defun vls-remove-from-scannedalist (names x)
      (declare (xargs :guard (and (string-listp names)
                                  (vls-scannedalist-p x))))
      (let ((__function__ 'vls-remove-from-scannedalist))
        (declare (ignorable __function__))
        (cond ((atom x) nil)
              ((member-equal (caar x) names)
               (vls-remove-from-scannedalist names (cdr x)))
              (t (cons (car x)
                       (vls-remove-from-scannedalist names (cdr x)))))))

    Theorem: vls-scannedalist-p-of-vls-remove-from-scannedalist

    (defthm vls-scannedalist-p-of-vls-remove-from-scannedalist
      (implies (vls-scannedalist-p x)
               (b* ((new-x (vls-remove-from-scannedalist names x)))
                 (vls-scannedalist-p new-x)))
      :rule-classes :rewrite)