• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
          • Expression-sizing
          • Occform
          • Oprewrite
          • Expand-functions
          • Delayredux
          • Unparameterization
          • Caseelim
          • Split
          • Selresolve
          • Weirdint-elim
          • Vl-delta
          • Replicate-insts
          • Rangeresolve
          • Propagate
          • Clean-selects
          • Clean-params
          • Blankargs
          • Inline-mods
          • Expr-simp
            • Vl-plainarglist-simp
            • Vl-modinstlist-simp
            • Vl-modulelist-simp
            • Vl-assignlist-simp
            • Vl-expr-simp-unary-bitnot
            • Vl-expr-simp-binary-bitor
            • Vl-expr-simp-binary-bitand
            • Vl-expr-simp-qmark
            • Vl-modinst-simp
            • Vl-plainarg-simp
            • Vl-module-simp
            • Vl-design-simp
            • Vl-assign-simp
            • Vl-expr-simp
              • Vl-exprlist-simp
          • Trunc
          • Always-top
          • Gatesplit
          • Gate-elim
          • Expression-optimization
          • Elim-supplies
          • Wildelim
          • Drop-blankports
          • Clean-warnings
          • Addinstnames
          • Custom-transform-hooks
          • Annotate
          • Latchcode
          • Elim-unused-vars
          • Problem-modules
        • Lint
        • Mlib
        • Server
        • Kit
        • Printer
        • Esim-vl
        • Well-formedness
      • Sv
      • Fgl
      • Vwsim
      • Vl
      • X86isa
      • Svl
      • Rtl
    • Software-verification
    • Math
    • Testing-utilities
  • Expr-simp

Vl-expr-simp

Core routine to simplify expressions.

Signature
(vl-expr-simp x) → new-x
Arguments
x — Guard (vl-expr-p x).
Returns
new-x — Type (vl-expr-p new-x).

Theorem: return-type-of-vl-expr-simp.new-x

(defthm return-type-of-vl-expr-simp.new-x
  (b* ((?new-x (vl-expr-simp x)))
    (vl-expr-p new-x))
  :rule-classes :rewrite)

Theorem: return-type-of-vl-exprlist-simp.new-x

(defthm return-type-of-vl-exprlist-simp.new-x
  (b* ((?new-x (vl-exprlist-simp x)))
    (and (vl-exprlist-p new-x)
         (equal (len new-x) (len x))))
  :rule-classes :rewrite)

Subtopics

Vl-exprlist-simp