]> matita.cs.unibo.it Git - helm.git/blobdiff - components/binaries/tptp2grafite/main.ml
removed abstractios for dummy metavariables when generating letins body
[helm.git] / components / binaries / tptp2grafite / main.ml
index 871ff7b56a6299f0a497f913dfed177e9b978f68..980f2b456e9cbae881a940b419031910ac5ad515 100644 (file)
@@ -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