X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Fbinaries%2Ftptp2grafite%2Fmain.ml;h=980f2b456e9cbae881a940b419031910ac5ad515;hb=43a618149e49298eee810029141e2c19762a76dd;hp=51c7bbe482c2b0b2b4d4eac0db8769d89251365a;hpb=c67a6aaf5f24719785eb170e1fdef97c180e927e;p=helm.git diff --git a/components/binaries/tptp2grafite/main.ml b/components/binaries/tptp2grafite/main.ml index 51c7bbe48..980f2b456 100644 --- a/components/binaries/tptp2grafite/main.ml +++ b/components/binaries/tptp2grafite/main.ml @@ -201,7 +201,7 @@ let convert_ast statements context = function fv)) else [])@ [GA.Executable(floc,GA.Tactical(floc, GA.Tactic(floc, - GA.Auto (floc,None,None,Some "paramodulation",None)), + GA.Auto (floc,["paramodulation",""])), Some (GA.Dot(floc))))]@ (if fv <> [] then (List.flatten @@ -292,7 +292,7 @@ let _ = let pres_term = TermContentPres.pp_ast content_term in let dummy_tbl = Hashtbl.create 1 in let markup = CicNotationPres.render dummy_tbl pres_term in - let s = BoxPp.render_to_string width markup in + let s = BoxPp.render_to_string List.hd width markup in Pcre.substitute ~pat:"\\\\forall [Ha-z][a-z0-9_]*" ~subst:(fun x -> "\n" ^ x) s in @@ -305,7 +305,7 @@ let _ = let extra_statements_start = [ GA.Executable(floc,GA.Command(floc, GA.Set(floc,"baseuri","cic:/matita/TPTP/" ^ !inputfile))); - GA.Executable(floc,GA.Command(floc, GA.Include(floc,"library_notation.ma")))] + GA.Executable(floc,GA.Command(floc, GA.Include(floc,"logic/equality.ma")))] in List.iter pp extra_statements_start; List.iter