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

View Problem - Process Solution

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

% Computer : n015.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:26 EDT 2023

% Result   : Unsatisfiable 2.99s 1.73s
% Output   : Refutation 3.38s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    2
%            Number of leaves      :   27
% Syntax   : Number of formulae    :   47 (  11 unt;   8 typ;   0 def)
%            Number of atoms       :   83 (   8 equ;   0 cnn)
%            Maximal formula atoms :    3 (   2 avg)
%            Number of connectives :  198 (  50   ~;  44   |;   0   &; 104   @)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   5 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    7 (   7   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   10 (   8 usr;   3 con; 0-2 aty)
%            Number of variables   :   32 (   0   ^;  32   !;   0   ?;  32   :)

% Comments : 
%------------------------------------------------------------------------------
thf(knight_type,type,
    knight: $i > $o ).

thf(husband_type,type,
    husband: $i ).

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

thf(person_type,type,
    person: $i > $o ).

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

thf(knave_type,type,
    knave: $i > $o ).

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

thf(wife_type,type,
    wife: $i ).

thf(15,axiom,
    ! [A: $i] :
      ( ~ ( person @ A )
      | ~ ( a_truth @ ( statement_by @ A ) )
      | ( knight @ A ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_make_true_statements) ).

thf(52,plain,
    ! [A: $i] :
      ( ~ ( person @ A )
      | ~ ( a_truth @ ( statement_by @ A ) )
      | ( knight @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).

thf(10,axiom,
    ( ( a_truth @ ( statement_by @ husband ) )
    | ~ ( knight @ husband ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knight_husband_makes_true_statements) ).

thf(43,plain,
    ( ( a_truth @ ( statement_by @ husband ) )
    | ~ ( knight @ husband ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).

thf(12,axiom,
    ! [A: $i] :
      ( ~ ( person @ A )
      | ~ ( knight @ A )
      | ~ ( knave @ A ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not_both_a_knight_and_knave) ).

thf(47,plain,
    ! [A: $i] :
      ( ~ ( person @ A )
      | ~ ( knight @ A )
      | ~ ( knave @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).

thf(1,negated_conjecture,
    ~ ( knight @ husband ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_knight_husband) ).

thf(20,plain,
    ~ ( knight @ husband ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).

thf(18,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( knight @ A )
      | ~ ( says @ A @ B )
      | ( a_truth @ B ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_say_the_truth) ).

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

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

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

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

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

thf(5,axiom,
    person @ wife,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',wife) ).

thf(32,plain,
    person @ wife,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).

thf(11,axiom,
    ( ~ ( knight @ wife )
    | ( a_truth @ ( statement_by @ husband ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knight_wife_means_truthful_husband) ).

thf(45,plain,
    ( ~ ( knight @ wife )
    | ( a_truth @ ( statement_by @ husband ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).

thf(2,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( says @ A @ B )
      | ( A != B ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',people_do_not_equal_their_statements1) ).

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

thf(19,axiom,
    ! [A: $i] :
      ( ~ ( person @ A )
      | ( knight @ A )
      | ( knave @ A ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).

thf(59,plain,
    ! [A: $i] :
      ( ~ ( person @ A )
      | ( knight @ A )
      | ( knave @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[19]) ).

thf(16,axiom,
    person @ husband,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',husband) ).

thf(54,plain,
    person @ husband,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).

thf(13,axiom,
    ( ~ ( a_truth @ ( statement_by @ husband ) )
    | ~ ( knight @ husband )
    | ( knight @ wife ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',truthful_knight_husband_means_knight_wife) ).

thf(49,plain,
    ( ~ ( a_truth @ ( statement_by @ husband ) )
    | ~ ( knight @ husband )
    | ( knight @ wife ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).

thf(9,axiom,
    husband != wife,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',husband_not_wife) ).

thf(40,plain,
    husband != wife,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).

thf(3,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( person @ A )
      | ( A
       != ( statement_by @ B ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',people_do_not_equal_their_statement2) ).

thf(26,plain,
    ! [B: $i,A: $i] :
      ( ~ ( person @ A )
      | ( A
       != ( statement_by @ B ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).

thf(17,axiom,
    ( ( a_truth @ ( statement_by @ husband ) )
    | ( knight @ wife ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knight_wife_or_truthful_husband) ).

thf(55,plain,
    ( ( a_truth @ ( statement_by @ husband ) )
    | ( knight @ wife ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).

thf(7,axiom,
    ! [A: $i] :
      ( ~ ( person @ A )
      | ( a_truth @ ( statement_by @ A ) )
      | ( knave @ A ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knaves_make_false_statements) ).

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

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

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

thf(14,axiom,
    says @ husband @ ( statement_by @ husband ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',husband_makes_statements) ).

thf(51,plain,
    says @ husband @ ( statement_by @ husband ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).

thf(61,plain,
    $false,
    inference(e,[status(thm)],[52,43,47,20,57,38,33,32,45,22,59,54,49,40,26,55,36,30,51]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : PUZ020-1 : TPTP v8.1.2. Released v1.0.0.
% 0.15/0.15  % Command  : run_Leo-III %s %d
% 0.16/0.37  % Computer : n015.cluster.edu
% 0.16/0.37  % Model    : x86_64 x86_64
% 0.16/0.37  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.16/0.37  % Memory   : 8042.1875MB
% 0.16/0.37  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.16/0.37  % CPULimit : 300
% 0.16/0.37  % WCLimit  : 300
% 0.16/0.37  % DateTime : Thu May 18 20:14:53 EDT 2023
% 0.16/0.37  % CPUTime  : 
% 0.99/0.90  % [INFO] 	 Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ... 
% 1.18/1.02  % [INFO] 	 Parsing done (120ms). 
% 1.47/1.03  % [INFO] 	 Running in sequential loop mode. 
% 1.84/1.25  % [INFO] 	 eprover registered as external prover. 
% 1.88/1.25  % [INFO] 	 cvc4 registered as external prover. 
% 1.88/1.25  % [INFO] 	 Scanning for conjecture ... 
% 1.88/1.31  % [INFO] 	 Found a conjecture and 18 axioms. Running axiom selection ... 
% 2.04/1.34  % [INFO] 	 Axiom selection finished. Selected 18 axioms (removed 0 axioms). 
% 2.04/1.36  % [INFO] 	 Problem is propositional (TPTP CNF). 
% 2.20/1.37  % [INFO] 	 Type checking passed. 
% 2.20/1.37  % [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 ... 
% 2.99/1.73  % External prover 'e' found a proof!
% 2.99/1.73  % [INFO] 	 Killing All external provers ... 
% 2.99/1.73  % Time passed: 1181ms (effective reasoning time: 693ms)
% 2.99/1.73  % 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)>
% 2.99/1.73  % Axioms used in derivation (18): knight_husband_makes_true_statements, knaves_make_false_statements, people_do_not_equal_their_statement2, husband, wife, not_both_a_knight_and_knave, husband_not_wife, knaves_do_not_say_the_truth, truthful_knight_husband_means_knight_wife, everyone_a_knight_or_knave, husband_makes_statements, knight_wife_or_truthful_husband, knight_wife_means_truthful_husband, statements_are_true_or_false, knights_make_true_statements, knights_say_the_truth, peoples_statements, people_do_not_equal_their_statements1
% 2.99/1.73  % No. of inferences in proof: 39
% 2.99/1.73  % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 1181 ms resp. 693 ms w/o parsing
% 3.38/1.80  % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 3.38/1.80  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------