• 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
          • Trunc
          • Always-top
            • Edgesynth
            • Stmtrewrite
            • Cblock
            • Vl-always-convert-regports
            • Vl-always-convert-regs
            • Stmttemps
              • Vl-modulelist-stmttemps
              • Vl-ifstmt-stmttemps
              • Vl-assignstmt-stmttemps
              • Vl-stmt-stmttemps
                • Vl-stmtlist-stmttemps
              • Vl-alwayslist-stmttemps
              • Vl-always-stmttemps
              • Vl-module-stmttemps
              • Vl-design-stmttemps
            • Edgesplit
            • Vl-always-check-reg
            • Vl-convert-regs
            • Latchsynth
            • Vl-always-check-regs
            • Vl-match-always-at-some-edges
            • Unelse
            • Vl-always-convert-reg
            • Vl-design-always-backend
            • Vl-stmt-guts
            • Vl-always-convert-regport
            • Vl-always-scary-regs
            • Eliminitial
            • Ifmerge
            • Vl-edge-control-p
            • Elimalways
          • 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
  • Stmttemps

Vl-stmt-stmttemps

Apply the stmttemps transform to a statement

Signature
(vl-stmt-stmttemps x delta elem) → (mv new-x delta)
Arguments
x — Guard (vl-stmt-p x).
delta — Guard (vl-delta-p delta).
elem — Guard (vl-modelement-p elem).
Returns
new-x — Type (vl-stmt-p new-x), given the guard.
delta — Type (vl-delta-p delta), given the guard.

Theorem: return-type-of-vl-stmt-stmttemps.new-x

(defthm return-type-of-vl-stmt-stmttemps.new-x
  (implies (and (force (vl-stmt-p x))
                (force (vl-delta-p delta))
                (force (vl-modelement-p elem)))
           (b* (((mv ?new-x ?delta)
                 (vl-stmt-stmttemps x delta elem)))
             (vl-stmt-p new-x)))
  :rule-classes :rewrite)

Theorem: return-type-of-vl-stmt-stmttemps.delta

(defthm return-type-of-vl-stmt-stmttemps.delta
  (implies (and (force (vl-stmt-p x))
                (force (vl-delta-p delta))
                (force (vl-modelement-p elem)))
           (b* (((mv ?new-x ?delta)
                 (vl-stmt-stmttemps x delta elem)))
             (vl-delta-p delta)))
  :rule-classes :rewrite)

Theorem: return-type-of-vl-stmtlist-stmttemps.new-x

(defthm return-type-of-vl-stmtlist-stmttemps.new-x
  (implies (and (force (vl-stmtlist-p x))
                (force (vl-delta-p delta))
                (force (vl-modelement-p elem)))
           (b* (((mv ?new-x ?delta)
                 (vl-stmtlist-stmttemps x delta elem)))
             (and (vl-stmtlist-p new-x)
                  (equal (len new-x) (len x)))))
  :rule-classes :rewrite)

Theorem: return-type-of-vl-stmtlist-stmttemps.delta

(defthm return-type-of-vl-stmtlist-stmttemps.delta
  (implies (and (force (vl-stmtlist-p x))
                (force (vl-delta-p delta))
                (force (vl-modelement-p elem)))
           (b* (((mv ?new-x ?delta)
                 (vl-stmtlist-stmttemps x delta elem)))
             (vl-delta-p delta)))
  :rule-classes :rewrite)

Subtopics

Vl-stmtlist-stmttemps