%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ081^2 : TPTP v9.3.1. Bugfixed v7.1.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 : n005.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 : Wed Sep 30 08:20:45 AM UTC 2026
% Result : Theorem 3.29s 2.09s
% Output : Refutation 3.57s
% Verified :
% SZS Type : Refutation
% Derivation depth : 3
% Number of leaves : 6
% Syntax : Number of formulae : 14 ( 3 unt; 0 typ; 0 def)
% Number of atoms : 49 ( 14 equ; 0 cnn)
% Maximal formula atoms : 4 ( 3 avg)
% Number of connectives : 71 ( 10 ~; 6 |; 15 &; 36 @)
% ( 0 <=>; 4 =>; 0 <=; 0 <~>)
% Maximal formula depth : 8 ( 5 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 6 ( 6 >; 0 *; 0 +; 0 <<)
% Number of symbols : 7 ( 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] :
( ( ( knave @ A )
& ( says @ A @ B ) )
=> ~ B ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knaves_lie) ).
thf(29,plain,
! [A: $i,B: $o] :
( ( ( knave @ A )
& ( says @ A @ B ) )
=> ~ B ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(7,axiom,
( says @ mel
@ ( ~ ( knave @ zoey )
& ~ ( knave @ mel ) ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',mel_speaks) ).
thf(32,plain,
( says @ mel
@ ( ~ ( knave @ zoey )
& ~ ( knave @ mel ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(4,axiom,
! [A: $i,B: $o] :
( ( ( knight @ A )
& ( says @ A @ B ) )
=> B ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_tell_truth) ).
thf(27,plain,
! [A: $i,B: $o] :
( ( ( knight @ A )
& ( says @ A @ B ) )
=> B ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(6,axiom,
says @ zoey @ ( knave @ mel ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',zoey_speaks) ).
thf(31,plain,
says @ zoey @ ( knave @ mel ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(3,axiom,
! [A: $i] :
( ( knight @ A )
!= ( knave @ A ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_xor_knaves) ).
thf(23,plain,
! [A: $i] :
( ( knight @ A )
!= ( knave @ A ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(1,conjecture,
? [A: $i > $o,B: $i > $o] :
( ( ( A = knight )
| ( A = knave ) )
& ( ( B = knight )
| ( B = knave ) )
& ( A @ zoey )
& ( B @ mel ) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',what_are_zoey_and_mel) ).
thf(2,negated_conjecture,
~ ? [A: $i > $o,B: $i > $o] :
( ( ( A = knight )
| ( A = knave ) )
& ( ( B = knight )
| ( B = knave ) )
& ( A @ zoey )
& ( B @ mel ) ),
inference(neg_conjecture,[status(cth)],[1]) ).
thf(8,plain,
~ ? [A: $i > $o,B: $i > $o] :
( ( ( A = knight )
| ( A = knave ) )
& ( ( B = knight )
| ( B = knave ) )
& ( A @ zoey )
& ( B @ mel ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(35,plain,
$false,
inference(e,[status(thm)],[29,32,27,31,23,8]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : PUZ081^2 : TPTP v9.3.1. Bugfixed v7.1.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.08/0.19 % Computer : n005.cluster.edu
% 0.08/0.19 % Model : x86_64 x86_64
% 0.08/0.19 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.08/0.19 % Memory : 8046.5625MB
% 0.08/0.19 % OS : Linux 6.8.0-71-generic
% 0.08/0.19 % CPULimit : 300
% 0.08/0.19 % WCLimit : 300
% 0.08/0.19 % DateTime : Tue Sep 29 13:21:16 UTC 2026
% 0.08/0.19 % CPUTime :
% 0.08/0.19 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.86/0.78 % [INFO] Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ...
% 1.18/0.95 % [INFO] Parsing done (172ms).
% 1.18/0.97 % [INFO] Running in sequential loop mode.
% 1.79/1.36 % [INFO] eprover registered as external prover.
% 1.79/1.37 % [INFO] Scanning for conjecture ...
% 1.98/1.46 % [INFO] Found a conjecture (or negated_conjecture) and 5 axioms. Running axiom selection ...
% 2.13/1.50 % [INFO] Axiom selection finished. Selected 5 axioms (removed 0 axioms).
% 2.13/1.51 % [INFO] Problem is higher-order (TPTP THF).
% 2.13/1.52 % [INFO] Type checking passed.
% 2.13/1.52 % [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.29/2.08 % External prover 'e' found a proof!
% 3.29/2.08 % [INFO] Killing All external provers ...
% 3.29/2.09 % Time passed: 1747ms (effective reasoning time: 1113ms)
% 3.29/2.09 % 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.29/2.09 % Axioms used in derivation (5): zoey_speaks, mel_speaks, knights_xor_knaves, knights_tell_truth, knaves_lie
% 3.29/2.09 % No. of inferences in proof: 14
% 3.29/2.09 % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 1747 ms resp. 1113 ms w/o parsing
% 3.57/2.13 % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 3.57/2.13 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------