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

View Problem - Process Solution

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

% Computer : n007.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:59 EDT 2024

% Result   : Theorem 0.15s 0.36s
% Output   : Refutation 0.15s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   21
%            Number of leaves      :   18
% Syntax   : Number of formulae    :   58 (  30 unt;  12 typ;   0 def)
%            Number of atoms       :  112 (  24 equ)
%            Maximal formula atoms :    7 (   2 avg)
%            Number of connectives :  115 (  49   ~;  42   |;  12   &)
%                                         (   3 <=>;   9  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   5 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number arithmetic     :  243 (  75 atm;  29 fun;  60 num;  79 var)
%            Number of types       :    3 (   1 usr;   1 ari)
%            Number of type conns  :   25 (  11   >;  14   *;   0   +;   0  <<)
%            Number of predicates  :    8 (   3 usr;   1 prp; 0-3 aty)
%            Number of functors    :   17 (   8 usr;   8 con; 0-3 aty)
%            Number of variables   :   86 (  86   !;   0   ?;  86   :)

% 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_2,type,
    init: $int > array ).

tff(func_def_3,type,
    max: ( array * $int ) > $int ).

tff(func_def_5,type,
    rev: ( array * $int ) > array ).

tff(func_def_10,type,
    sK0: ( array * array ) > $int ).

tff(func_def_11,type,
    sK1: ( array * $int * $int ) > $int ).

tff(func_def_12,type,
    sK2: ( array * array * $int ) > $int ).

tff(pred_def_4,type,
    sorted: ( array * $int ) > $o ).

tff(pred_def_6,type,
    inRange: ( array * $int * $int ) > $o ).

tff(pred_def_7,type,
    distinct: ( array * $int ) > $o ).

tff(f533,plain,
    $false,
    inference(evaluation,[],[f530]) ).

tff(f530,plain,
    ~ $less(0,$sum(7,1)),
    inference(resolution,[],[f511,f379]) ).

tff(f379,plain,
    ! [X0: $int] : $less(X0,$sum(7,X0)),
    inference(evaluation,[],[f374]) ).

tff(f374,plain,
    ! [X0: $int] : $less(X0,$sum($sum(6,X0),1)),
    inference(resolution,[],[f353,f26]) ).

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

tff(f353,plain,
    ! [X0: $int] : ~ $less($sum(6,X0),X0),
    inference(resolution,[],[f325,f108]) ).

tff(f108,plain,
    ! [X0: $int,X1: $int] :
      ( ~ $less(X0,X1)
      | ~ $less(X1,X0) ),
    inference(resolution,[],[f23,f22]) ).

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

tff(f23,plain,
    ! [X2: $int,X0: $int,X1: $int] :
      ( $less(X0,X2)
      | ~ $less(X1,X2)
      | ~ $less(X0,X1) ),
    introduced(theory_axiom_143,[]) ).

tff(f325,plain,
    ! [X0: $int] : $less(X0,$sum(6,X0)),
    inference(evaluation,[],[f320]) ).

tff(f320,plain,
    ! [X0: $int] : $less(X0,$sum($sum(5,X0),1)),
    inference(resolution,[],[f311,f26]) ).

tff(f311,plain,
    ! [X0: $int] : ~ $less($sum(5,X0),X0),
    inference(resolution,[],[f287,f108]) ).

tff(f287,plain,
    ! [X0: $int] : $less(X0,$sum(5,X0)),
    inference(evaluation,[],[f282]) ).

tff(f282,plain,
    ! [X0: $int] : $less(X0,$sum($sum(4,X0),1)),
    inference(resolution,[],[f271,f26]) ).

tff(f271,plain,
    ! [X0: $int] : ~ $less($sum(4,X0),X0),
    inference(resolution,[],[f226,f108]) ).

tff(f226,plain,
    ! [X0: $int] : $less(X0,$sum(4,X0)),
    inference(evaluation,[],[f221]) ).

tff(f221,plain,
    ! [X0: $int] : $less(X0,$sum($sum(3,X0),1)),
    inference(resolution,[],[f212,f26]) ).

tff(f212,plain,
    ! [X0: $int] : ~ $less($sum(3,X0),X0),
    inference(resolution,[],[f159,f108]) ).

tff(f159,plain,
    ! [X0: $int] : $less(X0,$sum(3,X0)),
    inference(evaluation,[],[f154]) ).

tff(f154,plain,
    ! [X0: $int] : $less(X0,$sum($sum(2,X0),1)),
    inference(resolution,[],[f145,f26]) ).

tff(f145,plain,
    ! [X0: $int] : ~ $less($sum(2,X0),X0),
    inference(resolution,[],[f127,f108]) ).

tff(f127,plain,
    ! [X0: $int] : $less(X0,$sum(2,X0)),
    inference(evaluation,[],[f123]) ).

tff(f123,plain,
    ! [X0: $int] : $less(X0,$sum($sum(X0,1),1)),
    inference(resolution,[],[f115,f26]) ).

tff(f115,plain,
    ! [X0: $int] : ~ $less($sum(X0,1),X0),
    inference(resolution,[],[f108,f80]) ).

tff(f80,plain,
    ! [X0: $int] : $less(X0,$sum(X0,1)),
    inference(resolution,[],[f26,f22]) ).

tff(f511,plain,
    ! [X0: $int] :
      ( ~ $less(1,X0)
      | ~ $less(0,X0) ),
    inference(evaluation,[],[f481]) ).

tff(f481,plain,
    ! [X0: $int] :
      ( ~ $less(0,X0)
      | ~ $less($sum(0,1),X0)
      | ( 0 = $sum(0,1) ) ),
    inference(resolution,[],[f443,f115]) ).

tff(f443,plain,
    ! [X0: $int,X1: $int] :
      ( $less(X0,0)
      | ~ $less(0,X1)
      | ~ $less(X0,X1)
      | ( 0 = X0 ) ),
    inference(resolution,[],[f441,f22]) ).

tff(f441,plain,
    ! [X2: $int,X3: $int,X1: $int] :
      ( $less(X1,0)
      | $less(X2,0)
      | ~ $less(X1,X3)
      | ~ $less(X2,X3)
      | ( X1 = X2 ) ),
    inference(subsumption_resolution,[],[f440,f53]) ).

tff(f53,plain,
    ! [X0: $int,X1: $int] : ( read(init(X0),X1) = X0 ),
    inference(cnf_transformation,[],[f31]) ).

tff(f31,plain,
    ! [X0: $int,X1: $int] : ( read(init(X0),X1) = X0 ),
    inference(rectify,[],[f4]) ).

tff(f4,axiom,
    ! [X2: $int,X1: $int] : ( read(init(X2),X1) = X2 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',ax3) ).

tff(f440,plain,
    ! [X2: $int,X3: $int,X0: $int,X1: $int] :
      ( ( read(init(X0),X1) != X0 )
      | $less(X2,0)
      | $less(X1,0)
      | ~ $less(X1,X3)
      | ~ $less(X2,X3)
      | ( X1 = X2 ) ),
    inference(forward_demodulation,[],[f439,f53]) ).

tff(f439,plain,
    ! [X2: $int,X3: $int,X0: $int,X1: $int] :
      ( ( read(init(X0),X1) != read(init(X0),X2) )
      | $less(X2,0)
      | $less(X1,0)
      | ~ $less(X1,X3)
      | ~ $less(X2,X3)
      | ( X1 = X2 ) ),
    inference(resolution,[],[f55,f52]) ).

tff(f52,plain,
    ! [X0: $int,X1: $int] : distinct(init(X0),X1),
    inference(cnf_transformation,[],[f30]) ).

tff(f30,plain,
    ! [X0: $int,X1: $int] : distinct(init(X0),X1),
    inference(flattening,[],[f29]) ).

tff(f29,plain,
    ~ ~ ! [X0: $int,X1: $int] : distinct(init(X0),X1),
    inference(rectify,[],[f11]) ).

tff(f11,negated_conjecture,
    ~ ~ ! [X5: $int,X1: $int] : distinct(init(X5),X1),
    inference(negated_conjecture,[],[f10]) ).

tff(f10,conjecture,
    ~ ! [X5: $int,X1: $int] : distinct(init(X5),X1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',c2) ).

tff(f55,plain,
    ! [X2: $int,X3: $int,X0: array,X1: $int] :
      ( ~ distinct(X0,X1)
      | ( read(X0,X3) != read(X0,X2) )
      | $less(X2,0)
      | $less(X3,0)
      | ~ $less(X3,X1)
      | ~ $less(X2,X1)
      | ( X2 = X3 ) ),
    inference(cnf_transformation,[],[f42]) ).

tff(f42,plain,
    ! [X0: array,X1: $int] :
      ( ! [X2: $int,X3: $int] :
          ( ( X2 = X3 )
          | ( read(X0,X3) != read(X0,X2) )
          | $less(X2,0)
          | $less(X3,0)
          | ~ $less(X3,X1)
          | ~ $less(X2,X1) )
      | ~ distinct(X0,X1) ),
    inference(flattening,[],[f41]) ).

tff(f41,plain,
    ! [X0: array,X1: $int] :
      ( ! [X2: $int,X3: $int] :
          ( ( X2 = X3 )
          | ( read(X0,X3) != read(X0,X2) )
          | $less(X2,0)
          | $less(X3,0)
          | ~ $less(X3,X1)
          | ~ $less(X2,X1) )
      | ~ distinct(X0,X1) ),
    inference(ennf_transformation,[],[f39]) ).

tff(f39,plain,
    ! [X0: array,X1: $int] :
      ( distinct(X0,X1)
     => ! [X2: $int,X3: $int] :
          ( ( ~ $less(X2,0)
            & ~ $less(X3,0)
            & $less(X3,X1)
            & $less(X2,X1) )
         => ( ( read(X0,X3) = read(X0,X2) )
           => ( X2 = X3 ) ) ) ),
    inference(unused_predicate_definition_removal,[],[f34]) ).

tff(f34,plain,
    ! [X0: array,X1: $int] :
      ( distinct(X0,X1)
    <=> ! [X2: $int,X3: $int] :
          ( ( ~ $less(X2,0)
            & ~ $less(X3,0)
            & $less(X3,X1)
            & $less(X2,X1) )
         => ( ( read(X0,X3) = read(X0,X2) )
           => ( X2 = X3 ) ) ) ),
    inference(rectify,[],[f13]) ).

tff(f13,plain,
    ! [X0: array,X5: $int] :
      ( distinct(X0,X5)
    <=> ! [X1: $int,X3: $int] :
          ( ( ~ $less(X1,0)
            & ~ $less(X3,0)
            & $less(X3,X5)
            & $less(X1,X5) )
         => ( ( read(X0,X3) = read(X0,X1) )
           => ( X1 = X3 ) ) ) ),
    inference(theory_normalization,[],[f8]) ).

tff(f8,axiom,
    ! [X0: array,X5: $int] :
      ( distinct(X0,X5)
    <=> ! [X1: $int,X3: $int] :
          ( ( $greatereq(X1,0)
            & $greatereq(X3,0)
            & $greater(X5,X3)
            & $greater(X5,X1) )
         => ( ( read(X0,X3) = read(X0,X1) )
           => ( X1 = X3 ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',distinct) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.09  % Problem    : DAT074_1 : TPTP v8.1.2. Released v6.1.0.
% 0.10/0.11  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.10/0.31  % Computer : n007.cluster.edu
% 0.10/0.31  % Model    : x86_64 x86_64
% 0.10/0.31  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.31  % Memory   : 8042.1875MB
% 0.10/0.31  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.10/0.31  % CPULimit   : 300
% 0.10/0.31  % WCLimit    : 300
% 0.10/0.31  % DateTime   : Mon Apr 29 22:03:17 EDT 2024
% 0.10/0.31  % CPUTime    : 
% 0.10/0.31  % (22499)Running in auto input_syntax mode. Trying TPTP
% 0.15/0.33  % (22502)WARNING: value z3 for option sas not known
% 0.15/0.33  % (22500)fmb+10_1_bce=on:fmbas=function:fmbsr=1.2:fde=unused:nm=0_846 on theBenchmark for (846ds/0Mi)
% 0.15/0.33  % (22504)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.33  % (22505)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.33  % (22501)fmb+10_1_bce=on:fmbdsb=on:fmbes=contour:fmbswr=3:fde=none:nm=0_793 on theBenchmark for (793ds/0Mi)
% 0.15/0.33  % (22503)fmb+10_1_bce=on:fmbsr=1.5:nm=32_533 on theBenchmark for (533ds/0Mi)
% 0.15/0.33  % (22506)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.33  % (22502)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.33  % (22500)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.15/0.33  % (22501)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.15/0.33  % (22503)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.15/0.33  % (22501)Terminated due to inappropriate strategy.
% 0.15/0.33  % (22501)------------------------------
% 0.15/0.33  % (22501)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.33  % (22503)Terminated due to inappropriate strategy.
% 0.15/0.33  % (22503)------------------------------
% 0.15/0.33  % (22503)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.33  % (22503)Termination reason: Inappropriate
% 0.15/0.33  
% 0.15/0.33  % (22503)Memory used [KB]: 800
% 0.15/0.33  % (22503)Time elapsed: 0.002 s
% 0.15/0.33  % (22503)Instructions burned: 3 (million)
% 0.15/0.33  % (22500)Terminated due to inappropriate strategy.
% 0.15/0.33  % (22500)------------------------------
% 0.15/0.33  % (22500)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.33  % (22503)------------------------------
% 0.15/0.33  % (22503)------------------------------
% 0.15/0.33  % (22500)Termination reason: Inappropriate
% 0.15/0.33  
% 0.15/0.33  % (22500)Memory used [KB]: 800
% 0.15/0.33  % (22500)Time elapsed: 0.002 s
% 0.15/0.33  % (22500)Instructions burned: 3 (million)
% 0.15/0.33  % (22500)------------------------------
% 0.15/0.33  % (22500)------------------------------
% 0.15/0.33  % (22501)Termination reason: Inappropriate
% 0.15/0.33  
% 0.15/0.33  % (22501)Memory used [KB]: 800
% 0.15/0.33  % (22501)Time elapsed: 0.003 s
% 0.15/0.33  % (22501)Instructions burned: 3 (million)
% 0.15/0.33  % (22501)------------------------------
% 0.15/0.33  % (22501)------------------------------
% 0.15/0.34  % (22507)fmb+10_1_fmbas=expand:fmbsr=1.1:gsp=on:nm=4_411 on theBenchmark for (411ds/0Mi)
% 0.15/0.34  % (22508)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.34  % (22509)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.34  % (22507)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.15/0.34  % (22507)Terminated due to inappropriate strategy.
% 0.15/0.34  % (22507)------------------------------
% 0.15/0.34  % (22507)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.34  % (22507)Termination reason: Inappropriate
% 0.15/0.34  
% 0.15/0.34  % (22507)Memory used [KB]: 799
% 0.15/0.34  % (22507)Time elapsed: 0.003 s
% 0.15/0.34  % (22507)Instructions burned: 3 (million)
% 0.15/0.34  % (22507)------------------------------
% 0.15/0.34  % (22507)------------------------------
% 0.15/0.36  % (22509)First to succeed.
% 0.15/0.36  % (22510)ott+4_64_acc=on:anc=none:bs=on:bsr=on:fsd=off:gs=on:gsem=off:irw=on:msp=off:nwc=2.5:nicw=on:sims=off_354 on theBenchmark for (354ds/0Mi)
% 0.15/0.36  % (22509)Refutation found. Thanks to Tanya!
% 0.15/0.36  % SZS status Theorem for theBenchmark
% 0.15/0.36  % SZS output start Proof for theBenchmark
% See solution above
% 0.15/0.36  % (22509)------------------------------
% 0.15/0.36  % (22509)Version: Vampire 4.8 (commit 8e9376e55 on 2024-01-18 13:49:33 +0100)
% 0.15/0.36  % (22509)Termination reason: Refutation
% 0.15/0.36  
% 0.15/0.36  % (22509)Memory used [KB]: 1032
% 0.15/0.36  % (22509)Time elapsed: 0.017 s
% 0.15/0.36  % (22509)Instructions burned: 29 (million)
% 0.15/0.36  % (22509)------------------------------
% 0.15/0.36  % (22509)------------------------------
% 0.15/0.36  % (22499)Success in time 0.047 s
%------------------------------------------------------------------------------