Skip to content

Commit 0122c40

Browse files
authored
V1.4.2 (#7)
* fix: vamp_proof_line assigned vampire's output in the case of refutation * fix: vamp flags malformed in external call to vampire executable * Improve `make clean` to preserve non-Athena-related files in build directory (such as external ATP binaries) * bump minor version
1 parent b3c1a31 commit 0122c40

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ packages: build
3939

4040
.PHONY: clean
4141
clean:
42-
rm -rf $(INSTALLDIR)
42+
rm -rf $(INSTALLDIR)/lib
43+
rm -rf $(INSTALLDIR)/tmp
44+
rm -rf $(INSTALLDIR)/build_logs.txt
45+
rm -rf $(INSTALLDIR)/athena
4346
rm -rf $(TEST_LOGS_DIR)
4447
rm -rf ./*.tgz
4548
rm -rf ./*.zip

topenv_part2.sml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@ fun getFlotterIndex() = let val cv = !flotter_counter
19571957
end
19581958

19591959
val spass_proof_line = "SPASS beiseite: Proof found.\n"
1960-
val vamp_proof_line = "Refutation found. Thanks to Tanya!\n"
1960+
val vamp_proof_line = "Satisfiable!\n"
19611961
val e_proof_line = "# Proof found!\n"
19621962
val paradox_proof_line = "== Model ==================================================================="
19631963

@@ -2946,7 +2946,7 @@ fun polyVProve(goal, premises,env,ab,max_seconds,mono:bool,subsorting:bool) =
29462946
fun write(str) = TextIO.output(vamp_problem_stream,str)
29472947
val _ = (List.app write hyps;write conc)
29482948
val _ = TextIO.closeOut(vamp_problem_stream)
2949-
val cmd = Names.vampire_binary ^ " -proof tptp -show_skolemisations on -time_limit "^max_seconds^" -input_file "^vamp_in_fname^" > "^vamp_out_fname
2949+
val cmd = Names.vampire_binary ^ " --proof tptp --show_skolemisations on --time_limit "^max_seconds^" --input_file "^vamp_in_fname^" > "^vamp_out_fname
29502950
val _ = OS.Process.system(cmd)
29512951
val vamp_answer_stream = TextIO.openIn(vamp_out_fname)
29522952
val answer_bit = findLine(vamp_answer_stream,vamp_proof_line)

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.4.1
1+
v1.4.2

0 commit comments

Comments
 (0)