%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ035-3 : TPTP v9.3.1. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% Computer : n015.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8046.5625MB
% OS : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Sun Sep 27 08:21:10 AM UTC 2026
% Result : Unsatisfiable 4.38s 2.87s
% Output : Refutation 4.67s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 16
% Syntax : Number of formulae : 33 ( 5 unt; 0 typ; 0 def)
% Number of atoms : 79 ( 0 equ; 0 cnn)
% Maximal formula atoms : 3 ( 2 avg)
% Number of connectives : 282 ( 46 ~; 46 |; 0 &; 190 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 10 ( 7 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 11 ( 10 usr; 5 con; 0-2 aty)
% Number of variables : 48 ( 0 ^; 48 !; 0 ?; 48 :)
% Comments :
%------------------------------------------------------------------------------
thf(truth_decl,type,
truth: $i > $o ).
thf(isa_decl,type,
isa: $i > $i > $i ).
thf(asked_decl,type,
asked: $i ).
thf(other_decl,type,
other: $i ).
thf(says_decl,type,
says: $i > $i > $o ).
thf(knight_decl,type,
knight: $i ).
thf(knave_decl,type,
knave: $i ).
thf(or_decl,type,
or: $i > $i > $i ).
thf(not_decl,type,
not: $i > $i ).
thf(person_decl,type,
person: $i > $o ).
thf(8,axiom,
other @ person,
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',other_person) ).
thf(31,plain,
other @ person,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(14,axiom,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ or ) @ not @ truth )
| ~ ( A @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not1) ).
thf(42,plain,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ or ) @ not @ truth )
| ~ ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
thf(5,axiom,
! [B: $i,A: $i] :
( ~ ( A @ not @ ( B @ says ) )
| ( A @ not @ truth )
| ( A @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',statements_are_true_or_false2) ).
thf(25,plain,
! [B: $i,A: $i] :
( ~ ( A @ not @ ( B @ says ) )
| ( A @ not @ truth )
| ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(16,axiom,
asked @ person,
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',asked_person) ).
thf(46,plain,
asked @ person,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).
thf(7,axiom,
! [A: $i] :
( ( knave @ ( A @ isa ) @ truth )
| ( knight @ ( A @ isa ) @ truth )
| ~ ( A @ person ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
thf(29,plain,
! [A: $i] :
( ( knave @ ( A @ isa ) @ truth )
| ( knight @ ( A @ isa ) @ truth )
| ~ ( A @ person ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(12,axiom,
! [B: $i,A: $i] :
( ~ ( knave @ ( B @ isa ) @ truth )
| ~ ( A @ ( B @ says ) )
| ( A @ not @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knaves_make_false_statements1) ).
thf(38,plain,
! [B: $i,A: $i] :
( ~ ( knave @ ( B @ isa ) @ truth )
| ~ ( A @ ( B @ says ) )
| ( A @ not @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(3,axiom,
! [A: $i] :
( ~ ( knave @ ( A @ isa ) @ truth )
| ~ ( knight @ ( A @ isa ) @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not_both_a_knight_and_knave) ).
thf(21,plain,
! [A: $i] :
( ~ ( knave @ ( A @ isa ) @ truth )
| ~ ( knight @ ( A @ isa ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(1,negated_conjecture,
! [C: $i,B: $i,A: $i] :
( ~ ( C @ ( asked @ says ) )
| ~ ( B @ ( other @ isa ) @ truth )
| ~ ( A @ ( asked @ isa ) @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).
thf(17,plain,
! [C: $i,B: $i,A: $i] :
( ~ ( C @ ( asked @ says ) )
| ~ ( B @ ( other @ isa ) @ truth )
| ~ ( A @ ( asked @ isa ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(9,axiom,
! [B: $i,A: $i] :
( ~ ( knight @ ( B @ isa ) @ truth )
| ~ ( A @ ( B @ says ) )
| ( A @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_make_true_statements1) ).
thf(32,plain,
! [B: $i,A: $i] :
( ~ ( knight @ ( B @ isa ) @ truth )
| ~ ( A @ ( B @ says ) )
| ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(10,axiom,
! [B: $i,A: $i] :
( ~ ( A @ ( B @ or ) @ not @ truth )
| ~ ( A @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not2) ).
thf(34,plain,
! [B: $i,A: $i] :
( ~ ( A @ ( B @ or ) @ not @ truth )
| ~ ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(15,axiom,
! [B: $i,A: $i] :
( ~ ( A @ ( B @ says ) )
| ( A @ not @ truth )
| ( A @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',statements_are_true_or_false) ).
thf(44,plain,
! [B: $i,A: $i] :
( ~ ( A @ ( B @ says ) )
| ( A @ not @ truth )
| ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(6,axiom,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ or ) @ truth )
| ( B @ truth )
| ( A @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',or_def) ).
thf(27,plain,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ or ) @ truth )
| ( B @ truth )
| ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(13,axiom,
! [B: $i,A: $i] :
( ~ ( B @ not @ truth )
| ~ ( B @ ( A @ says ) )
| ( knave @ ( A @ isa ) @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knaves_make_false_statements2) ).
thf(40,plain,
! [B: $i,A: $i] :
( ~ ( B @ not @ truth )
| ~ ( B @ ( A @ says ) )
| ( knave @ ( A @ isa ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
thf(4,axiom,
( ( knight @ ( other @ isa ) @ ( knight @ ( asked @ isa ) @ or ) @ not @ ( asked @ says ) )
| ( knight @ ( other @ isa ) @ ( knight @ ( asked @ isa ) @ or ) @ ( asked @ says ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',one_is_knight_answer) ).
thf(23,plain,
( ( knight @ ( other @ isa ) @ ( knight @ ( asked @ isa ) @ or ) @ not @ ( asked @ says ) )
| ( knight @ ( other @ isa ) @ ( knight @ ( asked @ isa ) @ or ) @ ( asked @ says ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(11,axiom,
! [A: $i] :
( ~ ( A @ not @ truth )
| ~ ( A @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',statements_are_true_or_false3) ).
thf(36,plain,
! [A: $i] :
( ~ ( A @ not @ truth )
| ~ ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(2,axiom,
! [B: $i,A: $i] :
( ~ ( B @ truth )
| ~ ( B @ ( A @ says ) )
| ( knight @ ( A @ isa ) @ truth ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_make_true_statements2) ).
thf(19,plain,
! [B: $i,A: $i] :
( ~ ( B @ truth )
| ~ ( B @ ( A @ says ) )
| ( knight @ ( A @ isa ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(47,plain,
$false,
inference(e,[status(thm)],[31,42,25,46,29,38,21,17,32,34,44,27,40,23,36,19]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.05 % Problem : PUZ035-3 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.13 % Command : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 0.26/0.51 % Computer : n015.cluster.edu
% 0.26/0.51 % Model : x86_64 x86_64
% 0.26/0.51 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.26/0.51 % Memory : 8046.5625MB
% 0.26/0.51 % OS : Linux 6.8.0-71-generic
% 0.26/0.51 % CPULimit : 300
% 0.26/0.51 % WCLimit : 300
% 0.26/0.51 % DateTime : Sat Sep 26 05:10:13 UTC 2026
% 0.26/0.52 % CPUTime :
% 0.26/0.52 Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 1.56/1.42 % [INFO] Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ...
% 2.13/1.71 % [INFO] Parsing done (288ms).
% 2.13/1.73 % [INFO] Running in sequential loop mode.
% 2.88/2.13 % [INFO] eprover registered as external prover.
% 2.88/2.14 % [INFO] Scanning for conjecture ...
% 3.02/2.24 % [INFO] Found a conjecture (or negated_conjecture) and 15 axioms. Running axiom selection ...
% 3.18/2.31 % [INFO] Axiom selection finished. Selected 15 axioms (removed 0 axioms).
% 3.18/2.34 % [INFO] Problem is propositional (TPTP CNF).
% 3.18/2.34 % [INFO] Type checking passed.
% 3.18/2.35 % [CONFIG] Using configuration: timeout(300) with strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>. Searching for refutation ...
% 4.38/2.87 % External prover 'e' found a proof!
% 4.38/2.87 % [INFO] Killing All external provers ...
% 4.38/2.87 % Time passed: 2130ms (effective reasoning time: 1132ms)
% 4.38/2.87 % Axioms used in derivation (15): everyone_a_knight_or_knave, knaves_make_false_statements1, other_person, one_is_knight_answer, statements_are_true_or_false2, not2, statements_are_true_or_false, statements_are_true_or_false3, knaves_make_false_statements2, not_both_a_knight_and_knave, not1, knights_make_true_statements2, or_def, asked_person, knights_make_true_statements1
% 4.38/2.87 % No. of inferences in proof: 33
% 4.38/2.87 % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p : 2130 ms resp. 1132 ms w/o parsing
% 4.67/2.93 % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 4.67/2.93 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------