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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : PUZ025-1 : TPTP v8.1.2. Released v1.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s

% 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 : Thu Aug 31 13:12:11 EDT 2023

% Result   : Unsatisfiable 0.57s 0.61s
% Output   : CNFRefutation 0.57s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    5
%            Number of leaves      :   20
% Syntax   : Number of formulae    :   34 (   7 unt;  13 typ;   0 def)
%            Number of atoms       :   53 (   0 equ)
%            Maximal formula atoms :    4 (   2 avg)
%            Number of connectives :   66 (  34   ~;  32   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    5 (   3 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   13 (   8   >;   5   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   4 usr;   1 prp; 0-3 aty)
%            Number of functors    :    9 (   9 usr;   5 con; 0-2 aty)
%            Number of variables   :   28 (   4 sgn;   0   !;   0   ?;   0   :)

% Comments : 
%------------------------------------------------------------------------------
tff(decl_22,type,
    truthteller: $i > $i ).

tff(decl_23,type,
    a_truth: $i > $o ).

tff(decl_24,type,
    liar: $i > $i ).

tff(decl_25,type,
    says: ( $i * $i ) > $i ).

tff(decl_26,type,
    people: ( $i * $i * $i ) > $o ).

tff(decl_27,type,
    equal_type: ( $i * $i ) > $i ).

tff(decl_28,type,
    ask_1_if_2: ( $i * $i ) > $o ).

tff(decl_29,type,
    yes: $i ).

tff(decl_30,type,
    answer: $i > $o ).

tff(decl_31,type,
    no: $i ).

tff(decl_32,type,
    b: $i ).

tff(decl_33,type,
    c: $i ).

tff(decl_34,type,
    a: $i ).

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

cnf(prove_there_is_an_answer,negated_conjecture,
    ~ answer(X1),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_there_is_an_answer) ).

cnf(truthteller_identifies_truths,axiom,
    ( answer(yes)
    | ~ ask_1_if_2(X1,X2)
    | ~ a_truth(truthteller(X1))
    | ~ a_truth(X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',truthteller_identifies_truths) ).

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

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

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

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

cnf(c_0_7,axiom,
    ( answer(no)
    | ~ ask_1_if_2(X1,X2)
    | ~ a_truth(liar(X1))
    | ~ a_truth(X2) ),
    liar_denies_truths ).

cnf(c_0_8,negated_conjecture,
    ~ answer(X1),
    prove_there_is_an_answer ).

cnf(c_0_9,axiom,
    ( answer(yes)
    | ~ ask_1_if_2(X1,X2)
    | ~ a_truth(truthteller(X1))
    | ~ a_truth(X2) ),
    truthteller_identifies_truths ).

cnf(c_0_10,axiom,
    ( a_truth(X2)
    | answer(yes)
    | ~ ask_1_if_2(X1,X2)
    | ~ a_truth(liar(X1)) ),
    liar_supports_lies ).

cnf(c_0_11,plain,
    ( ~ ask_1_if_2(X1,X2)
    | ~ a_truth(liar(X1))
    | ~ a_truth(X2) ),
    inference(sr,[status(thm)],[c_0_7,c_0_8]) ).

cnf(c_0_12,axiom,
    ( a_truth(X2)
    | answer(no)
    | ~ ask_1_if_2(X1,X2)
    | ~ a_truth(truthteller(X1)) ),
    truthteller_denies_lies ).

cnf(c_0_13,plain,
    ( ~ ask_1_if_2(X1,X2)
    | ~ a_truth(truthteller(X1))
    | ~ a_truth(X2) ),
    inference(sr,[status(thm)],[c_0_9,c_0_8]) ).

cnf(c_0_14,plain,
    ( ~ ask_1_if_2(X1,X2)
    | ~ a_truth(liar(X1)) ),
    inference(csr,[status(thm)],[inference(sr,[status(thm)],[c_0_10,c_0_8]),c_0_11]) ).

cnf(c_0_15,hypothesis,
    ask_1_if_2(c,equal_type(a,b)),
    ask_c_if_a_and_b_equal ).

cnf(c_0_16,plain,
    ( ~ ask_1_if_2(X1,X2)
    | ~ a_truth(truthteller(X1)) ),
    inference(csr,[status(thm)],[inference(sr,[status(thm)],[c_0_12,c_0_8]),c_0_13]) ).

cnf(c_0_17,hypothesis,
    ~ a_truth(liar(c)),
    inference(spm,[status(thm)],[c_0_14,c_0_15]) ).

cnf(c_0_18,axiom,
    ( a_truth(truthteller(X1))
    | a_truth(liar(X1)) ),
    truthteller_or_liar ).

cnf(c_0_19,hypothesis,
    ~ a_truth(truthteller(c)),
    inference(spm,[status(thm)],[c_0_16,c_0_15]) ).

cnf(c_0_20,hypothesis,
    $false,
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_17,c_0_18]),c_0_19]),
    [proof] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.13  % Problem    : PUZ025-1 : TPTP v8.1.2. Released v1.0.0.
% 0.07/0.14  % Command    : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s
% 0.15/0.36  % Computer : n023.cluster.edu
% 0.15/0.36  % Model    : x86_64 x86_64
% 0.15/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.15/0.36  % Memory   : 8042.1875MB
% 0.15/0.36  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.15/0.36  % CPULimit   : 300
% 0.15/0.36  % WCLimit    : 300
% 0.15/0.36  % DateTime   : Sat Aug 26 22:37:56 EDT 2023
% 0.15/0.36  % CPUTime  : 
% 0.22/0.59  start to proof: theBenchmark
% 0.22/0.61  % Version  : CSE_E---1.5
% 0.22/0.61  % Problem  : theBenchmark.p
% 0.22/0.61  % Proof found
% 0.57/0.61  % SZS status Theorem for theBenchmark.p
% 0.57/0.61  % SZS output start Proof
% See solution above
% 0.57/0.61  % Total time : 0.005000 s
% 0.57/0.61  % SZS output end Proof
% 0.57/0.61  % Total time : 0.008000 s
%------------------------------------------------------------------------------