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

View Problem - Process Solution

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

% Computer : n026.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 Apr 30 11:03:28 EDT 2024

% Result   : Theorem 0.15s 0.41s
% Output   : Refutation 0.15s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   17
%            Number of leaves      :   17
% Syntax   : Number of formulae    :   52 (  18 unt;   8 typ;   0 def)
%            Number of atoms       :   84 (  59 equ)
%            Maximal formula atoms :    6 (   1 avg)
%            Number of connectives :   68 (  28   ~;  23   |;  12   &)
%                                         (   2 <=>;   3  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   4 avg)
%            Maximal term depth    :    5 (   1 avg)
%            Number arithmetic     :  117 (   6 atm;  19 fun;  45 num;  47 var)
%            Number of types       :    2 (   1 usr;   1 ari)
%            Number of type conns  :    5 (   2   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   2 usr;   3 prp; 0-2 aty)
%            Number of functors    :   10 (   7 usr;   7 con; 0-3 aty)
%            Number of variables   :   62 (  45   !;  17   ?;  62   :)

% 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_6,type,
    sK0: array ).

tff(func_def_7,type,
    sK1: array ).

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

tff(func_def_9,type,
    sK3: $int ).

tff(func_def_10,type,
    sK4: $int ).

tff(f301,plain,
    $false,
    inference(avatar_sat_refutation,[],[f267,f277,f300]) ).

tff(f300,plain,
    ~ spl5_1,
    inference(avatar_contradiction_clause,[],[f299]) ).

tff(f299,plain,
    ( $false
    | ~ spl5_1 ),
    inference(subsumption_resolution,[],[f298,f63]) ).

tff(f63,plain,
    0 = read(sK0,sK2),
    inference(superposition,[],[f25,f28]) ).

tff(f28,plain,
    sK0 = write(write(write(sK1,sK3,0),sK4,$sum(1,read(sK0,sK4))),sK2,0),
    inference(forward_demodulation,[],[f27,f24]) ).

tff(f24,plain,
    ! [X5: $int] : ( read(sK0,X5) = read(sK1,X5) ),
    inference(cnf_transformation,[],[f21]) ).

tff(f21,plain,
    ( ! [X5: $int] : ( read(sK0,X5) = read(sK1,X5) )
    & ( sK0 = write(write(write(sK1,sK3,0),sK4,$sum(read(sK1,sK4),1)),sK2,0) )
    & ( read(sK1,sK2) != read(sK1,sK3) ) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK0,sK1,sK2,sK3,sK4])],[f19,f20]) ).

tff(f20,plain,
    ( ? [X0: array,X1: array,X2: $int,X3: $int,X4: $int] :
        ( ! [X5: $int] : ( read(X0,X5) = read(X1,X5) )
        & ( write(write(write(X1,X3,0),X4,$sum(read(X1,X4),1)),X2,0) = X0 )
        & ( read(X1,X2) != read(X1,X3) ) )
   => ( ! [X5: $int] : ( read(sK0,X5) = read(sK1,X5) )
      & ( sK0 = write(write(write(sK1,sK3,0),sK4,$sum(read(sK1,sK4),1)),sK2,0) )
      & ( read(sK1,sK2) != read(sK1,sK3) ) ) ),
    introduced(choice_axiom,[]) ).

tff(f19,plain,
    ? [X0: array,X1: array,X2: $int,X3: $int,X4: $int] :
      ( ! [X5: $int] : ( read(X0,X5) = read(X1,X5) )
      & ( write(write(write(X1,X3,0),X4,$sum(read(X1,X4),1)),X2,0) = X0 )
      & ( read(X1,X2) != read(X1,X3) ) ),
    inference(flattening,[],[f18]) ).

tff(f18,plain,
    ? [X0: array,X1: array,X2: $int,X3: $int,X4: $int] :
      ( ! [X5: $int] : ( read(X0,X5) = read(X1,X5) )
      & ( write(write(write(X1,X3,0),X4,$sum(read(X1,X4),1)),X2,0) = X0 )
      & ( read(X1,X2) != read(X1,X3) ) ),
    inference(ennf_transformation,[],[f4]) ).

tff(f4,negated_conjecture,
    ~ ! [X0: array,X1: array,X2: $int,X3: $int,X4: $int] :
        ( ( ( write(write(write(X1,X3,0),X4,$sum(read(X1,X4),1)),X2,0) = X0 )
          & ( read(X1,X2) != read(X1,X3) ) )
       => ? [X5: $int] : ( read(X0,X5) != read(X1,X5) ) ),
    inference(negated_conjecture,[],[f3]) ).

tff(f3,conjecture,
    ! [X0: array,X1: array,X2: $int,X3: $int,X4: $int] :
      ( ( ( write(write(write(X1,X3,0),X4,$sum(read(X1,X4),1)),X2,0) = X0 )
        & ( read(X1,X2) != read(X1,X3) ) )
     => ? [X5: $int] : ( read(X0,X5) != read(X1,X5) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',co1) ).

tff(f27,plain,
    sK0 = write(write(write(sK1,sK3,0),sK4,$sum(1,read(sK1,sK4))),sK2,0),
    inference(forward_demodulation,[],[f23,f5]) ).

tff(f5,plain,
    ! [X0: $int,X1: $int] : ( $sum(X0,X1) = $sum(X1,X0) ),
    introduced(theory_axiom_135,[]) ).

tff(f23,plain,
    sK0 = write(write(write(sK1,sK3,0),sK4,$sum(read(sK1,sK4),1)),sK2,0),
    inference(cnf_transformation,[],[f21]) ).

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

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

tff(f298,plain,
    ( ( 0 != read(sK0,sK2) )
    | ~ spl5_1 ),
    inference(backward_demodulation,[],[f64,f294]) ).

tff(f294,plain,
    ( ( sK2 = sK3 )
    | ~ spl5_1 ),
    inference(subsumption_resolution,[],[f290,f64]) ).

tff(f290,plain,
    ( ( 0 = read(sK0,sK3) )
    | ( sK2 = sK3 )
    | ~ spl5_1 ),
    inference(superposition,[],[f282,f25]) ).

tff(f282,plain,
    ( ! [X0: $int] :
        ( ( read(sK0,X0) = read(write(sK1,sK3,0),X0) )
        | ( sK2 = X0 ) )
    | ~ spl5_1 ),
    inference(duplicate_literal_removal,[],[f280]) ).

tff(f280,plain,
    ( ! [X0: $int] :
        ( ( sK2 = X0 )
        | ( read(sK0,X0) = read(write(sK1,sK3,0),X0) )
        | ( sK2 = X0 ) )
    | ~ spl5_1 ),
    inference(backward_demodulation,[],[f255,f261]) ).

tff(f261,plain,
    ( ( sK2 = sK4 )
    | ~ spl5_1 ),
    inference(avatar_component_clause,[],[f259]) ).

tff(f259,plain,
    ( spl5_1
  <=> ( sK2 = sK4 ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl5_1])]) ).

tff(f255,plain,
    ! [X0: $int] :
      ( ( read(sK0,X0) = read(write(sK1,sK3,0),X0) )
      | ( sK2 = X0 )
      | ( sK4 = X0 ) ),
    inference(superposition,[],[f251,f26]) ).

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

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

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

tff(f251,plain,
    ! [X0: $int] :
      ( ( read(sK0,X0) = read(write(write(sK1,sK3,0),sK4,$sum(1,read(sK0,sK4))),X0) )
      | ( sK2 = X0 ) ),
    inference(superposition,[],[f26,f28]) ).

tff(f64,plain,
    0 != read(sK0,sK3),
    inference(backward_demodulation,[],[f30,f63]) ).

tff(f30,plain,
    read(sK0,sK3) != read(sK0,sK2),
    inference(forward_demodulation,[],[f29,f24]) ).

tff(f29,plain,
    read(sK1,sK2) != read(sK0,sK3),
    inference(forward_demodulation,[],[f22,f24]) ).

tff(f22,plain,
    read(sK1,sK2) != read(sK1,sK3),
    inference(cnf_transformation,[],[f21]) ).

tff(f277,plain,
    ~ spl5_2,
    inference(avatar_contradiction_clause,[],[f276]) ).

tff(f276,plain,
    ( $false
    | ~ spl5_2 ),
    inference(subsumption_resolution,[],[f272,f10]) ).

tff(f10,plain,
    ! [X0: $int] : ~ $less(X0,X0),
    introduced(theory_axiom_142,[]) ).

tff(f272,plain,
    ( $less(read(sK0,sK4),read(sK0,sK4))
    | ~ spl5_2 ),
    inference(superposition,[],[f44,f265]) ).

tff(f265,plain,
    ( ( read(sK0,sK4) = $sum(1,read(sK0,sK4)) )
    | ~ spl5_2 ),
    inference(avatar_component_clause,[],[f263]) ).

tff(f263,plain,
    ( spl5_2
  <=> ( read(sK0,sK4) = $sum(1,read(sK0,sK4)) ) ),
    introduced(avatar_definition,[new_symbols(naming,[spl5_2])]) ).

tff(f44,plain,
    ! [X0: $int] : $less(X0,$sum(1,X0)),
    inference(superposition,[],[f43,f5]) ).

tff(f43,plain,
    ! [X0: $int] : $less(X0,$sum(X0,1)),
    inference(resolution,[],[f14,f10]) ).

tff(f14,plain,
    ! [X0: $int,X1: $int] :
      ( $less(X0,X1)
      | $less(X1,$sum(X0,1)) ),
    introduced(theory_axiom_147,[]) ).

tff(f267,plain,
    ( spl5_1
    | spl5_2 ),
    inference(avatar_split_clause,[],[f256,f263,f259]) ).

tff(f256,plain,
    ( ( read(sK0,sK4) = $sum(1,read(sK0,sK4)) )
    | ( sK2 = sK4 ) ),
    inference(superposition,[],[f25,f251]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.11/0.12  % Problem    : DAT017_1 : TPTP v8.1.2. Released v5.0.0.
% 0.11/0.14  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.15/0.35  % Computer : n026.cluster.edu
% 0.15/0.35  % Model    : x86_64 x86_64
% 0.15/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.15/0.35  % Memory   : 8042.1875MB
% 0.15/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.15/0.35  % CPULimit   : 300
% 0.15/0.35  % WCLimit    : 300
% 0.15/0.35  % DateTime   : Mon Apr 29 22:30:04 EDT 2024
% 0.15/0.36  % CPUTime    : 
% 0.15/0.36  % (3393)Running in auto input_syntax mode. Trying TPTP
% 0.15/0.37  % (3396)WARNING: value z3 for option sas not known
% 0.15/0.38  % (3394)fmb+10_1_bce=on:fmbas=function:fmbsr=1.2:fde=unused:nm=0_846 on theBenchmark for (846ds/0Mi)
% 0.15/0.38  % (3397)fmb+10_1_bce=on:fmbsr=1.5:nm=32_533 on theBenchmark for (533ds/0Mi)
% 0.15/0.38  % (3399)ott-10_8_av=off:bd=preordered:bs=on:fsd=off:fsr=off:fde=unused:irw=on:lcm=predicate:lma=on:nm=4:nwc=1.7:sp=frequency_522 on theBenchmark for (522ds/0Mi)
% 0.15/0.38  % (3395)fmb+10_1_bce=on:fmbdsb=on:fmbes=contour:fmbswr=3:fde=none:nm=0_793 on theBenchmark for (793ds/0Mi)
% 0.15/0.38  % (3400)ott+1_64_av=off:bd=off:bce=on:fsd=off:fde=unused:gsp=on:irw=on:lcm=predicate:lma=on:nm=2:nwc=1.1:sims=off:urr=on_497 on theBenchmark for (497ds/0Mi)
% 0.15/0.38  % (3396)dis+2_11_add=large:afr=on:amm=off:bd=off:bce=on:fsd=off:fde=none:gs=on:gsaa=full_model:gsem=off:irw=on:msp=off:nm=4:nwc=1.3:sas=z3:sims=off:sac=on:sp=reverse_arity_569 on theBenchmark for (569ds/0Mi)
% 0.15/0.38  % (3398)ott+10_10:1_add=off:afr=on:amm=off:anc=all:bd=off:bs=on:fsr=off:irw=on:lma=on:msp=off:nm=4:nwc=4.0:sac=on:sp=reverse_frequency_531 on theBenchmark for (531ds/0Mi)
% 0.15/0.38  % (3397)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.15/0.38  % (3395)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.15/0.38  % (3394)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.15/0.38  % (3397)Terminated due to inappropriate strategy.
% 0.15/0.38  % (3397)------------------------------
% 0.15/0.38  % (3397)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.38  % (3395)Terminated due to inappropriate strategy.
% 0.15/0.38  % (3395)------------------------------
% 0.15/0.38  % (3395)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.38  % (3395)Termination reason: Inappropriate
% 0.15/0.38  % (3394)Terminated due to inappropriate strategy.
% 0.15/0.38  % (3394)------------------------------
% 0.15/0.38  % (3394)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.38  % (3397)Termination reason: Inappropriate
% 0.15/0.38  
% 0.15/0.38  
% 0.15/0.38  % (3394)Termination reason: Inappropriate
% 0.15/0.38  
% 0.15/0.38  % (3397)Memory used [KB]: 741
% 0.15/0.38  % (3395)Memory used [KB]: 741
% 0.15/0.38  % (3394)Memory used [KB]: 741
% 0.15/0.38  % (3397)Time elapsed: 0.002 s
% 0.15/0.38  % (3395)Time elapsed: 0.003 s
% 0.15/0.38  % (3394)Time elapsed: 0.003 s
% 0.15/0.38  % (3397)Instructions burned: 2 (million)
% 0.15/0.38  % (3394)Instructions burned: 2 (million)
% 0.15/0.38  % (3395)Instructions burned: 2 (million)
% 0.15/0.38  % (3397)------------------------------
% 0.15/0.38  % (3397)------------------------------
% 0.15/0.38  % (3394)------------------------------
% 0.15/0.38  % (3394)------------------------------
% 0.15/0.38  % (3395)------------------------------
% 0.15/0.38  % (3395)------------------------------
% 0.15/0.39  % (3401)fmb+10_1_fmbas=expand:fmbsr=1.1:gsp=on:nm=4_411 on theBenchmark for (411ds/0Mi)
% 0.15/0.39  % (3402)ott+1_9_av=off:bd=off:bs=on:gsp=on:lcm=predicate:nm=4:sp=weighted_frequency:urr=on_382 on theBenchmark for (382ds/0Mi)
% 0.15/0.39  % (3403)lrs-11_2:5_fsd=off:fde=none:nm=4:nwc=5.0:sims=off:sp=reverse_weighted_frequency:stl=62_367 on theBenchmark for (367ds/0Mi)
% 0.15/0.39  % (3401)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.15/0.39  % (3401)Terminated due to inappropriate strategy.
% 0.15/0.39  % (3401)------------------------------
% 0.15/0.39  % (3401)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.39  % (3401)Termination reason: Inappropriate
% 0.15/0.39  
% 0.15/0.39  % (3401)Memory used [KB]: 741
% 0.15/0.39  % (3401)Time elapsed: 0.002 s
% 0.15/0.39  % (3401)Instructions burned: 2 (million)
% 0.15/0.39  % (3401)------------------------------
% 0.15/0.39  % (3401)------------------------------
% 0.15/0.40  % (3403)First to succeed.
% 0.15/0.41  % (3403)Refutation found. Thanks to Tanya!
% 0.15/0.41  % SZS status Theorem for theBenchmark
% 0.15/0.41  % SZS output start Proof for theBenchmark
% See solution above
% 0.15/0.41  % (3403)------------------------------
% 0.15/0.41  % (3403)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.41  % (3403)Termination reason: Refutation
% 0.15/0.41  
% 0.15/0.41  % (3403)Memory used [KB]: 884
% 0.15/0.41  % (3403)Time elapsed: 0.013 s
% 0.15/0.41  % (3403)Instructions burned: 17 (million)
% 0.15/0.41  % (3403)------------------------------
% 0.15/0.41  % (3403)------------------------------
% 0.15/0.41  % (3393)Success in time 0.046 s
%------------------------------------------------------------------------------