TSTP Solution File: CSR012+1 by Vampire-SAT---4.8

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Vampire-SAT---4.8
% Problem  : CSR012+1 : TPTP v8.2.0. Bugfixed v3.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s

% Computer : n008.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 : Mon May 20 19:40:26 EDT 2024

% Result   : Theorem 2.10s 0.67s
% Output   : Refutation 2.10s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   29
%            Number of leaves      :   23
% Syntax   : Number of formulae    :  122 (  37 unt;   0 def)
%            Number of atoms       :  398 ( 119 equ)
%            Maximal formula atoms :   14 (   3 avg)
%            Number of connectives :  431 ( 155   ~; 156   |;  93   &)
%                                         (  21 <=>;   6  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   5 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of predicates  :   14 (  12 usr;   1 prp; 0-4 aty)
%            Number of functors    :   13 (  13 usr;   9 con; 0-3 aty)
%            Number of variables   :  197 ( 181   !;  16   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f17455,plain,
    $false,
    inference(resolution,[],[f16722,f284]) ).

fof(f284,plain,
    ! [X1] : less_or_equal(X1,X1),
    inference(equality_resolution,[],[f229]) ).

fof(f229,plain,
    ! [X0,X1] :
      ( less_or_equal(X0,X1)
      | X0 != X1 ),
    inference(cnf_transformation,[],[f146]) ).

fof(f146,plain,
    ! [X0,X1] :
      ( ( less_or_equal(X0,X1)
        | ( X0 != X1
          & ~ less(X0,X1) ) )
      & ( X0 = X1
        | less(X0,X1)
        | ~ less_or_equal(X0,X1) ) ),
    inference(flattening,[],[f145]) ).

fof(f145,plain,
    ! [X0,X1] :
      ( ( less_or_equal(X0,X1)
        | ( X0 != X1
          & ~ less(X0,X1) ) )
      & ( X0 = X1
        | less(X0,X1)
        | ~ less_or_equal(X0,X1) ) ),
    inference(nnf_transformation,[],[f76]) ).

fof(f76,plain,
    ! [X0,X1] :
      ( less_or_equal(X0,X1)
    <=> ( X0 = X1
        | less(X0,X1) ) ),
    inference(rectify,[],[f37]) ).

fof(f37,axiom,
    ! [X11,X12] :
      ( less_or_equal(X11,X12)
    <=> ( X11 = X12
        | less(X11,X12) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less_or_equal) ).

fof(f16722,plain,
    ~ less_or_equal(n1,n1),
    inference(backward_demodulation,[],[f333,f16719]) ).

fof(f16719,plain,
    n1 = n3,
    inference(backward_demodulation,[],[f15515,f14892]) ).

fof(f14892,plain,
    n1 = plus(n1,n1),
    inference(backward_demodulation,[],[f192,f14877]) ).

fof(f14877,plain,
    n0 = n1,
    inference(resolution,[],[f14876,f1023]) ).

fof(f1023,plain,
    ! [X0] :
      ( less(n0,X0)
      | n0 = X0 ),
    inference(resolution,[],[f232,f197]) ).

fof(f197,plain,
    ! [X0] : ~ less(X0,n0),
    inference(cnf_transformation,[],[f96]) ).

fof(f96,plain,
    ! [X0] : ~ less(X0,n0),
    inference(ennf_transformation,[],[f59]) ).

fof(f59,plain,
    ~ ? [X0] : less(X0,n0),
    inference(rectify,[],[f38]) ).

fof(f38,axiom,
    ~ ? [X11] : less(X11,n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less0) ).

fof(f232,plain,
    ! [X0,X1] :
      ( less(X1,X0)
      | X0 = X1
      | less(X0,X1) ),
    inference(cnf_transformation,[],[f148]) ).

fof(f148,plain,
    ! [X0,X1] :
      ( ( less(X0,X1)
        | X0 = X1
        | less(X1,X0) )
      & ( ( X0 != X1
          & ~ less(X1,X0) )
        | ~ less(X0,X1) ) ),
    inference(flattening,[],[f147]) ).

fof(f147,plain,
    ! [X0,X1] :
      ( ( less(X0,X1)
        | X0 = X1
        | less(X1,X0) )
      & ( ( X0 != X1
          & ~ less(X1,X0) )
        | ~ less(X0,X1) ) ),
    inference(nnf_transformation,[],[f77]) ).

fof(f77,plain,
    ! [X0,X1] :
      ( less(X0,X1)
    <=> ( X0 != X1
        & ~ less(X1,X0) ) ),
    inference(rectify,[],[f48]) ).

fof(f48,axiom,
    ! [X11,X12] :
      ( less(X11,X12)
    <=> ( X11 != X12
        & ~ less(X12,X11) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less_property) ).

fof(f14876,plain,
    ~ less(n0,n1),
    inference(resolution,[],[f14874,f181]) ).

fof(f181,plain,
    holdsAt(waterLevel(n0),n0),
    inference(cnf_transformation,[],[f49]) ).

fof(f49,axiom,
    holdsAt(waterLevel(n0),n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',waterLevel_0) ).

fof(f14874,plain,
    ( ~ holdsAt(waterLevel(n0),n0)
    | ~ less(n0,n1) ),
    inference(resolution,[],[f14860,f288]) ).

fof(f288,plain,
    happens(tapOn,n0),
    inference(equality_resolution,[],[f287]) ).

fof(f287,plain,
    ! [X0] :
      ( happens(X0,n0)
      | tapOn != X0 ),
    inference(equality_resolution,[],[f239]) ).

fof(f239,plain,
    ! [X0,X1] :
      ( happens(X0,X1)
      | n0 != X1
      | tapOn != X0 ),
    inference(cnf_transformation,[],[f152]) ).

fof(f152,plain,
    ! [X0,X1] :
      ( ( happens(X0,X1)
        | ( ~ sP0(X0,X1)
          & ( n0 != X1
            | tapOn != X0 ) ) )
      & ( sP0(X0,X1)
        | ( n0 = X1
          & tapOn = X0 )
        | ~ happens(X0,X1) ) ),
    inference(flattening,[],[f151]) ).

fof(f151,plain,
    ! [X0,X1] :
      ( ( happens(X0,X1)
        | ( ~ sP0(X0,X1)
          & ( n0 != X1
            | tapOn != X0 ) ) )
      & ( sP0(X0,X1)
        | ( n0 = X1
          & tapOn = X0 )
        | ~ happens(X0,X1) ) ),
    inference(nnf_transformation,[],[f121]) ).

fof(f121,plain,
    ! [X0,X1] :
      ( happens(X0,X1)
    <=> ( sP0(X0,X1)
        | ( n0 = X1
          & tapOn = X0 ) ) ),
    inference(definition_folding,[],[f78,f120]) ).

fof(f120,plain,
    ! [X0,X1] :
      ( sP0(X0,X1)
    <=> ( overflow = X0
        & holdsAt(filling,X1)
        & holdsAt(waterLevel(n3),X1) ) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP0])]) ).

fof(f78,plain,
    ! [X0,X1] :
      ( happens(X0,X1)
    <=> ( ( overflow = X0
          & holdsAt(filling,X1)
          & holdsAt(waterLevel(n3),X1) )
        | ( n0 = X1
          & tapOn = X0 ) ) ),
    inference(rectify,[],[f16]) ).

fof(f16,axiom,
    ! [X3,X4] :
      ( happens(X3,X4)
    <=> ( ( overflow = X3
          & holdsAt(filling,X4)
          & holdsAt(waterLevel(n3),X4) )
        | ( n0 = X4
          & tapOn = X3 ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',happens_all_defn) ).

fof(f14860,plain,
    ( ~ happens(tapOn,n0)
    | ~ holdsAt(waterLevel(n0),n0)
    | ~ less(n0,n1) ),
    inference(resolution,[],[f14856,f197]) ).

fof(f14856,plain,
    ( less(n0,n0)
    | ~ happens(tapOn,n0)
    | ~ holdsAt(waterLevel(n0),n0)
    | ~ less(n0,n1) ),
    inference(resolution,[],[f14849,f299]) ).

fof(f299,plain,
    ! [X0] : sP4(X0,tapOn,filling),
    inference(equality_resolution,[],[f298]) ).

fof(f298,plain,
    ! [X0,X1] :
      ( sP4(X0,X1,filling)
      | tapOn != X1 ),
    inference(equality_resolution,[],[f268]) ).

fof(f268,plain,
    ! [X2,X0,X1] :
      ( sP4(X0,X1,X2)
      | filling != X2
      | tapOn != X1 ),
    inference(cnf_transformation,[],[f166]) ).

fof(f166,plain,
    ! [X0,X1,X2] :
      ( ( sP4(X0,X1,X2)
        | ( ~ sP3(X2,X1,X0)
          & ~ sP2(X2,X1,X0)
          & ( spilling != X2
            | overflow != X1 )
          & ( filling != X2
            | tapOn != X1 ) ) )
      & ( sP3(X2,X1,X0)
        | sP2(X2,X1,X0)
        | ( spilling = X2
          & overflow = X1 )
        | ( filling = X2
          & tapOn = X1 )
        | ~ sP4(X0,X1,X2) ) ),
    inference(rectify,[],[f165]) ).

fof(f165,plain,
    ! [X2,X0,X1] :
      ( ( sP4(X2,X0,X1)
        | ( ~ sP3(X1,X0,X2)
          & ~ sP2(X1,X0,X2)
          & ( spilling != X1
            | overflow != X0 )
          & ( filling != X1
            | tapOn != X0 ) ) )
      & ( sP3(X1,X0,X2)
        | sP2(X1,X0,X2)
        | ( spilling = X1
          & overflow = X0 )
        | ( filling = X1
          & tapOn = X0 )
        | ~ sP4(X2,X0,X1) ) ),
    inference(flattening,[],[f164]) ).

fof(f164,plain,
    ! [X2,X0,X1] :
      ( ( sP4(X2,X0,X1)
        | ( ~ sP3(X1,X0,X2)
          & ~ sP2(X1,X0,X2)
          & ( spilling != X1
            | overflow != X0 )
          & ( filling != X1
            | tapOn != X0 ) ) )
      & ( sP3(X1,X0,X2)
        | sP2(X1,X0,X2)
        | ( spilling = X1
          & overflow = X0 )
        | ( filling = X1
          & tapOn = X0 )
        | ~ sP4(X2,X0,X1) ) ),
    inference(nnf_transformation,[],[f126]) ).

fof(f126,plain,
    ! [X2,X0,X1] :
      ( sP4(X2,X0,X1)
    <=> ( sP3(X1,X0,X2)
        | sP2(X1,X0,X2)
        | ( spilling = X1
          & overflow = X0 )
        | ( filling = X1
          & tapOn = X0 ) ) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP4])]) ).

fof(f14849,plain,
    ! [X0] :
      ( ~ sP4(n0,X0,filling)
      | less(n0,n0)
      | ~ happens(X0,n0)
      | ~ holdsAt(waterLevel(n0),n0)
      | ~ less(n0,n1) ),
    inference(resolution,[],[f14822,f281]) ).

fof(f281,plain,
    ! [X2,X0,X1] :
      ( initiates(X0,X1,X2)
      | ~ sP4(X2,X0,X1) ),
    inference(cnf_transformation,[],[f175]) ).

fof(f175,plain,
    ! [X0,X1,X2] :
      ( ( initiates(X0,X1,X2)
        | ~ sP4(X2,X0,X1) )
      & ( sP4(X2,X0,X1)
        | ~ initiates(X0,X1,X2) ) ),
    inference(nnf_transformation,[],[f127]) ).

fof(f127,plain,
    ! [X0,X1,X2] :
      ( initiates(X0,X1,X2)
    <=> sP4(X2,X0,X1) ),
    inference(definition_folding,[],[f88,f126,f125,f124]) ).

fof(f124,plain,
    ! [X1,X0,X2] :
      ( sP2(X1,X0,X2)
    <=> ? [X4] :
          ( waterLevel(X4) = X1
          & tapOff = X0
          & holdsAt(waterLevel(X4),X2) ) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP2])]) ).

fof(f125,plain,
    ! [X1,X0,X2] :
      ( sP3(X1,X0,X2)
    <=> ? [X3] :
          ( waterLevel(X3) = X1
          & overflow = X0
          & holdsAt(waterLevel(X3),X2) ) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP3])]) ).

fof(f88,plain,
    ! [X0,X1,X2] :
      ( initiates(X0,X1,X2)
    <=> ( ? [X3] :
            ( waterLevel(X3) = X1
            & overflow = X0
            & holdsAt(waterLevel(X3),X2) )
        | ? [X4] :
            ( waterLevel(X4) = X1
            & tapOff = X0
            & holdsAt(waterLevel(X4),X2) )
        | ( spilling = X1
          & overflow = X0 )
        | ( filling = X1
          & tapOn = X0 ) ) ),
    inference(rectify,[],[f13]) ).

fof(f13,axiom,
    ! [X3,X1,X4] :
      ( initiates(X3,X1,X4)
    <=> ( ? [X8] :
            ( waterLevel(X8) = X1
            & overflow = X3
            & holdsAt(waterLevel(X8),X4) )
        | ? [X8] :
            ( waterLevel(X8) = X1
            & tapOff = X3
            & holdsAt(waterLevel(X8),X4) )
        | ( spilling = X1
          & overflow = X3 )
        | ( filling = X1
          & tapOn = X3 ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',initiates_all_defn) ).

fof(f14822,plain,
    ! [X0] :
      ( ~ initiates(X0,filling,n0)
      | ~ less(n0,n1)
      | less(n0,n0)
      | ~ happens(X0,n0)
      | ~ holdsAt(waterLevel(n0),n0) ),
    inference(resolution,[],[f14810,f14548]) ).

fof(f14548,plain,
    ! [X0] :
      ( stoppedIn(n0,filling,n1)
      | ~ less(n0,n1)
      | ~ initiates(X0,filling,n0)
      | ~ happens(X0,n0)
      | ~ holdsAt(waterLevel(n0),n0) ),
    inference(resolution,[],[f10088,f176]) ).

fof(f176,plain,
    ~ holdsAt(waterLevel(n1),n1),
    inference(cnf_transformation,[],[f57]) ).

fof(f57,plain,
    ~ holdsAt(waterLevel(n1),n1),
    inference(flattening,[],[f56]) ).

fof(f56,negated_conjecture,
    ~ holdsAt(waterLevel(n1),n1),
    inference(negated_conjecture,[],[f55]) ).

fof(f55,conjecture,
    holdsAt(waterLevel(n1),n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',waterLevel_1) ).

fof(f10088,plain,
    ! [X0] :
      ( holdsAt(waterLevel(n1),n1)
      | stoppedIn(n0,filling,n1)
      | ~ less(n0,n1)
      | ~ initiates(X0,filling,n0)
      | ~ happens(X0,n0)
      | ~ holdsAt(waterLevel(n0),n0) ),
    inference(resolution,[],[f7072,f5774]) ).

fof(f5774,plain,
    ! [X0] :
      ( trajectory(filling,X0,waterLevel(n1),n1)
      | ~ holdsAt(waterLevel(n0),X0) ),
    inference(superposition,[],[f304,f193]) ).

fof(f193,plain,
    n1 = plus(n0,n1),
    inference(cnf_transformation,[],[f27]) ).

fof(f27,axiom,
    n1 = plus(n0,n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus0_1) ).

fof(f304,plain,
    ! [X3,X0,X1] :
      ( trajectory(filling,X1,waterLevel(plus(X0,X3)),X3)
      | ~ holdsAt(waterLevel(X0),X1) ),
    inference(equality_resolution,[],[f282]) ).

fof(f282,plain,
    ! [X2,X3,X0,X1] :
      ( trajectory(filling,X1,waterLevel(X2),X3)
      | plus(X0,X3) != X2
      | ~ holdsAt(waterLevel(X0),X1) ),
    inference(cnf_transformation,[],[f117]) ).

fof(f117,plain,
    ! [X0,X1,X2,X3] :
      ( trajectory(filling,X1,waterLevel(X2),X3)
      | plus(X0,X3) != X2
      | ~ holdsAt(waterLevel(X0),X1) ),
    inference(flattening,[],[f116]) ).

fof(f116,plain,
    ! [X0,X1,X2,X3] :
      ( trajectory(filling,X1,waterLevel(X2),X3)
      | plus(X0,X3) != X2
      | ~ holdsAt(waterLevel(X0),X1) ),
    inference(ennf_transformation,[],[f89]) ).

fof(f89,plain,
    ! [X0,X1,X2,X3] :
      ( ( plus(X0,X3) = X2
        & holdsAt(waterLevel(X0),X1) )
     => trajectory(filling,X1,waterLevel(X2),X3) ),
    inference(rectify,[],[f17]) ).

fof(f17,axiom,
    ! [X9,X4,X10,X6] :
      ( ( plus(X9,X6) = X10
        & holdsAt(waterLevel(X9),X4) )
     => trajectory(filling,X4,waterLevel(X10),X6) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',change_of_waterLevel) ).

fof(f7072,plain,
    ! [X2,X0,X1] :
      ( ~ trajectory(X0,n0,X1,n1)
      | holdsAt(X1,n1)
      | stoppedIn(n0,X0,n1)
      | ~ less(n0,n1)
      | ~ initiates(X2,X0,n0)
      | ~ happens(X2,n0) ),
    inference(superposition,[],[f283,f193]) ).

fof(f283,plain,
    ! [X2,X3,X0,X1,X4] :
      ( stoppedIn(X1,X2,plus(X1,X4))
      | holdsAt(X3,plus(X1,X4))
      | ~ trajectory(X2,X1,X3,X4)
      | ~ less(n0,X4)
      | ~ initiates(X0,X2,X1)
      | ~ happens(X0,X1) ),
    inference(cnf_transformation,[],[f119]) ).

fof(f119,plain,
    ! [X0,X1,X2,X3,X4] :
      ( holdsAt(X3,plus(X1,X4))
      | stoppedIn(X1,X2,plus(X1,X4))
      | ~ trajectory(X2,X1,X3,X4)
      | ~ less(n0,X4)
      | ~ initiates(X0,X2,X1)
      | ~ happens(X0,X1) ),
    inference(flattening,[],[f118]) ).

fof(f118,plain,
    ! [X0,X1,X2,X3,X4] :
      ( holdsAt(X3,plus(X1,X4))
      | stoppedIn(X1,X2,plus(X1,X4))
      | ~ trajectory(X2,X1,X3,X4)
      | ~ less(n0,X4)
      | ~ initiates(X0,X2,X1)
      | ~ happens(X0,X1) ),
    inference(ennf_transformation,[],[f91]) ).

fof(f91,plain,
    ! [X0,X1,X2,X3,X4] :
      ( ( ~ stoppedIn(X1,X2,plus(X1,X4))
        & trajectory(X2,X1,X3,X4)
        & less(n0,X4)
        & initiates(X0,X2,X1)
        & happens(X0,X1) )
     => holdsAt(X3,plus(X1,X4)) ),
    inference(rectify,[],[f3]) ).

fof(f3,axiom,
    ! [X3,X4,X1,X5,X6] :
      ( ( ~ stoppedIn(X4,X1,plus(X4,X6))
        & trajectory(X1,X4,X5,X6)
        & less(n0,X6)
        & initiates(X3,X1,X4)
        & happens(X3,X4) )
     => holdsAt(X5,plus(X4,X6)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',change_holding) ).

fof(f14810,plain,
    ( ~ stoppedIn(n0,filling,n1)
    | less(n0,n0) ),
    inference(superposition,[],[f250,f14735]) ).

fof(f14735,plain,
    n0 = sK10(n0,filling,n1),
    inference(resolution,[],[f14717,f284]) ).

fof(f14717,plain,
    ( ~ less_or_equal(n0,n0)
    | n0 = sK10(n0,filling,n1) ),
    inference(resolution,[],[f14712,f217]) ).

fof(f217,plain,
    ! [X0] :
      ( less(X0,n1)
      | ~ less_or_equal(X0,n0) ),
    inference(cnf_transformation,[],[f136]) ).

fof(f136,plain,
    ! [X0] :
      ( ( less(X0,n1)
        | ~ less_or_equal(X0,n0) )
      & ( less_or_equal(X0,n0)
        | ~ less(X0,n1) ) ),
    inference(nnf_transformation,[],[f70]) ).

fof(f70,plain,
    ! [X0] :
      ( less(X0,n1)
    <=> less_or_equal(X0,n0) ),
    inference(rectify,[],[f39]) ).

fof(f39,axiom,
    ! [X11] :
      ( less(X11,n1)
    <=> less_or_equal(X11,n0) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less1) ).

fof(f14712,plain,
    ( ~ less(n0,n1)
    | n0 = sK10(n0,filling,n1) ),
    inference(resolution,[],[f14710,f181]) ).

fof(f14710,plain,
    ( ~ holdsAt(waterLevel(n0),n0)
    | n0 = sK10(n0,filling,n1)
    | ~ less(n0,n1) ),
    inference(resolution,[],[f14706,f288]) ).

fof(f14706,plain,
    ( ~ happens(tapOn,n0)
    | ~ holdsAt(waterLevel(n0),n0)
    | n0 = sK10(n0,filling,n1)
    | ~ less(n0,n1) ),
    inference(resolution,[],[f14584,f299]) ).

fof(f14584,plain,
    ! [X0] :
      ( ~ sP4(n0,X0,filling)
      | ~ happens(X0,n0)
      | ~ holdsAt(waterLevel(n0),n0)
      | n0 = sK10(n0,filling,n1)
      | ~ less(n0,n1) ),
    inference(resolution,[],[f14564,f281]) ).

fof(f14564,plain,
    ! [X0] :
      ( ~ initiates(X0,filling,n0)
      | ~ less(n0,n1)
      | ~ happens(X0,n0)
      | ~ holdsAt(waterLevel(n0),n0)
      | n0 = sK10(n0,filling,n1) ),
    inference(resolution,[],[f14548,f1687]) ).

fof(f1687,plain,
    ! [X0,X1] :
      ( ~ stoppedIn(X0,X1,n1)
      | n0 = sK10(X0,X1,n1) ),
    inference(resolution,[],[f251,f979]) ).

fof(f979,plain,
    ! [X0] :
      ( ~ less(X0,n1)
      | n0 = X0 ),
    inference(resolution,[],[f882,f216]) ).

fof(f216,plain,
    ! [X0] :
      ( less_or_equal(X0,n0)
      | ~ less(X0,n1) ),
    inference(cnf_transformation,[],[f136]) ).

fof(f882,plain,
    ! [X0] :
      ( ~ less_or_equal(X0,n0)
      | n0 = X0 ),
    inference(resolution,[],[f227,f197]) ).

fof(f227,plain,
    ! [X0,X1] :
      ( less(X0,X1)
      | X0 = X1
      | ~ less_or_equal(X0,X1) ),
    inference(cnf_transformation,[],[f146]) ).

fof(f251,plain,
    ! [X2,X0,X1] :
      ( less(sK10(X0,X1,X2),X2)
      | ~ stoppedIn(X0,X1,X2) ),
    inference(cnf_transformation,[],[f155]) ).

fof(f155,plain,
    ! [X0,X1,X2] :
      ( ( terminates(sK9(X0,X1,X2),X1,sK10(X0,X1,X2))
        & less(sK10(X0,X1,X2),X2)
        & less(X0,sK10(X0,X1,X2))
        & happens(sK9(X0,X1,X2),sK10(X0,X1,X2)) )
      | ~ stoppedIn(X0,X1,X2) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK9,sK10])],[f115,f154]) ).

fof(f154,plain,
    ! [X0,X1,X2] :
      ( ? [X3,X4] :
          ( terminates(X3,X1,X4)
          & less(X4,X2)
          & less(X0,X4)
          & happens(X3,X4) )
     => ( terminates(sK9(X0,X1,X2),X1,sK10(X0,X1,X2))
        & less(sK10(X0,X1,X2),X2)
        & less(X0,sK10(X0,X1,X2))
        & happens(sK9(X0,X1,X2),sK10(X0,X1,X2)) ) ),
    introduced(choice_axiom,[]) ).

fof(f115,plain,
    ! [X0,X1,X2] :
      ( ? [X3,X4] :
          ( terminates(X3,X1,X4)
          & less(X4,X2)
          & less(X0,X4)
          & happens(X3,X4) )
      | ~ stoppedIn(X0,X1,X2) ),
    inference(ennf_transformation,[],[f93]) ).

fof(f93,plain,
    ! [X0,X1,X2] :
      ( stoppedIn(X0,X1,X2)
     => ? [X3,X4] :
          ( terminates(X3,X1,X4)
          & less(X4,X2)
          & less(X0,X4)
          & happens(X3,X4) ) ),
    inference(unused_predicate_definition_removal,[],[f1]) ).

fof(f1,axiom,
    ! [X0,X1,X2] :
      ( stoppedIn(X0,X1,X2)
    <=> ? [X3,X4] :
          ( terminates(X3,X1,X4)
          & less(X4,X2)
          & less(X0,X4)
          & happens(X3,X4) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',stoppedin_defn) ).

fof(f250,plain,
    ! [X2,X0,X1] :
      ( less(X0,sK10(X0,X1,X2))
      | ~ stoppedIn(X0,X1,X2) ),
    inference(cnf_transformation,[],[f155]) ).

fof(f192,plain,
    n0 = plus(n0,n0),
    inference(cnf_transformation,[],[f26]) ).

fof(f26,axiom,
    n0 = plus(n0,n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus0_0) ).

fof(f15515,plain,
    n3 = plus(n1,n1),
    inference(backward_demodulation,[],[f189,f15513]) ).

fof(f15513,plain,
    n3 = n2,
    inference(forward_demodulation,[],[f14890,f191]) ).

fof(f191,plain,
    n3 = plus(n1,n2),
    inference(cnf_transformation,[],[f31]) ).

fof(f31,axiom,
    n3 = plus(n1,n2),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus1_2) ).

fof(f14890,plain,
    n2 = plus(n1,n2),
    inference(backward_demodulation,[],[f188,f14877]) ).

fof(f188,plain,
    n2 = plus(n0,n2),
    inference(cnf_transformation,[],[f28]) ).

fof(f28,axiom,
    n2 = plus(n0,n2),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus0_2) ).

fof(f189,plain,
    n2 = plus(n1,n1),
    inference(cnf_transformation,[],[f30]) ).

fof(f30,axiom,
    n2 = plus(n1,n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus1_1) ).

fof(f333,plain,
    ~ less_or_equal(n3,n1),
    inference(resolution,[],[f325,f213]) ).

fof(f213,plain,
    ! [X0] :
      ( less(X0,n2)
      | ~ less_or_equal(X0,n1) ),
    inference(cnf_transformation,[],[f134]) ).

fof(f134,plain,
    ! [X0] :
      ( ( less(X0,n2)
        | ~ less_or_equal(X0,n1) )
      & ( less_or_equal(X0,n1)
        | ~ less(X0,n2) ) ),
    inference(nnf_transformation,[],[f68]) ).

fof(f68,plain,
    ! [X0] :
      ( less(X0,n2)
    <=> less_or_equal(X0,n1) ),
    inference(rectify,[],[f40]) ).

fof(f40,axiom,
    ! [X11] :
      ( less(X11,n2)
    <=> less_or_equal(X11,n1) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less2) ).

fof(f325,plain,
    ~ less(n3,n2),
    inference(resolution,[],[f228,f320]) ).

fof(f320,plain,
    ~ less_or_equal(n3,n2),
    inference(resolution,[],[f215,f285]) ).

fof(f285,plain,
    ! [X1] : ~ less(X1,X1),
    inference(equality_resolution,[],[f231]) ).

fof(f231,plain,
    ! [X0,X1] :
      ( X0 != X1
      | ~ less(X0,X1) ),
    inference(cnf_transformation,[],[f148]) ).

fof(f215,plain,
    ! [X0] :
      ( less(X0,n3)
      | ~ less_or_equal(X0,n2) ),
    inference(cnf_transformation,[],[f135]) ).

fof(f135,plain,
    ! [X0] :
      ( ( less(X0,n3)
        | ~ less_or_equal(X0,n2) )
      & ( less_or_equal(X0,n2)
        | ~ less(X0,n3) ) ),
    inference(nnf_transformation,[],[f69]) ).

fof(f69,plain,
    ! [X0] :
      ( less(X0,n3)
    <=> less_or_equal(X0,n2) ),
    inference(rectify,[],[f41]) ).

fof(f41,axiom,
    ! [X11] :
      ( less(X11,n3)
    <=> less_or_equal(X11,n2) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less3) ).

fof(f228,plain,
    ! [X0,X1] :
      ( less_or_equal(X0,X1)
      | ~ less(X0,X1) ),
    inference(cnf_transformation,[],[f146]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.03/0.11  % Problem    : CSR012+1 : TPTP v8.2.0. Bugfixed v3.1.0.
% 0.03/0.13  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.14/0.34  % Computer : n008.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   : Sun May 19 00:59:07 EDT 2024
% 0.14/0.35  % CPUTime    : 
% 0.14/0.35  % (13930)Running in auto input_syntax mode. Trying TPTP
% 0.20/0.37  % (13935)ott+10_10:1_add=off:afr=on:amm=off:anc=all:bd=off:bs=on:fsr=off:irw=on:lma=on:msp=off:nm=4:nwc=4.0:sac=on:sp=reverse_frequency_531 on theBenchmark for (531ds/0Mi)
% 0.20/0.38  % (13932)fmb+10_1_bce=on:fmbdsb=on:fmbes=contour:fmbswr=3:fde=none:nm=0_793 on theBenchmark for (793ds/0Mi)
% 0.20/0.38  % (13937)ott+1_64_av=off:bd=off:bce=on:fsd=off:fde=unused:gsp=on:irw=on:lcm=predicate:lma=on:nm=2:nwc=1.1:sims=off:urr=on_497 on theBenchmark for (497ds/0Mi)
% 0.20/0.38  % (13934)fmb+10_1_bce=on:fmbsr=1.5:nm=32_533 on theBenchmark for (533ds/0Mi)
% 0.20/0.38  % (13933)WARNING: value z3 for option sas not known
% 0.20/0.38  % (13933)dis+2_11_add=large:afr=on:amm=off:bd=off:bce=on:fsd=off:fde=none:gs=on:gsaa=full_model:gsem=off:irw=on:msp=off:nm=4:nwc=1.3:sas=z3:sims=off:sac=on:sp=reverse_arity_569 on theBenchmark for (569ds/0Mi)
% 0.20/0.39  % (13936)ott-10_8_av=off:bd=preordered:bs=on:fsd=off:fsr=off:fde=unused:irw=on:lcm=predicate:lma=on:nm=4:nwc=1.7:sp=frequency_522 on theBenchmark for (522ds/0Mi)
% 0.20/0.39  Detected minimum model sizes of [3]
% 0.20/0.39  Detected maximum model sizes of [max]
% 0.20/0.39  TRYING [3]
% 0.20/0.39  % (13931)fmb+10_1_bce=on:fmbas=function:fmbsr=1.2:fde=unused:nm=0_846 on theBenchmark for (846ds/0Mi)
% 0.20/0.41  TRYING [4]
% 0.20/0.44  Detected minimum model sizes of [3]
% 0.20/0.44  Detected maximum model sizes of [max]
% 0.20/0.44  TRYING [3]
% 0.20/0.44  TRYING [5]
% 0.20/0.52  TRYING [6]
% 1.53/0.60  TRYING [4]
% 2.10/0.67  % (13936)First to succeed.
% 2.10/0.67  % (13936)Solution written to "/export/starexec/sandbox/tmp/vampire-proof-13930"
% 2.10/0.67  % (13936)Refutation found. Thanks to Tanya!
% 2.10/0.67  % SZS status Theorem for theBenchmark
% 2.10/0.67  % SZS output start Proof for theBenchmark
% See solution above
% 2.10/0.67  % (13936)------------------------------
% 2.10/0.67  % (13936)Version: Vampire 4.8 (commit 3a798227e on 2024-05-03 07:42:47 +0200)
% 2.10/0.67  % (13936)Termination reason: Refutation
% 2.10/0.67  
% 2.10/0.67  % (13936)Memory used [KB]: 3726
% 2.10/0.67  % (13936)Time elapsed: 0.288 s
% 2.10/0.67  % (13936)Instructions burned: 815 (million)
% 2.10/0.67  % (13930)Success in time 0.324 s
%------------------------------------------------------------------------------