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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV-SAT---1.0
% Problem  : DAT074_1 : TPTP v8.1.0. Released v6.1.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 : n006.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:49 EDT 2022

% Result   : Theorem 1.89s 0.60s
% Output   : Refutation 1.89s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   15
%            Number of leaves      :   18
% Syntax   : Number of formulae    :   42 (  14 unt;  12 typ;   0 def)
%            Number of atoms       :  103 (  29 equ)
%            Maximal formula atoms :    7 (   3 avg)
%            Number of connectives :  110 (  37   ~;  49   |;  12   &)
%                                         (   3 <=>;   9  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   6 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number arithmetic     :  170 (  59 atm;   6 fun;  40 num;  65 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    :   11 (   8 usr;   2 con; 0-3 aty)
%            Number of variables   :   73 (  73   !;   0   ?;  73   :)

% 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: ( $int * array * array ) > $int ).

tff(func_def_12,type,
    sK2: ( $int * $int * array ) > $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(f344,plain,
    $false,
    inference(evaluation,[],[f336]) ).

tff(f336,plain,
    ( $less(1,0)
    | ( 0 = 1 ) ),
    inference(resolution,[],[f325,f22]) ).

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

tff(f325,plain,
    ! [X5: $int] :
      ( $less(1,X5)
      | $less(X5,0)
      | ( 1 = X5 ) ),
    inference(evaluation,[],[f311]) ).

tff(f311,plain,
    ! [X5: $int] :
      ( $less(1,0)
      | $less(X5,0)
      | $less(1,X5)
      | ( 1 = X5 ) ),
    inference(resolution,[],[f225,f157]) ).

tff(f157,plain,
    ! [X0: $int] : $less(X0,$sum(1,X0)),
    inference(superposition,[],[f85,f17]) ).

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

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

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

tff(f225,plain,
    ! [X2: $int,X0: $int,X1: $int] :
      ( ~ $less(X0,$sum(X2,1))
      | $less(X2,X1)
      | $less(X1,0)
      | $less(X0,0)
      | ( X0 = X1 ) ),
    inference(resolution,[],[f222,f26]) ).

tff(f222,plain,
    ! [X2: $int,X3: $int,X1: $int] :
      ( ~ $less(X2,X3)
      | ( X1 = X2 )
      | $less(X1,0)
      | $less(X2,0)
      | ~ $less(X1,X3) ),
    inference(subsumption_resolution,[],[f221,f63]) ).

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

tff(f37,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/sandbox2/benchmark/theBenchmark.p',ax3) ).

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

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

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

tff(f46,plain,
    ! [X0: $int,X1: $int] : distinct(init(X1),X0),
    inference(rectify,[],[f31]) ).

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

tff(f30,plain,
    ~ ~ ! [X1: $int,X0: $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/sandbox2/benchmark/theBenchmark.p',c2) ).

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

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

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

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

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

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

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

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.11/0.12  % Problem    : DAT074=1 : TPTP v8.1.0. Released v6.1.0.
% 0.11/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.34  % Computer : n006.cluster.edu
% 0.13/0.34  % Model    : x86_64 x86_64
% 0.13/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34  % Memory   : 8042.1875MB
% 0.13/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34  % CPULimit   : 300
% 0.13/0.34  % WCLimit    : 300
% 0.13/0.34  % DateTime   : Mon Aug 29 20:19:10 EDT 2022
% 0.13/0.34  % CPUTime    : 
% 0.19/0.55  % (15682)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.19/0.55  % (15681)ins+10_1:1_awrs=decay:awrsf=30:bsr=unit_only:foolp=on:igrr=8/457:igs=10:igwr=on:nwc=1.5:sp=weighted_frequency:to=lpo:uhcvi=on:i=68:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/68Mi)
% 0.19/0.56  % (15690)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.19/0.56  % (15683)dis+34_1:32_abs=on:add=off:bsr=on:gsp=on:sp=weighted_frequency:i=99:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/99Mi)
% 0.19/0.56  % (15674)dis+10_1:1_fsd=on:sp=occurrence:i=7:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/7Mi)
% 0.19/0.56  % (15674)Instruction limit reached!
% 0.19/0.56  % (15674)------------------------------
% 0.19/0.56  % (15674)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.19/0.57  % (15691)ott+10_1:1_kws=precedence:tgt=ground:i=482:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/482Mi)
% 0.19/0.57  % (15689)dis+21_1:1_av=off:er=filter:slsq=on:slsqc=0:slsqr=1,1:sp=frequency:to=lpo:i=498:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/498Mi)
% 0.19/0.57  % (15673)fmb+10_1:1_fmbsr=2.0:nm=4:skr=on:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.19/0.57  % (15674)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.19/0.57  % (15674)Termination reason: Unknown
% 0.19/0.57  % (15674)Termination phase: Saturation
% 0.19/0.57  
% 0.19/0.57  % (15674)Memory used [KB]: 5500
% 0.19/0.57  % (15674)Time elapsed: 0.134 s
% 0.19/0.57  % (15674)Instructions burned: 8 (million)
% 0.19/0.57  % (15674)------------------------------
% 0.19/0.57  % (15674)------------------------------
% 0.19/0.57  % (15675)dis+2_1:64_add=large:bce=on:bd=off:i=2:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/2Mi)
% 0.19/0.57  % (15673)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.19/0.57  % (15673)Terminated due to inappropriate strategy.
% 0.19/0.57  % (15673)------------------------------
% 0.19/0.57  % (15673)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.19/0.57  % (15673)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.19/0.57  % (15673)Termination reason: Inappropriate
% 0.19/0.57  
% 0.19/0.57  % (15673)Memory used [KB]: 895
% 0.19/0.57  % (15673)Time elapsed: 0.002 s
% 0.19/0.57  % (15673)Instructions burned: 2 (million)
% 0.19/0.57  % (15673)------------------------------
% 0.19/0.57  % (15673)------------------------------
% 0.19/0.57  % (15675)Instruction limit reached!
% 0.19/0.57  % (15675)------------------------------
% 0.19/0.57  % (15675)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.19/0.57  % (15675)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.19/0.57  % (15675)Termination reason: Unknown
% 0.19/0.57  % (15675)Termination phase: Saturation
% 0.19/0.57  
% 0.19/0.57  % (15675)Memory used [KB]: 895
% 0.19/0.57  % (15675)Time elapsed: 0.003 s
% 0.19/0.57  % (15675)Instructions burned: 3 (million)
% 0.19/0.57  % (15675)------------------------------
% 0.19/0.57  % (15675)------------------------------
% 1.78/0.58  % (15692)ott+10_1:5_bd=off:tgt=full:i=500:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/500Mi)
% 1.78/0.58  % (15671)ott+33_1:4_s2a=on:tgt=ground:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 1.78/0.58  % (15694)ott+11_2:3_av=off:fde=unused:nwc=5.0:tgt=ground:i=177:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/177Mi)
% 1.78/0.59  % (15676)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)
% 1.78/0.59  % (15688)ott+3_1:1_gsp=on:lcm=predicate:i=138:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/138Mi)
% 1.78/0.59  % (15686)ott+4_1:1_av=off:bd=off:nwc=5.0:rp=on:s2a=on:s2at=2.0:slsq=on:slsqc=2:slsql=off:slsqr=1,2:sp=frequency:i=100:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/100Mi)
% 1.78/0.59  % (15695)ott+33_1:4_s2a=on:tgt=ground:i=439:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/439Mi)
% 1.78/0.59  % (15684)fmb+10_1:1_bce=on:i=59:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/59Mi)
% 1.78/0.59  % (15684)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 1.78/0.59  % (15684)Terminated due to inappropriate strategy.
% 1.78/0.59  % (15684)------------------------------
% 1.78/0.59  % (15684)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 1.78/0.59  % (15684)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 1.78/0.59  % (15684)Termination reason: Inappropriate
% 1.78/0.59  
% 1.78/0.59  % (15684)Memory used [KB]: 895
% 1.78/0.59  % (15684)Time elapsed: 0.002 s
% 1.78/0.59  % (15684)Instructions burned: 3 (million)
% 1.78/0.59  % (15684)------------------------------
% 1.78/0.59  % (15684)------------------------------
% 1.78/0.59  % (15696)ott+10_7:2_awrs=decay:awrsf=8:bd=preordered:drc=off:fd=preordered:fde=unused:fsr=off:slsq=on:slsqc=2:slsqr=5,8:sp=const_min:spb=units:to=lpo:i=355:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/355Mi)
% 1.78/0.59  % (15679)ott+10_1:28_bd=off:bs=on:tgt=ground:i=101:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/101Mi)
% 1.78/0.59  % (15672)dis+34_1:32_abs=on:add=off:bsr=on:gsp=on:sp=weighted_frequency:i=48:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/48Mi)
% 1.78/0.60  % (15668)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)
% 1.78/0.60  % (15687)ott+10_1:8_bsd=on:fsd=on:lcm=predicate:nwc=5.0:s2a=on:s2at=1.5:spb=goal_then_units:i=176:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/176Mi)
% 1.89/0.60  % (15689)First to succeed.
% 1.89/0.60  % (15678)ott+10_1:32_bd=off:fsr=off:newcnf=on:tgt=full:i=100:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/100Mi)
% 1.89/0.60  % (15690)Also succeeded, but the first one will report.
% 1.89/0.60  % (15689)Refutation found. Thanks to Tanya!
% 1.89/0.60  % SZS status Theorem for theBenchmark
% 1.89/0.60  % SZS output start Proof for theBenchmark
% See solution above
% 1.89/0.60  % (15689)------------------------------
% 1.89/0.60  % (15689)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 1.89/0.60  % (15689)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 1.89/0.60  % (15689)Termination reason: Refutation
% 1.89/0.60  
% 1.89/0.60  % (15689)Memory used [KB]: 1151
% 1.89/0.60  % (15689)Time elapsed: 0.164 s
% 1.89/0.60  % (15689)Instructions burned: 22 (million)
% 1.89/0.60  % (15689)------------------------------
% 1.89/0.60  % (15689)------------------------------
% 1.89/0.60  % (15666)Success in time 0.248 s
%------------------------------------------------------------------------------