From 93a5f1e03e29e375be69a2361ffd6323f5300f86 Mon Sep 17 00:00:00 2001 From: herbelin Date: Fri, 27 Nov 2009 19:48:59 +0000 Subject: Added support for definition of fixpoints using tactics. Fixed some bugs in -beautify and robustness of {struct} clause. Note: I tried to make the Automatic Introduction mode on by default for version >= 8.3 but it is to complicated to adapt even in the standard library. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12546 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/funind/indfun.ml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/funind') diff --git a/plugins/funind/indfun.ml b/plugins/funind/indfun.ml index bd3f7e8ec8..781a841c95 100644 --- a/plugins/funind/indfun.ml +++ b/plugins/funind/indfun.ml @@ -372,6 +372,9 @@ let register_struct is_rec fixpoint_exprl = fname (Decl_kinds.Global,Decl_kinds.Definition) ce imps (fun _ _ -> ()) | _ -> + let fixpoint_exprl = + List.map (fun ((name,annot,bl,types,body),ntn) -> + ((name,annot,bl,types,Some body),ntn)) fixpoint_exprl in Command.do_fixpoint fixpoint_exprl (Flags.boxed_definitions()) let generate_correction_proof_wf f_ref tcc_lemma_ref -- cgit v1.2.3