From 8cadbeff68559ee4a621f9ac3ed44c5e5da7a8ba Mon Sep 17 00:00:00 2001 From: msozeau Date: Sat, 28 Mar 2009 21:31:54 +0000 Subject: Rewrite of Program Fixpoint to overcome the previous limitations: - The measure can now refer to all the formal arguments - The recursive calls can make all the arguments vary as well - Generalized to any relation and measure (new syntax {measure m on R}) This relies on an automatic curryfication transformation, the real fixpoint combinator is working on a sigma type of the arguments. Reduces to the previous impl in case only one argument is involved. The patch also introduces a new flag on implicit arguments that says if the argument has to be infered (default) or can be turned into a subgoal/obligation. Comes with a test-suite file. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12030 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/subtac/subtac_utils.mli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/subtac/subtac_utils.mli') diff --git a/plugins/subtac/subtac_utils.mli b/plugins/subtac/subtac_utils.mli index 964f668f2..d60893283 100644 --- a/plugins/subtac/subtac_utils.mli +++ b/plugins/subtac/subtac_utils.mli @@ -24,10 +24,10 @@ val well_founded_ref : global_reference lazy_t val acc_ref : global_reference lazy_t val acc_inv_ref : global_reference lazy_t val fix_sub_ref : global_reference lazy_t +val measure_on_R_ref : global_reference lazy_t val fix_measure_sub_ref : global_reference lazy_t -val lt_ref : global_reference lazy_t -val lt_wf_ref : global_reference lazy_t val refl_ref : global_reference lazy_t +val lt_ref : reference val sig_ref : reference val proj1_sig_ref : reference val proj2_sig_ref : reference -- cgit v1.2.3