From 7a223688d9195c4969cdcae0622170149dc7d660 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Sat, 13 May 2017 22:02:41 -0400 Subject: 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. --- src/Specific/IntegrationTestFreeze.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Specific/IntegrationTestFreeze.v') 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 -- cgit v1.2.3