Commit 76d04eaa authored by MARCHE Claude's avatar MARCHE Claude

support for vampire

parent a4c8ef97
(* Why driver for first-order tptp provers *)
printer "tptp"
filename "%f-%t-%g.p"
valid "Refutation.*found"
(* invalid "Completion found" *)
(* invalid "SZS status CounterSatisfiable" *)
(* timeout "Ran out of time" *)
(* timeout "Resource limit exceeded" *)
(* timeout "CPU time limit exceeded" *)
(* unknown "No Proof Found" "Unknown" *)
(* fail "Failure.*" "\"\\0\"" *)
time "why3cpulimit time : %s s"
(* time "%h:%m:%s on the problem" *)
(* time "Total time[ ]*: %s s" *)
(* to be improved *)
transformation "simplify_recursive_definition"
transformation "inline_trivial"
transformation "eliminate_builtin"
transformation "eliminate_definition"
transformation "eliminate_inductive"
transformation "eliminate_algebraic"
transformation "eliminate_if"
transformation "eliminate_let"
transformation "encoding_tptp"
theory BuiltIn
syntax logic (=) "(%1 = %2)"
end
(*
Local Variables:
mode: why
compile-command: "unset LANG; make -C .. bench"
End:
*)
......@@ -95,6 +95,14 @@ version_regexp = "SPASS V \\([^ \n\t]+\\)"
command = "@LOCALBIN@why3-cpulimit 0 %m -s %e -TPTP -PGiven=0 -PProblem=0 -TimeLimit=%t %f"
driver = "drivers/tptp.drv"
[ATP vampire]
name = "Vampire"
exec = "vampire"
version_switch = "--version"
version_regexp = "Vampire \\([0-9.]+\\)"
command = "@LOCALBIN@why3-cpulimit %t %m -s %e"
driver = "drivers/vampire.drv"
[ATP verit]
name = "veriT"
exec = "veriT"
......
......@@ -221,7 +221,11 @@ let save_result fmt r =
let save_status fmt s =
match s with
| Undone | Scheduled | Running | InternalFailure _ -> ()
| Undone | Scheduled | Running ->
fprintf fmt "<undone>@\n"
| InternalFailure msg ->
fprintf fmt "<internalfailure reason=\"%s\">@\n"
(Printexc.to_string msg)
| Done r -> save_result fmt r
let save_proof_attempt fmt _key a =
......
......@@ -71,6 +71,15 @@ theory Fset
end
theory FsetExt
use export Fset
axiom ext: forall s1 s2 : t 'a.
s1 = s2 <-> (forall x : 'a. mem x s1 <-> mem x s2)
end
theory SetArray
use import array.Array as A
use import bool.Bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment