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

View Problem - Process Solution

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

% Computer : n021.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 : Sun May  5 04:56:45 EDT 2024

% Result   : Theorem 174.05s 25.36s
% Output   : Refutation 174.05s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   51
%            Number of leaves      :   31
% Syntax   : Number of formulae    :  253 (  60 unt;   0 def)
%            Number of atoms       :  801 ( 301 equ)
%            Maximal formula atoms :   12 (   3 avg)
%            Number of connectives :  776 ( 228   ~; 367   |; 145   &)
%                                         (  24 <=>;  12  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   5 avg)
%            Maximal term depth    :    6 (   1 avg)
%            Number of predicates  :   18 (  16 usr;   1 prp; 0-4 aty)
%            Number of functors    :   15 (  15 usr;   9 con; 0-3 aty)
%            Number of variables   :  367 ( 339   !;  28   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f526520,plain,
    $false,
    inference(subsumption_resolution,[],[f522316,f386]) ).

fof(f386,plain,
    less_or_equal(n1,n2),
    inference(unit_resulting_resolution,[],[f364,f243]) ).

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

fof(f151,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,[],[f150]) ).

fof(f150,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/sandbox2/benchmark/theBenchmark.p',less_or_equal) ).

fof(f364,plain,
    less(n1,n2),
    inference(unit_resulting_resolution,[],[f304,f228]) ).

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

fof(f139,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/sandbox2/benchmark/theBenchmark.p',less2) ).

fof(f304,plain,
    ! [X1] : less_or_equal(X1,X1),
    inference(equality_resolution,[],[f244]) ).

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

fof(f522316,plain,
    ~ less_or_equal(n1,n2),
    inference(superposition,[],[f369,f522305]) ).

fof(f522305,plain,
    n1 = n3,
    inference(subsumption_resolution,[],[f516053,f304]) ).

fof(f516053,plain,
    ( ~ less_or_equal(n3,n3)
    | n1 = n3 ),
    inference(superposition,[],[f369,f516044]) ).

fof(f516044,plain,
    ( n3 = n2
    | n1 = n3 ),
    inference(subsumption_resolution,[],[f515368,f212]) ).

fof(f212,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/sandbox2/benchmark/theBenchmark.p',less0) ).

fof(f515368,plain,
    ( less(n0,n0)
    | n1 = n3
    | n3 = n2 ),
    inference(superposition,[],[f2475,f515215]) ).

fof(f515215,plain,
    ( n0 = sK15(filling,n3,n0)
    | n1 = n3
    | n3 = n2 ),
    inference(subsumption_resolution,[],[f515157,f212]) ).

fof(f515157,plain,
    ( less(n0,n0)
    | n3 = n2
    | n1 = n3
    | n0 = sK15(filling,n3,n0) ),
    inference(duplicate_literal_removal,[],[f515148]) ).

fof(f515148,plain,
    ( less(n0,n0)
    | n3 = n2
    | n1 = n3
    | n0 = sK15(filling,n3,n0)
    | n3 = n2
    | n1 = n3 ),
    inference(superposition,[],[f498578,f513714]) ).

fof(f513714,plain,
    ( n0 = sK15(filling,n1,n0)
    | n3 = n2
    | n1 = n3 ),
    inference(subsumption_resolution,[],[f513025,f212]) ).

fof(f513025,plain,
    ( less(n0,n0)
    | n1 = n3
    | n3 = n2
    | n0 = sK15(filling,n1,n0) ),
    inference(superposition,[],[f2475,f512352]) ).

fof(f512352,plain,
    ( n0 = sK15(filling,n3,n0)
    | n1 = n3
    | n3 = n2
    | n0 = sK15(filling,n1,n0) ),
    inference(subsumption_resolution,[],[f512347,f212]) ).

fof(f512347,plain,
    ( n1 = n3
    | n0 = sK15(filling,n3,n0)
    | n3 = n2
    | less(sK15(filling,n1,n0),n0)
    | n0 = sK15(filling,n1,n0) ),
    inference(resolution,[],[f511177,f242]) ).

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

fof(f511177,plain,
    ( less_or_equal(sK15(filling,n1,n0),n0)
    | n1 = n3
    | n0 = sK15(filling,n3,n0)
    | n3 = n2 ),
    inference(resolution,[],[f498577,f231]) ).

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

fof(f141,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/sandbox2/benchmark/theBenchmark.p',less1) ).

fof(f498577,plain,
    ( less(sK15(filling,n1,n0),n1)
    | n3 = n2
    | n1 = n3
    | n0 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f498150,f34629]) ).

fof(f34629,plain,
    ! [X0] :
      ( ~ holdsAt(waterLevel(X0),n1)
      | n1 = X0
      | less(sK15(filling,n1,n0),n1) ),
    inference(resolution,[],[f34619,f265]) ).

fof(f265,plain,
    ! [X2,X0,X1] :
      ( ~ holdsAt(waterLevel(X2),X0)
      | X1 = X2
      | ~ holdsAt(waterLevel(X1),X0) ),
    inference(cnf_transformation,[],[f114]) ).

fof(f114,plain,
    ! [X0,X1,X2] :
      ( X1 = X2
      | ~ holdsAt(waterLevel(X2),X0)
      | ~ holdsAt(waterLevel(X1),X0) ),
    inference(flattening,[],[f113]) ).

fof(f113,plain,
    ! [X0,X1,X2] :
      ( X1 = X2
      | ~ holdsAt(waterLevel(X2),X0)
      | ~ holdsAt(waterLevel(X1),X0) ),
    inference(ennf_transformation,[],[f84]) ).

fof(f84,plain,
    ! [X0,X1,X2] :
      ( ( holdsAt(waterLevel(X2),X0)
        & holdsAt(waterLevel(X1),X0) )
     => X1 = X2 ),
    inference(rectify,[],[f18]) ).

fof(f18,axiom,
    ! [X4,X9,X10] :
      ( ( holdsAt(waterLevel(X10),X4)
        & holdsAt(waterLevel(X9),X4) )
     => X9 = X10 ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',same_waterLevel) ).

fof(f34619,plain,
    ( holdsAt(waterLevel(n1),n1)
    | less(sK15(filling,n1,n0),n1) ),
    inference(resolution,[],[f34615,f271]) ).

fof(f271,plain,
    ! [X2,X0,X1] :
      ( ~ sP2(X0,X1,X2)
      | less(sK15(X0,X1,X2),X1) ),
    inference(cnf_transformation,[],[f168]) ).

fof(f168,plain,
    ! [X0,X1,X2] :
      ( ( terminates(sK14(X0,X1,X2),X0,sK15(X0,X1,X2))
        & less(sK15(X0,X1,X2),X1)
        & less(X2,sK15(X0,X1,X2))
        & happens(sK14(X0,X1,X2),sK15(X0,X1,X2)) )
      | ~ sP2(X0,X1,X2) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK14,sK15])],[f166,f167]) ).

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

fof(f166,plain,
    ! [X0,X1,X2] :
      ( ? [X3,X4] :
          ( terminates(X3,X0,X4)
          & less(X4,X1)
          & less(X2,X4)
          & happens(X3,X4) )
      | ~ sP2(X0,X1,X2) ),
    inference(rectify,[],[f165]) ).

fof(f165,plain,
    ! [X1,X2,X0] :
      ( ? [X3,X4] :
          ( terminates(X3,X1,X4)
          & less(X4,X2)
          & less(X0,X4)
          & happens(X3,X4) )
      | ~ sP2(X1,X2,X0) ),
    inference(nnf_transformation,[],[f123]) ).

fof(f123,plain,
    ! [X1,X2,X0] :
      ( ? [X3,X4] :
          ( terminates(X3,X1,X4)
          & less(X4,X2)
          & less(X0,X4)
          & happens(X3,X4) )
      | ~ sP2(X1,X2,X0) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP2])]) ).

fof(f34615,plain,
    ( sP2(filling,n1,n0)
    | holdsAt(waterLevel(n1),n1) ),
    inference(resolution,[],[f34547,f273]) ).

fof(f273,plain,
    ! [X2,X0,X1] :
      ( ~ stoppedIn(X0,X1,X2)
      | sP2(X1,X2,X0) ),
    inference(cnf_transformation,[],[f124]) ).

fof(f124,plain,
    ! [X0,X1,X2] :
      ( sP2(X1,X2,X0)
      | ~ stoppedIn(X0,X1,X2) ),
    inference(definition_folding,[],[f115,f123]) ).

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/sandbox2/benchmark/theBenchmark.p',stoppedin_defn) ).

fof(f34547,plain,
    ( stoppedIn(n0,filling,n1)
    | holdsAt(waterLevel(n1),n1) ),
    inference(forward_demodulation,[],[f34546,f207]) ).

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

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

fof(f34546,plain,
    ( stoppedIn(n0,filling,n1)
    | holdsAt(waterLevel(n1),plus(n0,n1)) ),
    inference(forward_demodulation,[],[f34545,f207]) ).

fof(f34545,plain,
    ( stoppedIn(n0,filling,plus(n0,n1))
    | holdsAt(waterLevel(n1),plus(n0,n1)) ),
    inference(subsumption_resolution,[],[f34544,f6982]) ).

fof(f6982,plain,
    sP18(filling,n0),
    inference(unit_resulting_resolution,[],[f870,f950,f325]) ).

fof(f325,plain,
    ! [X2,X0,X1] :
      ( ~ initiates(X0,X2,X1)
      | ~ happens(X0,X1)
      | sP18(X2,X1) ),
    inference(cnf_transformation,[],[f325_D]) ).

fof(f325_D,plain,
    ! [X1,X2] :
      ( ! [X0] :
          ( ~ initiates(X0,X2,X1)
          | ~ happens(X0,X1) )
    <=> ~ sP18(X2,X1) ),
    introduced(general_splitting_component_introduction,[new_symbols(naming,[sP18])]) ).

fof(f950,plain,
    ! [X0] : initiates(tapOn,filling,X0),
    inference(unit_resulting_resolution,[],[f908,f301]) ).

fof(f301,plain,
    ! [X2,X0,X1] :
      ( ~ sP8(X2,X0,X1)
      | initiates(X0,X1,X2) ),
    inference(cnf_transformation,[],[f190]) ).

fof(f190,plain,
    ! [X0,X1,X2] :
      ( ( initiates(X0,X1,X2)
        | ~ sP8(X2,X0,X1) )
      & ( sP8(X2,X0,X1)
        | ~ initiates(X0,X1,X2) ) ),
    inference(nnf_transformation,[],[f132]) ).

fof(f132,plain,
    ! [X0,X1,X2] :
      ( initiates(X0,X1,X2)
    <=> sP8(X2,X0,X1) ),
    inference(definition_folding,[],[f88,f131,f130,f129,f128]) ).

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

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

fof(f130,plain,
    ! [X1,X0] :
      ( sP7(X1,X0)
    <=> ( filling = X1
        & tapOn = X0 ) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP7])]) ).

fof(f131,plain,
    ! [X2,X0,X1] :
      ( sP8(X2,X0,X1)
    <=> ( sP6(X1,X0,X2)
        | sP5(X1,X0,X2)
        | ( spilling = X1
          & overflow = X0 )
        | sP7(X1,X0) ) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP8])]) ).

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/sandbox2/benchmark/theBenchmark.p',initiates_all_defn) ).

fof(f908,plain,
    ! [X0] : sP8(X0,tapOn,filling),
    inference(unit_resulting_resolution,[],[f319,f285]) ).

fof(f285,plain,
    ! [X2,X0,X1] :
      ( ~ sP7(X2,X1)
      | sP8(X0,X1,X2) ),
    inference(cnf_transformation,[],[f178]) ).

fof(f178,plain,
    ! [X0,X1,X2] :
      ( ( sP8(X0,X1,X2)
        | ( ~ sP6(X2,X1,X0)
          & ~ sP5(X2,X1,X0)
          & ( spilling != X2
            | overflow != X1 )
          & ~ sP7(X2,X1) ) )
      & ( sP6(X2,X1,X0)
        | sP5(X2,X1,X0)
        | ( spilling = X2
          & overflow = X1 )
        | sP7(X2,X1)
        | ~ sP8(X0,X1,X2) ) ),
    inference(rectify,[],[f177]) ).

fof(f177,plain,
    ! [X2,X0,X1] :
      ( ( sP8(X2,X0,X1)
        | ( ~ sP6(X1,X0,X2)
          & ~ sP5(X1,X0,X2)
          & ( spilling != X1
            | overflow != X0 )
          & ~ sP7(X1,X0) ) )
      & ( sP6(X1,X0,X2)
        | sP5(X1,X0,X2)
        | ( spilling = X1
          & overflow = X0 )
        | sP7(X1,X0)
        | ~ sP8(X2,X0,X1) ) ),
    inference(flattening,[],[f176]) ).

fof(f176,plain,
    ! [X2,X0,X1] :
      ( ( sP8(X2,X0,X1)
        | ( ~ sP6(X1,X0,X2)
          & ~ sP5(X1,X0,X2)
          & ( spilling != X1
            | overflow != X0 )
          & ~ sP7(X1,X0) ) )
      & ( sP6(X1,X0,X2)
        | sP5(X1,X0,X2)
        | ( spilling = X1
          & overflow = X0 )
        | sP7(X1,X0)
        | ~ sP8(X2,X0,X1) ) ),
    inference(nnf_transformation,[],[f131]) ).

fof(f319,plain,
    sP7(filling,tapOn),
    inference(equality_resolution,[],[f318]) ).

fof(f318,plain,
    ! [X1] :
      ( sP7(filling,X1)
      | tapOn != X1 ),
    inference(equality_resolution,[],[f291]) ).

fof(f291,plain,
    ! [X0,X1] :
      ( sP7(X0,X1)
      | filling != X0
      | tapOn != X1 ),
    inference(cnf_transformation,[],[f181]) ).

fof(f181,plain,
    ! [X0,X1] :
      ( ( sP7(X0,X1)
        | filling != X0
        | tapOn != X1 )
      & ( ( filling = X0
          & tapOn = X1 )
        | ~ sP7(X0,X1) ) ),
    inference(rectify,[],[f180]) ).

fof(f180,plain,
    ! [X1,X0] :
      ( ( sP7(X1,X0)
        | filling != X1
        | tapOn != X0 )
      & ( ( filling = X1
          & tapOn = X0 )
        | ~ sP7(X1,X0) ) ),
    inference(flattening,[],[f179]) ).

fof(f179,plain,
    ! [X1,X0] :
      ( ( sP7(X1,X0)
        | filling != X1
        | tapOn != X0 )
      & ( ( filling = X1
          & tapOn = X0 )
        | ~ sP7(X1,X0) ) ),
    inference(nnf_transformation,[],[f130]) ).

fof(f870,plain,
    happens(tapOn,n0),
    inference(unit_resulting_resolution,[],[f307,f257]) ).

fof(f257,plain,
    ! [X0,X1] :
      ( ~ sP1(X1,X0)
      | happens(X0,X1) ),
    inference(cnf_transformation,[],[f159]) ).

fof(f159,plain,
    ! [X0,X1] :
      ( ( happens(X0,X1)
        | ~ sP1(X1,X0) )
      & ( sP1(X1,X0)
        | ~ happens(X0,X1) ) ),
    inference(nnf_transformation,[],[f122]) ).

fof(f122,plain,
    ! [X0,X1] :
      ( happens(X0,X1)
    <=> sP1(X1,X0) ),
    inference(definition_folding,[],[f78,f121,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(f121,plain,
    ! [X1,X0] :
      ( sP1(X1,X0)
    <=> ( sP0(X0,X1)
        | ( n0 = X1
          & tapOn = X0 ) ) ),
    introduced(predicate_definition_introduction,[new_symbols(naming,[sP1])]) ).

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/sandbox2/benchmark/theBenchmark.p',happens_all_defn) ).

fof(f307,plain,
    sP1(n0,tapOn),
    inference(equality_resolution,[],[f306]) ).

fof(f306,plain,
    ! [X1] :
      ( sP1(n0,X1)
      | tapOn != X1 ),
    inference(equality_resolution,[],[f250]) ).

fof(f250,plain,
    ! [X0,X1] :
      ( sP1(X0,X1)
      | n0 != X0
      | tapOn != X1 ),
    inference(cnf_transformation,[],[f156]) ).

fof(f156,plain,
    ! [X0,X1] :
      ( ( sP1(X0,X1)
        | ( ~ sP0(X1,X0)
          & ( n0 != X0
            | tapOn != X1 ) ) )
      & ( sP0(X1,X0)
        | ( n0 = X0
          & tapOn = X1 )
        | ~ sP1(X0,X1) ) ),
    inference(rectify,[],[f155]) ).

fof(f155,plain,
    ! [X1,X0] :
      ( ( sP1(X1,X0)
        | ( ~ sP0(X0,X1)
          & ( n0 != X1
            | tapOn != X0 ) ) )
      & ( sP0(X0,X1)
        | ( n0 = X1
          & tapOn = X0 )
        | ~ sP1(X1,X0) ) ),
    inference(flattening,[],[f154]) ).

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

fof(f34544,plain,
    ( stoppedIn(n0,filling,plus(n0,n1))
    | holdsAt(waterLevel(n1),plus(n0,n1))
    | ~ sP18(filling,n0) ),
    inference(subsumption_resolution,[],[f34503,f376]) ).

fof(f376,plain,
    less(n0,n1),
    inference(unit_resulting_resolution,[],[f304,f232]) ).

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

fof(f34503,plain,
    ( stoppedIn(n0,filling,plus(n0,n1))
    | holdsAt(waterLevel(n1),plus(n0,n1))
    | ~ less(n0,n1)
    | ~ sP18(filling,n0) ),
    inference(resolution,[],[f326,f7306]) ).

fof(f7306,plain,
    trajectory(filling,n0,waterLevel(n1),n1),
    inference(superposition,[],[f7300,f207]) ).

fof(f7300,plain,
    ! [X0] : trajectory(filling,n0,waterLevel(plus(n0,X0)),X0),
    inference(forward_demodulation,[],[f7295,f7167]) ).

fof(f7167,plain,
    n0 = sK17(waterLevel(n0),tapOff,n0),
    inference(forward_demodulation,[],[f7159,f7112]) ).

fof(f7112,plain,
    n0 = sK16(waterLevel(n0),overflow,n0),
    inference(unit_resulting_resolution,[],[f196,f7107,f265]) ).

fof(f7107,plain,
    holdsAt(waterLevel(sK16(waterLevel(n0),overflow,n0)),n0),
    inference(unit_resulting_resolution,[],[f1195,f292]) ).

fof(f292,plain,
    ! [X2,X0,X1] :
      ( ~ sP6(X0,X1,X2)
      | holdsAt(waterLevel(sK16(X0,X1,X2)),X2) ),
    inference(cnf_transformation,[],[f185]) ).

fof(f185,plain,
    ! [X0,X1,X2] :
      ( ( sP6(X0,X1,X2)
        | ! [X3] :
            ( waterLevel(X3) != X0
            | overflow != X1
            | ~ holdsAt(waterLevel(X3),X2) ) )
      & ( ( waterLevel(sK16(X0,X1,X2)) = X0
          & overflow = X1
          & holdsAt(waterLevel(sK16(X0,X1,X2)),X2) )
        | ~ sP6(X0,X1,X2) ) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK16])],[f183,f184]) ).

fof(f184,plain,
    ! [X0,X1,X2] :
      ( ? [X4] :
          ( waterLevel(X4) = X0
          & overflow = X1
          & holdsAt(waterLevel(X4),X2) )
     => ( waterLevel(sK16(X0,X1,X2)) = X0
        & overflow = X1
        & holdsAt(waterLevel(sK16(X0,X1,X2)),X2) ) ),
    introduced(choice_axiom,[]) ).

fof(f183,plain,
    ! [X0,X1,X2] :
      ( ( sP6(X0,X1,X2)
        | ! [X3] :
            ( waterLevel(X3) != X0
            | overflow != X1
            | ~ holdsAt(waterLevel(X3),X2) ) )
      & ( ? [X4] :
            ( waterLevel(X4) = X0
            & overflow = X1
            & holdsAt(waterLevel(X4),X2) )
        | ~ sP6(X0,X1,X2) ) ),
    inference(rectify,[],[f182]) ).

fof(f182,plain,
    ! [X1,X0,X2] :
      ( ( sP6(X1,X0,X2)
        | ! [X3] :
            ( waterLevel(X3) != X1
            | overflow != X0
            | ~ holdsAt(waterLevel(X3),X2) ) )
      & ( ? [X3] :
            ( waterLevel(X3) = X1
            & overflow = X0
            & holdsAt(waterLevel(X3),X2) )
        | ~ sP6(X1,X0,X2) ) ),
    inference(nnf_transformation,[],[f129]) ).

fof(f1195,plain,
    sP6(waterLevel(n0),overflow,n0),
    inference(unit_resulting_resolution,[],[f196,f321]) ).

fof(f321,plain,
    ! [X2,X3] :
      ( ~ holdsAt(waterLevel(X3),X2)
      | sP6(waterLevel(X3),overflow,X2) ),
    inference(equality_resolution,[],[f320]) ).

fof(f320,plain,
    ! [X2,X3,X1] :
      ( sP6(waterLevel(X3),X1,X2)
      | overflow != X1
      | ~ holdsAt(waterLevel(X3),X2) ),
    inference(equality_resolution,[],[f295]) ).

fof(f295,plain,
    ! [X2,X3,X0,X1] :
      ( sP6(X0,X1,X2)
      | waterLevel(X3) != X0
      | overflow != X1
      | ~ holdsAt(waterLevel(X3),X2) ),
    inference(cnf_transformation,[],[f185]) ).

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

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

fof(f7159,plain,
    sK16(waterLevel(n0),overflow,n0) = sK17(waterLevel(n0),tapOff,n0),
    inference(unit_resulting_resolution,[],[f7107,f7152,f265]) ).

fof(f7152,plain,
    holdsAt(waterLevel(sK17(waterLevel(n0),tapOff,n0)),n0),
    inference(forward_demodulation,[],[f7149,f7112]) ).

fof(f7149,plain,
    holdsAt(waterLevel(sK17(waterLevel(sK16(waterLevel(n0),overflow,n0)),tapOff,n0)),n0),
    inference(unit_resulting_resolution,[],[f7114,f296]) ).

fof(f296,plain,
    ! [X2,X0,X1] :
      ( ~ sP5(X0,X1,X2)
      | holdsAt(waterLevel(sK17(X0,X1,X2)),X2) ),
    inference(cnf_transformation,[],[f189]) ).

fof(f189,plain,
    ! [X0,X1,X2] :
      ( ( sP5(X0,X1,X2)
        | ! [X3] :
            ( waterLevel(X3) != X0
            | tapOff != X1
            | ~ holdsAt(waterLevel(X3),X2) ) )
      & ( ( waterLevel(sK17(X0,X1,X2)) = X0
          & tapOff = X1
          & holdsAt(waterLevel(sK17(X0,X1,X2)),X2) )
        | ~ sP5(X0,X1,X2) ) ),
    inference(skolemisation,[status(esa),new_symbols(skolem,[sK17])],[f187,f188]) ).

fof(f188,plain,
    ! [X0,X1,X2] :
      ( ? [X4] :
          ( waterLevel(X4) = X0
          & tapOff = X1
          & holdsAt(waterLevel(X4),X2) )
     => ( waterLevel(sK17(X0,X1,X2)) = X0
        & tapOff = X1
        & holdsAt(waterLevel(sK17(X0,X1,X2)),X2) ) ),
    introduced(choice_axiom,[]) ).

fof(f187,plain,
    ! [X0,X1,X2] :
      ( ( sP5(X0,X1,X2)
        | ! [X3] :
            ( waterLevel(X3) != X0
            | tapOff != X1
            | ~ holdsAt(waterLevel(X3),X2) ) )
      & ( ? [X4] :
            ( waterLevel(X4) = X0
            & tapOff = X1
            & holdsAt(waterLevel(X4),X2) )
        | ~ sP5(X0,X1,X2) ) ),
    inference(rectify,[],[f186]) ).

fof(f186,plain,
    ! [X1,X0,X2] :
      ( ( sP5(X1,X0,X2)
        | ! [X4] :
            ( waterLevel(X4) != X1
            | tapOff != X0
            | ~ holdsAt(waterLevel(X4),X2) ) )
      & ( ? [X4] :
            ( waterLevel(X4) = X1
            & tapOff = X0
            & holdsAt(waterLevel(X4),X2) )
        | ~ sP5(X1,X0,X2) ) ),
    inference(nnf_transformation,[],[f128]) ).

fof(f7114,plain,
    sP5(waterLevel(sK16(waterLevel(n0),overflow,n0)),tapOff,n0),
    inference(unit_resulting_resolution,[],[f7107,f323]) ).

fof(f323,plain,
    ! [X2,X3] :
      ( ~ holdsAt(waterLevel(X3),X2)
      | sP5(waterLevel(X3),tapOff,X2) ),
    inference(equality_resolution,[],[f322]) ).

fof(f322,plain,
    ! [X2,X3,X1] :
      ( sP5(waterLevel(X3),X1,X2)
      | tapOff != X1
      | ~ holdsAt(waterLevel(X3),X2) ),
    inference(equality_resolution,[],[f299]) ).

fof(f299,plain,
    ! [X2,X3,X0,X1] :
      ( sP5(X0,X1,X2)
      | waterLevel(X3) != X0
      | tapOff != X1
      | ~ holdsAt(waterLevel(X3),X2) ),
    inference(cnf_transformation,[],[f189]) ).

fof(f7295,plain,
    ! [X0] : trajectory(filling,n0,waterLevel(plus(sK17(waterLevel(n0),tapOff,n0),X0)),X0),
    inference(unit_resulting_resolution,[],[f7152,f324]) ).

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

fof(f302,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/sandbox2/benchmark/theBenchmark.p',change_of_waterLevel) ).

fof(f326,plain,
    ! [X2,X3,X1,X4] :
      ( ~ trajectory(X2,X1,X3,X4)
      | stoppedIn(X1,X2,plus(X1,X4))
      | holdsAt(X3,plus(X1,X4))
      | ~ less(n0,X4)
      | ~ sP18(X2,X1) ),
    inference(general_splitting,[],[f303,f325_D]) ).

fof(f303,plain,
    ! [X2,X3,X0,X1,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(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/sandbox2/benchmark/theBenchmark.p',change_holding) ).

fof(f498150,plain,
    ( holdsAt(waterLevel(n3),n1)
    | n0 = sK15(filling,n3,n0)
    | n3 = n2 ),
    inference(duplicate_literal_removal,[],[f497106]) ).

fof(f497106,plain,
    ( holdsAt(waterLevel(n3),n1)
    | n0 = sK15(filling,n3,n0)
    | n3 = n2
    | n0 = sK15(filling,n3,n0) ),
    inference(superposition,[],[f21199,f497034]) ).

fof(f497034,plain,
    ( n1 = sK15(filling,n3,n0)
    | n3 = n2
    | n0 = sK15(filling,n3,n0) ),
    inference(subsumption_resolution,[],[f497028,f212]) ).

fof(f497028,plain,
    ( less(n0,n0)
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0) ),
    inference(duplicate_literal_removal,[],[f491910]) ).

fof(f491910,plain,
    ( less(n0,n0)
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n3 = n2 ),
    inference(superposition,[],[f34672,f491903]) ).

fof(f491903,plain,
    ( n0 = sK15(filling,n2,n0)
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n3 = n2 ),
    inference(subsumption_resolution,[],[f491902,f26728]) ).

fof(f26728,plain,
    ( holdsAt(filling,n2)
    | n0 = sK15(filling,n3,n0)
    | n1 = sK15(filling,n3,n0) ),
    inference(duplicate_literal_removal,[],[f26663]) ).

fof(f26663,plain,
    ( holdsAt(filling,n2)
    | n0 = sK15(filling,n3,n0)
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0) ),
    inference(superposition,[],[f21201,f10987]) ).

fof(f10987,plain,
    ( n2 = sK15(filling,n3,n0)
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0) ),
    inference(duplicate_literal_removal,[],[f10883]) ).

fof(f10883,plain,
    ( n2 = sK15(filling,n3,n0)
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n2 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f7557,f7011]) ).

fof(f7011,plain,
    ( ~ less(n2,sK15(filling,n3,n0))
    | n2 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f4307,f245]) ).

fof(f245,plain,
    ! [X0,X1] :
      ( ~ less(X1,X0)
      | ~ less(X0,X1) ),
    inference(cnf_transformation,[],[f153]) ).

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

fof(f152,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/sandbox2/benchmark/theBenchmark.p',less_property) ).

fof(f4307,plain,
    ( less(sK15(filling,n3,n0),n2)
    | n2 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f4295,f242]) ).

fof(f4295,plain,
    less_or_equal(sK15(filling,n3,n0),n2),
    inference(unit_resulting_resolution,[],[f4291,f229]) ).

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

fof(f140,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/sandbox2/benchmark/theBenchmark.p',less3) ).

fof(f4291,plain,
    less(sK15(filling,n3,n0),n3),
    inference(unit_resulting_resolution,[],[f947,f271]) ).

fof(f947,plain,
    sP2(filling,n3,n0),
    inference(unit_resulting_resolution,[],[f191,f273]) ).

fof(f191,plain,
    stoppedIn(n0,filling,n3),
    inference(cnf_transformation,[],[f57]) ).

fof(f57,plain,
    stoppedIn(n0,filling,n3),
    inference(flattening,[],[f56]) ).

fof(f56,negated_conjecture,
    ~ ~ stoppedIn(n0,filling,n3),
    inference(negated_conjecture,[],[f55]) ).

fof(f55,conjecture,
    ~ stoppedIn(n0,filling,n3),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',not_stopped_filling_0_3) ).

fof(f7557,plain,
    ! [X0] :
      ( less(n2,X0)
      | n2 = X0
      | n1 = X0
      | n0 = X0 ),
    inference(duplicate_literal_removal,[],[f7495]) ).

fof(f7495,plain,
    ! [X0] :
      ( less(n2,X0)
      | n2 = X0
      | n1 = X0
      | n0 = X0
      | n1 = X0 ),
    inference(resolution,[],[f1304,f1566]) ).

fof(f1566,plain,
    ! [X0] :
      ( ~ less(X0,n1)
      | n0 = X0
      | n1 = X0 ),
    inference(resolution,[],[f1283,f245]) ).

fof(f1283,plain,
    ! [X0] :
      ( less(n1,X0)
      | n1 = X0
      | n0 = X0 ),
    inference(subsumption_resolution,[],[f1282,f212]) ).

fof(f1282,plain,
    ! [X0] :
      ( n1 = X0
      | less(n1,X0)
      | less(X0,n0)
      | n0 = X0 ),
    inference(resolution,[],[f1017,f242]) ).

fof(f1017,plain,
    ! [X0] :
      ( less_or_equal(X0,n0)
      | n1 = X0
      | less(n1,X0) ),
    inference(resolution,[],[f247,f231]) ).

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

fof(f1304,plain,
    ! [X0] :
      ( less(n2,X0)
      | less(X0,n1)
      | n2 = X0
      | n1 = X0 ),
    inference(resolution,[],[f1019,f242]) ).

fof(f1019,plain,
    ! [X0] :
      ( less_or_equal(X0,n1)
      | n2 = X0
      | less(n2,X0) ),
    inference(resolution,[],[f247,f227]) ).

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

fof(f21201,plain,
    ( holdsAt(filling,sK15(filling,n3,n0))
    | n0 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f21125,f253]) ).

fof(f253,plain,
    ! [X0,X1] :
      ( ~ sP0(X0,X1)
      | holdsAt(filling,X1) ),
    inference(cnf_transformation,[],[f158]) ).

fof(f158,plain,
    ! [X0,X1] :
      ( ( sP0(X0,X1)
        | overflow != X0
        | ~ holdsAt(filling,X1)
        | ~ holdsAt(waterLevel(n3),X1) )
      & ( ( overflow = X0
          & holdsAt(filling,X1)
          & holdsAt(waterLevel(n3),X1) )
        | ~ sP0(X0,X1) ) ),
    inference(flattening,[],[f157]) ).

fof(f157,plain,
    ! [X0,X1] :
      ( ( sP0(X0,X1)
        | overflow != X0
        | ~ holdsAt(filling,X1)
        | ~ holdsAt(waterLevel(n3),X1) )
      & ( ( overflow = X0
          & holdsAt(filling,X1)
          & holdsAt(waterLevel(n3),X1) )
        | ~ sP0(X0,X1) ) ),
    inference(nnf_transformation,[],[f120]) ).

fof(f21125,plain,
    ( sP0(sK14(filling,n3,n0),sK15(filling,n3,n0))
    | n0 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f21122,f249]) ).

fof(f249,plain,
    ! [X0,X1] :
      ( ~ sP1(X0,X1)
      | n0 = X0
      | sP0(X1,X0) ),
    inference(cnf_transformation,[],[f156]) ).

fof(f21122,plain,
    sP1(sK15(filling,n3,n0),sK14(filling,n3,n0)),
    inference(unit_resulting_resolution,[],[f21120,f256]) ).

fof(f256,plain,
    ! [X0,X1] :
      ( ~ happens(X0,X1)
      | sP1(X1,X0) ),
    inference(cnf_transformation,[],[f159]) ).

fof(f21120,plain,
    happens(sK14(filling,n3,n0),sK15(filling,n3,n0)),
    inference(unit_resulting_resolution,[],[f947,f269]) ).

fof(f269,plain,
    ! [X2,X0,X1] :
      ( ~ sP2(X0,X1,X2)
      | happens(sK14(X0,X1,X2),sK15(X0,X1,X2)) ),
    inference(cnf_transformation,[],[f168]) ).

fof(f491902,plain,
    ( ~ holdsAt(filling,n2)
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n2,n0) ),
    inference(forward_demodulation,[],[f491901,f203]) ).

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

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

fof(f491901,plain,
    ( ~ holdsAt(filling,plus(n1,n1))
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n2,n0) ),
    inference(subsumption_resolution,[],[f486710,f26678]) ).

fof(f26678,plain,
    ! [X0] :
      ( ~ holdsAt(waterLevel(X0),n2)
      | n3 = X0
      | n1 = sK15(filling,n3,n0)
      | n0 = sK15(filling,n3,n0) ),
    inference(superposition,[],[f21304,f10987]) ).

fof(f21304,plain,
    ! [X0] :
      ( ~ holdsAt(waterLevel(X0),sK15(filling,n3,n0))
      | n3 = X0 ),
    inference(resolution,[],[f21285,f265]) ).

fof(f21285,plain,
    holdsAt(waterLevel(n3),sK15(filling,n3,n0)),
    inference(unit_resulting_resolution,[],[f21252,f252]) ).

fof(f252,plain,
    ! [X0,X1] :
      ( ~ sP0(X0,X1)
      | holdsAt(waterLevel(n3),X1) ),
    inference(cnf_transformation,[],[f158]) ).

fof(f21252,plain,
    sP0(overflow,sK15(filling,n3,n0)),
    inference(unit_resulting_resolution,[],[f199,f21250,f248]) ).

fof(f248,plain,
    ! [X0,X1] :
      ( ~ sP1(X0,X1)
      | tapOn = X1
      | sP0(X1,X0) ),
    inference(cnf_transformation,[],[f156]) ).

fof(f21250,plain,
    sP1(sK15(filling,n3,n0),overflow),
    inference(superposition,[],[f21122,f21248]) ).

fof(f21248,plain,
    overflow = sK14(filling,n3,n0),
    inference(subsumption_resolution,[],[f21203,f212]) ).

fof(f21203,plain,
    ( less(n0,n0)
    | overflow = sK14(filling,n3,n0) ),
    inference(superposition,[],[f2475,f21200]) ).

fof(f21200,plain,
    ( n0 = sK15(filling,n3,n0)
    | overflow = sK14(filling,n3,n0) ),
    inference(resolution,[],[f21125,f254]) ).

fof(f254,plain,
    ! [X0,X1] :
      ( ~ sP0(X0,X1)
      | overflow = X0 ),
    inference(cnf_transformation,[],[f158]) ).

fof(f199,plain,
    tapOn != overflow,
    inference(cnf_transformation,[],[f21]) ).

fof(f21,axiom,
    tapOn != overflow,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',overflow_not_tapOn) ).

fof(f486710,plain,
    ( ~ holdsAt(filling,plus(n1,n1))
    | holdsAt(waterLevel(n2),n2)
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n2,n0) ),
    inference(superposition,[],[f34961,f482789]) ).

fof(f482789,plain,
    ( n1 = sK15(filling,n2,n0)
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n2,n0) ),
    inference(duplicate_literal_removal,[],[f482768]) ).

fof(f482768,plain,
    ( n0 = sK15(filling,n3,n0)
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n1 = sK15(filling,n2,n0)
    | n0 = sK15(filling,n2,n0)
    | n1 = sK15(filling,n2,n0) ),
    inference(resolution,[],[f49941,f1566]) ).

fof(f49941,plain,
    ( less(sK15(filling,n2,n0),n1)
    | n0 = sK15(filling,n3,n0)
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n1 = sK15(filling,n2,n0) ),
    inference(resolution,[],[f49864,f242]) ).

fof(f49864,plain,
    ( less_or_equal(sK15(filling,n2,n0),n1)
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0)
    | n3 = n2 ),
    inference(resolution,[],[f34653,f227]) ).

fof(f34653,plain,
    ( less(sK15(filling,n2,n0),n2)
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f34623,f26678]) ).

fof(f34623,plain,
    ( holdsAt(waterLevel(n2),n2)
    | less(sK15(filling,n2,n0),n2) ),
    inference(resolution,[],[f34616,f271]) ).

fof(f34616,plain,
    ( sP2(filling,n2,n0)
    | holdsAt(waterLevel(n2),n2) ),
    inference(resolution,[],[f34554,f273]) ).

fof(f34554,plain,
    ( stoppedIn(n0,filling,n2)
    | holdsAt(waterLevel(n2),n2) ),
    inference(forward_demodulation,[],[f34553,f204]) ).

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

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

fof(f34553,plain,
    ( stoppedIn(n0,filling,n2)
    | holdsAt(waterLevel(n2),plus(n0,n2)) ),
    inference(forward_demodulation,[],[f34552,f204]) ).

fof(f34552,plain,
    ( stoppedIn(n0,filling,plus(n0,n2))
    | holdsAt(waterLevel(n2),plus(n0,n2)) ),
    inference(subsumption_resolution,[],[f34551,f6982]) ).

fof(f34551,plain,
    ( stoppedIn(n0,filling,plus(n0,n2))
    | holdsAt(waterLevel(n2),plus(n0,n2))
    | ~ sP18(filling,n0) ),
    inference(subsumption_resolution,[],[f34505,f430]) ).

fof(f430,plain,
    less(n0,n2),
    inference(unit_resulting_resolution,[],[f405,f228]) ).

fof(f405,plain,
    less_or_equal(n0,n1),
    inference(unit_resulting_resolution,[],[f376,f243]) ).

fof(f34505,plain,
    ( stoppedIn(n0,filling,plus(n0,n2))
    | holdsAt(waterLevel(n2),plus(n0,n2))
    | ~ less(n0,n2)
    | ~ sP18(filling,n0) ),
    inference(resolution,[],[f326,f7308]) ).

fof(f7308,plain,
    trajectory(filling,n0,waterLevel(n2),n2),
    inference(superposition,[],[f7300,f204]) ).

fof(f34961,plain,
    ( ~ holdsAt(filling,plus(n1,sK15(filling,n2,n0)))
    | holdsAt(waterLevel(n2),n2) ),
    inference(forward_demodulation,[],[f34960,f233]) ).

fof(f233,plain,
    ! [X0,X1] : plus(X0,X1) = plus(X1,X0),
    inference(cnf_transformation,[],[f71]) ).

fof(f71,plain,
    ! [X0,X1] : plus(X0,X1) = plus(X1,X0),
    inference(rectify,[],[f36]) ).

fof(f36,axiom,
    ! [X11,X12] : plus(X11,X12) = plus(X12,X11),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',symmetry_of_plus) ).

fof(f34960,plain,
    ( holdsAt(waterLevel(n2),n2)
    | ~ holdsAt(filling,plus(sK15(filling,n2,n0),n1)) ),
    inference(subsumption_resolution,[],[f34956,f34622]) ).

fof(f34622,plain,
    ( holdsAt(waterLevel(n2),n2)
    | happens(sK14(filling,n2,n0),sK15(filling,n2,n0)) ),
    inference(resolution,[],[f34616,f269]) ).

fof(f34956,plain,
    ( holdsAt(waterLevel(n2),n2)
    | ~ holdsAt(filling,plus(sK15(filling,n2,n0),n1))
    | ~ happens(sK14(filling,n2,n0),sK15(filling,n2,n0)) ),
    inference(resolution,[],[f34621,f261]) ).

fof(f261,plain,
    ! [X2,X0,X1] :
      ( ~ terminates(X0,X2,X1)
      | ~ holdsAt(X2,plus(X1,n1))
      | ~ happens(X0,X1) ),
    inference(cnf_transformation,[],[f108]) ).

fof(f108,plain,
    ! [X0,X1,X2] :
      ( ~ holdsAt(X2,plus(X1,n1))
      | ~ terminates(X0,X2,X1)
      | ~ happens(X0,X1) ),
    inference(flattening,[],[f107]) ).

fof(f107,plain,
    ! [X0,X1,X2] :
      ( ~ holdsAt(X2,plus(X1,n1))
      | ~ terminates(X0,X2,X1)
      | ~ happens(X0,X1) ),
    inference(ennf_transformation,[],[f81]) ).

fof(f81,plain,
    ! [X0,X1,X2] :
      ( ( terminates(X0,X2,X1)
        & happens(X0,X1) )
     => ~ holdsAt(X2,plus(X1,n1)) ),
    inference(rectify,[],[f10]) ).

fof(f10,axiom,
    ! [X3,X4,X1] :
      ( ( terminates(X3,X1,X4)
        & happens(X3,X4) )
     => ~ holdsAt(X1,plus(X4,n1)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',happens_terminates_not_holds) ).

fof(f34621,plain,
    ( terminates(sK14(filling,n2,n0),filling,sK15(filling,n2,n0))
    | holdsAt(waterLevel(n2),n2) ),
    inference(resolution,[],[f34616,f272]) ).

fof(f272,plain,
    ! [X2,X0,X1] :
      ( ~ sP2(X0,X1,X2)
      | terminates(sK14(X0,X1,X2),X0,sK15(X0,X1,X2)) ),
    inference(cnf_transformation,[],[f168]) ).

fof(f34672,plain,
    ( less(n0,sK15(filling,n2,n0))
    | n3 = n2
    | n1 = sK15(filling,n3,n0)
    | n0 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f34624,f26678]) ).

fof(f34624,plain,
    ( holdsAt(waterLevel(n2),n2)
    | less(n0,sK15(filling,n2,n0)) ),
    inference(resolution,[],[f34616,f270]) ).

fof(f270,plain,
    ! [X2,X0,X1] :
      ( ~ sP2(X0,X1,X2)
      | less(X2,sK15(X0,X1,X2)) ),
    inference(cnf_transformation,[],[f168]) ).

fof(f21199,plain,
    ( holdsAt(waterLevel(n3),sK15(filling,n3,n0))
    | n0 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f21125,f252]) ).

fof(f498578,plain,
    ( less(n0,sK15(filling,n1,n0))
    | n3 = n2
    | n1 = n3
    | n0 = sK15(filling,n3,n0) ),
    inference(resolution,[],[f498150,f34643]) ).

fof(f34643,plain,
    ! [X0] :
      ( ~ holdsAt(waterLevel(X0),n1)
      | n1 = X0
      | less(n0,sK15(filling,n1,n0)) ),
    inference(resolution,[],[f34620,f265]) ).

fof(f34620,plain,
    ( holdsAt(waterLevel(n1),n1)
    | less(n0,sK15(filling,n1,n0)) ),
    inference(resolution,[],[f34615,f270]) ).

fof(f2475,plain,
    less(n0,sK15(filling,n3,n0)),
    inference(unit_resulting_resolution,[],[f947,f270]) ).

fof(f369,plain,
    ~ less_or_equal(n3,n2),
    inference(unit_resulting_resolution,[],[f305,f230]) ).

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

fof(f305,plain,
    ! [X1] : ~ less(X1,X1),
    inference(equality_resolution,[],[f246]) ).

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

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.14  % Problem    : CSR011+1 : TPTP v8.1.2. Bugfixed v3.1.0.
% 0.07/0.16  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.16/0.37  % Computer : n021.cluster.edu
% 0.16/0.37  % Model    : x86_64 x86_64
% 0.16/0.37  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.16/0.37  % Memory   : 8042.1875MB
% 0.16/0.37  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.16/0.37  % CPULimit   : 300
% 0.16/0.37  % WCLimit    : 300
% 0.16/0.37  % DateTime   : Fri May  3 20:06:38 EDT 2024
% 0.16/0.38  % CPUTime    : 
% 0.16/0.38  % (18784)Running in auto input_syntax mode. Trying TPTP
% 0.16/0.39  % (18786)fmb+10_1_bce=on:fmbdsb=on:fmbes=contour:fmbswr=3:fde=none:nm=0_793 on theBenchmark for (793ds/0Mi)
% 0.16/0.39  % (18790)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.16/0.39  % (18791)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.16/0.39  % (18787)WARNING: value z3 for option sas not known
% 0.16/0.39  % (18789)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.16/0.40  % (18788)fmb+10_1_bce=on:fmbsr=1.5:nm=32_533 on theBenchmark for (533ds/0Mi)
% 0.16/0.40  % (18787)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.16/0.40  % (18785)fmb+10_1_bce=on:fmbas=function:fmbsr=1.2:fde=unused:nm=0_846 on theBenchmark for (846ds/0Mi)
% 0.16/0.40  Detected minimum model sizes of [3]
% 0.16/0.40  Detected maximum model sizes of [max]
% 0.22/0.40  TRYING [3]
% 0.22/0.42  TRYING [4]
% 0.22/0.45  TRYING [5]
% 0.22/0.45  Detected minimum model sizes of [3]
% 0.22/0.45  Detected maximum model sizes of [max]
% 0.22/0.46  TRYING [3]
% 0.22/0.53  TRYING [6]
% 1.94/0.67  TRYING [4]
% 1.94/0.68  TRYING [7]
% 4.04/0.99  TRYING [8]
% 6.12/1.27  TRYING [5]
% 7.84/1.49  Detected minimum model sizes of [3]
% 7.84/1.49  Detected maximum model sizes of [max]
% 7.84/1.50  TRYING [3]
% 7.84/1.51  TRYING [4]
% 8.23/1.56  TRYING [5]
% 8.23/1.57  TRYING [9]
% 9.21/1.69  TRYING [6]
% 10.20/1.91  TRYING [7]
% 13.55/2.31  TRYING [8]
% 14.99/2.53  TRYING [10]
% 18.98/3.16  TRYING [9]
% 19.87/3.22  TRYING [6]
% 25.16/4.02  TRYING [11]
% 29.04/4.56  TRYING [10]
% 41.43/6.33  TRYING [12]
% 47.71/7.25  TRYING [11]
% 62.40/9.35  TRYING [7]
% 66.51/10.00  TRYING [13]
% 77.06/11.47  TRYING [12]
% 104.93/15.43  TRYING [14]
% 122.49/17.94  TRYING [13]
% 162.95/23.74  TRYING [15]
% 174.05/25.35  % (18791)First to succeed.
% 174.05/25.35  % (18791)Solution written to "/export/starexec/sandbox2/tmp/vampire-proof-18784"
% 174.05/25.36  % (18791)Refutation found. Thanks to Tanya!
% 174.05/25.36  % SZS status Theorem for theBenchmark
% 174.05/25.36  % SZS output start Proof for theBenchmark
% See solution above
% 174.05/25.36  % (18791)------------------------------
% 174.05/25.36  % (18791)Version: Vampire 4.8 (commit 3a798227e on 2024-05-03 07:42:47 +0200)
% 174.05/25.36  % (18791)Termination reason: Refutation
% 174.05/25.36  
% 174.05/25.36  % (18791)Memory used [KB]: 33037
% 174.05/25.36  % (18791)Time elapsed: 24.957 s
% 174.05/25.36  % (18791)Instructions burned: 78828 (million)
% 174.05/25.36  % (18784)Success in time 24.946 s
%------------------------------------------------------------------------------