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

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV-SAT---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_sat --cores 0 -t %d %s

% Computer : n017.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:40 EDT 2022

% Result   : Theorem 0.19s 0.50s
% Output   : Refutation 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   10
%            Number of leaves      :   11
% Syntax   : Number of formulae    :   31 (   4 unt;   6 typ;   0 def)
%            Number of atoms       :   81 (  17 equ)
%            Maximal formula atoms :    8 (   3 avg)
%            Number of connectives :   92 (  36   ~;  34   |;  16   &)
%                                         (   2 <=>;   4  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    8 (   5 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number arithmetic     :  117 (  30 atm;   0 fun;  54 num;  33 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   :   46 (  41   !;   5   ?;  46   :)

% 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(f471,plain,
    $false,
    inference(evaluation,[],[f467]) ).

tff(f467,plain,
    ( ~ $less(30,40)
    | ~ $less(20,30) ),
    inference(resolution,[],[f322,f46]) ).

tff(f46,plain,
    ! [X2: $int,X1: collection] : in(X2,add(X2,X1)),
    inference(equality_resolution,[],[f38]) ).

tff(f38,plain,
    ! [X2: $int,X0: $int,X1: collection] :
      ( in(X0,add(X2,X1))
      | ( X0 != X2 ) ),
    inference(cnf_transformation,[],[f31]) ).

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

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

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

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

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

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

tff(f129,plain,
    ! [X0: $int] :
      ( in(X0,sK0)
      | ~ in(X0,add(30,add(50,empty))) ),
    inference(superposition,[],[f39,f41]) ).

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

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

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

tff(f25,plain,
    ? [X0: collection] :
      ( ! [X1: $int] :
          ( ~ in(X1,X0)
          | $less(X1,20)
          | $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] :
            ( in(X1,X0)
            & ~ $less(40,X1)
            & ~ $less(X1,20) ) ),
    inference(theory_normalization,[],[f7]) ).

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

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

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

tff(f242,plain,
    ! [X1: $int] :
      ( ~ in(X1,sK0)
      | ~ $less(20,X1)
      | ~ $less(X1,40) ),
    inference(resolution,[],[f192,f135]) ).

tff(f135,plain,
    ! [X0: $int,X1: $int] :
      ( ~ $less(X1,X0)
      | ~ $less(X0,X1) ),
    inference(resolution,[],[f15,f14]) ).

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

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

tff(f192,plain,
    ! [X0: $int] :
      ( $less(X0,20)
      | ~ $less(X0,40)
      | ~ in(X0,sK0) ),
    inference(resolution,[],[f135,f42]) ).

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.12/0.12  % Problem    : DAT031=1 : TPTP v8.1.0. Released v5.0.0.
% 0.12/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 : n017.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 19:41:20 EDT 2022
% 0.13/0.35  % CPUTime    : 
% 0.19/0.46  % (28936)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)
% 0.19/0.48  % (28945)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)
% 0.19/0.49  % (28945)First to succeed.
% 0.19/0.50  % (28940)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)
% 0.19/0.50  % (28945)Refutation found. Thanks to Tanya!
% 0.19/0.50  % SZS status Theorem for theBenchmark
% 0.19/0.50  % SZS output start Proof for theBenchmark
% See solution above
% 0.19/0.50  % (28945)------------------------------
% 0.19/0.50  % (28945)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.19/0.50  % (28945)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.19/0.50  % (28945)Termination reason: Refutation
% 0.19/0.50  
% 0.19/0.50  % (28945)Memory used [KB]: 1279
% 0.19/0.50  % (28945)Time elapsed: 0.092 s
% 0.19/0.50  % (28945)Instructions burned: 23 (million)
% 0.19/0.50  % (28945)------------------------------
% 0.19/0.50  % (28945)------------------------------
% 0.19/0.50  % (28930)Success in time 0.149 s
%------------------------------------------------------------------------------