TSTP Solution File: PUZ035-4 by LEO-II---1.7.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : LEO-II---1.7.0
% Problem  : PUZ035-4 : TPTP v8.1.0. Released v2.0.0.
% Transfm  : none
% Format   : tptp
% Command  : leo --timeout %d --proofoutput 1 --foatp e --atp e=./eprover %s

% Computer : n025.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  : 600s
% DateTime : Mon Jul 18 18:19:21 EDT 2022

% Result   : Unsatisfiable 0.19s 0.41s
% Output   : CNFRefutation 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   13
%            Number of leaves      :   25
% Syntax   : Number of formulae    :  126 (  57 unt;  10 typ;   0 def)
%            Number of atoms       :  618 ( 167 equ;   0 cnn)
%            Maximal formula atoms :    3 (   5 avg)
%            Number of connectives :  945 ( 141   ~; 168   |;   0   &; 636   @)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   3 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    9 (   9   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   13 (  10 usr;   6 con; 0-2 aty)
%            Number of variables   :  187 (   0   ^ 187   !;   0   ?; 187   :)

% Comments : 
%------------------------------------------------------------------------------
thf(tp_asked,type,
    asked: $i ).

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

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

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

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

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

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

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

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

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

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

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

thf(3,axiom,
    ! [S2: $i,Anything: $i] :
      ( ~ ( truth @ S2 )
      | ~ ( truth @ ( not @ ( or @ Anything @ S2 ) ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not2) ).

thf(4,axiom,
    ! [S1: $i,Anything: $i] :
      ( ~ ( truth @ S1 )
      | ~ ( truth @ ( not @ ( or @ S1 @ Anything ) ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not1) ).

thf(5,axiom,
    ! [S1: $i,S2: $i] :
      ( ( truth @ S1 )
      | ( truth @ S2 )
      | ~ ( truth @ ( or @ S1 @ S2 ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',or_def) ).

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

thf(7,axiom,
    ! [S: $i,Anyone: $i] :
      ( ( truth @ S )
      | ( truth @ ( not @ S ) )
      | ~ ( says @ Anyone @ ( not @ S ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',statements_are_true_or_false2) ).

thf(8,axiom,
    ! [S: $i,Anyone: $i] :
      ( ( truth @ S )
      | ( truth @ ( not @ S ) )
      | ~ ( says @ Anyone @ S ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',statements_are_true_or_false) ).

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

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

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

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

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

thf(14,conjecture,
    $false,
    file('no conjecture given, we try to refute the axioms',dummy_conjecture) ).

thf(15,negated_conjecture,
    $false = $false,
    inference(negate_conjecture,[status(cth)],[14]) ).

thf(16,negated_conjecture,
    ! [P1: $i,P2: $i,S: $i] :
      ( ~ ( truth @ ( isa @ asked @ P1 ) )
      | ~ ( truth @ ( isa @ other @ P2 ) )
      | ~ ( says @ asked @ S ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).

thf(17,plain,
    $false = $false,
    inference(unfold_def,[status(thm)],[15]) ).

thf(18,plain,
    ( ( person @ other )
    = $true ),
    inference(unfold_def,[status(thm)],[1]) ).

thf(19,plain,
    ( ( person @ asked )
    = $true ),
    inference(unfold_def,[status(thm)],[2]) ).

thf(20,plain,
    ( ( ! [S2: $i,Anything: $i] :
          ( ~ ( truth @ S2 )
          | ~ ( truth @ ( not @ ( or @ Anything @ S2 ) ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[3]) ).

thf(21,plain,
    ( ( ! [S1: $i,Anything: $i] :
          ( ~ ( truth @ S1 )
          | ~ ( truth @ ( not @ ( or @ S1 @ Anything ) ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[4]) ).

thf(22,plain,
    ( ( ! [S1: $i,S2: $i] :
          ( ( truth @ S1 )
          | ( truth @ S2 )
          | ~ ( truth @ ( or @ S1 @ S2 ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[5]) ).

thf(23,plain,
    ( ( ! [S: $i] :
          ( ~ ( truth @ S )
          | ~ ( truth @ ( not @ S ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[6]) ).

thf(24,plain,
    ( ( ! [S: $i,Anyone: $i] :
          ( ( truth @ S )
          | ( truth @ ( not @ S ) )
          | ~ ( says @ Anyone @ ( not @ S ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[7]) ).

thf(25,plain,
    ( ( ! [S: $i,Anyone: $i] :
          ( ( truth @ S )
          | ( truth @ ( not @ S ) )
          | ~ ( says @ Anyone @ S ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[8]) ).

thf(26,plain,
    ( ( ( says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) )
      | ( says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[9]) ).

thf(27,plain,
    ( ( ! [P: $i,S: $i] :
          ( ( truth @ ( isa @ P @ knight ) )
          | ~ ( says @ P @ S )
          | ~ ( truth @ S ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[10]) ).

thf(28,plain,
    ( ( ! [S: $i,P: $i] :
          ( ( truth @ S )
          | ~ ( says @ P @ S )
          | ~ ( truth @ ( isa @ P @ knight ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[11]) ).

thf(29,plain,
    ( ( ! [P: $i] :
          ( ~ ( truth @ ( isa @ P @ knight ) )
          | ~ ( truth @ ( isa @ P @ knave ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[12]) ).

thf(30,plain,
    ( ( ! [P: $i] :
          ( ~ ( person @ P )
          | ( truth @ ( isa @ P @ knight ) )
          | ( truth @ ( isa @ P @ knave ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[13]) ).

thf(31,plain,
    ( ( ! [P1: $i,P2: $i,S: $i] :
          ( ~ ( truth @ ( isa @ asked @ P1 ) )
          | ~ ( truth @ ( isa @ other @ P2 ) )
          | ~ ( says @ asked @ S ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[16]) ).

thf(32,plain,
    ( ( ~ $false )
    = $true ),
    inference(polarity_switch,[status(thm)],[17]) ).

thf(33,plain,
    ( ( ! [S2: $i] :
          ( ~ ( truth @ S2 )
          | ! [Anything: $i] :
              ~ ( truth @ ( not @ ( or @ Anything @ S2 ) ) ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[20]) ).

thf(34,plain,
    ( ( ! [S1: $i] :
          ( ~ ( truth @ S1 )
          | ! [Anything: $i] :
              ~ ( truth @ ( not @ ( or @ S1 @ Anything ) ) ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[21]) ).

thf(35,plain,
    ( ( ! [S1: $i] :
          ( ( truth @ S1 )
          | ! [S2: $i] :
              ( ( truth @ S2 )
              | ~ ( truth @ ( or @ S1 @ S2 ) ) ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[22]) ).

thf(36,plain,
    ( ( ! [S: $i] :
          ( ( truth @ S )
          | ( truth @ ( not @ S ) )
          | ! [Anyone: $i] :
              ~ ( says @ Anyone @ ( not @ S ) ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[24]) ).

thf(37,plain,
    ( ( ! [S: $i] :
          ( ( truth @ S )
          | ( truth @ ( not @ S ) )
          | ! [Anyone: $i] :
              ~ ( says @ Anyone @ S ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[25]) ).

thf(38,plain,
    ( ( ! [P: $i] :
          ( ( truth @ ( isa @ P @ knight ) )
          | ! [S: $i] :
              ( ~ ( says @ P @ S )
              | ~ ( truth @ S ) ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[27]) ).

thf(39,plain,
    ( ( ! [S: $i] :
          ( ( truth @ S )
          | ! [P: $i] :
              ( ~ ( says @ P @ S )
              | ~ ( truth @ ( isa @ P @ knight ) ) ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[28]) ).

thf(40,plain,
    ( ( ! [P1: $i] :
          ( ~ ( truth @ ( isa @ asked @ P1 ) )
          | ! [P2: $i] :
              ~ ( truth @ ( isa @ other @ P2 ) )
          | ! [S: $i] :
              ~ ( says @ asked @ S ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[31]) ).

thf(41,plain,
    ( ( ! [P1: $i] :
          ( ~ ( truth @ ( isa @ asked @ P1 ) )
          | ! [P2: $i] :
              ~ ( truth @ ( isa @ other @ P2 ) )
          | ! [S: $i] :
              ~ ( says @ asked @ S ) ) )
    = $true ),
    inference(copy,[status(thm)],[40]) ).

thf(42,plain,
    ( ( ! [P: $i] :
          ( ~ ( person @ P )
          | ( truth @ ( isa @ P @ knight ) )
          | ( truth @ ( isa @ P @ knave ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[30]) ).

thf(43,plain,
    ( ( ! [P: $i] :
          ( ~ ( truth @ ( isa @ P @ knight ) )
          | ~ ( truth @ ( isa @ P @ knave ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[29]) ).

thf(44,plain,
    ( ( ! [S: $i] :
          ( ( truth @ S )
          | ! [P: $i] :
              ( ~ ( says @ P @ S )
              | ~ ( truth @ ( isa @ P @ knight ) ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[39]) ).

thf(45,plain,
    ( ( ! [P: $i] :
          ( ( truth @ ( isa @ P @ knight ) )
          | ! [S: $i] :
              ( ~ ( says @ P @ S )
              | ~ ( truth @ S ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[38]) ).

thf(46,plain,
    ( ( ( says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) )
      | ( says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[26]) ).

thf(47,plain,
    ( ( ! [S: $i] :
          ( ( truth @ S )
          | ( truth @ ( not @ S ) )
          | ! [Anyone: $i] :
              ~ ( says @ Anyone @ S ) ) )
    = $true ),
    inference(copy,[status(thm)],[37]) ).

thf(48,plain,
    ( ( ! [S: $i] :
          ( ( truth @ S )
          | ( truth @ ( not @ S ) )
          | ! [Anyone: $i] :
              ~ ( says @ Anyone @ ( not @ S ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[36]) ).

thf(49,plain,
    ( ( ! [S: $i] :
          ( ~ ( truth @ S )
          | ~ ( truth @ ( not @ S ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[23]) ).

thf(50,plain,
    ( ( ! [S1: $i] :
          ( ( truth @ S1 )
          | ! [S2: $i] :
              ( ( truth @ S2 )
              | ~ ( truth @ ( or @ S1 @ S2 ) ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[35]) ).

thf(51,plain,
    ( ( ! [S1: $i] :
          ( ~ ( truth @ S1 )
          | ! [Anything: $i] :
              ~ ( truth @ ( not @ ( or @ S1 @ Anything ) ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[34]) ).

thf(52,plain,
    ( ( ! [S2: $i] :
          ( ~ ( truth @ S2 )
          | ! [Anything: $i] :
              ~ ( truth @ ( not @ ( or @ Anything @ S2 ) ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[33]) ).

thf(53,plain,
    ( ( person @ asked )
    = $true ),
    inference(copy,[status(thm)],[19]) ).

thf(54,plain,
    ( ( person @ other )
    = $true ),
    inference(copy,[status(thm)],[18]) ).

thf(55,plain,
    ( ( ~ $false )
    = $true ),
    inference(copy,[status(thm)],[32]) ).

thf(56,plain,
    ! [SV1: $i] :
      ( ( ~ ( truth @ ( isa @ asked @ SV1 ) )
        | ! [P2: $i] :
            ~ ( truth @ ( isa @ other @ P2 ) )
        | ! [S: $i] :
            ~ ( says @ asked @ S ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[41]) ).

thf(57,plain,
    ! [SV2: $i] :
      ( ( ~ ( person @ SV2 )
        | ( truth @ ( isa @ SV2 @ knight ) )
        | ( truth @ ( isa @ SV2 @ knave ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[42]) ).

thf(58,plain,
    ! [SV3: $i] :
      ( ( ~ ( truth @ ( isa @ SV3 @ knight ) )
        | ~ ( truth @ ( isa @ SV3 @ knave ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[43]) ).

thf(59,plain,
    ! [SV4: $i] :
      ( ( ( truth @ SV4 )
        | ! [SY22: $i] :
            ( ~ ( says @ SY22 @ SV4 )
            | ~ ( truth @ ( isa @ SY22 @ knight ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[44]) ).

thf(60,plain,
    ! [SV5: $i] :
      ( ( ( truth @ ( isa @ SV5 @ knight ) )
        | ! [SY23: $i] :
            ( ~ ( says @ SV5 @ SY23 )
            | ~ ( truth @ SY23 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[45]) ).

thf(61,plain,
    ( ( ( says @ asked @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) )
      = $true )
    | ( ( says @ asked @ ( not @ ( or @ ( isa @ asked @ knight ) @ ( isa @ other @ knight ) ) ) )
      = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[46]) ).

thf(62,plain,
    ! [SV6: $i] :
      ( ( ( truth @ SV6 )
        | ( truth @ ( not @ SV6 ) )
        | ! [SY24: $i] :
            ~ ( says @ SY24 @ SV6 ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[47]) ).

thf(63,plain,
    ! [SV7: $i] :
      ( ( ( truth @ SV7 )
        | ( truth @ ( not @ SV7 ) )
        | ! [SY25: $i] :
            ~ ( says @ SY25 @ ( not @ SV7 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[48]) ).

thf(64,plain,
    ! [SV8: $i] :
      ( ( ~ ( truth @ SV8 )
        | ~ ( truth @ ( not @ SV8 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[49]) ).

thf(65,plain,
    ! [SV9: $i] :
      ( ( ( truth @ SV9 )
        | ! [SY26: $i] :
            ( ( truth @ SY26 )
            | ~ ( truth @ ( or @ SV9 @ SY26 ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[50]) ).

thf(66,plain,
    ! [SV10: $i] :
      ( ( ~ ( truth @ SV10 )
        | ! [SY27: $i] :
            ~ ( truth @ ( not @ ( or @ SV10 @ SY27 ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[51]) ).

thf(67,plain,
    ! [SV11: $i] :
      ( ( ~ ( truth @ SV11 )
        | ! [SY28: $i] :
            ~ ( truth @ ( not @ ( or @ SY28 @ SV11 ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[52]) ).

thf(68,plain,
    $false = $false,
    inference(extcnf_not_pos,[status(thm)],[55]) ).

thf(69,plain,
    ! [SV1: $i] :
      ( ( ( ~ ( truth @ ( isa @ asked @ SV1 ) ) )
        = $true )
      | ( ( ! [P2: $i] :
              ~ ( truth @ ( isa @ other @ P2 ) )
          | ! [S: $i] :
              ~ ( says @ asked @ S ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[56]) ).

thf(70,plain,
    ! [SV2: $i] :
      ( ( ( ~ ( person @ SV2 ) )
        = $true )
      | ( ( ( truth @ ( isa @ SV2 @ knight ) )
          | ( truth @ ( isa @ SV2 @ knave ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[57]) ).

thf(71,plain,
    ! [SV3: $i] :
      ( ( ( ~ ( truth @ ( isa @ SV3 @ knight ) ) )
        = $true )
      | ( ( ~ ( truth @ ( isa @ SV3 @ knave ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[58]) ).

thf(72,plain,
    ! [SV4: $i] :
      ( ( ( truth @ SV4 )
        = $true )
      | ( ( ! [SY22: $i] :
              ( ~ ( says @ SY22 @ SV4 )
              | ~ ( truth @ ( isa @ SY22 @ knight ) ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[59]) ).

thf(73,plain,
    ! [SV5: $i] :
      ( ( ( truth @ ( isa @ SV5 @ knight ) )
        = $true )
      | ( ( ! [SY23: $i] :
              ( ~ ( says @ SV5 @ SY23 )
              | ~ ( truth @ SY23 ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[60]) ).

thf(74,plain,
    ! [SV6: $i] :
      ( ( ( truth @ SV6 )
        = $true )
      | ( ( ( truth @ ( not @ SV6 ) )
          | ! [SY24: $i] :
              ~ ( says @ SY24 @ SV6 ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[62]) ).

thf(75,plain,
    ! [SV7: $i] :
      ( ( ( truth @ SV7 )
        = $true )
      | ( ( ( truth @ ( not @ SV7 ) )
          | ! [SY25: $i] :
              ~ ( says @ SY25 @ ( not @ SV7 ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[63]) ).

thf(76,plain,
    ! [SV8: $i] :
      ( ( ( ~ ( truth @ SV8 ) )
        = $true )
      | ( ( ~ ( truth @ ( not @ SV8 ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[64]) ).

thf(77,plain,
    ! [SV9: $i] :
      ( ( ( truth @ SV9 )
        = $true )
      | ( ( ! [SY26: $i] :
              ( ( truth @ SY26 )
              | ~ ( truth @ ( or @ SV9 @ SY26 ) ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[65]) ).

thf(78,plain,
    ! [SV10: $i] :
      ( ( ( ~ ( truth @ SV10 ) )
        = $true )
      | ( ( ! [SY27: $i] :
              ~ ( truth @ ( not @ ( or @ SV10 @ SY27 ) ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[66]) ).

thf(79,plain,
    ! [SV11: $i] :
      ( ( ( ~ ( truth @ SV11 ) )
        = $true )
      | ( ( ! [SY28: $i] :
              ~ ( truth @ ( not @ ( or @ SY28 @ SV11 ) ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[67]) ).

thf(80,plain,
    ! [SV1: $i] :
      ( ( ( truth @ ( isa @ asked @ SV1 ) )
        = $false )
      | ( ( ! [P2: $i] :
              ~ ( truth @ ( isa @ other @ P2 ) )
          | ! [S: $i] :
              ~ ( says @ asked @ S ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[69]) ).

thf(81,plain,
    ! [SV2: $i] :
      ( ( ( person @ SV2 )
        = $false )
      | ( ( ( truth @ ( isa @ SV2 @ knight ) )
          | ( truth @ ( isa @ SV2 @ knave ) ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[70]) ).

thf(82,plain,
    ! [SV3: $i] :
      ( ( ( truth @ ( isa @ SV3 @ knight ) )
        = $false )
      | ( ( ~ ( truth @ ( isa @ SV3 @ knave ) ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[71]) ).

thf(83,plain,
    ! [SV4: $i,SV12: $i] :
      ( ( ( ~ ( says @ SV12 @ SV4 )
          | ~ ( truth @ ( isa @ SV12 @ knight ) ) )
        = $true )
      | ( ( truth @ SV4 )
        = $true ) ),
    inference(extcnf_forall_pos,[status(thm)],[72]) ).

thf(84,plain,
    ! [SV13: $i,SV5: $i] :
      ( ( ( ~ ( says @ SV5 @ SV13 )
          | ~ ( truth @ SV13 ) )
        = $true )
      | ( ( truth @ ( isa @ SV5 @ knight ) )
        = $true ) ),
    inference(extcnf_forall_pos,[status(thm)],[73]) ).

thf(85,plain,
    ! [SV6: $i] :
      ( ( ( truth @ ( not @ SV6 ) )
        = $true )
      | ( ( ! [SY24: $i] :
              ~ ( says @ SY24 @ SV6 ) )
        = $true )
      | ( ( truth @ SV6 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[74]) ).

thf(86,plain,
    ! [SV7: $i] :
      ( ( ( truth @ ( not @ SV7 ) )
        = $true )
      | ( ( ! [SY25: $i] :
              ~ ( says @ SY25 @ ( not @ SV7 ) ) )
        = $true )
      | ( ( truth @ SV7 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[75]) ).

thf(87,plain,
    ! [SV8: $i] :
      ( ( ( truth @ SV8 )
        = $false )
      | ( ( ~ ( truth @ ( not @ SV8 ) ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[76]) ).

thf(88,plain,
    ! [SV9: $i,SV14: $i] :
      ( ( ( ( truth @ SV14 )
          | ~ ( truth @ ( or @ SV9 @ SV14 ) ) )
        = $true )
      | ( ( truth @ SV9 )
        = $true ) ),
    inference(extcnf_forall_pos,[status(thm)],[77]) ).

thf(89,plain,
    ! [SV10: $i] :
      ( ( ( truth @ SV10 )
        = $false )
      | ( ( ! [SY27: $i] :
              ~ ( truth @ ( not @ ( or @ SV10 @ SY27 ) ) ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[78]) ).

thf(90,plain,
    ! [SV11: $i] :
      ( ( ( truth @ SV11 )
        = $false )
      | ( ( ! [SY28: $i] :
              ~ ( truth @ ( not @ ( or @ SY28 @ SV11 ) ) ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[79]) ).

thf(91,plain,
    ! [SV1: $i] :
      ( ( ( ! [P2: $i] :
              ~ ( truth @ ( isa @ other @ P2 ) ) )
        = $true )
      | ( ( ! [S: $i] :
              ~ ( says @ asked @ S ) )
        = $true )
      | ( ( truth @ ( isa @ asked @ SV1 ) )
        = $false ) ),
    inference(extcnf_or_pos,[status(thm)],[80]) ).

thf(92,plain,
    ! [SV2: $i] :
      ( ( ( truth @ ( isa @ SV2 @ knight ) )
        = $true )
      | ( ( truth @ ( isa @ SV2 @ knave ) )
        = $true )
      | ( ( person @ SV2 )
        = $false ) ),
    inference(extcnf_or_pos,[status(thm)],[81]) ).

thf(93,plain,
    ! [SV3: $i] :
      ( ( ( truth @ ( isa @ SV3 @ knave ) )
        = $false )
      | ( ( truth @ ( isa @ SV3 @ knight ) )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[82]) ).

thf(94,plain,
    ! [SV4: $i,SV12: $i] :
      ( ( ( ~ ( says @ SV12 @ SV4 ) )
        = $true )
      | ( ( ~ ( truth @ ( isa @ SV12 @ knight ) ) )
        = $true )
      | ( ( truth @ SV4 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[83]) ).

thf(95,plain,
    ! [SV13: $i,SV5: $i] :
      ( ( ( ~ ( says @ SV5 @ SV13 ) )
        = $true )
      | ( ( ~ ( truth @ SV13 ) )
        = $true )
      | ( ( truth @ ( isa @ SV5 @ knight ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[84]) ).

thf(96,plain,
    ! [SV6: $i,SV15: $i] :
      ( ( ( ~ ( says @ SV15 @ SV6 ) )
        = $true )
      | ( ( truth @ ( not @ SV6 ) )
        = $true )
      | ( ( truth @ SV6 )
        = $true ) ),
    inference(extcnf_forall_pos,[status(thm)],[85]) ).

thf(97,plain,
    ! [SV7: $i,SV16: $i] :
      ( ( ( ~ ( says @ SV16 @ ( not @ SV7 ) ) )
        = $true )
      | ( ( truth @ ( not @ SV7 ) )
        = $true )
      | ( ( truth @ SV7 )
        = $true ) ),
    inference(extcnf_forall_pos,[status(thm)],[86]) ).

thf(98,plain,
    ! [SV8: $i] :
      ( ( ( truth @ ( not @ SV8 ) )
        = $false )
      | ( ( truth @ SV8 )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[87]) ).

thf(99,plain,
    ! [SV9: $i,SV14: $i] :
      ( ( ( truth @ SV14 )
        = $true )
      | ( ( ~ ( truth @ ( or @ SV9 @ SV14 ) ) )
        = $true )
      | ( ( truth @ SV9 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[88]) ).

thf(100,plain,
    ! [SV17: $i,SV10: $i] :
      ( ( ( ~ ( truth @ ( not @ ( or @ SV10 @ SV17 ) ) ) )
        = $true )
      | ( ( truth @ SV10 )
        = $false ) ),
    inference(extcnf_forall_pos,[status(thm)],[89]) ).

thf(101,plain,
    ! [SV11: $i,SV18: $i] :
      ( ( ( ~ ( truth @ ( not @ ( or @ SV18 @ SV11 ) ) ) )
        = $true )
      | ( ( truth @ SV11 )
        = $false ) ),
    inference(extcnf_forall_pos,[status(thm)],[90]) ).

thf(102,plain,
    ! [SV1: $i,SV19: $i] :
      ( ( ( ~ ( truth @ ( isa @ other @ SV19 ) ) )
        = $true )
      | ( ( ! [S: $i] :
              ~ ( says @ asked @ S ) )
        = $true )
      | ( ( truth @ ( isa @ asked @ SV1 ) )
        = $false ) ),
    inference(extcnf_forall_pos,[status(thm)],[91]) ).

thf(103,plain,
    ! [SV4: $i,SV12: $i] :
      ( ( ( says @ SV12 @ SV4 )
        = $false )
      | ( ( ~ ( truth @ ( isa @ SV12 @ knight ) ) )
        = $true )
      | ( ( truth @ SV4 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[94]) ).

thf(104,plain,
    ! [SV13: $i,SV5: $i] :
      ( ( ( says @ SV5 @ SV13 )
        = $false )
      | ( ( ~ ( truth @ SV13 ) )
        = $true )
      | ( ( truth @ ( isa @ SV5 @ knight ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[95]) ).

thf(105,plain,
    ! [SV6: $i,SV15: $i] :
      ( ( ( says @ SV15 @ SV6 )
        = $false )
      | ( ( truth @ ( not @ SV6 ) )
        = $true )
      | ( ( truth @ SV6 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[96]) ).

thf(106,plain,
    ! [SV7: $i,SV16: $i] :
      ( ( ( says @ SV16 @ ( not @ SV7 ) )
        = $false )
      | ( ( truth @ ( not @ SV7 ) )
        = $true )
      | ( ( truth @ SV7 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[97]) ).

thf(107,plain,
    ! [SV14: $i,SV9: $i] :
      ( ( ( truth @ ( or @ SV9 @ SV14 ) )
        = $false )
      | ( ( truth @ SV14 )
        = $true )
      | ( ( truth @ SV9 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[99]) ).

thf(108,plain,
    ! [SV17: $i,SV10: $i] :
      ( ( ( truth @ ( not @ ( or @ SV10 @ SV17 ) ) )
        = $false )
      | ( ( truth @ SV10 )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[100]) ).

thf(109,plain,
    ! [SV11: $i,SV18: $i] :
      ( ( ( truth @ ( not @ ( or @ SV18 @ SV11 ) ) )
        = $false )
      | ( ( truth @ SV11 )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[101]) ).

thf(110,plain,
    ! [SV1: $i,SV19: $i] :
      ( ( ( truth @ ( isa @ other @ SV19 ) )
        = $false )
      | ( ( ! [S: $i] :
              ~ ( says @ asked @ S ) )
        = $true )
      | ( ( truth @ ( isa @ asked @ SV1 ) )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[102]) ).

thf(111,plain,
    ! [SV4: $i,SV12: $i] :
      ( ( ( truth @ ( isa @ SV12 @ knight ) )
        = $false )
      | ( ( says @ SV12 @ SV4 )
        = $false )
      | ( ( truth @ SV4 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[103]) ).

thf(112,plain,
    ! [SV5: $i,SV13: $i] :
      ( ( ( truth @ SV13 )
        = $false )
      | ( ( says @ SV5 @ SV13 )
        = $false )
      | ( ( truth @ ( isa @ SV5 @ knight ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[104]) ).

thf(113,plain,
    ! [SV1: $i,SV19: $i,SV20: $i] :
      ( ( ( ~ ( says @ asked @ SV20 ) )
        = $true )
      | ( ( truth @ ( isa @ other @ SV19 ) )
        = $false )
      | ( ( truth @ ( isa @ asked @ SV1 ) )
        = $false ) ),
    inference(extcnf_forall_pos,[status(thm)],[110]) ).

thf(114,plain,
    ! [SV1: $i,SV19: $i,SV20: $i] :
      ( ( ( says @ asked @ SV20 )
        = $false )
      | ( ( truth @ ( isa @ other @ SV19 ) )
        = $false )
      | ( ( truth @ ( isa @ asked @ SV1 ) )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[113]) ).

thf(115,plain,
    $false = $true,
    inference(fo_atp_e,[status(thm)],[53,114,112,111,109,108,107,106,105,98,93,92,68,61,54]) ).

thf(116,plain,
    $false,
    inference(solved_all_splits,[solved_all_splits(join,[])],[115]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem  : PUZ035-4 : TPTP v8.1.0. Released v2.0.0.
% 0.03/0.13  % Command  : leo --timeout %d --proofoutput 1 --foatp e --atp e=./eprover %s
% 0.13/0.34  % Computer : n025.cluster.edu
% 0.13/0.34  % Model    : x86_64 x86_64
% 0.13/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34  % Memory   : 8042.1875MB
% 0.13/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34  % CPULimit : 300
% 0.13/0.34  % WCLimit  : 600
% 0.13/0.34  % DateTime : Sat May 28 23:05:56 EDT 2022
% 0.13/0.34  % CPUTime  : 
% 0.13/0.35  
% 0.13/0.35   No.of.Axioms: 14
% 0.13/0.35  
% 0.13/0.35   Length.of.Defs: 0
% 0.13/0.35  
% 0.13/0.35   Contains.Choice.Funs: false
% 0.13/0.35  (rf:0,axioms:14,ps:3,u:6,ude:true,rLeibEQ:true,rAndEQ:true,use_choice:true,use_extuni:true,use_extcnf_combined:true,expand_extuni:false,foatp:e,atp_timeout:600,atp_calls_frequency:10,ordering:none,proof_output:1,protocol_output:false,clause_count:16,loop_count:0,foatp_calls:0,translation:fof_full).....
% 0.19/0.41  
% 0.19/0.41  ********************************
% 0.19/0.41  *   All subproblems solved!    *
% 0.19/0.41  ********************************
% 0.19/0.41  % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p : (rf:0,axioms:14,ps:3,u:6,ude:true,rLeibEQ:true,rAndEQ:true,use_choice:true,use_extuni:true,use_extcnf_combined:true,expand_extuni:false,foatp:e,atp_timeout:74,atp_calls_frequency:10,ordering:none,proof_output:1,protocol_output:false,clause_count:115,loop_count:0,foatp_calls:1,translation:fof_full)
% 0.19/0.41  
% 0.19/0.41  %**** Beginning of derivation protocol ****
% 0.19/0.41  % SZS output start CNFRefutation
% See solution above
% 0.19/0.41  
% 0.19/0.41  %**** End of derivation protocol ****
% 0.19/0.41  %**** no. of clauses in derivation: 116 ****
% 0.19/0.41  %**** clause counter: 115 ****
% 0.19/0.41  
% 0.19/0.41  % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p : (rf:0,axioms:14,ps:3,u:6,ude:true,rLeibEQ:true,rAndEQ:true,use_choice:true,use_extuni:true,use_extcnf_combined:true,expand_extuni:false,foatp:e,atp_timeout:74,atp_calls_frequency:10,ordering:none,proof_output:1,protocol_output:false,clause_count:115,loop_count:0,foatp_calls:1,translation:fof_full)
%------------------------------------------------------------------------------