%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ081_8 : TPTP v9.3.1. Released v8.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 : n007.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:18 AM UTC 2026
% Result : Theorem 3.68s 2.32s
% Output : Refutation 3.68s
% Verified :
% SZS Type : Refutation
% Derivation depth : 3
% Number of leaves : 6
% Syntax : Number of formulae : 14 ( 1 unt; 0 typ; 0 def)
% Number of atoms : 31 ( 0 equ; 0 cnn)
% Maximal formula atoms : 4 ( 2 avg)
% Number of connectives : 64 ( 9 ~; 0 |; 10 &; 38 @)
% ( 0 <=>; 6 =>; 0 <=; 1 <~>)
% Maximal formula depth : 7 ( 5 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 6 ( 5 usr; 3 con; 0-2 aty)
% Number of variables : 16 ( 0 ^; 10 !; 6 ?; 16 :)
% Comments :
%------------------------------------------------------------------------------
thf(mel_decl,type,
mel: $i ).
thf(zoey_decl,type,
zoey: $i ).
thf(knight_decl,type,
knight: $i > $o ).
thf(knave_decl,type,
knave: $i > $o ).
thf(says_decl,type,
says: $i > $o > $o ).
thf(5,axiom,
! [A: $i,B: $o] :
( ( ( B @ ( A @ says ) )
& ( A @ knave ) )
=> ~ B ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knaves_lie) ).
thf(20,plain,
! [A: $i,B: $o] :
( ( ( B @ ( A @ says ) )
& ( A @ knave ) )
=> ~ B ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(6,axiom,
mel @ knave @ ( zoey @ says ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',zoey_speaks) ).
thf(22,plain,
mel @ knave @ ( zoey @ says ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(4,axiom,
! [A: $i,B: $o] :
( ( ( B @ ( A @ says ) )
& ( A @ knight ) )
=> B ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_tell_truth) ).
thf(18,plain,
! [A: $i,B: $o] :
( ( ( B @ ( A @ says ) )
& ( A @ knight ) )
=> B ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(3,axiom,
! [A: $i] :
( ( A @ knight )
<~> ( A @ knave ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_xor_knaves) ).
thf(11,plain,
! [A: $i] :
~ ( ( ( A @ knave )
=> ( A @ knight ) )
& ( ( A @ knight )
=> ( A @ knave ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(7,axiom,
( ( ~ ( mel @ knave )
& ~ ( zoey @ knave ) )
@ ( mel @ says ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',mel_speaks) ).
thf(23,plain,
( ( ~ ( mel @ knave )
& ~ ( zoey @ knave ) )
@ ( mel @ says ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(1,conjecture,
? [A: $i,B: $i] :
( ( B @ knave )
& ( A @ knight ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',who_is_knight_and_knave) ).
thf(2,negated_conjecture,
~ ? [A: $i,B: $i] :
( ( B @ knave )
& ( A @ knight ) ),
inference(neg_conjecture,[status(cth)],[1]) ).
thf(8,plain,
~ ? [A: $i,B: $i] :
( ( B @ knave )
& ( A @ knight ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(35,plain,
$false,
inference(e,[status(thm)],[20,22,18,11,23,8]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02 % Problem : PUZ081_8 : TPTP v9.3.1. Released v8.0.0.
% 0.00/0.07 % 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.12/0.39 % Computer : n007.cluster.edu
% 0.12/0.39 % Model : x86_64 x86_64
% 0.12/0.39 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.39 % Memory : 8046.5625MB
% 0.12/0.39 % OS : Linux 6.8.0-71-generic
% 0.12/0.39 % CPULimit : 300
% 0.12/0.39 % WCLimit : 300
% 0.12/0.39 % DateTime : Sat Sep 26 05:13:23 UTC 2026
% 0.12/0.40 % CPUTime :
% 0.12/0.40 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
% 0.88/0.98 % [INFO] Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ...
% 1.26/1.18 % [INFO] Parsing done (192ms).
% 1.26/1.19 % [INFO] Running in sequential loop mode.
% 2.05/1.60 % [INFO] eprover registered as external prover.
% 2.05/1.61 % [INFO] Scanning for conjecture ...
% 2.22/1.72 % [INFO] Found a conjecture (or negated_conjecture) and 5 axioms. Running axiom selection ...
% 2.22/1.76 % [INFO] Axiom selection finished. Selected 5 axioms (removed 0 axioms).
% 2.22/1.77 % [INFO] Problem is typed first-order (TPTP TFF).
% 2.22/1.77 % [INFO] Type checking passed.
% 2.22/1.78 % [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.68/2.32 % External prover 'e' found a proof!
% 3.68/2.32 % [INFO] Killing All external provers ...
% 3.68/2.32 % Time passed: 1777ms (effective reasoning time: 1121ms)
% 3.68/2.32 % Solved by 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)>
% 3.68/2.32 % Axioms used in derivation (5): zoey_speaks, mel_speaks, knights_xor_knaves, knights_tell_truth, knaves_lie
% 3.68/2.32 % No. of inferences in proof: 14
% 3.68/2.32 % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 1777 ms resp. 1121 ms w/o parsing
% 3.68/2.34 % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 3.68/2.34 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------