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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : PUZ007-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 : 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 Aug 31 13:11:29 EDT 2023

% Result   : Unsatisfiable 0.20s 0.58s
% Output   : CNFRefutation 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   14
%            Number of leaves      :   32
% Syntax   : Number of formulae    :   82 (  15 unt;  13 typ;   0 def)
%            Number of atoms       :  141 (   2 equ)
%            Maximal formula atoms :    3 (   2 avg)
%            Number of connectives :  154 (  82   ~;  72   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    4 (   3 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   10 (   9   >;   1   *;   0   +;   0  <<)
%            Number of predicates  :   10 (   8 usr;   1 prp; 0-2 aty)
%            Number of functors    :    5 (   5 usr;   4 con; 0-1 aty)
%            Number of variables   :   26 (   0 sgn;   0   !;   0   ?;   0   :)

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

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

tff(decl_24,type,
    male: $i > $o ).

tff(decl_25,type,
    female: $i > $o ).

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

tff(decl_27,type,
    liar: $i > $o ).

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

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

tff(decl_30,type,
    statement_by: $i > $i ).

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

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

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

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

cnf(liars_make_false_statements,axiom,
    ( ~ liar(X1)
    | ~ says(X1,X2)
    | ~ a_truth(X2) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',liars_make_false_statements) ).

cnf(a_says_hes_from_mars,hypothesis,
    says(a,a_from_mars),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',a_says_hes_from_mars) ).

cnf(marsian_females_are_liars,axiom,
    ( liar(X1)
    | ~ from_mars(X1)
    | ~ female(X1) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',marsian_females_are_liars) ).

cnf(a_from_mars2,hypothesis,
    ( from_mars(a)
    | ~ a_truth(a_from_mars) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',a_from_mars2) ).

cnf(not_truthteller_and_liar,axiom,
    ( ~ truthteller(X1)
    | ~ liar(X1) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',not_truthteller_and_liar) ).

cnf(false_statements_made_by_liars,axiom,
    ( a_truth(statement_by(X1))
    | liar(X1) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',false_statements_made_by_liars) ).

cnf(male_or_female,axiom,
    ( male(X1)
    | female(X1) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',male_or_female) ).

cnf(venusian_female_are_truthtellers,axiom,
    ( truthteller(X1)
    | ~ from_venus(X1)
    | ~ female(X1) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',venusian_female_are_truthtellers) ).

cnf(venusian_males_are_liars,axiom,
    ( liar(X1)
    | ~ from_venus(X1)
    | ~ male(X1) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',venusian_males_are_liars) ).

cnf(b_says_a_lies,hypothesis,
    says(b,a_has_lied),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_says_a_lies) ).

cnf(different_sex2,hypothesis,
    ( female(b)
    | ~ male(a) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',different_sex2) ).

cnf(b_states,hypothesis,
    statement_by(b) = a_has_lied,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',b_states) ).

cnf(one_from_venus,negated_conjecture,
    ( from_venus(a)
    | from_venus(b) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',one_from_venus) ).

cnf(truth_of_bs_statement,hypothesis,
    ( a_truth(a_from_mars)
    | a_truth(statement_by(b)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',truth_of_bs_statement) ).

cnf(a_from_mars3,hypothesis,
    ( ~ a_truth(a_from_mars)
    | ~ a_truth(statement_by(b)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',a_from_mars3) ).

cnf(a_from_mars1,hypothesis,
    ( a_truth(a_from_mars)
    | ~ from_mars(a) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',a_from_mars1) ).

cnf(one_from_mars,negated_conjecture,
    ( from_mars(b)
    | from_mars(a) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',one_from_mars) ).

cnf(true_statements_made_by_truthtellers,axiom,
    ( truthteller(X1)
    | ~ a_truth(statement_by(X1)) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',true_statements_made_by_truthtellers) ).

cnf(truthtellers_make_true_statements,axiom,
    ( a_truth(X2)
    | ~ truthteller(X1)
    | ~ says(X1,X2) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/PUZ001-0.ax',truthtellers_make_true_statements) ).

cnf(c_0_19,axiom,
    ( ~ liar(X1)
    | ~ says(X1,X2)
    | ~ a_truth(X2) ),
    liars_make_false_statements ).

cnf(c_0_20,hypothesis,
    says(a,a_from_mars),
    a_says_hes_from_mars ).

cnf(c_0_21,hypothesis,
    ( ~ a_truth(a_from_mars)
    | ~ liar(a) ),
    inference(spm,[status(thm)],[c_0_19,c_0_20]) ).

cnf(c_0_22,axiom,
    ( liar(X1)
    | ~ from_mars(X1)
    | ~ female(X1) ),
    marsian_females_are_liars ).

cnf(c_0_23,hypothesis,
    ( from_mars(a)
    | ~ a_truth(a_from_mars) ),
    a_from_mars2 ).

cnf(c_0_24,axiom,
    ( ~ truthteller(X1)
    | ~ liar(X1) ),
    not_truthteller_and_liar ).

cnf(c_0_25,axiom,
    ( a_truth(statement_by(X1))
    | liar(X1) ),
    false_statements_made_by_liars ).

cnf(c_0_26,hypothesis,
    ( ~ a_truth(a_from_mars)
    | ~ female(a) ),
    inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_21,c_0_22]),c_0_23]) ).

cnf(c_0_27,axiom,
    ( male(X1)
    | female(X1) ),
    male_or_female ).

cnf(c_0_28,plain,
    ( a_truth(statement_by(X1))
    | ~ truthteller(X1) ),
    inference(spm,[status(thm)],[c_0_24,c_0_25]) ).

cnf(c_0_29,axiom,
    ( truthteller(X1)
    | ~ from_venus(X1)
    | ~ female(X1) ),
    venusian_female_are_truthtellers ).

cnf(c_0_30,axiom,
    ( liar(X1)
    | ~ from_venus(X1)
    | ~ male(X1) ),
    venusian_males_are_liars ).

cnf(c_0_31,hypothesis,
    ( male(a)
    | ~ a_truth(a_from_mars) ),
    inference(spm,[status(thm)],[c_0_26,c_0_27]) ).

cnf(c_0_32,hypothesis,
    says(b,a_has_lied),
    b_says_a_lies ).

cnf(c_0_33,plain,
    ( a_truth(statement_by(X1))
    | ~ female(X1)
    | ~ from_venus(X1) ),
    inference(spm,[status(thm)],[c_0_28,c_0_29]) ).

cnf(c_0_34,hypothesis,
    ( female(b)
    | ~ male(a) ),
    different_sex2 ).

cnf(c_0_35,hypothesis,
    statement_by(b) = a_has_lied,
    b_states ).

cnf(c_0_36,hypothesis,
    ( ~ a_truth(a_from_mars)
    | ~ from_venus(a) ),
    inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_21,c_0_30]),c_0_31]) ).

cnf(c_0_37,negated_conjecture,
    ( from_venus(a)
    | from_venus(b) ),
    one_from_venus ).

cnf(c_0_38,hypothesis,
    ( a_truth(a_from_mars)
    | a_truth(statement_by(b)) ),
    truth_of_bs_statement ).

cnf(c_0_39,hypothesis,
    ( ~ a_truth(a_has_lied)
    | ~ liar(b) ),
    inference(spm,[status(thm)],[c_0_19,c_0_32]) ).

cnf(c_0_40,hypothesis,
    ( ~ a_truth(a_from_mars)
    | ~ a_truth(statement_by(b)) ),
    a_from_mars3 ).

cnf(c_0_41,hypothesis,
    ( a_truth(a_has_lied)
    | ~ male(a)
    | ~ from_venus(b) ),
    inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_33,c_0_34]),c_0_35]) ).

cnf(c_0_42,negated_conjecture,
    ( from_venus(b)
    | ~ a_truth(a_from_mars) ),
    inference(spm,[status(thm)],[c_0_36,c_0_37]) ).

cnf(c_0_43,hypothesis,
    ( a_truth(a_has_lied)
    | a_truth(a_from_mars) ),
    inference(rw,[status(thm)],[c_0_38,c_0_35]) ).

cnf(c_0_44,hypothesis,
    ( ~ a_truth(a_has_lied)
    | ~ female(b)
    | ~ from_mars(b) ),
    inference(spm,[status(thm)],[c_0_39,c_0_22]) ).

cnf(c_0_45,hypothesis,
    ( a_truth(a_from_mars)
    | ~ from_mars(a) ),
    a_from_mars1 ).

cnf(c_0_46,negated_conjecture,
    ( from_mars(b)
    | from_mars(a) ),
    one_from_mars ).

cnf(c_0_47,hypothesis,
    ( ~ a_truth(a_from_mars)
    | ~ a_truth(a_has_lied) ),
    inference(rw,[status(thm)],[c_0_40,c_0_35]) ).

cnf(c_0_48,hypothesis,
    a_truth(a_has_lied),
    inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_41,c_0_31]),c_0_42]),c_0_43]) ).

cnf(c_0_49,hypothesis,
    ( male(b)
    | ~ a_truth(a_has_lied)
    | ~ from_mars(b) ),
    inference(spm,[status(thm)],[c_0_44,c_0_27]) ).

cnf(c_0_50,negated_conjecture,
    ( a_truth(a_from_mars)
    | from_mars(b) ),
    inference(spm,[status(thm)],[c_0_45,c_0_46]) ).

cnf(c_0_51,hypothesis,
    ~ a_truth(a_from_mars),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_47,c_0_48])]) ).

cnf(c_0_52,hypothesis,
    ( ~ a_truth(a_has_lied)
    | ~ male(b)
    | ~ from_venus(b) ),
    inference(spm,[status(thm)],[c_0_39,c_0_30]) ).

cnf(c_0_53,hypothesis,
    ( male(b)
    | ~ from_mars(b) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_49,c_0_48])]) ).

cnf(c_0_54,negated_conjecture,
    from_mars(b),
    inference(sr,[status(thm)],[c_0_50,c_0_51]) ).

cnf(c_0_55,plain,
    ( ~ truthteller(X1)
    | ~ female(X1)
    | ~ from_mars(X1) ),
    inference(spm,[status(thm)],[c_0_24,c_0_22]) ).

cnf(c_0_56,axiom,
    ( truthteller(X1)
    | ~ a_truth(statement_by(X1)) ),
    true_statements_made_by_truthtellers ).

cnf(c_0_57,hypothesis,
    ( ~ male(b)
    | ~ from_venus(b) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_52,c_0_48])]) ).

cnf(c_0_58,hypothesis,
    male(b),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_53,c_0_54])]) ).

cnf(c_0_59,plain,
    ( ~ a_truth(statement_by(X1))
    | ~ female(X1)
    | ~ from_mars(X1) ),
    inference(spm,[status(thm)],[c_0_55,c_0_56]) ).

cnf(c_0_60,axiom,
    ( a_truth(X2)
    | ~ truthteller(X1)
    | ~ says(X1,X2) ),
    truthtellers_make_true_statements ).

cnf(c_0_61,hypothesis,
    ~ from_venus(b),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_57,c_0_58])]) ).

cnf(c_0_62,hypothesis,
    ( ~ a_truth(a_has_lied)
    | ~ male(a)
    | ~ from_mars(b) ),
    inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_59,c_0_34]),c_0_35]) ).

cnf(c_0_63,hypothesis,
    ( a_truth(a_from_mars)
    | ~ truthteller(a) ),
    inference(spm,[status(thm)],[c_0_60,c_0_20]) ).

cnf(c_0_64,negated_conjecture,
    from_venus(a),
    inference(sr,[status(thm)],[c_0_37,c_0_61]) ).

cnf(c_0_65,hypothesis,
    ( ~ male(a)
    | ~ from_mars(b) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_62,c_0_48])]) ).

cnf(c_0_66,hypothesis,
    ~ female(a),
    inference(sr,[status(thm)],[inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_63,c_0_29]),c_0_64])]),c_0_51]) ).

cnf(c_0_67,hypothesis,
    ~ male(a),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[c_0_65,c_0_54])]) ).

cnf(c_0_68,hypothesis,
    $false,
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_66,c_0_27]),c_0_67]),
    [proof] ).

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