↑ Up

hopCoP---0.1.UNS-CRf.s

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

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

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

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

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

cnf(6,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(cnf,[status(esa)],[one_is_knight_answer]) ).

cnf(l3,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(instantiation,[status(thm)],[6]) ).

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

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

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

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

cnf(l81,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(instantiation,[status(thm)],[6]) ).

cnf(l189,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(instantiation,[status(thm)],[6]) ).

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

cnf(l5,plain,
    person(asked),
    inference(instantiation,[status(thm)],[13]) ).

cnf(4,plain,
    ( ~ truth(isa(X0,knave))
    | ~ says(X0,X1)
    | truth(not(X1)) ),
    inference(cnf,[status(esa)],[knaves_make_false_statements1]) ).

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

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

cnf(l8,plain,
    person(other),
    inference(instantiation,[status(thm)],[14]) ).

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

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

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

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

cnf(5,plain,
    ( ~ truth(not(X0))
    | ~ says(X1,X0)
    | truth(isa(X1,knave)) ),
    inference(cnf,[status(esa)],[knaves_make_false_statements2]) ).

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

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

cnf(l53,plain,
    person(other),
    inference(instantiation,[status(thm)],[14]) ).

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

cnf(l342,plain,
    person(asked),
    inference(instantiation,[status(thm)],[13]) ).

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

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

cnf(l101,plain,
    person(asked),
    inference(instantiation,[status(thm)],[13]) ).

cnf(l288,plain,
    person(asked),
    inference(instantiation,[status(thm)],[13]) ).

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

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

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

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

cnf(l108,plain,
    person(other),
    inference(instantiation,[status(thm)],[14]) ).

cnf(l373,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(instantiation,[status(thm)],[6]) ).

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

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

cnf(l79,plain,
    person(other),
    inference(instantiation,[status(thm)],[14]) ).

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

cnf(l155,plain,
    person(asked),
    inference(instantiation,[status(thm)],[13]) ).

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

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

cnf(7,plain,
    ( ~ says(X0,X1)
    | truth(X1)
    | truth(not(X1)) ),
    inference(cnf,[status(esa)],[statements_are_true_or_false]) ).

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

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

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

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

cnf(l215,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(l216,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(instantiation,[status(thm)],[6]) ).

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

cnf(final,plain,
    $false,
    inference(ground_refutation,[status(thm)],[l0,l1,l3,l7,l4,l2,l18,l81,l189,l5,l190,l8,l340,l52,l350,l13,l217,l92,l53,l78,l342,l99,l83,l101,l288,l14,l104,l106,l108,l373,l131,l351,l79,l111,l155,l157,l375,l27,l28,l100,l215,l216,l379]) ).

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