TSTP Solution File: PUZ031_1 by Vampire-SAT---4.8

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Vampire-SAT---4.8
% Problem  : PUZ031_1 : TPTP v8.2.0. Released v5.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s

% Computer : n021.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 : Tue May 21 02:29:04 EDT 2024

% Result   : Theorem 0.14s 0.41s
% Output   : Refutation 0.14s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   31
% Syntax   : Number of formulae    :   58 (  19 unt;  21 typ;   0 def)
%            Number of atoms       :   68 (   0 equ)
%            Maximal formula atoms :    4 (   1 avg)
%            Number of connectives :   55 (  24   ~;  23   |;   5   &)
%                                         (   0 <=>;   3  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   5 avg)
%            Maximal term depth    :    3 (   2 avg)
%            Number of types       :   10 (   9 usr)
%            Number of type conns  :   14 (  12   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :    3 (   2 usr;   1 prp; 0-2 aty)
%            Number of functors    :   10 (  10 usr;   0 con; 1-1 aty)
%            Number of variables   :   98 (  85   !;  13   ?;  98   :)

% Comments : 
%------------------------------------------------------------------------------
tff(type_def_5,type,
    animal: $tType ).

tff(type_def_6,type,
    wolf: $tType ).

tff(type_def_7,type,
    fox: $tType ).

tff(type_def_8,type,
    bird: $tType ).

tff(type_def_9,type,
    caterpillar: $tType ).

tff(type_def_10,type,
    snail: $tType ).

tff(type_def_11,type,
    plant: $tType ).

tff(type_def_12,type,
    grain: $tType ).

tff(type_def_13,type,
    edible: $tType ).

tff(func_def_0,type,
    wolf_to_animal: wolf > animal ).

tff(func_def_1,type,
    fox_to_animal: fox > animal ).

tff(func_def_2,type,
    bird_to_animal: bird > animal ).

tff(func_def_3,type,
    caterpillar_to_animal: caterpillar > animal ).

tff(func_def_4,type,
    snail_to_animal: snail > animal ).

tff(func_def_5,type,
    grain_to_plant: grain > plant ).

tff(func_def_6,type,
    animal_to_edible: animal > edible ).

tff(func_def_7,type,
    plant_to_edible: plant > edible ).

tff(func_def_8,type,
    sK0: snail > plant ).

tff(func_def_9,type,
    sK1: caterpillar > plant ).

tff(pred_def_1,type,
    eats: ( animal * edible ) > $o ).

tff(pred_def_2,type,
    much_smaller: ( animal * animal ) > $o ).

tff(f48,plain,
    $false,
    inference(resolution,[],[f47,f32]) ).

tff(f32,plain,
    ! [X0: wolf,X1: grain] : ~ eats(wolf_to_animal(X0),plant_to_edible(grain_to_plant(X1))),
    inference(cnf_transformation,[],[f7]) ).

tff(f7,axiom,
    ! [X0: wolf,X1: grain] : ~ eats(wolf_to_animal(X0),plant_to_edible(grain_to_plant(X1))),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_11a) ).

tff(f47,plain,
    ! [X0: wolf,X1: plant] : eats(wolf_to_animal(X0),plant_to_edible(X1)),
    inference(resolution,[],[f46,f40]) ).

tff(f40,plain,
    ! [X2: wolf,X3: plant,X0: fox,X1: plant] :
      ( ~ eats(fox_to_animal(X0),plant_to_edible(X1))
      | eats(wolf_to_animal(X2),plant_to_edible(X3)) ),
    inference(subsumption_resolution,[],[f36,f31]) ).

tff(f31,plain,
    ! [X0: wolf,X1: fox] : ~ eats(wolf_to_animal(X0),animal_to_edible(fox_to_animal(X1))),
    inference(cnf_transformation,[],[f6]) ).

tff(f6,axiom,
    ! [X0: wolf,X1: fox] : ~ eats(wolf_to_animal(X0),animal_to_edible(fox_to_animal(X1))),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_11) ).

tff(f36,plain,
    ! [X2: wolf,X3: plant,X0: fox,X1: plant] :
      ( ~ eats(fox_to_animal(X0),plant_to_edible(X1))
      | eats(wolf_to_animal(X2),animal_to_edible(fox_to_animal(X0)))
      | eats(wolf_to_animal(X2),plant_to_edible(X3)) ),
    inference(resolution,[],[f24,f27]) ).

tff(f27,plain,
    ! [X0: fox,X1: wolf] : much_smaller(fox_to_animal(X0),wolf_to_animal(X1)),
    inference(cnf_transformation,[],[f5]) ).

tff(f5,axiom,
    ! [X0: fox,X1: wolf] : much_smaller(fox_to_animal(X0),wolf_to_animal(X1)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_10) ).

tff(f24,plain,
    ! [X2: plant,X3: plant,X0: animal,X1: animal] :
      ( ~ much_smaller(X1,X0)
      | ~ eats(X1,plant_to_edible(X2))
      | eats(X0,animal_to_edible(X1))
      | eats(X0,plant_to_edible(X3)) ),
    inference(cnf_transformation,[],[f18]) ).

tff(f18,plain,
    ! [X0: animal] :
      ( ! [X1: animal] :
          ( eats(X0,animal_to_edible(X1))
          | ! [X2: plant] : ~ eats(X1,plant_to_edible(X2))
          | ~ much_smaller(X1,X0) )
      | ! [X3: plant] : eats(X0,plant_to_edible(X3)) ),
    inference(flattening,[],[f17]) ).

tff(f17,plain,
    ! [X0: animal] :
      ( ! [X1: animal] :
          ( eats(X0,animal_to_edible(X1))
          | ! [X2: plant] : ~ eats(X1,plant_to_edible(X2))
          | ~ much_smaller(X1,X0) )
      | ! [X3: plant] : eats(X0,plant_to_edible(X3)) ),
    inference(ennf_transformation,[],[f15]) ).

tff(f15,plain,
    ! [X0: animal] :
      ( ! [X1: animal] :
          ( ( ? [X2: plant] : eats(X1,plant_to_edible(X2))
            & much_smaller(X1,X0) )
         => eats(X0,animal_to_edible(X1)) )
      | ! [X3: plant] : eats(X0,plant_to_edible(X3)) ),
    inference(rectify,[],[f1]) ).

tff(f1,axiom,
    ! [X0: animal] :
      ( ! [X2: animal] :
          ( ( ? [X3: plant] : eats(X2,plant_to_edible(X3))
            & much_smaller(X2,X0) )
         => eats(X0,animal_to_edible(X2)) )
      | ! [X1: plant] : eats(X0,plant_to_edible(X1)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_7) ).

tff(f46,plain,
    ! [X0: fox,X1: plant] : eats(fox_to_animal(X0),plant_to_edible(X1)),
    inference(subsumption_resolution,[],[f44,f42]) ).

tff(f42,plain,
    ! [X0: bird,X1: plant] : eats(bird_to_animal(X0),plant_to_edible(X1)),
    inference(resolution,[],[f41,f25]) ).

tff(f25,plain,
    ! [X0: snail] : eats(snail_to_animal(X0),plant_to_edible(sK0(X0))),
    inference(cnf_transformation,[],[f20]) ).

tff(f20,plain,
    ! [X0: snail] : eats(snail_to_animal(X0),plant_to_edible(sK0(X0))),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK0])],[f11,f19]) ).

tff(f19,plain,
    ! [X0: snail] :
      ( ? [X1: plant] : eats(snail_to_animal(X0),plant_to_edible(X1))
     => eats(snail_to_animal(X0),plant_to_edible(sK0(X0))) ),
    introduced(choice_axiom,[]) ).

tff(f11,axiom,
    ! [X0: snail] :
    ? [X1: plant] : eats(snail_to_animal(X0),plant_to_edible(X1)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_14a) ).

tff(f41,plain,
    ! [X2: bird,X3: plant,X0: snail,X1: plant] :
      ( ~ eats(snail_to_animal(X0),plant_to_edible(X1))
      | eats(bird_to_animal(X2),plant_to_edible(X3)) ),
    inference(subsumption_resolution,[],[f39,f33]) ).

tff(f33,plain,
    ! [X0: bird,X1: snail] : ~ eats(bird_to_animal(X0),animal_to_edible(snail_to_animal(X1))),
    inference(cnf_transformation,[],[f9]) ).

tff(f9,axiom,
    ! [X0: bird,X1: snail] : ~ eats(bird_to_animal(X0),animal_to_edible(snail_to_animal(X1))),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_13) ).

tff(f39,plain,
    ! [X2: bird,X3: plant,X0: snail,X1: plant] :
      ( ~ eats(snail_to_animal(X0),plant_to_edible(X1))
      | eats(bird_to_animal(X2),animal_to_edible(snail_to_animal(X0)))
      | eats(bird_to_animal(X2),plant_to_edible(X3)) ),
    inference(resolution,[],[f24,f29]) ).

tff(f29,plain,
    ! [X0: snail,X1: bird] : much_smaller(snail_to_animal(X0),bird_to_animal(X1)),
    inference(cnf_transformation,[],[f2]) ).

tff(f2,axiom,
    ! [X0: snail,X1: bird] : much_smaller(snail_to_animal(X0),bird_to_animal(X1)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_8) ).

tff(f44,plain,
    ! [X2: bird,X3: grain,X0: fox,X1: plant] :
      ( eats(fox_to_animal(X0),plant_to_edible(X1))
      | ~ eats(bird_to_animal(X2),plant_to_edible(grain_to_plant(X3))) ),
    inference(resolution,[],[f43,f23]) ).

tff(f23,plain,
    ! [X2: grain,X0: animal,X1: animal] :
      ( ~ eats(X0,animal_to_edible(X1))
      | ~ eats(X1,plant_to_edible(grain_to_plant(X2))) ),
    inference(cnf_transformation,[],[f16]) ).

tff(f16,plain,
    ! [X0: animal,X1: animal,X2: grain] :
      ( ~ eats(X0,animal_to_edible(X1))
      | ~ eats(X1,plant_to_edible(grain_to_plant(X2))) ),
    inference(ennf_transformation,[],[f14]) ).

tff(f14,plain,
    ~ ? [X0: animal,X1: animal,X2: grain] :
        ( eats(X0,animal_to_edible(X1))
        & eats(X1,plant_to_edible(grain_to_plant(X2))) ),
    inference(rectify,[],[f13]) ).

tff(f13,negated_conjecture,
    ~ ? [X0: animal,X1: animal,X3: grain] :
        ( eats(X0,animal_to_edible(X1))
        & eats(X1,plant_to_edible(grain_to_plant(X3))) ),
    inference(negated_conjecture,[],[f12]) ).

tff(f12,conjecture,
    ? [X0: animal,X1: animal,X3: grain] :
      ( eats(X0,animal_to_edible(X1))
      & eats(X1,plant_to_edible(grain_to_plant(X3))) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47) ).

tff(f43,plain,
    ! [X2: fox,X3: plant,X0: bird] :
      ( eats(fox_to_animal(X2),animal_to_edible(bird_to_animal(X0)))
      | eats(fox_to_animal(X2),plant_to_edible(X3)) ),
    inference(subsumption_resolution,[],[f37,f42]) ).

tff(f37,plain,
    ! [X2: fox,X3: plant,X0: bird,X1: plant] :
      ( ~ eats(bird_to_animal(X0),plant_to_edible(X1))
      | eats(fox_to_animal(X2),animal_to_edible(bird_to_animal(X0)))
      | eats(fox_to_animal(X2),plant_to_edible(X3)) ),
    inference(resolution,[],[f24,f30]) ).

tff(f30,plain,
    ! [X0: bird,X1: fox] : much_smaller(bird_to_animal(X0),fox_to_animal(X1)),
    inference(cnf_transformation,[],[f4]) ).

tff(f4,axiom,
    ! [X0: bird,X1: fox] : much_smaller(bird_to_animal(X0),fox_to_animal(X1)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',pel47_9) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.04/0.12  % Problem    : PUZ031_1 : TPTP v8.2.0. Released v5.0.0.
% 0.13/0.14  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.14/0.38  % Computer : n021.cluster.edu
% 0.14/0.38  % Model    : x86_64 x86_64
% 0.14/0.38  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.38  % Memory   : 8042.1875MB
% 0.14/0.38  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.39  % CPULimit   : 300
% 0.14/0.39  % WCLimit    : 300
% 0.14/0.39  % DateTime   : Sat May 18 10:31:23 EDT 2024
% 0.14/0.39  % CPUTime    : 
% 0.14/0.39  % (13816)Running in auto input_syntax mode. Trying TPTP
% 0.14/0.41  % (13817)fmb+10_1_fmbas=off:fmbsr=1.3:nm=2_1451 on theBenchmark for (1451ds/0Mi)
% 0.14/0.41  % (13819)dis-2_2:3_amm=sco:anc=none:bce=on:fsr=off:gsp=on:nm=16:nwc=1.2:nicw=on:sac=on:sp=weighted_frequency_476 on theBenchmark for (476ds/0Mi)
% 0.14/0.41  % (13818)fmb+10_1_bce=on:fmbas=expand:fmbksg=on:fmbsr=1.3_569 on theBenchmark for (569ds/0Mi)
% 0.14/0.41  % (13820)fmb+10_1_bce=on:fmbas=expand:fmbksg=on:fmbsr=1.3:gsp=on:nm=4_470 on theBenchmark for (470ds/0Mi)
% 0.14/0.41  % (13821)dis+1_20_av=off:lcm=predicate:nm=2:nwc=2.0_396 on theBenchmark for (396ds/0Mi)
% 0.14/0.41  % (13822)dis+11_4:5_nm=4_216 on theBenchmark for (216ds/0Mi)
% 0.14/0.41  % (13823)fmb+10_1_fmbas=off:fmbsr=1.3:nm=2:si=on:rtra=on:rawr=on:rp=on:fmbksg=on_1451 on theBenchmark for (1451ds/0Mi)
% 0.14/0.41  % (13821)First to succeed.
% 0.14/0.41  % (13822)Also succeeded, but the first one will report.
% 0.14/0.41  % (13819)Also succeeded, but the first one will report.
% 0.14/0.41  % (13821)Solution written to "/export/starexec/sandbox2/tmp/vampire-proof-13816"
% 0.14/0.41  TRYING [1,1,1,1,1,1,1,1,1]
% 0.14/0.41  TRYING [1,1,1,1,1,1,1,1,1]
% 0.14/0.41  TRYING [1,1,1,1,1,1,1,1,1]
% 0.14/0.41  TRYING [1,1,1,1,1,1,1,1,1]
% 0.14/0.41  TRYING [2,1,1,1,1,1,1,1,1]
% 0.14/0.41  % (13821)Refutation found. Thanks to Tanya!
% 0.14/0.41  % SZS status Theorem for theBenchmark
% 0.14/0.41  % SZS output start Proof for theBenchmark
% See solution above
% 0.14/0.41  % (13821)------------------------------
% 0.14/0.41  % (13821)Version: Vampire 4.8 (commit 3a798227e on 2024-05-03 07:42:47 +0200)
% 0.14/0.41  % (13821)Termination reason: Refutation
% 0.14/0.41  
% 0.14/0.41  % (13821)Memory used [KB]: 741
% 0.14/0.41  % (13821)Time elapsed: 0.004 s
% 0.14/0.41  % (13821)Instructions burned: 4 (million)
% 0.14/0.41  % (13816)Success in time 0.019 s
%------------------------------------------------------------------------------