TSTP Solution File: DAT031_1 by SnakeForV---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV---1.0
% Problem  : DAT031_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_uns --cores 0 -t %d %s

% Computer : n020.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:03:57 EDT 2022

% Result   : Theorem 0.19s 0.52s
% Output   : Refutation 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    9
%            Number of leaves      :   10
% Syntax   : Number of formulae    :   28 (   6 unt;   6 typ;   0 def)
%            Number of atoms       :   71 (  16 equ)
%            Maximal formula atoms :    8 (   3 avg)
%            Number of connectives :   70 (  21   ~;  27   |;  16   &)
%                                         (   2 <=>;   4  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   5 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number arithmetic     :  101 (  22 atm;   0 fun;  53 num;  26 var)
%            Number of types       :    3 (   1 usr;   1 ari)
%            Number of type conns  :    6 (   3   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   1 usr;   1 prp; 0-2 aty)
%            Number of functors    :    9 (   4 usr;   7 con; 0-2 aty)
%            Number of variables   :   41 (  36   !;   5   ?;  41   :)

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

tff(func_def_0,type,
    empty: collection ).

tff(func_def_1,type,
    add: ( $int * collection ) > collection ).

tff(func_def_2,type,
    remove: ( $int * collection ) > collection ).

tff(func_def_12,type,
    sK0: collection ).

tff(pred_def_1,type,
    in: ( $int * collection ) > $o ).

tff(f55,plain,
    $false,
    inference(evaluation,[],[f53]) ).

tff(f53,plain,
    ( $less(40,30)
    | $less(30,20) ),
    inference(resolution,[],[f51,f45]) ).

tff(f45,plain,
    ! [X0: collection,X1: $int] : in(X1,add(X1,X0)),
    inference(cnf_transformation,[],[f34]) ).

tff(f34,plain,
    ! [X0: collection,X1: $int] : in(X1,add(X1,X0)),
    inference(rectify,[],[f21]) ).

tff(f21,plain,
    ! [X1: collection,X0: $int] : in(X0,add(X0,X1)),
    inference(rectify,[],[f2]) ).

tff(f2,axiom,
    ! [X1: $int,X2: collection] : in(X1,add(X1,X2)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',ax2) ).

tff(f51,plain,
    ! [X0: $int] :
      ( ~ in(X0,add(30,add(50,empty)))
      | $less(X0,20)
      | $less(40,X0) ),
    inference(resolution,[],[f48,f43]) ).

tff(f43,plain,
    ! [X2: $int,X0: collection,X1: $int] :
      ( in(X2,add(X1,X0))
      | ~ in(X2,X0) ),
    inference(cnf_transformation,[],[f33]) ).

tff(f33,plain,
    ! [X0: collection,X1: $int,X2: $int] :
      ( ( in(X2,add(X1,X0))
        | ( ~ in(X2,X0)
          & ( X1 != X2 ) ) )
      & ( in(X2,X0)
        | ( X1 = X2 )
        | ~ in(X2,add(X1,X0)) ) ),
    inference(rectify,[],[f32]) ).

tff(f32,plain,
    ! [X0: collection,X2: $int,X1: $int] :
      ( ( in(X1,add(X2,X0))
        | ( ~ in(X1,X0)
          & ( X1 != X2 ) ) )
      & ( in(X1,X0)
        | ( X1 = X2 )
        | ~ in(X1,add(X2,X0)) ) ),
    inference(flattening,[],[f31]) ).

tff(f31,plain,
    ! [X0: collection,X2: $int,X1: $int] :
      ( ( in(X1,add(X2,X0))
        | ( ~ in(X1,X0)
          & ( X1 != X2 ) ) )
      & ( in(X1,X0)
        | ( X1 = X2 )
        | ~ in(X1,add(X2,X0)) ) ),
    inference(nnf_transformation,[],[f22]) ).

tff(f22,plain,
    ! [X0: collection,X2: $int,X1: $int] :
      ( in(X1,add(X2,X0))
    <=> ( in(X1,X0)
        | ( X1 = X2 ) ) ),
    inference(rectify,[],[f4]) ).

tff(f4,axiom,
    ! [X6: collection,X5: $int,X7: $int] :
      ( in(X5,add(X7,X6))
    <=> ( ( X5 = X7 )
        | in(X5,X6) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',ax4) ).

tff(f48,plain,
    ! [X1: $int] :
      ( ~ in(X1,add(10,add(30,add(50,empty))))
      | $less(40,X1)
      | $less(X1,20) ),
    inference(forward_demodulation,[],[f40,f39]) ).

tff(f39,plain,
    add(10,add(30,add(50,empty))) = sK0,
    inference(cnf_transformation,[],[f30]) ).

tff(f30,plain,
    ( ! [X1: $int] :
        ( $less(X1,20)
        | ~ in(X1,sK0)
        | $less(40,X1) )
    & ( add(10,add(30,add(50,empty))) = sK0 ) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK0])],[f25,f29]) ).

tff(f29,plain,
    ( ? [X0: collection] :
        ( ! [X1: $int] :
            ( $less(X1,20)
            | ~ in(X1,X0)
            | $less(40,X1) )
        & ( add(10,add(30,add(50,empty))) = X0 ) )
   => ( ! [X1: $int] :
          ( $less(X1,20)
          | ~ in(X1,sK0)
          | $less(40,X1) )
      & ( add(10,add(30,add(50,empty))) = sK0 ) ) ),
    introduced(choice_axiom,[]) ).

tff(f25,plain,
    ? [X0: collection] :
      ( ! [X1: $int] :
          ( $less(X1,20)
          | ~ in(X1,X0)
          | $less(40,X1) )
      & ( add(10,add(30,add(50,empty))) = X0 ) ),
    inference(ennf_transformation,[],[f8]) ).

tff(f8,plain,
    ~ ! [X0: collection] :
        ( ( add(10,add(30,add(50,empty))) = X0 )
       => ? [X1: $int] :
            ( ~ $less(40,X1)
            & ~ $less(X1,20)
            & in(X1,X0) ) ),
    inference(theory_normalization,[],[f7]) ).

tff(f7,negated_conjecture,
    ~ ! [X0: collection] :
        ( ( add(10,add(30,add(50,empty))) = X0 )
       => ? [X1: $int] :
            ( in(X1,X0)
            & $lesseq(20,X1)
            & $lesseq(X1,40) ) ),
    inference(negated_conjecture,[],[f6]) ).

tff(f6,conjecture,
    ! [X0: collection] :
      ( ( add(10,add(30,add(50,empty))) = X0 )
     => ? [X1: $int] :
          ( in(X1,X0)
          & $lesseq(20,X1)
          & $lesseq(X1,40) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',co1) ).

tff(f40,plain,
    ! [X1: $int] :
      ( ~ in(X1,sK0)
      | $less(X1,20)
      | $less(40,X1) ),
    inference(cnf_transformation,[],[f30]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.12  % Problem    : DAT031=1 : TPTP v8.1.0. Released v5.0.0.
% 0.06/0.13  % Command    : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_uns --cores 0 -t %d %s
% 0.13/0.34  % Computer : n020.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:15 EDT 2022
% 0.13/0.34  % CPUTime    : 
% 0.19/0.46  % (15400)lrs+10_1:8_ep=R:erd=off:fs=off:fsr=off:gve=force:nwc=2.0:uwa=one_side_interpreted:i=2:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/2Mi)
% 0.19/0.48  % (15400)Instruction limit reached!
% 0.19/0.48  % (15400)------------------------------
% 0.19/0.48  % (15400)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.19/0.48  % (15400)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.19/0.48  % (15400)Termination reason: Unknown
% 0.19/0.48  % (15400)Termination phase: Preprocessing 1
% 0.19/0.48  
% 0.19/0.48  % (15400)Memory used [KB]: 895
% 0.19/0.48  % (15400)Time elapsed: 0.004 s
% 0.19/0.48  % (15400)Instructions burned: 2 (million)
% 0.19/0.48  % (15400)------------------------------
% 0.19/0.48  % (15400)------------------------------
% 0.19/0.51  % (15392)lrs+1010_1:1_aac=none:bce=on:nicw=on:nm=0:plsq=on:plsql=on:sac=on:sos=on:sp=frequency:spb=units:to=lpo:i=34:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/34Mi)
% 0.19/0.52  % (15392)First to succeed.
% 0.19/0.52  % (15392)Refutation found. Thanks to Tanya!
% 0.19/0.52  % SZS status Theorem for theBenchmark
% 0.19/0.52  % SZS output start Proof for theBenchmark
% See solution above
% 0.19/0.52  % (15392)------------------------------
% 0.19/0.52  % (15392)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.19/0.52  % (15392)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.19/0.52  % (15392)Termination reason: Refutation
% 0.19/0.52  
% 0.19/0.52  % (15392)Memory used [KB]: 5500
% 0.19/0.52  % (15392)Time elapsed: 0.118 s
% 0.19/0.52  % (15392)Instructions burned: 3 (million)
% 0.19/0.52  % (15392)------------------------------
% 0.19/0.52  % (15392)------------------------------
% 0.19/0.52  % (15390)Success in time 0.172 s
%------------------------------------------------------------------------------