↑ Up

hopCoP---0.1.UNS-CRf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : hopCoP---0.1
% Problem  : PUZ035-7 : 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 : 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:31 PM UTC 2025

% Result   : Unsatisfiable 17.25s 2.50s
% Output   : CNFRefutation 17.25s
% Verified : 
% SZS Type : ERROR: Analysing output (Could not find formula named prove_answer)

% Comments : 
%------------------------------------------------------------------------------
cnf(13,plain,
    ( ~ truth(isa(asked,X0))
    | ~ truth(isa(other,X1))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),X2) ),
    inference(cnf,[status(esa)],[prove_answer]) ).

cnf(l0,plain,
    ( ~ truth(isa(asked,knight))
    | ~ truth(isa(other,knight))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[13]) ).

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

cnf(l1,plain,
    ( truth(isa(other,knight))
    | truth(isa(other,knave)) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(5,plain,
    ( truth(X0)
    | truth(isa(X1,knight))
    | reply(X1,X0,yes) ),
    inference(cnf,[status(esa)],[knights_make_true_statements4]) ).

cnf(l2,plain,
    ( truth(or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight))
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[5]) ).

cnf(l7,plain,
    ( ~ truth(isa(asked,knave))
    | ~ truth(isa(other,knight))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[13]) ).

cnf(3,plain,
    ( ~ truth(X0)
    | ~ reply(X1,X0,yes)
    | truth(isa(X1,knight)) ),
    inference(cnf,[status(esa)],[knights_make_true_statements2]) ).

cnf(l17,plain,
    ( ~ truth(or(isa(asked,knight),isa(other,knight)))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),yes)
    | truth(isa(asked,knight)) ),
    inference(instantiation,[status(thm)],[3]) ).

cnf(6,plain,
    ( reply(X0,X1,no)
    | reply(X0,X1,yes) ),
    inference(cnf,[status(esa)],[yes_or_no]) ).

cnf(l31,plain,
    ( reply(asked,or(isa(asked,knight),isa(other,knight)),no)
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[6]) ).

cnf(l28,plain,
    ( truth(isa(other,knave))
    | truth(isa(other,knight))
    | reply(other,isa(other,knave),yes) ),
    inference(instantiation,[status(thm)],[5]) ).

cnf(l57,plain,
    ( ~ truth(isa(other,knave))
    | ~ reply(other,isa(other,knave),yes)
    | truth(isa(other,knight)) ),
    inference(instantiation,[status(thm)],[3]) ).

cnf(l53,plain,
    ( ~ truth(isa(asked,knave))
    | ~ truth(isa(other,knave))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[13]) ).

cnf(l287,plain,
    ( truth(isa(other,knight))
    | truth(isa(other,knave)) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l83,plain,
    ( ~ truth(isa(asked,knave))
    | ~ truth(isa(other,knight))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),no) ),
    inference(instantiation,[status(thm)],[13]) ).

cnf(4,plain,
    ( ~ truth(X0)
    | ~ truth(isa(X1,knight))
    | reply(X1,X0,yes) ),
    inference(cnf,[status(esa)],[knights_make_true_statements3]) ).

cnf(l3,plain,
    ( ~ truth(or(isa(asked,knight),isa(other,knight)))
    | ~ truth(isa(asked,knight))
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[4]) ).

cnf(2,plain,
    ( ~ truth(isa(X0,knight))
    | ~ reply(X0,X1,yes)
    | truth(X1) ),
    inference(cnf,[status(esa)],[knights_make_true_statements1]) ).

cnf(l4,plain,
    ( ~ truth(isa(other,knight))
    | ~ reply(other,isa(asked,knight),yes)
    | truth(isa(asked,knight)) ),
    inference(instantiation,[status(thm)],[2]) ).

cnf(l289,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knave)) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l85,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knave)) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l5,plain,
    ( ~ truth(or(isa(asked,knight),isa(other,knight)))
    | ~ reply(other,or(isa(asked,knight),isa(other,knight)),yes)
    | truth(isa(other,knight)) ),
    inference(instantiation,[status(thm)],[3]) ).

cnf(10,plain,
    ( ~ truth(or(X0,X1))
    | truth(X0)
    | truth(X1) ),
    inference(cnf,[status(esa)],[or1]) ).

cnf(l265,plain,
    ( ~ truth(or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight))
    | truth(isa(other,knight)) ),
    inference(instantiation,[status(thm)],[10]) ).

cnf(l10,plain,
    ( truth(isa(asked,knight))
    | truth(isa(other,knight))
    | reply(other,isa(asked,knight),yes) ),
    inference(instantiation,[status(thm)],[5]) ).

cnf(l86,plain,
    ( ~ truth(isa(asked,knave))
    | ~ truth(isa(other,knave))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[13]) ).

cnf(l122,plain,
    ( truth(or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight))
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[5]) ).

cnf(11,plain,
    ( ~ truth(X0)
    | truth(or(X0,X1)) ),
    inference(cnf,[status(esa)],[or2]) ).

cnf(l91,plain,
    ( ~ truth(isa(asked,knight))
    | truth(or(isa(asked,knight),isa(other,knight))) ),
    inference(instantiation,[status(thm)],[11]) ).

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

cnf(l87,plain,
    ( ~ truth(or(isa(asked,knave),isa(asked,knight)))
    | truth(isa(asked,knave))
    | truth(isa(asked,knight)) ),
    inference(instantiation,[status(thm)],[10]) ).

cnf(l102,plain,
    ( truth(or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight))
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[5]) ).

cnf(12,plain,
    ( ~ truth(X0)
    | truth(or(X1,X0)) ),
    inference(cnf,[status(esa)],[or3]) ).

cnf(l174,plain,
    ( ~ truth(isa(asked,knight))
    | truth(or(isa(asked,knave),isa(asked,knight))) ),
    inference(instantiation,[status(thm)],[12]) ).

cnf(l51,plain,
    ( truth(or(isa(asked,knight),isa(other,knight)))
    | truth(isa(other,knight))
    | reply(other,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[5]) ).

cnf(l171,plain,
    ( ~ truth(isa(asked,knight))
    | ~ truth(isa(other,knave))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),no) ),
    inference(instantiation,[status(thm)],[13]) ).

cnf(l172,plain,
    ( reply(asked,or(isa(asked,knight),isa(other,knight)),no)
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[6]) ).

cnf(l54,plain,
    ( ~ truth(or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight))
    | truth(isa(other,knight)) ),
    inference(instantiation,[status(thm)],[10]) ).

cnf(l9,plain,
    ( truth(or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight))
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[5]) ).

cnf(l19,plain,
    ( ~ truth(isa(asked,knave))
    | ~ truth(isa(other,knight))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),no) ),
    inference(instantiation,[status(thm)],[13]) ).

cnf(l138,plain,
    ( ~ truth(or(isa(asked,knight),isa(other,knight)))
    | ~ truth(isa(asked,knight))
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[4]) ).

cnf(l81,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knave)) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l23,plain,
    ( reply(asked,or(isa(asked,knight),isa(other,knight)),no)
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[6]) ).

cnf(l176,plain,
    ( ~ truth(or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight))
    | truth(isa(other,knight)) ),
    inference(instantiation,[status(thm)],[10]) ).

cnf(l190,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knave)) ),
    inference(instantiation,[status(thm)],[0]) ).

cnf(l254,plain,
    ( ~ truth(or(isa(asked,knight),isa(other,knight)))
    | ~ truth(isa(asked,knight))
    | reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[4]) ).

cnf(l257,plain,
    ( ~ truth(isa(asked,knight))
    | truth(or(isa(asked,knight),isa(other,knight))) ),
    inference(instantiation,[status(thm)],[11]) ).

cnf(l264,plain,
    ( ~ truth(isa(asked,knight))
    | ~ truth(isa(other,knave))
    | ~ reply(asked,or(isa(asked,knight),isa(other,knight)),yes) ),
    inference(instantiation,[status(thm)],[13]) ).

cnf(final,plain,
    $false,
    inference(ground_refutation,[status(thm)],[l0,l1,l2,l7,l17,l31,l28,l57,l53,l287,l83,l3,l4,l289,l85,l5,l265,l10,l86,l122,l91,l8,l87,l102,l174,l51,l171,l172,l54,l9,l19,l138,l81,l23,l176,l190,l254,l257,l264]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.12  % Problem  : PUZ035-7 : TPTP v9.0.0. Released v2.0.0.
% 0.10/0.13  % Command  : /export/starexec/sandbox/solver/bin/execute.py 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.12/0.35  % Computer : n019.cluster.edu
% 0.12/0.35  % Model    : x86_64 x86_64
% 0.12/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.35  % Memory   : 8042.1875MB
% 0.12/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.35  % CPULimit : 300
% 0.12/0.35  % WCLimit  : 300
% 0.12/0.35  % DateTime : Mon Jul 21 15:54:34 EDT 2025
% 0.12/0.35  % CPUTime  : 
% 0.12/0.35  % launching worker at depth: 4
% 0.12/0.35  % launching worker at depth: 1
% 0.12/0.35  % launching worker at depth: 2
% 0.12/0.35  % launching worker at depth: 3
% 0.12/0.35  % launching worker at depth: 5
% 0.12/0.35  % launching worker at depth: 6
% 0.12/0.35  % launching worker at depth: 7
% 0.12/0.35  % launching worker at depth: 8
% 0.12/0.35  % launching worker at depth: 9
% 0.12/0.36  % launching worker at depth: 10
% 0.12/0.40  % launching worker at depth: 11
% 17.25/2.50  % SZS status Theorem for theBenchmark
% 17.25/2.50  % SZS output start CNFRefutation
% See solution above
%------------------------------------------------------------------------------