aboutsummaryrefslogtreecommitdiff
path: root/plugins/funind/recdef.ml
diff options
context:
space:
mode:
authorJulien Forest2013-11-21 09:46:40 +0100
committerJulien Forest2013-11-21 09:46:40 +0100
commit5eda8fb59597c7a39335d2eb99f44cd07b25433d (patch)
tree4c8c4986bb124c08ba01cdb097d261f047a11959 /plugins/funind/recdef.ml
parent6b3af6de811201c706d7365611ac9e873435c6e6 (diff)
Add Acc_intro_generator on top of all wf function proof (much much faster execution)
Diffstat (limited to 'plugins/funind/recdef.ml')
-rw-r--r--plugins/funind/recdef.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/funind/recdef.ml b/plugins/funind/recdef.ml
index 64bf71ec60..68ac62838a 100644
--- a/plugins/funind/recdef.ml
+++ b/plugins/funind/recdef.ml
@@ -139,6 +139,7 @@ let iter_ref () =
let iter = function () -> (constr_of_global (delayed_force iter_ref))
let eq = function () -> (coq_base_constant "eq")
let le_lt_SS = function () -> (constant ["Recdef"] "le_lt_SS")
+let acc_intro_generator_function = function () -> (constant ["Recdef"] "Acc_intro_generator_function")
let le_lt_n_Sm = function () -> (coq_base_constant "le_lt_n_Sm")
let le_trans = function () -> (coq_base_constant "le_trans")
let le_lt_trans = function () -> (coq_base_constant "le_lt_trans")
@@ -276,7 +277,7 @@ let tclUSER tac is_mes l g =
let tclUSER_if_not_mes concl_tac is_mes names_to_suppress =
if is_mes
then tclCOMPLETE (h_simplest_apply (delayed_force well_founded_ltof))
- else tclUSER concl_tac is_mes names_to_suppress
+ else tclTHEN (h_simplest_apply (delayed_force acc_intro_generator_function) ) (tclUSER concl_tac is_mes names_to_suppress)