↑ Up

PyRes---1.5.UNS-Ref.s

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

% Computer : n012.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:37 EDT 2024

% Result   : Unsatisfiable 0.42s 0.62s
% Output   : Refutation 0.42s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    9
%            Number of leaves      :    8
% Syntax   : Number of clauses     :   20 (   6 unt;   5 nHn;  19 RR)
%            Number of literals    :   39 (   0 equ;  16 neg)
%            Maximal clause size   :    3 (   1 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of predicates  :    3 (   2 usr;   1 prp; 0-1 aty)
%            Number of functors    :    7 (   7 usr;   4 con; 0-2 aty)
%            Number of variables   :    7 (   1 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(prove_there_is_an_answer,negated_conjecture,
    ~ an_answer(X2),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_there_is_an_answer) ).

cnf(truthteller_or_liar,axiom,
    ( a_truth(truthteller(X3))
    | a_truth(liar(X3)) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ002-0.ax',truthteller_or_liar) ).

cnf(c_says_b_lies,plain,
    a_truth(says(c,liar(b))),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',c_says_b_lies) ).

cnf(truths_are_told_by_truthtellers,axiom,
    ( ~ a_truth(X10)
    | ~ a_truth(says(X11,X10))
    | a_truth(truthteller(X11)) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ002-0.ax',truths_are_told_by_truthtellers) ).

cnf(c14,plain,
    ( ~ a_truth(liar(b))
    | a_truth(truthteller(c)) ),
    inference(resolution,[status(thm)],[truths_are_told_by_truthtellers,c_says_b_lies]) ).

cnf(c21,plain,
    ( a_truth(truthteller(c))
    | a_truth(truthteller(b)) ),
    inference(resolution,[status(thm)],[c14,truthteller_or_liar]) ).

cnf(b_liar_and_c_truthteller,plain,
    ( ~ a_truth(liar(b))
    | ~ a_truth(truthteller(c))
    | an_answer(b_liar_and_c_truthteller) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_liar_and_c_truthteller) ).

cnf(c57,plain,
    ( ~ a_truth(liar(b))
    | an_answer(b_liar_and_c_truthteller)
    | a_truth(truthteller(b)) ),
    inference(resolution,[status(thm)],[b_liar_and_c_truthteller,c21]) ).

cnf(c106,plain,
    ( an_answer(b_liar_and_c_truthteller)
    | a_truth(truthteller(b)) ),
    inference(resolution,[status(thm)],[c57,truthteller_or_liar]) ).

cnf(c109,plain,
    a_truth(truthteller(b)),
    inference(resolution,[status(thm)],[c106,prove_there_is_an_answer]) ).

cnf(b_truthteller_and_c_liar,plain,
    ( ~ a_truth(truthteller(b))
    | ~ a_truth(liar(c))
    | an_answer(b_truthteller_and_c_liar) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_truthteller_and_c_liar) ).

cnf(not_both,axiom,
    ( ~ a_truth(truthteller(X4))
    | ~ a_truth(liar(X4)) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ002-0.ax',not_both) ).

cnf(truthtellers_tell_truth,axiom,
    ( ~ a_truth(truthteller(X6))
    | ~ a_truth(says(X6,X5))
    | a_truth(X5) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ002-0.ax',truthtellers_tell_truth) ).

cnf(c2,plain,
    ( ~ a_truth(truthteller(c))
    | a_truth(liar(b)) ),
    inference(resolution,[status(thm)],[c_says_b_lies,truthtellers_tell_truth]) ).

cnf(c12,plain,
    ( a_truth(liar(b))
    | a_truth(liar(c)) ),
    inference(resolution,[status(thm)],[c2,truthteller_or_liar]) ).

cnf(c18,plain,
    ( a_truth(liar(c))
    | ~ a_truth(truthteller(b)) ),
    inference(resolution,[status(thm)],[c12,not_both]) ).

cnf(c114,plain,
    a_truth(liar(c)),
    inference(resolution,[status(thm)],[c109,c18]) ).

cnf(c117,plain,
    ( ~ a_truth(truthteller(b))
    | an_answer(b_truthteller_and_c_liar) ),
    inference(resolution,[status(thm)],[c114,b_truthteller_and_c_liar]) ).

cnf(c132,plain,
    an_answer(b_truthteller_and_c_liar),
    inference(resolution,[status(thm)],[c117,c109]) ).

cnf(c134,plain,
    $false,
    inference(resolution,[status(thm)],[c132,prove_there_is_an_answer]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.13/0.13  % Problem  : PUZ023-1 : TPTP v8.1.2. Released v1.0.0.
% 0.13/0.14  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.14/0.35  % Computer : n012.cluster.edu
% 0.14/0.35  % Model    : x86_64 x86_64
% 0.14/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.35  % Memory   : 8042.1875MB
% 0.14/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.35  % CPULimit : 300
% 0.14/0.35  % WCLimit  : 300
% 0.14/0.35  % DateTime : Wed May  8 20:38:53 EDT 2024
% 0.14/0.35  % CPUTime  : 
% 0.42/0.62  % Version:  1.5
% 0.42/0.62  % SZS status Unsatisfiable
% 0.42/0.62  % SZS output start CNFRefutation
% See solution above
% 0.42/0.62  
% 0.42/0.62  % Initial clauses    : 22
% 0.42/0.62  % Processed clauses  : 64
% 0.42/0.62  % Factors computed   : 0
% 0.42/0.62  % Resolvents computed: 135
% 0.42/0.62  % Tautologies deleted: 6
% 0.42/0.62  % Forward subsumed   : 30
% 0.42/0.62  % Backward subsumed  : 22
% 0.42/0.62  % -------- CPU Time ---------
% 0.42/0.62  % User time          : 0.249 s
% 0.42/0.62  % System time        : 0.017 s
% 0.42/0.62  % Total time         : 0.266 s
%------------------------------------------------------------------------------