• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
          • Preprocessor
          • Vl-loadconfig
            • Vl-loadconfig-p
              • Vl-loadconfig-fix
              • Make-vl-loadconfig
              • Vl-loadconfig-clean
              • Vl-loadconfig-equiv
              • Change-vl-loadconfig
              • Vl-loadconfig->include-dirs
              • Vl-loadconfig->start-names
              • Vl-loadconfig->start-files
              • Vl-loadconfig->search-path
              • Vl-loadconfig->search-exts
              • Vl-loadconfig->flush-tries
              • Vl-loadconfig->strictp
              • Vl-loadconfig->mintime
              • Vl-loadconfig->filemapp
              • Vl-loadconfig->edition
              • Vl-loadconfig->defines
            • Lexer
            • Vl-loadstate
            • Parser
            • Vl-load-merge-descriptions
            • Scope-of-defines
            • Vl-load-file
            • Vl-flush-out-descriptions
            • Vl-description
            • Vl-loadresult
            • Vl-read-file
            • Vl-find-basename/extension
            • Vl-find-file
            • Vl-read-files
            • Extended-characters
            • Vl-load
            • Vl-load-main
            • Vl-load-description
            • Vl-descriptions-left-to-load
            • Inject-warnings
            • Vl-load-descriptions
            • Vl-load-files
            • Vl-load-summary
            • Vl-collect-modules-from-descriptions
            • Vl-descriptionlist
          • Transforms
          • Lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vl-loadconfig

    Vl-loadconfig-p

    Recognizer for vl-loadconfig structures.

    Signature
    (vl-loadconfig-p x) → *

    Definitions and Theorems

    Function: vl-loadconfig-p

    (defun vl-loadconfig-p (x)
     (declare (xargs :guard t))
     (let ((__function__ 'vl-loadconfig-p))
      (declare (ignorable __function__))
      (and
       (consp x)
       (eq (car x) :vl-loadconfig)
       (mbe
           :logic
           (and (alistp (cdr x))
                (equal (strip-cars (cdr x))
                       '(edition strictp start-files start-names
                                 search-path search-exts include-dirs
                                 defines filemapp flush-tries mintime)))
           :exec (fty::alist-with-carsp
                      (cdr x)
                      '(edition strictp start-files start-names
                                search-path search-exts include-dirs
                                defines filemapp flush-tries mintime)))
       (b* ((edition (cdr (std::da-nth 0 (cdr x))))
            (strictp (cdr (std::da-nth 1 (cdr x))))
            (start-files (cdr (std::da-nth 2 (cdr x))))
            (start-names (cdr (std::da-nth 3 (cdr x))))
            (search-path (cdr (std::da-nth 4 (cdr x))))
            (search-exts (cdr (std::da-nth 5 (cdr x))))
            (include-dirs (cdr (std::da-nth 6 (cdr x))))
            (defines (cdr (std::da-nth 7 (cdr x))))
            (filemapp (cdr (std::da-nth 8 (cdr x))))
            (flush-tries (cdr (std::da-nth 9 (cdr x))))
            (mintime (cdr (std::da-nth 10 (cdr x)))))
         (and (vl-edition-p edition)
              (booleanp strictp)
              (string-listp start-files)
              (string-listp start-names)
              (string-listp search-path)
              (string-listp search-exts)
              (string-listp include-dirs)
              (vl-defines-p defines)
              (booleanp filemapp)
              (posp flush-tries)
              (mintime-p mintime))))))

    Theorem: consp-when-vl-loadconfig-p

    (defthm consp-when-vl-loadconfig-p
      (implies (vl-loadconfig-p x) (consp x))
      :rule-classes :compound-recognizer)