%------------------------------------------------------------------------------
% File : Leo-III---1.8.0
% Problem : PUZ035-1 : 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 : n012.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 1.91s 1.35s
% Output : Refutation 1.91s
% Verified :
% SZS Type : Refutation
% Derivation depth : 2
% Number of leaves : 15
% Syntax : Number of formulae : 31 ( 5 unt; 0 typ; 0 def)
% Number of atoms : 79 ( 0 equ; 0 cnn)
% Maximal formula atoms : 4 ( 2 avg)
% Number of connectives : 206 ( 46 ~; 48 |; 0 &; 112 @)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 9 ( 5 avg)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of symbols : 12 ( 11 usr; 7 con; 0-2 aty)
% Number of variables : 22 ( 0 ^; 22 !; 0 ?; 22 :)
% Comments :
%------------------------------------------------------------------------------
thf(response_decl,type,
response: $i > $o ).
thf(isa_decl,type,
isa: $i > $i > $o ).
thf(asked_decl,type,
asked: $i ).
thf(other_decl,type,
other: $i ).
thf(person_decl,type,
person: $i > $o ).
thf(knight_decl,type,
knight: $i ).
thf(knave_decl,type,
knave: $i ).
thf(tell_the_truth_decl,type,
tell_the_truth: $i > $o ).
thf(lies_decl,type,
lies: $i > $o ).
thf(yes_decl,type,
yes: $i ).
thf(no_decl,type,
no: $i ).
thf(3,axiom,
! [A: $i] :
( ~ ( knave @ ( A @ isa ) )
| ~ ( knight @ ( A @ isa ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_both_a_knight_and_knave) ).
thf(20,plain,
! [A: $i] :
( ~ ( knave @ ( A @ isa ) )
| ~ ( knight @ ( A @ isa ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).
thf(4,axiom,
! [A: $i] :
( ( A @ tell_the_truth )
| ~ ( knight @ ( A @ isa ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements) ).
thf(22,plain,
! [A: $i] :
( ( A @ tell_the_truth )
| ~ ( knight @ ( A @ isa ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).
thf(2,axiom,
! [A: $i] :
( ( knave @ ( A @ isa ) )
| ( knight @ ( A @ isa ) )
| ~ ( A @ person ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
thf(18,plain,
! [A: $i] :
( ( knave @ ( A @ isa ) )
| ( knight @ ( A @ isa ) )
| ~ ( A @ person ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).
thf(1,negated_conjecture,
! [C: $i,B: $i,A: $i] :
( ~ ( C @ ( other @ isa ) )
| ~ ( B @ ( asked @ isa ) )
| ~ ( A @ response ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_answer) ).
thf(16,plain,
! [C: $i,B: $i,A: $i] :
( ~ ( C @ ( other @ isa ) )
| ~ ( B @ ( asked @ isa ) )
| ~ ( A @ response ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).
thf(15,axiom,
other @ person,
file('/export/starexec/sandbox/benchmark/theBenchmark.p',other_person) ).
thf(43,plain,
other @ person,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).
thf(14,axiom,
asked @ person,
file('/export/starexec/sandbox/benchmark/theBenchmark.p',asked_person) ).
thf(42,plain,
asked @ person,
inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).
thf(5,axiom,
! [A: $i] :
( ( A @ lies )
| ~ ( knave @ ( A @ isa ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knaves_make_false_statements) ).
thf(24,plain,
! [A: $i] :
( ( A @ lies )
| ~ ( knave @ ( A @ isa ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).
thf(7,axiom,
( ~ ( asked @ tell_the_truth )
| ~ ( yes @ response )
| ( knight @ ( other @ isa ) )
| ( knight @ ( asked @ isa ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',true_one_is_a_knight) ).
thf(28,plain,
( ~ ( asked @ tell_the_truth )
| ~ ( yes @ response )
| ( knight @ ( other @ isa ) )
| ( knight @ ( asked @ isa ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).
thf(12,axiom,
( ~ ( asked @ tell_the_truth )
| ( knight @ ( other @ isa ) )
| ( knight @ ( asked @ isa ) )
| ( no @ response ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',truthful_answer) ).
thf(38,plain,
( ~ ( asked @ tell_the_truth )
| ( knight @ ( other @ isa ) )
| ( knight @ ( asked @ isa ) )
| ( no @ response ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).
thf(9,axiom,
! [A: $i] :
( ~ ( knight @ ( A @ isa ) )
| ~ ( asked @ lies )
| ~ ( yes @ response ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_answers1) ).
thf(32,plain,
! [A: $i] :
( ~ ( knight @ ( A @ isa ) )
| ~ ( asked @ lies )
| ~ ( yes @ response ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).
thf(10,axiom,
! [A: $i] :
( ~ ( knight @ ( A @ isa ) )
| ~ ( asked @ tell_the_truth )
| ~ ( no @ response ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_answers2) ).
thf(34,plain,
! [A: $i] :
( ~ ( knight @ ( A @ isa ) )
| ~ ( asked @ tell_the_truth )
| ~ ( no @ response ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).
thf(13,axiom,
( ( no @ response )
| ( yes @ response ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',two_answers) ).
thf(40,plain,
( ( no @ response )
| ( yes @ response ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).
thf(6,axiom,
! [A: $i] :
( ~ ( A @ lies )
| ~ ( A @ tell_the_truth ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false) ).
thf(26,plain,
! [A: $i] :
( ~ ( A @ lies )
| ~ ( A @ tell_the_truth ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).
thf(11,axiom,
! [A: $i] :
( ~ ( knight @ ( A @ isa ) )
| ~ ( asked @ tell_the_truth )
| ( yes @ response ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_answers3) ).
thf(36,plain,
! [A: $i] :
( ~ ( knight @ ( A @ isa ) )
| ~ ( asked @ tell_the_truth )
| ( yes @ response ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).
thf(8,axiom,
( ~ ( asked @ lies )
| ~ ( no @ response )
| ( knight @ ( other @ isa ) )
| ( knight @ ( asked @ isa ) ) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',lie_one_is_a_knight) ).
thf(30,plain,
( ~ ( asked @ lies )
| ~ ( no @ response )
| ( knight @ ( other @ isa ) )
| ( knight @ ( asked @ isa ) ) ),
inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).
thf(44,plain,
$false,
inference(e,[status(thm)],[20,22,18,16,43,42,24,28,38,32,34,40,26,36,30]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.01 % Problem : PUZ035-1 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.04 % 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.04/0.31 % Computer : n012.cluster.edu
% 0.04/0.31 % Model : x86_64 x86_64
% 0.04/0.31 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.04/0.31 % Memory : 8046.5625MB
% 0.04/0.31 % OS : Linux 6.8.0-71-generic
% 0.04/0.31 % CPULimit : 300
% 0.04/0.31 % WCLimit : 300
% 0.04/0.31 % DateTime : Sat Sep 26 05:06:20 UTC 2026
% 0.04/0.32 % CPUTime :
% 0.04/0.32 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.50/0.63 % [INFO] Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ...
% 0.64/0.74 % [INFO] Parsing done (104ms).
% 0.64/0.75 % [INFO] Running in sequential loop mode.
% 0.99/0.96 % [INFO] eprover registered as external prover.
% 0.99/0.97 % [INFO] Scanning for conjecture ...
% 1.22/1.02 % [INFO] Found a conjecture (or negated_conjecture) and 14 axioms. Running axiom selection ...
% 1.22/1.05 % [INFO] Axiom selection finished. Selected 14 axioms (removed 0 axioms).
% 1.22/1.06 % [INFO] Problem is propositional (TPTP CNF).
% 1.22/1.06 % [INFO] Type checking passed.
% 1.22/1.06 % [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 ...
% 1.91/1.35 % External prover 'e' found a proof!
% 1.91/1.35 % [INFO] Killing All external provers ...
% 1.91/1.35 % Time passed: 958ms (effective reasoning time: 598ms)
% 1.91/1.35 % Axioms used in derivation (14): everyone_a_knight_or_knave, two_answers, truthful_answer, knaves_make_false_statements, other_person, knight_answers1, statements_are_true_or_false, knights_make_true_statements, lie_one_is_a_knight, knight_answers2, true_one_is_a_knight, not_both_a_knight_and_knave, asked_person, knight_answers3
% 1.91/1.35 % No. of inferences in proof: 31
% 1.91/1.35 % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p : 958 ms resp. 598 ms w/o parsing
% 1.91/1.38 % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 1.91/1.38 % [INFO] Killing All external provers ...
%------------------------------------------------------------------------------