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

View Problem - Process Solution

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

% Computer : n014.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 : Sun Sep 18 04:58:31 EDT 2022

% Result   : Unsatisfiable 0.21s 0.54s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    6
%            Number of leaves      :   37
% Syntax   : Number of formulae    :   50 (   9 unt;  24 typ;   0 def)
%            Number of atoms       :  133 (   0 equ)
%            Maximal formula atoms :   12 (   5 avg)
%            Number of connectives :  187 (  88   ~;  84   |;   0   &)
%                                         (  15 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   12 (   6 avg)
%            Maximal term depth    :    9 (   2 avg)
%            Number of FOOLs       :    8 (   8 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   34 (  11   >;  23   *;   0   +;   0  <<)
%            Number of predicates  :    7 (   6 usr;   1 prp; 0-3 aty)
%            Number of functors    :   22 (  22 usr;  13 con; 0-5 aty)
%            Number of variables   :  105 (  95   !;   0   ?; 105   :)

% Comments : 
%------------------------------------------------------------------------------
tff(c_Type_Otyping_type,type,
    c_Type_Otyping: ( $i * $i * $i ) > $o ).

tff(v_T_H_____type,type,
    v_T_H____: $i ).

tff(c_List_Ofoldl_type,type,
    c_List_Ofoldl: ( $i * $i * $i * $i * $i ) > $i ).

tff(tc_Lambda_OdB_type,type,
    tc_Lambda_OdB: $i ).

tff(c_List_Omap_type,type,
    c_List_Omap: ( $i * $i * $i * $i ) > $i ).

tff(v_as_____type,type,
    v_as____: $i ).

tff(hAPP_type,type,
    hAPP: ( $i * $i ) > $i ).

tff(v_i_____type,type,
    v_i____: $i ).

tff(c_COMBC_type,type,
    c_COMBC: ( $i * $i * $i * $i ) > $i ).

tff(tc_nat_type,type,
    tc_nat: $i ).

tff(v_u_____type,type,
    v_u____: $i ).

tff(tc_fun_type,type,
    tc_fun: ( $i * $i ) > $i ).

tff(c_Lambda_Osubst_type,type,
    c_Lambda_Osubst: $i ).

tff(c_HOL_Ozero__class_Ozero_type,type,
    c_HOL_Ozero__class_Ozero: $i > $i ).

tff(c_Lambda_Olift_type,type,
    c_Lambda_Olift: $i ).

tff(c_Lambda_OdB_OVar_type,type,
    c_Lambda_OdB_OVar: $i > $i ).

tff(c_Lambda_OdB_OApp_type,type,
    c_Lambda_OdB_OApp: $i ).

tff(c_Type_Oshift_type,type,
    c_Type_Oshift: ( $i * $i * $i * $i ) > $i ).

tff(tc_Type_Otype_type,type,
    tc_Type_Otype: $i ).

tff(c_List_Ofoldr_type,type,
    c_List_Ofoldr: ( $i * $i * $i * $i * $i ) > $i ).

tff(v_Ts_____type,type,
    v_Ts____: $i ).

tff(c_Type_Otype_OFun_type,type,
    c_Type_Otype_OFun: $i ).

tff(v_e_____type,type,
    v_e____: $i ).

tff(c_Type_Otypings_type,type,
    c_Type_Otypings: ( $i * $i * $i ) > $o ).

tff(1,plain,
    ( ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____)
  <=> ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_conjecture_0) ).

tff(3,plain,
    ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ( c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
  <=> c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) ),
    inference(rewrite,[status(thm)],]) ).

tff(5,axiom,
    c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_CHAINED_0_01) ).

tff(6,plain,
    c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)),
    inference(modus_ponens,[status(thm)],[5,4]) ).

tff(7,plain,
    ( c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
  <=> c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____) ),
    inference(rewrite,[status(thm)],]) ).

tff(8,axiom,
    c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_CHAINED_0) ).

tff(9,plain,
    c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____),
    inference(modus_ponens,[status(thm)],[8,7]) ).

tff(10,plain,
    ^ [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
      refl(
        ( ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
          | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
          | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
      <=> ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
          | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
          | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ) )),
    inference(bind,[status(th)],]) ).

tff(11,plain,
    ( ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
        ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
        | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
        | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
  <=> ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
        ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
        | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
        | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ) ),
    inference(quant_intro,[status(thm)],[10]) ).

tff(12,plain,
    ( ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
        ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
        | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
        | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
  <=> ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
        ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
        | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
        | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(13,plain,
    ^ [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
      trans(
        monotonicity(
          rewrite(
            ( ( c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T)
              | ~ c_Type_Otypings(V_e,V_ts,V_Ts) )
          <=> ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
              | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ) )),
          ( ( c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T)
            | ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype)) )
        <=> ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype)) ) )),
        rewrite(
          ( ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype)) )
        <=> ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ) )),
        ( ( c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T)
          | ~ c_Type_Otypings(V_e,V_ts,V_Ts)
          | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype)) )
      <=> ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
          | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
          | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ) )),
    inference(bind,[status(th)],]) ).

tff(14,plain,
    ( ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
        ( c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T)
        | ~ c_Type_Otypings(V_e,V_ts,V_Ts)
        | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype)) )
  <=> ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
        ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
        | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
        | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ) ),
    inference(quant_intro,[status(thm)],[13]) ).

tff(15,axiom,
    ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
      ( c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T)
      | ~ c_Type_Otypings(V_e,V_ts,V_Ts)
      | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_list__app__typeI_0) ).

tff(16,plain,
    ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
      ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
      | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
      | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ),
    inference(modus_ponens,[status(thm)],[15,14]) ).

tff(17,plain,
    ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
      ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
      | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
      | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ),
    inference(modus_ponens,[status(thm)],[16,12]) ).

tff(18,plain,
    ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
      ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
      | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
      | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ),
    inference(skolemize,[status(sab)],[17]) ).

tff(19,plain,
    ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
      ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
      | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
      | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) ),
    inference(modus_ponens,[status(thm)],[18,11]) ).

tff(20,plain,
    ( ( ~ ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
            ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____)
      | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) )
  <=> ( ~ ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
            ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____)
      | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(21,plain,
    ( ( ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____) )
  <=> ( c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____)
      | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(22,plain,
    ( ( ~ ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
            ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
      | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____) )
  <=> ( ~ ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
            ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____)
      | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) ) ),
    inference(monotonicity,[status(thm)],[21]) ).

tff(23,plain,
    ( ( ~ ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
            ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
      | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____) )
  <=> ( ~ ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
            ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
            | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
            | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____)
      | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) ) ),
    inference(transitivity,[status(thm)],[22,20]) ).

tff(24,plain,
    ( ~ ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
          ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
          | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
          | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
    | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
    | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))
    | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____) ),
    inference(quant_inst,[status(thm)],]) ).

tff(25,plain,
    ( ~ ! [V_T: $i,V_ts: $i,V_t: $i,V_e: $i,V_Ts: $i] :
          ( ~ c_Type_Otypings(V_e,V_ts,V_Ts)
          | ~ c_Type_Otyping(V_e,V_t,c_List_Ofoldr(c_Type_Otype_OFun,V_Ts,V_T,tc_Type_Otype,tc_Type_Otype))
          | c_Type_Otyping(V_e,c_List_Ofoldl(c_Lambda_OdB_OApp,V_t,V_ts,tc_Lambda_OdB,tc_Lambda_OdB),V_T) )
    | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Ofoldl(c_Lambda_OdB_OApp,c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_T_H____)
    | ~ c_Type_Otypings(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_List_Omap(hAPP(c_COMBC(c_Lambda_Olift,tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Omap(hAPP(c_COMBC(hAPP(c_COMBC(c_Lambda_Osubst,tc_Lambda_OdB,tc_Lambda_OdB,tc_fun(tc_nat,tc_Lambda_OdB)),v_u____),tc_Lambda_OdB,tc_nat,tc_Lambda_OdB),v_i____),v_as____,tc_Lambda_OdB,tc_Lambda_OdB),tc_Lambda_OdB,tc_Lambda_OdB),v_Ts____)
    | ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype),tc_Type_Otype),c_Lambda_OdB_OVar(c_HOL_Ozero__class_Ozero(tc_nat)),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)) ),
    inference(modus_ponens,[status(thm)],[24,23]) ).

tff(26,plain,
    $false,
    inference(unit_resolution,[status(thm)],[25,19,9,6,3]) ).

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