TSTP Solution File: PUZ031+1 by CSE_E---1.5

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : CSE_E---1.5
% Problem  : PUZ031+1 : TPTP v8.1.2. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s

% Computer : n010.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 : Thu Aug 31 13:12:14 EDT 2023

% Result   : Theorem 0.18s 0.57s
% Output   : CNFRefutation 0.18s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   15
%            Number of leaves      :   35
% Syntax   : Number of formulae    :   95 (  23 unt;  17 typ;   0 def)
%            Number of atoms       :  218 (   0 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :  245 ( 105   ~; 100   |;  24   &)
%                                         (   0 <=>;  16  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   13 (   4 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   13 (  11   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :   11 (  10 usr;   1 prp; 0-2 aty)
%            Number of functors    :    7 (   7 usr;   6 con; 0-1 aty)
%            Number of variables   :  110 (   2 sgn;  46   !;  13   ?;   0   :)

% Comments : 
%------------------------------------------------------------------------------
tff(decl_22,type,
    wolf: $i > $o ).

tff(decl_23,type,
    animal: $i > $o ).

tff(decl_24,type,
    fox: $i > $o ).

tff(decl_25,type,
    bird: $i > $o ).

tff(decl_26,type,
    caterpillar: $i > $o ).

tff(decl_27,type,
    snail: $i > $o ).

tff(decl_28,type,
    grain: $i > $o ).

tff(decl_29,type,
    plant: $i > $o ).

tff(decl_30,type,
    eats: ( $i * $i ) > $o ).

tff(decl_31,type,
    much_smaller: ( $i * $i ) > $o ).

tff(decl_32,type,
    esk1_0: $i ).

tff(decl_33,type,
    esk2_0: $i ).

tff(decl_34,type,
    esk3_0: $i ).

tff(decl_35,type,
    esk4_0: $i ).

tff(decl_36,type,
    esk5_0: $i ).

tff(decl_37,type,
    esk6_0: $i ).

tff(decl_38,type,
    esk7_1: $i > $i ).

fof(pel47_13,axiom,
    ! [X1,X3] :
      ( ( bird(X1)
        & snail(X3) )
     => ~ eats(X1,X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_13) ).

fof(pel47_7,axiom,
    ! [X1] :
      ( animal(X1)
     => ( ! [X3] :
            ( plant(X3)
           => eats(X1,X3) )
        | ! [X4] :
            ( ( animal(X4)
              & much_smaller(X4,X1)
              & ? [X5] :
                  ( plant(X5)
                  & eats(X4,X5) ) )
           => eats(X1,X4) ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_7) ).

fof(pel47_8,axiom,
    ! [X1,X3] :
      ( ( bird(X3)
        & ( snail(X1)
          | caterpillar(X1) ) )
     => much_smaller(X1,X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_8) ).

fof(pel47_3_1,axiom,
    ! [X1] :
      ( bird(X1)
     => animal(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_3_1) ).

fof(pel47_5_1,axiom,
    ! [X1] :
      ( snail(X1)
     => animal(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_5_1) ).

fof(pel47_14,axiom,
    ! [X1] :
      ( ( caterpillar(X1)
        | snail(X1) )
     => ? [X3] :
          ( plant(X3)
          & eats(X1,X3) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_14) ).

fof(pel47_6_2,axiom,
    ! [X2] :
      ( grain(X2)
     => plant(X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_6_2) ).

fof(pel47_6_1,axiom,
    ? [X1] : grain(X1),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_6_1) ).

fof(pel47_5_2,axiom,
    ? [X2] : snail(X2),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_5_2) ).

fof(pel47_9,axiom,
    ! [X1,X3] :
      ( ( bird(X1)
        & fox(X3) )
     => much_smaller(X1,X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_9) ).

fof(pel47_2_1,axiom,
    ! [X1] :
      ( fox(X1)
     => animal(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_2_1) ).

fof(pel47_3_2,axiom,
    ? [X2] : bird(X2),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_3_2) ).

fof(pel47,conjecture,
    ? [X1,X3] :
      ( animal(X1)
      & animal(X3)
      & ? [X5] :
          ( grain(X5)
          & eats(X3,X5)
          & eats(X1,X3) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47) ).

fof(pel47_2_2,axiom,
    ? [X2] : fox(X2),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_2_2) ).

fof(pel47_11,axiom,
    ! [X1,X3] :
      ( ( wolf(X1)
        & ( fox(X3)
          | grain(X3) ) )
     => ~ eats(X1,X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_11) ).

fof(pel47_10,axiom,
    ! [X1,X3] :
      ( ( fox(X1)
        & wolf(X3) )
     => much_smaller(X1,X3) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_10) ).

fof(pel47_1_1,axiom,
    ! [X1] :
      ( wolf(X1)
     => animal(X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_1_1) ).

fof(pel47_1_2,axiom,
    ? [X2] : wolf(X2),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_1_2) ).

fof(c_0_18,plain,
    ! [X1,X3] :
      ( ( bird(X1)
        & snail(X3) )
     => ~ eats(X1,X3) ),
    inference(fof_simplification,[status(thm)],[pel47_13]) ).

fof(c_0_19,plain,
    ! [X18,X19,X20,X21] :
      ( ~ animal(X18)
      | ~ plant(X19)
      | eats(X18,X19)
      | ~ animal(X20)
      | ~ much_smaller(X20,X18)
      | ~ plant(X21)
      | ~ eats(X20,X21)
      | eats(X18,X20) ),
    inference(shift_quantors,[status(thm)],[inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_7])])]) ).

fof(c_0_20,plain,
    ! [X22,X23] :
      ( ( ~ snail(X22)
        | ~ bird(X23)
        | much_smaller(X22,X23) )
      & ( ~ caterpillar(X22)
        | ~ bird(X23)
        | much_smaller(X22,X23) ) ),
    inference(distribute,[status(thm)],[inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_8])])]) ).

fof(c_0_21,plain,
    ! [X10] :
      ( ~ bird(X10)
      | animal(X10) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_3_1])]) ).

fof(c_0_22,plain,
    ! [X14] :
      ( ~ snail(X14)
      | animal(X14) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_5_1])]) ).

fof(c_0_23,plain,
    ! [X32,X33] :
      ( ~ bird(X32)
      | ~ snail(X33)
      | ~ eats(X32,X33) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[c_0_18])]) ).

cnf(c_0_24,plain,
    ( eats(X1,X2)
    | eats(X1,X3)
    | ~ animal(X1)
    | ~ plant(X2)
    | ~ animal(X3)
    | ~ much_smaller(X3,X1)
    | ~ plant(X4)
    | ~ eats(X3,X4) ),
    inference(split_conjunct,[status(thm)],[c_0_19]) ).

cnf(c_0_25,plain,
    ( much_smaller(X1,X2)
    | ~ snail(X1)
    | ~ bird(X2) ),
    inference(split_conjunct,[status(thm)],[c_0_20]) ).

cnf(c_0_26,plain,
    ( animal(X1)
    | ~ bird(X1) ),
    inference(split_conjunct,[status(thm)],[c_0_21]) ).

cnf(c_0_27,plain,
    ( animal(X1)
    | ~ snail(X1) ),
    inference(split_conjunct,[status(thm)],[c_0_22]) ).

cnf(c_0_28,plain,
    ( ~ bird(X1)
    | ~ snail(X2)
    | ~ eats(X1,X2) ),
    inference(split_conjunct,[status(thm)],[c_0_23]) ).

fof(c_0_29,plain,
    ! [X34] :
      ( ( plant(esk7_1(X34))
        | ~ caterpillar(X34) )
      & ( eats(X34,esk7_1(X34))
        | ~ caterpillar(X34) )
      & ( plant(esk7_1(X34))
        | ~ snail(X34) )
      & ( eats(X34,esk7_1(X34))
        | ~ snail(X34) ) ),
    inference(distribute,[status(thm)],[inference(skolemize,[status(esa)],[inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_14])])])]) ).

fof(c_0_30,plain,
    ! [X17] :
      ( ~ grain(X17)
      | plant(X17) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_6_2])]) ).

fof(c_0_31,plain,
    grain(esk6_0),
    inference(skolemize,[status(esa)],[inference(variable_rename,[status(thm)],[pel47_6_1])]) ).

cnf(c_0_32,plain,
    ( eats(X1,X2)
    | ~ eats(X3,X4)
    | ~ plant(X4)
    | ~ plant(X2)
    | ~ snail(X3)
    | ~ bird(X1) ),
    inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_24,c_0_25]),c_0_26]),c_0_27]),c_0_28]) ).

cnf(c_0_33,plain,
    ( eats(X1,esk7_1(X1))
    | ~ snail(X1) ),
    inference(split_conjunct,[status(thm)],[c_0_29]) ).

cnf(c_0_34,plain,
    ( plant(esk7_1(X1))
    | ~ snail(X1) ),
    inference(split_conjunct,[status(thm)],[c_0_29]) ).

cnf(c_0_35,plain,
    ( plant(X1)
    | ~ grain(X1) ),
    inference(split_conjunct,[status(thm)],[c_0_30]) ).

cnf(c_0_36,plain,
    grain(esk6_0),
    inference(split_conjunct,[status(thm)],[c_0_31]) ).

cnf(c_0_37,plain,
    ( eats(X1,X2)
    | ~ plant(X2)
    | ~ snail(X3)
    | ~ bird(X1) ),
    inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_32,c_0_33]),c_0_34]) ).

cnf(c_0_38,plain,
    plant(esk6_0),
    inference(spm,[status(thm)],[c_0_35,c_0_36]) ).

fof(c_0_39,plain,
    snail(esk5_0),
    inference(skolemize,[status(esa)],[inference(variable_rename,[status(thm)],[pel47_5_2])]) ).

fof(c_0_40,plain,
    ! [X24,X25] :
      ( ~ bird(X24)
      | ~ fox(X25)
      | much_smaller(X24,X25) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_9])]) ).

fof(c_0_41,plain,
    ! [X8] :
      ( ~ fox(X8)
      | animal(X8) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_2_1])]) ).

cnf(c_0_42,plain,
    ( eats(X1,esk6_0)
    | ~ snail(X2)
    | ~ bird(X1) ),
    inference(spm,[status(thm)],[c_0_37,c_0_38]) ).

cnf(c_0_43,plain,
    snail(esk5_0),
    inference(split_conjunct,[status(thm)],[c_0_39]) ).

fof(c_0_44,plain,
    bird(esk3_0),
    inference(skolemize,[status(esa)],[inference(variable_rename,[status(thm)],[pel47_3_2])]) ).

fof(c_0_45,negated_conjecture,
    ~ ? [X1,X3] :
        ( animal(X1)
        & animal(X3)
        & ? [X5] :
            ( grain(X5)
            & eats(X3,X5)
            & eats(X1,X3) ) ),
    inference(assume_negation,[status(cth)],[pel47]) ).

cnf(c_0_46,plain,
    ( much_smaller(X1,X2)
    | ~ bird(X1)
    | ~ fox(X2) ),
    inference(split_conjunct,[status(thm)],[c_0_40]) ).

cnf(c_0_47,plain,
    ( animal(X1)
    | ~ fox(X1) ),
    inference(split_conjunct,[status(thm)],[c_0_41]) ).

cnf(c_0_48,plain,
    ( eats(X1,esk6_0)
    | ~ bird(X1) ),
    inference(spm,[status(thm)],[c_0_42,c_0_43]) ).

cnf(c_0_49,plain,
    bird(esk3_0),
    inference(split_conjunct,[status(thm)],[c_0_44]) ).

fof(c_0_50,negated_conjecture,
    ! [X36,X37,X38] :
      ( ~ animal(X36)
      | ~ animal(X37)
      | ~ grain(X38)
      | ~ eats(X37,X38)
      | ~ eats(X36,X37) ),
    inference(shift_quantors,[status(thm)],[inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[c_0_45])])]) ).

fof(c_0_51,plain,
    fox(esk2_0),
    inference(skolemize,[status(esa)],[inference(variable_rename,[status(thm)],[pel47_2_2])]) ).

fof(c_0_52,plain,
    ! [X1,X3] :
      ( ( wolf(X1)
        & ( fox(X3)
          | grain(X3) ) )
     => ~ eats(X1,X3) ),
    inference(fof_simplification,[status(thm)],[pel47_11]) ).

cnf(c_0_53,plain,
    ( eats(X1,X2)
    | eats(X1,X3)
    | ~ eats(X3,X4)
    | ~ plant(X4)
    | ~ plant(X2)
    | ~ bird(X3)
    | ~ fox(X1) ),
    inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_24,c_0_46]),c_0_47]),c_0_26]) ).

cnf(c_0_54,plain,
    eats(esk3_0,esk6_0),
    inference(spm,[status(thm)],[c_0_48,c_0_49]) ).

cnf(c_0_55,negated_conjecture,
    ( ~ animal(X1)
    | ~ animal(X2)
    | ~ grain(X3)
    | ~ eats(X2,X3)
    | ~ eats(X1,X2) ),
    inference(split_conjunct,[status(thm)],[c_0_50]) ).

cnf(c_0_56,plain,
    animal(esk3_0),
    inference(spm,[status(thm)],[c_0_26,c_0_49]) ).

cnf(c_0_57,plain,
    fox(esk2_0),
    inference(split_conjunct,[status(thm)],[c_0_51]) ).

fof(c_0_58,plain,
    ! [X26,X27] :
      ( ~ fox(X26)
      | ~ wolf(X27)
      | much_smaller(X26,X27) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_10])]) ).

fof(c_0_59,plain,
    ! [X6] :
      ( ~ wolf(X6)
      | animal(X6) ),
    inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[pel47_1_1])]) ).

fof(c_0_60,plain,
    ! [X28,X29] :
      ( ( ~ fox(X29)
        | ~ wolf(X28)
        | ~ eats(X28,X29) )
      & ( ~ grain(X29)
        | ~ wolf(X28)
        | ~ eats(X28,X29) ) ),
    inference(distribute,[status(thm)],[inference(variable_rename,[status(thm)],[inference(fof_nnf,[status(thm)],[c_0_52])])]) ).

cnf(c_0_61,plain,
    ( eats(X1,esk3_0)
    | eats(X1,X2)
    | ~ plant(X2)
    | ~ fox(X1) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_53,c_0_54]),c_0_38]),c_0_49])]) ).

cnf(c_0_62,negated_conjecture,
    ( ~ eats(X1,esk3_0)
    | ~ animal(X1) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_55,c_0_54]),c_0_36]),c_0_56])]) ).

cnf(c_0_63,plain,
    animal(esk2_0),
    inference(spm,[status(thm)],[c_0_47,c_0_57]) ).

cnf(c_0_64,plain,
    ( much_smaller(X1,X2)
    | ~ fox(X1)
    | ~ wolf(X2) ),
    inference(split_conjunct,[status(thm)],[c_0_58]) ).

cnf(c_0_65,plain,
    ( animal(X1)
    | ~ wolf(X1) ),
    inference(split_conjunct,[status(thm)],[c_0_59]) ).

cnf(c_0_66,plain,
    ( ~ fox(X1)
    | ~ wolf(X2)
    | ~ eats(X2,X1) ),
    inference(split_conjunct,[status(thm)],[c_0_60]) ).

cnf(c_0_67,plain,
    ( eats(X1,esk6_0)
    | eats(X1,esk3_0)
    | ~ fox(X1) ),
    inference(spm,[status(thm)],[c_0_61,c_0_38]) ).

cnf(c_0_68,negated_conjecture,
    ~ eats(esk2_0,esk3_0),
    inference(spm,[status(thm)],[c_0_62,c_0_63]) ).

cnf(c_0_69,plain,
    ( eats(X1,X2)
    | ~ eats(X3,X4)
    | ~ plant(X4)
    | ~ plant(X2)
    | ~ fox(X3)
    | ~ wolf(X1) ),
    inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(csr,[status(thm)],[inference(spm,[status(thm)],[c_0_24,c_0_64]),c_0_65]),c_0_47]),c_0_66]) ).

cnf(c_0_70,plain,
    eats(esk2_0,esk6_0),
    inference(sr,[status(thm)],[inference(spm,[status(thm)],[c_0_67,c_0_57]),c_0_68]) ).

cnf(c_0_71,plain,
    ( eats(X1,X2)
    | ~ plant(X2)
    | ~ wolf(X1) ),
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_69,c_0_70]),c_0_38]),c_0_57])]) ).

fof(c_0_72,plain,
    wolf(esk1_0),
    inference(skolemize,[status(esa)],[inference(variable_rename,[status(thm)],[pel47_1_2])]) ).

cnf(c_0_73,plain,
    ( eats(X1,esk6_0)
    | ~ wolf(X1) ),
    inference(spm,[status(thm)],[c_0_71,c_0_38]) ).

cnf(c_0_74,plain,
    wolf(esk1_0),
    inference(split_conjunct,[status(thm)],[c_0_72]) ).

cnf(c_0_75,plain,
    ( ~ grain(X1)
    | ~ wolf(X2)
    | ~ eats(X2,X1) ),
    inference(split_conjunct,[status(thm)],[c_0_60]) ).

cnf(c_0_76,plain,
    eats(esk1_0,esk6_0),
    inference(spm,[status(thm)],[c_0_73,c_0_74]) ).

cnf(c_0_77,plain,
    $false,
    inference(cn,[status(thm)],[inference(rw,[status(thm)],[inference(rw,[status(thm)],[inference(spm,[status(thm)],[c_0_75,c_0_76]),c_0_36]),c_0_74])]),
    [proof] ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem    : PUZ031+1 : TPTP v8.1.2. Released v2.0.0.
% 0.12/0.12  % Command    : java -jar /export/starexec/sandbox2/solver/bin/mcs_scs.jar %d %s
% 0.12/0.33  % Computer : n010.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit   : 300
% 0.12/0.33  % WCLimit    : 300
% 0.12/0.33  % DateTime   : Sat Aug 26 22:11:20 EDT 2023
% 0.12/0.33  % CPUTime  : 
% 0.18/0.55  start to proof: theBenchmark
% 0.18/0.57  % Version  : CSE_E---1.5
% 0.18/0.57  % Problem  : theBenchmark.p
% 0.18/0.57  % Proof found
% 0.18/0.57  % SZS status Theorem for theBenchmark.p
% 0.18/0.57  % SZS output start Proof
% See solution above
% 0.18/0.57  % Total time : 0.013000 s
% 0.18/0.57  % SZS output end Proof
% 0.18/0.57  % Total time : 0.016000 s
%------------------------------------------------------------------------------