↑ Up

PyRes---1.5.UNS-Ref.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : PyRes---1.5
% Problem  : PUZ035-3 : TPTP v8.1.2. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s

% 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 : Thu May  9 17:37:40 EDT 2024

% Result   : Unsatisfiable 0.46s 0.63s
% Output   : Refutation 0.46s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :    5
% Syntax   : Number of clauses     :   22 (   7 unt;   9 nHn;  22 RR)
%            Number of literals    :   43 (   0 equ;  14 neg)
%            Maximal clause size   :    3 (   1 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number of predicates  :    4 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :    7 (   7 usr;   4 con; 0-2 aty)
%            Number of variables   :   14 (  13 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(prove_answer,negated_conjecture,
    ( ~ truth(isa(asked,X29))
    | ~ truth(isa(other,X27))
    | ~ says(asked,X28) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).

cnf(other_person,axiom,
    person(other),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',other_person) ).

cnf(everyone_a_knight_or_knave,axiom,
    ( ~ person(X7)
    | truth(isa(X7,knight))
    | truth(isa(X7,knave)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).

cnf(c1,plain,
    ( truth(isa(other,knight))
    | truth(isa(other,knave)) ),
    inference(resolution,[status(thm)],[everyone_a_knight_or_knave,other_person]) ).

cnf(c17,plain,
    ( ~ truth(isa(asked,X30))
    | ~ says(asked,X31)
    | truth(isa(other,knave)) ),
    inference(resolution,[status(thm)],[prove_answer,c1]) ).

cnf(asked_person,axiom,
    person(asked),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',asked_person) ).

cnf(c0,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knave)) ),
    inference(resolution,[status(thm)],[everyone_a_knight_or_knave,asked_person]) ).

cnf(c19,plain,
    ( ~ says(asked,X34)
    | truth(isa(other,knave))
    | truth(isa(asked,knave)) ),
    inference(resolution,[status(thm)],[c17,c0]) ).

cnf(one_is_knight_answer,axiom,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | says(asked,not(or(isa(asked,knight),isa(other,knight)))) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',one_is_knight_answer) ).

cnf(c23,plain,
    ( truth(isa(other,knave))
    | truth(isa(asked,knave))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(resolution,[status(thm)],[c19,one_is_knight_answer]) ).

cnf(c41,plain,
    ( truth(isa(other,knave))
    | truth(isa(asked,knave)) ),
    inference(resolution,[status(thm)],[c23,c19]) ).

cnf(c49,plain,
    ( truth(isa(other,knave))
    | ~ says(asked,X38) ),
    inference(resolution,[status(thm)],[c41,c17]) ).

cnf(c53,plain,
    ( truth(isa(other,knave))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(resolution,[status(thm)],[c49,one_is_knight_answer]) ).

cnf(c119,plain,
    truth(isa(other,knave)),
    inference(resolution,[status(thm)],[c53,c49]) ).

cnf(c121,plain,
    ( ~ truth(isa(asked,X48))
    | ~ says(asked,X49) ),
    inference(resolution,[status(thm)],[c119,prove_answer]) ).

cnf(c46,plain,
    ( truth(isa(asked,knave))
    | ~ truth(isa(asked,X41))
    | ~ says(asked,X42) ),
    inference(resolution,[status(thm)],[c41,prove_answer]) ).

cnf(c84,plain,
    ( truth(isa(asked,knave))
    | ~ says(asked,X43) ),
    inference(resolution,[status(thm)],[c46,c0]) ).

cnf(c88,plain,
    ( truth(isa(asked,knave))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(resolution,[status(thm)],[c84,one_is_knight_answer]) ).

cnf(c168,plain,
    truth(isa(asked,knave)),
    inference(resolution,[status(thm)],[c88,c84]) ).

cnf(c170,plain,
    ~ says(asked,X53),
    inference(resolution,[status(thm)],[c168,c121]) ).

cnf(c173,plain,
    says(asked,or(isa(asked,knight),isa(other,knight))),
    inference(resolution,[status(thm)],[c170,one_is_knight_answer]) ).

cnf(c187,plain,
    $false,
    inference(resolution,[status(thm)],[c173,c170]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.13  % Problem  : PUZ035-3 : TPTP v8.1.2. Released v2.0.0.
% 0.03/0.14  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.13/0.35  % Computer : n022.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 : Wed May  8 20:37:23 EDT 2024
% 0.13/0.35  % CPUTime  : 
% 0.46/0.63  % Version:  1.5
% 0.46/0.63  % SZS status Unsatisfiable
% 0.46/0.63  % SZS output start CNFRefutation
% See solution above
% 0.46/0.63  
% 0.46/0.63  % Initial clauses    : 16
% 0.46/0.63  % Processed clauses  : 58
% 0.46/0.63  % Factors computed   : 0
% 0.46/0.63  % Resolvents computed: 188
% 0.46/0.63  % Tautologies deleted: 2
% 0.46/0.63  % Forward subsumed   : 15
% 0.46/0.63  % Backward subsumed  : 35
% 0.46/0.63  % -------- CPU Time ---------
% 0.46/0.63  % User time          : 0.250 s
% 0.46/0.63  % System time        : 0.012 s
% 0.46/0.63  % Total time         : 0.262 s
%------------------------------------------------------------------------------