• 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
            • Vl-modulelist-oddexpr-check
            • *vl-odd-binops-table*
            • Vl-warn-odd-binary-expression-main
            • Vl-expr-probable-selfsize
            • Vl-odd-binop-class
            • Vl-module-oddexpr-check
            • Vl-oddexpr-check
            • Vl-exprctxalist-oddexpr-check
            • Vl-design-oddexpr-check
              • Vl-warn-odd-binary-expression
              • Vl-pp-oddexpr-details
              • *fake-modelement*
            • 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
    • Oddexpr-check

    Vl-design-oddexpr-check

    Signature
    (vl-design-oddexpr-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-oddexpr-check

    (defun vl-design-oddexpr-check (x)
      (declare (xargs :guard (vl-design-p x)))
      (let ((__function__ 'vl-design-oddexpr-check))
        (declare (ignorable __function__))
        (b* ((x (vl-design-fix x))
             (ss (vl-scopestack-init x))
             ((vl-design x) x)
             (mods (vl-modulelist-oddexpr-check x.mods ss)))
          (vl-scopestacks-free)
          (change-vl-design x :mods mods))))

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

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