• 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
          • Duplicate-detect
          • Vl-print-certain-warnings
          • Duperhs-check
            • Vl-duperhs-alistp
            • Vl-modulelist-duperhs-check
            • Vl-duperhs-too-trivial-p
            • Vl-maybe-warn-duperhs
            • Vl-warnings-for-duperhs-alist
            • Vl-module-duperhs-check
            • Vl-make-duperhs-alist-aux
            • Vl-make-duperhs-alist
            • Vl-design-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
    • Duperhs-check

    Vl-design-duperhs-check

    Signature
    (vl-design-duperhs-check x) → new-x
    Arguments
    x — Guard (vl-design-p x).
    Returns
    new-x — Type (vl-design-p new-x).

    Definitions and Theorems

    Function: vl-design-duperhs-check

    (defun vl-design-duperhs-check (x)
      (declare (xargs :guard (vl-design-p x)))
      (let ((__function__ 'vl-design-duperhs-check))
        (declare (ignorable __function__))
        (b* ((x (vl-design-fix x))
             ((vl-design x) x)
             (new-mods (vl-modulelist-duperhs-check x.mods)))
          (clear-memoize-table 'vl-expr-strip)
          (change-vl-design x :mods new-mods))))

    Theorem: vl-design-p-of-vl-design-duperhs-check

    (defthm vl-design-p-of-vl-design-duperhs-check
      (b* ((new-x (vl-design-duperhs-check x)))
        (vl-design-p new-x))
      :rule-classes :rewrite)