%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ035-5 : TPTP v9.3.1. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% Computer : n009.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:11 AM UTC 2026
% Result : Unsatisfiable 3.47s 2.27s
% Output : Refutation 3.78s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 9
% Syntax : Number of formulae : 19 ( 3 unt; 0 typ; 0 def)
% Number of atoms : 41 ( 0 equ; 0 cnn)
% Maximal formula atoms : 3 ( 2 avg)
% Number of connectives : 146 ( 22 ~; 22 |; 0 &; 102 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 9 ( 7 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 9 ( 8 usr; 5 con; 0-2 aty)
% Number of variables : 28 ( 0 ^; 28 !; 0 ?; 28 :)
% 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(knight_decl,type,
knight: $i ).
thf(knave_decl,type,
knave: $i ).
thf(says_decl,type,
says: $i > $i > $o ).
thf(or_decl,type,
or: $i > $i > $i ).
thf(1,negated_conjecture,
! [B: $i,A: $i] :
( ~ ( B @ ( other @ isa ) @ truth )
| ~ ( A @ ( asked @ isa ) @ truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',query) ).
thf(10,plain,
! [B: $i,A: $i] :
( ~ ( B @ ( other @ isa ) @ truth )
| ~ ( A @ ( asked @ isa ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(8,axiom,
! [B: $i,A: $i] :
( ~ ( B @ truth )
| ( B @ ( A @ or ) @ truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',or3) ).
thf(24,plain,
! [B: $i,A: $i] :
( ~ ( B @ truth )
| ( B @ ( A @ or ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(3,axiom,
! [A: $i] :
( ~ ( knave @ ( A @ isa ) @ truth )
| ~ ( knight @ ( A @ isa ) @ truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_both_a_knight_and_knave) ).
thf(14,plain,
! [A: $i] :
( ~ ( knave @ ( A @ isa ) @ truth )
| ~ ( knight @ ( A @ isa ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(6,axiom,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ or ) @ truth )
| ( B @ truth )
| ( A @ truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',or1) ).
thf(20,plain,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ or ) @ truth )
| ( B @ truth )
| ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(7,axiom,
! [B: $i,A: $i] :
( ~ ( A @ truth )
| ( B @ ( A @ or ) @ truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',or2) ).
thf(22,plain,
! [B: $i,A: $i] :
( ~ ( A @ truth )
| ( B @ ( A @ or ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(2,axiom,
! [A: $i] :
( ( knave @ ( A @ isa ) @ truth )
| ( knight @ ( A @ isa ) @ truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
thf(12,plain,
! [A: $i] :
( ( knave @ ( A @ isa ) @ truth )
| ( knight @ ( A @ isa ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(5,axiom,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ says ) )
| ~ ( B @ truth )
| ( knight @ ( A @ isa ) @ truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements2) ).
thf(18,plain,
! [B: $i,A: $i] :
( ~ ( B @ ( A @ says ) )
| ~ ( B @ truth )
| ( knight @ ( A @ isa ) @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(4,axiom,
! [B: $i,A: $i] :
( ~ ( A @ ( B @ says ) )
| ~ ( knight @ ( B @ isa ) @ truth )
| ( A @ truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements1) ).
thf(16,plain,
! [B: $i,A: $i] :
( ~ ( A @ ( B @ says ) )
| ~ ( knight @ ( B @ isa ) @ truth )
| ( A @ truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(9,axiom,
knight @ ( other @ isa ) @ ( knight @ ( asked @ isa ) @ or ) @ ( asked @ says ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',says_yes) ).
thf(26,plain,
knight @ ( other @ isa ) @ ( knight @ ( asked @ isa ) @ or ) @ ( asked @ says ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(30,plain,
$false,
inference(e,[status(thm)],[10,24,14,20,22,12,18,16,26]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02 % Problem : PUZ035-5 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.07 % Command : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% 0.11/0.38 % Computer : n009.cluster.edu
% 0.11/0.38 % Model : x86_64 x86_64
% 0.11/0.38 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.11/0.38 % Memory : 8046.5625MB
% 0.11/0.38 % OS : Linux 6.8.0-71-generic
% 0.11/0.38 % CPULimit : 300
% 0.11/0.38 % WCLimit : 300
% 0.11/0.38 % DateTime : Sat Sep 26 05:06:59 UTC 2026
% 0.11/0.38 % CPUTime :
% 0.11/0.38 Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% 0.89/0.96 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 1.32/1.14 % [INFO] Parsing done (174ms).
% 1.32/1.15 % [INFO] Running in sequential loop mode.
% 1.88/1.56 % [INFO] eprover registered as external prover.
% 1.88/1.57 % [INFO] Scanning for conjecture ...
% 2.09/1.66 % [INFO] Found a conjecture (or negated_conjecture) and 8 axioms. Running axiom selection ...
% 2.26/1.71 % [INFO] Axiom selection finished. Selected 8 axioms (removed 0 axioms).
% 2.26/1.73 % [INFO] Problem is propositional (TPTP CNF).
% 2.26/1.73 % [INFO] Type checking passed.
% 2.26/1.73 % [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 ...
% 3.47/2.27 % External prover 'e' found a proof!
% 3.47/2.27 % [INFO] Killing All external provers ...
% 3.47/2.27 % Time passed: 1739ms (effective reasoning time: 1110ms)
% 3.47/2.27 % Axioms used in derivation (8): everyone_a_knight_or_knave, knights_make_true_statements2, or1, says_yes, knights_make_true_statements1, or2, not_both_a_knight_and_knave, or3
% 3.47/2.27 % No. of inferences in proof: 19
% 3.47/2.27 % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p : 1739 ms resp. 1110 ms w/o parsing
% 3.78/2.33 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 3.78/2.33 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------