↑ Up

hopCoP---0.1.UNS-CRf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : hopCoP---0.1
% Problem  : PUZ035-6 : 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 : n025.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 0.07s 0.28s
% Output   : CNFRefutation 0.07s
% Verified : 
% SZS Type : ERROR: Analysing output (Could not find formula named query)

% Comments : 
%------------------------------------------------------------------------------
cnf(10,plain,
    ( ~ truth(isa(other,X0))
    | ~ truth(isa(asked,X1)) ),
    inference(cnf,[status(esa)],[query]) ).

cnf(l0,plain,
    ( ~ truth(isa(other,knave))
    | ~ truth(isa(asked,knave)) ),
    inference(instantiation,[status(thm)],[10]) ).

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

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

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

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

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

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(8,plain,
    ( ~ truth(X0)
    | ~ truth(not(X0)) ),
    inference(cnf,[status(esa)],[not2]) ).

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

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

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

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

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

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

cnf(l26,plain,
    ( ~ truth(isa(asked,knight))
    | ~ says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | truth(not(or(isa(asked,knight),isa(other,knight)))) ),
    inference(instantiation,[status(thm)],[2]) ).

cnf(9,plain,
    says(asked,not(or(isa(asked,knight),isa(other,knight)))),
    inference(cnf,[status(esa)],[says_yes]) ).

cnf(l27,plain,
    says(asked,not(or(isa(asked,knight),isa(other,knight)))),
    inference(instantiation,[status(thm)],[9]) ).

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

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

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

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

cnf(final,plain,
    $false,
    inference(ground_refutation,[status(thm)],[l0,l2,l6,l11,l1,l25,l3,l28,l12,l29,l26,l27,l8,l9,l30]) ).

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