↑ 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  : CSR008+1 : 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 : n002.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 9.46s 3.07s
% Output   : Refutation 9.54s
% 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(n2_decl,type,
    n2: $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(tapOff_decl,type,
    tapOff: $i ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

thf(19,axiom,
    ! [A: $i] :
      ( ( n6 @ ( A @ less ) )
    <=> ( n5 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/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)],[19]) ).

thf(26,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(174,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)],[26]) ).

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

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

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

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

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

thf(4,axiom,
    ! [A: $i] :
      ( ( n8 @ ( A @ less ) )
    <=> ( n7 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/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(53,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(314,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)],[53]) ).

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

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

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(138,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(40,axiom,
    ~ ( n0 @ ( filling @ holdsAt ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_filling_0) ).

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

thf(24,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(170,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)],[24]) ).

thf(51,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(308,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)],[51]) ).

thf(45,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(247,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)],[45]) ).

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

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

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

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

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

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

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

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

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

thf(54,axiom,
    ( ( n1 @ ( n1 @ plus ) )
    = n2 ),
    file('/export/starexec/sandbox/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(1,conjecture,
    n2 @ ( n2 @ waterLevel @ holdsAt ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',waterLevel_2) ).

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

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

thf(35,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(216,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)],[35]) ).

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

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

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

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(106,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(42,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(238,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)],[42]) ).

thf(18,axiom,
    ! [A: $i] :
      ( ( n9 @ ( A @ less ) )
    <=> ( n8 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/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)],[18]) ).

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

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

thf(3,axiom,
    ! [A: $i] :
      ( ( n5 @ ( A @ less ) )
    <=> ( n4 @ ( A @ less_or_equal ) ) ),
    file('/export/starexec/sandbox/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(36,axiom,
    ( ( n3 @ ( n2 @ plus ) )
    = n5 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus2_3) ).

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

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

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

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

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

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

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

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

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

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

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

thf(292,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)],[291]) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

thf(55,axiom,
    ! [A: $i] :
      ( spilling
     != ( A @ waterLevel ) ),
    file('/export/starexec/sandbox/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(49,axiom,
    n0 @ ( n0 @ waterLevel @ holdsAt ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',waterLevel_0) ).

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

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

thf(482,plain,
    ( ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
     != ( n0 @ ( filling @ holdsAt ) ) )
    | ~ $true ),
    inference(paramod_ordered,[status(thm)],[290,235]) ).

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

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

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

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

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

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

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

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

thf(117,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)],[116]) ).

thf(118,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)],[117]) ).

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

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

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

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

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

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

thf(73,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(41,axiom,
    ( ( n2 @ ( n0 @ plus ) )
    = n2 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',plus0_2) ).

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

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

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

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

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

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

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

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

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

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

thf(98,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(248,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)],[247]) ).

thf(249,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 @ sk13 ) ) @ waterLevel ) )
        | ~ ( B @ ( A @ ( C @ sk11 ) ) )
        | ~ ( B @ ( A @ ( C @ sk10 ) ) )
        | ~ ( C @ ( B @ ( A @ sk9 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( A = overflow )
        | ~ ( B @ ( A @ ( C @ sk11 ) ) )
        | ~ ( B @ ( A @ ( C @ sk10 ) ) )
        | ~ ( C @ ( B @ ( A @ sk9 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( A @ ( B @ ( C @ sk13 ) ) @ waterLevel @ holdsAt ) )
        | ~ ( B @ ( A @ ( C @ sk11 ) ) )
        | ~ ( B @ ( A @ ( C @ sk10 ) ) )
        | ~ ( C @ ( B @ ( A @ sk9 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk11 ) ) )
        | ( B
          = ( A @ ( B @ ( C @ sk12 ) ) @ waterLevel ) )
        | ~ ( B @ ( A @ ( C @ sk10 ) ) )
        | ~ ( C @ ( B @ ( A @ sk9 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk11 ) ) )
        | ( A = tapOff )
        | ~ ( B @ ( A @ ( C @ sk10 ) ) )
        | ~ ( C @ ( B @ ( A @ sk9 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk11 ) ) )
        | ( C @ ( A @ ( B @ ( C @ sk12 ) ) @ waterLevel @ holdsAt ) )
        | ~ ( B @ ( A @ ( C @ sk10 ) ) )
        | ~ ( C @ ( B @ ( A @ sk9 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk10 ) ) )
        | ( B = spilling )
        | ~ ( C @ ( B @ ( A @ sk9 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( B @ ( A @ ( C @ sk10 ) ) )
        | ( A = overflow )
        | ~ ( C @ ( B @ ( A @ sk9 ) ) )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( B @ ( A @ sk9 ) ) )
        | ( B = filling )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) )
      & ( ( C @ ( B @ ( A @ sk9 ) ) )
        | ( A = tapOn )
        | ~ ( C @ ( B @ ( A @ initiates ) ) ) ) ),
    inference(cnf,[status(esa)],[248]) ).

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

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

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

thf(56,axiom,
    ! [A: $i] :
      ~ ( n0 @ ( A @ waterLevel @ releasedAt ) ),
    file('/export/starexec/sandbox/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(135,plain,
    ( ( n1 @ ( n0 @ plus ) )
    = n1 ),
    inference(lifteq,[status(thm)],[134]) ).

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

thf(226,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)],[38]) ).

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

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

thf(478,plain,
    ( ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
     != ( n2 @ ( n2 @ waterLevel @ holdsAt ) ) )
    | ~ $true ),
    inference(paramod_ordered,[status(thm)],[290,57]) ).

thf(479,plain,
    ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
   != ( n2 @ ( n2 @ waterLevel @ holdsAt ) ) ),
    inference(simp,[status(thm)],[478]) ).

thf(484,plain,
    ( ( n0 != n2 )
    | ( ( n0 @ waterLevel )
     != ( n2 @ waterLevel ) ) ),
    inference(simp,[status(thm)],[479]) ).

thf(489,plain,
    ( ( n0 != n2 )
    | ( n0 != n2 ) ),
    inference(simp,[status(thm)],[484]) ).

thf(490,plain,
    n0 != n2,
    inference(simp,[status(thm)],[489]) ).

thf(480,plain,
    ( ( ( n0 @ ( n0 @ waterLevel @ holdsAt ) )
     != ( n0 @ ( spilling @ holdsAt ) ) )
    | ~ $true ),
    inference(paramod_ordered,[status(thm)],[290,233]) ).

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

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

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

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

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

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

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(121,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ( C @ ( B @ ( A @ terminates ) ) )
      | ( B != filling )
      | ( A != overflow ) ),
    inference(cnfConj,[status(thm)],[118]) ).

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

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

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

thf(27,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(183,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)],[27]) ).

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(79,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(194,plain,
    overflow != tapOn,
    inference(polarity_switch,[status(thm)],[193]) ).

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

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

thf(83,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(37,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(222,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)],[37]) ).

thf(925,plain,
    $false,
    inference(e,[status(thm)],[153,174,196,169,64,314,104,138,234,170,308,247,202,189,93,284,325,57,216,164,106,238,147,280,61,221,312,116,243,307,233,220,70,192,137,165,324,97,329,488,193,96,173,129,134,73,237,105,244,291,281,204,313,236,159,187,172,98,271,240,330,135,226,167,490,487,63,282,95,67,127,235,214,290,58,168,190,183,326,136,79,195,332,163,83,222,232]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem  : CSR008+1 : TPTP v9.3.1. Bugfixed v3.1.0.
% 0.00/0.08  % 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.12/0.40  % Computer : n002.cluster.edu
% 0.12/0.40  % Model    : x86_64 x86_64
% 0.12/0.40  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.40  % Memory   : 8046.5625MB
% 0.12/0.40  % OS       : Linux 6.8.0-71-generic
% 0.12/0.40  % CPULimit : 300
% 0.12/0.40  % WCLimit  : 300
% 0.12/0.40  % DateTime : Sat Sep 26 23:58:08 UTC 2026
% 0.12/0.40  % CPUTime  : 
% 0.12/0.40  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.71/0.70  % [INFO] 	 Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ... 
% 0.95/0.83  % [INFO] 	 Parsing done (129ms). 
% 0.95/0.84  % [INFO] 	 Running in sequential loop mode. 
% 1.67/1.04  % [INFO] 	 eprover registered as external prover. 
% 1.67/1.04  % [INFO] 	 Scanning for conjecture ... 
% 1.67/1.12  % [INFO] 	 Found a conjecture (or negated_conjecture) and 54 axioms. Running axiom selection ... 
% 2.02/1.21  % [INFO] 	 Axiom selection finished. Selected 54 axioms (removed 0 axioms). 
% 2.26/1.32  % [INFO] 	 Problem is first-order (TPTP FOF). 
% 2.26/1.33  % [INFO] 	 Type checking passed. 
% 2.26/1.33  % [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 ... 
% 9.46/3.07  % External prover 'e' found a proof!
% 9.46/3.07  % [INFO] 	 Killing All external provers ... 
% 9.46/3.07  % Time passed: 2580ms (effective reasoning time: 2228ms)
% 9.46/3.07  % 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)>
% 9.46/3.07  % 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
% 9.46/3.07  % No. of inferences in proof: 183
% 9.46/3.07  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 2580 ms resp. 2228 ms w/o parsing
% 9.54/3.20  % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 9.54/3.21  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------