• 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
          • Preprocessor
          • Vl-loadconfig
          • Vl-loadstate
          • Lexer
          • Parser
          • Vl-load-merge-descriptions
          • Vl-find-basename/extension
            • Vl-find-basename/extension-aux
            • Vl-find-highest-priority-extension
            • Vl-split-filename
            • Vl-dirxcache
            • Vl-dirxlist-cache
              • Vl-dirxlist-cache-p
              • Vl-dirxlist-cache-fix
              • Vl-make-dirxlist-cache
              • Vl-dirxlist-cache-equiv
              • Vl-free-dirxlist-cache
            • Vl-load-file
            • Vl-loadresult
            • Scope-of-defines
            • Vl-find-file
            • 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-dirxlist-cache

    Vl-free-dirxlist-cache

    Free the fast alist for each individual directory.

    Signature
    (vl-free-dirxlist-cache x) → *
    Arguments
    x — Guard (vl-dirxlist-cache-p x).

    Definitions and Theorems

    Function: vl-free-dirxlist-cache

    (defun vl-free-dirxlist-cache (x)
      (declare (xargs :guard (vl-dirxlist-cache-p x)))
      (let ((__function__ 'vl-free-dirxlist-cache))
        (declare (ignorable __function__))
        (if (atom x)
            nil
          (progn$ (fast-alist-free (cdar x))
                  (vl-free-dirxlist-cache (cdr x))))))

    Theorem: vl-free-dirxlist-cache-of-vl-dirxlist-cache-fix-x

    (defthm vl-free-dirxlist-cache-of-vl-dirxlist-cache-fix-x
      (equal (vl-free-dirxlist-cache (vl-dirxlist-cache-fix x))
             (vl-free-dirxlist-cache x)))

    Theorem: vl-free-dirxlist-cache-vl-dirxlist-cache-equiv-congruence-on-x

    (defthm
         vl-free-dirxlist-cache-vl-dirxlist-cache-equiv-congruence-on-x
      (implies (vl-dirxlist-cache-equiv x x-equiv)
               (equal (vl-free-dirxlist-cache x)
                      (vl-free-dirxlist-cache x-equiv)))
      :rule-classes :congruence)