%------------------------------------------------------------------------------
% File : PyRes---1.5
% Problem : PUZ035-2 : TPTP v8.1.2. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% Computer : n023.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8042.1875MB
% OS : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Thu May 9 17:37:40 EDT 2024
% Result : Unsatisfiable 0.20s 0.56s
% Output : Refutation 0.20s
% Verified :
% SZS Type : Refutation
% Derivation depth : 21
% Number of leaves : 10
% Syntax : Number of clauses : 41 ( 9 unt; 17 nHn; 41 RR)
% Number of literals : 81 ( 0 equ; 28 neg)
% Maximal clause size : 3 ( 1 avg)
% Maximal term depth : 1 ( 1 avg)
% Number of predicates : 6 ( 5 usr; 1 prp; 0-2 aty)
% Number of functors : 6 ( 6 usr; 6 con; 0-0 aty)
% Number of variables : 19 ( 14 sgn)
% Comments :
%------------------------------------------------------------------------------
cnf(two_answers,axiom,
( response(yes)
| response(no) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',two_answers) ).
cnf(knights_make_true_statements,axiom,
( ~ isa(X3,knight)
| tell_the_truth(X3) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements) ).
cnf(asked_person,axiom,
person(asked),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',asked_person) ).
cnf(everyone_a_knight_or_knave,axiom,
( ~ person(X5)
| isa(X5,knight)
| isa(X5,knave) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
cnf(c0,plain,
( isa(asked,knight)
| isa(asked,knave) ),
inference(resolution,[status(thm)],[everyone_a_knight_or_knave,asked_person]) ).
cnf(c6,plain,
( isa(asked,knave)
| tell_the_truth(asked) ),
inference(resolution,[status(thm)],[c0,knights_make_true_statements]) ).
cnf(statements_are_true_or_false,axiom,
( ~ tell_the_truth(X2)
| ~ lies(X2) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false) ).
cnf(statements_are_true_or_false2,axiom,
( ~ person(X6)
| tell_the_truth(X6)
| lies(X6) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false2) ).
cnf(c2,plain,
( tell_the_truth(asked)
| lies(asked) ),
inference(resolution,[status(thm)],[statements_are_true_or_false2,asked_person]) ).
cnf(knaves_make_false_statements,axiom,
( ~ isa(X4,knave)
| lies(X4) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knaves_make_false_statements) ).
cnf(c7,plain,
( isa(asked,knight)
| lies(asked) ),
inference(resolution,[status(thm)],[c0,knaves_make_false_statements]) ).
cnf(knight_answers2,axiom,
( ~ response(no)
| ~ tell_the_truth(asked)
| ~ isa(X9,knight) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_answers2) ).
cnf(c34,plain,
( ~ response(no)
| ~ tell_the_truth(asked)
| lies(asked) ),
inference(resolution,[status(thm)],[knight_answers2,c7]) ).
cnf(c40,plain,
( ~ response(no)
| lies(asked) ),
inference(resolution,[status(thm)],[c34,c2]) ).
cnf(c46,plain,
( lies(asked)
| response(yes) ),
inference(resolution,[status(thm)],[c40,two_answers]) ).
cnf(c48,plain,
( response(yes)
| ~ tell_the_truth(asked) ),
inference(resolution,[status(thm)],[c46,statements_are_true_or_false]) ).
cnf(c51,plain,
( response(yes)
| isa(asked,knave) ),
inference(resolution,[status(thm)],[c48,c6]) ).
cnf(prove_answer,negated_conjecture,
( ~ response(X11)
| ~ isa(asked,X13)
| ~ isa(other,X12) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_answer) ).
cnf(other_person,axiom,
person(other),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',other_person) ).
cnf(c1,plain,
( isa(other,knight)
| isa(other,knave) ),
inference(resolution,[status(thm)],[everyone_a_knight_or_knave,other_person]) ).
cnf(c18,plain,
( isa(other,knight)
| lies(other) ),
inference(resolution,[status(thm)],[c1,knaves_make_false_statements]) ).
cnf(c25,plain,
( isa(other,knight)
| ~ tell_the_truth(other) ),
inference(resolution,[status(thm)],[c18,statements_are_true_or_false]) ).
cnf(c17,plain,
( isa(other,knave)
| tell_the_truth(other) ),
inference(resolution,[status(thm)],[c1,knights_make_true_statements]) ).
cnf(c59,plain,
( ~ response(X15)
| ~ isa(asked,X14)
| tell_the_truth(other) ),
inference(resolution,[status(thm)],[prove_answer,c17]) ).
cnf(c69,plain,
( ~ response(X17)
| tell_the_truth(other)
| response(yes) ),
inference(resolution,[status(thm)],[c59,c51]) ).
cnf(c79,plain,
( tell_the_truth(other)
| response(yes) ),
inference(resolution,[status(thm)],[c69,two_answers]) ).
cnf(c12,plain,
( isa(asked,knight)
| ~ tell_the_truth(asked) ),
inference(resolution,[status(thm)],[c7,statements_are_true_or_false]) ).
cnf(c68,plain,
( ~ response(X16)
| tell_the_truth(other)
| tell_the_truth(asked) ),
inference(resolution,[status(thm)],[c59,c6]) ).
cnf(c84,plain,
( tell_the_truth(other)
| tell_the_truth(asked) ),
inference(resolution,[status(thm)],[c79,c68]) ).
cnf(c88,plain,
( tell_the_truth(other)
| isa(asked,knight) ),
inference(resolution,[status(thm)],[c84,c12]) ).
cnf(c108,plain,
( tell_the_truth(other)
| ~ response(X18) ),
inference(resolution,[status(thm)],[c88,c59]) ).
cnf(c116,plain,
tell_the_truth(other),
inference(resolution,[status(thm)],[c108,c79]) ).
cnf(c117,plain,
isa(other,knight),
inference(resolution,[status(thm)],[c116,c25]) ).
cnf(c119,plain,
( ~ response(X20)
| ~ isa(asked,X19) ),
inference(resolution,[status(thm)],[c117,prove_answer]) ).
cnf(c126,plain,
( ~ response(X22)
| response(yes) ),
inference(resolution,[status(thm)],[c119,c51]) ).
cnf(c136,plain,
response(yes),
inference(resolution,[status(thm)],[c126,two_answers]) ).
cnf(c125,plain,
( ~ response(X21)
| tell_the_truth(asked) ),
inference(resolution,[status(thm)],[c119,c6]) ).
cnf(c140,plain,
tell_the_truth(asked),
inference(resolution,[status(thm)],[c136,c125]) ).
cnf(c143,plain,
isa(asked,knight),
inference(resolution,[status(thm)],[c140,c12]) ).
cnf(c146,plain,
~ response(X23),
inference(resolution,[status(thm)],[c143,c119]) ).
cnf(c149,plain,
$false,
inference(resolution,[status(thm)],[c146,c136]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12 % Problem : PUZ035-2 : TPTP v8.1.2. Released v2.0.0.
% 0.07/0.13 % Command : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.34 % Computer : n023.cluster.edu
% 0.12/0.34 % Model : x86_64 x86_64
% 0.12/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.34 % Memory : 8042.1875MB
% 0.12/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.12/0.34 % CPULimit : 300
% 0.12/0.34 % WCLimit : 300
% 0.12/0.34 % DateTime : Wed May 8 20:43:53 EDT 2024
% 0.12/0.34 % CPUTime :
% 0.20/0.56 % Version: 1.5
% 0.20/0.56 % SZS status Unsatisfiable
% 0.20/0.56 % SZS output start CNFRefutation
% See solution above
% 0.20/0.56
% 0.20/0.56 % Initial clauses : 16
% 0.20/0.56 % Processed clauses : 56
% 0.20/0.56 % Factors computed : 0
% 0.20/0.56 % Resolvents computed: 150
% 0.20/0.56 % Tautologies deleted: 6
% 0.20/0.56 % Forward subsumed : 31
% 0.20/0.56 % Backward subsumed : 42
% 0.20/0.56 % -------- CPU Time ---------
% 0.20/0.56 % User time : 0.206 s
% 0.20/0.56 % System time : 0.010 s
% 0.20/0.56 % Total time : 0.216 s
%------------------------------------------------------------------------------