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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV-SAT---1.0
% Problem  : DAT066_1 : TPTP v8.1.0. Released v5.5.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 : n024.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:48 EDT 2022

% Result   : Theorem 0.21s 0.54s
% Output   : Refutation 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   11
%            Number of leaves      :   22
% Syntax   : Number of formulae    :   42 (  15 unt;  15 typ;   0 def)
%            Number of atoms       :   41 (  40 equ)
%            Maximal formula atoms :    4 (   1 avg)
%            Number of connectives :   29 (  15   ~;   6   |;   5   &)
%                                         (   0 <=>;   3  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number arithmetic     :   61 (   0 atm;  19 fun;  19 num;  23 var)
%            Number of types       :    3 (   1 usr;   1 ari)
%            Number of type conns  :    9 (   6   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    3 (   1 usr;   1 prp; 0-2 aty)
%            Number of functors    :   15 (  13 usr;   9 con; 0-2 aty)
%            Number of variables   :   35 (  26   !;   9   ?;  35   :)

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

tff(func_def_0,type,
    empty: heap ).

tff(func_def_1,type,
    toop: heap > $int ).

tff(func_def_2,type,
    sel: ( heap * $int ) > $int ).

tff(func_def_3,type,
    length: heap > $int ).

tff(func_def_4,type,
    app: ( heap * $int ) > heap ).

tff(func_def_5,type,
    get: heap > heap ).

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

tff(func_def_11,type,
    sK1: heap ).

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

tff(func_def_13,type,
    sF3: heap ).

tff(func_def_14,type,
    sF4: $int ).

tff(func_def_15,type,
    sF5: $int ).

tff(func_def_16,type,
    sF6: $int ).

tff(pred_def_1,type,
    lsls: ( heap * heap ) > $o ).

tff(f174,plain,
    $false,
    inference(subsumption_resolution,[],[f173,f84]) ).

tff(f84,plain,
    sF4 != sK0,
    inference(definition_folding,[],[f74,f83,f82]) ).

tff(f82,plain,
    sF3 = app(sK1,sK0),
    introduced(function_definition,[]) ).

tff(f83,plain,
    sel(sF3,sK2) = sF4,
    introduced(function_definition,[]) ).

tff(f74,plain,
    sK0 != sel(app(sK1,sK0),sK2),
    inference(cnf_transformation,[],[f56]) ).

tff(f56,plain,
    ( ( sK0 != sel(app(sK1,sK0),sK2) )
    & ( sK2 = $sum(1,length(sK1)) ) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK0,sK1,sK2])],[f54,f55]) ).

tff(f55,plain,
    ( ? [X0: $int,X1: heap,X2: $int] :
        ( ( sel(app(X1,X0),X2) != X0 )
        & ( $sum(1,length(X1)) = X2 ) )
   => ( ( sK0 != sel(app(sK1,sK0),sK2) )
      & ( sK2 = $sum(1,length(sK1)) ) ) ),
    introduced(choice_axiom,[]) ).

tff(f54,plain,
    ? [X0: $int,X1: heap,X2: $int] :
      ( ( sel(app(X1,X0),X2) != X0 )
      & ( $sum(1,length(X1)) = X2 ) ),
    inference(rectify,[],[f41]) ).

tff(f41,plain,
    ? [X0: $int,X2: heap,X1: $int] :
      ( ( sel(app(X2,X0),X1) != X0 )
      & ( $sum(1,length(X2)) = X1 ) ),
    inference(ennf_transformation,[],[f31]) ).

tff(f31,plain,
    ~ ! [X2: heap,X0: $int,X1: $int] :
        ( ( $sum(1,length(X2)) != X1 )
        | ( sel(app(X2,X0),X1) = X0 ) ),
    inference(rectify,[],[f16]) ).

tff(f16,negated_conjecture,
    ~ ! [X2: $int,X0: $int,X1: heap] :
        ( ( $sum(1,length(X1)) != X0 )
        | ( sel(app(X1,X2),X0) = X2 ) ),
    inference(negated_conjecture,[],[f15]) ).

tff(f15,conjecture,
    ! [X2: $int,X0: $int,X1: heap] :
      ( ( $sum(1,length(X1)) != X0 )
      | ( sel(app(X1,X2),X0) = X2 ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',th_1) ).

tff(f173,plain,
    sF4 = sK0,
    inference(backward_demodulation,[],[f83,f172]) ).

tff(f172,plain,
    sel(sF3,sK2) = sK0,
    inference(forward_demodulation,[],[f171,f88]) ).

tff(f88,plain,
    sK2 = $sum(1,sF5),
    inference(backward_demodulation,[],[f86,f87]) ).

tff(f87,plain,
    sK2 = sF6,
    inference(definition_folding,[],[f73,f86,f85]) ).

tff(f85,plain,
    sF5 = length(sK1),
    introduced(function_definition,[]) ).

tff(f73,plain,
    sK2 = $sum(1,length(sK1)),
    inference(cnf_transformation,[],[f56]) ).

tff(f86,plain,
    sF6 = $sum(1,sF5),
    introduced(function_definition,[]) ).

tff(f171,plain,
    sel(sF3,$sum(1,sF5)) = sK0,
    inference(forward_demodulation,[],[f163,f85]) ).

tff(f163,plain,
    sel(sF3,$sum(1,length(sK1))) = sK0,
    inference(superposition,[],[f78,f82]) ).

tff(f78,plain,
    ! [X2: $int,X1: heap] : ( sel(app(X1,X2),$sum(1,length(X1))) = X2 ),
    inference(equality_resolution,[],[f65]) ).

tff(f65,plain,
    ! [X2: $int,X0: $int,X1: heap] :
      ( ( sel(app(X1,X2),X0) = X2 )
      | ( $sum(1,length(X1)) != X0 ) ),
    inference(cnf_transformation,[],[f48]) ).

tff(f48,plain,
    ! [X0: $int,X1: heap,X2: $int] :
      ( ( sel(app(X1,X2),X0) = X2 )
      | ( $sum(1,length(X1)) != X0 ) ),
    inference(rectify,[],[f45]) ).

tff(f45,plain,
    ! [X2: $int,X1: heap,X0: $int] :
      ( ( sel(app(X1,X0),X2) = X0 )
      | ( $sum(1,length(X1)) != X2 ) ),
    inference(ennf_transformation,[],[f38]) ).

tff(f38,plain,
    ! [X1: heap,X2: $int,X0: $int] :
      ( ( $sum(1,length(X1)) = X2 )
     => ( sel(app(X1,X0),X2) = X0 ) ),
    inference(rectify,[],[f2]) ).

tff(f2,axiom,
    ! [X2: $int,X1: heap,X0: $int] :
      ( ( $sum(1,length(X1)) = X0 )
     => ( sel(app(X1,X2),X0) = X2 ) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',ax_2) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem    : DAT066=1 : TPTP v8.1.0. Released v5.5.0.
% 0.13/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.14/0.35  % Computer : n024.cluster.edu
% 0.14/0.35  % Model    : x86_64 x86_64
% 0.14/0.35  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.35  % Memory   : 8042.1875MB
% 0.14/0.35  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.35  % CPULimit   : 300
% 0.14/0.35  % WCLimit    : 300
% 0.14/0.35  % DateTime   : Mon Aug 29 21:43:49 EDT 2022
% 0.14/0.35  % CPUTime    : 
% 0.21/0.50  % (2200)ott+10_1:32_bd=off:fsr=off:newcnf=on:tgt=full:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.21/0.51  % (2199)ott+4_1:1_av=off:bd=off:nwc=5.0:s2a=on:s2at=2.0:slsq=on:slsqc=2:slsql=off:slsqr=1,2:sp=frequency:i=37:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/37Mi)
% 0.21/0.52  % (2219)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)
% 0.21/0.52  % (2197)fmb+10_1:1_bce=on:fmbsr=1.5:nm=4:skr=on:i=191324:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/191324Mi)
% 0.21/0.52  % (2197)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.21/0.52  % (2197)Terminated due to inappropriate strategy.
% 0.21/0.52  % (2197)------------------------------
% 0.21/0.52  % (2197)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.21/0.52  % (2197)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.21/0.52  % (2197)Termination reason: Inappropriate
% 0.21/0.52  
% 0.21/0.52  % (2197)Memory used [KB]: 895
% 0.21/0.52  % (2197)Time elapsed: 0.002 s
% 0.21/0.52  % (2197)Instructions burned: 1 (million)
% 0.21/0.52  % (2197)------------------------------
% 0.21/0.52  % (2197)------------------------------
% 0.21/0.52  % (2213)ott+10_1:5_bd=off:tgt=full:i=99:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/99Mi)
% 0.21/0.52  % (2210)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.52  % (2211)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)
% 0.21/0.53  % (2226)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.21/0.53  % (2223)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.53  % (2229)ott+33_1:4_s2a=on:tgt=ground:i=439:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/439Mi)
% 0.21/0.53  % (2215)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.53  % (2203)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.21/0.53  % (2203)WARNING: trying to run FMB on interpreted or otherwise provably infinite-domain problem!
% 0.21/0.53  % (2203)Terminated due to inappropriate strategy.
% 0.21/0.53  % (2203)------------------------------
% 0.21/0.53  % (2203)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.21/0.53  % (2203)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.21/0.53  % (2203)Termination reason: Inappropriate
% 0.21/0.53  
% 0.21/0.53  % (2203)Memory used [KB]: 895
% 0.21/0.53  % (2203)Time elapsed: 0.002 s
% 0.21/0.53  % (2203)------------------------------
% 0.21/0.53  % (2203)------------------------------
% 0.21/0.53  % (2229)First to succeed.
% 0.21/0.53  % (2224)ott+10_1:1_kws=precedence:tgt=ground:i=482:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/482Mi)
% 0.21/0.53  % (2214)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.21/0.54  % (2199)Also succeeded, but the first one will report.
% 0.21/0.54  % (2229)Refutation found. Thanks to Tanya!
% 0.21/0.54  % SZS status Theorem for theBenchmark
% 0.21/0.54  % SZS output start Proof for theBenchmark
% See solution above
% 0.21/0.54  % (2229)------------------------------
% 0.21/0.54  % (2229)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.21/0.54  % (2229)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.21/0.54  % (2229)Termination reason: Refutation
% 0.21/0.54  
% 0.21/0.54  % (2229)Memory used [KB]: 5500
% 0.21/0.54  % (2229)Time elapsed: 0.134 s
% 0.21/0.54  % (2229)Instructions burned: 6 (million)
% 0.21/0.54  % (2229)------------------------------
% 0.21/0.54  % (2229)------------------------------
% 0.21/0.54  % (2194)Success in time 0.179 s
%------------------------------------------------------------------------------