%------------------------------------------------------------------------------
% File : LisaST---0.9
% Problem : PUZ035-7 : 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 : n019.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 8.98s 1.61s
% Output : CNFRefutation 8.98s
% Verified :
% SZS Type : Refutation
% Derivation depth : 15
% Number of leaves : 7
% Syntax : Number of clauses : 35 ( 2 unt; 18 nHn; 27 RR)
% Number of literals : 91 ( 0 equ; 37 neg)
% Maximal clause size : 4 ( 2 avg)
% Maximal term depth : 3 ( 1 avg)
% Number of predicates : 3 ( 2 usr; 1 prp; 0-3 aty)
% Number of functors : 8 ( 8 usr; 6 con; 0-2 aty)
% Number of variables : 49 ( 28 sgn)
% Comments :
%------------------------------------------------------------------------------
cnf(everyone_a_knight_or_knave,axiom,
( truth(isa(X0,knave))
| truth(isa(X0,knight)) ) ).
cnf(knights_make_true_statements3,axiom,
( reply(X1,X0,yes)
| ~ truth(isa(X1,knight))
| ~ truth(X0) ) ).
cnf(knights_make_true_statements4,axiom,
( reply(X1,X0,yes)
| truth(isa(X1,knight))
| truth(X0) ) ).
cnf(yes_or_no,axiom,
( reply(X0,X1,no)
| reply(X0,X1,yes) ) ).
cnf(or1,axiom,
( ~ truth(or(X0,X1))
| truth(X1)
| truth(X0) ) ).
cnf(or2,axiom,
( ~ truth(X0)
| truth(or(X0,X1)) ) ).
cnf(prove_answer,negated_conjecture,
( ~ truth(isa(other,X2))
| ~ truth(isa(asked,X1))
| ~ reply(asked,or(isa(asked,knight),isa(other,knight)),X0) ) ).
cnf(c0,plain,
( truth(isa(X0,knave))
| truth(isa(X0,knight)) ),
inference(clausification,[status(esa)],[everyone_a_knight_or_knave]) ).
cnf(c4,plain,
( reply(X1,X0,yes)
| ~ truth(isa(X1,knight))
| ~ truth(X0) ),
inference(clausification,[status(esa)],[knights_make_true_statements3]) ).
cnf(c5,plain,
( reply(X1,X0,yes)
| truth(isa(X1,knight))
| truth(X0) ),
inference(clausification,[status(esa)],[knights_make_true_statements4]) ).
cnf(c6,plain,
( reply(X0,X1,no)
| reply(X0,X1,yes) ),
inference(clausification,[status(esa)],[yes_or_no]) ).
cnf(c10,plain,
( ~ truth(or(X0,X1))
| truth(X1)
| truth(X0) ),
inference(clausification,[status(esa)],[or1]) ).
cnf(c11,plain,
( ~ truth(X0)
| truth(or(X0,X1)) ),
inference(clausification,[status(esa)],[or2]) ).
cnf(c13,plain,
( ~ truth(isa(other,X2))
| ~ truth(isa(asked,X1))
| ~ reply(asked,or(isa(asked,knight),isa(other,knight)),X0) ),
inference(clausification,[status(esa)],[prove_answer]) ).
cnf(d0,plain,
( truth(isa(asked,knight))
| truth(or(isa(asked,knight),isa(other,knight)))
| ~ truth(isa(asked,X1))
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[c13,c5]) ).
cnf(d1,plain,
( truth(isa(asked,knight))
| truth(or(isa(asked,knight),isa(other,knight)))
| truth(isa(asked,knight))
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[d0,c0]) ).
cnf(d2,plain,
( truth(isa(other,knight))
| truth(or(isa(asked,knight),isa(other,knight)))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d1,c0]) ).
cnf(d3,plain,
( truth(isa(asked,knight))
| truth(isa(other,knight))
| truth(isa(asked,knight))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[d2,c10]) ).
cnf(d4,plain,
( reply(asked,or(isa(asked,knight),isa(other,knight)),yes)
| ~ truth(isa(asked,X1))
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[c13,c6]) ).
cnf(d5,plain,
( truth(isa(asked,knight))
| reply(asked,or(isa(asked,knight),isa(other,knight)),yes)
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[d4,c0]) ).
cnf(d6,plain,
( reply(asked,or(isa(asked,knight),isa(other,knight)),yes)
| truth(isa(asked,knight))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d3,d5]) ).
cnf(d7,plain,
( ~ truth(isa(asked,X1))
| ~ truth(isa(other,X0))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d6,c13]) ).
cnf(d8,plain,
( truth(isa(asked,knight))
| truth(isa(asked,knight))
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[d7,c0]) ).
cnf(d9,plain,
( truth(isa(asked,knight))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[d8,d3]) ).
cnf(d10,plain,
( reply(asked,or(isa(asked,knight),isa(other,knight)),yes)
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[d9,d4]) ).
cnf(d11,plain,
( truth(isa(other,knight))
| reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
inference(resolution,[status(thm)],[d10,c0]) ).
cnf(d12,plain,
( ~ truth(isa(asked,X1))
| ~ truth(isa(other,X0))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[d11,c13]) ).
cnf(d13,plain,
( truth(isa(other,knight))
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[d12,d9]) ).
cnf(d14,plain,
( truth(isa(other,knight))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[d13,c0]) ).
cnf(d15,plain,
( reply(asked,X0,yes)
| ~ truth(X0) ),
inference(resolution,[status(thm)],[d9,c4]) ).
cnf(d16,plain,
( ~ truth(isa(asked,X1))
| ~ truth(isa(other,X0))
| ~ truth(or(isa(asked,knight),isa(other,knight))) ),
inference(resolution,[status(thm)],[d15,c13]) ).
cnf(d17,plain,
( ~ truth(isa(asked,knight))
| ~ truth(isa(asked,X1))
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[d16,c11]) ).
cnf(d18,plain,
( ~ truth(isa(asked,X1))
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[d9,d17]) ).
cnf(d19,plain,
~ truth(isa(other,X0)),
inference(resolution,[status(thm)],[d18,d9]) ).
cnf(d20,plain,
$false,
inference(resolution,[status(thm)],[d19,d14]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : PUZ035-7 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.04 % Command : casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.08/0.35 % Computer : n019.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:04 UTC 2026
% 0.08/0.35 % CPUTime :
% 0.08/0.35 Running casc-portfolio.sh -t 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 8.98/1.61 % SZS status Unsatisfiable for theBenchmark.p
% 8.98/1.61 % SZS output start CNFRefutation for theBenchmark.p
% See solution above
%------------------------------------------------------------------------------