%------------------------------------------------------------------------------
% File : ConnectPP---0.7.2
% Problem : PUZ035-2 : TPTP v9.3.1. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : /export/starexec/sandbox2/solver/bin/connect++ --verbosity 1 --no-colour --tptp-proof --schedule default --timeout 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% Computer : n008.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 : Thu Sep 24 08:54:22 AM UTC 2026
% Result : Unsatisfiable 0.21s 0.49s
% Output : Proof 0.21s
% Verified :
% SZS Type : ERROR: Analysing output (MakeTreeStats fails)
% Comments :
%------------------------------------------------------------------------------
cnf(everyone_a_knight_or_knave,axiom,
( isa(X,knave)
| isa(X,knight)
| ~ person(X) ),
file('theBenchmark.p',everyone_a_knight_or_knave) ).
cnf(not_both_a_knight_and_knave,axiom,
( ~ isa(X,knave)
| ~ isa(X,knight) ),
file('theBenchmark.p',not_both_a_knight_and_knave) ).
cnf(knights_make_true_statements,axiom,
( tell_the_truth(X)
| ~ isa(X,knight) ),
file('theBenchmark.p',knights_make_true_statements) ).
cnf(knaves_make_false_statements,axiom,
( lies(X)
| ~ isa(X,knave) ),
file('theBenchmark.p',knaves_make_false_statements) ).
cnf(statements_are_true_or_false,axiom,
( ~ lies(X)
| ~ tell_the_truth(X) ),
file('theBenchmark.p',statements_are_true_or_false) ).
cnf(statements_are_true_or_false2,axiom,
( lies(X)
| tell_the_truth(X)
| ~ person(X) ),
file('theBenchmark.p',statements_are_true_or_false2) ).
cnf(true_one_is_a_knight,axiom,
( ~ tell_the_truth(asked)
| ~ response(yes)
| isa(other,knight)
| isa(asked,knight) ),
file('theBenchmark.p',true_one_is_a_knight) ).
cnf(lie_one_is_a_knight,axiom,
( ~ lies(asked)
| ~ response(no)
| isa(other,knight)
| isa(asked,knight) ),
file('theBenchmark.p',lie_one_is_a_knight) ).
cnf(knight_answers1,axiom,
( ~ isa(Anyone,knight)
| ~ lies(asked)
| ~ response(yes) ),
file('theBenchmark.p',knight_answers1) ).
cnf(knight_answers2,axiom,
( ~ isa(Anyone,knight)
| ~ tell_the_truth(asked)
| ~ response(no) ),
file('theBenchmark.p',knight_answers2) ).
cnf(knight_answers3,axiom,
( ~ isa(Anyone,knight)
| ~ tell_the_truth(asked)
| response(yes) ),
file('theBenchmark.p',knight_answers3) ).
cnf(truthful_answer,axiom,
( ~ tell_the_truth(asked)
| isa(other,knight)
| isa(asked,knight)
| response(no) ),
file('theBenchmark.p',truthful_answer) ).
cnf(two_answers,axiom,
( response(no)
| response(yes) ),
file('theBenchmark.p',two_answers) ).
cnf(asked_person,axiom,
person(asked),
file('theBenchmark.p',asked_person) ).
cnf(other_person,axiom,
person(other),
file('theBenchmark.p',other_person) ).
cnf(prove_answer,negated_conjecture,
( ~ isa(other,Y)
| ~ isa(asked,X)
| ~ response(A) ),
file('theBenchmark.p',prove_answer) ).
cnf(sat_proved,plain,
$false,
inference(cadical,[status(thm)],[]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : PUZ035-2 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.03 This is a CNF_UNS_EPR_NEQ_NHN problem
% 0.00/0.04 % Command : /export/starexec/sandbox2/solver/bin/connect++ --verbosity 1 --no-colour --tptp-proof --schedule default --timeout 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.10/0.37 % Computer : n008.cluster.edu
% 0.10/0.37 % Model : x86_64 x86_64
% 0.10/0.37 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.37 % Memory : 8046.5625MB
% 0.10/0.37 % OS : Linux 6.8.0-71-generic
% 0.10/0.37 % CPULimit : 300
% 0.10/0.37 % WCLimit : 300
% 0.10/0.37 % DateTime : Sat Sep 19 19:57:39 UTC 2026
% 0.10/0.37 % CPUTime :
% 0.21/0.49 % SZS status Unsatisfiable for theBenchmark
% 0.21/0.49 % SZS output start Proof for theBenchmark
% See solution above
%------------------------------------------------------------------------------