• 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
          • Lint-warning-suppression
          • Warning-basics
          • Vl-warning
          • Vl-warninglist-add-ctx
          • Vl-warninglist->types
          • Propagating-errors
          • Vl-reportcard
          • Vl-some-warning-fatalp
          • Clean-warnings
          • Lint-whole-file-suppression
            • Vl-udplist-suppress-file-warnings
            • Vl-programlist-suppress-file-warnings
            • Vl-packagelist-suppress-file-warnings
            • Vl-modulelist-suppress-file-warnings
            • Vl-interfacelist-suppress-file-warnings
            • Vl-configlist-suppress-file-warnings
            • Vl-classlist-suppress-file-warnings
            • Vl-interface-suppress-file-warnings
            • Vl-program-suppress-file-warnings
            • Vl-package-suppress-file-warnings
            • Vl-filename-to-suppress-p-aux
            • Vl-module-suppress-file-warnings
            • Vl-config-suppress-file-warnings
            • Vl-class-suppress-file-warnings
            • Vl-udp-suppress-file-warnings
            • Vl-design-suppress-file-warnings
            • Vl-filename-to-suppress-p
            • Warn
            • Vl-warninglist
            • Vl-remove-warnings
            • Vl-keep-warnings
            • Flat-warnings
            • Vl-some-warning-of-type-p
            • Vl-msg
            • Vl-warning-add-ctx
            • Vl-print-warning
            • Vmsg-binary-concat
            • Ok
            • Vl-trace-warnings
            • Fatal
            • Vmsg
          • Getting-started
          • Utilities
          • Printer
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Lint-whole-file-suppression

    Vl-filename-to-suppress-p

    Signature
    (vl-filename-to-suppress-p filename suppress-files) 
      → 
    suppress-p
    Arguments
    filename — Guard (stringp filename).
    suppress-files — Guard (string-listp suppress-files).
    Returns
    suppress-p — Type (booleanp suppress-p).

    Definitions and Theorems

    Function: vl-filename-to-suppress-p

    (defun vl-filename-to-suppress-p (filename suppress-files)
     (declare (xargs :guard (and (stringp filename)
                                 (string-listp suppress-files))))
     (let ((__function__ 'vl-filename-to-suppress-p))
      (declare (ignorable __function__))
      (if (atom suppress-files)
          nil
       (or (vl-filename-to-suppress-p-aux filename (car suppress-files))
           (vl-filename-to-suppress-p filename (cdr suppress-files))))))

    Theorem: booleanp-of-vl-filename-to-suppress-p

    (defthm booleanp-of-vl-filename-to-suppress-p
     (b*
      ((suppress-p (vl-filename-to-suppress-p filename suppress-files)))
      (booleanp suppress-p))
     :rule-classes :type-prescription)

    Theorem: vl-filename-to-suppress-p-of-str-fix-filename

    (defthm vl-filename-to-suppress-p-of-str-fix-filename
      (equal (vl-filename-to-suppress-p (str-fix filename)
                                        suppress-files)
             (vl-filename-to-suppress-p filename suppress-files)))

    Theorem: vl-filename-to-suppress-p-streqv-congruence-on-filename

    (defthm vl-filename-to-suppress-p-streqv-congruence-on-filename
     (implies
      (streqv filename filename-equiv)
      (equal (vl-filename-to-suppress-p filename suppress-files)
             (vl-filename-to-suppress-p filename-equiv suppress-files)))
     :rule-classes :congruence)

    Theorem: vl-filename-to-suppress-p-of-string-list-fix-suppress-files

    (defthm vl-filename-to-suppress-p-of-string-list-fix-suppress-files
     (equal (vl-filename-to-suppress-p filename
                                       (string-list-fix suppress-files))
            (vl-filename-to-suppress-p filename suppress-files)))

    Theorem: vl-filename-to-suppress-p-string-list-equiv-congruence-on-suppress-files

    (defthm
     vl-filename-to-suppress-p-string-list-equiv-congruence-on-suppress-files
     (implies
      (str::string-list-equiv suppress-files suppress-files-equiv)
      (equal (vl-filename-to-suppress-p filename suppress-files)
             (vl-filename-to-suppress-p filename suppress-files-equiv)))
     :rule-classes :congruence)