TSTP Solution File: HWV019-1 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : HWV019-1 : TPTP v8.1.0. Released v2.5.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n003.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 : Sat Sep 17 02:10:38 EDT 2022

% Result   : Unsatisfiable 0.19s 0.42s
% Output   : Proof 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    9
%            Number of leaves      :   38
% Syntax   : Number of formulae    :   74 (  21 unt;  11 typ;   0 def)
%            Number of atoms       :  433 (  13 equ)
%            Maximal formula atoms :   20 (   6 avg)
%            Number of connectives :  613 ( 266   ~; 309   |;   0   &)
%                                         (  38 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   5 avg)
%            Maximal term depth    :    2 (   1 avg)
%            Number of FOOLs       :   23 (  23 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   10 (   8   >;   2   *;   0   +;   0  <<)
%            Number of predicates  :   11 (   9 usr;   1 prp; 0-3 aty)
%            Number of functors    :    6 (   6 usr;   3 con; 0-2 aty)
%            Number of variables   :   52 (  47   !;   0   ?;  52   :)

% Comments : 
%------------------------------------------------------------------------------
tff(gt_type,type,
    gt: ( $i * $i ) > $o ).

tff(level_type,type,
    level: $i > $i ).

tff(t_139_type,type,
    t_139: $i ).

tff(fifo_length_type,type,
    fifo_length: $i ).

tff(int_level_type,type,
    int_level: $i > $i ).

tff(p_Rd_type,type,
    p_Rd: $i > $o ).

tff(p_Reset_type,type,
    p_Reset: $i > $o ).

tff(p_Wr_type,type,
    p_Wr: $i > $o ).

tff(p_Wr_error_type,type,
    p_Wr_error: $i > $o ).

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

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

tff(1,plain,
    ^ [X_t_32: $i] :
      refl(
        ( ( level(X_t_32) = int_level(X_t_32) )
      <=> ( level(X_t_32) = int_level(X_t_32) ) )),
    inference(bind,[status(th)],]) ).

tff(2,plain,
    ( ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) )
  <=> ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) ) ),
    inference(quant_intro,[status(thm)],[1]) ).

tff(3,plain,
    ( ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) )
  <=> ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(4,axiom,
    ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV003-0.ax',axiom_21) ).

tff(5,plain,
    ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) ),
    inference(modus_ponens,[status(thm)],[4,3]) ).

tff(6,plain,
    ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) ),
    inference(skolemize,[status(sab)],[5]) ).

tff(7,plain,
    ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) ),
    inference(modus_ponens,[status(thm)],[6,2]) ).

tff(8,plain,
    ( ~ ! [X_t_32: $i] : ( level(X_t_32) = int_level(X_t_32) )
    | ( level(t_139) = int_level(t_139) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(9,plain,
    level(t_139) = int_level(t_139),
    inference(unit_resolution,[status(thm)],[8,7]) ).

tff(10,plain,
    ( gt(fifo_length,level(t_139))
  <=> gt(fifo_length,int_level(t_139)) ),
    inference(monotonicity,[status(thm)],[9]) ).

tff(11,plain,
    ( gt(fifo_length,int_level(t_139))
  <=> gt(fifo_length,level(t_139)) ),
    inference(symmetry,[status(thm)],[10]) ).

tff(12,plain,
    ( ~ gt(fifo_length,int_level(t_139))
  <=> ~ gt(fifo_length,level(t_139)) ),
    inference(monotonicity,[status(thm)],[11]) ).

tff(13,plain,
    ( ~ p_Reset(t_139)
  <=> ~ p_Reset(t_139) ),
    inference(rewrite,[status(thm)],]) ).

tff(14,axiom,
    ~ p_Reset(t_139),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',quest_3) ).

tff(15,plain,
    ~ p_Reset(t_139),
    inference(modus_ponens,[status(thm)],[14,13]) ).

tff(16,plain,
    ( p_Wr(t_139)
  <=> p_Wr(t_139) ),
    inference(rewrite,[status(thm)],]) ).

tff(17,axiom,
    p_Wr(t_139),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',quest_2) ).

tff(18,plain,
    p_Wr(t_139),
    inference(modus_ponens,[status(thm)],[17,16]) ).

tff(19,plain,
    ( p_Wr_error(plus(t_139,n1))
  <=> p_Wr_error(plus(t_139,n1)) ),
    inference(rewrite,[status(thm)],]) ).

tff(20,axiom,
    p_Wr_error(plus(t_139,n1)),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',quest_1) ).

tff(21,plain,
    p_Wr_error(plus(t_139,n1)),
    inference(modus_ponens,[status(thm)],[20,19]) ).

tff(22,plain,
    ^ [X_t_42: $i] :
      refl(
        ( ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | ~ p_Rd(X_t_42)
          | ~ p_Wr(X_t_42) )
      <=> ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | ~ p_Rd(X_t_42)
          | ~ p_Wr(X_t_42) ) )),
    inference(bind,[status(th)],]) ).

tff(23,plain,
    ( ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | ~ p_Rd(X_t_42)
        | ~ p_Wr(X_t_42) )
  <=> ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | ~ p_Rd(X_t_42)
        | ~ p_Wr(X_t_42) ) ),
    inference(quant_intro,[status(thm)],[22]) ).

tff(24,plain,
    ( ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | ~ p_Rd(X_t_42)
        | ~ p_Wr(X_t_42) )
  <=> ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | ~ p_Rd(X_t_42)
        | ~ p_Wr(X_t_42) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(25,plain,
    ^ [X_t_42: $i] :
      trans(
        monotonicity(
          rewrite(
            ( ( p_Reset(X_t_42)
              | ~ p_Wr(X_t_42)
              | ~ p_Rd(X_t_42) )
          <=> ( p_Reset(X_t_42)
              | ~ p_Rd(X_t_42)
              | ~ p_Wr(X_t_42) ) )),
          ( ( p_Reset(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ p_Rd(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1)) )
        <=> ( p_Reset(X_t_42)
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1)) ) )),
        rewrite(
          ( ( p_Reset(X_t_42)
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1)) )
        <=> ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42) ) )),
        ( ( p_Reset(X_t_42)
          | ~ p_Wr(X_t_42)
          | ~ p_Rd(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1)) )
      <=> ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | ~ p_Rd(X_t_42)
          | ~ p_Wr(X_t_42) ) )),
    inference(bind,[status(th)],]) ).

tff(26,plain,
    ( ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr(X_t_42)
        | ~ p_Rd(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1)) )
  <=> ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | ~ p_Rd(X_t_42)
        | ~ p_Wr(X_t_42) ) ),
    inference(quant_intro,[status(thm)],[25]) ).

tff(27,axiom,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr(X_t_42)
      | ~ p_Rd(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV003-0.ax',axiom_51) ).

tff(28,plain,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1))
      | ~ p_Rd(X_t_42)
      | ~ p_Wr(X_t_42) ),
    inference(modus_ponens,[status(thm)],[27,26]) ).

tff(29,plain,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1))
      | ~ p_Rd(X_t_42)
      | ~ p_Wr(X_t_42) ),
    inference(modus_ponens,[status(thm)],[28,24]) ).

tff(30,plain,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1))
      | ~ p_Rd(X_t_42)
      | ~ p_Wr(X_t_42) ),
    inference(skolemize,[status(sab)],[29]) ).

tff(31,plain,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1))
      | ~ p_Rd(X_t_42)
      | ~ p_Wr(X_t_42) ),
    inference(modus_ponens,[status(thm)],[30,23]) ).

tff(32,plain,
    ( ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42) )
      | p_Reset(t_139)
      | ~ p_Rd(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1)) )
  <=> ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42) )
      | p_Reset(t_139)
      | ~ p_Rd(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(33,plain,
    ( ( p_Reset(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | ~ p_Rd(t_139)
      | ~ p_Wr(t_139) )
  <=> ( p_Reset(t_139)
      | ~ p_Rd(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(34,plain,
    ( ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42) )
      | p_Reset(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | ~ p_Rd(t_139)
      | ~ p_Wr(t_139) )
  <=> ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42) )
      | p_Reset(t_139)
      | ~ p_Rd(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1)) ) ),
    inference(monotonicity,[status(thm)],[33]) ).

tff(35,plain,
    ( ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42) )
      | p_Reset(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | ~ p_Rd(t_139)
      | ~ p_Wr(t_139) )
  <=> ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | ~ p_Rd(X_t_42)
            | ~ p_Wr(X_t_42) )
      | p_Reset(t_139)
      | ~ p_Rd(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1)) ) ),
    inference(transitivity,[status(thm)],[34,32]) ).

tff(36,plain,
    ( ~ ! [X_t_42: $i] :
          ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | ~ p_Rd(X_t_42)
          | ~ p_Wr(X_t_42) )
    | p_Reset(t_139)
    | ~ p_Wr_error(plus(t_139,n1))
    | ~ p_Rd(t_139)
    | ~ p_Wr(t_139) ),
    inference(quant_inst,[status(thm)],]) ).

tff(37,plain,
    ( ~ ! [X_t_42: $i] :
          ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | ~ p_Rd(X_t_42)
          | ~ p_Wr(X_t_42) )
    | p_Reset(t_139)
    | ~ p_Rd(t_139)
    | ~ p_Wr(t_139)
    | ~ p_Wr_error(plus(t_139,n1)) ),
    inference(modus_ponens,[status(thm)],[36,35]) ).

tff(38,plain,
    ~ p_Rd(t_139),
    inference(unit_resolution,[status(thm)],[37,31,21,18,15]) ).

tff(39,plain,
    ^ [X_t_42: $i] :
      refl(
        ( ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | p_Rd(X_t_42)
          | ~ p_Wr(X_t_42)
          | ~ gt(fifo_length,int_level(X_t_42)) )
      <=> ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | p_Rd(X_t_42)
          | ~ p_Wr(X_t_42)
          | ~ gt(fifo_length,int_level(X_t_42)) ) )),
    inference(bind,[status(th)],]) ).

tff(40,plain,
    ( ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | p_Rd(X_t_42)
        | ~ p_Wr(X_t_42)
        | ~ gt(fifo_length,int_level(X_t_42)) )
  <=> ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | p_Rd(X_t_42)
        | ~ p_Wr(X_t_42)
        | ~ gt(fifo_length,int_level(X_t_42)) ) ),
    inference(quant_intro,[status(thm)],[39]) ).

tff(41,plain,
    ( ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | p_Rd(X_t_42)
        | ~ p_Wr(X_t_42)
        | ~ gt(fifo_length,int_level(X_t_42)) )
  <=> ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | p_Rd(X_t_42)
        | ~ p_Wr(X_t_42)
        | ~ gt(fifo_length,int_level(X_t_42)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(42,plain,
    ^ [X_t_42: $i] :
      trans(
        monotonicity(
          trans(
            monotonicity(
              rewrite(
                ( ( p_Reset(X_t_42)
                  | ~ p_Wr(X_t_42)
                  | p_Rd(X_t_42) )
              <=> ( p_Reset(X_t_42)
                  | p_Rd(X_t_42)
                  | ~ p_Wr(X_t_42) ) )),
              ( ( p_Reset(X_t_42)
                | ~ p_Wr(X_t_42)
                | p_Rd(X_t_42)
                | ~ gt(fifo_length,int_level(X_t_42)) )
            <=> ( p_Reset(X_t_42)
                | p_Rd(X_t_42)
                | ~ p_Wr(X_t_42)
                | ~ gt(fifo_length,int_level(X_t_42)) ) )),
            rewrite(
              ( ( p_Reset(X_t_42)
                | p_Rd(X_t_42)
                | ~ p_Wr(X_t_42)
                | ~ gt(fifo_length,int_level(X_t_42)) )
            <=> ( p_Reset(X_t_42)
                | p_Rd(X_t_42)
                | ~ p_Wr(X_t_42)
                | ~ gt(fifo_length,int_level(X_t_42)) ) )),
            ( ( p_Reset(X_t_42)
              | ~ p_Wr(X_t_42)
              | p_Rd(X_t_42)
              | ~ gt(fifo_length,int_level(X_t_42)) )
          <=> ( p_Reset(X_t_42)
              | p_Rd(X_t_42)
              | ~ p_Wr(X_t_42)
              | ~ gt(fifo_length,int_level(X_t_42)) ) )),
          ( ( p_Reset(X_t_42)
            | ~ p_Wr(X_t_42)
            | p_Rd(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42))
            | ~ p_Wr_error(plus(X_t_42,n1)) )
        <=> ( p_Reset(X_t_42)
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42))
            | ~ p_Wr_error(plus(X_t_42,n1)) ) )),
        rewrite(
          ( ( p_Reset(X_t_42)
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42))
            | ~ p_Wr_error(plus(X_t_42,n1)) )
        <=> ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42)) ) )),
        ( ( p_Reset(X_t_42)
          | ~ p_Wr(X_t_42)
          | p_Rd(X_t_42)
          | ~ gt(fifo_length,int_level(X_t_42))
          | ~ p_Wr_error(plus(X_t_42,n1)) )
      <=> ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | p_Rd(X_t_42)
          | ~ p_Wr(X_t_42)
          | ~ gt(fifo_length,int_level(X_t_42)) ) )),
    inference(bind,[status(th)],]) ).

tff(43,plain,
    ( ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr(X_t_42)
        | p_Rd(X_t_42)
        | ~ gt(fifo_length,int_level(X_t_42))
        | ~ p_Wr_error(plus(X_t_42,n1)) )
  <=> ! [X_t_42: $i] :
        ( p_Reset(X_t_42)
        | ~ p_Wr_error(plus(X_t_42,n1))
        | p_Rd(X_t_42)
        | ~ p_Wr(X_t_42)
        | ~ gt(fifo_length,int_level(X_t_42)) ) ),
    inference(quant_intro,[status(thm)],[42]) ).

tff(44,axiom,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr(X_t_42)
      | p_Rd(X_t_42)
      | ~ gt(fifo_length,int_level(X_t_42))
      | ~ p_Wr_error(plus(X_t_42,n1)) ),
    file('/export/starexec/sandbox/benchmark/Axioms/HWV003-0.ax',axiom_34) ).

tff(45,plain,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1))
      | p_Rd(X_t_42)
      | ~ p_Wr(X_t_42)
      | ~ gt(fifo_length,int_level(X_t_42)) ),
    inference(modus_ponens,[status(thm)],[44,43]) ).

tff(46,plain,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1))
      | p_Rd(X_t_42)
      | ~ p_Wr(X_t_42)
      | ~ gt(fifo_length,int_level(X_t_42)) ),
    inference(modus_ponens,[status(thm)],[45,41]) ).

tff(47,plain,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1))
      | p_Rd(X_t_42)
      | ~ p_Wr(X_t_42)
      | ~ gt(fifo_length,int_level(X_t_42)) ),
    inference(skolemize,[status(sab)],[46]) ).

tff(48,plain,
    ! [X_t_42: $i] :
      ( p_Reset(X_t_42)
      | ~ p_Wr_error(plus(X_t_42,n1))
      | p_Rd(X_t_42)
      | ~ p_Wr(X_t_42)
      | ~ gt(fifo_length,int_level(X_t_42)) ),
    inference(modus_ponens,[status(thm)],[47,40]) ).

tff(49,plain,
    ( ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42)) )
      | p_Rd(t_139)
      | p_Reset(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | ~ gt(fifo_length,int_level(t_139)) )
  <=> ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42)) )
      | p_Rd(t_139)
      | p_Reset(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | ~ gt(fifo_length,int_level(t_139)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(50,plain,
    ( ( p_Reset(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | p_Rd(t_139)
      | ~ p_Wr(t_139)
      | ~ gt(fifo_length,int_level(t_139)) )
  <=> ( p_Rd(t_139)
      | p_Reset(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | ~ gt(fifo_length,int_level(t_139)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(51,plain,
    ( ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42)) )
      | p_Reset(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | p_Rd(t_139)
      | ~ p_Wr(t_139)
      | ~ gt(fifo_length,int_level(t_139)) )
  <=> ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42)) )
      | p_Rd(t_139)
      | p_Reset(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | ~ gt(fifo_length,int_level(t_139)) ) ),
    inference(monotonicity,[status(thm)],[50]) ).

tff(52,plain,
    ( ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42)) )
      | p_Reset(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | p_Rd(t_139)
      | ~ p_Wr(t_139)
      | ~ gt(fifo_length,int_level(t_139)) )
  <=> ( ~ ! [X_t_42: $i] :
            ( p_Reset(X_t_42)
            | ~ p_Wr_error(plus(X_t_42,n1))
            | p_Rd(X_t_42)
            | ~ p_Wr(X_t_42)
            | ~ gt(fifo_length,int_level(X_t_42)) )
      | p_Rd(t_139)
      | p_Reset(t_139)
      | ~ p_Wr(t_139)
      | ~ p_Wr_error(plus(t_139,n1))
      | ~ gt(fifo_length,int_level(t_139)) ) ),
    inference(transitivity,[status(thm)],[51,49]) ).

tff(53,plain,
    ( ~ ! [X_t_42: $i] :
          ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | p_Rd(X_t_42)
          | ~ p_Wr(X_t_42)
          | ~ gt(fifo_length,int_level(X_t_42)) )
    | p_Reset(t_139)
    | ~ p_Wr_error(plus(t_139,n1))
    | p_Rd(t_139)
    | ~ p_Wr(t_139)
    | ~ gt(fifo_length,int_level(t_139)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(54,plain,
    ( ~ ! [X_t_42: $i] :
          ( p_Reset(X_t_42)
          | ~ p_Wr_error(plus(X_t_42,n1))
          | p_Rd(X_t_42)
          | ~ p_Wr(X_t_42)
          | ~ gt(fifo_length,int_level(X_t_42)) )
    | p_Rd(t_139)
    | p_Reset(t_139)
    | ~ p_Wr(t_139)
    | ~ p_Wr_error(plus(t_139,n1))
    | ~ gt(fifo_length,int_level(t_139)) ),
    inference(modus_ponens,[status(thm)],[53,52]) ).

tff(55,plain,
    ~ gt(fifo_length,int_level(t_139)),
    inference(unit_resolution,[status(thm)],[54,48,21,18,15,38]) ).

tff(56,plain,
    ~ gt(fifo_length,level(t_139)),
    inference(modus_ponens,[status(thm)],[55,12]) ).

tff(57,plain,
    ( ( p_Rd(t_139)
      | gt(fifo_length,level(t_139)) )
  <=> ( p_Rd(t_139)
      | gt(fifo_length,level(t_139)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(58,plain,
    ( ( gt(fifo_length,level(t_139))
      | p_Rd(t_139) )
  <=> ( p_Rd(t_139)
      | gt(fifo_length,level(t_139)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(59,axiom,
    ( gt(fifo_length,level(t_139))
    | p_Rd(t_139) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',quest_4) ).

tff(60,plain,
    ( p_Rd(t_139)
    | gt(fifo_length,level(t_139)) ),
    inference(modus_ponens,[status(thm)],[59,58]) ).

tff(61,plain,
    ( p_Rd(t_139)
    | gt(fifo_length,level(t_139)) ),
    inference(modus_ponens,[status(thm)],[60,57]) ).

tff(62,plain,
    gt(fifo_length,level(t_139)),
    inference(unit_resolution,[status(thm)],[61,38]) ).

tff(63,plain,
    $false,
    inference(unit_resolution,[status(thm)],[62,56]) ).

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