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

View Problem - Process Solution

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

% Computer : n007.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:30 EDT 2023

% Result   : Unsatisfiable 2.82s 1.58s
% Output   : Refutation 2.87s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    2
%            Number of leaves      :   17
% Syntax   : Number of formulae    :   27 (   3 unt;   8 typ;   0 def)
%            Number of atoms       :   41 (   0 equ;   0 cnn)
%            Maximal formula atoms :    3 (   2 avg)
%            Number of connectives :  146 (  22   ~;  22   |;   0   &; 102   @)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   7 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    7 (   7   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :    9 (   8 usr;   5 con; 0-2 aty)
%            Number of variables   :   28 (   0   ^;  28   !;   0   ?;  28   :)

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

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

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

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

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

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

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

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

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

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

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

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

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(14,plain,
    ! [A: $i] :
      ( ~ ( truth @ ( isa @ A @ knight ) )
      | ~ ( truth @ ( isa @ A @ knave ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).

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

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

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

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

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(12,plain,
    ! [A: $i] :
      ( ( truth @ ( isa @ A @ knight ) )
      | ( truth @ ( isa @ A @ knave ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

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

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

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

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

thf(9,axiom,
    says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',says_yes) ).

thf(26,plain,
    says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).

thf(30,plain,
    $false,
    inference(e,[status(thm)],[10,24,14,20,22,12,18,16,26]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem  : PUZ035-5 : TPTP v8.1.2. Released v2.0.0.
% 0.13/0.15  % Command  : run_Leo-III %s %d
% 0.15/0.36  % Computer : n007.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:42:09 EDT 2023
% 0.15/0.36  % CPUTime  : 
% 1.00/0.86  % [INFO] 	 Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ... 
% 1.18/0.98  % [INFO] 	 Parsing done (124ms). 
% 1.18/0.99  % [INFO] 	 Running in sequential loop mode. 
% 1.67/1.19  % [INFO] 	 eprover registered as external prover. 
% 1.67/1.19  % [INFO] 	 cvc4 registered as external prover. 
% 1.67/1.19  % [INFO] 	 Scanning for conjecture ... 
% 1.81/1.24  % [INFO] 	 Found a conjecture and 8 axioms. Running axiom selection ... 
% 1.81/1.27  % [INFO] 	 Axiom selection finished. Selected 8 axioms (removed 0 axioms). 
% 1.81/1.28  % [INFO] 	 Problem is propositional (TPTP CNF). 
% 1.81/1.28  % [INFO] 	 Type checking passed. 
% 1.81/1.28  % [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.82/1.58  % External prover 'e' found a proof!
% 2.82/1.58  % [INFO] 	 Killing All external provers ... 
% 2.82/1.58  % Time passed: 1069ms (effective reasoning time: 588ms)
% 2.82/1.58  % 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.82/1.58  % Axioms used in derivation (8): everyone_a_knight_or_knave, knights_make_true_statements2, or1, says_yes, knights_make_true_statements1, or2, not_both_a_knight_and_knave, or3
% 2.82/1.58  % No. of inferences in proof: 19
% 2.82/1.58  % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 1069 ms resp. 588 ms w/o parsing
% 2.87/1.61  % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 2.87/1.61  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------