TSTP Solution File: DAT098_1 by Z3---4.8.9.0

View Problem - Process Solution

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

% Computer : n022.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 : Fri Sep 16 14:36:43 EDT 2022

% Result   : Theorem 0.20s 0.39s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   23
%            Number of leaves      :   61
% Syntax   : Number of formulae    :  144 (  13 unt;   5 typ;   0 def)
%            Number of atoms       : 1985 ( 607 equ)
%            Maximal formula atoms :   48 (  14 avg)
%            Number of connectives : 3582 (1778   ~;1512   |; 170   &)
%                                         ( 122 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   19 (  10 avg)
%            Maximal term depth    :    7 (   1 avg)
%            Number of FOOLs       :   42 (  42 fml;   0 var)
%            Number arithmetic     : 3971 ( 670 atm; 396 fun;2649 num; 256 var)
%            Number of types       :    2 (   0 usr;   1 ari)
%            Number of type conns  :    8 (   4   >;   4   *;   0   +;   0  <<)
%            Number of predicates  :   15 (   9 usr;   3 prp; 0-3 aty)
%            Number of functors    :   12 (   4 usr;   7 con; 0-2 aty)
%            Number of variables   :  512 ( 458   !;  38   ?; 512   :)

% Comments : 
%------------------------------------------------------------------------------
tff(inRange_type,type,
    inRange: ( $int * list ) > $o ).

tff(nil_type,type,
    nil: list ).

tff(cons_type,type,
    cons: ( $int * list ) > list ).

tff(tptp_fun_K_1_type,type,
    tptp_fun_K_1: ( list * $int ) > $int ).

tff(tptp_fun_T_0_type,type,
    tptp_fun_T_0: ( list * $int ) > list ).

tff(1,plain,
    ^ [N: $int,L: list] :
      refl(
        ( ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
      <=> ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(2,plain,
    ( ! [N: $int,L: list] :
        ~ ( ~ ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
          | ~ ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) )
  <=> ! [N: $int,L: list] :
        ~ ( ~ ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
          | ~ ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) ) ),
    inference(quant_intro,[status(thm)],[1]) ).

tff(3,plain,
    ^ [N: $int,L: list] :
      rewrite(
        ( ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
      <=> ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(4,plain,
    ( ! [N: $int,L: list] :
        ~ ( ~ ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
          | ~ ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) )
  <=> ! [N: $int,L: list] :
        ~ ( ~ ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
          | ~ ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) ) ),
    inference(quant_intro,[status(thm)],[3]) ).

tff(5,plain,
    ( ! [N: $int,L: list] :
        ~ ( ~ ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
          | ~ ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) )
  <=> ! [N: $int,L: list] :
        ~ ( ~ ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
          | ~ ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) ) ),
    inference(transitivity,[status(thm)],[4,2]) ).

tff(6,plain,
    ^ [N: $int,L: list] :
      trans(
        monotonicity(
          trans(
            monotonicity(
              rewrite(
                ( ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  & $greatereq(tptp_fun_K_1(L,N),0)
                  & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  & inRange(N,tptp_fun_T_0(L,N)) )
              <=> ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )),
              ( ( ( L = nil )
                | ~ inRange(N,L)
                | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  & $greatereq(tptp_fun_K_1(L,N),0)
                  & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  & inRange(N,tptp_fun_T_0(L,N)) ) )
            <=> ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) ) )),
            rewrite(
              ( ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            <=> ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) ) )),
            ( ( ( L = nil )
              | ~ inRange(N,L)
              | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                & $greatereq(tptp_fun_K_1(L,N),0)
                & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                & inRange(N,tptp_fun_T_0(L,N)) ) )
          <=> ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) ) )),
          trans(
            monotonicity(
              trans(
                monotonicity(
                  quant_intro(
                    proof_bind(
                      ^ [K: $int,T: list] :
                        trans(
                          monotonicity(
                            rewrite(
                              ( ( ( L = cons(K,T) )
                                & $greatereq(K,0)
                                & ~ $greatereq($sum(K,$product(-1,N)),0)
                                & inRange(N,T) )
                            <=> ~ ( $greatereq($sum(K,$product(-1,N)),0)
                                  | ( L != cons(K,T) )
                                  | ~ $greatereq(K,0)
                                  | ~ inRange(N,T) ) )),
                            ( ~ ( ( L = cons(K,T) )
                                & $greatereq(K,0)
                                & ~ $greatereq($sum(K,$product(-1,N)),0)
                                & inRange(N,T) )
                          <=> ~ ~ ( $greatereq($sum(K,$product(-1,N)),0)
                                  | ( L != cons(K,T) )
                                  | ~ $greatereq(K,0)
                                  | ~ inRange(N,T) ) )),
                          rewrite(
                            ( ~ ~ ( $greatereq($sum(K,$product(-1,N)),0)
                                  | ( L != cons(K,T) )
                                  | ~ $greatereq(K,0)
                                  | ~ inRange(N,T) )
                          <=> ( $greatereq($sum(K,$product(-1,N)),0)
                              | ( L != cons(K,T) )
                              | ~ $greatereq(K,0)
                              | ~ inRange(N,T) ) )),
                          ( ~ ( ( L = cons(K,T) )
                              & $greatereq(K,0)
                              & ~ $greatereq($sum(K,$product(-1,N)),0)
                              & inRange(N,T) )
                        <=> ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ))),
                    ( ! [K: $int,T: list] :
                        ~ ( ( L = cons(K,T) )
                          & $greatereq(K,0)
                          & ~ $greatereq($sum(K,$product(-1,N)),0)
                          & inRange(N,T) )
                  <=> ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) )),
                  ( ( ( L != nil )
                    & ! [K: $int,T: list] :
                        ~ ( ( L = cons(K,T) )
                          & $greatereq(K,0)
                          & ~ $greatereq($sum(K,$product(-1,N)),0)
                          & inRange(N,T) ) )
                <=> ( ( L != nil )
                    & ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) )),
                rewrite(
                  ( ( ( L != nil )
                    & ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) )
                <=> ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) )),
                ( ( ( L != nil )
                  & ! [K: $int,T: list] :
                      ~ ( ( L = cons(K,T) )
                        & $greatereq(K,0)
                        & ~ $greatereq($sum(K,$product(-1,N)),0)
                        & inRange(N,T) ) )
              <=> ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) )),
              ( ( inRange(N,L)
                | ( ( L != nil )
                  & ! [K: $int,T: list] :
                      ~ ( ( L = cons(K,T) )
                        & $greatereq(K,0)
                        & ~ $greatereq($sum(K,$product(-1,N)),0)
                        & inRange(N,T) ) ) )
            <=> ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )),
            rewrite(
              ( ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) )
            <=> ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )),
            ( ( inRange(N,L)
              | ( ( L != nil )
                & ! [K: $int,T: list] :
                    ~ ( ( L = cons(K,T) )
                      & $greatereq(K,0)
                      & ~ $greatereq($sum(K,$product(-1,N)),0)
                      & inRange(N,T) ) ) )
          <=> ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) )),
          ( ( ( ( L = nil )
              | ~ inRange(N,L)
              | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                & $greatereq(tptp_fun_K_1(L,N),0)
                & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                & inRange(N,tptp_fun_T_0(L,N)) ) )
            & ( inRange(N,L)
              | ( ( L != nil )
                & ! [K: $int,T: list] :
                    ~ ( ( L = cons(K,T) )
                      & $greatereq(K,0)
                      & ~ $greatereq($sum(K,$product(-1,N)),0)
                      & inRange(N,T) ) ) ) )
        <=> ( ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            & ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) ) )),
        rewrite(
          ( ( ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            & ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) )
        <=> ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) ) )),
        ( ( ( ( L = nil )
            | ~ inRange(N,L)
            | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
              & $greatereq(tptp_fun_K_1(L,N),0)
              & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
              & inRange(N,tptp_fun_T_0(L,N)) ) )
          & ( inRange(N,L)
            | ( ( L != nil )
              & ! [K: $int,T: list] :
                  ~ ( ( L = cons(K,T) )
                    & $greatereq(K,0)
                    & ~ $greatereq($sum(K,$product(-1,N)),0)
                    & inRange(N,T) ) ) ) )
      <=> ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(7,plain,
    ( ! [N: $int,L: list] :
        ( ( ( L = nil )
          | ~ inRange(N,L)
          | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
            & $greatereq(tptp_fun_K_1(L,N),0)
            & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
            & inRange(N,tptp_fun_T_0(L,N)) ) )
        & ( inRange(N,L)
          | ( ( L != nil )
            & ! [K: $int,T: list] :
                ~ ( ( L = cons(K,T) )
                  & $greatereq(K,0)
                  & ~ $greatereq($sum(K,$product(-1,N)),0)
                  & inRange(N,T) ) ) ) )
  <=> ! [N: $int,L: list] :
        ~ ( ~ ( ( L = nil )
              | ~ inRange(N,L)
              | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                  | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                  | ~ $greatereq(tptp_fun_K_1(L,N),0)
                  | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
          | ~ ( inRange(N,L)
              | ~ ( ( L = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,N)),0)
                        | ( L != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(N,T) ) ) ) ) ),
    inference(quant_intro,[status(thm)],[6]) ).

tff(8,plain,
    ^ [N: $int,L: list] :
      rewrite(
        ( ( ( ~ inRange(N,L)
            | ( L = nil )
            | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
              & $greatereq(tptp_fun_K_1(L,N),0)
              & ~ $greatereq($sum(tptp_fun_K_1(L,N),$product(-1,N)),0)
              & inRange(N,tptp_fun_T_0(L,N)) ) )
          & ( inRange(N,L)
            | ( ( L != nil )
              & ! [K: $int,T: list] :
                  ~ ( ( L = cons(K,T) )
                    & $greatereq(K,0)
                    & ~ $greatereq($sum(K,$product(-1,N)),0)
                    & inRange(N,T) ) ) ) )
      <=> ( ( ( L = nil )
            | ~ inRange(N,L)
            | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
              & $greatereq(tptp_fun_K_1(L,N),0)
              & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
              & inRange(N,tptp_fun_T_0(L,N)) ) )
          & ( inRange(N,L)
            | ( ( L != nil )
              & ! [K: $int,T: list] :
                  ~ ( ( L = cons(K,T) )
                    & $greatereq(K,0)
                    & ~ $greatereq($sum(K,$product(-1,N)),0)
                    & inRange(N,T) ) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(9,plain,
    ( ! [N: $int,L: list] :
        ( ( ~ inRange(N,L)
          | ( L = nil )
          | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
            & $greatereq(tptp_fun_K_1(L,N),0)
            & ~ $greatereq($sum(tptp_fun_K_1(L,N),$product(-1,N)),0)
            & inRange(N,tptp_fun_T_0(L,N)) ) )
        & ( inRange(N,L)
          | ( ( L != nil )
            & ! [K: $int,T: list] :
                ~ ( ( L = cons(K,T) )
                  & $greatereq(K,0)
                  & ~ $greatereq($sum(K,$product(-1,N)),0)
                  & inRange(N,T) ) ) ) )
  <=> ! [N: $int,L: list] :
        ( ( ( L = nil )
          | ~ inRange(N,L)
          | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
            & $greatereq(tptp_fun_K_1(L,N),0)
            & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
            & inRange(N,tptp_fun_T_0(L,N)) ) )
        & ( inRange(N,L)
          | ( ( L != nil )
            & ! [K: $int,T: list] :
                ~ ( ( L = cons(K,T) )
                  & $greatereq(K,0)
                  & ~ $greatereq($sum(K,$product(-1,N)),0)
                  & inRange(N,T) ) ) ) ) ),
    inference(quant_intro,[status(thm)],[8]) ).

tff(10,plain,
    ^ [N: $int,L: list] :
      rewrite(
        ( ( inRange(N,L)
        <=> ( ( L = nil )
            | ? [K: $int,T: list] :
                ( ( L = cons(K,T) )
                & $greatereq(K,0)
                & ~ $lesseq($sum(N,$product(-1,K)),0)
                & inRange(N,T) ) ) )
      <=> ( inRange(N,L)
        <=> ( ( L = nil )
            | ? [K: $int,T: list] :
                ( ( L = cons(K,T) )
                & $greatereq(K,0)
                & ~ $greatereq($sum(K,$product(-1,N)),0)
                & inRange(N,T) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(11,plain,
    ( ! [N: $int,L: list] :
        ( inRange(N,L)
      <=> ( ( L = nil )
          | ? [K: $int,T: list] :
              ( ( L = cons(K,T) )
              & $greatereq(K,0)
              & ~ $lesseq($sum(N,$product(-1,K)),0)
              & inRange(N,T) ) ) )
  <=> ! [N: $int,L: list] :
        ( inRange(N,L)
      <=> ( ( L = nil )
          | ? [K: $int,T: list] :
              ( ( L = cons(K,T) )
              & $greatereq(K,0)
              & ~ $greatereq($sum(K,$product(-1,N)),0)
              & inRange(N,T) ) ) ) ),
    inference(quant_intro,[status(thm)],[10]) ).

tff(12,plain,
    ^ [N: $int,L: list] :
      rewrite(
        ( ( inRange(N,L)
        <=> ( ( L = nil )
            | ? [K: $int,T: list] :
                ( ( L = cons(K,T) )
                & $lesseq(0,K)
                & ~ $lesseq(N,K)
                & inRange(N,T) ) ) )
      <=> ( inRange(N,L)
        <=> ( ( L = nil )
            | ? [K: $int,T: list] :
                ( ( L = cons(K,T) )
                & $greatereq(K,0)
                & ~ $lesseq($sum(N,$product(-1,K)),0)
                & inRange(N,T) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(13,plain,
    ( ! [N: $int,L: list] :
        ( inRange(N,L)
      <=> ( ( L = nil )
          | ? [K: $int,T: list] :
              ( ( L = cons(K,T) )
              & $lesseq(0,K)
              & ~ $lesseq(N,K)
              & inRange(N,T) ) ) )
  <=> ! [N: $int,L: list] :
        ( inRange(N,L)
      <=> ( ( L = nil )
          | ? [K: $int,T: list] :
              ( ( L = cons(K,T) )
              & $greatereq(K,0)
              & ~ $lesseq($sum(N,$product(-1,K)),0)
              & inRange(N,T) ) ) ) ),
    inference(quant_intro,[status(thm)],[12]) ).

tff(14,plain,
    ( ! [N: $int,L: list] :
        ( inRange(N,L)
      <=> ( ( L = nil )
          | ? [K: $int,T: list] :
              ( ( L = cons(K,T) )
              & $lesseq(0,K)
              & ~ $lesseq(N,K)
              & inRange(N,T) ) ) )
  <=> ! [N: $int,L: list] :
        ( inRange(N,L)
      <=> ( ( L = nil )
          | ? [K: $int,T: list] :
              ( ( L = cons(K,T) )
              & $lesseq(0,K)
              & ~ $lesseq(N,K)
              & inRange(N,T) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(15,plain,
    ^ [N: $int,L: list] :
      rewrite(
        ( ( inRange(N,L)
        <=> ( ( L = nil )
            | ? [K: $int,T: list] :
                ( ( L = cons(K,T) )
                & $lesseq(0,K)
                & $less(K,N)
                & inRange(N,T) ) ) )
      <=> ( inRange(N,L)
        <=> ( ( L = nil )
            | ? [K: $int,T: list] :
                ( ( L = cons(K,T) )
                & $lesseq(0,K)
                & ~ $lesseq(N,K)
                & inRange(N,T) ) ) ) )),
    inference(bind,[status(th)],]) ).

tff(16,plain,
    ( ! [N: $int,L: list] :
        ( inRange(N,L)
      <=> ( ( L = nil )
          | ? [K: $int,T: list] :
              ( ( L = cons(K,T) )
              & $lesseq(0,K)
              & $less(K,N)
              & inRange(N,T) ) ) )
  <=> ! [N: $int,L: list] :
        ( inRange(N,L)
      <=> ( ( L = nil )
          | ? [K: $int,T: list] :
              ( ( L = cons(K,T) )
              & $lesseq(0,K)
              & ~ $lesseq(N,K)
              & inRange(N,T) ) ) ) ),
    inference(quant_intro,[status(thm)],[15]) ).

tff(17,axiom,
    ! [N: $int,L: list] :
      ( inRange(N,L)
    <=> ( ( L = nil )
        | ? [K: $int,T: list] :
            ( ( L = cons(K,T) )
            & $lesseq(0,K)
            & $less(K,N)
            & inRange(N,T) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',inRange) ).

tff(18,plain,
    ! [N: $int,L: list] :
      ( inRange(N,L)
    <=> ( ( L = nil )
        | ? [K: $int,T: list] :
            ( ( L = cons(K,T) )
            & $lesseq(0,K)
            & ~ $lesseq(N,K)
            & inRange(N,T) ) ) ),
    inference(modus_ponens,[status(thm)],[17,16]) ).

tff(19,plain,
    ! [N: $int,L: list] :
      ( inRange(N,L)
    <=> ( ( L = nil )
        | ? [K: $int,T: list] :
            ( ( L = cons(K,T) )
            & $lesseq(0,K)
            & ~ $lesseq(N,K)
            & inRange(N,T) ) ) ),
    inference(modus_ponens,[status(thm)],[18,14]) ).

tff(20,plain,
    ! [N: $int,L: list] :
      ( inRange(N,L)
    <=> ( ( L = nil )
        | ? [K: $int,T: list] :
            ( ( L = cons(K,T) )
            & $greatereq(K,0)
            & ~ $lesseq($sum(N,$product(-1,K)),0)
            & inRange(N,T) ) ) ),
    inference(modus_ponens,[status(thm)],[19,13]) ).

tff(21,plain,
    ! [N: $int,L: list] :
      ( inRange(N,L)
    <=> ( ( L = nil )
        | ? [K: $int,T: list] :
            ( ( L = cons(K,T) )
            & $greatereq(K,0)
            & ~ $greatereq($sum(K,$product(-1,N)),0)
            & inRange(N,T) ) ) ),
    inference(modus_ponens,[status(thm)],[20,11]) ).

tff(22,plain,
    ! [N: $int,L: list] :
      ( ( ~ inRange(N,L)
        | ( L = nil )
        | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
          & $greatereq(tptp_fun_K_1(L,N),0)
          & ~ $greatereq($sum(tptp_fun_K_1(L,N),$product(-1,N)),0)
          & inRange(N,tptp_fun_T_0(L,N)) ) )
      & ( inRange(N,L)
        | ( ( L != nil )
          & ! [K: $int,T: list] :
              ~ ( ( L = cons(K,T) )
                & $greatereq(K,0)
                & ~ $greatereq($sum(K,$product(-1,N)),0)
                & inRange(N,T) ) ) ) ),
    inference(skolemize,[status(sab)],[21]) ).

tff(23,plain,
    ! [N: $int,L: list] :
      ( ( ( L = nil )
        | ~ inRange(N,L)
        | ( ( L = cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
          & $greatereq(tptp_fun_K_1(L,N),0)
          & ~ $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
          & inRange(N,tptp_fun_T_0(L,N)) ) )
      & ( inRange(N,L)
        | ( ( L != nil )
          & ! [K: $int,T: list] :
              ~ ( ( L = cons(K,T) )
                & $greatereq(K,0)
                & ~ $greatereq($sum(K,$product(-1,N)),0)
                & inRange(N,T) ) ) ) ),
    inference(modus_ponens,[status(thm)],[22,9]) ).

tff(24,plain,
    ! [N: $int,L: list] :
      ~ ( ~ ( ( L = nil )
            | ~ inRange(N,L)
            | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                | ~ $greatereq(tptp_fun_K_1(L,N),0)
                | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
        | ~ ( inRange(N,L)
            | ~ ( ( L = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,N)),0)
                      | ( L != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(N,T) ) ) ) ),
    inference(modus_ponens,[status(thm)],[23,7]) ).

tff(25,plain,
    ! [N: $int,L: list] :
      ~ ( ~ ( ( L = nil )
            | ~ inRange(N,L)
            | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                | ~ $greatereq(tptp_fun_K_1(L,N),0)
                | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
        | ~ ( inRange(N,L)
            | ~ ( ( L = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,N)),0)
                      | ( L != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(N,T) ) ) ) ),
    inference(modus_ponens,[status(thm)],[24,5]) ).

tff(26,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(2,nil) = nil )
              | ~ inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4))
                  | $greatereq(tptp_fun_K_1(cons(2,nil),4),4) ) )
          | ~ ( inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ~ inRange(4,T)
                        | $greatereq(K,4)
                        | ( cons(2,nil) != cons(K,T) ) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(2,nil) = nil )
              | ~ inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4))
                  | $greatereq(tptp_fun_K_1(cons(2,nil),4),4) ) )
          | ~ ( inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ~ inRange(4,T)
                        | $greatereq(K,4)
                        | ( cons(2,nil) != cons(K,T) ) ) ) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(27,plain,
    ( ~ ( ~ ( ( cons(2,nil) = nil )
            | ~ inRange(4,cons(2,nil))
            | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(2,nil),4))),0)
                | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4)) ) )
        | ~ ( inRange(4,cons(2,nil))
            | ~ ( ( cons(2,nil) = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( cons(2,nil) != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) )
  <=> ~ ( ~ ( ( cons(2,nil) = nil )
            | ~ inRange(4,cons(2,nil))
            | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4))
                | $greatereq(tptp_fun_K_1(cons(2,nil),4),4) ) )
        | ~ ( inRange(4,cons(2,nil))
            | ~ ( ( cons(2,nil) = nil )
                | ~ ! [K: $int,T: list] :
                      ( ~ $greatereq(K,0)
                      | ~ inRange(4,T)
                      | $greatereq(K,4)
                      | ( cons(2,nil) != cons(K,T) ) ) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(28,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(2,nil) = nil )
              | ~ inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                  | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(2,nil),4))),0)
                  | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4)) ) )
          | ~ ( inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,4)),0)
                        | ( cons(2,nil) != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(4,T) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(2,nil) = nil )
              | ~ inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4))
                  | $greatereq(tptp_fun_K_1(cons(2,nil),4),4) ) )
          | ~ ( inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ~ inRange(4,T)
                        | $greatereq(K,4)
                        | ( cons(2,nil) != cons(K,T) ) ) ) ) ) ) ),
    inference(monotonicity,[status(thm)],[27]) ).

tff(29,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(2,nil) = nil )
              | ~ inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                  | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(2,nil),4))),0)
                  | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4)) ) )
          | ~ ( inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,4)),0)
                        | ( cons(2,nil) != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(4,T) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(2,nil) = nil )
              | ~ inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4))
                  | $greatereq(tptp_fun_K_1(cons(2,nil),4),4) ) )
          | ~ ( inRange(4,cons(2,nil))
              | ~ ( ( cons(2,nil) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ~ inRange(4,T)
                        | $greatereq(K,4)
                        | ( cons(2,nil) != cons(K,T) ) ) ) ) ) ) ),
    inference(transitivity,[status(thm)],[28,26]) ).

tff(30,plain,
    ( ~ ! [N: $int,L: list] :
          ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
    | ~ ( ~ ( ( cons(2,nil) = nil )
            | ~ inRange(4,cons(2,nil))
            | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(2,nil),4))),0)
                | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4)) ) )
        | ~ ( inRange(4,cons(2,nil))
            | ~ ( ( cons(2,nil) = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( cons(2,nil) != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(31,plain,
    ( ~ ! [N: $int,L: list] :
          ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
    | ~ ( ~ ( ( cons(2,nil) = nil )
            | ~ inRange(4,cons(2,nil))
            | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
                | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4))
                | $greatereq(tptp_fun_K_1(cons(2,nil),4),4) ) )
        | ~ ( inRange(4,cons(2,nil))
            | ~ ( ( cons(2,nil) = nil )
                | ~ ! [K: $int,T: list] :
                      ( ~ $greatereq(K,0)
                      | ~ inRange(4,T)
                      | $greatereq(K,4)
                      | ( cons(2,nil) != cons(K,T) ) ) ) ) ) ),
    inference(modus_ponens,[status(thm)],[30,29]) ).

tff(32,plain,
    ~ ( ~ ( ( cons(2,nil) = nil )
          | ~ inRange(4,cons(2,nil))
          | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
              | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
              | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4))
              | $greatereq(tptp_fun_K_1(cons(2,nil),4),4) ) )
      | ~ ( inRange(4,cons(2,nil))
          | ~ ( ( cons(2,nil) = nil )
              | ~ ! [K: $int,T: list] :
                    ( ~ $greatereq(K,0)
                    | ~ inRange(4,T)
                    | $greatereq(K,4)
                    | ( cons(2,nil) != cons(K,T) ) ) ) ) ),
    inference(unit_resolution,[status(thm)],[31,25]) ).

tff(33,plain,
    ( ~ ( ( cons(2,nil) = nil )
        | ~ inRange(4,cons(2,nil))
        | ~ ( ( cons(2,nil) != cons(tptp_fun_K_1(cons(2,nil),4),tptp_fun_T_0(cons(2,nil),4)) )
            | ~ $greatereq(tptp_fun_K_1(cons(2,nil),4),0)
            | ~ inRange(4,tptp_fun_T_0(cons(2,nil),4))
            | $greatereq(tptp_fun_K_1(cons(2,nil),4),4) ) )
    | ~ ( inRange(4,cons(2,nil))
        | ~ ( ( cons(2,nil) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ~ inRange(4,T)
                  | $greatereq(K,4)
                  | ( cons(2,nil) != cons(K,T) ) ) ) )
    | inRange(4,cons(2,nil))
    | ~ ( ( cons(2,nil) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ~ inRange(4,T)
              | $greatereq(K,4)
              | ( cons(2,nil) != cons(K,T) ) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(34,plain,
    ( inRange(4,cons(2,nil))
    | ~ ( ( cons(2,nil) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ~ inRange(4,T)
              | $greatereq(K,4)
              | ( cons(2,nil) != cons(K,T) ) ) ) ),
    inference(unit_resolution,[status(thm)],[33,32]) ).

tff(35,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
              | ~ inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4))
                  | $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),4) ) )
          | ~ ( inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ~ inRange(4,T)
                        | $greatereq(K,4)
                        | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
              | ~ inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4))
                  | $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),4) ) )
          | ~ ( inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ~ inRange(4,T)
                        | $greatereq(K,4)
                        | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(36,plain,
    ( ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
            | ~ inRange(4,cons(3,cons(2,nil)))
            | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(3,cons(2,nil)),4))),0)
                | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4)) ) )
        | ~ ( inRange(4,cons(3,cons(2,nil)))
            | ~ ( ( cons(3,cons(2,nil)) = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( cons(3,cons(2,nil)) != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) )
  <=> ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
            | ~ inRange(4,cons(3,cons(2,nil)))
            | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4))
                | $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),4) ) )
        | ~ ( inRange(4,cons(3,cons(2,nil)))
            | ~ ( ( cons(3,cons(2,nil)) = nil )
                | ~ ! [K: $int,T: list] :
                      ( ~ $greatereq(K,0)
                      | ~ inRange(4,T)
                      | $greatereq(K,4)
                      | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(37,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
              | ~ inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                  | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(3,cons(2,nil)),4))),0)
                  | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4)) ) )
          | ~ ( inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,4)),0)
                        | ( cons(3,cons(2,nil)) != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(4,T) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
              | ~ inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4))
                  | $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),4) ) )
          | ~ ( inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ~ inRange(4,T)
                        | $greatereq(K,4)
                        | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ) ) ) ),
    inference(monotonicity,[status(thm)],[36]) ).

tff(38,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
              | ~ inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                  | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(3,cons(2,nil)),4))),0)
                  | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4)) ) )
          | ~ ( inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,4)),0)
                        | ( cons(3,cons(2,nil)) != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(4,T) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
              | ~ inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4))
                  | $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),4) ) )
          | ~ ( inRange(4,cons(3,cons(2,nil)))
              | ~ ( ( cons(3,cons(2,nil)) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ~ inRange(4,T)
                        | $greatereq(K,4)
                        | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ) ) ) ),
    inference(transitivity,[status(thm)],[37,35]) ).

tff(39,plain,
    ( ~ ! [N: $int,L: list] :
          ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
    | ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
            | ~ inRange(4,cons(3,cons(2,nil)))
            | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(3,cons(2,nil)),4))),0)
                | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4)) ) )
        | ~ ( inRange(4,cons(3,cons(2,nil)))
            | ~ ( ( cons(3,cons(2,nil)) = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( cons(3,cons(2,nil)) != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(40,plain,
    ( ~ ! [N: $int,L: list] :
          ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
    | ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
            | ~ inRange(4,cons(3,cons(2,nil)))
            | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
                | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4))
                | $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),4) ) )
        | ~ ( inRange(4,cons(3,cons(2,nil)))
            | ~ ( ( cons(3,cons(2,nil)) = nil )
                | ~ ! [K: $int,T: list] :
                      ( ~ $greatereq(K,0)
                      | ~ inRange(4,T)
                      | $greatereq(K,4)
                      | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ) ) ),
    inference(modus_ponens,[status(thm)],[39,38]) ).

tff(41,plain,
    ~ ( ~ ( ( cons(3,cons(2,nil)) = nil )
          | ~ inRange(4,cons(3,cons(2,nil)))
          | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
              | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
              | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4))
              | $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),4) ) )
      | ~ ( inRange(4,cons(3,cons(2,nil)))
          | ~ ( ( cons(3,cons(2,nil)) = nil )
              | ~ ! [K: $int,T: list] :
                    ( ~ $greatereq(K,0)
                    | ~ inRange(4,T)
                    | $greatereq(K,4)
                    | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ) ),
    inference(unit_resolution,[status(thm)],[40,25]) ).

tff(42,plain,
    ( ~ ( ( cons(3,cons(2,nil)) = nil )
        | ~ inRange(4,cons(3,cons(2,nil)))
        | ~ ( ( cons(3,cons(2,nil)) != cons(tptp_fun_K_1(cons(3,cons(2,nil)),4),tptp_fun_T_0(cons(3,cons(2,nil)),4)) )
            | ~ $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),0)
            | ~ inRange(4,tptp_fun_T_0(cons(3,cons(2,nil)),4))
            | $greatereq(tptp_fun_K_1(cons(3,cons(2,nil)),4),4) ) )
    | ~ ( inRange(4,cons(3,cons(2,nil)))
        | ~ ( ( cons(3,cons(2,nil)) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ~ inRange(4,T)
                  | $greatereq(K,4)
                  | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) )
    | inRange(4,cons(3,cons(2,nil)))
    | ~ ( ( cons(3,cons(2,nil)) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ~ inRange(4,T)
              | $greatereq(K,4)
              | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(43,plain,
    ( inRange(4,cons(3,cons(2,nil)))
    | ~ ( ( cons(3,cons(2,nil)) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ~ inRange(4,T)
              | $greatereq(K,4)
              | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ),
    inference(unit_resolution,[status(thm)],[42,41]) ).

tff(44,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
              | ( cons(1,cons(3,cons(2,nil))) = nil )
              | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4))
                  | $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),4) ) )
          | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
              | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                        | ~ inRange(4,T)
                        | $greatereq(K,4) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
              | ( cons(1,cons(3,cons(2,nil))) = nil )
              | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4))
                  | $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),4) ) )
          | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
              | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                        | ~ inRange(4,T)
                        | $greatereq(K,4) ) ) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(45,plain,
    ( ~ ( ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
            | ~ inRange(4,cons(1,cons(3,cons(2,nil))))
            | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4))),0)
                | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) ) )
        | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
            | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) )
  <=> ~ ( ~ ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
            | ( cons(1,cons(3,cons(2,nil))) = nil )
            | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4))
                | $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),4) ) )
        | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
            | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                | ~ ! [K: $int,T: list] :
                      ( ~ $greatereq(K,0)
                      | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                      | ~ inRange(4,T)
                      | $greatereq(K,4) ) ) ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(46,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
              | ~ inRange(4,cons(1,cons(3,cons(2,nil))))
              | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                  | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4))),0)
                  | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) ) )
          | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
              | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,4)),0)
                        | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(4,T) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
              | ( cons(1,cons(3,cons(2,nil))) = nil )
              | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4))
                  | $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),4) ) )
          | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
              | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                        | ~ inRange(4,T)
                        | $greatereq(K,4) ) ) ) ) ) ),
    inference(monotonicity,[status(thm)],[45]) ).

tff(47,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
              | ~ inRange(4,cons(1,cons(3,cons(2,nil))))
              | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                  | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4))),0)
                  | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) ) )
          | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
              | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,4)),0)
                        | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(4,T) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
              | ( cons(1,cons(3,cons(2,nil))) = nil )
              | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                  | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                  | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4))
                  | $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),4) ) )
          | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
              | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                  | ~ ! [K: $int,T: list] :
                        ( ~ $greatereq(K,0)
                        | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                        | ~ inRange(4,T)
                        | $greatereq(K,4) ) ) ) ) ) ),
    inference(transitivity,[status(thm)],[46,44]) ).

tff(48,plain,
    ( ~ ! [N: $int,L: list] :
          ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
    | ~ ( ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
            | ~ inRange(4,cons(1,cons(3,cons(2,nil))))
            | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4))),0)
                | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) ) )
        | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
            | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(49,plain,
    ( ~ ! [N: $int,L: list] :
          ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
    | ~ ( ~ ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
            | ( cons(1,cons(3,cons(2,nil))) = nil )
            | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
                | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
                | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4))
                | $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),4) ) )
        | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
            | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
                | ~ ! [K: $int,T: list] :
                      ( ~ $greatereq(K,0)
                      | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                      | ~ inRange(4,T)
                      | $greatereq(K,4) ) ) ) ) ),
    inference(modus_ponens,[status(thm)],[48,47]) ).

tff(50,plain,
    ~ ( ~ ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
          | ( cons(1,cons(3,cons(2,nil))) = nil )
          | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
              | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
              | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4))
              | $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),4) ) )
      | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
          | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
              | ~ ! [K: $int,T: list] :
                    ( ~ $greatereq(K,0)
                    | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                    | ~ inRange(4,T)
                    | $greatereq(K,4) ) ) ) ),
    inference(unit_resolution,[status(thm)],[49,25]) ).

tff(51,plain,
    ( ~ ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
        | ( cons(1,cons(3,cons(2,nil))) = nil )
        | ~ ( ( cons(1,cons(3,cons(2,nil))) != cons(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4)) )
            | ~ $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),0)
            | ~ inRange(4,tptp_fun_T_0(cons(1,cons(3,cons(2,nil))),4))
            | $greatereq(tptp_fun_K_1(cons(1,cons(3,cons(2,nil))),4),4) ) )
    | ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
        | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                  | ~ inRange(4,T)
                  | $greatereq(K,4) ) ) )
    | inRange(4,cons(1,cons(3,cons(2,nil))))
    | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
              | ~ inRange(4,T)
              | $greatereq(K,4) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(52,plain,
    ( inRange(4,cons(1,cons(3,cons(2,nil))))
    | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
              | ~ inRange(4,T)
              | $greatereq(K,4) ) ) ),
    inference(unit_resolution,[status(thm)],[51,50]) ).

tff(53,plain,
    ( ~ inRange(4,cons(1,cons(3,cons(2,nil))))
  <=> ~ inRange(4,cons(1,cons(3,cons(2,nil)))) ),
    inference(rewrite,[status(thm)],]) ).

tff(54,axiom,
    ~ inRange(4,cons(1,cons(3,cons(2,nil)))),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',c) ).

tff(55,plain,
    ~ inRange(4,cons(1,cons(3,cons(2,nil)))),
    inference(modus_ponens,[status(thm)],[54,53]) ).

tff(56,plain,
    ( ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
        | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                  | ~ inRange(4,T)
                  | $greatereq(K,4) ) ) )
    | inRange(4,cons(1,cons(3,cons(2,nil))))
    | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
              | ~ inRange(4,T)
              | $greatereq(K,4) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(57,plain,
    ( ~ ( inRange(4,cons(1,cons(3,cons(2,nil))))
        | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
                  | ~ inRange(4,T)
                  | $greatereq(K,4) ) ) )
    | ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
              | ~ inRange(4,T)
              | $greatereq(K,4) ) ) ),
    inference(unit_resolution,[status(thm)],[56,55]) ).

tff(58,plain,
    ~ ( ( cons(1,cons(3,cons(2,nil))) = nil )
      | ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
            | ~ inRange(4,T)
            | $greatereq(K,4) ) ),
    inference(unit_resolution,[status(thm)],[57,52]) ).

tff(59,plain,
    ( ( cons(1,cons(3,cons(2,nil))) = nil )
    | ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
          | ~ inRange(4,T)
          | $greatereq(K,4) )
    | ! [K: $int,T: list] :
        ( ~ $greatereq(K,0)
        | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
        | ~ inRange(4,T)
        | $greatereq(K,4) ) ),
    inference(tautology,[status(thm)],]) ).

tff(60,plain,
    ! [K: $int,T: list] :
      ( ~ $greatereq(K,0)
      | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
      | ~ inRange(4,T)
      | $greatereq(K,4) ),
    inference(unit_resolution,[status(thm)],[59,58]) ).

tff(61,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
            | ~ inRange(4,T)
            | $greatereq(K,4) )
      | ~ inRange(4,cons(3,cons(2,nil))) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
            | ~ inRange(4,T)
            | $greatereq(K,4) )
      | ~ inRange(4,cons(3,cons(2,nil))) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(62,plain,
    ( ( $false
      | $false
      | ~ inRange(4,cons(3,cons(2,nil)))
      | $false )
  <=> ~ inRange(4,cons(3,cons(2,nil))) ),
    inference(rewrite,[status(thm)],]) ).

tff(63,plain,
    ( $greatereq(1,4)
  <=> $false ),
    inference(rewrite,[status(thm)],]) ).

tff(64,plain,
    ( ~ $true
  <=> $false ),
    inference(rewrite,[status(thm)],]) ).

tff(65,plain,
    ( ( cons(1,cons(3,cons(2,nil))) = cons(1,cons(3,cons(2,nil))) )
  <=> $true ),
    inference(rewrite,[status(thm)],]) ).

tff(66,plain,
    ( ( cons(1,cons(3,cons(2,nil))) != cons(1,cons(3,cons(2,nil))) )
  <=> ~ $true ),
    inference(monotonicity,[status(thm)],[65]) ).

tff(67,plain,
    ( ( cons(1,cons(3,cons(2,nil))) != cons(1,cons(3,cons(2,nil))) )
  <=> $false ),
    inference(transitivity,[status(thm)],[66,64]) ).

tff(68,plain,
    ( $greatereq(1,0)
  <=> $true ),
    inference(rewrite,[status(thm)],]) ).

tff(69,plain,
    ( ~ $greatereq(1,0)
  <=> ~ $true ),
    inference(monotonicity,[status(thm)],[68]) ).

tff(70,plain,
    ( ~ $greatereq(1,0)
  <=> $false ),
    inference(transitivity,[status(thm)],[69,64]) ).

tff(71,plain,
    ( ( ~ $greatereq(1,0)
      | ( cons(1,cons(3,cons(2,nil))) != cons(1,cons(3,cons(2,nil))) )
      | ~ inRange(4,cons(3,cons(2,nil)))
      | $greatereq(1,4) )
  <=> ( $false
      | $false
      | ~ inRange(4,cons(3,cons(2,nil)))
      | $false ) ),
    inference(monotonicity,[status(thm)],[70,67,63]) ).

tff(72,plain,
    ( ( ~ $greatereq(1,0)
      | ( cons(1,cons(3,cons(2,nil))) != cons(1,cons(3,cons(2,nil))) )
      | ~ inRange(4,cons(3,cons(2,nil)))
      | $greatereq(1,4) )
  <=> ~ inRange(4,cons(3,cons(2,nil))) ),
    inference(transitivity,[status(thm)],[71,62]) ).

tff(73,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
            | ~ inRange(4,T)
            | $greatereq(K,4) )
      | ~ $greatereq(1,0)
      | ( cons(1,cons(3,cons(2,nil))) != cons(1,cons(3,cons(2,nil))) )
      | ~ inRange(4,cons(3,cons(2,nil)))
      | $greatereq(1,4) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
            | ~ inRange(4,T)
            | $greatereq(K,4) )
      | ~ inRange(4,cons(3,cons(2,nil))) ) ),
    inference(monotonicity,[status(thm)],[72]) ).

tff(74,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
            | ~ inRange(4,T)
            | $greatereq(K,4) )
      | ~ $greatereq(1,0)
      | ( cons(1,cons(3,cons(2,nil))) != cons(1,cons(3,cons(2,nil))) )
      | ~ inRange(4,cons(3,cons(2,nil)))
      | $greatereq(1,4) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
            | ~ inRange(4,T)
            | $greatereq(K,4) )
      | ~ inRange(4,cons(3,cons(2,nil))) ) ),
    inference(transitivity,[status(thm)],[73,61]) ).

tff(75,plain,
    ( ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
          | ~ inRange(4,T)
          | $greatereq(K,4) )
    | ~ $greatereq(1,0)
    | ( cons(1,cons(3,cons(2,nil))) != cons(1,cons(3,cons(2,nil))) )
    | ~ inRange(4,cons(3,cons(2,nil)))
    | $greatereq(1,4) ),
    inference(quant_inst,[status(thm)],]) ).

tff(76,plain,
    ( ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ( cons(1,cons(3,cons(2,nil))) != cons(K,T) )
          | ~ inRange(4,T)
          | $greatereq(K,4) )
    | ~ inRange(4,cons(3,cons(2,nil))) ),
    inference(modus_ponens,[status(thm)],[75,74]) ).

tff(77,plain,
    ~ inRange(4,cons(3,cons(2,nil))),
    inference(unit_resolution,[status(thm)],[76,60]) ).

tff(78,plain,
    ( ~ ( inRange(4,cons(3,cons(2,nil)))
        | ~ ( ( cons(3,cons(2,nil)) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ~ inRange(4,T)
                  | $greatereq(K,4)
                  | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) )
    | inRange(4,cons(3,cons(2,nil)))
    | ~ ( ( cons(3,cons(2,nil)) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ~ inRange(4,T)
              | $greatereq(K,4)
              | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(79,plain,
    ( ~ ( inRange(4,cons(3,cons(2,nil)))
        | ~ ( ( cons(3,cons(2,nil)) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ~ inRange(4,T)
                  | $greatereq(K,4)
                  | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) )
    | ~ ( ( cons(3,cons(2,nil)) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ~ inRange(4,T)
              | $greatereq(K,4)
              | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ) ),
    inference(unit_resolution,[status(thm)],[78,77]) ).

tff(80,plain,
    ~ ( ( cons(3,cons(2,nil)) = nil )
      | ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ),
    inference(unit_resolution,[status(thm)],[79,43]) ).

tff(81,plain,
    ( ( cons(3,cons(2,nil)) = nil )
    | ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ~ inRange(4,T)
          | $greatereq(K,4)
          | ( cons(3,cons(2,nil)) != cons(K,T) ) )
    | ! [K: $int,T: list] :
        ( ~ $greatereq(K,0)
        | ~ inRange(4,T)
        | $greatereq(K,4)
        | ( cons(3,cons(2,nil)) != cons(K,T) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(82,plain,
    ! [K: $int,T: list] :
      ( ~ $greatereq(K,0)
      | ~ inRange(4,T)
      | $greatereq(K,4)
      | ( cons(3,cons(2,nil)) != cons(K,T) ) ),
    inference(unit_resolution,[status(thm)],[81,80]) ).

tff(83,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(3,cons(2,nil)) != cons(K,T) ) )
      | ~ inRange(4,cons(2,nil)) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(3,cons(2,nil)) != cons(K,T) ) )
      | ~ inRange(4,cons(2,nil)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(84,plain,
    ( ( $false
      | ~ inRange(4,cons(2,nil))
      | $false
      | $false )
  <=> ~ inRange(4,cons(2,nil)) ),
    inference(rewrite,[status(thm)],]) ).

tff(85,plain,
    ( ( cons(3,cons(2,nil)) = cons(3,cons(2,nil)) )
  <=> $true ),
    inference(rewrite,[status(thm)],]) ).

tff(86,plain,
    ( ( cons(3,cons(2,nil)) != cons(3,cons(2,nil)) )
  <=> ~ $true ),
    inference(monotonicity,[status(thm)],[85]) ).

tff(87,plain,
    ( ( cons(3,cons(2,nil)) != cons(3,cons(2,nil)) )
  <=> $false ),
    inference(transitivity,[status(thm)],[86,64]) ).

tff(88,plain,
    ( $greatereq(3,4)
  <=> $false ),
    inference(rewrite,[status(thm)],]) ).

tff(89,plain,
    ( $greatereq(3,0)
  <=> $true ),
    inference(rewrite,[status(thm)],]) ).

tff(90,plain,
    ( ~ $greatereq(3,0)
  <=> ~ $true ),
    inference(monotonicity,[status(thm)],[89]) ).

tff(91,plain,
    ( ~ $greatereq(3,0)
  <=> $false ),
    inference(transitivity,[status(thm)],[90,64]) ).

tff(92,plain,
    ( ( ~ $greatereq(3,0)
      | ~ inRange(4,cons(2,nil))
      | $greatereq(3,4)
      | ( cons(3,cons(2,nil)) != cons(3,cons(2,nil)) ) )
  <=> ( $false
      | ~ inRange(4,cons(2,nil))
      | $false
      | $false ) ),
    inference(monotonicity,[status(thm)],[91,88,87]) ).

tff(93,plain,
    ( ( ~ $greatereq(3,0)
      | ~ inRange(4,cons(2,nil))
      | $greatereq(3,4)
      | ( cons(3,cons(2,nil)) != cons(3,cons(2,nil)) ) )
  <=> ~ inRange(4,cons(2,nil)) ),
    inference(transitivity,[status(thm)],[92,84]) ).

tff(94,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(3,cons(2,nil)) != cons(K,T) ) )
      | ~ $greatereq(3,0)
      | ~ inRange(4,cons(2,nil))
      | $greatereq(3,4)
      | ( cons(3,cons(2,nil)) != cons(3,cons(2,nil)) ) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(3,cons(2,nil)) != cons(K,T) ) )
      | ~ inRange(4,cons(2,nil)) ) ),
    inference(monotonicity,[status(thm)],[93]) ).

tff(95,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(3,cons(2,nil)) != cons(K,T) ) )
      | ~ $greatereq(3,0)
      | ~ inRange(4,cons(2,nil))
      | $greatereq(3,4)
      | ( cons(3,cons(2,nil)) != cons(3,cons(2,nil)) ) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(3,cons(2,nil)) != cons(K,T) ) )
      | ~ inRange(4,cons(2,nil)) ) ),
    inference(transitivity,[status(thm)],[94,83]) ).

tff(96,plain,
    ( ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ~ inRange(4,T)
          | $greatereq(K,4)
          | ( cons(3,cons(2,nil)) != cons(K,T) ) )
    | ~ $greatereq(3,0)
    | ~ inRange(4,cons(2,nil))
    | $greatereq(3,4)
    | ( cons(3,cons(2,nil)) != cons(3,cons(2,nil)) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(97,plain,
    ( ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ~ inRange(4,T)
          | $greatereq(K,4)
          | ( cons(3,cons(2,nil)) != cons(K,T) ) )
    | ~ inRange(4,cons(2,nil)) ),
    inference(modus_ponens,[status(thm)],[96,95]) ).

tff(98,plain,
    ~ inRange(4,cons(2,nil)),
    inference(unit_resolution,[status(thm)],[97,82]) ).

tff(99,plain,
    ( ~ ( inRange(4,cons(2,nil))
        | ~ ( ( cons(2,nil) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ~ inRange(4,T)
                  | $greatereq(K,4)
                  | ( cons(2,nil) != cons(K,T) ) ) ) )
    | inRange(4,cons(2,nil))
    | ~ ( ( cons(2,nil) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ~ inRange(4,T)
              | $greatereq(K,4)
              | ( cons(2,nil) != cons(K,T) ) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(100,plain,
    ( ~ ( inRange(4,cons(2,nil))
        | ~ ( ( cons(2,nil) = nil )
            | ~ ! [K: $int,T: list] :
                  ( ~ $greatereq(K,0)
                  | ~ inRange(4,T)
                  | $greatereq(K,4)
                  | ( cons(2,nil) != cons(K,T) ) ) ) )
    | ~ ( ( cons(2,nil) = nil )
        | ~ ! [K: $int,T: list] :
              ( ~ $greatereq(K,0)
              | ~ inRange(4,T)
              | $greatereq(K,4)
              | ( cons(2,nil) != cons(K,T) ) ) ) ),
    inference(unit_resolution,[status(thm)],[99,98]) ).

tff(101,plain,
    ~ ( ( cons(2,nil) = nil )
      | ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(2,nil) != cons(K,T) ) ) ),
    inference(unit_resolution,[status(thm)],[100,34]) ).

tff(102,plain,
    ( ( cons(2,nil) = nil )
    | ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ~ inRange(4,T)
          | $greatereq(K,4)
          | ( cons(2,nil) != cons(K,T) ) )
    | ! [K: $int,T: list] :
        ( ~ $greatereq(K,0)
        | ~ inRange(4,T)
        | $greatereq(K,4)
        | ( cons(2,nil) != cons(K,T) ) ) ),
    inference(tautology,[status(thm)],]) ).

tff(103,plain,
    ! [K: $int,T: list] :
      ( ~ $greatereq(K,0)
      | ~ inRange(4,T)
      | $greatereq(K,4)
      | ( cons(2,nil) != cons(K,T) ) ),
    inference(unit_resolution,[status(thm)],[102,101]) ).

tff(104,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(2,nil) != cons(K,T) ) )
      | ~ inRange(4,nil) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(2,nil) != cons(K,T) ) )
      | ~ inRange(4,nil) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(105,plain,
    ( ( $false
      | ~ inRange(4,nil)
      | $false
      | $false )
  <=> ~ inRange(4,nil) ),
    inference(rewrite,[status(thm)],]) ).

tff(106,plain,
    ( ( cons(2,nil) = cons(2,nil) )
  <=> $true ),
    inference(rewrite,[status(thm)],]) ).

tff(107,plain,
    ( ( cons(2,nil) != cons(2,nil) )
  <=> ~ $true ),
    inference(monotonicity,[status(thm)],[106]) ).

tff(108,plain,
    ( ( cons(2,nil) != cons(2,nil) )
  <=> $false ),
    inference(transitivity,[status(thm)],[107,64]) ).

tff(109,plain,
    ( $greatereq(2,4)
  <=> $false ),
    inference(rewrite,[status(thm)],]) ).

tff(110,plain,
    ( $greatereq(2,0)
  <=> $true ),
    inference(rewrite,[status(thm)],]) ).

tff(111,plain,
    ( ~ $greatereq(2,0)
  <=> ~ $true ),
    inference(monotonicity,[status(thm)],[110]) ).

tff(112,plain,
    ( ~ $greatereq(2,0)
  <=> $false ),
    inference(transitivity,[status(thm)],[111,64]) ).

tff(113,plain,
    ( ( ~ $greatereq(2,0)
      | ~ inRange(4,nil)
      | $greatereq(2,4)
      | ( cons(2,nil) != cons(2,nil) ) )
  <=> ( $false
      | ~ inRange(4,nil)
      | $false
      | $false ) ),
    inference(monotonicity,[status(thm)],[112,109,108]) ).

tff(114,plain,
    ( ( ~ $greatereq(2,0)
      | ~ inRange(4,nil)
      | $greatereq(2,4)
      | ( cons(2,nil) != cons(2,nil) ) )
  <=> ~ inRange(4,nil) ),
    inference(transitivity,[status(thm)],[113,105]) ).

tff(115,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(2,nil) != cons(K,T) ) )
      | ~ $greatereq(2,0)
      | ~ inRange(4,nil)
      | $greatereq(2,4)
      | ( cons(2,nil) != cons(2,nil) ) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(2,nil) != cons(K,T) ) )
      | ~ inRange(4,nil) ) ),
    inference(monotonicity,[status(thm)],[114]) ).

tff(116,plain,
    ( ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(2,nil) != cons(K,T) ) )
      | ~ $greatereq(2,0)
      | ~ inRange(4,nil)
      | $greatereq(2,4)
      | ( cons(2,nil) != cons(2,nil) ) )
  <=> ( ~ ! [K: $int,T: list] :
            ( ~ $greatereq(K,0)
            | ~ inRange(4,T)
            | $greatereq(K,4)
            | ( cons(2,nil) != cons(K,T) ) )
      | ~ inRange(4,nil) ) ),
    inference(transitivity,[status(thm)],[115,104]) ).

tff(117,plain,
    ( ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ~ inRange(4,T)
          | $greatereq(K,4)
          | ( cons(2,nil) != cons(K,T) ) )
    | ~ $greatereq(2,0)
    | ~ inRange(4,nil)
    | $greatereq(2,4)
    | ( cons(2,nil) != cons(2,nil) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(118,plain,
    ( ~ ! [K: $int,T: list] :
          ( ~ $greatereq(K,0)
          | ~ inRange(4,T)
          | $greatereq(K,4)
          | ( cons(2,nil) != cons(K,T) ) )
    | ~ inRange(4,nil) ),
    inference(modus_ponens,[status(thm)],[117,116]) ).

tff(119,plain,
    ~ inRange(4,nil),
    inference(unit_resolution,[status(thm)],[118,103]) ).

tff(120,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | inRange(4,nil) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | inRange(4,nil) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(121,plain,
    ( ~ ~ inRange(4,nil)
  <=> inRange(4,nil) ),
    inference(rewrite,[status(thm)],]) ).

tff(122,plain,
    ( ( $false
      | ~ inRange(4,nil) )
  <=> ~ inRange(4,nil) ),
    inference(rewrite,[status(thm)],]) ).

tff(123,plain,
    ( ~ ( inRange(4,nil)
        | ~ ( ( nil = nil )
            | ~ ! [K: $int,T: list] :
                  ( $greatereq($sum(K,$product(-1,4)),0)
                  | ( nil != cons(K,T) )
                  | ~ $greatereq(K,0)
                  | ~ inRange(4,T) ) ) )
  <=> ~ inRange(4,nil) ),
    inference(rewrite,[status(thm)],]) ).

tff(124,plain,
    ( ( $true
      | ~ inRange(4,nil)
      | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
          | ~ $greatereq(tptp_fun_K_1(nil,4),0)
          | ~ inRange(4,tptp_fun_T_0(nil,4))
          | $greatereq(tptp_fun_K_1(nil,4),4) ) )
  <=> $true ),
    inference(rewrite,[status(thm)],]) ).

tff(125,plain,
    ( ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
        | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
        | ~ $greatereq(tptp_fun_K_1(nil,4),0)
        | ~ inRange(4,tptp_fun_T_0(nil,4)) )
  <=> ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
        | ~ $greatereq(tptp_fun_K_1(nil,4),0)
        | ~ inRange(4,tptp_fun_T_0(nil,4))
        | $greatereq(tptp_fun_K_1(nil,4),4) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(126,plain,
    ( ( nil = nil )
  <=> $true ),
    inference(rewrite,[status(thm)],]) ).

tff(127,plain,
    ( ( ( nil = nil )
      | ~ inRange(4,nil)
      | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
          | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
          | ~ $greatereq(tptp_fun_K_1(nil,4),0)
          | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
  <=> ( $true
      | ~ inRange(4,nil)
      | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
          | ~ $greatereq(tptp_fun_K_1(nil,4),0)
          | ~ inRange(4,tptp_fun_T_0(nil,4))
          | $greatereq(tptp_fun_K_1(nil,4),4) ) ) ),
    inference(monotonicity,[status(thm)],[126,125]) ).

tff(128,plain,
    ( ( ( nil = nil )
      | ~ inRange(4,nil)
      | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
          | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
          | ~ $greatereq(tptp_fun_K_1(nil,4),0)
          | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
  <=> $true ),
    inference(transitivity,[status(thm)],[127,124]) ).

tff(129,plain,
    ( ~ ( ( nil = nil )
        | ~ inRange(4,nil)
        | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
            | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
            | ~ $greatereq(tptp_fun_K_1(nil,4),0)
            | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
  <=> ~ $true ),
    inference(monotonicity,[status(thm)],[128]) ).

tff(130,plain,
    ( ~ ( ( nil = nil )
        | ~ inRange(4,nil)
        | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
            | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
            | ~ $greatereq(tptp_fun_K_1(nil,4),0)
            | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
  <=> $false ),
    inference(transitivity,[status(thm)],[129,64]) ).

tff(131,plain,
    ( ( ~ ( ( nil = nil )
          | ~ inRange(4,nil)
          | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
              | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
              | ~ $greatereq(tptp_fun_K_1(nil,4),0)
              | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
      | ~ ( inRange(4,nil)
          | ~ ( ( nil = nil )
              | ~ ! [K: $int,T: list] :
                    ( $greatereq($sum(K,$product(-1,4)),0)
                    | ( nil != cons(K,T) )
                    | ~ $greatereq(K,0)
                    | ~ inRange(4,T) ) ) ) )
  <=> ( $false
      | ~ inRange(4,nil) ) ),
    inference(monotonicity,[status(thm)],[130,123]) ).

tff(132,plain,
    ( ( ~ ( ( nil = nil )
          | ~ inRange(4,nil)
          | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
              | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
              | ~ $greatereq(tptp_fun_K_1(nil,4),0)
              | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
      | ~ ( inRange(4,nil)
          | ~ ( ( nil = nil )
              | ~ ! [K: $int,T: list] :
                    ( $greatereq($sum(K,$product(-1,4)),0)
                    | ( nil != cons(K,T) )
                    | ~ $greatereq(K,0)
                    | ~ inRange(4,T) ) ) ) )
  <=> ~ inRange(4,nil) ),
    inference(transitivity,[status(thm)],[131,122]) ).

tff(133,plain,
    ( ~ ( ~ ( ( nil = nil )
            | ~ inRange(4,nil)
            | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
                | ~ $greatereq(tptp_fun_K_1(nil,4),0)
                | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
        | ~ ( inRange(4,nil)
            | ~ ( ( nil = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( nil != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) )
  <=> ~ ~ inRange(4,nil) ),
    inference(monotonicity,[status(thm)],[132]) ).

tff(134,plain,
    ( ~ ( ~ ( ( nil = nil )
            | ~ inRange(4,nil)
            | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
                | ~ $greatereq(tptp_fun_K_1(nil,4),0)
                | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
        | ~ ( inRange(4,nil)
            | ~ ( ( nil = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( nil != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) )
  <=> inRange(4,nil) ),
    inference(transitivity,[status(thm)],[133,121]) ).

tff(135,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( nil = nil )
              | ~ inRange(4,nil)
              | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
                  | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
                  | ~ $greatereq(tptp_fun_K_1(nil,4),0)
                  | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
          | ~ ( inRange(4,nil)
              | ~ ( ( nil = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,4)),0)
                        | ( nil != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(4,T) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | inRange(4,nil) ) ),
    inference(monotonicity,[status(thm)],[134]) ).

tff(136,plain,
    ( ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | ~ ( ~ ( ( nil = nil )
              | ~ inRange(4,nil)
              | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
                  | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
                  | ~ $greatereq(tptp_fun_K_1(nil,4),0)
                  | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
          | ~ ( inRange(4,nil)
              | ~ ( ( nil = nil )
                  | ~ ! [K: $int,T: list] :
                        ( $greatereq($sum(K,$product(-1,4)),0)
                        | ( nil != cons(K,T) )
                        | ~ $greatereq(K,0)
                        | ~ inRange(4,T) ) ) ) ) )
  <=> ( ~ ! [N: $int,L: list] :
            ~ ( ~ ( ( L = nil )
                  | ~ inRange(N,L)
                  | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                      | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                      | ~ $greatereq(tptp_fun_K_1(L,N),0)
                      | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
              | ~ ( inRange(N,L)
                  | ~ ( ( L = nil )
                      | ~ ! [K: $int,T: list] :
                            ( $greatereq($sum(K,$product(-1,N)),0)
                            | ( L != cons(K,T) )
                            | ~ $greatereq(K,0)
                            | ~ inRange(N,T) ) ) ) )
      | inRange(4,nil) ) ),
    inference(transitivity,[status(thm)],[135,120]) ).

tff(137,plain,
    ( ~ ! [N: $int,L: list] :
          ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
    | ~ ( ~ ( ( nil = nil )
            | ~ inRange(4,nil)
            | ~ ( ( nil != cons(tptp_fun_K_1(nil,4),tptp_fun_T_0(nil,4)) )
                | $lesseq($sum(4,$product(-1,tptp_fun_K_1(nil,4))),0)
                | ~ $greatereq(tptp_fun_K_1(nil,4),0)
                | ~ inRange(4,tptp_fun_T_0(nil,4)) ) )
        | ~ ( inRange(4,nil)
            | ~ ( ( nil = nil )
                | ~ ! [K: $int,T: list] :
                      ( $greatereq($sum(K,$product(-1,4)),0)
                      | ( nil != cons(K,T) )
                      | ~ $greatereq(K,0)
                      | ~ inRange(4,T) ) ) ) ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(138,plain,
    ( ~ ! [N: $int,L: list] :
          ~ ( ~ ( ( L = nil )
                | ~ inRange(N,L)
                | ~ ( ( L != cons(tptp_fun_K_1(L,N),tptp_fun_T_0(L,N)) )
                    | $lesseq($sum(N,$product(-1,tptp_fun_K_1(L,N))),0)
                    | ~ $greatereq(tptp_fun_K_1(L,N),0)
                    | ~ inRange(N,tptp_fun_T_0(L,N)) ) )
            | ~ ( inRange(N,L)
                | ~ ( ( L = nil )
                    | ~ ! [K: $int,T: list] :
                          ( $greatereq($sum(K,$product(-1,N)),0)
                          | ( L != cons(K,T) )
                          | ~ $greatereq(K,0)
                          | ~ inRange(N,T) ) ) ) )
    | inRange(4,nil) ),
    inference(modus_ponens,[status(thm)],[137,136]) ).

tff(139,plain,
    $false,
    inference(unit_resolution,[status(thm)],[138,25,119]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.04/0.12  % Problem  : DAT098_1 : TPTP v8.1.0. Released v6.1.0.
% 0.13/0.13  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.34  % Computer : n022.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 01:52:55 EDT 2022
% 0.13/0.34  % CPUTime  : 
% 0.20/0.35  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.20/0.35  Usage: tptp [options] [-file:]file
% 0.20/0.35    -h, -?       prints this message.
% 0.20/0.35    -smt2        print SMT-LIB2 benchmark.
% 0.20/0.35    -m, -model   generate model.
% 0.20/0.35    -p, -proof   generate proof.
% 0.20/0.35    -c, -core    generate unsat core of named formulas.
% 0.20/0.35    -st, -statistics display statistics.
% 0.20/0.35    -t:timeout   set timeout (in second).
% 0.20/0.35    -smt2status  display status in smt2 format instead of SZS.
% 0.20/0.35    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.20/0.35    -<param>:<value> configuration parameter and value.
% 0.20/0.35    -o:<output-file> file to place output in.
% 0.20/0.39  % SZS status Theorem
% 0.20/0.39  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------