%------------------------------------------------------------------------------
% File : FindProof---0.1
% Problem : PUZ035-3 : TPTP v9.3.1. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : run_findproof /export/starexec/sandbox/benchmark/theBenchmark.p 300
% Computer : n009.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 : Fri Sep 25 02:31:56 PM UTC 2026
% Result : Unsatisfiable 2.40s 0.80s
% Output : Proof 2.40s
% Verified :
% SZS Type : Refutation
% Derivation depth : 23
% Number of leaves : 5
% Syntax : Number of formulae : 39 ( 11 unt; 0 def)
% Number of atoms : 82 ( 0 equ)
% Maximal formula atoms : 4 ( 2 avg)
% Number of connectives : 68 ( 25 ~; 43 |; 0 &)
% ( 0 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 7 ( 3 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 : 25 ( 15 sgn 8 !; 0 ?)
% Comments :
%------------------------------------------------------------------------------
cnf(f6,axiom,
( says(asked,not(or(isa(asked,knight),isa(other,knight))))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',one_is_knight_answer) ).
fof(f6_nnf,plain,
( says(asked,not(or(isa(asked,knight),isa(other,knight))))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(nnf_transformation,[status(thm)],[f6]) ).
fof(f6_sk,plain,
( says(asked,not(or(isa(asked,knight),isa(other,knight))))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(skolemisation,[status(esa)],[f6_nnf]) ).
cnf(c6,plain,
( says(asked,not(or(isa(asked,knight),isa(other,knight))))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(cnf_transformation,[status(esa)],[f6_sk]) ).
cnf(f0,axiom,
( truth(isa(P,knave))
| truth(isa(P,knight))
| ~ person(P) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).
fof(f0_nnf,plain,
! [P] :
( truth(isa(P,knave))
| truth(isa(P,knight))
| ~ person(P) ),
inference(nnf_transformation,[status(thm)],[f0]) ).
fof(f0_sk,plain,
! [P] :
( truth(isa(P,knave))
| truth(isa(P,knight))
| ~ person(P) ),
inference(skolemisation,[status(esa)],[f0_nnf]) ).
cnf(c0,plain,
( truth(isa(X0,knave))
| truth(isa(X0,knight))
| ~ person(X0) ),
inference(cnf_transformation,[status(esa)],[f0_sk]) ).
cnf(f14,axiom,
person(other),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',other_person) ).
fof(f14_nnf,plain,
person(other),
inference(nnf_transformation,[status(thm)],[f14]) ).
cnf(c14,plain,
person(other),
inference(cnf_transformation,[status(esa)],[f14_nnf]) ).
cnf(p17,plain,
( truth(isa(other,knave))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[c0,c14]) ).
cnf(f13,axiom,
person(asked),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',asked_person) ).
fof(f13_nnf,plain,
person(asked),
inference(nnf_transformation,[status(thm)],[f13]) ).
cnf(c13,plain,
person(asked),
inference(cnf_transformation,[status(esa)],[f13_nnf]) ).
cnf(p16,plain,
( truth(isa(asked,knave))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[c0,c13]) ).
cnf(f15,negated_conjecture,
( ~ says(asked,S)
| ~ truth(isa(other,P2))
| ~ truth(isa(asked,P1)) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_answer) ).
fof(f15_nnf,plain,
! [P1,P2,S] :
( ~ says(asked,S)
| ~ truth(isa(other,P2))
| ~ truth(isa(asked,P1)) ),
inference(nnf_transformation,[status(thm)],[f15]) ).
fof(f15_sk,plain,
! [P1,P2,S] :
( ~ says(asked,S)
| ~ truth(isa(other,P2))
| ~ truth(isa(asked,P1)) ),
inference(skolemisation,[status(esa)],[f15_nnf]) ).
cnf(c15,plain,
( ~ says(asked,X2)
| ~ truth(isa(other,X1))
| ~ truth(isa(asked,X0)) ),
inference(cnf_transformation,[status(esa)],[f15_sk]) ).
cnf(p18,plain,
( ~ says(asked,X1)
| ~ truth(isa(other,X0))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[p16,c15]) ).
cnf(p25,plain,
( ~ says(asked,X0)
| truth(isa(asked,knight))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[p17,p18]) ).
cnf(p29,plain,
( truth(isa(asked,knight))
| truth(isa(other,knight))
| says(asked,or(isa(asked,knight),isa(other,knight))) ),
inference(resolution,[status(thm)],[c6,p25]) ).
cnf(p35,plain,
( truth(isa(asked,knight))
| truth(isa(other,knight))
| truth(isa(asked,knight))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[p29,p25]) ).
cnf(p37,plain,
( truth(isa(asked,knight))
| truth(isa(asked,knight))
| truth(isa(other,knight)) ),
inference(factoring,[status(thm)],[p35]) ).
cnf(p39,plain,
( truth(isa(asked,knight))
| truth(isa(other,knight)) ),
inference(factoring,[status(thm)],[p37]) ).
cnf(p44,plain,
( ~ says(asked,X0)
| truth(isa(asked,knight))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[p39,p18]) ).
cnf(p45,plain,
( ~ says(asked,X0)
| truth(isa(asked,knight)) ),
inference(factoring,[status(thm)],[p44]) ).
cnf(p46,plain,
( says(asked,or(isa(asked,knight),isa(other,knight)))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[p45,c6]) ).
cnf(p50,plain,
( truth(isa(asked,knight))
| truth(isa(asked,knight)) ),
inference(resolution,[status(thm)],[p46,p45]) ).
cnf(p51,plain,
truth(isa(asked,knight)),
inference(factoring,[status(thm)],[p50]) ).
cnf(p52,plain,
( ~ says(asked,X1)
| ~ truth(isa(other,X0)) ),
inference(resolution,[status(thm)],[p51,c15]) ).
cnf(p58,plain,
( truth(isa(other,knight))
| ~ says(asked,X0) ),
inference(resolution,[status(thm)],[p52,p17]) ).
cnf(p59,plain,
( says(asked,or(isa(asked,knight),isa(other,knight)))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[p58,c6]) ).
cnf(p62,plain,
( truth(isa(other,knight))
| truth(isa(other,knight)) ),
inference(resolution,[status(thm)],[p59,p58]) ).
cnf(p66,plain,
truth(isa(other,knight)),
inference(factoring,[status(thm)],[p62]) ).
cnf(p71,plain,
~ says(asked,X0),
inference(resolution,[status(thm)],[p66,p52]) ).
cnf(p72,plain,
says(asked,or(isa(asked,knight),isa(other,knight))),
inference(resolution,[status(thm)],[p71,c6]) ).
cnf(p75,plain,
$false,
inference(resolution,[status(thm)],[p72,p71]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : PUZ035-3 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.04 % Command : run_findproof /export/starexec/sandbox/benchmark/theBenchmark.p 300
% 0.08/0.37 % Computer : n009.cluster.edu
% 0.08/0.37 % Model : x86_64 x86_64
% 0.08/0.37 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.08/0.37 % Memory : 8046.5625MB
% 0.08/0.37 % OS : Linux 6.8.0-71-generic
% 0.08/0.37 % CPULimit : 300
% 0.08/0.37 % WCLimit : 300
% 0.08/0.37 % DateTime : Thu Sep 24 06:44:28 UTC 2026
% 0.08/0.37 % CPUTime :
% 0.08/0.37 Running run_findproof /export/starexec/sandbox/benchmark/theBenchmark.p 300
% 2.40/0.80 % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p
% 2.40/0.80 % SZS output start Proof for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
%------------------------------------------------------------------------------