• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
          • Vl-lintconfig-p
          • Lucid
          • Skip-detection
          • Vl-lintresult-p
          • Lint-warning-suppression
          • Condcheck
          • Selfassigns
          • Leftright-check
          • Dupeinst-check
          • Oddexpr-check
          • Remove-toohard
          • Qmarksize-check
          • Portcheck
            • Vl-modulelist-portcheck
            • Vl-port-check-style
            • Vl-portlist-check-style
              • Vl-portlist-check-wellformed
              • Vl-module-portcheck
              • Vl-port-check-wellformed
              • Vl-design-portcheck
            • Duplicate-detect
            • Vl-print-certain-warnings
            • Duperhs-check
            • *vl-lint-help*
            • Lint-stmt-rewrite
            • Drop-missing-submodules
            • Check-case
            • Drop-user-submodules
            • Check-namespace
            • Vl-lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Portcheck

    Vl-portlist-check-style

    Signature
    (vl-portlist-check-style x warnings) → warnings
    Arguments
    x — Guard (vl-portlist-p x).
    warnings — Guard (vl-warninglist-p warnings).
    Returns
    warnings — Type (vl-warninglist-p warnings).

    Definitions and Theorems

    Function: vl-portlist-check-style

    (defun vl-portlist-check-style (x warnings)
      (declare (xargs :guard (and (vl-portlist-p x)
                                  (vl-warninglist-p warnings))))
      (declare (xargs :guard (vl-portlist-wellformed-p x)))
      (let ((__function__ 'vl-portlist-check-style))
        (declare (ignorable __function__))
        (b* (((when (atom x)) (ok))
             (warnings (vl-port-check-style (car x) warnings)))
          (vl-portlist-check-style (cdr x)
                                   warnings))))

    Theorem: vl-warninglist-p-of-vl-portlist-check-style

    (defthm vl-warninglist-p-of-vl-portlist-check-style
      (b* ((warnings (vl-portlist-check-style x warnings)))
        (vl-warninglist-p warnings))
      :rule-classes :rewrite)

    Theorem: vl-portlist-check-style-of-vl-portlist-fix-x

    (defthm vl-portlist-check-style-of-vl-portlist-fix-x
      (equal (vl-portlist-check-style (vl-portlist-fix x)
                                      warnings)
             (vl-portlist-check-style x warnings)))

    Theorem: vl-portlist-check-style-vl-portlist-equiv-congruence-on-x

    (defthm vl-portlist-check-style-vl-portlist-equiv-congruence-on-x
      (implies (vl-portlist-equiv x x-equiv)
               (equal (vl-portlist-check-style x warnings)
                      (vl-portlist-check-style x-equiv warnings)))
      :rule-classes :congruence)

    Theorem: vl-portlist-check-style-of-vl-warninglist-fix-warnings

    (defthm vl-portlist-check-style-of-vl-warninglist-fix-warnings
      (equal (vl-portlist-check-style x (vl-warninglist-fix warnings))
             (vl-portlist-check-style x warnings)))

    Theorem: vl-portlist-check-style-vl-warninglist-equiv-congruence-on-warnings

    (defthm
     vl-portlist-check-style-vl-warninglist-equiv-congruence-on-warnings
     (implies (vl-warninglist-equiv warnings warnings-equiv)
              (equal (vl-portlist-check-style x warnings)
                     (vl-portlist-check-style x warnings-equiv)))
     :rule-classes :congruence)