TSTP Solution File: CSR004+2 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : CSR004+2 : TPTP v8.1.0. Bugfixed v3.1.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n023.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8042.1875MB
% OS       : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Tue Sep 20 14:26:59 EDT 2022

% Result   : Theorem 0.21s 0.41s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   31
% Syntax   : Number of formulae    :   54 (  14 unt;  10 typ;   0 def)
%            Number of atoms       :  309 ( 133 equ)
%            Maximal formula atoms :   23 (   7 avg)
%            Number of connectives :  495 ( 234   ~; 146   |;  51   &)
%                                         (  64 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   5 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number of FOOLs       :    4 (   4 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :    7 (   4   >;   3   *;   0   +;   0  <<)
%            Number of predicates  :    6 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :    8 (   8 usr;   6 con; 0-2 aty)
%            Number of variables   :   58 (  50   !;   0   ?;  58   :)

% Comments : 
%------------------------------------------------------------------------------
tff(holdsAt_type,type,
    holdsAt: ( $i * $i ) > $o ).

tff(plus_type,type,
    plus: ( $i * $i ) > $i ).

tff(n1_type,type,
    n1: $i ).

tff(filling_type,type,
    filling: $i ).

tff(waterLevel_type,type,
    waterLevel: $i > $i ).

tff(n0_type,type,
    n0: $i ).

tff(tapOn_type,type,
    tapOn: $i ).

tff(overflow_type,type,
    overflow: $i ).

tff(happens_type,type,
    happens: ( $i * $i ) > $o ).

tff(n3_type,type,
    n3: $i ).

tff(1,plain,
    ( holdsAt(filling,n3)
  <=> holdsAt(filling,plus(n1,plus(n1,n1))) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,plain,
    ( holdsAt(filling,n3)
  <=> holdsAt(filling,n3) ),
    inference(rewrite,[status(thm)],]) ).

tff(3,axiom,
    holdsAt(filling,n3),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',filling_3) ).

tff(4,plain,
    holdsAt(filling,n3),
    inference(modus_ponens,[status(thm)],[3,2]) ).

tff(5,plain,
    holdsAt(filling,plus(n1,plus(n1,n1))),
    inference(modus_ponens,[status(thm)],[4,1]) ).

tff(6,plain,
    ( holdsAt(waterLevel(n3),n3)
  <=> holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1))) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,plain,
    ( holdsAt(waterLevel(n3),n3)
  <=> holdsAt(waterLevel(n3),n3) ),
    inference(rewrite,[status(thm)],]) ).

tff(8,axiom,
    holdsAt(waterLevel(n3),n3),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',waterLevel_3) ).

tff(9,plain,
    holdsAt(waterLevel(n3),n3),
    inference(modus_ponens,[status(thm)],[8,7]) ).

tff(10,plain,
    holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1))),
    inference(modus_ponens,[status(thm)],[9,6]) ).

tff(11,plain,
    ( ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
        | ~ holdsAt(filling,plus(n1,plus(n1,n1))) )
    | ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
    | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ),
    inference(tautology,[status(thm)],]) ).

tff(12,plain,
    ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
      | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ),
    inference(unit_resolution,[status(thm)],[11,10,5]) ).

tff(13,plain,
    ( ~ ( ( overflow != tapOn )
        | ( plus(n1,plus(n1,n1)) != n0 ) )
    | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
        | ~ holdsAt(filling,plus(n1,plus(n1,n1))) )
    | ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
    | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ),
    inference(tautology,[status(thm)],]) ).

tff(14,plain,
    ( ~ ( ( overflow != tapOn )
        | ( plus(n1,plus(n1,n1)) != n0 ) )
    | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
        | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ),
    inference(unit_resolution,[status(thm)],[13,12]) ).

tff(15,plain,
    ( ~ happens(overflow,n3)
  <=> ~ happens(overflow,plus(n1,plus(n1,n1))) ),
    inference(rewrite,[status(thm)],]) ).

tff(16,plain,
    ( ~ happens(overflow,n3)
  <=> ~ happens(overflow,n3) ),
    inference(rewrite,[status(thm)],]) ).

tff(17,axiom,
    ~ happens(overflow,n3),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',overflow_3) ).

tff(18,plain,
    ~ happens(overflow,n3),
    inference(modus_ponens,[status(thm)],[17,16]) ).

tff(19,plain,
    ~ happens(overflow,plus(n1,plus(n1,n1))),
    inference(modus_ponens,[status(thm)],[18,15]) ).

tff(20,plain,
    ( ~ ( happens(overflow,plus(n1,plus(n1,n1)))
      <=> ( ~ ( ( overflow != tapOn )
              | ( plus(n1,plus(n1,n1)) != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
              | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) )
    | happens(overflow,plus(n1,plus(n1,n1)))
    | ~ ( ~ ( ( overflow != tapOn )
            | ( plus(n1,plus(n1,n1)) != n0 ) )
        | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
            | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(21,plain,
    ~ ( happens(overflow,plus(n1,plus(n1,n1)))
    <=> ( ~ ( ( overflow != tapOn )
            | ( plus(n1,plus(n1,n1)) != n0 ) )
        | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
            | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) ),
    inference(unit_resolution,[status(thm)],[20,19,14]) ).

tff(22,plain,
    ^ [Event: $i,Time: $i] :
      refl(
        ( ( happens(Event,Time)
        <=> ( ~ ( ( Event != tapOn )
                | ( Time != n0 ) )
            | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                | ~ holdsAt(filling,Time)
                | ( Event != overflow ) ) ) )
      <=> ( happens(Event,Time)
        <=> ( ~ ( ( Event != tapOn )
                | ( Time != n0 ) )
            | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                | ~ holdsAt(filling,Time)
                | ( Event != overflow ) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(23,plain,
    ( ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ~ ( ( Event != tapOn )
              | ( Time != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
              | ~ holdsAt(filling,Time)
              | ( Event != overflow ) ) ) )
  <=> ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ~ ( ( Event != tapOn )
              | ( Time != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
              | ~ holdsAt(filling,Time)
              | ( Event != overflow ) ) ) ) ),
    inference(quant_intro,[status(thm)],[22]) ).

tff(24,plain,
    ^ [Event: $i,Time: $i] :
      rewrite(
        ( ( happens(Event,Time)
        <=> ( ( ( Event = tapOn )
              & ( Time = n0 ) )
            | ( holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
              & holdsAt(filling,Time)
              & ( Event = overflow ) ) ) )
      <=> ( happens(Event,Time)
        <=> ( ~ ( ( Event != tapOn )
                | ( Time != n0 ) )
            | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                | ~ holdsAt(filling,Time)
                | ( Event != overflow ) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(25,plain,
    ( ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ( ( Event = tapOn )
            & ( Time = n0 ) )
          | ( holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
            & holdsAt(filling,Time)
            & ( Event = overflow ) ) ) )
  <=> ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ~ ( ( Event != tapOn )
              | ( Time != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
              | ~ holdsAt(filling,Time)
              | ( Event != overflow ) ) ) ) ),
    inference(quant_intro,[status(thm)],[24]) ).

tff(26,plain,
    ^ [Event: $i,Time: $i] :
      rewrite(
        ( ( happens(Event,Time)
        <=> ( ( ( Event = tapOn )
              & ( Time = n0 ) )
            | ( holdsAt(waterLevel(n3),Time)
              & holdsAt(filling,Time)
              & ( Event = overflow ) ) ) )
      <=> ( happens(Event,Time)
        <=> ( ( ( Event = tapOn )
              & ( Time = n0 ) )
            | ( holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
              & holdsAt(filling,Time)
              & ( Event = overflow ) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(27,plain,
    ( ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ( ( Event = tapOn )
            & ( Time = n0 ) )
          | ( holdsAt(waterLevel(n3),Time)
            & holdsAt(filling,Time)
            & ( Event = overflow ) ) ) )
  <=> ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ( ( Event = tapOn )
            & ( Time = n0 ) )
          | ( holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
            & holdsAt(filling,Time)
            & ( Event = overflow ) ) ) ) ),
    inference(quant_intro,[status(thm)],[26]) ).

tff(28,plain,
    ( ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ( ( Event = tapOn )
            & ( Time = n0 ) )
          | ( holdsAt(waterLevel(n3),Time)
            & holdsAt(filling,Time)
            & ( Event = overflow ) ) ) )
  <=> ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ( ( Event = tapOn )
            & ( Time = n0 ) )
          | ( holdsAt(waterLevel(n3),Time)
            & holdsAt(filling,Time)
            & ( Event = overflow ) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(29,plain,
    ^ [Event: $i,Time: $i] :
      rewrite(
        ( ( happens(Event,Time)
        <=> ( ( ( Event = tapOn )
              & ( Time = n0 ) )
            | ( holdsAt(waterLevel(n3),Time)
              & holdsAt(filling,Time)
              & ( Event = overflow ) ) ) )
      <=> ( happens(Event,Time)
        <=> ( ( ( Event = tapOn )
              & ( Time = n0 ) )
            | ( holdsAt(waterLevel(n3),Time)
              & holdsAt(filling,Time)
              & ( Event = overflow ) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(30,plain,
    ( ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ( ( Event = tapOn )
            & ( Time = n0 ) )
          | ( holdsAt(waterLevel(n3),Time)
            & holdsAt(filling,Time)
            & ( Event = overflow ) ) ) )
  <=> ! [Event: $i,Time: $i] :
        ( happens(Event,Time)
      <=> ( ( ( Event = tapOn )
            & ( Time = n0 ) )
          | ( holdsAt(waterLevel(n3),Time)
            & holdsAt(filling,Time)
            & ( Event = overflow ) ) ) ) ),
    inference(quant_intro,[status(thm)],[29]) ).

tff(31,axiom,
    ! [Event: $i,Time: $i] :
      ( happens(Event,Time)
    <=> ( ( ( Event = tapOn )
          & ( Time = n0 ) )
        | ( holdsAt(waterLevel(n3),Time)
          & holdsAt(filling,Time)
          & ( Event = overflow ) ) ) ),
    file('/export/starexec/sandbox2/benchmark/Axioms/CSR001+1.ax',happens_all_defn) ).

tff(32,plain,
    ! [Event: $i,Time: $i] :
      ( happens(Event,Time)
    <=> ( ( ( Event = tapOn )
          & ( Time = n0 ) )
        | ( holdsAt(waterLevel(n3),Time)
          & holdsAt(filling,Time)
          & ( Event = overflow ) ) ) ),
    inference(modus_ponens,[status(thm)],[31,30]) ).

tff(33,plain,
    ! [Event: $i,Time: $i] :
      ( happens(Event,Time)
    <=> ( ( ( Event = tapOn )
          & ( Time = n0 ) )
        | ( holdsAt(waterLevel(n3),Time)
          & holdsAt(filling,Time)
          & ( Event = overflow ) ) ) ),
    inference(modus_ponens,[status(thm)],[32,28]) ).

tff(34,plain,
    ! [Event: $i,Time: $i] :
      ( happens(Event,Time)
    <=> ( ( ( Event = tapOn )
          & ( Time = n0 ) )
        | ( holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
          & holdsAt(filling,Time)
          & ( Event = overflow ) ) ) ),
    inference(modus_ponens,[status(thm)],[33,27]) ).

tff(35,plain,
    ! [Event: $i,Time: $i] :
      ( happens(Event,Time)
    <=> ( ( ( Event = tapOn )
          & ( Time = n0 ) )
        | ( holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
          & holdsAt(filling,Time)
          & ( Event = overflow ) ) ) ),
    inference(skolemize,[status(sab)],[34]) ).

tff(36,plain,
    ! [Event: $i,Time: $i] :
      ( happens(Event,Time)
    <=> ( ~ ( ( Event != tapOn )
            | ( Time != n0 ) )
        | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
            | ~ holdsAt(filling,Time)
            | ( Event != overflow ) ) ) ),
    inference(modus_ponens,[status(thm)],[35,25]) ).

tff(37,plain,
    ! [Event: $i,Time: $i] :
      ( happens(Event,Time)
    <=> ( ~ ( ( Event != tapOn )
            | ( Time != n0 ) )
        | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
            | ~ holdsAt(filling,Time)
            | ( Event != overflow ) ) ) ),
    inference(modus_ponens,[status(thm)],[36,23]) ).

tff(38,plain,
    ( ( ~ ! [Event: $i,Time: $i] :
            ( happens(Event,Time)
          <=> ( ~ ( ( Event != tapOn )
                  | ( Time != n0 ) )
              | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                  | ~ holdsAt(filling,Time)
                  | ( Event != overflow ) ) ) )
      | ( happens(overflow,plus(n1,plus(n1,n1)))
      <=> ( ~ ( ( overflow != tapOn )
              | ( plus(n1,plus(n1,n1)) != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
              | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) ) )
  <=> ( ~ ! [Event: $i,Time: $i] :
            ( happens(Event,Time)
          <=> ( ~ ( ( Event != tapOn )
                  | ( Time != n0 ) )
              | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                  | ~ holdsAt(filling,Time)
                  | ( Event != overflow ) ) ) )
      | ( happens(overflow,plus(n1,plus(n1,n1)))
      <=> ( ~ ( ( overflow != tapOn )
              | ( plus(n1,plus(n1,n1)) != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
              | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(39,plain,
    ( ( happens(overflow,plus(n1,plus(n1,n1)))
    <=> ( ~ ( ( overflow != tapOn )
            | ( plus(n1,plus(n1,n1)) != n0 ) )
        | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
            | ~ holdsAt(filling,plus(n1,plus(n1,n1)))
            | ( overflow != overflow ) ) ) )
  <=> ( happens(overflow,plus(n1,plus(n1,n1)))
    <=> ( ~ ( ( overflow != tapOn )
            | ( plus(n1,plus(n1,n1)) != n0 ) )
        | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
            | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(40,plain,
    ( ( ~ ! [Event: $i,Time: $i] :
            ( happens(Event,Time)
          <=> ( ~ ( ( Event != tapOn )
                  | ( Time != n0 ) )
              | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                  | ~ holdsAt(filling,Time)
                  | ( Event != overflow ) ) ) )
      | ( happens(overflow,plus(n1,plus(n1,n1)))
      <=> ( ~ ( ( overflow != tapOn )
              | ( plus(n1,plus(n1,n1)) != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
              | ~ holdsAt(filling,plus(n1,plus(n1,n1)))
              | ( overflow != overflow ) ) ) ) )
  <=> ( ~ ! [Event: $i,Time: $i] :
            ( happens(Event,Time)
          <=> ( ~ ( ( Event != tapOn )
                  | ( Time != n0 ) )
              | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                  | ~ holdsAt(filling,Time)
                  | ( Event != overflow ) ) ) )
      | ( happens(overflow,plus(n1,plus(n1,n1)))
      <=> ( ~ ( ( overflow != tapOn )
              | ( plus(n1,plus(n1,n1)) != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
              | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) ) ) ),
    inference(monotonicity,[status(thm)],[39]) ).

tff(41,plain,
    ( ( ~ ! [Event: $i,Time: $i] :
            ( happens(Event,Time)
          <=> ( ~ ( ( Event != tapOn )
                  | ( Time != n0 ) )
              | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                  | ~ holdsAt(filling,Time)
                  | ( Event != overflow ) ) ) )
      | ( happens(overflow,plus(n1,plus(n1,n1)))
      <=> ( ~ ( ( overflow != tapOn )
              | ( plus(n1,plus(n1,n1)) != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
              | ~ holdsAt(filling,plus(n1,plus(n1,n1)))
              | ( overflow != overflow ) ) ) ) )
  <=> ( ~ ! [Event: $i,Time: $i] :
            ( happens(Event,Time)
          <=> ( ~ ( ( Event != tapOn )
                  | ( Time != n0 ) )
              | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                  | ~ holdsAt(filling,Time)
                  | ( Event != overflow ) ) ) )
      | ( happens(overflow,plus(n1,plus(n1,n1)))
      <=> ( ~ ( ( overflow != tapOn )
              | ( plus(n1,plus(n1,n1)) != n0 ) )
          | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
              | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) ) ) ),
    inference(transitivity,[status(thm)],[40,38]) ).

tff(42,plain,
    ( ~ ! [Event: $i,Time: $i] :
          ( happens(Event,Time)
        <=> ( ~ ( ( Event != tapOn )
                | ( Time != n0 ) )
            | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                | ~ holdsAt(filling,Time)
                | ( Event != overflow ) ) ) )
    | ( happens(overflow,plus(n1,plus(n1,n1)))
    <=> ( ~ ( ( overflow != tapOn )
            | ( plus(n1,plus(n1,n1)) != n0 ) )
        | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
            | ~ holdsAt(filling,plus(n1,plus(n1,n1)))
            | ( overflow != overflow ) ) ) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(43,plain,
    ( ~ ! [Event: $i,Time: $i] :
          ( happens(Event,Time)
        <=> ( ~ ( ( Event != tapOn )
                | ( Time != n0 ) )
            | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),Time)
                | ~ holdsAt(filling,Time)
                | ( Event != overflow ) ) ) )
    | ( happens(overflow,plus(n1,plus(n1,n1)))
    <=> ( ~ ( ( overflow != tapOn )
            | ( plus(n1,plus(n1,n1)) != n0 ) )
        | ~ ( ~ holdsAt(waterLevel(plus(n1,plus(n1,n1))),plus(n1,plus(n1,n1)))
            | ~ holdsAt(filling,plus(n1,plus(n1,n1))) ) ) ) ),
    inference(modus_ponens,[status(thm)],[42,41]) ).

tff(44,plain,
    $false,
    inference(unit_resolution,[status(thm)],[43,37,21]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.12  % Problem  : CSR004+2 : TPTP v8.1.0. Bugfixed v3.1.0.
% 0.06/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.14/0.34  % Computer : n023.cluster.edu
% 0.14/0.34  % Model    : x86_64 x86_64
% 0.14/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.34  % Memory   : 8042.1875MB
% 0.14/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.14/0.34  % CPULimit : 300
% 0.14/0.34  % WCLimit  : 300
% 0.14/0.34  % DateTime : Tue Aug 30 16:22:20 EDT 2022
% 0.14/0.34  % CPUTime  : 
% 0.14/0.34  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.14/0.34  Usage: tptp [options] [-file:]file
% 0.14/0.34    -h, -?       prints this message.
% 0.14/0.34    -smt2        print SMT-LIB2 benchmark.
% 0.14/0.34    -m, -model   generate model.
% 0.14/0.34    -p, -proof   generate proof.
% 0.14/0.34    -c, -core    generate unsat core of named formulas.
% 0.14/0.34    -st, -statistics display statistics.
% 0.14/0.34    -t:timeout   set timeout (in second).
% 0.14/0.34    -smt2status  display status in smt2 format instead of SZS.
% 0.14/0.34    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.14/0.34    -<param>:<value> configuration parameter and value.
% 0.14/0.34    -o:<output-file> file to place output in.
% 0.21/0.41  % SZS status Theorem
% 0.21/0.41  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------