From 7e1fefc0a095f7bb7f720218f9d472d4b0d6507d Mon Sep 17 00:00:00 2001 From: gareuselesinge Date: Mon, 12 Dec 2011 14:00:45 +0000 Subject: Proof using ... New vernacular "Proof using idlist" to declare the variables to be discharged at the end of the current proof. The system checks that the set of declared variables is a superset of the set of actually used variables. It can be combined in a single line with "Proof with": Proof with .. using .. Proof using .. with .. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14789 85f007b7-540e-0410-9357-904b9bb8a0f7 --- library/declare.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library') diff --git a/library/declare.ml b/library/declare.ml index 0afd4bd9ea..2885808506 100644 --- a/library/declare.ml +++ b/library/declare.ml @@ -148,7 +148,7 @@ let discharge_constant ((sp,kn),(cdt,dhyps,kind)) = Some (GlobalRecipe recipe,(discharged_hyps kn sechyps)@dhyps,kind) (* Hack to reduce the size of .vo: we keep only what load/open needs *) -let dummy_constant_entry = ConstantEntry (ParameterEntry (mkProp,None)) +let dummy_constant_entry = ConstantEntry (ParameterEntry (None,mkProp,None)) let dummy_constant (ce,_,mk) = dummy_constant_entry,[],mk -- cgit v1.2.3