432 let val _ = File.write (File.tmp_path (Path.basic "child_incoming")) |
432 let val _ = File.write (File.tmp_path (Path.basic "child_incoming")) |
433 ("subgoals forked to checkChildren:"^ |
433 ("subgoals forked to checkChildren:"^ |
434 prems_string^prover^thmstring^goalstring^childCmd) |
434 prems_string^prover^thmstring^goalstring^childCmd) |
435 val childDone = (case prover of |
435 val childDone = (case prover of |
436 "vampire" => VampComm.checkVampProofFound(childInput, toParentStr, parentID,thmstring,goalstring, childCmd, thm, sg_num,clause_arr, num_of_clauses) |
436 "vampire" => VampComm.checkVampProofFound(childInput, toParentStr, parentID,thmstring,goalstring, childCmd, thm, sg_num,clause_arr, num_of_clauses) |
437 | "E" => EComm.checkEProofFound(childInput, toParentStr, parentID,thmstring,goalstring, childCmd, thm, sg_num,clause_arr, num_of_clauses) |
437 | "E" => VampComm.checkEProofFound(childInput, toParentStr, parentID,thmstring,goalstring, childCmd, thm, sg_num,clause_arr, num_of_clauses) |
438 |"spass" => SpassComm.checkSpassProofFound(childInput, toParentStr, parentID,thmstring,goalstring, childCmd, thm, sg_num,clause_arr, num_of_clauses) ) |
438 |"spass" => SpassComm.checkSpassProofFound(childInput, toParentStr, parentID,thmstring,goalstring, childCmd, thm, sg_num,clause_arr, num_of_clauses) ) |
439 in |
439 in |
440 if childDone (**********************************************) |
440 if childDone (**********************************************) |
441 then (* child has found a proof and transferred it *) |
441 then (* child has found a proof and transferred it *) |
442 (* Remove this child and go on to check others*) |
442 (* Remove this child and go on to check others*) |