aboutsummaryrefslogtreecommitdiff
path: root/src/Rewriter.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2019-04-04 15:51:20 -0400
committerGravatar Jason Gross <jgross@mit.edu>2019-04-04 15:51:20 -0400
commite0c9b5f803e63a91922cc0724119d39da0f24379 (patch)
treee48031155ce78dd94d33761917ece57455fb59fd /src/Rewriter.v
parentbd34d676010ebf6dd4aa5076537f89572803dd3d (diff)
Add UnderLets flat_map interp proofs,other changes
Also remove a rewrite rule using cast from the non-cast arith rules, regenerate the .out files, add ident.gets_inlined for eventual use in the rewriter, and generalize the rewrite rule lemmas over cast_out_of_range so that we can actually make use of their proofs for interp.
Diffstat (limited to 'src/Rewriter.v')
-rw-r--r--src/Rewriter.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Rewriter.v b/src/Rewriter.v
index 8b074aca6..770a7f391 100644
--- a/src/Rewriter.v
+++ b/src/Rewriter.v
@@ -2763,7 +2763,7 @@ Module Compilers.
Definition RewriteNBE {t} (e : expr.Expr (ident:=ident) t) : expr.Expr (ident:=ident) t
:= @Compile.Rewrite (@nbe_rewrite_head) nbe_default_fuel t e.
Definition RewriteArith (max_const_val : Z) {t} (e : expr.Expr (ident:=ident) t) : expr.Expr (ident:=ident) t
- := @Compile.Rewrite (@arith_rewrite_head max_const_val) arith_default_fuel t e.
+ := @Compile.Rewrite (fun var do_again => @arith_rewrite_head max_const_val var) arith_default_fuel t e.
Definition RewriteArithWithCasts {t} (e : expr.Expr (ident:=ident) t) : expr.Expr (ident:=ident) t
:= @Compile.Rewrite (@arith_with_casts_rewrite_head) arith_with_casts_default_fuel t e.
Definition RewriteStripLiteralCasts {t} (e : expr.Expr (ident:=ident) t) : expr.Expr (ident:=ident) t