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

View Problem - Process Solution

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

% Computer : n011.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.70s 1.59s
% Output   : Refutation 2.93s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    2
%            Number of leaves      :   24
% Syntax   : Number of formulae    :   39 (   5 unt;  10 typ;   0 def)
%            Number of atoms       :   67 (   0 equ;   0 cnn)
%            Maximal formula atoms :    3 (   2 avg)
%            Number of connectives :  238 (  38   ~;  38   |;   0   &; 162   @)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   7 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    9 (   9   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   11 (  10 usr;   5 con; 0-2 aty)
%            Number of variables   :   40 (   0   ^;  40   !;   0   ?;  40   :)

% 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(says_type,type,
    says: $i > $i > $o ).

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

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

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

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

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

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

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

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

thf(17,plain,
    ! [A: $i] :
      ( ~ ( person @ A )
      | ( 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 @ ( not @ A ) )
      | ~ ( says @ B @ A ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',statements_are_true_or_false) ).

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

thf(13,axiom,
    person @ asked,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',asked_person) ).

thf(39,plain,
    person @ asked,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).

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

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

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

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

thf(3,axiom,
    ! [A: $i] :
      ( ~ ( truth @ ( isa @ A @ knight ) )
      | ~ ( truth @ ( isa @ A @ knave ) ) ),
    file('/export/starexec/sandbox/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] :
      ( ~ ( truth @ ( isa @ asked @ A ) )
      | ~ ( truth @ ( isa @ other @ B ) )
      | ~ ( says @ asked @ C ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_answer) ).

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

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

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

thf(6,axiom,
    ( ( says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) )
    | ( says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',one_is_knight_answer) ).

thf(25,plain,
    ( ( says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) )
    | ( says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).

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

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

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

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

thf(14,axiom,
    person @ other,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',other_person) ).

thf(40,plain,
    person @ other,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).

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

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

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem  : PUZ035-4 : TPTP v8.1.2. Released v2.0.0.
% 0.07/0.15  % Command  : run_Leo-III %s %d
% 0.16/0.36  % Computer : n011.cluster.edu
% 0.16/0.36  % Model    : x86_64 x86_64
% 0.16/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.16/0.36  % Memory   : 8042.1875MB
% 0.16/0.36  % 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 19:58:04 EDT 2023
% 0.16/0.37  % CPUTime  : 
% 0.85/0.86  % [INFO] 	 Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ... 
% 1.14/0.98  % [INFO] 	 Parsing done (120ms). 
% 1.14/0.99  % [INFO] 	 Running in sequential loop mode. 
% 1.73/1.18  % [INFO] 	 eprover registered as external prover. 
% 1.73/1.18  % [INFO] 	 cvc4 registered as external prover. 
% 1.73/1.19  % [INFO] 	 Scanning for conjecture ... 
% 1.89/1.24  % [INFO] 	 Found a conjecture and 13 axioms. Running axiom selection ... 
% 1.89/1.26  % [INFO] 	 Axiom selection finished. Selected 13 axioms (removed 0 axioms). 
% 1.89/1.28  % [INFO] 	 Problem is propositional (TPTP CNF). 
% 1.89/1.28  % [INFO] 	 Type checking passed. 
% 1.89/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.70/1.58  % External prover 'cvc4' found a proof!
% 2.70/1.58  % [INFO] 	 Killing All external provers ... 
% 2.70/1.59  % Time passed: 1049ms (effective reasoning time: 592ms)
% 2.70/1.59  % 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.70/1.59  % Axioms used in derivation (13): everyone_a_knight_or_knave, other_person, one_is_knight_answer, statements_are_true_or_false2, not2, statements_are_true_or_false, statements_are_true_or_false3, not_both_a_knight_and_knave, not1, knights_make_true_statements2, or_def, asked_person, knights_make_true_statements1
% 2.70/1.59  % No. of inferences in proof: 29
% 2.70/1.59  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 1049 ms resp. 592 ms w/o parsing
% 2.93/1.64  % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 2.93/1.64  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------