aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/IntegrationTestFreeze.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-05-13 22:02:41 -0400
committerGravatar Jason Gross <jasongross9@gmail.com>2017-05-17 17:16:47 -0400
commit7a223688d9195c4969cdcae0622170149dc7d660 (patch)
treef8244ee2485acba894bea2130ff9bd36fad268f2 /src/Specific/IntegrationTestFreeze.v
parent9d6450ac654639f19d703b1d8a00f6d027d98eaa (diff)
Add compiler optimization for add-with-carry
This closes #171. It's unfortunately a bit fragile, and takes a really long time (about 60s) to prove correct, because Coq is bad at deep dependent pattern matching. We enable a-normal form for the freeze test, because the rewriter only works when the arguments to adc are var or const.
Diffstat (limited to 'src/Specific/IntegrationTestFreeze.v')
-rw-r--r--src/Specific/IntegrationTestFreeze.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Specific/IntegrationTestFreeze.v b/src/Specific/IntegrationTestFreeze.v
index 12f107be6..74731f6c6 100644
--- a/src/Specific/IntegrationTestFreeze.v
+++ b/src/Specific/IntegrationTestFreeze.v
@@ -71,7 +71,7 @@ Section BoundedField25p5.
apply (fun f => proj2_sig_map (fun THIS_NAME_MUST_NOT_BE_UNDERSCORE_TO_WORK_AROUND_CONSTR_MATCHING_ANAOMLIES___BUT_NOTE_THAT_IF_THIS_NAME_IS_LOWERCASE_A___THEN_REIFICATION_STACK_OVERFLOWS___AND_I_HAVE_NO_IDEA_WHATS_GOING_ON p => f_equal f p)).
(* jgross start here! *)
(*Set Ltac Profiling.*)
- Time refine_reflectively. (* Finished transaction in 5.792 secs (5.792u,0.004s) (successful) *)
+ Time refine_reflectively_with anf. (* Finished transaction in 5.792 secs (5.792u,0.004s) (successful) *)
(*Show Ltac Profile.*)
(* total time: 5.680s