TSTP Solution File: PUZ035-7 by Leo-III---1.7.7

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Leo-III---1.7.7
% Problem  : PUZ035-7 : TPTP v8.1.2. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run_Leo-III %s %d

% Computer : n019.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:31 EDT 2023

% Result   : Unsatisfiable 2.96s 1.68s
% Output   : Refutation 3.04s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    2
%            Number of leaves      :   25
% Syntax   : Number of formulae    :   40 (   1 unt;  11 typ;   0 def)
%            Number of atoms       :   69 (   0 equ;   0 cnn)
%            Maximal formula atoms :    3 (   2 avg)
%            Number of connectives :  248 (  36   ~;  40   |;   0   &; 172   @)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   8 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    9 (   9   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   12 (  11 usr;   7 con; 0-3 aty)
%            Number of variables   :   50 (   0   ^;  50   !;   0   ?;  50   :)

% Comments : 
%------------------------------------------------------------------------------
thf(reply_type,type,
    reply: $i > $i > $i > $o ).

thf(asked_type,type,
    asked: $i ).

thf(or_type,type,
    or: $i > $i > $i ).

thf(isa_type,type,
    isa: $i > $i > $i ).

thf(knight_type,type,
    knight: $i ).

thf(other_type,type,
    other: $i ).

thf(truth_type,type,
    truth: $i > $o ).

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

thf(yes_type,type,
    yes: $i ).

thf(no_type,type,
    no: $i ).

thf(not_type,type,
    not: $i > $i ).

thf(8,axiom,
    ! [B: $i,A: $i] :
      ( ( reply @ A @ B @ yes )
      | ( reply @ A @ B @ no ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',yes_or_no) ).

thf(29,plain,
    ! [B: $i,A: $i] :
      ( ( reply @ A @ B @ yes )
      | ( reply @ A @ B @ no ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).

thf(14,axiom,
    ! [B: $i,A: $i] :
      ( ( truth @ ( or @ A @ B ) )
      | ~ ( truth @ B ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',or3) ).

thf(41,plain,
    ! [B: $i,A: $i] :
      ( ( truth @ ( or @ A @ B ) )
      | ~ ( truth @ B ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).

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

thf(17,plain,
    ! [A: $i] :
      ( ( truth @ ( isa @ A @ knight ) )
      | ( truth @ ( isa @ A @ knave ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

thf(7,axiom,
    ! [B: $i,A: $i] :
      ( ( truth @ A )
      | ( truth @ ( isa @ B @ knight ) )
      | ( reply @ B @ A @ yes ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_make_true_statements4) ).

thf(27,plain,
    ! [B: $i,A: $i] :
      ( ( truth @ A )
      | ( truth @ ( isa @ B @ knight ) )
      | ( reply @ B @ A @ yes ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).

thf(13,axiom,
    ! [B: $i,A: $i] :
      ( ( truth @ ( or @ A @ B ) )
      | ~ ( truth @ A ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',or2) ).

thf(39,plain,
    ! [B: $i,A: $i] :
      ( ( truth @ ( or @ A @ B ) )
      | ~ ( truth @ A ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).

thf(11,axiom,
    ! [A: $i] :
      ( ~ ( truth @ A )
      | ~ ( truth @ ( not @ A ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',true2) ).

thf(35,plain,
    ! [A: $i] :
      ( ~ ( truth @ A )
      | ~ ( truth @ ( not @ A ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).

thf(9,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( reply @ A @ B @ yes )
      | ~ ( reply @ A @ B @ no ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not_yes_and_no) ).

thf(31,plain,
    ! [B: $i,A: $i] :
      ( ~ ( reply @ A @ B @ yes )
      | ~ ( reply @ A @ B @ no ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).

thf(5,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( truth @ A )
      | ( truth @ ( isa @ B @ knight ) )
      | ~ ( reply @ B @ A @ yes ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_make_true_statements2) ).

thf(23,plain,
    ! [B: $i,A: $i] :
      ( ~ ( truth @ A )
      | ( truth @ ( isa @ B @ knight ) )
      | ~ ( reply @ B @ A @ yes ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).

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

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

thf(1,negated_conjecture,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( reply @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) @ A )
      | ~ ( truth @ ( isa @ asked @ B ) )
      | ~ ( truth @ ( isa @ other @ C ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).

thf(15,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( reply @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) @ A )
      | ~ ( truth @ ( isa @ asked @ B ) )
      | ~ ( truth @ ( isa @ other @ C ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).

thf(12,axiom,
    ! [B: $i,A: $i] :
      ( ( truth @ A )
      | ( truth @ B )
      | ~ ( truth @ ( or @ A @ B ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',or1) ).

thf(37,plain,
    ! [B: $i,A: $i] :
      ( ( truth @ A )
      | ( truth @ B )
      | ~ ( truth @ ( or @ A @ B ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).

thf(6,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( truth @ A )
      | ~ ( truth @ ( isa @ B @ knight ) )
      | ( reply @ B @ A @ yes ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_make_true_statements3) ).

thf(25,plain,
    ! [B: $i,A: $i] :
      ( ~ ( truth @ A )
      | ~ ( truth @ ( isa @ B @ knight ) )
      | ( reply @ B @ A @ yes ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).

thf(4,axiom,
    ! [B: $i,A: $i] :
      ( ( truth @ A )
      | ~ ( truth @ ( isa @ B @ knight ) )
      | ~ ( reply @ B @ A @ yes ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_make_true_statements1) ).

thf(21,plain,
    ! [B: $i,A: $i] :
      ( ( truth @ A )
      | ~ ( truth @ ( isa @ B @ knight ) )
      | ~ ( reply @ B @ A @ yes ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).

thf(10,axiom,
    ! [A: $i] :
      ( ( truth @ A )
      | ( truth @ ( not @ A ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',true1) ).

thf(33,plain,
    ! [A: $i] :
      ( ( truth @ A )
      | ( truth @ ( not @ A ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).

thf(46,plain,
    $false,
    inference(e,[status(thm)],[29,41,17,27,39,35,31,23,19,15,37,25,21,33]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : PUZ035-7 : TPTP v8.1.2. Released v2.0.0.
% 0.03/0.15  % Command  : run_Leo-III %s %d
% 0.15/0.36  % Computer : n019.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 : Thu May 18 19:56:13 EDT 2023
% 0.15/0.36  % CPUTime  : 
% 0.96/0.89  % [INFO] 	 Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ... 
% 1.21/1.02  % [INFO] 	 Parsing done (125ms). 
% 1.21/1.03  % [INFO] 	 Running in sequential loop mode. 
% 1.61/1.22  % [INFO] 	 eprover registered as external prover. 
% 1.74/1.23  % [INFO] 	 cvc4 registered as external prover. 
% 1.74/1.23  % [INFO] 	 Scanning for conjecture ... 
% 1.85/1.28  % [INFO] 	 Found a conjecture and 13 axioms. Running axiom selection ... 
% 1.85/1.31  % [INFO] 	 Axiom selection finished. Selected 13 axioms (removed 0 axioms). 
% 1.85/1.32  % [INFO] 	 Problem is propositional (TPTP CNF). 
% 1.85/1.33  % [INFO] 	 Type checking passed. 
% 2.04/1.33  % [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.96/1.68  % External prover 'e' found a proof!
% 2.96/1.68  % [INFO] 	 Killing All external provers ... 
% 2.96/1.68  % Time passed: 1159ms (effective reasoning time: 643ms)
% 2.96/1.68  % 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.96/1.68  % Axioms used in derivation (13): true2, knights_make_true_statements2, true1, yes_or_no, knights_make_true_statements3, or1, knights_make_true_statements4, knights_make_true_statements1, not_yes_and_no, everyone_a_knight_or_knave, or2, not_both_a_knight_and_knave, or3
% 2.96/1.68  % No. of inferences in proof: 29
% 2.96/1.68  % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 1159 ms resp. 643 ms w/o parsing
% 3.04/1.71  % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 3.04/1.71  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------