TSTP Solution File: PUZ012_1 by SnakeForV---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV---1.0
% Problem  : PUZ012_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_uns --cores 0 -t %d %s

% Computer : n005.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:10:39 EDT 2022

% Result   : Theorem 1.31s 0.51s
% Output   : Refutation 1.31s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   23
% Syntax   : Number of formulae    :   51 (  15 unt;  12 typ;   0 def)
%            Number of atoms       :   69 (   0 equ)
%            Maximal formula atoms :    3 (   1 avg)
%            Number of connectives :   62 (  32   ~;  22   |;   5   &)
%                                         (   2 <=>;   1  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of types       :    3 (   2 usr)
%            Number of type conns  :    8 (   4   >;   4   *;   0   +;   0  <<)
%            Number of predicates  :    7 (   6 usr;   3 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   6 con; 0-0 aty)
%            Number of variables   :   22 (  22   !;   0   ?;  22   :)

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

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

tff(func_def_0,type,
    boxa: box ).

tff(func_def_1,type,
    boxb: box ).

tff(func_def_2,type,
    boxc: box ).

tff(func_def_3,type,
    apples: fruit ).

tff(func_def_4,type,
    bananas: fruit ).

tff(func_def_5,type,
    oranges: fruit ).

tff(pred_def_1,type,
    equal_fruits: ( fruit * fruit ) > $o ).

tff(pred_def_2,type,
    equal_boxes: ( box * box ) > $o ).

tff(pred_def_3,type,
    contains: ( box * fruit ) > $o ).

tff(pred_def_4,type,
    label: ( box * fruit ) > $o ).

tff(f81,plain,
    $false,
    inference(avatar_sat_refutation,[],[f53,f77,f80]) ).

tff(f80,plain,
    spl0_2,
    inference(avatar_contradiction_clause,[],[f79]) ).

tff(f79,plain,
    ( $false
    | spl0_2 ),
    inference(subsumption_resolution,[],[f78,f63]) ).

tff(f63,plain,
    ~ contains(boxc,bananas),
    inference(unit_resulting_resolution,[],[f35,f36]) ).

tff(f36,plain,
    ! [X0: fruit,X1: box] :
      ( ~ label(X1,X0)
      | ~ contains(X1,X0) ),
    inference(cnf_transformation,[],[f25]) ).

tff(f25,plain,
    ! [X0: fruit,X1: box] :
      ( ~ contains(X1,X0)
      | ~ label(X1,X0) ),
    inference(ennf_transformation,[],[f20]) ).

tff(f20,plain,
    ! [X0: fruit,X1: box] :
      ~ ( label(X1,X0)
        & contains(X1,X0) ),
    inference(rectify,[],[f3]) ).

tff(f3,axiom,
    ! [X1: fruit,X0: box] :
      ~ ( contains(X0,X1)
        & label(X0,X1) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',label_is_wrong) ).

tff(f35,plain,
    label(boxc,bananas),
    inference(cnf_transformation,[],[f16]) ).

tff(f16,axiom,
    label(boxc,bananas),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxc_labelled_bananas) ).

tff(f78,plain,
    ( contains(boxc,bananas)
    | spl0_2 ),
    inference(unit_resulting_resolution,[],[f55,f52,f42]) ).

tff(f42,plain,
    ! [X0: fruit] :
      ( contains(boxc,X0)
      | contains(boxb,X0)
      | contains(boxa,X0) ),
    inference(cnf_transformation,[],[f4]) ).

tff(f4,axiom,
    ! [X0: fruit] :
      ( contains(boxa,X0)
      | contains(boxc,X0)
      | contains(boxb,X0) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',each_thing_is_in_a_box) ).

tff(f52,plain,
    ( ~ contains(boxa,bananas)
    | spl0_2 ),
    inference(avatar_component_clause,[],[f50]) ).

tff(f50,plain,
    ( spl0_2
  <=> contains(boxa,bananas) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_2])]) ).

tff(f55,plain,
    ~ contains(boxb,bananas),
    inference(unit_resulting_resolution,[],[f41,f29,f43]) ).

tff(f43,plain,
    ! [X2: fruit,X0: box,X1: fruit] :
      ( ~ contains(X0,X2)
      | ~ contains(X0,X1)
      | equal_fruits(X1,X2) ),
    inference(cnf_transformation,[],[f27]) ).

tff(f27,plain,
    ! [X0: box,X1: fruit,X2: fruit] :
      ( equal_fruits(X1,X2)
      | ~ contains(X0,X1)
      | ~ contains(X0,X2) ),
    inference(flattening,[],[f26]) ).

tff(f26,plain,
    ! [X2: fruit,X1: fruit,X0: box] :
      ( equal_fruits(X1,X2)
      | ~ contains(X0,X1)
      | ~ contains(X0,X2) ),
    inference(ennf_transformation,[],[f6]) ).

tff(f6,axiom,
    ! [X2: fruit,X1: fruit,X0: box] :
      ( ( contains(X0,X1)
        & contains(X0,X2) )
     => equal_fruits(X1,X2) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',contains_is_well_defined1) ).

tff(f29,plain,
    contains(boxb,apples),
    inference(cnf_transformation,[],[f17]) ).

tff(f17,axiom,
    contains(boxb,apples),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',boxb_contains_apples) ).

tff(f41,plain,
    ~ equal_fruits(apples,bananas),
    inference(cnf_transformation,[],[f11]) ).

tff(f11,axiom,
    ~ equal_fruits(apples,bananas),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',apples_not_bananas) ).

tff(f77,plain,
    ( ~ spl0_2
    | spl0_1 ),
    inference(avatar_split_clause,[],[f70,f46,f50]) ).

tff(f46,plain,
    ( spl0_1
  <=> contains(boxc,oranges) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_1])]) ).

tff(f70,plain,
    ( ~ contains(boxa,bananas)
    | spl0_1 ),
    inference(unit_resulting_resolution,[],[f30,f66,f43]) ).

tff(f66,plain,
    ( contains(boxa,oranges)
    | spl0_1 ),
    inference(unit_resulting_resolution,[],[f48,f54,f42]) ).

tff(f54,plain,
    ~ contains(boxb,oranges),
    inference(unit_resulting_resolution,[],[f44,f29,f43]) ).

tff(f44,plain,
    ~ equal_fruits(apples,oranges),
    inference(cnf_transformation,[],[f13]) ).

tff(f13,axiom,
    ~ equal_fruits(apples,oranges),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',apples_not_oranges) ).

tff(f48,plain,
    ( ~ contains(boxc,oranges)
    | spl0_1 ),
    inference(avatar_component_clause,[],[f46]) ).

tff(f30,plain,
    ~ equal_fruits(bananas,oranges),
    inference(cnf_transformation,[],[f12]) ).

tff(f12,axiom,
    ~ equal_fruits(bananas,oranges),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',bananas_not_oranges) ).

tff(f53,plain,
    ( ~ spl0_1
    | ~ spl0_2 ),
    inference(avatar_split_clause,[],[f40,f50,f46]) ).

tff(f40,plain,
    ( ~ contains(boxa,bananas)
    | ~ contains(boxc,oranges) ),
    inference(cnf_transformation,[],[f24]) ).

tff(f24,plain,
    ( ~ contains(boxa,bananas)
    | ~ contains(boxc,oranges) ),
    inference(ennf_transformation,[],[f19]) ).

tff(f19,negated_conjecture,
    ~ ( contains(boxc,oranges)
      & contains(boxa,bananas) ),
    inference(negated_conjecture,[],[f18]) ).

tff(f18,conjecture,
    ( contains(boxc,oranges)
    & contains(boxa,bananas) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_boxa_contains_bananas_and_boxc_oranges) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem    : PUZ012_1 : TPTP v8.1.0. Released v5.0.0.
% 0.07/0.13  % Command    : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_uns --cores 0 -t %d %s
% 0.14/0.34  % Computer : n005.cluster.edu
% 0.14/0.34  % Model    : x86_64 x86_64
% 0.14/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.34  % Memory   : 8042.1875MB
% 0.14/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.34  % CPULimit   : 300
% 0.14/0.34  % WCLimit    : 300
% 0.14/0.34  % DateTime   : Tue Aug 30 10:35:33 EDT 2022
% 0.14/0.34  % CPUTime    : 
% 0.20/0.50  % (24636)lrs+10_5:1_br=off:fde=none:nwc=3.0:sd=1:sgt=10:sos=on:ss=axioms:urr=on:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.20/0.50  % (24641)dis+10_1:1_newcnf=on:sgt=8:sos=on:ss=axioms:to=lpo:urr=on:i=49:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/49Mi)
% 0.20/0.50  % (24639)dis+1010_1:50_awrs=decay:awrsf=128:nwc=10.0:s2pl=no:sp=frequency:ss=axioms:i=39:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/39Mi)
% 0.20/0.50  % (24638)dis+21_1:1_av=off:sos=on:sp=frequency:ss=included:to=lpo:i=15:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/15Mi)
% 0.20/0.51  % (24652)dis-10_3:2_amm=sco:ep=RS:fsr=off:nm=10:sd=2:sos=on:ss=axioms:st=3.0:i=11:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/11Mi)
% 0.20/0.51  % (24636)First to succeed.
% 0.20/0.51  % (24634)lrs+10_1:1_gsp=on:sd=1:sgt=32:sos=on:ss=axioms:i=13:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/13Mi)
% 1.31/0.51  % (24636)Refutation found. Thanks to Tanya!
% 1.31/0.51  % SZS status Theorem for theBenchmark
% 1.31/0.51  % SZS output start Proof for theBenchmark
% See solution above
% 1.31/0.51  % (24636)------------------------------
% 1.31/0.51  % (24636)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 1.31/0.51  % (24636)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 1.31/0.51  % (24636)Termination reason: Refutation
% 1.31/0.51  
% 1.31/0.51  % (24636)Memory used [KB]: 5884
% 1.31/0.51  % (24636)Time elapsed: 0.109 s
% 1.31/0.51  % (24636)Instructions burned: 2 (million)
% 1.31/0.51  % (24636)------------------------------
% 1.31/0.51  % (24636)------------------------------
% 1.31/0.51  % (24632)Success in time 0.164 s
%------------------------------------------------------------------------------