@@ -11,6 +11,8 @@ import lisa.kernel.proof.SCProof
11
11
import lisa .kernel .proof .SequentCalculus .Sequent
12
12
import lisa .utils .ProofsShrink .optimizeProofIteratively
13
13
14
+ // TODO: separate axioms and definitions from the main sequent and give names to hypotheses
15
+
14
16
object TPTPSolver extends lisa.Main {
15
17
sealed trait ProofType
16
18
case object BySolver extends ProofType
@@ -20,7 +22,6 @@ object TPTPSolver extends lisa.Main {
20
22
class ProblemSolverResults (val problem : Problem , val solverName : String , val solverStatus : String , val proofCode : String , val proofType : ProofType )
21
23
22
24
val spc = Seq (" PRP" , " FOF" ) // type of problems we want to extract and solve
23
- // val spc = Seq("CNF") // almost no CNF problems are solved by Tableau, TODO: investigate why
24
25
25
26
// We limit the execution time to solve each problem
26
27
val timeoutTableau = .1 .second
@@ -30,8 +31,10 @@ object TPTPSolver extends lisa.Main {
30
31
val exportOptimizedProofs = true
31
32
val exportBySolverProofs = true
32
33
33
- val jsonResultsPath : String = " /home/auguste/Documents/EPFL/PhD/Projects/lisa/lisa-examples/src/main/resources/TPTPResults.json"
34
- val TPTPProblemPath : String = " /home/auguste/Documents/EPFL/PhD/Projects/TPTP-v8.2.0/Problems/"
34
+ val jsonResultsPath : String = null
35
+ if (jsonResultsPath == null ) throw new Exception (" Please specify a path for the JSON results file" )
36
+ val TPTPProblemPath : String = null
37
+ if (TPTPProblemPath == null ) throw new Exception (" Please specify a path for the TPTP problems" )
35
38
36
39
val d = new File (TPTPProblemPath )
37
40
val libraries = d.listFiles.filter(_.isDirectory)
0 commit comments