• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
          • Preprocessor
          • Vl-loadconfig
          • Vl-loadstate
          • Lexer
          • Parser
          • Vl-load-merge-descriptions
          • Vl-find-basename/extension
          • Vl-load-file
          • Vl-loadresult
          • Scope-of-defines
          • Vl-find-file
            • Vl-slow-find-file-aux
            • Vl-cache-find-file-aux
            • Vl-extend-pathname
            • Vl-file-exists-p
            • Vl-ends-with-directory-separatorp
            • Vl-dirlist-cache
            • Vl-dircache
              • Vl-dircache-p
              • Vl-dircache-fix
              • Vl-make-dircache
                • Vl-make-dircache-aux
                • Vl-dircache-equiv
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-read-file
            • Vl-includeskips-report-gather
            • Vl-load-main
            • Extended-characters
            • Vl-load
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-preprocess-debug
            • Vl-write-preprocessor-debug-file
            • Vl-read-file-report-gather
            • Vl-load-descriptions
            • Vl-load-files
            • Translate-off
            • Vl-load-read-file-hook
            • Vl-read-file-report
            • Vl-loadstate-pad
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-loadstate->warnings
            • Vl-iskips-report
            • Vl-descriptionlist
          • Warnings
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-make-dircache

    Vl-make-dircache-aux

    Signature
    (vl-make-dircache-aux files) → cache
    Arguments
    files — Guard (string-listp files).
    Returns
    cache — Type (vl-dircache-p cache).

    Definitions and Theorems

    Function: vl-make-dircache-aux

    (defun vl-make-dircache-aux (files)
      (declare (xargs :guard (string-listp files)))
      (let ((__function__ 'vl-make-dircache-aux))
        (declare (ignorable __function__))
        (if (atom files)
            nil
          (cons (cons (hons-copy (string-fix (car files)))
                      t)
                (vl-make-dircache-aux (cdr files))))))

    Theorem: vl-dircache-p-of-vl-make-dircache-aux

    (defthm vl-dircache-p-of-vl-make-dircache-aux
      (b* ((cache (vl-make-dircache-aux files)))
        (vl-dircache-p cache))
      :rule-classes :rewrite)

    Theorem: vl-make-dircache-aux-of-string-list-fix-files

    (defthm vl-make-dircache-aux-of-string-list-fix-files
      (equal (vl-make-dircache-aux (string-list-fix files))
             (vl-make-dircache-aux files)))

    Theorem: vl-make-dircache-aux-string-list-equiv-congruence-on-files

    (defthm vl-make-dircache-aux-string-list-equiv-congruence-on-files
      (implies (str::string-list-equiv files files-equiv)
               (equal (vl-make-dircache-aux files)
                      (vl-make-dircache-aux files-equiv)))
      :rule-classes :congruence)