↑ Up

Leo-III---1.8.0.THM-Ref.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Leo-III---1.8.0
% Problem  : CSR005+2 : TPTP v9.3.1. Bugfixed v3.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39

% Computer : n019.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8046.5625MB
% OS       : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Sun Sep 27 07:00:01 AM UTC 2026

% Result   : Theorem 12.69s 3.66s
% Output   : Refutation 11.95s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   58
% Syntax   : Number of formulae    :  184 (  97 unt;   0 typ;   2 def)
%            Number of atoms       :  577 ( 203 equ;   0 cnn)
%            Maximal formula atoms :   58 (   3 avg)
%            Number of connectives : 1634 ( 182   ~; 120   |; 175   &;1069   @)
%                                         (  18 <=>;  70  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   28 (   6 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    0 (   0   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   38 (  35 usr;  17 con; 0-4 aty)
%            Number of variables   :  268 (   6   ^; 221   !;  39   ?; 268   :)
%                                         (   0  !>;   0  ?*;   0  @-;   2  @+)

% Comments : 
%------------------------------------------------------------------------------
thf(holdsAt_decl,type,
    holdsAt: $i > $i > $o ).

thf(filling_decl,type,
    filling: $i ).

thf(n3_decl,type,
    n3: $i ).

thf(less_decl,type,
    less: $i > $i > $o ).

thf(n5_decl,type,
    n5: $i ).

thf(less_or_equal_decl,type,
    less_or_equal: $i > $i > $o ).

thf(n4_decl,type,
    n4: $i ).

thf(n8_decl,type,
    n8: $i ).

thf(n7_decl,type,
    n7: $i ).

thf(plus_decl,type,
    plus: $i > $i > $i ).

thf(n1_decl,type,
    n1: $i ).

thf(n0_decl,type,
    n0: $i ).

thf(releasedAt_decl,type,
    releasedAt: $i > $i > $o ).

thf(happens_decl,type,
    happens: $i > $i > $o ).

thf(initiates_decl,type,
    initiates: $i > $i > $i > $o ).

thf(terminates_decl,type,
    terminates: $i > $i > $i > $o ).

thf(n2_decl,type,
    n2: $i ).

thf(releases_decl,type,
    releases: $i > $i > $i > $o ).

thf(startedIn_decl,type,
    startedIn: $i > $i > $i > $o ).

thf(n6_decl,type,
    n6: $i ).

thf(waterLevel_decl,type,
    waterLevel: $i > $i ).

thf(stoppedIn_decl,type,
    stoppedIn: $i > $i > $i > $o ).

thf(n9_decl,type,
    n9: $i ).

thf(tapOff_decl,type,
    tapOff: $i ).

thf(tapOn_decl,type,
    tapOn: $i ).

thf(overflow_decl,type,
    overflow: $i ).

thf(spilling_decl,type,
    spilling: $i ).

thf(antitrajectory_decl,type,
    antitrajectory: $i > $i > $i > $i > $o ).

thf(trajectory_decl,type,
    trajectory: $i > $i > $i > $i > $o ).

thf(sk9_decl,type,
    sk9: $i > $i > $o ).

thf(sk11_decl,type,
    sk11: $i > $i > $i > $o ).

thf(sk12_decl,type,
    sk12: $i > $i > $i > $o ).

thf(sk13_decl,type,
    sk13: $i > $i > $i > $o ).

thf(sk14_decl,type,
    sk14: $i > $i > $i > $i ).

thf(sk15_decl,type,
    sk15: $i > $i > $i > $i ).

thf(sk14_def,definition,
    ( sk14
    = ( ^ [A: $i,B: $i,C: $i] :
        @+[D: $i] :
          ( ( B
            = ( D @ waterLevel ) )
          & ( C = tapOff )
          & ( A @ ( D @ waterLevel @ holdsAt ) ) ) ) ) ).

thf(sk15_def,definition,
    ( sk15
    = ( ^ [A: $i,B: $i,C: $i] :
        @+[D: $i] :
          ( ( B
            = ( D @ waterLevel ) )
          & ( C = overflow )
          & ( A @ ( D @ waterLevel @ holdsAt ) ) ) ) ) ).

thf(15,axiom,
    ! [A: $i] :
      ( ( n7 @ ( A @ less ) )
    <=> ( n6 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less7) ).

thf(125,plain,
    ! [A: $i] :
      ( ( ( n6 @ ( A @ less_or_equal ) )
       => ( n7 @ ( A @ less ) ) )
      & ( ( n7 @ ( A @ less ) )
       => ( n6 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).

thf(21,axiom,
    ! [A: $i,B: $i] :
      ( ( ~ ? [C: $i] :
              ( ( B @ ( A @ ( C @ releases ) ) )
              & ( B @ ( C @ happens ) ) )
        & ~ ( B @ ( A @ releasedAt ) ) )
     => ~ ( n1 @ ( B @ plus ) @ ( A @ releasedAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',keep_not_released) ).

thf(165,plain,
    ! [A: $i,B: $i] :
      ( ( ~ ? [C: $i] :
              ( ( B @ ( A @ ( C @ releases ) ) )
              & ( B @ ( C @ happens ) ) )
        & ~ ( B @ ( A @ releasedAt ) ) )
     => ~ ( n1 @ ( B @ plus ) @ ( A @ releasedAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[21]) ).

thf(22,axiom,
    tapOff != tapOn,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',tapOff_not_tapOn) ).

thf(169,plain,
    tapOff != tapOn,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[22]) ).

thf(51,axiom,
    n0 @ ( n0 @ waterLevel @ holdsAt ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',waterLevel_0) ).

thf(300,plain,
    n0 @ ( n0 @ waterLevel @ holdsAt ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[51]) ).

thf(55,axiom,
    ~ ( n0 @ ( spilling @ holdsAt ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_spilling_0) ).

thf(313,plain,
    ~ ( n0 @ ( spilling @ holdsAt ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[55]) ).

thf(314,plain,
    ~ ( n0 @ ( spilling @ holdsAt ) ),
    inference(polarity_switch,[status(thm)],[313]) ).

thf(571,plain,
    ( ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
     != ( n0 @ ( spilling @ holdsAt ) ) )
    | ~ $true ),
    inference(paramod_ordered,[status(thm)],[300,314]) ).

thf(572,plain,
    ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
   != ( n0 @ ( spilling @ holdsAt ) ) ),
    inference(simp,[status(thm)],[571]) ).

thf(577,plain,
    ( ( n0 != n0 )
    | ( ( n0 @ waterLevel )
     != spilling ) ),
    inference(simp,[status(thm)],[572]) ).

thf(580,plain,
    ( ( n0 @ waterLevel )
   != spilling ),
    inference(simp,[status(thm)],[577]) ).

thf(170,plain,
    tapOff != tapOn,
    inference(polarity_switch,[status(thm)],[169]) ).

thf(171,plain,
    tapOn != tapOff,
    inference(lifteq,[status(thm)],[170]) ).

thf(38,axiom,
    ( ( n3 @ ( n2 @ plus ) )
    = n5 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus2_3) ).

thf(234,plain,
    ( ( n3 @ ( n2 @ plus ) )
    = n5 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[38]) ).

thf(57,axiom,
    filling != spilling,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',filling_not_spilling) ).

thf(333,plain,
    filling != spilling,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[57]) ).

thf(43,axiom,
    ! [A: $i] :
      ( filling
     != ( A @ waterLevel ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',filling_not_waterLevel) ).

thf(246,plain,
    ! [A: $i] :
      ( filling
     != ( A @ waterLevel ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[43]) ).

thf(247,plain,
    ~ ? [A: $i] :
        ( filling
        = ( A @ waterLevel ) ),
    inference(miniscope,[status(thm)],[246]) ).

thf(248,plain,
    ! [A: $i] :
      ( filling
     != ( A @ waterLevel ) ),
    inference(cnf,[status(esa)],[247]) ).

thf(249,plain,
    ! [A: $i] :
      ( ( A @ waterLevel )
     != filling ),
    inference(lifteq,[status(thm)],[248]) ).

thf(23,axiom,
    tapOff != overflow,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',tapOff_not_overflow) ).

thf(172,plain,
    tapOff != overflow,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[23]) ).

thf(173,plain,
    tapOff != overflow,
    inference(polarity_switch,[status(thm)],[172]) ).

thf(174,plain,
    overflow != tapOff,
    inference(lifteq,[status(thm)],[173]) ).

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

thf(288,plain,
    ( ( n2 @ ( n1 @ plus ) )
    = n3 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[47]) ).

thf(52,axiom,
    ! [A: $i,B: $i,C: $i,D: $i,E: $i] :
      ( ( ~ ( E @ ( B @ plus ) @ ( C @ ( B @ stoppedIn ) ) )
        & ( E @ ( D @ ( B @ ( C @ trajectory ) ) ) )
        & ( E @ ( n0 @ less ) )
        & ( B @ ( C @ ( A @ initiates ) ) )
        & ( B @ ( A @ happens ) ) )
     => ( E @ ( B @ plus ) @ ( D @ holdsAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',change_holding) ).

thf(301,plain,
    ! [A: $i,B: $i,C: $i,D: $i,E: $i] :
      ( ( ~ ( E @ ( B @ plus ) @ ( C @ ( B @ stoppedIn ) ) )
        & ( E @ ( D @ ( B @ ( C @ trajectory ) ) ) )
        & ( E @ ( n0 @ less ) )
        & ( B @ ( C @ ( A @ initiates ) ) )
        & ( B @ ( A @ happens ) ) )
     => ( E @ ( B @ plus ) @ ( D @ holdsAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[52]) ).

thf(46,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( C @ ( B @ ( A @ initiates ) ) )
    <=> ( ? [D: $i] :
            ( ( B
              = ( D @ waterLevel ) )
            & ( A = overflow )
            & ( C @ ( D @ waterLevel @ holdsAt ) ) )
        | ? [D: $i] :
            ( ( B
              = ( D @ waterLevel ) )
            & ( A = tapOff )
            & ( C @ ( D @ waterLevel @ holdsAt ) ) )
        | ( ( B = spilling )
          & ( A = overflow ) )
        | ( ( B = filling )
          & ( A = tapOn ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',initiates_all_defn) ).

thf(255,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( ? [D: $i] :
              ( ( B
                = ( D @ waterLevel ) )
              & ( A = overflow )
              & ( C @ ( D @ waterLevel @ holdsAt ) ) )
          | ? [D: $i] :
              ( ( B
                = ( D @ waterLevel ) )
              & ( A = tapOff )
              & ( C @ ( D @ waterLevel @ holdsAt ) ) )
          | ( ( B = spilling )
            & ( A = overflow ) )
          | ( ( B = filling )
            & ( A = tapOn ) ) )
       => ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( B @ ( A @ initiates ) ) )
       => ( ? [D: $i] :
              ( ( B
                = ( D @ waterLevel ) )
              & ( A = overflow )
              & ( C @ ( D @ waterLevel @ holdsAt ) ) )
          | ? [D: $i] :
              ( ( B
                = ( D @ waterLevel ) )
              & ( A = tapOff )
              & ( C @ ( D @ waterLevel @ holdsAt ) ) )
          | ( ( B = spilling )
            & ( A = overflow ) )
          | ( ( B = filling )
            & ( A = tapOn ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[46]) ).

thf(256,plain,
    ( ! [A: $i,B: $i,C: $i] :
        ( ( ? [D: $i] :
              ( ( B
                = ( D @ waterLevel ) )
              & ( A = overflow )
              & ( C @ ( D @ waterLevel @ holdsAt ) ) )
          | ? [D: $i] :
              ( ( B
                = ( D @ waterLevel ) )
              & ( A = tapOff )
              & ( C @ ( D @ waterLevel @ holdsAt ) ) )
          | ( ( B = spilling )
            & ( A = overflow ) )
          | ( ( B = filling )
            & ( A = tapOn ) ) )
       => ( C @ ( B @ ( A @ initiates ) ) ) )
    & ! [A: $i,B: $i,C: $i] :
        ( ( C @ ( B @ ( A @ initiates ) ) )
       => ( ? [D: $i] :
              ( ( B
                = ( D @ waterLevel ) )
              & ( A = overflow )
              & ( C @ ( D @ waterLevel @ holdsAt ) ) )
          | ? [D: $i] :
              ( ( B
                = ( D @ waterLevel ) )
              & ( A = tapOff )
              & ( C @ ( D @ waterLevel @ holdsAt ) ) )
          | ( ( B = spilling )
            & ( A = overflow ) )
          | ( ( B = filling )
            & ( A = tapOn ) ) ) ) ),
    inference(miniscope,[status(thm)],[255]) ).

thf(257,plain,
    ! [H: $i,G: $i,F: $i,E: $i,D: $i,C: $i,B: $i,A: $i] :
      ( ( ( F @ ( E @ ( D @ initiates ) ) )
        | ( E
         != ( H @ waterLevel ) )
        | ( D != overflow )
        | ~ ( F @ ( H @ waterLevel @ holdsAt ) ) )
      & ( ( F @ ( E @ ( D @ initiates ) ) )
        | ( E
         != ( G @ waterLevel ) )
        | ( D != tapOff )
        | ~ ( F @ ( G @ waterLevel @ holdsAt ) ) )
      & ( ( F @ ( E @ ( D @ initiates ) ) )
        | ( E != spilling )
        | ( D != overflow ) )
      & ( ( F @ ( E @ ( D @ initiates ) ) )
        | ( E != filling )
        | ( D != tapOn ) )
      & ( ( B
          = ( A @ ( B @ ( C @ sk15 ) ) @ waterLevel ) )
        | ~ ( B @ ( A @ ( C @ sk13 ) ) )
        | ~ ( B @ ( A @ ( C @ sk12 ) ) )
        | ~ ( C @ ( B @ ( A @ sk11 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( A = overflow )
        | ~ ( B @ ( A @ ( C @ sk13 ) ) )
        | ~ ( B @ ( A @ ( C @ sk12 ) ) )
        | ~ ( C @ ( B @ ( A @ sk11 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( A @ ( B @ ( C @ sk15 ) ) @ waterLevel @ holdsAt ) )
        | ~ ( B @ ( A @ ( C @ sk13 ) ) )
        | ~ ( B @ ( A @ ( C @ sk12 ) ) )
        | ~ ( C @ ( B @ ( A @ sk11 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk13 ) ) )
        | ( B
          = ( A @ ( B @ ( C @ sk14 ) ) @ waterLevel ) )
        | ~ ( B @ ( A @ ( C @ sk12 ) ) )
        | ~ ( C @ ( B @ ( A @ sk11 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk13 ) ) )
        | ( A = tapOff )
        | ~ ( B @ ( A @ ( C @ sk12 ) ) )
        | ~ ( C @ ( B @ ( A @ sk11 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk13 ) ) )
        | ( C @ ( A @ ( B @ ( C @ sk14 ) ) @ waterLevel @ holdsAt ) )
        | ~ ( B @ ( A @ ( C @ sk12 ) ) )
        | ~ ( C @ ( B @ ( A @ sk11 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk12 ) ) )
        | ( B = spilling )
        | ~ ( C @ ( B @ ( A @ sk11 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk12 ) ) )
        | ( A = overflow )
        | ~ ( C @ ( B @ ( A @ sk11 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( B @ ( A @ sk11 ) ) )
        | ( B = filling )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( B @ ( A @ sk11 ) ) )
        | ( A = tapOn )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) ) ),
    inference(cnf,[status(esa)],[256]) ).

thf(263,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ initiates ) ) )
      | ( B != spilling )
      | ( A != overflow ) ),
    inference(cnfConj,[status(thm)],[257]) ).

thf(283,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ initiates ) ) )
      | ( B != spilling )
      | ( A != overflow ) ),
    inference(lifteq,[status(thm)],[263]) ).

thf(284,plain,
    ! [A: $i] : ( A @ ( spilling @ ( overflow @ initiates ) ) ),
    inference(simp,[status(thm)],[283]) ).

thf(36,axiom,
    ! [A: $i,B: $i,C: $i,D: $i] :
      ( ( ( C
          = ( D @ ( A @ plus ) ) )
        & ( B @ ( A @ waterLevel @ holdsAt ) ) )
     => ( D @ ( C @ waterLevel @ ( B @ ( filling @ trajectory ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',change_of_waterLevel) ).

thf(228,plain,
    ! [A: $i,B: $i,C: $i,D: $i] :
      ( ( ( C
          = ( D @ ( A @ plus ) ) )
        & ( B @ ( A @ waterLevel @ holdsAt ) ) )
     => ( D @ ( C @ waterLevel @ ( B @ ( filling @ trajectory ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[36]) ).

thf(289,plain,
    ( ( n2 @ ( n1 @ plus ) )
    = n3 ),
    inference(lifteq,[status(thm)],[288]) ).

thf(26,axiom,
    ( ( n2 @ ( n0 @ plus ) )
    = n2 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus0_2) ).

thf(179,plain,
    ( ( n2 @ ( n0 @ plus ) )
    = n2 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[26]) ).

thf(8,axiom,
    ! [A: $i,B: $i] :
      ( ( B @ ( A @ less ) )
    <=> ( ( B != A )
        & ~ ( A @ ( B @ less ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less_property) ).

thf(84,plain,
    ! [A: $i,B: $i] :
      ( ( ( ( B != A )
          & ~ ( A @ ( B @ less ) ) )
       => ( B @ ( A @ less ) ) )
      & ( ( B @ ( A @ less ) )
       => ( ( B != A )
          & ~ ( A @ ( B @ less ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).

thf(49,axiom,
    ~ ( n0 @ ( filling @ releasedAt ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_released_filling_0) ).

thf(292,plain,
    ~ ( n0 @ ( filling @ releasedAt ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[49]) ).

thf(293,plain,
    ~ ( n0 @ ( filling @ releasedAt ) ),
    inference(polarity_switch,[status(thm)],[292]) ).

thf(16,axiom,
    ! [A: $i] :
      ~ ( n0 @ ( A @ waterLevel @ releasedAt ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_released_waterLevel_0) ).

thf(131,plain,
    ! [A: $i] :
      ~ ( n0 @ ( A @ waterLevel @ releasedAt ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).

thf(132,plain,
    ~ ? [A: $i] : ( n0 @ ( A @ waterLevel @ releasedAt ) ),
    inference(miniscope,[status(thm)],[131]) ).

thf(133,plain,
    ! [A: $i] :
      ~ ( n0 @ ( A @ waterLevel @ releasedAt ) ),
    inference(cnf,[status(esa)],[132]) ).

thf(41,axiom,
    ~ ( n0 @ ( filling @ holdsAt ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_filling_0) ).

thf(242,plain,
    ~ ( n0 @ ( filling @ holdsAt ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[41]) ).

thf(243,plain,
    ~ ( n0 @ ( filling @ holdsAt ) ),
    inference(polarity_switch,[status(thm)],[242]) ).

thf(6,axiom,
    ! [A: $i] :
      ( ( n1 @ ( A @ less ) )
    <=> ( n0 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less1) ).

thf(74,plain,
    ! [A: $i] :
      ( ( ( n0 @ ( A @ less_or_equal ) )
       => ( n1 @ ( A @ less ) ) )
      & ( ( n1 @ ( A @ less ) )
       => ( n0 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).

thf(32,axiom,
    overflow != tapOn,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',overflow_not_tapOn) ).

thf(204,plain,
    overflow != tapOn,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[32]) ).

thf(205,plain,
    overflow != tapOn,
    inference(polarity_switch,[status(thm)],[204]) ).

thf(206,plain,
    overflow != tapOn,
    inference(lifteq,[status(thm)],[205]) ).

thf(54,axiom,
    ! [A: $i] :
      ( ( n4 @ ( A @ less ) )
    <=> ( n3 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less4) ).

thf(307,plain,
    ! [A: $i] :
      ( ( ( n3 @ ( A @ less_or_equal ) )
       => ( n4 @ ( A @ less ) ) )
      & ( ( n4 @ ( A @ less ) )
       => ( n3 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[54]) ).

thf(37,axiom,
    ( ( n3 @ ( n3 @ plus ) )
    = n6 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus3_3) ).

thf(232,plain,
    ( ( n3 @ ( n3 @ plus ) )
    = n6 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[37]) ).

thf(233,plain,
    ( ( n3 @ ( n3 @ plus ) )
    = n6 ),
    inference(lifteq,[status(thm)],[232]) ).

thf(11,axiom,
    ( ( n2 @ ( n2 @ plus ) )
    = n4 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus2_2) ).

thf(102,plain,
    ( ( n2 @ ( n2 @ plus ) )
    = n4 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).

thf(45,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( A @ ( C @ waterLevel @ holdsAt ) )
        & ( A @ ( B @ waterLevel @ holdsAt ) ) )
     => ( B = C ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',same_waterLevel) ).

thf(252,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( A @ ( C @ waterLevel @ holdsAt ) )
        & ( A @ ( B @ waterLevel @ holdsAt ) ) )
     => ( B = C ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[45]) ).

thf(29,axiom,
    ~ ? [A: $i] : ( n0 @ ( A @ less ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less0) ).

thf(195,plain,
    ~ ? [A: $i] : ( n0 @ ( A @ less ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[29]) ).

thf(196,plain,
    ~ ? [A: $i] : ( n0 @ ( A @ less ) ),
    inference(polarity_switch,[status(thm)],[195]) ).

thf(197,plain,
    ! [A: $i] :
      ~ ( n0 @ ( A @ less ) ),
    inference(cnf,[status(esa)],[196]) ).

thf(4,axiom,
    ! [A: $i] :
      ( ( n8 @ ( A @ less ) )
    <=> ( n7 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less8) ).

thf(65,plain,
    ! [A: $i] :
      ( ( ( n7 @ ( A @ less_or_equal ) )
       => ( n8 @ ( A @ less ) ) )
      & ( ( n8 @ ( A @ less ) )
       => ( n7 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).

thf(34,axiom,
    ( ( n3 @ ( n0 @ plus ) )
    = n3 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus0_3) ).

thf(224,plain,
    ( ( n3 @ ( n0 @ plus ) )
    = n3 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[34]) ).

thf(14,axiom,
    ( ( n1 @ ( n0 @ plus ) )
    = n1 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus0_1) ).

thf(123,plain,
    ( ( n1 @ ( n0 @ plus ) )
    = n1 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).

thf(124,plain,
    ( ( n1 @ ( n0 @ plus ) )
    = n1 ),
    inference(lifteq,[status(thm)],[123]) ).

thf(225,plain,
    ( ( n3 @ ( n0 @ plus ) )
    = n3 ),
    inference(lifteq,[status(thm)],[224]) ).

thf(17,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( C @ ( B @ ( A @ stoppedIn ) ) )
    <=> ? [D: $i,E: $i] :
          ( ( E @ ( B @ ( D @ terminates ) ) )
          & ( C @ ( E @ less ) )
          & ( E @ ( A @ less ) )
          & ( E @ ( D @ happens ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',stoppedin_defn) ).

thf(134,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ? [D: $i,E: $i] :
            ( ( E @ ( B @ ( D @ terminates ) ) )
            & ( C @ ( E @ less ) )
            & ( E @ ( A @ less ) )
            & ( E @ ( D @ happens ) ) )
       => ( C @ ( B @ ( A @ stoppedIn ) ) ) )
      & ( ( C @ ( B @ ( A @ stoppedIn ) ) )
       => ? [D: $i,E: $i] :
            ( ( E @ ( B @ ( D @ terminates ) ) )
            & ( C @ ( E @ less ) )
            & ( E @ ( A @ less ) )
            & ( E @ ( D @ happens ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).

thf(42,axiom,
    ( ( n3 @ ( n1 @ plus ) )
    = n4 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus1_3) ).

thf(244,plain,
    ( ( n3 @ ( n1 @ plus ) )
    = n4 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[42]) ).

thf(3,axiom,
    ! [A: $i] :
      ( ( n5 @ ( A @ less ) )
    <=> ( n4 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less5) ).

thf(59,plain,
    ! [A: $i] :
      ( ( ( n4 @ ( A @ less_or_equal ) )
       => ( n5 @ ( A @ less ) ) )
      & ( ( n5 @ ( A @ less ) )
       => ( n4 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).

thf(60,plain,
    ( ! [A: $i] :
        ( ( n4 @ ( A @ less_or_equal ) )
       => ( n5 @ ( A @ less ) ) )
    & ! [A: $i] :
        ( ( n5 @ ( A @ less ) )
       => ( n4 @ ( A @ less_or_equal ) ) ) ),
    inference(miniscope,[status(thm)],[59]) ).

thf(61,plain,
    ! [B: $i,A: $i] :
      ( ( ( n5 @ ( B @ less ) )
        | ~ ( n4 @ ( B @ less_or_equal ) ) )
      & ( ( n4 @ ( A @ less_or_equal ) )
        | ~ ( n5 @ ( A @ less ) ) ) ),
    inference(cnf,[status(esa)],[60]) ).

thf(63,plain,
    ! [A: $i] :
      ( ( n5 @ ( A @ less ) )
      | ~ ( n4 @ ( A @ less_or_equal ) ) ),
    inference(cnfConj,[status(thm)],[61]) ).

thf(64,plain,
    ! [A: $i] :
      ( ( n5 @ ( A @ less ) )
      | ~ ( n4 @ ( A @ less_or_equal ) ) ),
    inference(simp,[status(thm)],[63]) ).

thf(180,plain,
    ( ( n2 @ ( n0 @ plus ) )
    = n2 ),
    inference(lifteq,[status(thm)],[179]) ).

thf(19,axiom,
    ! [A: $i,B: $i] :
      ( ( ( A @ waterLevel )
        = ( B @ waterLevel ) )
    <=> ( A = B ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',distinct_waterLevels) ).

thf(149,plain,
    ! [A: $i,B: $i] :
      ( ( ( A = B )
       => ( ( A @ waterLevel )
          = ( B @ waterLevel ) ) )
      & ( ( ( A @ waterLevel )
          = ( B @ waterLevel ) )
       => ( A = B ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[19]) ).

thf(24,axiom,
    ( ( n0 @ ( n0 @ plus ) )
    = n0 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus0_0) ).

thf(175,plain,
    ( ( n0 @ ( n0 @ plus ) )
    = n0 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[24]) ).

thf(176,plain,
    ( ( n0 @ ( n0 @ plus ) )
    = n0 ),
    inference(lifteq,[status(thm)],[175]) ).

thf(28,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( ( B @ ( C @ ( A @ terminates ) ) )
          | ( B @ ( C @ ( A @ initiates ) ) ) )
        & ( B @ ( A @ happens ) ) )
     => ~ ( n1 @ ( B @ plus ) @ ( C @ releasedAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',happens_not_released) ).

thf(191,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( ( B @ ( C @ ( A @ terminates ) ) )
          | ( B @ ( C @ ( A @ initiates ) ) ) )
        & ( B @ ( A @ happens ) ) )
     => ~ ( n1 @ ( B @ plus ) @ ( C @ releasedAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[28]) ).

thf(5,axiom,
    ! [A: $i,B: $i] :
      ( ( B @ ( A @ plus ) )
      = ( A @ ( B @ plus ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',symmetry_of_plus) ).

thf(71,plain,
    ! [A: $i,B: $i] :
      ( ( B @ ( A @ plus ) )
      = ( A @ ( B @ plus ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).

thf(334,plain,
    filling != spilling,
    inference(polarity_switch,[status(thm)],[333]) ).

thf(335,plain,
    spilling != filling,
    inference(lifteq,[status(thm)],[334]) ).

thf(39,axiom,
    ! [A: $i,B: $i] :
      ( ( ~ ? [C: $i] :
              ( ( B @ ( A @ ( C @ terminates ) ) )
              & ( B @ ( C @ happens ) ) )
        & ~ ( n1 @ ( B @ plus ) @ ( A @ releasedAt ) )
        & ( B @ ( A @ holdsAt ) ) )
     => ( n1 @ ( B @ plus ) @ ( A @ holdsAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',keep_holding) ).

thf(236,plain,
    ! [A: $i,B: $i] :
      ( ( ~ ? [C: $i] :
              ( ( B @ ( A @ ( C @ terminates ) ) )
              & ( B @ ( C @ happens ) ) )
        & ~ ( n1 @ ( B @ plus ) @ ( A @ releasedAt ) )
        & ( B @ ( A @ holdsAt ) ) )
     => ( n1 @ ( B @ plus ) @ ( A @ holdsAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[39]) ).

thf(27,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( C @ ( B @ ( A @ releases ) ) )
    <=> ? [D: $i] :
          ( ( B
            = ( D @ waterLevel ) )
          & ( A = tapOn ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',releases_all_defn) ).

thf(181,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ? [D: $i] :
            ( ( B
              = ( D @ waterLevel ) )
            & ( A = tapOn ) )
       => ( C @ ( B @ ( A @ releases ) ) ) )
      & ( ( C @ ( B @ ( A @ releases ) ) )
       => ? [D: $i] :
            ( ( B
              = ( D @ waterLevel ) )
            & ( A = tapOn ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[27]) ).

thf(20,axiom,
    ! [A: $i] :
      ( ( n6 @ ( A @ less ) )
    <=> ( n5 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less6) ).

thf(159,plain,
    ! [A: $i] :
      ( ( ( n5 @ ( A @ less_or_equal ) )
       => ( n6 @ ( A @ less ) ) )
      & ( ( n6 @ ( A @ less ) )
       => ( n5 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[20]) ).

thf(13,axiom,
    ! [A: $i,B: $i] :
      ( ( B @ ( A @ less_or_equal ) )
    <=> ( ( A = B )
        | ( B @ ( A @ less ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less_or_equal) ).

thf(113,plain,
    ! [A: $i,B: $i] :
      ( ( ( ( A = B )
          | ( B @ ( A @ less ) ) )
       => ( B @ ( A @ less_or_equal ) ) )
      & ( ( B @ ( A @ less_or_equal ) )
       => ( ( A = B )
          | ( B @ ( A @ less ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).

thf(245,plain,
    ( ( n3 @ ( n1 @ plus ) )
    = n4 ),
    inference(lifteq,[status(thm)],[244]) ).

thf(53,axiom,
    ! [A: $i,B: $i] :
      ( ( ~ ? [C: $i] :
              ( ( B @ ( A @ ( C @ initiates ) ) )
              & ( B @ ( C @ happens ) ) )
        & ~ ( n1 @ ( B @ plus ) @ ( A @ releasedAt ) )
        & ~ ( B @ ( A @ holdsAt ) ) )
     => ~ ( n1 @ ( B @ plus ) @ ( A @ holdsAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',keep_not_holding) ).

thf(303,plain,
    ! [A: $i,B: $i] :
      ( ( ~ ? [C: $i] :
              ( ( B @ ( A @ ( C @ initiates ) ) )
              & ( B @ ( C @ happens ) ) )
        & ~ ( n1 @ ( B @ plus ) @ ( A @ releasedAt ) )
        & ~ ( B @ ( A @ holdsAt ) ) )
     => ~ ( n1 @ ( B @ plus ) @ ( A @ holdsAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[53]) ).

thf(103,plain,
    ( ( n2 @ ( n2 @ plus ) )
    = n4 ),
    inference(lifteq,[status(thm)],[102]) ).

thf(85,plain,
    ( ! [A: $i,B: $i] :
        ( ( ( B != A )
          & ~ ( A @ ( B @ less ) ) )
       => ( B @ ( A @ less ) ) )
    & ! [A: $i,B: $i] :
        ( ( B @ ( A @ less ) )
       => ( ( B != A )
          & ~ ( A @ ( B @ less ) ) ) ) ),
    inference(miniscope,[status(thm)],[84]) ).

thf(86,plain,
    ! [D: $i,C: $i,B: $i,A: $i] :
      ( ( ( D @ ( C @ less ) )
        | ( D = C )
        | ( C @ ( D @ less ) ) )
      & ( ( B != A )
        | ~ ( B @ ( A @ less ) ) )
      & ( ~ ( A @ ( B @ less ) )
        | ~ ( B @ ( A @ less ) ) ) ),
    inference(cnf,[status(esa)],[85]) ).

thf(88,plain,
    ! [B: $i,A: $i] :
      ( ( B != A )
      | ~ ( B @ ( A @ less ) ) ),
    inference(cnfConj,[status(thm)],[86]) ).

thf(90,plain,
    ! [B: $i,A: $i] :
      ( ~ ( B @ ( A @ less ) )
      | ( B != A ) ),
    inference(lifteq,[status(thm)],[88]) ).

thf(91,plain,
    ! [A: $i] :
      ~ ( A @ ( A @ less ) ),
    inference(simp,[status(thm)],[90]) ).

thf(30,axiom,
    ( ( n1 @ ( n1 @ plus ) )
    = n2 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus1_1) ).

thf(198,plain,
    ( ( n1 @ ( n1 @ plus ) )
    = n2 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[30]) ).

thf(40,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( B @ ( C @ ( A @ terminates ) ) )
        & ( B @ ( A @ happens ) ) )
     => ~ ( n1 @ ( B @ plus ) @ ( C @ holdsAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',happens_terminates_not_holds) ).

thf(240,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( B @ ( C @ ( A @ terminates ) ) )
        & ( B @ ( A @ happens ) ) )
     => ~ ( n1 @ ( B @ plus ) @ ( C @ holdsAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[40]) ).

thf(44,axiom,
    ~ ( n3 @ ( filling @ releasedAt ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',filling_3_l1) ).

thf(250,plain,
    ~ ( n3 @ ( filling @ releasedAt ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[44]) ).

thf(251,plain,
    ~ ( n3 @ ( filling @ releasedAt ) ),
    inference(polarity_switch,[status(thm)],[250]) ).

thf(33,axiom,
    ! [A: $i,B: $i] :
      ( ( B @ ( A @ happens ) )
    <=> ( ( ( A = overflow )
          & ( B @ ( filling @ holdsAt ) )
          & ( B @ ( n3 @ waterLevel @ holdsAt ) ) )
        | ( ( B = n0 )
          & ( A = tapOn ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',happens_all_defn) ).

thf(207,plain,
    ! [A: $i,B: $i] :
      ( ( ( ( ( A = overflow )
            & ( B @ ( filling @ holdsAt ) )
            & ( B @ ( n3 @ waterLevel @ holdsAt ) ) )
          | ( ( B = n0 )
            & ( A = tapOn ) ) )
       => ( B @ ( A @ happens ) ) )
      & ( ( B @ ( A @ happens ) )
       => ( ( ( A = overflow )
            & ( B @ ( filling @ holdsAt ) )
            & ( B @ ( n3 @ waterLevel @ holdsAt ) ) )
          | ( ( B = n0 )
            & ( A = tapOn ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[33]) ).

thf(208,plain,
    ( ! [A: $i,B: $i] :
        ( ( ( ( A = overflow )
            & ( B @ ( filling @ holdsAt ) )
            & ( B @ ( n3 @ waterLevel @ holdsAt ) ) )
          | ( ( B = n0 )
            & ( A = tapOn ) ) )
       => ( B @ ( A @ happens ) ) )
    & ! [A: $i,B: $i] :
        ( ( B @ ( A @ happens ) )
       => ( ( ( A = overflow )
            & ( B @ ( filling @ holdsAt ) )
            & ( B @ ( n3 @ waterLevel @ holdsAt ) ) )
          | ( ( B = n0 )
            & ( A = tapOn ) ) ) ) ),
    inference(miniscope,[status(thm)],[207]) ).

thf(209,plain,
    ! [D: $i,C: $i,B: $i,A: $i] :
      ( ( ( D @ ( C @ happens ) )
        | ( C != overflow )
        | ~ ( D @ ( filling @ holdsAt ) )
        | ~ ( D @ ( n3 @ waterLevel @ holdsAt ) ) )
      & ( ( D @ ( C @ happens ) )
        | ( D != n0 )
        | ( C != tapOn ) )
      & ( ( A = overflow )
        | ~ ( A @ ( B @ sk9 ) )
        | ~ ( B @ ( A @ happens ) ) )
      & ( ( B @ ( filling @ holdsAt ) )
        | ~ ( A @ ( B @ sk9 ) )
        | ~ ( B @ ( A @ happens ) ) )
      & ( ( B @ ( n3 @ waterLevel @ holdsAt ) )
        | ~ ( A @ ( B @ sk9 ) )
        | ~ ( B @ ( A @ happens ) ) )
      & ( ( A @ ( B @ sk9 ) )
        | ( B = n0 )
        | ~ ( B @ ( A @ happens ) ) )
      & ( ( A @ ( B @ sk9 ) )
        | ( A = tapOn )
        | ~ ( B @ ( A @ happens ) ) ) ),
    inference(cnf,[status(esa)],[208]) ).

thf(211,plain,
    ! [B: $i,A: $i] :
      ( ( B @ ( A @ happens ) )
      | ( B != n0 )
      | ( A != tapOn ) ),
    inference(cnfConj,[status(thm)],[209]) ).

thf(222,plain,
    ! [B: $i,A: $i] :
      ( ( B @ ( A @ happens ) )
      | ( B != n0 )
      | ( A != tapOn ) ),
    inference(lifteq,[status(thm)],[211]) ).

thf(223,plain,
    n0 @ ( tapOn @ happens ),
    inference(simp,[status(thm)],[222]) ).

thf(35,axiom,
    ! [A: $i,B: $i,C: $i,D: $i,E: $i] :
      ( ( ~ ( D @ ( B @ plus ) @ ( C @ ( B @ startedIn ) ) )
        & ( D @ ( E @ ( B @ ( C @ antitrajectory ) ) ) )
        & ( D @ ( n0 @ less ) )
        & ( B @ ( C @ ( A @ terminates ) ) )
        & ( B @ ( A @ happens ) ) )
     => ( D @ ( B @ plus ) @ ( E @ holdsAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',antitrajectory) ).

thf(226,plain,
    ! [A: $i,B: $i,C: $i,D: $i,E: $i] :
      ( ( ~ ( D @ ( B @ plus ) @ ( C @ ( B @ startedIn ) ) )
        & ( D @ ( E @ ( B @ ( C @ antitrajectory ) ) ) )
        & ( D @ ( n0 @ less ) )
        & ( B @ ( C @ ( A @ terminates ) ) )
        & ( B @ ( A @ happens ) ) )
     => ( D @ ( B @ plus ) @ ( E @ holdsAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[35]) ).

thf(7,axiom,
    ! [A: $i,B: $i] :
      ( ( ~ ? [C: $i] :
              ( ( ( B @ ( A @ ( C @ terminates ) ) )
                | ( B @ ( A @ ( C @ initiates ) ) ) )
              & ( B @ ( C @ happens ) ) )
        & ( B @ ( A @ releasedAt ) ) )
     => ( n1 @ ( B @ plus ) @ ( A @ releasedAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',keep_released) ).

thf(80,plain,
    ! [A: $i,B: $i] :
      ( ( ~ ? [C: $i] :
              ( ( ( B @ ( A @ ( C @ terminates ) ) )
                | ( B @ ( A @ ( C @ initiates ) ) ) )
              & ( B @ ( C @ happens ) ) )
        & ( B @ ( A @ releasedAt ) ) )
     => ( n1 @ ( B @ plus ) @ ( A @ releasedAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).

thf(199,plain,
    ( ( n1 @ ( n1 @ plus ) )
    = n2 ),
    inference(lifteq,[status(thm)],[198]) ).

thf(25,axiom,
    ~ ( n0 @ ( spilling @ releasedAt ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_released_spilling_0) ).

thf(177,plain,
    ~ ( n0 @ ( spilling @ releasedAt ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[25]) ).

thf(18,axiom,
    ! [A: $i] :
      ( ( n9 @ ( A @ less ) )
    <=> ( n8 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less9) ).

thf(143,plain,
    ! [A: $i] :
      ( ( ( n8 @ ( A @ less_or_equal ) )
       => ( n9 @ ( A @ less ) ) )
      & ( ( n9 @ ( A @ less ) )
       => ( n8 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[18]) ).

thf(87,plain,
    ! [B: $i,A: $i] :
      ( ~ ( A @ ( B @ less ) )
      | ~ ( B @ ( A @ less ) ) ),
    inference(cnfConj,[status(thm)],[86]) ).

thf(31,axiom,
    ! [A: $i] :
      ( spilling
     != ( A @ waterLevel ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',spilling_not_waterLevel) ).

thf(200,plain,
    ! [A: $i] :
      ( spilling
     != ( A @ waterLevel ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[31]) ).

thf(201,plain,
    ~ ? [A: $i] :
        ( spilling
        = ( A @ waterLevel ) ),
    inference(miniscope,[status(thm)],[200]) ).

thf(202,plain,
    ! [A: $i] :
      ( spilling
     != ( A @ waterLevel ) ),
    inference(cnf,[status(esa)],[201]) ).

thf(203,plain,
    ! [A: $i] :
      ( ( A @ waterLevel )
     != spilling ),
    inference(lifteq,[status(thm)],[202]) ).

thf(573,plain,
    ( ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
     != ( n0 @ ( filling @ holdsAt ) ) )
    | ~ $true ),
    inference(paramod_ordered,[status(thm)],[300,243]) ).

thf(574,plain,
    ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
   != ( n0 @ ( filling @ holdsAt ) ) ),
    inference(simp,[status(thm)],[573]) ).

thf(578,plain,
    ( ( n0 != n0 )
    | ( ( n0 @ waterLevel )
     != filling ) ),
    inference(simp,[status(thm)],[574]) ).

thf(581,plain,
    ( ( n0 @ waterLevel )
   != filling ),
    inference(simp,[status(thm)],[578]) ).

thf(12,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( B @ ( C @ ( A @ startedIn ) ) )
    <=> ? [D: $i,E: $i] :
          ( ( E @ ( C @ ( D @ initiates ) ) )
          & ( B @ ( E @ less ) )
          & ( E @ ( A @ less ) )
          & ( E @ ( D @ happens ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',startedin_defn) ).

thf(104,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ? [D: $i,E: $i] :
            ( ( E @ ( C @ ( D @ initiates ) ) )
            & ( B @ ( E @ less ) )
            & ( E @ ( A @ less ) )
            & ( E @ ( D @ happens ) ) )
       => ( B @ ( C @ ( A @ startedIn ) ) ) )
      & ( ( B @ ( C @ ( A @ startedIn ) ) )
       => ? [D: $i,E: $i] :
            ( ( E @ ( C @ ( D @ initiates ) ) )
            & ( B @ ( E @ less ) )
            & ( E @ ( A @ less ) )
            & ( E @ ( D @ happens ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).

thf(48,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( B @ ( C @ ( A @ initiates ) ) )
        & ( B @ ( A @ happens ) ) )
     => ( n1 @ ( B @ plus ) @ ( C @ holdsAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',happens_holds) ).

thf(290,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( B @ ( C @ ( A @ initiates ) ) )
        & ( B @ ( A @ happens ) ) )
     => ( n1 @ ( B @ plus ) @ ( C @ holdsAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[48]) ).

thf(1,conjecture,
    n3 @ ( filling @ holdsAt ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',filling_3) ).

thf(2,negated_conjecture,
    ~ ( n3 @ ( filling @ holdsAt ) ),
    inference(neg_conjecture,[status(cth)],[1]) ).

thf(58,plain,
    ~ ( n3 @ ( filling @ holdsAt ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

thf(235,plain,
    ( ( n3 @ ( n2 @ plus ) )
    = n5 ),
    inference(lifteq,[status(thm)],[234]) ).

thf(56,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( C @ ( B @ ( A @ terminates ) ) )
    <=> ( ( ( B = filling )
          & ( A = overflow ) )
        | ( ( B = filling )
          & ( A = tapOff ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',terminates_all_defn) ).

thf(315,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( ( ( B = filling )
            & ( A = overflow ) )
          | ( ( B = filling )
            & ( A = tapOff ) ) )
       => ( C @ ( B @ ( A @ terminates ) ) ) )
      & ( ( C @ ( B @ ( A @ terminates ) ) )
       => ( ( ( B = filling )
            & ( A = overflow ) )
          | ( ( B = filling )
            & ( A = tapOff ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[56]) ).

thf(261,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ initiates ) ) )
      | ( B != filling )
      | ( A != tapOn ) ),
    inference(cnfConj,[status(thm)],[257]) ).

thf(272,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ initiates ) ) )
      | ( B != filling )
      | ( A != tapOn ) ),
    inference(lifteq,[status(thm)],[261]) ).

thf(273,plain,
    ! [A: $i] : ( A @ ( filling @ ( tapOn @ initiates ) ) ),
    inference(simp,[status(thm)],[272]) ).

thf(50,axiom,
    ! [A: $i] :
      ( ( n3 @ ( A @ less ) )
    <=> ( n2 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less3) ).

thf(294,plain,
    ! [A: $i] :
      ( ( ( n2 @ ( A @ less_or_equal ) )
       => ( n3 @ ( A @ less ) ) )
      & ( ( n3 @ ( A @ less ) )
       => ( n2 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[50]) ).

thf(9,axiom,
    ! [A: $i] :
      ( ( n2 @ ( A @ less ) )
    <=> ( n1 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',less2) ).

thf(94,plain,
    ! [A: $i] :
      ( ( ( n1 @ ( A @ less_or_equal ) )
       => ( n2 @ ( A @ less ) ) )
      & ( ( n2 @ ( A @ less ) )
       => ( n1 @ ( A @ less_or_equal ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).

thf(66,plain,
    ( ! [A: $i] :
        ( ( n7 @ ( A @ less_or_equal ) )
       => ( n8 @ ( A @ less ) ) )
    & ! [A: $i] :
        ( ( n8 @ ( A @ less ) )
       => ( n7 @ ( A @ less_or_equal ) ) ) ),
    inference(miniscope,[status(thm)],[65]) ).

thf(67,plain,
    ! [B: $i,A: $i] :
      ( ( ( n8 @ ( B @ less ) )
        | ~ ( n7 @ ( B @ less_or_equal ) ) )
      & ( ( n7 @ ( A @ less_or_equal ) )
        | ~ ( n8 @ ( A @ less ) ) ) ),
    inference(cnf,[status(esa)],[66]) ).

thf(68,plain,
    ! [A: $i] :
      ( ( n7 @ ( A @ less_or_equal ) )
      | ~ ( n8 @ ( A @ less ) ) ),
    inference(cnfConj,[status(thm)],[67]) ).

thf(62,plain,
    ! [A: $i] :
      ( ( n4 @ ( A @ less_or_equal ) )
      | ~ ( n5 @ ( A @ less ) ) ),
    inference(cnfConj,[status(thm)],[61]) ).

thf(178,plain,
    ~ ( n0 @ ( spilling @ releasedAt ) ),
    inference(polarity_switch,[status(thm)],[177]) ).

thf(10,axiom,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( B @ ( C @ ( A @ releases ) ) )
        & ( B @ ( A @ happens ) ) )
     => ( n1 @ ( B @ plus ) @ ( C @ releasedAt ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',happens_releases) ).

thf(100,plain,
    ! [A: $i,B: $i,C: $i] :
      ( ( ( B @ ( C @ ( A @ releases ) ) )
        & ( B @ ( A @ happens ) ) )
     => ( n1 @ ( B @ plus ) @ ( C @ releasedAt ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).

thf(2079,plain,
    $false,
    inference(e,[status(thm)],[125,165,169,580,171,234,333,249,174,288,301,284,228,289,179,84,293,133,243,74,206,307,292,233,102,252,197,65,224,124,225,134,244,64,180,149,176,191,59,204,71,313,335,236,181,159,172,113,245,303,103,91,198,240,251,223,226,80,255,123,199,177,175,314,143,250,87,203,581,104,207,290,58,235,246,300,315,273,242,294,195,94,131,200,68,62,178,232,100]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.02  % Problem  : CSR005+2 : TPTP v9.3.1. Bugfixed v3.1.0.
% 0.00/0.06  % Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% 0.11/0.37  % Computer : n019.cluster.edu
% 0.11/0.37  % Model    : x86_64 x86_64
% 0.11/0.37  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.11/0.37  % Memory   : 8046.5625MB
% 0.11/0.37  % OS       : Linux 6.8.0-71-generic
% 0.11/0.37  % CPULimit : 300
% 0.11/0.37  % WCLimit  : 300
% 0.11/0.38  % DateTime : Sat Sep 26 23:55:03 UTC 2026
% 0.11/0.38  % CPUTime  : 
% 0.11/0.38  Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% 0.86/0.96  % [INFO] 	 Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ... 
% 1.23/1.19  % [INFO] 	 Parsing done (220ms). 
% 1.51/1.20  % [INFO] 	 Running in sequential loop mode. 
% 2.00/1.53  % [INFO] 	 eprover registered as external prover. 
% 2.00/1.53  % [INFO] 	 Scanning for conjecture ... 
% 2.00/1.58  % [INFO] 	 Found a conjecture (or negated_conjecture) and 55 axioms. Running axiom selection ... 
% 2.27/1.63  % [INFO] 	 Axiom selection finished. Selected 55 axioms (removed 0 axioms). 
% 2.27/1.68  % [INFO] 	 Problem is first-order (TPTP FOF). 
% 2.27/1.69  % [INFO] 	 Type checking passed. 
% 2.27/1.69  % [CONFIG] 	 Using configuration: timeout(300) with strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>.  Searching for refutation ... 
% 12.69/3.66  % External prover 'e' found a proof!
% 12.69/3.66  % [INFO] 	 Killing All external provers ... 
% 12.69/3.66  % Time passed: 3135ms (effective reasoning time: 2452ms)
% 12.69/3.66  % Solved by strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>
% 12.69/3.66  % Axioms used in derivation (55): keep_not_holding, same_waterLevel, plus1_1, stoppedin_defn, happens_all_defn, plus3_3, happens_holds, filling_3_l1, plus2_2, less9, keep_holding, not_filling_0, releases_all_defn, spilling_not_waterLevel, less8, less_property, antitrajectory, tapOff_not_overflow, less0, plus0_0, happens_terminates_not_holds, waterLevel_0, distinct_waterLevels, less4, less1, keep_released, plus2_3, less3, filling_not_waterLevel, plus0_1, not_spilling_0, plus0_3, not_released_filling_0, plus1_2, overflow_not_tapOn, filling_not_spilling, tapOff_not_tapOn, symmetry_of_plus, less7, initiates_all_defn, keep_not_released, not_released_waterLevel_0, terminates_all_defn, less2, change_of_waterLevel, plus0_2, plus1_3, change_holding, less6, happens_releases, less5, startedin_defn, happens_not_released, less_or_equal, not_released_spilling_0
% 12.69/3.66  % No. of inferences in proof: 182
% 12.69/3.66  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 3135 ms resp. 2452 ms w/o parsing
% 11.95/3.79  % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 11.95/3.79  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------