%------------------------------------------------------------------------------
% File : LisaST---0.9
% Problem : PUZ035-4 : TPTP v9.3.1. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% Computer : n010.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:22:09 AM UTC 2026
% Result : Unsatisfiable 10.53s 2.97s
% Output : CNFRefutation 10.53s
% Verified :
% SZS Type : Refutation
% Derivation depth : 19
% Number of leaves : 5
% Syntax : Number of clauses : 28 ( 7 unt; 13 nHn; 28 RR)
% Number of literals : 65 ( 0 equ; 25 neg)
% Maximal clause size : 4 ( 2 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 : 22 ( 20 sgn)
% Comments :
%------------------------------------------------------------------------------
cnf(everyone_a_knight_or_knave,axiom,
( truth(isa(X0,knave))
| truth(isa(X0,knight))
| ~ person(X0) ) ).
cnf(one_is_knight_answer,axiom,
( says(asked,not(or(isa(asked,knight),isa(other,knight))))
| says(asked,or(isa(asked,knight),isa(other,knight))) ) ).
cnf(asked_person,axiom,
person(asked) ).
cnf(other_person,axiom,
person(other) ).
cnf(prove_answer,negated_conjecture,
( ~ says(asked,X2)
| ~ truth(isa(other,X1))
| ~ truth(isa(asked,X0)) ) ).
cnf(c0,plain,
( truth(isa(X0,knave))
| truth(isa(X0,knight))
| ~ person(X0) ),
inference(clausification,[status(esa)],[everyone_a_knight_or_knave]) ).
cnf(c4,plain,
( says(asked,not(or(isa(asked,knight),isa(other,knight))))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(clausification,[status(esa)],[one_is_knight_answer]) ).
cnf(c11,plain,
person(asked),
inference(clausification,[status(esa)],[asked_person]) ).
cnf(c12,plain,
person(other),
inference(clausification,[status(esa)],[other_person]) ).
cnf(c13,plain,
( ~ says(asked,X2)
| ~ truth(isa(other,X1))
| ~ truth(isa(asked,X0)) ),
inference(clausification,[status(esa)],[prove_answer]) ).
cnf(d0,plain,
( truth(isa(other,knight))
| ~ person(other)
| ~ says(asked,X1)
| ~ truth(isa(asked,X0)) ),
inference(resolution,[status(thm)],[c13,c0]) ).
cnf(d1,plain,
( ~ says(asked,X1)
| truth(isa(other,knight))
| ~ truth(isa(asked,X0)) ),
inference(resolution,[status(thm)],[c12,d0]) ).
cnf(d2,plain,
( truth(isa(asked,knight))
| ~ person(asked)
| ~ says(asked,X0)
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[d1,c0]) ).
cnf(d3,plain,
( ~ says(asked,X0)
| truth(isa(other,knight))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[c11,d2]) ).
cnf(d4,plain,
( says(asked,or(isa(asked,knight),isa(other,knight)))
| truth(isa(other,knight))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d3,c4]) ).
cnf(d5,plain,
( truth(isa(other,knight))
| truth(isa(asked,knight))
| truth(isa(other,knight))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d4,d3]) ).
cnf(d6,plain,
( ~ says(asked,X1)
| ~ truth(isa(asked,X0))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d5,c13]) ).
cnf(d7,plain,
( truth(isa(asked,knight))
| ~ person(asked)
| ~ says(asked,X0)
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d6,c0]) ).
cnf(d8,plain,
( ~ says(asked,X0)
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[c11,d7]) ).
cnf(d9,plain,
( says(asked,or(isa(asked,knight),isa(other,knight)))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d8,c4]) ).
cnf(d10,plain,
( truth(isa(asked,knight))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d9,d8]) ).
cnf(d11,plain,
( ~ says(asked,X0)
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[d10,d1]) ).
cnf(d12,plain,
( says(asked,or(isa(asked,knight),isa(other,knight)))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[d11,c4]) ).
cnf(d13,plain,
( truth(isa(other,knight))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[d12,d11]) ).
cnf(d14,plain,
( ~ says(asked,X1)
| ~ truth(isa(asked,X0)) ),
inference(resolution,[status(thm)],[d13,c13]) ).
cnf(d15,plain,
~ says(asked,X0),
inference(resolution,[status(thm)],[d14,d10]) ).
cnf(d16,plain,
says(asked,not(or(isa(asked,knight),isa(other,knight)))),
inference(resolution,[status(thm)],[d15,c4]) ).
cnf(d17,plain,
$false,
inference(resolution,[status(thm)],[d15,d16]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02 % Problem : PUZ035-4 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.03 % Command : casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.08/0.35 % Computer : n010.cluster.edu
% 0.08/0.35 % Model : x86_64 x86_64
% 0.08/0.35 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.08/0.35 % Memory : 8046.5625MB
% 0.08/0.35 % OS : Linux 6.8.0-71-generic
% 0.08/0.35 % CPULimit : 300
% 0.08/0.35 % WCLimit : 300
% 0.08/0.35 % DateTime : Sat Sep 26 05:07:15 UTC 2026
% 0.08/0.36 % CPUTime :
% 0.08/0.36 Running casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 10.53/2.97 % SZS status Unsatisfiable for theBenchmark.p
% 10.53/2.97 % SZS output start CNFRefutation for theBenchmark.p
% See solution above
%------------------------------------------------------------------------------