↑ 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  : CSR012+1 : TPTP v9.3.1. Bugfixed v3.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39

% Computer : n017.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:02 AM UTC 2026

% Result   : Theorem 14.86s 4.73s
% Output   : Refutation 14.36s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   57
% Syntax   : Number of formulae    :  185 (  96 unt;   0 typ;   2 def)
%            Number of atoms       :  601 ( 228 equ;   0 cnn)
%            Maximal formula atoms :   58 (   3 avg)
%            Number of connectives : 1671 ( 184   ~; 134   |; 180   &;1085   @)
%                                         (  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   :  272 (   6   ^; 224   !;  40   ?; 272   :)
%                                         (   0  !>;   0  ?*;   0  @-;   2  @+)

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

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

thf(n1_decl,type,
    n1: $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(n3_decl,type,
    n3: $i ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

thf(sk6_decl,type,
    sk6: $i > $i > $i > $o ).

thf(sk7_decl,type,
    sk7: $i > $i > $i > $o ).

thf(sk8_decl,type,
    sk8: $i > $i > $i > $o ).

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

thf(sk10_decl,type,
    sk10: $i > $i > $i > $i ).

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

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

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

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

thf(184,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)],[28]) ).

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

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

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

thf(124,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)],[16]) ).

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

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

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

thf(204,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)],[32]) ).

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

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

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

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

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

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

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

thf(125,plain,
    ( ! [A: $i,B: $i] :
        ( ( ( ( B = filling )
            & ( A = overflow ) )
          | ( ( B = filling )
            & ( A = tapOff ) ) )
       => ! [C: $i] : ( C @ ( B @ ( A @ terminates ) ) ) )
    & ! [A: $i,B: $i] :
        ( ? [C: $i] : ( C @ ( B @ ( A @ terminates ) ) )
       => ( ( ( B = filling )
            & ( A = overflow ) )
          | ( ( B = filling )
            & ( A = tapOff ) ) ) ) ),
    inference(miniscope,[status(thm)],[124]) ).

thf(126,plain,
    ! [F: $i,E: $i,D: $i,C: $i,B: $i,A: $i] :
      ( ( ( F @ ( E @ ( D @ terminates ) ) )
        | ( E != filling )
        | ( D != overflow ) )
      & ( ( F @ ( E @ ( D @ terminates ) ) )
        | ( E != filling )
        | ( D != tapOff ) )
      & ( ( B = filling )
        | ( B = filling )
        | ~ ( C @ ( B @ ( A @ terminates ) ) ) )
      & ( ( A = overflow )
        | ( B = filling )
        | ~ ( C @ ( B @ ( A @ terminates ) ) ) )
      & ( ( B = filling )
        | ( A = tapOff )
        | ~ ( C @ ( B @ ( A @ terminates ) ) ) )
      & ( ( A = overflow )
        | ( A = tapOff )
        | ~ ( C @ ( B @ ( A @ terminates ) ) ) ) ),
    inference(cnf,[status(esa)],[125]) ).

thf(130,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ terminates ) ) )
      | ( B != filling )
      | ( A != tapOff ) ),
    inference(cnfConj,[status(thm)],[126]) ).

thf(137,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ terminates ) ) )
      | ( B != filling )
      | ( A != tapOff ) ),
    inference(lifteq,[status(thm)],[130]) ).

thf(138,plain,
    ! [A: $i] : ( A @ ( filling @ ( tapOff @ terminates ) ) ),
    inference(simp,[status(thm)],[137]) ).

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

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

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

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

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

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

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

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

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

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

thf(31,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/sandbox2/benchmark/theBenchmark.p',antitrajectory) ).

thf(202,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)],[31]) ).

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

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

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

thf(153,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(174,plain,
    ( ( n2 @ ( n0 @ plus ) )
    = n2 ),
    inference(lifteq,[status(thm)],[173]) ).

thf(53,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/sandbox2/benchmark/theBenchmark.p',happens_not_released) ).

thf(320,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)],[53]) ).

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

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

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

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

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

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

thf(228,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)],[40]) ).

thf(1,conjecture,
    n1 @ ( n1 @ waterLevel @ holdsAt ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',waterLevel_1) ).

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

thf(57,plain,
    ~ ( n1 @ ( n1 @ waterLevel @ holdsAt ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

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

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

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

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

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

thf(486,plain,
    ( ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
     != ( n0 @ ( filling @ holdsAt ) ) )
    | ~ $true ),
    inference(paramod_ordered,[status(thm)],[274,221]) ).

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

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

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

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

thf(147,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)],[19]) ).

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

thf(58,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(59,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)],[58]) ).

thf(60,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)],[59]) ).

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

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

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

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

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

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

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

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

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

thf(70,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)],[5]) ).

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

thf(192,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)],[30]) ).

thf(46,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/sandbox2/benchmark/theBenchmark.p',keep_released) ).

thf(275,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)],[46]) ).

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

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

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

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

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

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

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

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

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

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

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

thf(132,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ terminates ) ) )
      | ( B != filling )
      | ( A != overflow ) ),
    inference(cnfConj,[status(thm)],[126]) ).

thf(133,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ terminates ) ) )
      | ( B != filling )
      | ( A != overflow ) ),
    inference(lifteq,[status(thm)],[132]) ).

thf(134,plain,
    ! [A: $i] : ( A @ ( filling @ ( overflow @ terminates ) ) ),
    inference(simp,[status(thm)],[133]) ).

thf(14,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/sandbox2/benchmark/theBenchmark.p',startedin_defn) ).

thf(105,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)],[14]) ).

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

thf(266,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)],[43]) ).

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

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

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

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

thf(47,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/sandbox2/benchmark/theBenchmark.p',keep_not_released) ).

thf(279,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)],[47]) ).

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

thf(64,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(27,axiom,
    overflow != tapOn,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',overflow_not_tapOn) ).

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

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

thf(159,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)],[21]) ).

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

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

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

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

thf(76,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)],[6]) ).

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

thf(208,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)],[33]) ).

thf(482,plain,
    ( ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
     != ( n1 @ ( n1 @ waterLevel @ holdsAt ) ) )
    | ~ $true ),
    inference(paramod_ordered,[status(thm)],[274,57]) ).

thf(483,plain,
    ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
   != ( n1 @ ( n1 @ waterLevel @ holdsAt ) ) ),
    inference(simp,[status(thm)],[482]) ).

thf(488,plain,
    ( ( n0 != n1 )
    | ( ( n0 @ waterLevel )
     != ( n1 @ waterLevel ) ) ),
    inference(simp,[status(thm)],[483]) ).

thf(493,plain,
    ( ( n0 != n1 )
    | ( n0 != n1 ) ),
    inference(simp,[status(thm)],[488]) ).

thf(494,plain,
    n0 != n1,
    inference(simp,[status(thm)],[493]) ).

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

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

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

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

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

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

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

thf(95,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)],[11]) ).

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

thf(310,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)],[52]) ).

thf(65,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)],[64]) ).

thf(66,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)],[65]) ).

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

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

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

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

thf(231,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)],[41]) ).

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

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

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

thf(218,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)],[36]) ).

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

thf(50,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/sandbox2/benchmark/theBenchmark.p',keep_holding) ).

thf(304,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)],[50]) ).

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

thf(114,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)],[15]) ).

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

thf(214,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)],[34]) ).

thf(49,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/sandbox2/benchmark/theBenchmark.p',keep_not_holding) ).

thf(300,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)],[49]) ).

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

thf(29,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/sandbox2/benchmark/theBenchmark.p',change_holding) ).

thf(190,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)],[29]) ).

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

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

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

thf(283,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)],[48]) ).

thf(284,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)],[283]) ).

thf(285,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 @ sk13 ) )
        | ~ ( B @ ( A @ happens ) ) )
      & ( ( B @ ( filling @ holdsAt ) )
        | ~ ( A @ ( B @ sk13 ) )
        | ~ ( B @ ( A @ happens ) ) )
      & ( ( B @ ( n3 @ waterLevel @ holdsAt ) )
        | ~ ( A @ ( B @ sk13 ) )
        | ~ ( B @ ( A @ happens ) ) )
      & ( ( A @ ( B @ sk13 ) )
        | ( B = n0 )
        | ~ ( B @ ( A @ happens ) ) )
      & ( ( A @ ( B @ sk13 ) )
        | ( A = tapOn )
        | ~ ( B @ ( A @ happens ) ) ) ),
    inference(cnf,[status(esa)],[284]) ).

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

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

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

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

thf(268,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)],[44]) ).

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

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

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

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

thf(484,plain,
    ( ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
     != ( n0 @ ( spilling @ holdsAt ) ) )
    | ~ $true ),
    inference(paramod_ordered,[status(thm)],[274,217]) ).

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

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

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

thf(232,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)],[231]) ).

thf(233,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 @ sk10 ) ) @ waterLevel ) )
        | ~ ( B @ ( A @ ( C @ sk8 ) ) )
        | ~ ( B @ ( A @ ( C @ sk7 ) ) )
        | ~ ( C @ ( B @ ( A @ sk6 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( A = overflow )
        | ~ ( B @ ( A @ ( C @ sk8 ) ) )
        | ~ ( B @ ( A @ ( C @ sk7 ) ) )
        | ~ ( C @ ( B @ ( A @ sk6 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( A @ ( B @ ( C @ sk10 ) ) @ waterLevel @ holdsAt ) )
        | ~ ( B @ ( A @ ( C @ sk8 ) ) )
        | ~ ( B @ ( A @ ( C @ sk7 ) ) )
        | ~ ( C @ ( B @ ( A @ sk6 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk8 ) ) )
        | ( B
          = ( A @ ( B @ ( C @ sk9 ) ) @ waterLevel ) )
        | ~ ( B @ ( A @ ( C @ sk7 ) ) )
        | ~ ( C @ ( B @ ( A @ sk6 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk8 ) ) )
        | ( A = tapOff )
        | ~ ( B @ ( A @ ( C @ sk7 ) ) )
        | ~ ( C @ ( B @ ( A @ sk6 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk8 ) ) )
        | ( C @ ( A @ ( B @ ( C @ sk9 ) ) @ waterLevel @ holdsAt ) )
        | ~ ( B @ ( A @ ( C @ sk7 ) ) )
        | ~ ( C @ ( B @ ( A @ sk6 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk7 ) ) )
        | ( B = spilling )
        | ~ ( C @ ( B @ ( A @ sk6 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk7 ) ) )
        | ( A = overflow )
        | ~ ( C @ ( B @ ( A @ sk6 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( B @ ( A @ sk6 ) ) )
        | ( B = filling )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( B @ ( A @ sk6 ) ) )
        | ( A = tapOn )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) ) ),
    inference(cnf,[status(esa)],[232]) ).

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

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

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

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

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

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

thf(722,plain,
    $false,
    inference(e,[status(thm)],[184,169,124,173,204,223,145,175,138,101,88,170,217,308,202,142,153,174,320,93,325,228,57,216,492,147,61,221,89,265,85,220,102,70,192,275,92,329,324,224,134,105,266,264,180,279,64,181,159,172,274,76,208,494,103,330,63,95,310,67,177,231,87,218,104,304,114,171,58,214,300,146,190,183,326,294,268,94,283,332,178,90,309,491,222,254,227]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.05  % Problem  : CSR012+1 : TPTP v9.3.1. Bugfixed v3.1.0.
% 0.00/0.12  % Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 0.24/0.49  % Computer : n017.cluster.edu
% 0.24/0.49  % Model    : x86_64 x86_64
% 0.24/0.49  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.24/0.49  % Memory   : 8046.5625MB
% 0.24/0.49  % OS       : Linux 6.8.0-71-generic
% 0.24/0.49  % CPULimit : 300
% 0.24/0.49  % WCLimit  : 300
% 0.24/0.49  % DateTime : Sat Sep 26 23:51:21 UTC 2026
% 0.24/0.50  % CPUTime  : 
% 0.24/0.50  Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 0.95/1.03  % [INFO] 	 Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ... 
% 1.58/1.24  % [INFO] 	 Parsing done (217ms). 
% 1.58/1.26  % [INFO] 	 Running in sequential loop mode. 
% 2.97/1.70  % [INFO] 	 eprover registered as external prover. 
% 2.97/1.71  % [INFO] 	 Scanning for conjecture ... 
% 3.16/1.87  % [INFO] 	 Found a conjecture (or negated_conjecture) and 54 axioms. Running axiom selection ... 
% 3.35/2.01  % [INFO] 	 Axiom selection finished. Selected 54 axioms (removed 0 axioms). 
% 3.92/2.17  % [INFO] 	 Problem is first-order (TPTP FOF). 
% 3.92/2.19  % [INFO] 	 Type checking passed. 
% 3.92/2.19  % [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 ... 
% 14.86/4.72  % External prover 'e' found a proof!
% 14.86/4.72  % [INFO] 	 Killing All external provers ... 
% 14.86/4.73  % Time passed: 4062ms (effective reasoning time: 3467ms)
% 14.86/4.73  % 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)>
% 14.86/4.73  % Axioms used in derivation (54): keep_not_holding, same_waterLevel, plus1_1, stoppedin_defn, happens_all_defn, plus3_3, happens_holds, 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
% 14.86/4.73  % No. of inferences in proof: 183
% 14.86/4.73  % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 4062 ms resp. 3467 ms w/o parsing
% 14.36/4.94  % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 14.36/4.94  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------