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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV-SAT---1.0
% Problem  : DAT004_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 : n014.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 16:04:35 EDT 2022

% Result   : Theorem 0.21s 0.52s
% Output   : Refutation 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   16
%            Number of leaves      :   10
% Syntax   : Number of formulae    :   35 (  12 unt;   6 typ;   0 def)
%            Number of atoms       :   59 (  58 equ)
%            Maximal formula atoms :    6 (   2 avg)
%            Number of connectives :   48 (  18   ~;  14   |;  12   &)
%                                         (   0 <=>;   4  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   4 avg)
%            Maximal term depth    :    5 (   1 avg)
%            Number arithmetic     :  167 (   0 atm;   0 fun; 138 num;  29 var)
%            Number of types       :    2 (   1 usr;   1 ari)
%            Number of type conns  :    5 (   2   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    2 (   0 usr;   1 prp; 0-2 aty)
%            Number of functors    :   12 (   5 usr;  10 con; 0-3 aty)
%            Number of variables   :   51 (  39   !;  12   ?;  51   :)

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

tff(func_def_0,type,
    read: ( array * $int ) > $int ).

tff(func_def_1,type,
    write: ( array * $int * $int ) > array ).

tff(func_def_9,type,
    sK0: array ).

tff(func_def_10,type,
    sK1: array ).

tff(func_def_11,type,
    sK2: $int ).

tff(f47,plain,
    $false,
    inference(trivial_inequality_removal,[],[f45]) ).

tff(f45,plain,
    66 != 66,
    inference(superposition,[],[f17,f38]) ).

tff(f38,plain,
    66 = read(sK1,4),
    inference(backward_demodulation,[],[f20,f36]) ).

tff(f36,plain,
    4 = sK2,
    inference(trivial_inequality_removal,[],[f35]) ).

tff(f35,plain,
    ( ( 44 != 44 )
    | ( 4 = sK2 ) ),
    inference(superposition,[],[f15,f33]) ).

tff(f33,plain,
    ( ( 44 = read(sK1,4) )
    | ( 4 = sK2 ) ),
    inference(evaluation,[],[f28]) ).

tff(f28,plain,
    ( ( 44 = read(sK1,4) )
    | ( 4 = 5 )
    | ( 4 = sK2 ) ),
    inference(superposition,[],[f27,f19]) ).

tff(f19,plain,
    ! [X2: $int,X0: array,X1: $int] : ( read(write(X0,X1,X2),X1) = X2 ),
    inference(cnf_transformation,[],[f14]) ).

tff(f14,plain,
    ! [X0: array,X1: $int,X2: $int] : ( read(write(X0,X1,X2),X1) = X2 ),
    inference(rectify,[],[f5]) ).

tff(f5,plain,
    ! [X2: array,X1: $int,X0: $int] : ( read(write(X2,X1,X0),X1) = X0 ),
    inference(rectify,[],[f1]) ).

tff(f1,axiom,
    ! [X2: $int,X1: $int,X0: array] : ( read(write(X0,X1,X2),X1) = X2 ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',ax1) ).

tff(f27,plain,
    ! [X0: $int] :
      ( ( read(sK1,X0) = read(write(write(sK0,3,33),4,44),X0) )
      | ( sK2 = X0 )
      | ( 5 = X0 ) ),
    inference(superposition,[],[f18,f21]) ).

tff(f21,plain,
    ! [X0: $int] :
      ( ( read(sK1,X0) = read(write(write(write(sK0,3,33),4,44),5,55),X0) )
      | ( sK2 = X0 ) ),
    inference(superposition,[],[f18,f16]) ).

tff(f16,plain,
    sK1 = write(write(write(write(sK0,3,33),4,44),5,55),sK2,66),
    inference(cnf_transformation,[],[f12]) ).

tff(f12,plain,
    ( ( 66 != read(sK1,4) )
    & ( sK1 = write(write(write(write(sK0,3,33),4,44),5,55),sK2,66) )
    & ( 44 != read(sK1,4) ) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK0,sK1,sK2])],[f10,f11]) ).

tff(f11,plain,
    ( ? [X0: array,X1: array,X2: $int] :
        ( ( 66 != read(X1,4) )
        & ( write(write(write(write(X0,3,33),4,44),5,55),X2,66) = X1 )
        & ( 44 != read(X1,4) ) )
   => ( ( 66 != read(sK1,4) )
      & ( sK1 = write(write(write(write(sK0,3,33),4,44),5,55),sK2,66) )
      & ( 44 != read(sK1,4) ) ) ),
    introduced(choice_axiom,[]) ).

tff(f10,plain,
    ? [X0: array,X1: array,X2: $int] :
      ( ( 66 != read(X1,4) )
      & ( write(write(write(write(X0,3,33),4,44),5,55),X2,66) = X1 )
      & ( 44 != read(X1,4) ) ),
    inference(rectify,[],[f9]) ).

tff(f9,plain,
    ? [X2: array,X1: array,X0: $int] :
      ( ( 66 != read(X1,4) )
      & ( write(write(write(write(X2,3,33),4,44),5,55),X0,66) = X1 )
      & ( 44 != read(X1,4) ) ),
    inference(flattening,[],[f8]) ).

tff(f8,plain,
    ? [X1: array,X2: array,X0: $int] :
      ( ( 44 != read(X1,4) )
      & ( 66 != read(X1,4) )
      & ( write(write(write(write(X2,3,33),4,44),5,55),X0,66) = X1 ) ),
    inference(ennf_transformation,[],[f6]) ).

tff(f6,plain,
    ~ ! [X1: array,X2: array,X0: $int] :
        ( ( write(write(write(write(X2,3,33),4,44),5,55),X0,66) = X1 )
       => ( ( 44 = read(X1,4) )
          | ( 66 = read(X1,4) ) ) ),
    inference(rectify,[],[f4]) ).

tff(f4,negated_conjecture,
    ~ ! [X2: $int,X0: array,X1: array] :
        ( ( write(write(write(write(X1,3,33),4,44),5,55),X2,66) = X0 )
       => ( ( 66 = read(X0,4) )
          | ( 44 = read(X0,4) ) ) ),
    inference(negated_conjecture,[],[f3]) ).

tff(f3,conjecture,
    ! [X2: $int,X0: array,X1: array] :
      ( ( write(write(write(write(X1,3,33),4,44),5,55),X2,66) = X0 )
     => ( ( 66 = read(X0,4) )
        | ( 44 = read(X0,4) ) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',co1) ).

tff(f18,plain,
    ! [X2: array,X3: $int,X0: $int,X1: $int] :
      ( ( read(X2,X1) = read(write(X2,X3,X0),X1) )
      | ( X1 = X3 ) ),
    inference(cnf_transformation,[],[f13]) ).

tff(f13,plain,
    ! [X0: $int,X1: $int,X2: array,X3: $int] :
      ( ( read(X2,X1) = read(write(X2,X3,X0),X1) )
      | ( X1 = X3 ) ),
    inference(rectify,[],[f7]) ).

tff(f7,plain,
    ! [X3: $int,X0: $int,X2: array,X1: $int] :
      ( ( read(X2,X0) = read(write(X2,X1,X3),X0) )
      | ( X0 = X1 ) ),
    inference(rectify,[],[f2]) ).

tff(f2,axiom,
    ! [X5: $int,X4: $int,X3: array,X6: $int] :
      ( ( X4 = X5 )
      | ( read(write(X3,X4,X6),X5) = read(X3,X5) ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',ax2) ).

tff(f15,plain,
    44 != read(sK1,4),
    inference(cnf_transformation,[],[f12]) ).

tff(f20,plain,
    66 = read(sK1,sK2),
    inference(superposition,[],[f19,f16]) ).

tff(f17,plain,
    66 != read(sK1,4),
    inference(cnf_transformation,[],[f12]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12  % Problem    : DAT004=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_sat --cores 0 -t %d %s
% 0.13/0.35  % Computer : n014.cluster.edu
% 0.13/0.35  % Model    : x86_64 x86_64
% 0.13/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.35  % Memory   : 8042.1875MB
% 0.13/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.35  % CPULimit   : 300
% 0.13/0.35  % WCLimit    : 300
% 0.13/0.35  % DateTime   : Mon Aug 29 20:16:48 EDT 2022
% 0.13/0.35  % CPUTime    : 
% 0.21/0.51  % (4876)ott+10_1:32_abs=on:br=off:urr=ec_only:i=50:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/50Mi)
% 0.21/0.51  % (4884)ott-1_1:6_av=off:cond=on:fsr=off:nwc=3.0:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.21/0.51  % (4884)First to succeed.
% 0.21/0.51  % (4898)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.21/0.51  % (4885)ott+2_1:1_fsr=off:gsp=on:i=50:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/50Mi)
% 0.21/0.51  % (4890)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.21/0.51  % (4892)fmb+10_1:1_bce=on:i=59:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/59Mi)
% 0.21/0.51  % (4898)Also succeeded, but the first one will report.
% 0.21/0.52  % (4884)Refutation found. Thanks to Tanya!
% 0.21/0.52  % SZS status Theorem for theBenchmark
% 0.21/0.52  % SZS output start Proof for theBenchmark
% See solution above
% 0.21/0.52  % (4884)------------------------------
% 0.21/0.52  % (4884)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.21/0.52  % (4884)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.21/0.52  % (4884)Termination reason: Refutation
% 0.21/0.52  
% 0.21/0.52  % (4884)Memory used [KB]: 895
% 0.21/0.52  % (4884)Time elapsed: 0.102 s
% 0.21/0.52  % (4884)Instructions burned: 2 (million)
% 0.21/0.52  % (4884)------------------------------
% 0.21/0.52  % (4884)------------------------------
% 0.21/0.52  % (4874)Success in time 0.161 s
%------------------------------------------------------------------------------