TSTP Solution File: PUZ007-1 by Leo-III---1.7.7

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Leo-III---1.7.7
% Problem  : PUZ007-1 : TPTP v8.1.2. Released v1.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run_Leo-III %s %d

% Computer : n004.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 : Fri May 19 11:47:23 EDT 2023

% Result   : Unsatisfiable 3.01s 1.65s
% Output   : Refutation 3.34s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    2
%            Number of leaves      :   41
% Syntax   : Number of formulae    :   70 (   9 unt;  13 typ;   0 def)
%            Number of atoms       :  119 (   6 equ;   0 cnn)
%            Maximal formula atoms :    3 (   2 avg)
%            Number of connectives :  258 (  58   ~;  62   |;   0   &; 138   @)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   5 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   10 (  10   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   15 (  13 usr;   5 con; 0-2 aty)
%            Number of variables   :   40 (   0   ^;  40   !;   0   ?;  40   :)

% Comments : 
%------------------------------------------------------------------------------
thf(from_mars_type,type,
    from_mars: $i > $o ).

thf(b_type,type,
    b: $i ).

thf(a_type,type,
    a: $i ).

thf(from_venus_type,type,
    from_venus: $i > $o ).

thf(liar_type,type,
    liar: $i > $o ).

thf(says_type,type,
    says: $i > $i > $o ).

thf(a_truth_type,type,
    a_truth: $i > $o ).

thf(statement_by_type,type,
    statement_by: $i > $i ).

thf(truthteller_type,type,
    truthteller: $i > $o ).

thf(male_type,type,
    male: $i > $o ).

thf(female_type,type,
    female: $i > $o ).

thf(a_from_mars_type,type,
    a_from_mars: $i ).

thf(a_has_lied_type,type,
    a_has_lied: $i ).

thf(14,axiom,
    ( ~ ( female @ a )
    | ( male @ b ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',different_sex1) ).

thf(56,plain,
    ( ~ ( female @ a )
    | ( male @ b ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).

thf(5,axiom,
    ! [A: $i] :
      ( ( a_truth @ ( statement_by @ A ) )
      | ( liar @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',false_statements_made_by_liars) ).

thf(37,plain,
    ! [A: $i] :
      ( ( a_truth @ ( statement_by @ A ) )
      | ( liar @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).

thf(12,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( truthteller @ A )
      | ~ ( says @ A @ B )
      | ( a_truth @ B ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',truthtellers_make_true_statements) ).

thf(52,plain,
    ! [B: $i,A: $i] :
      ( ~ ( truthteller @ A )
      | ~ ( says @ A @ B )
      | ( a_truth @ B ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).

thf(7,axiom,
    ! [A: $i] :
      ( ~ ( a_truth @ ( statement_by @ A ) )
      | ( truthteller @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',true_statements_made_by_truthtellers) ).

thf(41,plain,
    ! [A: $i] :
      ( ~ ( a_truth @ ( statement_by @ A ) )
      | ( truthteller @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).

thf(19,axiom,
    ( ( statement_by @ b )
    = a_has_lied ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',b_states) ).

thf(64,plain,
    ( ( statement_by @ b )
    = a_has_lied ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[19]) ).

thf(16,axiom,
    ! [A: $i] :
      ( ~ ( from_mars @ A )
      | ~ ( female @ A )
      | ( liar @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',marsian_females_are_liars) ).

thf(59,plain,
    ! [A: $i] :
      ( ~ ( from_mars @ A )
      | ~ ( female @ A )
      | ( liar @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).

thf(13,axiom,
    ( ~ ( from_mars @ a )
    | ( a_truth @ a_from_mars ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_from_mars1) ).

thf(54,plain,
    ( ~ ( from_mars @ a )
    | ( a_truth @ a_from_mars ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).

thf(20,axiom,
    ( ~ ( a_truth @ a_from_mars )
    | ~ ( a_truth @ ( statement_by @ b ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_from_mars3) ).

thf(66,plain,
    ( ~ ( a_truth @ a_from_mars )
    | ~ ( a_truth @ ( statement_by @ b ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[20]) ).

thf(11,axiom,
    ! [A: $i] :
      ( ( truthteller @ A )
      | ( liar @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',truthteller_or_liar) ).

thf(50,plain,
    ! [A: $i] :
      ( ( truthteller @ A )
      | ( liar @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).

thf(2,negated_conjecture,
    ( ( from_venus @ a )
    | ( from_venus @ b ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',one_from_venus) ).

thf(30,plain,
    ( ( from_venus @ a )
    | ( from_venus @ b ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

thf(21,axiom,
    ! [A: $i] :
      ( ~ ( from_venus @ A )
      | ~ ( male @ A )
      | ( liar @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',venusian_males_are_liars) ).

thf(68,plain,
    ! [A: $i] :
      ( ~ ( from_venus @ A )
      | ~ ( male @ A )
      | ( liar @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[21]) ).

thf(9,axiom,
    ! [A: $i] :
      ( ~ ( male @ A )
      | ~ ( female @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_male_and_female) ).

thf(46,plain,
    ! [A: $i] :
      ( ~ ( male @ A )
      | ~ ( female @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).

thf(26,axiom,
    ( ( a_truth @ a_from_mars )
    | ( a_truth @ ( statement_by @ b ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',truth_of_bs_statement) ).

thf(78,plain,
    ( ( a_truth @ a_from_mars )
    | ( a_truth @ ( statement_by @ b ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[26]) ).

thf(1,negated_conjecture,
    ( ( from_mars @ b )
    | ( from_mars @ a ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',one_from_mars) ).

thf(29,plain,
    ( ( from_mars @ b )
    | ( from_mars @ a ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).

thf(17,axiom,
    ! [A: $i] :
      ( ~ ( from_venus @ A )
      | ~ ( female @ A )
      | ( truthteller @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',venusian_female_are_truthtellers) ).

thf(61,plain,
    ! [A: $i] :
      ( ~ ( from_venus @ A )
      | ~ ( female @ A )
      | ( truthteller @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).

thf(24,axiom,
    ! [A: $i] :
      ( ~ ( from_mars @ A )
      | ~ ( from_venus @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_from_mars_and_venus) ).

thf(74,plain,
    ! [A: $i] :
      ( ~ ( from_mars @ A )
      | ~ ( from_venus @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[24]) ).

thf(22,axiom,
    ( ( from_mars @ a )
    | ~ ( a_truth @ a_from_mars ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_from_mars2) ).

thf(70,plain,
    ( ( from_mars @ a )
    | ~ ( a_truth @ a_from_mars ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[22]) ).

thf(3,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( liar @ A )
      | ~ ( says @ A @ B )
      | ~ ( a_truth @ B ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',liars_make_false_statements) ).

thf(33,plain,
    ! [B: $i,A: $i] :
      ( ~ ( liar @ A )
      | ~ ( says @ A @ B )
      | ~ ( a_truth @ B ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).

thf(25,axiom,
    ! [A: $i] :
      ( ~ ( from_mars @ A )
      | ~ ( male @ A )
      | ( truthteller @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',marsian_males_are_truthtellers) ).

thf(76,plain,
    ! [A: $i] :
      ( ~ ( from_mars @ A )
      | ~ ( male @ A )
      | ( truthteller @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[25]) ).

thf(6,axiom,
    ! [A: $i] :
      ( ~ ( truthteller @ A )
      | ~ ( liar @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_truthteller_and_liar) ).

thf(39,plain,
    ! [A: $i] :
      ( ~ ( truthteller @ A )
      | ~ ( liar @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).

thf(27,axiom,
    ( ~ ( male @ a )
    | ( female @ b ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',different_sex2) ).

thf(80,plain,
    ( ~ ( male @ a )
    | ( female @ b ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[27]) ).

thf(4,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( says @ A @ B )
      | ( a_truth @ B )
      | ~ ( a_truth @ B ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_not) ).

thf(35,plain,
    ! [B: $i,A: $i] :
      ( ~ ( says @ A @ B )
      | ( a_truth @ B )
      | ~ ( a_truth @ B ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).

thf(10,axiom,
    ! [A: $i] :
      ( ( male @ A )
      | ( female @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',male_or_female) ).

thf(48,plain,
    ! [A: $i] :
      ( ( male @ A )
      | ( female @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).

thf(18,axiom,
    says @ a @ a_from_mars,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_says_hes_from_mars) ).

thf(63,plain,
    says @ a @ a_from_mars,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[18]) ).

thf(23,axiom,
    ( ( statement_by @ a )
    = a_from_mars ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',a_states) ).

thf(72,plain,
    ( ( statement_by @ a )
    = a_from_mars ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[23]) ).

thf(8,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( says @ A @ B )
      | ( B
        = ( statement_by @ A ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',people_say_their_statements) ).

thf(43,plain,
    ! [B: $i,A: $i] :
      ( ~ ( says @ A @ B )
      | ( B
        = ( statement_by @ A ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).

thf(15,axiom,
    says @ b @ a_has_lied,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',b_says_a_lies) ).

thf(58,plain,
    says @ b @ a_has_lied,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).

thf(28,axiom,
    ! [A: $i] :
      ( ( from_mars @ A )
      | ( from_venus @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',from_mars_or_venus) ).

thf(82,plain,
    ! [A: $i] :
      ( ( from_mars @ A )
      | ( from_venus @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[28]) ).

thf(84,plain,
    $false,
    inference(e,[status(thm)],[56,37,52,41,64,59,54,66,50,30,68,46,78,29,61,74,70,33,76,39,80,35,48,63,72,43,58,82]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem  : PUZ007-1 : TPTP v8.1.2. Released v1.0.0.
% 0.12/0.15  % Command  : run_Leo-III %s %d
% 0.15/0.35  % Computer : n004.cluster.edu
% 0.15/0.35  % Model    : x86_64 x86_64
% 0.15/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.15/0.35  % Memory   : 8042.1875MB
% 0.15/0.35  % 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 : Thu May 18 19:51:40 EDT 2023
% 0.15/0.36  % CPUTime  : 
% 0.84/0.83  % [INFO] 	 Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ... 
% 1.28/0.95  % [INFO] 	 Parsing done (117ms). 
% 1.28/0.96  % [INFO] 	 Running in sequential loop mode. 
% 1.57/1.15  % [INFO] 	 eprover registered as external prover. 
% 1.57/1.15  % [INFO] 	 cvc4 registered as external prover. 
% 1.57/1.15  % [INFO] 	 Scanning for conjecture ... 
% 1.86/1.21  % [INFO] 	 Found a conjecture and 26 axioms. Running axiom selection ... 
% 1.93/1.24  % [INFO] 	 Axiom selection finished. Selected 26 axioms (removed 0 axioms). 
% 1.93/1.27  % [INFO] 	 Problem is propositional (TPTP CNF). 
% 1.93/1.27  % [INFO] 	 Type checking passed. 
% 1.93/1.27  % [CONFIG] 	 Using configuration: timeout(300) with strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>.  Searching for refutation ... 
% 3.01/1.65  % External prover 'e' found a proof!
% 3.01/1.65  % [INFO] 	 Killing All external provers ... 
% 3.01/1.65  % Time passed: 1139ms (effective reasoning time: 691ms)
% 3.01/1.65  % Solved by strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>
% 3.01/1.65  % Axioms used in derivation (26): false_statements_made_by_liars, venusian_males_are_liars, a_from_mars2, male_or_female, venusian_female_are_truthtellers, not_from_mars_and_venus, marsian_males_are_truthtellers, marsian_females_are_liars, statements_are_true_or_not, a_from_mars3, true_statements_made_by_truthtellers, not_truthteller_and_liar, b_says_a_lies, liars_make_false_statements, from_mars_or_venus, a_states, a_from_mars1, people_say_their_statements, truthteller_or_liar, not_male_and_female, b_states, different_sex1, truthtellers_make_true_statements, a_says_hes_from_mars, different_sex2, truth_of_bs_statement
% 3.01/1.65  % No. of inferences in proof: 57
% 3.01/1.65  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 1139 ms resp. 691 ms w/o parsing
% 3.34/1.74  % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 3.34/1.74  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------