%------------------------------------------------------------------------------
% File : hopCoP---0.1
% Problem : PUZ035-5 : TPTP v9.0.0. Released v2.0.0.
% Transfm : none
% Format : tptp:raw
% Command : /export/starexec/sandbox2/solver/bin/execute.py 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 : 8042.1875MB
% OS : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Fri Jul 25 01:24:30 PM UTC 2025
% Result : Unsatisfiable 0.14s 0.37s
% Output : CNFRefutation 0.14s
% Verified :
% SZS Type : ERROR: Analysing output (Could not find formula named query)
% Comments :
%------------------------------------------------------------------------------
cnf(8,plain,
( ~ truth(isa(other,X0))
| ~ truth(isa(asked,X1)) ),
inference(cnf,[status(esa)],[query]) ).
cnf(l0,plain,
( ~ truth(isa(other,knave))
| ~ truth(isa(asked,knight)) ),
inference(instantiation,[status(thm)],[8]) ).
cnf(4,plain,
( ~ truth(or(X0,X1))
| truth(X0)
| truth(X1) ),
inference(cnf,[status(esa)],[or1]) ).
cnf(l1,plain,
( ~ truth(or(or(isa(asked,knight),isa(other,knight)),isa(other,knave)))
| truth(or(isa(asked,knight),isa(other,knight)))
| truth(isa(other,knave)) ),
inference(instantiation,[status(thm)],[4]) ).
cnf(0,plain,
( truth(isa(X0,knight))
| truth(isa(X0,knave)) ),
inference(cnf,[status(esa)],[everyone_a_knight_or_knave]) ).
cnf(l2,plain,
( truth(isa(asked,knight))
| truth(isa(asked,knave)) ),
inference(instantiation,[status(thm)],[0]) ).
cnf(l4,plain,
( ~ truth(or(isa(other,knight),or(or(isa(asked,knight),isa(other,knight)),isa(other,knave))))
| truth(isa(other,knight))
| truth(or(or(isa(asked,knight),isa(other,knight)),isa(other,knave))) ),
inference(instantiation,[status(thm)],[4]) ).
cnf(l3,plain,
( ~ truth(isa(other,knave))
| ~ truth(isa(asked,knave)) ),
inference(instantiation,[status(thm)],[8]) ).
cnf(5,plain,
( ~ truth(X0)
| truth(or(X0,X1)) ),
inference(cnf,[status(esa)],[or2]) ).
cnf(l6,plain,
( ~ truth(isa(other,knight))
| truth(or(isa(other,knight),or(or(isa(asked,knight),isa(other,knight)),isa(other,knave)))) ),
inference(instantiation,[status(thm)],[5]) ).
cnf(3,plain,
( ~ truth(X0)
| ~ says(X1,X0)
| truth(isa(X1,knight)) ),
inference(cnf,[status(esa)],[knights_make_true_statements2]) ).
cnf(l20,plain,
( ~ truth(or(isa(asked,knight),isa(other,knight)))
| ~ says(asked,or(isa(asked,knight),isa(other,knight)))
| truth(isa(asked,knight)) ),
inference(instantiation,[status(thm)],[3]) ).
cnf(l8,plain,
( truth(isa(other,knight))
| truth(isa(other,knave)) ),
inference(instantiation,[status(thm)],[0]) ).
cnf(l5,plain,
( truth(isa(other,knight))
| truth(isa(other,knave)) ),
inference(instantiation,[status(thm)],[0]) ).
cnf(l15,plain,
( ~ truth(isa(other,knight))
| ~ truth(isa(asked,knave)) ),
inference(instantiation,[status(thm)],[8]) ).
cnf(7,plain,
says(asked,or(isa(asked,knight),isa(other,knight))),
inference(cnf,[status(esa)],[says_yes]) ).
cnf(l21,plain,
says(asked,or(isa(asked,knight),isa(other,knight))),
inference(instantiation,[status(thm)],[7]) ).
cnf(l22,plain,
( ~ truth(isa(other,knight))
| ~ truth(isa(asked,knight)) ),
inference(instantiation,[status(thm)],[8]) ).
cnf(6,plain,
( ~ truth(X0)
| truth(or(X1,X0)) ),
inference(cnf,[status(esa)],[or3]) ).
cnf(l17,plain,
( ~ truth(isa(other,knight))
| truth(or(isa(asked,knight),isa(other,knight))) ),
inference(instantiation,[status(thm)],[6]) ).
cnf(l19,plain,
( ~ truth(or(isa(asked,knight),isa(other,knight)))
| truth(or(or(isa(asked,knight),isa(other,knight)),isa(other,knave))) ),
inference(instantiation,[status(thm)],[5]) ).
cnf(l24,plain,
( truth(isa(other,knight))
| truth(isa(other,knave)) ),
inference(instantiation,[status(thm)],[0]) ).
cnf(final,plain,
$false,
inference(ground_refutation,[status(thm)],[l0,l1,l2,l4,l3,l6,l20,l8,l5,l15,l21,l22,l17,l19,l24]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12 % Problem : PUZ035-5 : TPTP v9.0.0. Released v2.0.0.
% 0.07/0.13 % Command : /export/starexec/sandbox2/solver/bin/execute.py 300 /export/starexec/sandbox2/benchmark/theBenchmark.p
% 0.14/0.34 % Computer : n019.cluster.edu
% 0.14/0.34 % Model : x86_64 x86_64
% 0.14/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.34 % Memory : 8042.1875MB
% 0.14/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.14/0.34 % CPULimit : 300
% 0.14/0.34 % WCLimit : 300
% 0.14/0.34 % DateTime : Mon Jul 21 15:54:04 EDT 2025
% 0.14/0.34 % CPUTime :
% 0.14/0.34 % launching worker at depth: 4
% 0.14/0.34 % launching worker at depth: 2
% 0.14/0.34 % launching worker at depth: 1
% 0.14/0.34 % launching worker at depth: 3
% 0.14/0.34 % launching worker at depth: 5
% 0.14/0.34 % launching worker at depth: 6
% 0.14/0.34 % launching worker at depth: 7
% 0.14/0.34 % launching worker at depth: 8
% 0.14/0.34 % launching worker at depth: 9
% 0.14/0.36 % launching worker at depth: 10
% 0.14/0.37 % SZS status Theorem for theBenchmark
% 0.14/0.37 % SZS output start CNFRefutation
% See solution above
%------------------------------------------------------------------------------