X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Ftptp_grafite%2Ftptp2grafite.ml;h=4272ccdc6002b4548be90ae81adbc0b67490d983;hb=070e79b6e7ec986dd5fcdee24857956f6a4a9221;hp=841ac5f5c930948345c6037f682fd780889dba15;hpb=894b08ca7d14aa7e31c35f3acb3903a1c3472a27;p=helm.git diff --git a/components/tptp_grafite/tptp2grafite.ml b/components/tptp_grafite/tptp2grafite.ml index 841ac5f5c..4272ccdc6 100644 --- a/components/tptp_grafite/tptp2grafite.ml +++ b/components/tptp_grafite/tptp2grafite.ml @@ -4,6 +4,8 @@ module PT = CicNotationPt;; module A = Ast;; let floc = HExtlib.dummy_floc;; +let paramod_timeout = ref 600;; + let universe = "Univ" ;; let kw = [ @@ -203,7 +205,7 @@ let convert_ast statements context = function fv)) else [])@ [GA.Executable(floc,GA.Tactical(floc, GA.Tactic(floc, - GA.Auto (floc,["paramodulation",""])), + GA.Auto (floc,["paramodulation","";"timeout",string_of_int !paramod_timeout])), Some (GA.Dot(floc)))); GA.Executable(floc,GA.Tactical(floc, GA.Try(floc, GA.Tactic (floc, GA.Assumption floc)), Some (GA.Dot(floc)))) @@ -249,7 +251,8 @@ let resolve ~tptppath s = ;; (* MAIN *) -let tptp2grafite ?raw_preamble ~tptppath ~filename () = +let tptp2grafite ?(timeout=600) ?raw_preamble ~tptppath ~filename () = + paramod_timeout := timeout; let rec aux = function | [] -> [] | ((A.Inclusion (file,_)) as hd) :: tl ->