• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • 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->plusargs
              • Vl-loadconfig->flush-tries
              • Vl-loadconfig->strictp
              • Vl-loadconfig->mintime
              • Vl-loadconfig->filemapp
              • Vl-loadconfig->edition
              • Vl-loadconfig->defines
              • Vl-loadconfig->debugp
            • Vl-loadstate
            • Lexer
            • Parser
            • Vl-load-merge-descriptions
            • Vl-find-basename/extension
            • 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-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 plusargs
                                  filemapp debugp flush-tries mintime)))
            :exec (fty::alist-with-carsp
                       (cdr x)
                       '(edition strictp start-files
                                 start-names search-path search-exts
                                 include-dirs defines plusargs
                                 filemapp debugp 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))))
            (plusargs (cdr (std::da-nth 8 (cdr x))))
            (filemapp (cdr (std::da-nth 9 (cdr x))))
            (debugp (cdr (std::da-nth 10 (cdr x))))
            (flush-tries (cdr (std::da-nth 11 (cdr x))))
            (mintime (cdr (std::da-nth 12 (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)
              (string-listp plusargs)
              (booleanp filemapp)
              (booleanp debugp)
              (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)