↑ Up

hopCoP---0.1.UNS-CRf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : hopCoP---0.1
% Problem  : PUZ035-1 : TPTP v9.0.0. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : /export/starexec/sandbox/solver/bin/execute.py 300 /export/starexec/sandbox/benchmark/theBenchmark.p

% Computer : n022.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.13s 0.36s
% Output   : CNFRefutation 0.13s
% Verified : 
% SZS Type : ERROR: Analysing output (Could not find formula named prove_answer)

% Comments : 
%------------------------------------------------------------------------------
cnf(14,plain,
    ( ~ isa(other,X0)
    | ~ isa(asked,X1)
    | ~ response(X2) ),
    inference(cnf,[status(esa)],[prove_answer]) ).

cnf(l0,plain,
    ( ~ isa(other,knight)
    | ~ isa(asked,knight)
    | ~ response(yes) ),
    inference(instantiation,[status(thm)],[14]) ).

cnf(6,plain,
    ( ~ lies(asked)
    | ~ response(no)
    | isa(other,knight)
    | isa(asked,knight) ),
    inference(cnf,[status(esa)],[lie_one_is_a_knight]) ).

cnf(l1,plain,
    ( ~ lies(asked)
    | ~ response(no)
    | isa(other,knight)
    | isa(asked,knight) ),
    inference(instantiation,[status(thm)],[6]) ).

cnf(0,plain,
    ( ~ person(X0)
    | isa(X0,knight)
    | isa(X0,knave) ),
    inference(cnf,[status(esa)],[everyone_a_knight_or_knave]) ).

cnf(l2,plain,
    ( ~ person(other)
    | isa(other,knight)
    | isa(other,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(11,plain,
    ( response(yes)
    | response(no) ),
    inference(cnf,[status(esa)],[two_answers]) ).

cnf(l3,plain,
    ( response(yes)
    | response(no) ),
    inference(instantiation,[status(thm)],[11]) ).

cnf(7,plain,
    ( ~ isa(X0,knight)
    | ~ lies(asked)
    | ~ response(yes) ),
    inference(cnf,[status(esa)],[knight_answers1]) ).

cnf(l4,plain,
    ( ~ isa(other,knight)
    | ~ lies(asked)
    | ~ response(yes) ),
    inference(instantiation,[status(thm)],[7]) ).

cnf(l5,plain,
    ( ~ isa(other,knave)
    | ~ isa(asked,knave)
    | ~ response(no) ),
    inference(instantiation,[status(thm)],[14]) ).

cnf(l6,plain,
    ( response(yes)
    | response(no) ),
    inference(instantiation,[status(thm)],[11]) ).

cnf(3,plain,
    ( ~ isa(X0,knave)
    | lies(X0) ),
    inference(cnf,[status(esa)],[knaves_make_false_statements]) ).

cnf(l7,plain,
    ( ~ isa(asked,knave)
    | lies(asked) ),
    inference(instantiation,[status(thm)],[3]) ).

cnf(l8,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l20,plain,
    ( ~ person(other)
    | isa(other,knight)
    | isa(other,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l14,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(9,plain,
    ( ~ isa(X0,knight)
    | ~ tell_the_truth(asked)
    | response(yes) ),
    inference(cnf,[status(esa)],[knight_answers3]) ).

cnf(l26,plain,
    ( ~ isa(asked,knight)
    | ~ tell_the_truth(asked)
    | response(yes) ),
    inference(instantiation,[status(thm)],[9]) ).

cnf(l10,plain,
    ( ~ isa(other,knight)
    | ~ isa(asked,knave)
    | ~ response(no) ),
    inference(instantiation,[status(thm)],[14]) ).

cnf(12,plain,
    person(asked),
    inference(cnf,[status(esa)],[asked_person]) ).

cnf(l32,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l9,plain,
    ( response(yes)
    | response(no) ),
    inference(instantiation,[status(thm)],[11]) ).

cnf(13,plain,
    person(other),
    inference(cnf,[status(esa)],[other_person]) ).

cnf(l24,plain,
    person(other),
    inference(instantiation,[status(thm)],[13]) ).

cnf(2,plain,
    ( ~ isa(X0,knight)
    | tell_the_truth(X0) ),
    inference(cnf,[status(esa)],[knights_make_true_statements]) ).

cnf(l35,plain,
    ( ~ isa(asked,knight)
    | tell_the_truth(asked) ),
    inference(instantiation,[status(thm)],[2]) ).

cnf(l36,plain,
    ( ~ isa(other,knight)
    | ~ isa(asked,knave)
    | ~ response(no) ),
    inference(instantiation,[status(thm)],[14]) ).

cnf(l31,plain,
    person(other),
    inference(instantiation,[status(thm)],[13]) ).

cnf(l12,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l38,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l40,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l13,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l16,plain,
    ( ~ isa(asked,knave)
    | lies(asked) ),
    inference(instantiation,[status(thm)],[3]) ).

cnf(l29,plain,
    ( ~ isa(other,knight)
    | ~ isa(asked,knave)
    | ~ response(yes) ),
    inference(instantiation,[status(thm)],[14]) ).

cnf(l18,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l22,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l17,plain,
    ( ~ isa(other,knave)
    | ~ isa(asked,knight)
    | ~ response(yes) ),
    inference(instantiation,[status(thm)],[14]) ).

cnf(l27,plain,
    ( ~ isa(asked,knight)
    | ~ tell_the_truth(asked)
    | response(yes) ),
    inference(instantiation,[status(thm)],[9]) ).

cnf(l41,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l33,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l42,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l19,plain,
    ( ~ lies(asked)
    | ~ response(no)
    | isa(other,knight)
    | isa(asked,knight) ),
    inference(instantiation,[status(thm)],[6]) ).

cnf(l43,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l44,plain,
    ( ~ isa(asked,knight)
    | tell_the_truth(asked) ),
    inference(instantiation,[status(thm)],[2]) ).

cnf(l45,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l46,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l48,plain,
    ( response(yes)
    | response(no) ),
    inference(instantiation,[status(thm)],[11]) ).

cnf(l21,plain,
    ( ~ isa(asked,knave)
    | lies(asked) ),
    inference(instantiation,[status(thm)],[3]) ).

cnf(l49,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l51,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l37,plain,
    ( ~ person(other)
    | isa(other,knight)
    | isa(other,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l53,plain,
    ( ~ isa(other,knave)
    | ~ isa(asked,knave)
    | ~ response(yes) ),
    inference(instantiation,[status(thm)],[14]) ).

cnf(l54,plain,
    person(other),
    inference(instantiation,[status(thm)],[13]) ).

cnf(l55,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l56,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l57,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l60,plain,
    ( ~ isa(asked,knight)
    | ~ tell_the_truth(asked)
    | response(yes) ),
    inference(instantiation,[status(thm)],[9]) ).

cnf(l50,plain,
    ( ~ isa(asked,knave)
    | lies(asked) ),
    inference(instantiation,[status(thm)],[3]) ).

cnf(l58,plain,
    ( ~ isa(other,knave)
    | ~ isa(asked,knave)
    | ~ response(yes) ),
    inference(instantiation,[status(thm)],[14]) ).

cnf(l61,plain,
    ( ~ isa(asked,knight)
    | tell_the_truth(asked) ),
    inference(instantiation,[status(thm)],[2]) ).

cnf(l47,plain,
    ( ~ isa(asked,knave)
    | lies(asked) ),
    inference(instantiation,[status(thm)],[3]) ).

cnf(l62,plain,
    ( ~ lies(asked)
    | ~ response(no)
    | isa(other,knight)
    | isa(asked,knight) ),
    inference(instantiation,[status(thm)],[6]) ).

cnf(l59,plain,
    ( ~ person(asked)
    | isa(asked,knight)
    | isa(asked,knave) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l64,plain,
    ( response(yes)
    | response(no) ),
    inference(instantiation,[status(thm)],[11]) ).

cnf(l65,plain,
    person(asked),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l66,plain,
    ( ~ lies(asked)
    | ~ response(no)
    | isa(other,knight)
    | isa(asked,knight) ),
    inference(instantiation,[status(thm)],[6]) ).

cnf(l67,plain,
    ( response(yes)
    | response(no) ),
    inference(instantiation,[status(thm)],[11]) ).

cnf(final,plain,
    $false,
    inference(ground_refutation,[status(thm)],[l0,l1,l2,l3,l4,l5,l6,l7,l8,l20,l14,l26,l10,l32,l9,l24,l35,l36,l31,l12,l38,l40,l13,l16,l29,l18,l22,l17,l27,l41,l33,l42,l19,l43,l44,l45,l46,l48,l21,l49,l51,l37,l53,l54,l55,l56,l57,l60,l50,l58,l61,l47,l62,l59,l64,l65,l66,l67]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.08/0.12  % Problem  : PUZ035-1 : TPTP v9.0.0. Released v2.0.0.
% 0.08/0.13  % Command  : /export/starexec/sandbox/solver/bin/execute.py 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.13/0.34  % Computer : n022.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 : Mon Jul 21 15:54:04 EDT 2025
% 0.13/0.35  % CPUTime  : 
% 0.13/0.35  % launching worker at depth: 3
% 0.13/0.35  % launching worker at depth: 1
% 0.13/0.35  % launching worker at depth: 2
% 0.13/0.35  % launching worker at depth: 4
% 0.13/0.35  % launching worker at depth: 5
% 0.13/0.35  % launching worker at depth: 6
% 0.13/0.35  % launching worker at depth: 7
% 0.13/0.35  % launching worker at depth: 8
% 0.13/0.35  % launching worker at depth: 9
% 0.13/0.35  % launching worker at depth: 10
% 0.13/0.36  % SZS status Theorem for theBenchmark
% 0.13/0.36  % SZS output start CNFRefutation
% See solution above
%------------------------------------------------------------------------------