TSTP Solution File: PUZ031_1 by SnakeForV-SAT---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV-SAT---1.0
% Problem  : PUZ031_1 : TPTP v8.1.0. Released v5.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_sat --cores 0 -t %d %s

% Computer : n006.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 : Wed Aug 31 18:11:36 EDT 2022

% Result   : Theorem 0.17s 0.49s
% Output   : Refutation 0.17s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   15
%            Number of leaves      :   30
% Syntax   : Number of formulae    :   63 (  23 unt;  21 typ;   0 def)
%            Number of atoms       :   76 (   0 equ)
%            Maximal formula atoms :    4 (   1 avg)
%            Number of connectives :   63 (  29   ~;  26   |;   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   :  104 (  91   !;  13   ?; 104   :)

% 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(f58,plain,
    $false,
    inference(resolution,[],[f57,f42]) ).

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

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

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

tff(f57,plain,
    ! [X0: wolf,X1: plant] : eats(wolf_to_animal(X0),plant_to_edible(X1)),
    inference(resolution,[],[f56,f37]) ).

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

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

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

tff(f56,plain,
    ! [X2: fox,X3: animal,X4: plant] :
      ( ~ much_smaller(fox_to_animal(X2),X3)
      | eats(X3,plant_to_edible(X4)) ),
    inference(subsumption_resolution,[],[f55,f54]) ).

tff(f54,plain,
    ! [X0: animal,X1: fox] : ~ eats(X0,animal_to_edible(fox_to_animal(X1))),
    inference(resolution,[],[f53,f39]) ).

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

tff(f29,plain,
    ! [X0: animal,X1: grain,X2: animal] :
      ( ~ eats(X2,plant_to_edible(grain_to_plant(X1)))
      | ~ eats(X0,animal_to_edible(X2)) ),
    inference(rectify,[],[f22]) ).

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

tff(f16,plain,
    ~ ? [X1: animal,X0: 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/sandbox/benchmark/theBenchmark.p',pel47) ).

tff(f53,plain,
    ! [X0: fox,X1: plant] : eats(fox_to_animal(X0),plant_to_edible(X1)),
    inference(resolution,[],[f52,f40]) ).

tff(f40,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/sandbox/benchmark/theBenchmark.p',pel47_9) ).

tff(f52,plain,
    ! [X2: bird,X3: animal,X4: plant] :
      ( ~ much_smaller(bird_to_animal(X2),X3)
      | eats(X3,plant_to_edible(X4)) ),
    inference(subsumption_resolution,[],[f50,f49]) ).

tff(f49,plain,
    ! [X0: animal,X1: bird] : ~ eats(X0,animal_to_edible(bird_to_animal(X1))),
    inference(resolution,[],[f48,f39]) ).

tff(f48,plain,
    ! [X2: plant,X0: bird] : eats(bird_to_animal(X0),plant_to_edible(X2)),
    inference(subsumption_resolution,[],[f47,f33]) ).

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

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

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

tff(f47,plain,
    ! [X2: plant,X0: bird,X1: snail] :
      ( eats(bird_to_animal(X0),plant_to_edible(X2))
      | eats(bird_to_animal(X0),animal_to_edible(snail_to_animal(X1))) ),
    inference(resolution,[],[f45,f36]) ).

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

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

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

tff(f45,plain,
    ! [X2: plant,X0: snail,X1: animal] :
      ( ~ much_smaller(snail_to_animal(X0),X1)
      | eats(X1,animal_to_edible(snail_to_animal(X0)))
      | eats(X1,plant_to_edible(X2)) ),
    inference(resolution,[],[f44,f34]) ).

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

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

tff(f24,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/sandbox/benchmark/theBenchmark.p',pel47_14a) ).

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

tff(f32,plain,
    ! [X0: animal] :
      ( ! [X1: plant] : eats(X0,plant_to_edible(X1))
      | ! [X2: animal] :
          ( eats(X0,animal_to_edible(X2))
          | ~ much_smaller(X2,X0)
          | ! [X3: plant] : ~ eats(X2,plant_to_edible(X3)) ) ),
    inference(rectify,[],[f21]) ).

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

tff(f20,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/sandbox/benchmark/theBenchmark.p',pel47_7) ).

tff(f50,plain,
    ! [X2: bird,X3: animal,X4: plant] :
      ( ~ much_smaller(bird_to_animal(X2),X3)
      | eats(X3,plant_to_edible(X4))
      | eats(X3,animal_to_edible(bird_to_animal(X2))) ),
    inference(resolution,[],[f48,f44]) ).

tff(f55,plain,
    ! [X2: fox,X3: animal,X4: plant] :
      ( ~ much_smaller(fox_to_animal(X2),X3)
      | eats(X3,plant_to_edible(X4))
      | eats(X3,animal_to_edible(fox_to_animal(X2))) ),
    inference(resolution,[],[f53,f44]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.11  % Problem    : PUZ031_1 : TPTP v8.1.0. Released v5.0.0.
% 0.10/0.12  % Command    : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_sat --cores 0 -t %d %s
% 0.12/0.32  % Computer : n006.cluster.edu
% 0.12/0.32  % Model    : x86_64 x86_64
% 0.12/0.32  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.32  % Memory   : 8042.1875MB
% 0.12/0.32  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.32  % CPULimit   : 300
% 0.12/0.32  % WCLimit    : 300
% 0.12/0.32  % DateTime   : Tue Aug 30 10:38:40 EDT 2022
% 0.12/0.32  % CPUTime    : 
% 0.17/0.47  % (18890)ott+11_2:3_av=off:fde=unused:nwc=5.0:tgt=ground:i=75:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/75Mi)
% 0.17/0.48  % (18880)dis+34_1:32_abs=on:add=off:bsr=on:gsp=on:sp=weighted_frequency:i=48:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/48Mi)
% 0.17/0.48  % (18898)ott+11_1:1_drc=off:nwc=5.0:slsq=on:slsqc=1:spb=goal_then_units:to=lpo:i=467:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/467Mi)
% 0.17/0.48  % (18882)dis+10_1:1_fsd=on:sp=occurrence:i=7:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/7Mi)
% 0.17/0.48  % (18878)ott+10_1:32_bd=off:fsr=off:newcnf=on:tgt=full:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.17/0.48  % (18882)First to succeed.
% 0.17/0.49  % (18882)Refutation found. Thanks to Tanya!
% 0.17/0.49  % SZS status Theorem for theBenchmark
% 0.17/0.49  % SZS output start Proof for theBenchmark
% See solution above
% 0.17/0.49  % (18882)------------------------------
% 0.17/0.49  % (18882)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.17/0.49  % (18882)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.17/0.49  % (18882)Termination reason: Refutation
% 0.17/0.49  
% 0.17/0.49  % (18882)Memory used [KB]: 5373
% 0.17/0.49  % (18882)Time elapsed: 0.104 s
% 0.17/0.49  % (18882)Instructions burned: 2 (million)
% 0.17/0.49  % (18882)------------------------------
% 0.17/0.49  % (18882)------------------------------
% 0.17/0.49  % (18874)Success in time 0.161 s
%------------------------------------------------------------------------------