• 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
            • Vl-mash-warning-strings
            • Vl-design-lint-ignoreall
            • Vl-design-suppress-lint-warnings
            • Vl-warninglist-lint-ignoreall
            • Vl-lint-scan-for-ignore
            • Vl-mash-warning-string
            • Vl-lint-suppress-warnings
            • Vl-warning-type-mash
              • Vl-lint-ignore-att-p
              • Vl-lint-atts-say-ignore
              • Vl-lint-attname-says-ignore
              • Vl-lint-ignore-att-mash
            • Condcheck
            • Selfassigns
            • Leftright-check
            • Dupeinst-check
            • Oddexpr-check
            • Remove-toohard
            • Qmarksize-check
            • 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
    • Lint-warning-suppression

    Vl-warning-type-mash

    Signature
    (vl-warning-type-mash x) → mashed
    Arguments
    x — Guard (symbolp x).
    Returns
    mashed — Type (stringp mashed).

    Definitions and Theorems

    Function: vl-warning-type-mash

    (defun vl-warning-type-mash (x)
      (declare (xargs :guard (symbolp x)))
      (let ((__function__ 'vl-warning-type-mash))
        (declare (ignorable __function__))
        (vl-mash-warning-string (symbol-name x))))

    Theorem: stringp-of-vl-warning-type-mash

    (defthm stringp-of-vl-warning-type-mash
      (b* ((mashed (vl-warning-type-mash x)))
        (stringp mashed))
      :rule-classes :type-prescription)

    Theorem: vl-warning-type-mash-of-symbol-fix-x

    (defthm vl-warning-type-mash-of-symbol-fix-x
      (equal (vl-warning-type-mash (acl2::symbol-fix x))
             (vl-warning-type-mash x)))

    Theorem: vl-warning-type-mash-symbol-equiv-congruence-on-x

    (defthm vl-warning-type-mash-symbol-equiv-congruence-on-x
      (implies (acl2::symbol-equiv x x-equiv)
               (equal (vl-warning-type-mash x)
                      (vl-warning-type-mash x-equiv)))
      :rule-classes :congruence)