TSTP Solution File: PUZ025-1 by PyRes---1.5

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : PyRes---1.5
% Problem  : PUZ025-1 : TPTP v8.1.2. Released v1.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s

% Computer : n005.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.48s 0.66s
% Output   : Refutation 0.48s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    9
%            Number of leaves      :    7
% Syntax   : Number of clauses     :   21 (   6 unt;  11 nHn;  20 RR)
%            Number of literals    :   53 (   0 equ;  19 neg)
%            Maximal clause size   :    4 (   2 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of predicates  :    4 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :    8 (   8 usr;   5 con; 0-2 aty)
%            Number of variables   :   16 (   1 sgn)

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

cnf(ask_c_if_a_and_b_equal,plain,
    ask_1_if_2(c,equal_type(a,b)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',ask_c_if_a_and_b_equal) ).

cnf(liar_supports_lies,axiom,
    ( ~ ask_1_if_2(X39,X38)
    | ~ a_truth(liar(X39))
    | a_truth(X38)
    | answer(yes) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',liar_supports_lies) ).

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(truthteller_identifies_truths,axiom,
    ( ~ ask_1_if_2(X31,X30)
    | ~ a_truth(truthteller(X31))
    | ~ a_truth(X30)
    | answer(yes) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',truthteller_identifies_truths) ).

cnf(c30,plain,
    ( ~ ask_1_if_2(X63,X62)
    | ~ a_truth(X62)
    | answer(yes)
    | a_truth(liar(X63)) ),
    inference(resolution,[status(thm)],[truthteller_identifies_truths,truthteller_or_liar]) ).

cnf(c105,plain,
    ( ~ a_truth(equal_type(a,b))
    | answer(yes)
    | a_truth(liar(c)) ),
    inference(resolution,[status(thm)],[c30,ask_c_if_a_and_b_equal]) ).

cnf(truthteller_denies_lies,axiom,
    ( ~ ask_1_if_2(X34,X33)
    | ~ a_truth(truthteller(X34))
    | a_truth(X33)
    | answer(no) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',truthteller_denies_lies) ).

cnf(c31,plain,
    ( ~ ask_1_if_2(X64,X65)
    | a_truth(X65)
    | answer(no)
    | a_truth(liar(X64)) ),
    inference(resolution,[status(thm)],[truthteller_denies_lies,truthteller_or_liar]) ).

cnf(c106,plain,
    ( a_truth(equal_type(a,b))
    | answer(no)
    | a_truth(liar(c)) ),
    inference(resolution,[status(thm)],[c31,ask_c_if_a_and_b_equal]) ).

cnf(c228,plain,
    ( answer(no)
    | a_truth(liar(c))
    | answer(yes) ),
    inference(resolution,[status(thm)],[c106,c105]) ).

cnf(c240,plain,
    ( a_truth(liar(c))
    | answer(yes) ),
    inference(resolution,[status(thm)],[c228,prove_there_is_an_answer]) ).

cnf(c251,plain,
    ( answer(yes)
    | ~ ask_1_if_2(c,X99)
    | a_truth(X99) ),
    inference(resolution,[status(thm)],[c240,liar_supports_lies]) ).

cnf(c270,plain,
    ( answer(yes)
    | a_truth(equal_type(a,b)) ),
    inference(resolution,[status(thm)],[c251,ask_c_if_a_and_b_equal]) ).

cnf(c321,plain,
    a_truth(equal_type(a,b)),
    inference(resolution,[status(thm)],[c270,prove_there_is_an_answer]) ).

cnf(liar_denies_truths,axiom,
    ( ~ ask_1_if_2(X36,X35)
    | ~ a_truth(liar(X36))
    | ~ a_truth(X35)
    | answer(no) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',liar_denies_truths) ).

cnf(c256,plain,
    a_truth(liar(c)),
    inference(resolution,[status(thm)],[c240,prove_there_is_an_answer]) ).

cnf(c263,plain,
    ( ~ ask_1_if_2(c,X105)
    | ~ a_truth(X105)
    | answer(no) ),
    inference(resolution,[status(thm)],[c256,liar_denies_truths]) ).

cnf(c294,plain,
    ( ~ a_truth(equal_type(a,b))
    | answer(no) ),
    inference(resolution,[status(thm)],[c263,ask_c_if_a_and_b_equal]) ).

cnf(c349,plain,
    answer(no),
    inference(resolution,[status(thm)],[c294,c321]) ).

cnf(c352,plain,
    $false,
    inference(resolution,[status(thm)],[c349,prove_there_is_an_answer]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem  : PUZ025-1 : TPTP v8.1.2. Released v1.0.0.
% 0.07/0.13  % Command  : pyres-fof.py -tifbsVp -nlargest -HPickGiven5 %s
% 0.12/0.34  % Computer : n005.cluster.edu
% 0.12/0.34  % Model    : x86_64 x86_64
% 0.12/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.34  % Memory   : 8042.1875MB
% 0.12/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.34  % CPULimit : 300
% 0.12/0.34  % WCLimit  : 300
% 0.12/0.34  % DateTime : Wed May  8 20:40:38 EDT 2024
% 0.12/0.34  % CPUTime  : 
% 0.48/0.66  % Version:  1.5
% 0.48/0.66  % SZS status Unsatisfiable
% 0.48/0.66  % SZS output start CNFRefutation
% See solution above
% 0.48/0.66  
% 0.48/0.66  % Initial clauses    : 24
% 0.48/0.66  % Processed clauses  : 84
% 0.48/0.66  % Factors computed   : 4
% 0.48/0.66  % Resolvents computed: 349
% 0.48/0.66  % Tautologies deleted: 10
% 0.48/0.66  % Forward subsumed   : 36
% 0.48/0.66  % Backward subsumed  : 29
% 0.48/0.66  % -------- CPU Time ---------
% 0.48/0.66  % User time          : 0.303 s
% 0.48/0.66  % System time        : 0.014 s
% 0.48/0.66  % Total time         : 0.317 s
%------------------------------------------------------------------------------