]> matita.cs.unibo.it Git - helm.git/blobdiff - components/binaries/tptp2grafite/main.ml
implemented tinycals:
[helm.git] / components / binaries / tptp2grafite / main.ml
index 03f8f2e9f7e2a65c30e130a8c8ade30e0c51664d..b7efd6820bcf464d8a0fa88750b6621336ec7ecd 100644 (file)
@@ -196,7 +196,8 @@ let convert_ast statements context = function
                 (fun _ -> 
                   [GA.Executable(floc,GA.Tactical(floc, GA.Tactic(floc,
                     GA.Exists floc),Some (GA.Branch floc)));
-                   GA.Executable(floc,GA.Tactical(floc, GA.Pos (floc,2),None))])
+                   GA.Executable(floc,GA.Tactical(floc,
+                    GA.Pos (floc,[2]),None))])
                 fv)) 
            else [])@
             [GA.Executable(floc,GA.Tactical(floc, GA.Tactic(floc,
@@ -292,7 +293,8 @@ let _ =
       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
-      s
+      Pcre.substitute 
+        ~pat:"\\\\forall [Ha-z][a-z0-9_]*" ~subst:(fun x -> "\n" ^ x) s
     in
     CicNotationPp.set_pp_term term_pp;
     let lazy_term_pp = fun x -> assert false in