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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : LEO-II---1.7.0
% Problem  : PUZ035-3 : 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 : n020.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.43s
% Output   : CNFRefutation 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   13
%            Number of leaves      :   27
% Syntax   : Number of formulae    :  146 (  65 unt;  10 typ;   0 def)
%            Number of atoms       :  746 ( 201 equ;   0 cnn)
%            Maximal formula atoms :    3 (   5 avg)
%            Number of connectives : 1159 ( 175   ~; 208   |;   0   &; 776   @)
%                                         (   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   :  227 (   0   ^ 227   !;   0   ?; 227   :)

% 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/sandbox/benchmark/theBenchmark.p',other_person) ).

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

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

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

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

thf(6,axiom,
    ! [S: $i] :
      ( ~ ( truth @ S )
      | ~ ( truth @ ( not @ S ) ) ),
    file('/export/starexec/sandbox/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/sandbox/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/sandbox/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/sandbox/benchmark/theBenchmark.p',one_is_knight_answer) ).

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

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

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

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

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

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

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

thf(17,negated_conjecture,
    $false = $false,
    inference(negate_conjecture,[status(cth)],[16]) ).

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

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

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

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

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

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

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

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

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

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

thf(28,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(29,plain,
    ( ( ! [P: $i,S: $i] :
          ( ( truth @ ( isa @ P @ knave ) )
          | ~ ( says @ P @ S )
          | ~ ( truth @ ( not @ S ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[10]) ).

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

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

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

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

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

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

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

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

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

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

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

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

thf(42,plain,
    ( ( ! [P: $i] :
          ( ( truth @ ( isa @ P @ knave ) )
          | ! [S: $i] :
              ( ~ ( says @ P @ S )
              | ~ ( truth @ ( not @ S ) ) ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[29]) ).

thf(43,plain,
    ( ( ! [S: $i] :
          ( ( truth @ ( not @ S ) )
          | ! [P: $i] :
              ( ~ ( says @ P @ S )
              | ~ ( truth @ ( isa @ P @ knave ) ) ) ) )
    = $true ),
    inference(extcnf_combined,[status(esa)],[30]) ).

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

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

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

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

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

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

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

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

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

thf(53,plain,
    ( ( ! [P: $i] :
          ( ( truth @ ( isa @ P @ knave ) )
          | ! [S: $i] :
              ( ~ ( says @ P @ S )
              | ~ ( truth @ ( not @ S ) ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[42]) ).

thf(54,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)],[28]) ).

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

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

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

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

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

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

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

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

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

thf(64,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)],[47]) ).

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

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

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

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

thf(69,plain,
    ! [SV6: $i] :
      ( ( ( truth @ ( not @ SV6 ) )
        | ! [SY28: $i] :
            ( ~ ( says @ SY28 @ SV6 )
            | ~ ( truth @ ( isa @ SY28 @ knave ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[52]) ).

thf(70,plain,
    ! [SV7: $i] :
      ( ( ( truth @ ( isa @ SV7 @ knave ) )
        | ! [SY29: $i] :
            ( ~ ( says @ SV7 @ SY29 )
            | ~ ( truth @ ( not @ SY29 ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[53]) ).

thf(71,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)],[54]) ).

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

thf(73,plain,
    ! [SV9: $i] :
      ( ( ( truth @ SV9 )
        | ( truth @ ( not @ SV9 ) )
        | ! [SY31: $i] :
            ~ ( says @ SY31 @ ( not @ SV9 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[56]) ).

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

thf(75,plain,
    ! [SV11: $i] :
      ( ( ( truth @ SV11 )
        | ! [SY32: $i] :
            ( ( truth @ SY32 )
            | ~ ( truth @ ( or @ SV11 @ SY32 ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[58]) ).

thf(76,plain,
    ! [SV12: $i] :
      ( ( ~ ( truth @ SV12 )
        | ! [SY33: $i] :
            ~ ( truth @ ( not @ ( or @ SV12 @ SY33 ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[59]) ).

thf(77,plain,
    ! [SV13: $i] :
      ( ( ~ ( truth @ SV13 )
        | ! [SY34: $i] :
            ~ ( truth @ ( not @ ( or @ SY34 @ SV13 ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[60]) ).

thf(78,plain,
    $false = $false,
    inference(extcnf_not_pos,[status(thm)],[63]) ).

thf(79,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)],[64]) ).

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

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

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

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

thf(84,plain,
    ! [SV6: $i] :
      ( ( ( truth @ ( not @ SV6 ) )
        = $true )
      | ( ( ! [SY28: $i] :
              ( ~ ( says @ SY28 @ SV6 )
              | ~ ( truth @ ( isa @ SY28 @ knave ) ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[69]) ).

thf(85,plain,
    ! [SV7: $i] :
      ( ( ( truth @ ( isa @ SV7 @ knave ) )
        = $true )
      | ( ( ! [SY29: $i] :
              ( ~ ( says @ SV7 @ SY29 )
              | ~ ( truth @ ( not @ SY29 ) ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[70]) ).

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

thf(87,plain,
    ! [SV9: $i] :
      ( ( ( truth @ SV9 )
        = $true )
      | ( ( ( truth @ ( not @ SV9 ) )
          | ! [SY31: $i] :
              ~ ( says @ SY31 @ ( not @ SV9 ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[73]) ).

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

thf(89,plain,
    ! [SV11: $i] :
      ( ( ( truth @ SV11 )
        = $true )
      | ( ( ! [SY32: $i] :
              ( ( truth @ SY32 )
              | ~ ( truth @ ( or @ SV11 @ SY32 ) ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[75]) ).

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

thf(91,plain,
    ! [SV13: $i] :
      ( ( ( ~ ( truth @ SV13 ) )
        = $true )
      | ( ( ! [SY34: $i] :
              ~ ( truth @ ( not @ ( or @ SY34 @ SV13 ) ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[77]) ).

thf(92,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)],[79]) ).

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

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

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

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

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

thf(98,plain,
    ! [SV17: $i,SV7: $i] :
      ( ( ( ~ ( says @ SV7 @ SV17 )
          | ~ ( truth @ ( not @ SV17 ) ) )
        = $true )
      | ( ( truth @ ( isa @ SV7 @ knave ) )
        = $true ) ),
    inference(extcnf_forall_pos,[status(thm)],[85]) ).

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

thf(100,plain,
    ! [SV9: $i] :
      ( ( ( truth @ ( not @ SV9 ) )
        = $true )
      | ( ( ! [SY31: $i] :
              ~ ( says @ SY31 @ ( not @ SV9 ) ) )
        = $true )
      | ( ( truth @ SV9 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[87]) ).

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

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

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

thf(104,plain,
    ! [SV13: $i] :
      ( ( ( truth @ SV13 )
        = $false )
      | ( ( ! [SY34: $i] :
              ~ ( truth @ ( not @ ( or @ SY34 @ SV13 ) ) ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[91]) ).

thf(105,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)],[92]) ).

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

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

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

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

thf(110,plain,
    ! [SV6: $i,SV16: $i] :
      ( ( ( ~ ( says @ SV16 @ SV6 ) )
        = $true )
      | ( ( ~ ( truth @ ( isa @ SV16 @ knave ) ) )
        = $true )
      | ( ( truth @ ( not @ SV6 ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[97]) ).

thf(111,plain,
    ! [SV17: $i,SV7: $i] :
      ( ( ( ~ ( says @ SV7 @ SV17 ) )
        = $true )
      | ( ( ~ ( truth @ ( not @ SV17 ) ) )
        = $true )
      | ( ( truth @ ( isa @ SV7 @ knave ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[98]) ).

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

thf(113,plain,
    ! [SV9: $i,SV20: $i] :
      ( ( ( ~ ( says @ SV20 @ ( not @ SV9 ) ) )
        = $true )
      | ( ( truth @ ( not @ SV9 ) )
        = $true )
      | ( ( truth @ SV9 )
        = $true ) ),
    inference(extcnf_forall_pos,[status(thm)],[100]) ).

thf(114,plain,
    ! [SV10: $i] :
      ( ( ( truth @ ( not @ SV10 ) )
        = $false )
      | ( ( truth @ SV10 )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[101]) ).

thf(115,plain,
    ! [SV11: $i,SV18: $i] :
      ( ( ( truth @ SV18 )
        = $true )
      | ( ( ~ ( truth @ ( or @ SV11 @ SV18 ) ) )
        = $true )
      | ( ( truth @ SV11 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[102]) ).

thf(116,plain,
    ! [SV21: $i,SV12: $i] :
      ( ( ( ~ ( truth @ ( not @ ( or @ SV12 @ SV21 ) ) ) )
        = $true )
      | ( ( truth @ SV12 )
        = $false ) ),
    inference(extcnf_forall_pos,[status(thm)],[103]) ).

thf(117,plain,
    ! [SV13: $i,SV22: $i] :
      ( ( ( ~ ( truth @ ( not @ ( or @ SV22 @ SV13 ) ) ) )
        = $true )
      | ( ( truth @ SV13 )
        = $false ) ),
    inference(extcnf_forall_pos,[status(thm)],[104]) ).

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

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

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

thf(121,plain,
    ! [SV6: $i,SV16: $i] :
      ( ( ( says @ SV16 @ SV6 )
        = $false )
      | ( ( ~ ( truth @ ( isa @ SV16 @ knave ) ) )
        = $true )
      | ( ( truth @ ( not @ SV6 ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[110]) ).

thf(122,plain,
    ! [SV17: $i,SV7: $i] :
      ( ( ( says @ SV7 @ SV17 )
        = $false )
      | ( ( ~ ( truth @ ( not @ SV17 ) ) )
        = $true )
      | ( ( truth @ ( isa @ SV7 @ knave ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[111]) ).

thf(123,plain,
    ! [SV8: $i,SV19: $i] :
      ( ( ( says @ SV19 @ SV8 )
        = $false )
      | ( ( truth @ ( not @ SV8 ) )
        = $true )
      | ( ( truth @ SV8 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[112]) ).

thf(124,plain,
    ! [SV9: $i,SV20: $i] :
      ( ( ( says @ SV20 @ ( not @ SV9 ) )
        = $false )
      | ( ( truth @ ( not @ SV9 ) )
        = $true )
      | ( ( truth @ SV9 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[113]) ).

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

thf(126,plain,
    ! [SV21: $i,SV12: $i] :
      ( ( ( truth @ ( not @ ( or @ SV12 @ SV21 ) ) )
        = $false )
      | ( ( truth @ SV12 )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[116]) ).

thf(127,plain,
    ! [SV13: $i,SV22: $i] :
      ( ( ( truth @ ( not @ ( or @ SV22 @ SV13 ) ) )
        = $false )
      | ( ( truth @ SV13 )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[117]) ).

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

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

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

thf(131,plain,
    ! [SV6: $i,SV16: $i] :
      ( ( ( truth @ ( isa @ SV16 @ knave ) )
        = $false )
      | ( ( says @ SV16 @ SV6 )
        = $false )
      | ( ( truth @ ( not @ SV6 ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[121]) ).

thf(132,plain,
    ! [SV7: $i,SV17: $i] :
      ( ( ( truth @ ( not @ SV17 ) )
        = $false )
      | ( ( says @ SV7 @ SV17 )
        = $false )
      | ( ( truth @ ( isa @ SV7 @ knave ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[122]) ).

thf(133,plain,
    ! [SV1: $i,SV23: $i,SV24: $i] :
      ( ( ( ~ ( says @ asked @ SV24 ) )
        = $true )
      | ( ( truth @ ( isa @ other @ SV23 ) )
        = $false )
      | ( ( truth @ ( isa @ asked @ SV1 ) )
        = $false ) ),
    inference(extcnf_forall_pos,[status(thm)],[128]) ).

thf(134,plain,
    ! [SV1: $i,SV23: $i,SV24: $i] :
      ( ( ( says @ asked @ SV24 )
        = $false )
      | ( ( truth @ ( isa @ other @ SV23 ) )
        = $false )
      | ( ( truth @ ( isa @ asked @ SV1 ) )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[133]) ).

thf(135,plain,
    $false = $true,
    inference(fo_atp_e,[status(thm)],[61,134,132,131,130,129,127,126,125,124,123,114,107,106,78,71,62]) ).

thf(136,plain,
    $false,
    inference(solved_all_splits,[solved_all_splits(join,[])],[135]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem  : PUZ035-3 : TPTP v8.1.0. Released v2.0.0.
% 0.07/0.13  % Command  : leo --timeout %d --proofoutput 1 --foatp e --atp e=./eprover %s
% 0.13/0.34  % Computer : n020.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 19:57:39 EDT 2022
% 0.13/0.35  % CPUTime  : 
% 0.13/0.36  
% 0.13/0.36   No.of.Axioms: 16
% 0.13/0.36  
% 0.13/0.36   Length.of.Defs: 0
% 0.13/0.36  
% 0.13/0.36   Contains.Choice.Funs: false
% 0.13/0.37  (rf:0,axioms:16,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:18,loop_count:0,foatp_calls:0,translation:fof_full)......
% 0.19/0.43  
% 0.19/0.43  ********************************
% 0.19/0.43  *   All subproblems solved!    *
% 0.19/0.43  ********************************
% 0.19/0.43  % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p : (rf:0,axioms:16,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:135,loop_count:0,foatp_calls:1,translation:fof_full)
% 0.19/0.43  
% 0.19/0.43  %**** Beginning of derivation protocol ****
% 0.19/0.43  % SZS output start CNFRefutation
% See solution above
% 0.19/0.43  
% 0.19/0.43  %**** End of derivation protocol ****
% 0.19/0.43  %**** no. of clauses in derivation: 136 ****
% 0.19/0.43  %**** clause counter: 135 ****
% 0.19/0.43  
% 0.19/0.43  % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p : (rf:0,axioms:16,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:135,loop_count:0,foatp_calls:1,translation:fof_full)
%------------------------------------------------------------------------------