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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV-SAT---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_sat --cores 0 -t %d %s

% Computer : n027.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:30 EDT 2022

% Result   : Theorem 0.20s 0.49s
% Output   : Refutation 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   23
% Syntax   : Number of formulae    :   58 (  14 unt;  12 typ;   0 def)
%            Number of atoms       :   90 (   0 equ)
%            Maximal formula atoms :    3 (   1 avg)
%            Number of connectives :   79 (  35   ~;  35   |;   5   &)
%                                         (   2 <=>;   2  =>;   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   :   28 (  28   !;   0   ?;  28   :)

% 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(f99,plain,
    $false,
    inference(avatar_sat_refutation,[],[f56,f77,f98]) ).

tff(f98,plain,
    ( ~ spl0_1
    | spl0_2 ),
    inference(avatar_contradiction_clause,[],[f97]) ).

tff(f97,plain,
    ( $false
    | ~ spl0_1
    | spl0_2 ),
    inference(subsumption_resolution,[],[f95,f41]) ).

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

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

tff(f95,plain,
    ( equal_fruits(bananas,oranges)
    | ~ spl0_1
    | spl0_2 ),
    inference(resolution,[],[f83,f87]) ).

tff(f87,plain,
    ( contains(boxa,oranges)
    | spl0_2 ),
    inference(subsumption_resolution,[],[f85,f59]) ).

tff(f59,plain,
    ~ contains(boxb,oranges),
    inference(resolution,[],[f36,f42]) ).

tff(f42,plain,
    label(boxb,oranges),
    inference(cnf_transformation,[],[f15]) ).

tff(f15,axiom,
    label(boxb,oranges),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',boxb_labelled_oranges) ).

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

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

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

tff(f85,plain,
    ( contains(boxa,oranges)
    | contains(boxb,oranges)
    | spl0_2 ),
    inference(resolution,[],[f55,f43]) ).

tff(f43,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(boxb,X0)
      | contains(boxc,X0) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',each_thing_is_in_a_box) ).

tff(f55,plain,
    ( ~ contains(boxc,oranges)
    | spl0_2 ),
    inference(avatar_component_clause,[],[f53]) ).

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

tff(f83,plain,
    ( ! [X0: fruit] :
        ( ~ contains(boxa,X0)
        | equal_fruits(bananas,X0) )
    | ~ spl0_1 ),
    inference(resolution,[],[f50,f44]) ).

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

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

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

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

tff(f21,plain,
    ! [X2: fruit,X0: box,X1: fruit] :
      ( ( contains(X0,X2)
        & contains(X0,X1) )
     => equal_fruits(X2,X1) ),
    inference(rectify,[],[f6]) ).

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

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

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

tff(f77,plain,
    spl0_1,
    inference(avatar_contradiction_clause,[],[f76]) ).

tff(f76,plain,
    ( $false
    | spl0_1 ),
    inference(subsumption_resolution,[],[f74,f34]) ).

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

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

tff(f74,plain,
    ( equal_fruits(apples,bananas)
    | spl0_1 ),
    inference(resolution,[],[f62,f67]) ).

tff(f67,plain,
    ( contains(boxb,bananas)
    | spl0_1 ),
    inference(subsumption_resolution,[],[f66,f51]) ).

tff(f51,plain,
    ( ~ contains(boxa,bananas)
    | spl0_1 ),
    inference(avatar_component_clause,[],[f49]) ).

tff(f66,plain,
    ( contains(boxb,bananas)
    | contains(boxa,bananas) ),
    inference(resolution,[],[f58,f43]) ).

tff(f58,plain,
    ~ contains(boxc,bananas),
    inference(resolution,[],[f36,f39]) ).

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

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

tff(f62,plain,
    ! [X0: fruit] :
      ( ~ contains(boxb,X0)
      | equal_fruits(apples,X0) ),
    inference(resolution,[],[f44,f33]) ).

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

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

tff(f56,plain,
    ( ~ spl0_1
    | ~ spl0_2 ),
    inference(avatar_split_clause,[],[f47,f53,f49]) ).

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

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

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

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.11  % Problem    : PUZ012_1 : TPTP v8.1.0. Released v5.0.0.
% 0.07/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.14/0.33  % Computer : n027.cluster.edu
% 0.14/0.33  % Model    : x86_64 x86_64
% 0.14/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.33  % Memory   : 8042.1875MB
% 0.14/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.33  % CPULimit   : 300
% 0.14/0.33  % WCLimit    : 300
% 0.14/0.33  % DateTime   : Tue Aug 30 10:51:16 EDT 2022
% 0.14/0.33  % CPUTime    : 
% 0.20/0.48  % (3538)ott+10_1:5_bd=off:tgt=full:i=99:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/99Mi)
% 0.20/0.49  % (3546)ott+3_1:1_gsp=on:lcm=predicate:i=138:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/138Mi)
% 0.20/0.49  % (3546)First to succeed.
% 0.20/0.49  % (3532)dis+10_1:1_fsd=on:sp=occurrence:i=7:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/7Mi)
% 0.20/0.49  % (3546)Refutation found. Thanks to Tanya!
% 0.20/0.49  % SZS status Theorem for theBenchmark
% 0.20/0.49  % SZS output start Proof for theBenchmark
% See solution above
% 0.20/0.49  % (3546)------------------------------
% 0.20/0.49  % (3546)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.20/0.49  % (3546)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.20/0.49  % (3546)Termination reason: Refutation
% 0.20/0.49  
% 0.20/0.49  % (3546)Memory used [KB]: 5373
% 0.20/0.49  % (3546)Time elapsed: 0.099 s
% 0.20/0.49  % (3546)Instructions burned: 3 (million)
% 0.20/0.49  % (3546)------------------------------
% 0.20/0.49  % (3546)------------------------------
% 0.20/0.49  % (3524)Success in time 0.148 s
%------------------------------------------------------------------------------