TSTP Solution File: SET991+1 by SnakeForV---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV---1.0
% Problem  : SET991+1 : TPTP v8.1.0. Released v3.2.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 : n022.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 18:22:58 EDT 2022

% Result   : Theorem 0.21s 0.49s
% Output   : Refutation 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   15
%            Number of leaves      :    9
% Syntax   : Number of formulae    :   34 (  12 unt;   0 def)
%            Number of atoms       :  152 (  38 equ)
%            Maximal formula atoms :   16 (   4 avg)
%            Number of connectives :  184 (  66   ~;  59   |;  44   &)
%                                         (   6 <=>;   9  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   13 (   5 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of predicates  :    5 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :   11 (  11 usr;   5 con; 0-2 aty)
%            Number of variables   :   65 (  45   !;  20   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f240,plain,
    $false,
    inference(subsumption_resolution,[],[f239,f154]) ).

fof(f154,plain,
    in(sK11,sF16),
    inference(definition_folding,[],[f140,f153]) ).

fof(f153,plain,
    relation_dom(sK12) = sF16,
    introduced(function_definition,[]) ).

fof(f140,plain,
    in(sK11,relation_dom(sK12)),
    inference(cnf_transformation,[],[f95]) ).

fof(f95,plain,
    ( ~ in(apply(sK12,sK11),relation_rng(sK12))
    & function(sK12)
    & in(sK11,relation_dom(sK12))
    & relation(sK12) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK11,sK12])],[f44,f94]) ).

fof(f94,plain,
    ( ? [X0,X1] :
        ( ~ in(apply(X1,X0),relation_rng(X1))
        & function(X1)
        & in(X0,relation_dom(X1))
        & relation(X1) )
   => ( ~ in(apply(sK12,sK11),relation_rng(sK12))
      & function(sK12)
      & in(sK11,relation_dom(sK12))
      & relation(sK12) ) ),
    introduced(choice_axiom,[]) ).

fof(f44,plain,
    ? [X0,X1] :
      ( ~ in(apply(X1,X0),relation_rng(X1))
      & function(X1)
      & in(X0,relation_dom(X1))
      & relation(X1) ),
    inference(flattening,[],[f43]) ).

fof(f43,plain,
    ? [X0,X1] :
      ( ~ in(apply(X1,X0),relation_rng(X1))
      & in(X0,relation_dom(X1))
      & function(X1)
      & relation(X1) ),
    inference(ennf_transformation,[],[f31]) ).

fof(f31,negated_conjecture,
    ~ ! [X0,X1] :
        ( ( function(X1)
          & relation(X1) )
       => ( in(X0,relation_dom(X1))
         => in(apply(X1,X0),relation_rng(X1)) ) ),
    inference(negated_conjecture,[],[f30]) ).

fof(f30,conjecture,
    ! [X0,X1] :
      ( ( function(X1)
        & relation(X1) )
     => ( in(X0,relation_dom(X1))
       => in(apply(X1,X0),relation_rng(X1)) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',t12_funct_1) ).

fof(f239,plain,
    ~ in(sK11,sF16),
    inference(forward_demodulation,[],[f238,f153]) ).

fof(f238,plain,
    ~ in(sK11,relation_dom(sK12)),
    inference(subsumption_resolution,[],[f237,f152]) ).

fof(f152,plain,
    ~ in(sF14,sF15),
    inference(definition_folding,[],[f142,f151,f150]) ).

fof(f150,plain,
    sF14 = apply(sK12,sK11),
    introduced(function_definition,[]) ).

fof(f151,plain,
    relation_rng(sK12) = sF15,
    introduced(function_definition,[]) ).

fof(f142,plain,
    ~ in(apply(sK12,sK11),relation_rng(sK12)),
    inference(cnf_transformation,[],[f95]) ).

fof(f237,plain,
    ( ~ in(sK11,relation_dom(sK12))
    | in(sF14,sF15) ),
    inference(forward_demodulation,[],[f236,f151]) ).

fof(f236,plain,
    ( in(sF14,relation_rng(sK12))
    | ~ in(sK11,relation_dom(sK12)) ),
    inference(subsumption_resolution,[],[f235,f139]) ).

fof(f139,plain,
    relation(sK12),
    inference(cnf_transformation,[],[f95]) ).

fof(f235,plain,
    ( in(sF14,relation_rng(sK12))
    | ~ in(sK11,relation_dom(sK12))
    | ~ relation(sK12) ),
    inference(subsumption_resolution,[],[f233,f141]) ).

fof(f141,plain,
    function(sK12),
    inference(cnf_transformation,[],[f95]) ).

fof(f233,plain,
    ( in(sF14,relation_rng(sK12))
    | ~ function(sK12)
    | ~ relation(sK12)
    | ~ in(sK11,relation_dom(sK12)) ),
    inference(superposition,[],[f147,f150]) ).

fof(f147,plain,
    ! [X0,X6] :
      ( in(apply(X0,X6),relation_rng(X0))
      | ~ function(X0)
      | ~ in(X6,relation_dom(X0))
      | ~ relation(X0) ),
    inference(equality_resolution,[],[f146]) ).

fof(f146,plain,
    ! [X0,X1,X6] :
      ( ~ function(X0)
      | in(apply(X0,X6),X1)
      | ~ in(X6,relation_dom(X0))
      | relation_rng(X0) != X1
      | ~ relation(X0) ),
    inference(equality_resolution,[],[f131]) ).

fof(f131,plain,
    ! [X0,X1,X6,X5] :
      ( ~ function(X0)
      | in(X5,X1)
      | apply(X0,X6) != X5
      | ~ in(X6,relation_dom(X0))
      | relation_rng(X0) != X1
      | ~ relation(X0) ),
    inference(cnf_transformation,[],[f89]) ).

fof(f89,plain,
    ! [X0] :
      ( ~ function(X0)
      | ! [X1] :
          ( ( relation_rng(X0) = X1
            | ( ( ! [X3] :
                    ( apply(X0,X3) != sK7(X0,X1)
                    | ~ in(X3,relation_dom(X0)) )
                | ~ in(sK7(X0,X1),X1) )
              & ( ( sK7(X0,X1) = apply(X0,sK8(X0,X1))
                  & in(sK8(X0,X1),relation_dom(X0)) )
                | in(sK7(X0,X1),X1) ) ) )
          & ( ! [X5] :
                ( ( in(X5,X1)
                  | ! [X6] :
                      ( apply(X0,X6) != X5
                      | ~ in(X6,relation_dom(X0)) ) )
                & ( ( apply(X0,sK9(X0,X5)) = X5
                    & in(sK9(X0,X5),relation_dom(X0)) )
                  | ~ in(X5,X1) ) )
            | relation_rng(X0) != X1 ) )
      | ~ relation(X0) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK7,sK8,sK9])],[f85,f88,f87,f86]) ).

fof(f86,plain,
    ! [X0,X1] :
      ( ? [X2] :
          ( ( ! [X3] :
                ( apply(X0,X3) != X2
                | ~ in(X3,relation_dom(X0)) )
            | ~ in(X2,X1) )
          & ( ? [X4] :
                ( apply(X0,X4) = X2
                & in(X4,relation_dom(X0)) )
            | in(X2,X1) ) )
     => ( ( ! [X3] :
              ( apply(X0,X3) != sK7(X0,X1)
              | ~ in(X3,relation_dom(X0)) )
          | ~ in(sK7(X0,X1),X1) )
        & ( ? [X4] :
              ( sK7(X0,X1) = apply(X0,X4)
              & in(X4,relation_dom(X0)) )
          | in(sK7(X0,X1),X1) ) ) ),
    introduced(choice_axiom,[]) ).

fof(f87,plain,
    ! [X0,X1] :
      ( ? [X4] :
          ( sK7(X0,X1) = apply(X0,X4)
          & in(X4,relation_dom(X0)) )
     => ( sK7(X0,X1) = apply(X0,sK8(X0,X1))
        & in(sK8(X0,X1),relation_dom(X0)) ) ),
    introduced(choice_axiom,[]) ).

fof(f88,plain,
    ! [X0,X5] :
      ( ? [X7] :
          ( apply(X0,X7) = X5
          & in(X7,relation_dom(X0)) )
     => ( apply(X0,sK9(X0,X5)) = X5
        & in(sK9(X0,X5),relation_dom(X0)) ) ),
    introduced(choice_axiom,[]) ).

fof(f85,plain,
    ! [X0] :
      ( ~ function(X0)
      | ! [X1] :
          ( ( relation_rng(X0) = X1
            | ? [X2] :
                ( ( ! [X3] :
                      ( apply(X0,X3) != X2
                      | ~ in(X3,relation_dom(X0)) )
                  | ~ in(X2,X1) )
                & ( ? [X4] :
                      ( apply(X0,X4) = X2
                      & in(X4,relation_dom(X0)) )
                  | in(X2,X1) ) ) )
          & ( ! [X5] :
                ( ( in(X5,X1)
                  | ! [X6] :
                      ( apply(X0,X6) != X5
                      | ~ in(X6,relation_dom(X0)) ) )
                & ( ? [X7] :
                      ( apply(X0,X7) = X5
                      & in(X7,relation_dom(X0)) )
                  | ~ in(X5,X1) ) )
            | relation_rng(X0) != X1 ) )
      | ~ relation(X0) ),
    inference(rectify,[],[f84]) ).

fof(f84,plain,
    ! [X0] :
      ( ~ function(X0)
      | ! [X1] :
          ( ( relation_rng(X0) = X1
            | ? [X2] :
                ( ( ! [X3] :
                      ( apply(X0,X3) != X2
                      | ~ in(X3,relation_dom(X0)) )
                  | ~ in(X2,X1) )
                & ( ? [X3] :
                      ( apply(X0,X3) = X2
                      & in(X3,relation_dom(X0)) )
                  | in(X2,X1) ) ) )
          & ( ! [X2] :
                ( ( in(X2,X1)
                  | ! [X3] :
                      ( apply(X0,X3) != X2
                      | ~ in(X3,relation_dom(X0)) ) )
                & ( ? [X3] :
                      ( apply(X0,X3) = X2
                      & in(X3,relation_dom(X0)) )
                  | ~ in(X2,X1) ) )
            | relation_rng(X0) != X1 ) )
      | ~ relation(X0) ),
    inference(nnf_transformation,[],[f49]) ).

fof(f49,plain,
    ! [X0] :
      ( ~ function(X0)
      | ! [X1] :
          ( relation_rng(X0) = X1
        <=> ! [X2] :
              ( in(X2,X1)
            <=> ? [X3] :
                  ( apply(X0,X3) = X2
                  & in(X3,relation_dom(X0)) ) ) )
      | ~ relation(X0) ),
    inference(flattening,[],[f48]) ).

fof(f48,plain,
    ! [X0] :
      ( ! [X1] :
          ( relation_rng(X0) = X1
        <=> ! [X2] :
              ( in(X2,X1)
            <=> ? [X3] :
                  ( apply(X0,X3) = X2
                  & in(X3,relation_dom(X0)) ) ) )
      | ~ relation(X0)
      | ~ function(X0) ),
    inference(ennf_transformation,[],[f32]) ).

fof(f32,axiom,
    ! [X0] :
      ( ( relation(X0)
        & function(X0) )
     => ! [X1] :
          ( relation_rng(X0) = X1
        <=> ! [X2] :
              ( in(X2,X1)
            <=> ? [X3] :
                  ( apply(X0,X3) = X2
                  & in(X3,relation_dom(X0)) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',d5_funct_1) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.12  % Problem    : SET991+1 : TPTP v8.1.0. Released v3.2.0.
% 0.03/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.14/0.34  % Computer : n022.cluster.edu
% 0.14/0.34  % Model    : x86_64 x86_64
% 0.14/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.34  % Memory   : 8042.1875MB
% 0.14/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.34  % CPULimit   : 300
% 0.14/0.34  % WCLimit    : 300
% 0.14/0.34  % DateTime   : Tue Aug 30 14:34:56 EDT 2022
% 0.14/0.34  % CPUTime    : 
% 0.21/0.47  % (28776)dis+10_1:1_av=off:sos=on:sp=reverse_arity:ss=included:st=2.0:to=lpo:urr=ec_only:i=45:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/45Mi)
% 0.21/0.47  % (28753)dis+1002_1:12_drc=off:fd=preordered:tgt=full:i=99978:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/99978Mi)
% 0.21/0.47  % (28753)First to succeed.
% 0.21/0.48  % (28768)lrs+10_1:1_drc=off:sp=reverse_frequency:spb=goal:to=lpo:i=7:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/7Mi)
% 0.21/0.48  % (28760)lrs+2_1:1_lcm=reverse:lma=on:sos=all:spb=goal_then_units:ss=included:urr=on:i=39:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/39Mi)
% 0.21/0.49  % (28753)Refutation found. Thanks to Tanya!
% 0.21/0.49  % SZS status Theorem for theBenchmark
% 0.21/0.49  % SZS output start Proof for theBenchmark
% See solution above
% 0.21/0.49  % (28753)------------------------------
% 0.21/0.49  % (28753)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.21/0.49  % (28753)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.21/0.49  % (28753)Termination reason: Refutation
% 0.21/0.49  
% 0.21/0.49  % (28753)Memory used [KB]: 6012
% 0.21/0.49  % (28753)Time elapsed: 0.084 s
% 0.21/0.49  % (28753)Instructions burned: 6 (million)
% 0.21/0.49  % (28753)------------------------------
% 0.21/0.49  % (28753)------------------------------
% 0.21/0.49  % (28752)Success in time 0.139 s
%------------------------------------------------------------------------------