Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,550 changes: 1,550 additions & 0 deletions a.log

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions detail.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import os

path = "result/dilemma/clam/clam"


if os.path.exists(path):
dir_list = os.listdir(path)
result = {}
for file in dir_list:
if file.endswith(".log"):
file_path = os.path.join(path, file)
index = int(file.split("problem")[1].split(".")[0])
with open(file_path, 'r') as f:
content = f.read()
if "Proof Success" in content:
result[index] = "Success"
elif "timed out" in content:
result[index] = "Timed out"
else:
result[index] = "Error"
for key in sorted(result.keys()):
print(f"Problem {key}: {result[key]}")
2 changes: 1 addition & 1 deletion lib/engine.ml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ let rec progress worklist statelist lemma_set =
print_endline (">>> " ^ Proof.pp_tactic tactic ^ "(rank : " ^ string_of_int r ^ ")")
in
let _ = Proof.pp_t next_t |> print_endline in
(* let _ = if i = 2 then Proof.proof_top next_t in *)
(* let _ = if i = 5 then Proof.proof_top next_t in *)
let lemma_set =
match is_end_of_conj t next_t with
| true ->
Expand Down
Loading