Require Import List.
Require Import String.
Require Import ZArith.

Open Scope list_scope.
Open Scope string_scope.
Open Scope Z_scope.

Require Import StructTactics.
Require Import ImpSyntax.
Require Import ImpCommon.
Require Import ImpExprTransf.
Require Import ImpInterpNock.

Module I := ImpInterpNock.

TODO update this definition to optimize any additions or multiplications by zero
Definition cfold_aux (e : expr) : expr :=
  e.

Definition cfold_e : expr -> expr :=
  transf_e cfold_aux.

Definition cfold (p : prog) : prog :=
  transf_p cfold_e p.

This page has been generated by coqdoc