%------------------------------------------------------------------------------
% File : PyRes---1.5
% Problem : PUZ035-4 : TPTP v8.1.2. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% Computer : n005.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.42s 0.58s
% Output : Refutation 0.42s
% Verified :
% SZS Type : Refutation
% Derivation depth : 12
% Number of leaves : 5
% Syntax : Number of clauses : 22 ( 7 unt; 9 nHn; 22 RR)
% Number of literals : 43 ( 0 equ; 14 neg)
% Maximal clause size : 3 ( 1 avg)
% Maximal term depth : 4 ( 1 avg)
% Number of predicates : 4 ( 3 usr; 1 prp; 0-2 aty)
% Number of functors : 7 ( 7 usr; 4 con; 0-2 aty)
% Number of variables : 14 ( 13 sgn)
% Comments :
%------------------------------------------------------------------------------
cnf(prove_answer,negated_conjecture,
( ~ truth(isa(asked,X20))
| ~ truth(isa(other,X21))
| ~ says(asked,X22) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).
cnf(other_person,axiom,
person(other),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',other_person) ).
cnf(everyone_a_knight_or_knave,axiom,
( ~ person(X7)
| truth(isa(X7,knight))
| truth(isa(X7,knave)) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
cnf(c1,plain,
( truth(isa(other,knight))
| truth(isa(other,knave)) ),
inference(resolution,[status(thm)],[everyone_a_knight_or_knave,other_person]) ).
cnf(c13,plain,
( ~ truth(isa(asked,X24))
| ~ says(asked,X25)
| truth(isa(other,knave)) ),
inference(resolution,[status(thm)],[prove_answer,c1]) ).
cnf(asked_person,axiom,
person(asked),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',asked_person) ).
cnf(c0,plain,
( truth(isa(asked,knight))
| truth(isa(asked,knave)) ),
inference(resolution,[status(thm)],[everyone_a_knight_or_knave,asked_person]) ).
cnf(c15,plain,
( ~ says(asked,X28)
| truth(isa(other,knave))
| truth(isa(asked,knave)) ),
inference(resolution,[status(thm)],[c13,c0]) ).
cnf(one_is_knight_answer,axiom,
( says(asked,or(isa(asked,knight),isa(other,knight)))
| says(asked,not(or(isa(asked,knight),isa(other,knight)))) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',one_is_knight_answer) ).
cnf(c20,plain,
( truth(isa(other,knave))
| truth(isa(asked,knave))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(resolution,[status(thm)],[c15,one_is_knight_answer]) ).
cnf(c37,plain,
( truth(isa(other,knave))
| truth(isa(asked,knave)) ),
inference(resolution,[status(thm)],[c20,c15]) ).
cnf(c41,plain,
( truth(isa(other,knave))
| ~ says(asked,X32) ),
inference(resolution,[status(thm)],[c37,c13]) ).
cnf(c58,plain,
( truth(isa(other,knave))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(resolution,[status(thm)],[c41,one_is_knight_answer]) ).
cnf(c82,plain,
truth(isa(other,knave)),
inference(resolution,[status(thm)],[c58,c41]) ).
cnf(c85,plain,
( ~ truth(isa(asked,X39))
| ~ says(asked,X40) ),
inference(resolution,[status(thm)],[c82,prove_answer]) ).
cnf(c39,plain,
( truth(isa(asked,knave))
| ~ truth(isa(asked,X33))
| ~ says(asked,X34) ),
inference(resolution,[status(thm)],[c37,prove_answer]) ).
cnf(c62,plain,
( truth(isa(asked,knave))
| ~ says(asked,X35) ),
inference(resolution,[status(thm)],[c39,c0]) ).
cnf(c67,plain,
( truth(isa(asked,knave))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(resolution,[status(thm)],[c62,one_is_knight_answer]) ).
cnf(c139,plain,
truth(isa(asked,knave)),
inference(resolution,[status(thm)],[c67,c62]) ).
cnf(c141,plain,
~ says(asked,X44),
inference(resolution,[status(thm)],[c139,c85]) ).
cnf(c146,plain,
says(asked,or(isa(asked,knight),isa(other,knight))),
inference(resolution,[status(thm)],[c141,one_is_knight_answer]) ).
cnf(c149,plain,
$false,
inference(resolution,[status(thm)],[c146,c141]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.04/0.12 % Problem : PUZ035-4 : TPTP v8.1.2. Released v2.0.0.
% 0.13/0.13 % Command : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.13/0.34 % Computer : n005.cluster.edu
% 0.13/0.34 % Model : x86_64 x86_64
% 0.13/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34 % Memory : 8042.1875MB
% 0.13/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34 % CPULimit : 300
% 0.13/0.34 % WCLimit : 300
% 0.13/0.34 % DateTime : Wed May 8 20:40:53 EDT 2024
% 0.13/0.34 % CPUTime :
% 0.42/0.58 % Version: 1.5
% 0.42/0.58 % SZS status Unsatisfiable
% 0.42/0.58 % SZS output start CNFRefutation
% See solution above
% 0.42/0.58
% 0.42/0.58 % Initial clauses : 14
% 0.42/0.58 % Processed clauses : 51
% 0.42/0.58 % Factors computed : 0
% 0.42/0.58 % Resolvents computed: 151
% 0.42/0.58 % Tautologies deleted: 2
% 0.42/0.58 % Forward subsumed : 14
% 0.42/0.58 % Backward subsumed : 31
% 0.42/0.58 % -------- CPU Time ---------
% 0.42/0.58 % User time : 0.217 s
% 0.42/0.58 % System time : 0.020 s
% 0.42/0.58 % Total time : 0.237 s
%------------------------------------------------------------------------------