X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Ftptp_grafite%2Ftptp2grafite.ml;h=009a53a610686a0d352e5dce681f066372abdb79;hb=789d6928ed007637ed431351173f45d5fd88e2a0;hp=7950ca15d4e25e329ef2f3f331c6b2b082b5a7c0;hpb=0639dda9142d1cf047b07e61fb557e8877aba4d8;p=helm.git diff --git a/helm/software/components/tptp_grafite/tptp2grafite.ml b/helm/software/components/tptp_grafite/tptp2grafite.ml index 7950ca15d..009a53a61 100644 --- a/helm/software/components/tptp_grafite/tptp2grafite.ml +++ b/helm/software/components/tptp_grafite/tptp2grafite.ml @@ -221,7 +221,8 @@ let ng_generate_tactics fv ueq_case context arities = (HExtlib.list_mapi (fun (name,_) _-> GA.Executable(floc,GA.NTactic(floc, - [GA.NIntro (floc,name);GA.NDot(floc)]))) + [GA.NIntro (floc,(try List.assoc name kw with Not_found -> name)); + GA.NDot(floc)]))) arities) @ (HExtlib.list_mapi @@ -272,7 +273,9 @@ let ng_generate_tactics fv ueq_case context arities = GA.NSkip floc; GA.NMerge floc]))]) fv)) else [])@ - [GA.Executable(floc,GA.Command(floc, GA.NQed(floc)))] + [GA.Executable(floc,GA.NTactic(floc,[GA.NTry(floc, GA.NAssumption(floc)); + GA.NSemicolon(floc)]))]@ + [GA.Executable(floc,GA.NCommand(floc, GA.NQed(floc)))] ;; let generate_tactics fv ueq_case =