% TIMEFORMAT='%3R'; { time (exec 2>&1; /home/martin/bin/satallax -E /home/martin/.isabelle/contrib/e-2.5-1/x86_64-linux/eprover -p tstp -t 5 /home/martin/judgement-day/tptp-thf/tptp/StrongNorm/prob_145__5210730_1 ) ; }
% This file was generated by Isabelle (most likely Sledgehammer)
% 2020-12-16 14:37:48.722

% Could-be-implicit typings (9)
thf(ty_n_t__List__Olist_It__List__Olist_It__List__Olist_It__LambdaType__Otype_J_J_J, type,
    list_list_list_type : $tType).
thf(ty_n_t__List__Olist_It__List__Olist_It__List__Olist_It__Lambda__OdB_J_J_J, type,
    list_list_list_dB : $tType).
thf(ty_n_t__List__Olist_It__List__Olist_It__LambdaType__Otype_J_J, type,
    list_list_type : $tType).
thf(ty_n_t__List__Olist_It__List__Olist_It__Lambda__OdB_J_J, type,
    list_list_dB : $tType).
thf(ty_n_t__List__Olist_It__LambdaType__Otype_J, type,
    list_type : $tType).
thf(ty_n_t__List__Olist_It__Lambda__OdB_J, type,
    list_dB : $tType).
thf(ty_n_t__LambdaType__Otype, type,
    type : $tType).
thf(ty_n_t__Lambda__OdB, type,
    dB : $tType).
thf(ty_n_t__Nat__Onat, type,
    nat : $tType).

% Explicit typings (59)
thf(sy_c_Groups_Ozero__class_Ozero_001t__Nat__Onat, type,
    zero_zero_nat : nat).
thf(sy_c_InductTermi_OIT, type,
    it : dB > $o).
thf(sy_c_LambdaType_Oshift_001t__LambdaType__Otype, type,
    shift_type : (nat > type) > nat > type > nat > type).
thf(sy_c_LambdaType_Otype_OFun, type,
    fun : type > type > type).
thf(sy_c_LambdaType_Otyping, type,
    typing : (nat > type) > dB > type > $o).
thf(sy_c_LambdaType_Otypings, type,
    typings : (nat > type) > list_dB > list_type > $o).
thf(sy_c_Lambda_OdB_OAbs, type,
    abs : dB > dB).
thf(sy_c_Lambda_OdB_OApp, type,
    app : dB > dB > dB).
thf(sy_c_Lambda_OdB_OVar, type,
    var : nat > dB).
thf(sy_c_Lambda_OdB_Osize__dB, type,
    size_dB : dB > nat).
thf(sy_c_Lambda_Olift, type,
    lift : dB > nat > dB).
thf(sy_c_Lambda_Osubst, type,
    subst : dB > dB > nat > dB).
thf(sy_c_List_Oconcat_001t__List__Olist_It__LambdaType__Otype_J, type,
    concat_list_type : list_list_list_type > list_list_type).
thf(sy_c_List_Oconcat_001t__List__Olist_It__Lambda__OdB_J, type,
    concat_list_dB : list_list_list_dB > list_list_dB).
thf(sy_c_List_Ofoldl_001t__Lambda__OdB_001t__Lambda__OdB, type,
    foldl_dB_dB : (dB > dB > dB) > dB > list_dB > dB).
thf(sy_c_List_Ofoldr_001t__LambdaType__Otype_001t__LambdaType__Otype, type,
    foldr_type_type : (type > type > type) > list_type > type > type).
thf(sy_c_List_Olist_OCons_001t__LambdaType__Otype, type,
    cons_type : type > list_type > list_type).
thf(sy_c_List_Olist_OCons_001t__Lambda__OdB, type,
    cons_dB : dB > list_dB > list_dB).
thf(sy_c_List_Olist_OCons_001t__List__Olist_It__LambdaType__Otype_J, type,
    cons_list_type : list_type > list_list_type > list_list_type).
thf(sy_c_List_Olist_OCons_001t__List__Olist_It__Lambda__OdB_J, type,
    cons_list_dB : list_dB > list_list_dB > list_list_dB).
thf(sy_c_List_Olist_ONil_001t__LambdaType__Otype, type,
    nil_type : list_type).
thf(sy_c_List_Olist_ONil_001t__Lambda__OdB, type,
    nil_dB : list_dB).
thf(sy_c_List_Olist_ONil_001t__List__Olist_It__LambdaType__Otype_J, type,
    nil_list_type : list_list_type).
thf(sy_c_List_Olist_ONil_001t__List__Olist_It__Lambda__OdB_J, type,
    nil_list_dB : list_list_dB).
thf(sy_c_List_Olist_Ocase__list_001_Eo_001t__LambdaType__Otype, type,
    case_list_o_type : $o > (type > list_type > $o) > list_type > $o).
thf(sy_c_List_Olist_Ocase__list_001_Eo_001t__Lambda__OdB, type,
    case_list_o_dB : $o > (dB > list_dB > $o) > list_dB > $o).
thf(sy_c_List_Olist_Ocase__list_001t__List__Olist_It__List__Olist_It__LambdaType__Otype_J_J_001t__LambdaType__Otype, type,
    case_l1358096210e_type : list_list_type > (type > list_type > list_list_type) > list_type > list_list_type).
thf(sy_c_List_Olist_Ocase__list_001t__List__Olist_It__List__Olist_It__Lambda__OdB_J_J_001t__Lambda__OdB, type,
    case_l638797646_dB_dB : list_list_dB > (dB > list_dB > list_list_dB) > list_dB > list_list_dB).
thf(sy_c_List_Olist_Omap_001t__LambdaType__Otype_001t__LambdaType__Otype, type,
    map_type_type : (type > type) > list_type > list_type).
thf(sy_c_List_Olist_Omap_001t__LambdaType__Otype_001t__Lambda__OdB, type,
    map_type_dB : (type > dB) > list_type > list_dB).
thf(sy_c_List_Olist_Omap_001t__Lambda__OdB_001t__LambdaType__Otype, type,
    map_dB_type : (dB > type) > list_dB > list_type).
thf(sy_c_List_Olist_Omap_001t__Lambda__OdB_001t__Lambda__OdB, type,
    map_dB_dB : (dB > dB) > list_dB > list_dB).
thf(sy_c_List_Olist_Omap_001t__List__Olist_It__LambdaType__Otype_J_001t__List__Olist_It__List__Olist_It__LambdaType__Otype_J_J, type,
    map_li368291008t_type : (list_type > list_list_type) > list_list_type > list_list_list_type).
thf(sy_c_List_Olist_Omap_001t__List__Olist_It__Lambda__OdB_J_001t__List__Olist_It__List__Olist_It__Lambda__OdB_J_J, type,
    map_li1620797756ist_dB : (list_dB > list_list_dB) > list_list_dB > list_list_list_dB).
thf(sy_c_List_Olist_Orec__list_001t__List__Olist_It__Lambda__OdB_J_001t__Lambda__OdB, type,
    rec_list_list_dB_dB : list_dB > (dB > list_dB > list_dB > list_dB) > list_dB > list_dB).
thf(sy_c_List_Olistsp_001t__LambdaType__Otype, type,
    listsp_type : (type > $o) > list_type > $o).
thf(sy_c_List_Olistsp_001t__Lambda__OdB, type,
    listsp_dB : (dB > $o) > list_dB > $o).
thf(sy_c_List_On__lists_001t__LambdaType__Otype, type,
    n_lists_type : nat > list_type > list_list_type).
thf(sy_c_List_On__lists_001t__Lambda__OdB, type,
    n_lists_dB : nat > list_dB > list_list_dB).
thf(sy_c_List_Oproduct__lists_001t__LambdaType__Otype, type,
    product_lists_type : list_list_type > list_list_type).
thf(sy_c_List_Oproduct__lists_001t__Lambda__OdB, type,
    product_lists_dB : list_list_dB > list_list_dB).
thf(sy_c_List_Osubseqs_001t__LambdaType__Otype, type,
    subseqs_type : list_type > list_list_type).
thf(sy_c_List_Osubseqs_001t__Lambda__OdB, type,
    subseqs_dB : list_dB > list_list_dB).
thf(sy_v_T_H1____, type,
    t_1 : type).
thf(sy_v_T_H_H____, type,
    t : type).
thf(sy_v_T_H____, type,
    t2 : type).
thf(sy_v_T____, type,
    t3 : type).
thf(sy_v_Ts____, type,
    ts : list_type).
thf(sy_v_a____, type,
    a : dB).
thf(sy_v_as____, type,
    as : list_dB).
thf(sy_v_e1____, type,
    e1 : nat > type).
thf(sy_v_e____, type,
    e : nat > type).
thf(sy_v_i1____, type,
    i1 : nat).
thf(sy_v_i____, type,
    i : nat).
thf(sy_v_n____, type,
    n : nat).
thf(sy_v_rs____, type,
    rs : list_dB).
thf(sy_v_t____, type,
    t4 : dB).
thf(sy_v_u1____, type,
    u1 : dB).
thf(sy_v_u____, type,
    u : dB).

% Relevant facts (179)
thf(fact_0_Var_Oprems_I2_J, axiom,
    ((it @ u1))). % Var.prems(2)
thf(fact_1__092_060open_062IT_At_092_060close_062, axiom,
    ((it @ t4))). % \<open>IT t\<close>
thf(fact_2_uIT, axiom,
    ((it @ u))). % uIT
thf(fact_3_True, axiom,
    ((n = i))). % True
thf(fact_4_MI1, axiom,
    ((![T1 : type, T2 : type, T : dB, E : nat > type, I : nat, T3 : type, U : dB]: ((t3 = (fun @ T1 @ T2)) => ((it @ T) => ((typing @ (shift_type @ E @ I @ T1) @ T @ T3) => ((it @ U) => ((typing @ E @ U @ T1) => (it @ (subst @ T @ U @ I)))))))))). % MI1
thf(fact_5_MI2, axiom,
    ((![T1 : type, T2 : type, T : dB, E : nat > type, I : nat, T3 : type, U : dB]: ((t3 = (fun @ T1 @ T2)) => ((it @ T) => ((typing @ (shift_type @ E @ I @ T2) @ T @ T3) => ((it @ U) => ((typing @ E @ U @ T2) => (it @ (subst @ T @ U @ I)))))))))). % MI2
thf(fact_6_subst__lemma, axiom,
    ((![E : nat > type, T : dB, T3 : type, E2 : nat > type, U : dB, U2 : type, I : nat]: ((typing @ E @ T @ T3) => ((typing @ E2 @ U @ U2) => ((E = (shift_type @ E2 @ I @ U2)) => (typing @ E2 @ (subst @ T @ U @ I) @ T3))))))). % subst_lemma
thf(fact_7_shift__eq, axiom,
    ((![I : nat, J : nat, E : nat > type, T3 : type]: ((I = J) => ((shift_type @ E @ I @ T3 @ J) = T3))))). % shift_eq
thf(fact_8_subst__Var__IT, axiom,
    ((![R : dB, I : nat, J : nat]: ((it @ R) => (it @ (subst @ R @ (var @ I) @ J)))))). % subst_Var_IT
thf(fact_9_uT, axiom,
    ((typing @ e @ u @ t3))). % uT
thf(fact_10_Var__IT, axiom,
    ((![N : nat]: (it @ (var @ N))))). % Var_IT
thf(fact_11_argT, axiom,
    ((typing @ (shift_type @ e @ i @ t3) @ a @ t))). % argT
thf(fact_12_local_OCons, axiom,
    ((rs = (cons_dB @ a @ as)))). % local.Cons
thf(fact_13_Var_Oprems_I3_J, axiom,
    ((typing @ e1 @ u1 @ t3))). % Var.prems(3)
thf(fact_14_subst__eq, axiom,
    ((![K : nat, U : dB]: ((subst @ (var @ K) @ U @ K) = U)))). % subst_eq
thf(fact_15_app__Var__IT, axiom,
    ((![T : dB, I : nat]: ((it @ T) => (it @ (app @ T @ (var @ I))))))). % app_Var_IT
thf(fact_16_dB_Oinject_I2_J, axiom,
    ((![X21 : dB, X22 : dB, Y21 : dB, Y22 : dB]: (((app @ X21 @ X22) = (app @ Y21 @ Y22)) = (((X21 = Y21)) & ((X22 = Y22))))))). % dB.inject(2)
thf(fact_17_dB_Oinject_I1_J, axiom,
    ((![X1 : nat, Y1 : nat]: (((var @ X1) = (var @ Y1)) = (X1 = Y1))))). % dB.inject(1)
thf(fact_18_type_Oinject_I2_J, axiom,
    ((![X21 : type, X22 : type, Y21 : type, Y22 : type]: (((fun @ X21 @ X22) = (fun @ Y21 @ Y22)) = (((X21 = Y21)) & ((X22 = Y22))))))). % type.inject(2)
thf(fact_19_Var_Oprems_I1_J, axiom,
    ((typing @ (shift_type @ e1 @ i1 @ t3) @ (foldl_dB_dB @ app @ (var @ n) @ rs) @ t_1))). % Var.prems(1)
thf(fact_20_Var_Ohyps, axiom,
    ((listsp_dB @ (^[X : dB]: (((it @ X)) & ((![Y : nat > type]: (![Z : type]: (![Aa : dB]: (![Ab : nat]: (((typing @ (shift_type @ Y @ Ab @ t3) @ X @ Z)) => ((((it @ Aa)) => ((((typing @ Y @ Aa @ t3)) => ((it @ (subst @ X @ Aa @ Ab))))))))))))))) @ rs))). % Var.hyps
thf(fact_21_nT, axiom,
    ((typing @ (shift_type @ e @ i @ t3) @ (foldl_dB_dB @ app @ (var @ n) @ rs) @ t2))). % nT
thf(fact_22_dB_Odistinct_I1_J, axiom,
    ((![X1 : nat, X21 : dB, X22 : dB]: (~ (((var @ X1) = (app @ X21 @ X22))))))). % dB.distinct(1)
thf(fact_23_type__induct, axiom,
    ((![P : type > $o, T3 : type]: ((![T4 : type]: ((![T12 : type, T22 : type]: ((T4 = (fun @ T12 @ T22)) => (P @ T12))) => ((![T12 : type, T22 : type]: ((T4 = (fun @ T12 @ T22)) => (P @ T22))) => (P @ T4)))) => (P @ T3))))). % type_induct
thf(fact_24_App, axiom,
    ((![Env : nat > type, S : dB, T3 : type, U2 : type, T : dB]: ((typing @ Env @ S @ (fun @ T3 @ U2)) => ((typing @ Env @ T @ T3) => (typing @ Env @ (app @ S @ T) @ U2)))))). % App
thf(fact_25_typing__elims_I2_J, axiom,
    ((![E : nat > type, T : dB, U : dB, T3 : type]: ((typing @ E @ (app @ T @ U) @ T3) => (~ ((![T4 : type]: ((typing @ E @ T @ (fun @ T4 @ T3)) => (~ ((typing @ E @ U @ T4))))))))))). % typing_elims(2)
thf(fact_26_subst__App, axiom,
    ((![T : dB, U : dB, S : dB, K : nat]: ((subst @ (app @ T @ U) @ S @ K) = (app @ (subst @ T @ S @ K) @ (subst @ U @ S @ K)))))). % subst_App
thf(fact_27_typing_OVar, axiom,
    ((![Env : nat > type, X2 : nat, T3 : type]: (((Env @ X2) = T3) => (typing @ Env @ (var @ X2) @ T3))))). % typing.Var
thf(fact_28_typing__elims_I1_J, axiom,
    ((![E : nat > type, I : nat, T3 : type]: ((typing @ E @ (var @ I) @ T3) => ((E @ I) = T3))))). % typing_elims(1)
thf(fact_29__092_060open_062e_092_060langle_062i_058T_092_060rangle_062_A_092_060turnstile_062_AVar_An_A_092_060degree_062_Aa_A_092_060degree_062_092_060degree_062_Aas_A_058_AT_H_092_060close_062, axiom,
    ((typing @ (shift_type @ e @ i @ t3) @ (foldl_dB_dB @ app @ (app @ (var @ n) @ a) @ as) @ t2))). % \<open>e\<langle>i:T\<rangle> \<turnstile> Var n \<degree> a \<degree>\<degree> as : T'\<close>
thf(fact_30_argsT, axiom,
    ((typings @ (shift_type @ e @ i @ t3) @ as @ ts))). % argsT
thf(fact_31_var__app__type__eq, axiom,
    ((![E : nat > type, I : nat, Ts : list_dB, T3 : type, U2 : type]: ((typing @ E @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ T3) => ((typing @ E @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ U2) => (T3 = U2)))))). % var_app_type_eq
thf(fact_32_headT, axiom,
    ((typing @ (shift_type @ e @ i @ t3) @ (app @ (var @ n) @ a) @ (foldr_type_type @ fun @ ts @ t2)))). % headT
thf(fact_33_varT, axiom,
    ((typing @ (shift_type @ e @ i @ t3) @ (var @ n) @ (fun @ t @ (foldr_type_type @ fun @ ts @ t2))))). % varT
thf(fact_34__092_060open_062_092_060And_062thesis_O_A_I_092_060And_062Ts_O_A_092_060lbrakk_062e_092_060langle_062i_058T_092_060rangle_062_A_092_060turnstile_062_AVar_An_A_092_060degree_062_Aa_A_058_ATs_A_092_060Rrightarrow_062_AT_H_059_Ae_092_060langle_062i_058T_092_060rangle_062_A_092_060tturnstile_062_Aas_A_058_ATs_092_060rbrakk_062_A_092_060Longrightarrow_062_Athesis_J_A_092_060Longrightarrow_062_Athesis_092_060close_062, axiom,
    ((~ ((![Ts2 : list_type]: ((typing @ (shift_type @ e @ i @ t3) @ (app @ (var @ n) @ a) @ (foldr_type_type @ fun @ Ts2 @ t2)) => (~ ((typings @ (shift_type @ e @ i @ t3) @ as @ Ts2))))))))). % \<open>\<And>thesis. (\<And>Ts. \<lbrakk>e\<langle>i:T\<rangle> \<turnstile> Var n \<degree> a : Ts \<Rrightarrow> T'; e\<langle>i:T\<rangle> \<tturnstile> as : Ts\<rbrakk> \<Longrightarrow> thesis) \<Longrightarrow> thesis\<close>
thf(fact_35_list_Oinject, axiom,
    ((![X21 : dB, X22 : list_dB, Y21 : dB, Y22 : list_dB]: (((cons_dB @ X21 @ X22) = (cons_dB @ Y21 @ Y22)) = (((X21 = Y21)) & ((X22 = Y22))))))). % list.inject
thf(fact_36__092_060open_062_092_060And_062thesis_O_A_I_092_060And_062T_H_H_O_A_092_060lbrakk_062e_092_060langle_062i_058T_092_060rangle_062_A_092_060turnstile_062_AVar_An_A_058_AT_H_H_A_092_060Rightarrow_062_ATs_A_092_060Rrightarrow_062_AT_H_059_Ae_092_060langle_062i_058T_092_060rangle_062_A_092_060turnstile_062_Aa_A_058_AT_H_H_092_060rbrakk_062_A_092_060Longrightarrow_062_Athesis_J_A_092_060Longrightarrow_062_Athesis_092_060close_062, axiom,
    ((~ ((![T5 : type]: ((typing @ (shift_type @ e @ i @ t3) @ (var @ n) @ (fun @ T5 @ (foldr_type_type @ fun @ ts @ t2))) => (~ ((typing @ (shift_type @ e @ i @ t3) @ a @ T5))))))))). % \<open>\<And>thesis. (\<And>T''. \<lbrakk>e\<langle>i:T\<rangle> \<turnstile> Var n : T'' \<Rightarrow> Ts \<Rrightarrow> T'; e\<langle>i:T\<rangle> \<turnstile> a : T''\<rbrakk> \<Longrightarrow> thesis) \<Longrightarrow> thesis\<close>
thf(fact_37_Var__apps__eq__Var__apps__conv, axiom,
    ((![M : nat, Rs : list_dB, N : nat, Ss : list_dB]: (((foldl_dB_dB @ app @ (var @ M) @ Rs) = (foldl_dB_dB @ app @ (var @ N) @ Ss)) = (((M = N)) & ((Rs = Ss))))))). % Var_apps_eq_Var_apps_conv
thf(fact_38_listsp__conj__eq, axiom,
    ((![A : dB > $o, B : dB > $o]: ((listsp_dB @ (^[X : dB]: (((A @ X)) & ((B @ X))))) = (^[X : list_dB]: (((listsp_dB @ A @ X)) & ((listsp_dB @ B @ X)))))))). % listsp_conj_eq
thf(fact_39_apps__eq__tail__conv, axiom,
    ((![R : dB, Ts : list_dB, S : dB]: (((foldl_dB_dB @ app @ R @ Ts) = (foldl_dB_dB @ app @ S @ Ts)) = (R = S))))). % apps_eq_tail_conv
thf(fact_40_T, axiom,
    ((t3 = (fun @ t @ (foldr_type_type @ fun @ ts @ t2))))). % T
thf(fact_41_uT_H, axiom,
    ((typing @ e @ u @ (fun @ t @ (foldr_type_type @ fun @ ts @ t2))))). % uT'
thf(fact_42_list__app__typeI, axiom,
    ((![E : nat > type, T : dB, Ts3 : list_type, T3 : type, Ts : list_dB]: ((typing @ E @ T @ (foldr_type_type @ fun @ Ts3 @ T3)) => ((typings @ E @ Ts @ Ts3) => (typing @ E @ (foldl_dB_dB @ app @ T @ Ts) @ T3)))))). % list_app_typeI
thf(fact_43_list__app__typeE, axiom,
    ((![E : nat > type, T : dB, Ts : list_dB, T3 : type]: ((typing @ E @ (foldl_dB_dB @ app @ T @ Ts) @ T3) => (~ ((![Ts2 : list_type]: ((typing @ E @ T @ (foldr_type_type @ fun @ Ts2 @ T3)) => (~ ((typings @ E @ Ts @ Ts2))))))))))). % list_app_typeE
thf(fact_44_list__app__typeD, axiom,
    ((![E : nat > type, T : dB, Ts : list_dB, T3 : type]: ((typing @ E @ (foldl_dB_dB @ app @ T @ Ts) @ T3) => (?[Ts2 : list_type]: ((typing @ E @ T @ (foldr_type_type @ fun @ Ts2 @ T3)) & (typings @ E @ Ts @ Ts2))))))). % list_app_typeD
thf(fact_45_listsp_OCons, axiom,
    ((![A : dB > $o, A2 : dB, L : list_dB]: ((A @ A2) => ((listsp_dB @ A @ L) => (listsp_dB @ A @ (cons_dB @ A2 @ L))))))). % listsp.Cons
thf(fact_46_listspE, axiom,
    ((![A : dB > $o, X2 : dB, L : list_dB]: ((listsp_dB @ A @ (cons_dB @ X2 @ L)) => (~ (((A @ X2) => (~ ((listsp_dB @ A @ L)))))))))). % listspE
thf(fact_47_listsp__simps_I2_J, axiom,
    ((![A : dB > $o, X2 : dB, Xs : list_dB]: ((listsp_dB @ A @ (cons_dB @ X2 @ Xs)) = (((A @ X2)) & ((listsp_dB @ A @ Xs))))))). % listsp_simps(2)
thf(fact_48_foldl__Cons, axiom,
    ((![F : dB > dB > dB, A2 : dB, X2 : dB, Xs : list_dB]: ((foldl_dB_dB @ F @ A2 @ (cons_dB @ X2 @ Xs)) = (foldl_dB_dB @ F @ (F @ A2 @ X2) @ Xs))))). % foldl_Cons
thf(fact_49_var__app__typesE, axiom,
    ((![E : nat > type, I : nat, Ts : list_dB, T3 : type]: ((typing @ E @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ T3) => (~ ((![Ts2 : list_type]: ((typing @ E @ (var @ I) @ (foldr_type_type @ fun @ Ts2 @ T3)) => (~ ((typings @ E @ Ts @ Ts2))))))))))). % var_app_typesE
thf(fact_50_var__app__types, axiom,
    ((![E : nat > type, I : nat, Ts : list_dB, Us : list_dB, T3 : type, Ts3 : list_type, U2 : type]: ((typing @ E @ (foldl_dB_dB @ app @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ Us) @ T3) => ((typings @ E @ Ts @ Ts3) => ((typing @ E @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ U2) => (?[Us2 : list_type]: ((U2 = (foldr_type_type @ fun @ Us2 @ T3)) & (typings @ E @ Us @ Us2))))))))). % var_app_types
thf(fact_51_not__Cons__self2, axiom,
    ((![X2 : dB, Xs : list_dB]: (~ (((cons_dB @ X2 @ Xs) = Xs)))))). % not_Cons_self2
thf(fact_52_IT_OVar, axiom,
    ((![Rs : list_dB, N : nat]: ((listsp_dB @ it @ Rs) => (it @ (foldl_dB_dB @ app @ (var @ N) @ Rs)))))). % IT.Var
thf(fact_53__092_060open_062e_092_060langle_0620_058T_H_H_092_060rangle_062_A_092_060turnstile_062_Alift_Au_A0_A_092_060degree_062_AVar_A0_A_058_ATs_A_092_060Rrightarrow_062_AT_H_092_060close_062, axiom,
    ((typing @ (shift_type @ e @ zero_zero_nat @ t) @ (app @ (lift @ u @ zero_zero_nat) @ (var @ zero_zero_nat)) @ (foldr_type_type @ fun @ ts @ t2)))). % \<open>e\<langle>0:T''\<rangle> \<turnstile> lift u 0 \<degree> Var 0 : Ts \<Rrightarrow> T'\<close>
thf(fact_54_typings_Osimps_I2_J, axiom,
    ((![E : nat > type, T : dB, Ts : list_dB, Ts3 : list_type]: ((typings @ E @ (cons_dB @ T @ Ts) @ Ts3) = (case_list_o_type @ $false @ (^[T6 : type]: (^[Ts4 : list_type]: (((typing @ E @ T @ T6)) & ((typings @ E @ Ts @ Ts4))))) @ Ts3))))). % typings.simps(2)
thf(fact_55__092_060open_062IT_A_Ilift_Au_A0_A_092_060degree_062_AVar_A0_J_092_060close_062, axiom,
    ((it @ (app @ (lift @ u @ zero_zero_nat) @ (var @ zero_zero_nat))))). % \<open>IT (lift u 0 \<degree> Var 0)\<close>
thf(fact_56_substs__lemma, axiom,
    ((![E : nat > type, U : dB, T3 : type, I : nat, Ts : list_dB, Ts3 : list_type]: ((typing @ E @ U @ T3) => ((typings @ (shift_type @ E @ I @ T3) @ Ts @ Ts3) => (typings @ E @ (map_dB_dB @ (^[T7 : dB]: (subst @ T7 @ U @ I)) @ Ts) @ Ts3)))))). % substs_lemma
thf(fact_57_Var__eq__apps__conv, axiom,
    ((![M : nat, S : dB, Ss : list_dB]: (((var @ M) = (foldl_dB_dB @ app @ S @ Ss)) = ((((var @ M) = S)) & ((Ss = nil_dB))))))). % Var_eq_apps_conv
thf(fact_58_subst__map, axiom,
    ((![T : dB, Ts : list_dB, U : dB, I : nat]: ((subst @ (foldl_dB_dB @ app @ T @ Ts) @ U @ I) = (foldl_dB_dB @ app @ (subst @ T @ U @ I) @ (map_dB_dB @ (^[T7 : dB]: (subst @ T7 @ U @ I)) @ Ts)))))). % subst_map
thf(fact_59__092_060open_062IT_A_Ilift_Au_A0_J_092_060close_062, axiom,
    ((it @ (lift @ u @ zero_zero_nat)))). % \<open>IT (lift u 0)\<close>
thf(fact_60_map__ident, axiom,
    (((map_dB_dB @ (^[X : dB]: X)) = (^[Xs2 : list_dB]: Xs2)))). % map_ident
thf(fact_61_list_Omap__disc__iff, axiom,
    ((![F : type > dB, A2 : list_type]: (((map_type_dB @ F @ A2) = nil_dB) = (A2 = nil_type))))). % list.map_disc_iff
thf(fact_62_list_Omap__disc__iff, axiom,
    ((![F : dB > type, A2 : list_dB]: (((map_dB_type @ F @ A2) = nil_type) = (A2 = nil_dB))))). % list.map_disc_iff
thf(fact_63_list_Omap__disc__iff, axiom,
    ((![F : type > type, A2 : list_type]: (((map_type_type @ F @ A2) = nil_type) = (A2 = nil_type))))). % list.map_disc_iff
thf(fact_64_list_Omap__disc__iff, axiom,
    ((![F : dB > dB, A2 : list_dB]: (((map_dB_dB @ F @ A2) = nil_dB) = (A2 = nil_dB))))). % list.map_disc_iff
thf(fact_65_map__is__Nil__conv, axiom,
    ((![F : type > dB, Xs : list_type]: (((map_type_dB @ F @ Xs) = nil_dB) = (Xs = nil_type))))). % map_is_Nil_conv
thf(fact_66_map__is__Nil__conv, axiom,
    ((![F : dB > type, Xs : list_dB]: (((map_dB_type @ F @ Xs) = nil_type) = (Xs = nil_dB))))). % map_is_Nil_conv
thf(fact_67_map__is__Nil__conv, axiom,
    ((![F : type > type, Xs : list_type]: (((map_type_type @ F @ Xs) = nil_type) = (Xs = nil_type))))). % map_is_Nil_conv
thf(fact_68_map__is__Nil__conv, axiom,
    ((![F : dB > dB, Xs : list_dB]: (((map_dB_dB @ F @ Xs) = nil_dB) = (Xs = nil_dB))))). % map_is_Nil_conv
thf(fact_69_Nil__is__map__conv, axiom,
    ((![F : type > dB, Xs : list_type]: ((nil_dB = (map_type_dB @ F @ Xs)) = (Xs = nil_type))))). % Nil_is_map_conv
thf(fact_70_Nil__is__map__conv, axiom,
    ((![F : dB > type, Xs : list_dB]: ((nil_type = (map_dB_type @ F @ Xs)) = (Xs = nil_dB))))). % Nil_is_map_conv
thf(fact_71_Nil__is__map__conv, axiom,
    ((![F : type > type, Xs : list_type]: ((nil_type = (map_type_type @ F @ Xs)) = (Xs = nil_type))))). % Nil_is_map_conv
thf(fact_72_Nil__is__map__conv, axiom,
    ((![F : dB > dB, Xs : list_dB]: ((nil_dB = (map_dB_dB @ F @ Xs)) = (Xs = nil_dB))))). % Nil_is_map_conv
thf(fact_73_listsp__simps_I1_J, axiom,
    ((![A : dB > $o]: (listsp_dB @ A @ nil_dB)))). % listsp_simps(1)
thf(fact_74_listsp__simps_I1_J, axiom,
    ((![A : type > $o]: (listsp_type @ A @ nil_type)))). % listsp_simps(1)
thf(fact_75_subst__lift, axiom,
    ((![T : dB, K : nat, S : dB]: ((subst @ (lift @ T @ K) @ S @ K) = T)))). % subst_lift
thf(fact_76_lift__IT, axiom,
    ((![T : dB, I : nat]: ((it @ T) => (it @ (lift @ T @ I)))))). % lift_IT
thf(fact_77_lift__type, axiom,
    ((![E : nat > type, T : dB, T3 : type, I : nat, U2 : type]: ((typing @ E @ T @ T3) => (typing @ (shift_type @ E @ I @ U2) @ (lift @ T @ I) @ T3))))). % lift_type
thf(fact_78_lift__map, axiom,
    ((![T : dB, Ts : list_dB, I : nat]: ((lift @ (foldl_dB_dB @ app @ T @ Ts) @ I) = (foldl_dB_dB @ app @ (lift @ T @ I) @ (map_dB_dB @ (^[T7 : dB]: (lift @ T7 @ I)) @ Ts)))))). % lift_map
thf(fact_79_list_Odisc__eq__case_I2_J, axiom,
    ((![List : list_dB]: ((~ ((List = nil_dB))) = (case_list_o_dB @ $false @ (^[Uu : dB]: (^[Uv : list_dB]: $true)) @ List))))). % list.disc_eq_case(2)
thf(fact_80_list_Odisc__eq__case_I2_J, axiom,
    ((![List : list_type]: ((~ ((List = nil_type))) = (case_list_o_type @ $false @ (^[Uu : type]: (^[Uv : list_type]: $true)) @ List))))). % list.disc_eq_case(2)
thf(fact_81_list_Odisc__eq__case_I1_J, axiom,
    ((![List : list_dB]: ((List = nil_dB) = (case_list_o_dB @ $true @ (^[Uu : dB]: (^[Uv : list_dB]: $false)) @ List))))). % list.disc_eq_case(1)
thf(fact_82_list_Odisc__eq__case_I1_J, axiom,
    ((![List : list_type]: ((List = nil_type) = (case_list_o_type @ $true @ (^[Uu : type]: (^[Uv : list_type]: $false)) @ List))))). % list.disc_eq_case(1)
thf(fact_83_transpose_Ocases, axiom,
    ((![X2 : list_list_type]: ((~ ((X2 = nil_list_type))) => ((![Xss : list_list_type]: (~ ((X2 = (cons_list_type @ nil_type @ Xss))))) => (~ ((![X3 : type, Xs3 : list_type, Xss : list_list_type]: (~ ((X2 = (cons_list_type @ (cons_type @ X3 @ Xs3) @ Xss)))))))))))). % transpose.cases
thf(fact_84_transpose_Ocases, axiom,
    ((![X2 : list_list_dB]: ((~ ((X2 = nil_list_dB))) => ((![Xss : list_list_dB]: (~ ((X2 = (cons_list_dB @ nil_dB @ Xss))))) => (~ ((![X3 : dB, Xs3 : list_dB, Xss : list_list_dB]: (~ ((X2 = (cons_list_dB @ (cons_dB @ X3 @ Xs3) @ Xss)))))))))))). % transpose.cases
thf(fact_85_list_Omap__ident, axiom,
    ((![T : list_dB]: ((map_dB_dB @ (^[X : dB]: X) @ T) = T)))). % list.map_ident
thf(fact_86_list_Osimps_I4_J, axiom,
    ((![F1 : $o, F2 : type > list_type > $o]: ((case_list_o_type @ F1 @ F2 @ nil_type) = F1)))). % list.simps(4)
thf(fact_87_list_Osimps_I8_J, axiom,
    ((![F : dB > type]: ((map_dB_type @ F @ nil_dB) = nil_type)))). % list.simps(8)
thf(fact_88_list_Osimps_I8_J, axiom,
    ((![F : type > dB]: ((map_type_dB @ F @ nil_type) = nil_dB)))). % list.simps(8)
thf(fact_89_list_Osimps_I8_J, axiom,
    ((![F : type > type]: ((map_type_type @ F @ nil_type) = nil_type)))). % list.simps(8)
thf(fact_90_list_Osimps_I8_J, axiom,
    ((![F : dB > dB]: ((map_dB_dB @ F @ nil_dB) = nil_dB)))). % list.simps(8)
thf(fact_91_list_Ocase__distrib, axiom,
    ((![H : $o > $o, F1 : $o, F2 : type > list_type > $o, List : list_type]: ((H @ (case_list_o_type @ F1 @ F2 @ List)) = (case_list_o_type @ (H @ F1) @ (^[X12 : type]: (^[X23 : list_type]: (H @ (F2 @ X12 @ X23)))) @ List))))). % list.case_distrib
thf(fact_92_lifts__IT, axiom,
    ((![Ts : list_dB]: ((listsp_dB @ it @ Ts) => (listsp_dB @ it @ (map_dB_dB @ (^[T7 : dB]: (lift @ T7 @ zero_zero_nat)) @ Ts)))))). % lifts_IT
thf(fact_93_map__eq__Cons__conv, axiom,
    ((![F : dB > dB, Xs : list_dB, Y2 : dB, Ys : list_dB]: (((map_dB_dB @ F @ Xs) = (cons_dB @ Y2 @ Ys)) = (?[Z : dB]: (?[Zs : list_dB]: (((Xs = (cons_dB @ Z @ Zs))) & (((((F @ Z) = Y2)) & (((map_dB_dB @ F @ Zs) = Ys))))))))))). % map_eq_Cons_conv
thf(fact_94_Cons__eq__map__conv, axiom,
    ((![X2 : dB, Xs : list_dB, F : dB > dB, Ys : list_dB]: (((cons_dB @ X2 @ Xs) = (map_dB_dB @ F @ Ys)) = (?[Z : dB]: (?[Zs : list_dB]: (((Ys = (cons_dB @ Z @ Zs))) & ((((X2 = (F @ Z))) & ((Xs = (map_dB_dB @ F @ Zs)))))))))))). % Cons_eq_map_conv
thf(fact_95_map__eq__Cons__D, axiom,
    ((![F : dB > dB, Xs : list_dB, Y2 : dB, Ys : list_dB]: (((map_dB_dB @ F @ Xs) = (cons_dB @ Y2 @ Ys)) => (?[Z2 : dB, Zs2 : list_dB]: ((Xs = (cons_dB @ Z2 @ Zs2)) & (((F @ Z2) = Y2) & ((map_dB_dB @ F @ Zs2) = Ys)))))))). % map_eq_Cons_D
thf(fact_96_Cons__eq__map__D, axiom,
    ((![X2 : dB, Xs : list_dB, F : dB > dB, Ys : list_dB]: (((cons_dB @ X2 @ Xs) = (map_dB_dB @ F @ Ys)) => (?[Z2 : dB, Zs2 : list_dB]: ((Ys = (cons_dB @ Z2 @ Zs2)) & ((X2 = (F @ Z2)) & (Xs = (map_dB_dB @ F @ Zs2))))))))). % Cons_eq_map_D
thf(fact_97_list_Osimps_I9_J, axiom,
    ((![F : dB > dB, X21 : dB, X22 : list_dB]: ((map_dB_dB @ F @ (cons_dB @ X21 @ X22)) = (cons_dB @ (F @ X21) @ (map_dB_dB @ F @ X22)))))). % list.simps(9)
thf(fact_98_list_Odistinct_I1_J, axiom,
    ((![X21 : type, X22 : list_type]: (~ ((nil_type = (cons_type @ X21 @ X22))))))). % list.distinct(1)
thf(fact_99_list_Odistinct_I1_J, axiom,
    ((![X21 : dB, X22 : list_dB]: (~ ((nil_dB = (cons_dB @ X21 @ X22))))))). % list.distinct(1)
thf(fact_100_list_OdiscI, axiom,
    ((![List : list_type, X21 : type, X22 : list_type]: ((List = (cons_type @ X21 @ X22)) => (~ ((List = nil_type))))))). % list.discI
thf(fact_101_list_OdiscI, axiom,
    ((![List : list_dB, X21 : dB, X22 : list_dB]: ((List = (cons_dB @ X21 @ X22)) => (~ ((List = nil_dB))))))). % list.discI
thf(fact_102_list_Oexhaust, axiom,
    ((![Y2 : list_type]: ((~ ((Y2 = nil_type))) => (~ ((![X212 : type, X222 : list_type]: (~ ((Y2 = (cons_type @ X212 @ X222))))))))))). % list.exhaust
thf(fact_103_list_Oexhaust, axiom,
    ((![Y2 : list_dB]: ((~ ((Y2 = nil_dB))) => (~ ((![X212 : dB, X222 : list_dB]: (~ ((Y2 = (cons_dB @ X212 @ X222))))))))))). % list.exhaust
thf(fact_104_list_Oinducts, axiom,
    ((![P : list_type > $o, List : list_type]: ((P @ nil_type) => ((![X13 : type, X24 : list_type]: ((P @ X24) => (P @ (cons_type @ X13 @ X24)))) => (P @ List)))))). % list.inducts
thf(fact_105_list_Oinducts, axiom,
    ((![P : list_dB > $o, List : list_dB]: ((P @ nil_dB) => ((![X13 : dB, X24 : list_dB]: ((P @ X24) => (P @ (cons_dB @ X13 @ X24)))) => (P @ List)))))). % list.inducts
thf(fact_106_neq__Nil__conv, axiom,
    ((![Xs : list_type]: ((~ ((Xs = nil_type))) = (?[Y : type]: (?[Ys2 : list_type]: (Xs = (cons_type @ Y @ Ys2)))))))). % neq_Nil_conv
thf(fact_107_neq__Nil__conv, axiom,
    ((![Xs : list_dB]: ((~ ((Xs = nil_dB))) = (?[Y : dB]: (?[Ys2 : list_dB]: (Xs = (cons_dB @ Y @ Ys2)))))))). % neq_Nil_conv
thf(fact_108_list__induct2_H, axiom,
    ((![P : list_type > list_type > $o, Xs : list_type, Ys : list_type]: ((P @ nil_type @ nil_type) => ((![X3 : type, Xs3 : list_type]: (P @ (cons_type @ X3 @ Xs3) @ nil_type)) => ((![Y3 : type, Ys3 : list_type]: (P @ nil_type @ (cons_type @ Y3 @ Ys3))) => ((![X3 : type, Xs3 : list_type, Y3 : type, Ys3 : list_type]: ((P @ Xs3 @ Ys3) => (P @ (cons_type @ X3 @ Xs3) @ (cons_type @ Y3 @ Ys3)))) => (P @ Xs @ Ys)))))))). % list_induct2'
thf(fact_109_list__induct2_H, axiom,
    ((![P : list_type > list_dB > $o, Xs : list_type, Ys : list_dB]: ((P @ nil_type @ nil_dB) => ((![X3 : type, Xs3 : list_type]: (P @ (cons_type @ X3 @ Xs3) @ nil_dB)) => ((![Y3 : dB, Ys3 : list_dB]: (P @ nil_type @ (cons_dB @ Y3 @ Ys3))) => ((![X3 : type, Xs3 : list_type, Y3 : dB, Ys3 : list_dB]: ((P @ Xs3 @ Ys3) => (P @ (cons_type @ X3 @ Xs3) @ (cons_dB @ Y3 @ Ys3)))) => (P @ Xs @ Ys)))))))). % list_induct2'
thf(fact_110_list__induct2_H, axiom,
    ((![P : list_dB > list_type > $o, Xs : list_dB, Ys : list_type]: ((P @ nil_dB @ nil_type) => ((![X3 : dB, Xs3 : list_dB]: (P @ (cons_dB @ X3 @ Xs3) @ nil_type)) => ((![Y3 : type, Ys3 : list_type]: (P @ nil_dB @ (cons_type @ Y3 @ Ys3))) => ((![X3 : dB, Xs3 : list_dB, Y3 : type, Ys3 : list_type]: ((P @ Xs3 @ Ys3) => (P @ (cons_dB @ X3 @ Xs3) @ (cons_type @ Y3 @ Ys3)))) => (P @ Xs @ Ys)))))))). % list_induct2'
thf(fact_111_list__induct2_H, axiom,
    ((![P : list_dB > list_dB > $o, Xs : list_dB, Ys : list_dB]: ((P @ nil_dB @ nil_dB) => ((![X3 : dB, Xs3 : list_dB]: (P @ (cons_dB @ X3 @ Xs3) @ nil_dB)) => ((![Y3 : dB, Ys3 : list_dB]: (P @ nil_dB @ (cons_dB @ Y3 @ Ys3))) => ((![X3 : dB, Xs3 : list_dB, Y3 : dB, Ys3 : list_dB]: ((P @ Xs3 @ Ys3) => (P @ (cons_dB @ X3 @ Xs3) @ (cons_dB @ Y3 @ Ys3)))) => (P @ Xs @ Ys)))))))). % list_induct2'
thf(fact_112_splice_Oinduct, axiom,
    ((![P : list_type > list_type > $o, A0 : list_type, A1 : list_type]: ((![X_1 : list_type]: (P @ nil_type @ X_1)) => ((![X3 : type, Xs3 : list_type, Ys3 : list_type]: ((P @ Ys3 @ Xs3) => (P @ (cons_type @ X3 @ Xs3) @ Ys3))) => (P @ A0 @ A1)))))). % splice.induct
thf(fact_113_splice_Oinduct, axiom,
    ((![P : list_dB > list_dB > $o, A0 : list_dB, A1 : list_dB]: ((![X_1 : list_dB]: (P @ nil_dB @ X_1)) => ((![X3 : dB, Xs3 : list_dB, Ys3 : list_dB]: ((P @ Ys3 @ Xs3) => (P @ (cons_dB @ X3 @ Xs3) @ Ys3))) => (P @ A0 @ A1)))))). % splice.induct
thf(fact_114_induct__list012, axiom,
    ((![P : list_type > $o, Xs : list_type]: ((P @ nil_type) => ((![X3 : type]: (P @ (cons_type @ X3 @ nil_type))) => ((![X3 : type, Y3 : type, Zs2 : list_type]: ((P @ Zs2) => ((P @ (cons_type @ Y3 @ Zs2)) => (P @ (cons_type @ X3 @ (cons_type @ Y3 @ Zs2)))))) => (P @ Xs))))))). % induct_list012
thf(fact_115_induct__list012, axiom,
    ((![P : list_dB > $o, Xs : list_dB]: ((P @ nil_dB) => ((![X3 : dB]: (P @ (cons_dB @ X3 @ nil_dB))) => ((![X3 : dB, Y3 : dB, Zs2 : list_dB]: ((P @ Zs2) => ((P @ (cons_dB @ Y3 @ Zs2)) => (P @ (cons_dB @ X3 @ (cons_dB @ Y3 @ Zs2)))))) => (P @ Xs))))))). % induct_list012
thf(fact_116_shuffles_Oinduct, axiom,
    ((![P : list_type > list_type > $o, A0 : list_type, A1 : list_type]: ((![X_1 : list_type]: (P @ nil_type @ X_1)) => ((![Xs3 : list_type]: (P @ Xs3 @ nil_type)) => ((![X3 : type, Xs3 : list_type, Y3 : type, Ys3 : list_type]: ((P @ Xs3 @ (cons_type @ Y3 @ Ys3)) => ((P @ (cons_type @ X3 @ Xs3) @ Ys3) => (P @ (cons_type @ X3 @ Xs3) @ (cons_type @ Y3 @ Ys3))))) => (P @ A0 @ A1))))))). % shuffles.induct
thf(fact_117_shuffles_Oinduct, axiom,
    ((![P : list_dB > list_dB > $o, A0 : list_dB, A1 : list_dB]: ((![X_1 : list_dB]: (P @ nil_dB @ X_1)) => ((![Xs3 : list_dB]: (P @ Xs3 @ nil_dB)) => ((![X3 : dB, Xs3 : list_dB, Y3 : dB, Ys3 : list_dB]: ((P @ Xs3 @ (cons_dB @ Y3 @ Ys3)) => ((P @ (cons_dB @ X3 @ Xs3) @ Ys3) => (P @ (cons_dB @ X3 @ Xs3) @ (cons_dB @ Y3 @ Ys3))))) => (P @ A0 @ A1))))))). % shuffles.induct
thf(fact_118_remdups__adj_Ocases, axiom,
    ((![X2 : list_type]: ((~ ((X2 = nil_type))) => ((![X3 : type]: (~ ((X2 = (cons_type @ X3 @ nil_type))))) => (~ ((![X3 : type, Y3 : type, Xs3 : list_type]: (~ ((X2 = (cons_type @ X3 @ (cons_type @ Y3 @ Xs3))))))))))))). % remdups_adj.cases
thf(fact_119_remdups__adj_Ocases, axiom,
    ((![X2 : list_dB]: ((~ ((X2 = nil_dB))) => ((![X3 : dB]: (~ ((X2 = (cons_dB @ X3 @ nil_dB))))) => (~ ((![X3 : dB, Y3 : dB, Xs3 : list_dB]: (~ ((X2 = (cons_dB @ X3 @ (cons_dB @ Y3 @ Xs3))))))))))))). % remdups_adj.cases
thf(fact_120_sorted__wrt_Oinduct, axiom,
    ((![P : (type > type > $o) > list_type > $o, A0 : type > type > $o, A1 : list_type]: ((![P2 : type > type > $o]: (P @ P2 @ nil_type)) => ((![P2 : type > type > $o, X3 : type, Ys3 : list_type]: ((P @ P2 @ Ys3) => (P @ P2 @ (cons_type @ X3 @ Ys3)))) => (P @ A0 @ A1)))))). % sorted_wrt.induct
thf(fact_121_sorted__wrt_Oinduct, axiom,
    ((![P : (dB > dB > $o) > list_dB > $o, A0 : dB > dB > $o, A1 : list_dB]: ((![P2 : dB > dB > $o]: (P @ P2 @ nil_dB)) => ((![P2 : dB > dB > $o, X3 : dB, Ys3 : list_dB]: ((P @ P2 @ Ys3) => (P @ P2 @ (cons_dB @ X3 @ Ys3)))) => (P @ A0 @ A1)))))). % sorted_wrt.induct
thf(fact_122_remdups__adj_Oinduct, axiom,
    ((![P : list_type > $o, A0 : list_type]: ((P @ nil_type) => ((![X3 : type]: (P @ (cons_type @ X3 @ nil_type))) => ((![X3 : type, Y3 : type, Xs3 : list_type]: (((X3 = Y3) => (P @ (cons_type @ X3 @ Xs3))) => (((~ ((X3 = Y3))) => (P @ (cons_type @ Y3 @ Xs3))) => (P @ (cons_type @ X3 @ (cons_type @ Y3 @ Xs3)))))) => (P @ A0))))))). % remdups_adj.induct
thf(fact_123_remdups__adj_Oinduct, axiom,
    ((![P : list_dB > $o, A0 : list_dB]: ((P @ nil_dB) => ((![X3 : dB]: (P @ (cons_dB @ X3 @ nil_dB))) => ((![X3 : dB, Y3 : dB, Xs3 : list_dB]: (((X3 = Y3) => (P @ (cons_dB @ X3 @ Xs3))) => (((~ ((X3 = Y3))) => (P @ (cons_dB @ Y3 @ Xs3))) => (P @ (cons_dB @ X3 @ (cons_dB @ Y3 @ Xs3)))))) => (P @ A0))))))). % remdups_adj.induct
thf(fact_124_successively_Oinduct, axiom,
    ((![P : (type > type > $o) > list_type > $o, A0 : type > type > $o, A1 : list_type]: ((![P2 : type > type > $o]: (P @ P2 @ nil_type)) => ((![P2 : type > type > $o, X3 : type]: (P @ P2 @ (cons_type @ X3 @ nil_type))) => ((![P2 : type > type > $o, X3 : type, Y3 : type, Xs3 : list_type]: ((P @ P2 @ (cons_type @ Y3 @ Xs3)) => (P @ P2 @ (cons_type @ X3 @ (cons_type @ Y3 @ Xs3))))) => (P @ A0 @ A1))))))). % successively.induct
thf(fact_125_successively_Oinduct, axiom,
    ((![P : (dB > dB > $o) > list_dB > $o, A0 : dB > dB > $o, A1 : list_dB]: ((![P2 : dB > dB > $o]: (P @ P2 @ nil_dB)) => ((![P2 : dB > dB > $o, X3 : dB]: (P @ P2 @ (cons_dB @ X3 @ nil_dB))) => ((![P2 : dB > dB > $o, X3 : dB, Y3 : dB, Xs3 : list_dB]: ((P @ P2 @ (cons_dB @ Y3 @ Xs3)) => (P @ P2 @ (cons_dB @ X3 @ (cons_dB @ Y3 @ Xs3))))) => (P @ A0 @ A1))))))). % successively.induct
thf(fact_126_list__nonempty__induct, axiom,
    ((![Xs : list_type, P : list_type > $o]: ((~ ((Xs = nil_type))) => ((![X3 : type]: (P @ (cons_type @ X3 @ nil_type))) => ((![X3 : type, Xs3 : list_type]: ((~ ((Xs3 = nil_type))) => ((P @ Xs3) => (P @ (cons_type @ X3 @ Xs3))))) => (P @ Xs))))))). % list_nonempty_induct
thf(fact_127_list__nonempty__induct, axiom,
    ((![Xs : list_dB, P : list_dB > $o]: ((~ ((Xs = nil_dB))) => ((![X3 : dB]: (P @ (cons_dB @ X3 @ nil_dB))) => ((![X3 : dB, Xs3 : list_dB]: ((~ ((Xs3 = nil_dB))) => ((P @ Xs3) => (P @ (cons_dB @ X3 @ Xs3))))) => (P @ Xs))))))). % list_nonempty_induct
thf(fact_128_map__tailrec__rev_Oinduct, axiom,
    ((![P : (type > dB) > list_type > list_dB > $o, A0 : type > dB, A1 : list_type, A22 : list_dB]: ((![F3 : type > dB, X_1 : list_dB]: (P @ F3 @ nil_type @ X_1)) => ((![F3 : type > dB, A3 : type, As : list_type, Bs : list_dB]: ((P @ F3 @ As @ (cons_dB @ (F3 @ A3) @ Bs)) => (P @ F3 @ (cons_type @ A3 @ As) @ Bs))) => (P @ A0 @ A1 @ A22)))))). % map_tailrec_rev.induct
thf(fact_129_map__tailrec__rev_Oinduct, axiom,
    ((![P : (dB > dB) > list_dB > list_dB > $o, A0 : dB > dB, A1 : list_dB, A22 : list_dB]: ((![F3 : dB > dB, X_1 : list_dB]: (P @ F3 @ nil_dB @ X_1)) => ((![F3 : dB > dB, A3 : dB, As : list_dB, Bs : list_dB]: ((P @ F3 @ As @ (cons_dB @ (F3 @ A3) @ Bs)) => (P @ F3 @ (cons_dB @ A3 @ As) @ Bs))) => (P @ A0 @ A1 @ A22)))))). % map_tailrec_rev.induct
thf(fact_130_foldl__Nil, axiom,
    ((![F : dB > dB > dB, A2 : dB]: ((foldl_dB_dB @ F @ A2 @ nil_dB) = A2)))). % foldl_Nil
thf(fact_131_listsp_ONil, axiom,
    ((![A : dB > $o]: (listsp_dB @ A @ nil_dB)))). % listsp.Nil
thf(fact_132_listsp_ONil, axiom,
    ((![A : type > $o]: (listsp_type @ A @ nil_type)))). % listsp.Nil
thf(fact_133_lift__types, axiom,
    ((![E : nat > type, Ts : list_dB, Ts3 : list_type, I : nat, U2 : type]: ((typings @ E @ Ts @ Ts3) => (typings @ (shift_type @ E @ I @ U2) @ (map_dB_dB @ (^[T7 : dB]: (lift @ T7 @ I)) @ Ts) @ Ts3))))). % lift_types
thf(fact_134_foldl__map, axiom,
    ((![G : dB > dB > dB, A2 : dB, F : dB > dB, Xs : list_dB]: ((foldl_dB_dB @ G @ A2 @ (map_dB_dB @ F @ Xs)) = (foldl_dB_dB @ (^[A4 : dB]: (^[X : dB]: (G @ A4 @ (F @ X)))) @ A2 @ Xs))))). % foldl_map
thf(fact_135_lift_Osimps_I2_J, axiom,
    ((![S : dB, T : dB, K : nat]: ((lift @ (app @ S @ T) @ K) = (app @ (lift @ S @ K) @ (lift @ T @ K)))))). % lift.simps(2)
thf(fact_136_list_Osimps_I5_J, axiom,
    ((![F1 : $o, F2 : type > list_type > $o, X21 : type, X22 : list_type]: ((case_list_o_type @ F1 @ F2 @ (cons_type @ X21 @ X22)) = (F2 @ X21 @ X22))))). % list.simps(5)
thf(fact_137_listsp_Oinducts, axiom,
    ((![A : type > $o, X2 : list_type, P : list_type > $o]: ((listsp_type @ A @ X2) => ((P @ nil_type) => ((![A3 : type, L2 : list_type]: ((A @ A3) => ((listsp_type @ A @ L2) => ((P @ L2) => (P @ (cons_type @ A3 @ L2)))))) => (P @ X2))))))). % listsp.inducts
thf(fact_138_listsp_Oinducts, axiom,
    ((![A : dB > $o, X2 : list_dB, P : list_dB > $o]: ((listsp_dB @ A @ X2) => ((P @ nil_dB) => ((![A3 : dB, L2 : list_dB]: ((A @ A3) => ((listsp_dB @ A @ L2) => ((P @ L2) => (P @ (cons_dB @ A3 @ L2)))))) => (P @ X2))))))). % listsp.inducts
thf(fact_139_listsp_Osimps, axiom,
    ((listsp_type = (^[A5 : type > $o]: (^[A4 : list_type]: (((A4 = nil_type)) | ((?[B2 : type]: (?[L3 : list_type]: (((A4 = (cons_type @ B2 @ L3))) & ((((A5 @ B2)) & ((listsp_type @ A5 @ L3)))))))))))))). % listsp.simps
thf(fact_140_listsp_Osimps, axiom,
    ((listsp_dB = (^[A5 : dB > $o]: (^[A4 : list_dB]: (((A4 = nil_dB)) | ((?[B2 : dB]: (?[L3 : list_dB]: (((A4 = (cons_dB @ B2 @ L3))) & ((((A5 @ B2)) & ((listsp_dB @ A5 @ L3)))))))))))))). % listsp.simps
thf(fact_141_listsp_Ocases, axiom,
    ((![A : type > $o, A2 : list_type]: ((listsp_type @ A @ A2) => ((~ ((A2 = nil_type))) => (~ ((![A3 : type, L2 : list_type]: ((A2 = (cons_type @ A3 @ L2)) => ((A @ A3) => (~ ((listsp_type @ A @ L2))))))))))))). % listsp.cases
thf(fact_142_listsp_Ocases, axiom,
    ((![A : dB > $o, A2 : list_dB]: ((listsp_dB @ A @ A2) => ((~ ((A2 = nil_dB))) => (~ ((![A3 : dB, L2 : list_dB]: ((A2 = (cons_dB @ A3 @ L2)) => ((A @ A3) => (~ ((listsp_dB @ A @ L2))))))))))))). % listsp.cases
thf(fact_143_IT_Oinducts, axiom,
    ((![X2 : dB, P : dB > $o]: ((it @ X2) => ((![Rs2 : list_dB, N2 : nat]: ((listsp_dB @ (^[X : dB]: (((it @ X)) & ((P @ X)))) @ Rs2) => (P @ (foldl_dB_dB @ app @ (var @ N2) @ Rs2)))) => ((![R2 : dB]: ((it @ R2) => ((P @ R2) => (P @ (abs @ R2))))) => ((![R2 : dB, S2 : dB, Ss2 : list_dB]: ((it @ (foldl_dB_dB @ app @ (subst @ R2 @ S2 @ zero_zero_nat) @ Ss2)) => ((P @ (foldl_dB_dB @ app @ (subst @ R2 @ S2 @ zero_zero_nat) @ Ss2)) => ((it @ S2) => ((P @ S2) => (P @ (foldl_dB_dB @ app @ (app @ (abs @ R2) @ S2) @ Ss2))))))) => (P @ X2)))))))). % IT.inducts
thf(fact_144_IT_Osimps, axiom,
    ((it = (^[A4 : dB]: (((?[Rs3 : list_dB]: (?[N3 : nat]: (((A4 = (foldl_dB_dB @ app @ (var @ N3) @ Rs3))) & ((listsp_dB @ it @ Rs3)))))) | ((((?[R3 : dB]: (((A4 = (abs @ R3))) & ((it @ R3))))) | ((?[R3 : dB]: (?[S3 : dB]: (?[Ss3 : list_dB]: (((A4 = (foldl_dB_dB @ app @ (app @ (abs @ R3) @ S3) @ Ss3))) & ((((it @ (foldl_dB_dB @ app @ (subst @ R3 @ S3 @ zero_zero_nat) @ Ss3))) & ((it @ S3)))))))))))))))). % IT.simps
thf(fact_145_IT_Ocases, axiom,
    ((![A2 : dB]: ((it @ A2) => ((![Rs2 : list_dB]: ((?[N2 : nat]: (A2 = (foldl_dB_dB @ app @ (var @ N2) @ Rs2))) => (~ ((listsp_dB @ it @ Rs2))))) => ((![R2 : dB]: ((A2 = (abs @ R2)) => (~ ((it @ R2))))) => (~ ((![R2 : dB, S2 : dB, Ss2 : list_dB]: ((A2 = (foldl_dB_dB @ app @ (app @ (abs @ R2) @ S2) @ Ss2)) => ((it @ (foldl_dB_dB @ app @ (subst @ R2 @ S2 @ zero_zero_nat) @ Ss2)) => (~ ((it @ S2)))))))))))))). % IT.cases
thf(fact_146_typing_Oinducts, axiom,
    ((![X1 : nat > type, X25 : dB, X32 : type, P : (nat > type) > dB > type > $o]: ((typing @ X1 @ X25 @ X32) => ((![Env2 : nat > type, X3 : nat, T4 : type]: (((Env2 @ X3) = T4) => (P @ Env2 @ (var @ X3) @ T4))) => ((![Env2 : nat > type, T4 : type, T8 : dB, U3 : type]: ((typing @ (shift_type @ Env2 @ zero_zero_nat @ T4) @ T8 @ U3) => ((P @ (shift_type @ Env2 @ zero_zero_nat @ T4) @ T8 @ U3) => (P @ Env2 @ (abs @ T8) @ (fun @ T4 @ U3))))) => ((![Env2 : nat > type, S2 : dB, T4 : type, U3 : type, T8 : dB]: ((typing @ Env2 @ S2 @ (fun @ T4 @ U3)) => ((P @ Env2 @ S2 @ (fun @ T4 @ U3)) => ((typing @ Env2 @ T8 @ T4) => ((P @ Env2 @ T8 @ T4) => (P @ Env2 @ (app @ S2 @ T8) @ U3)))))) => (P @ X1 @ X25 @ X32)))))))). % typing.inducts
thf(fact_147_dB_Oinject_I3_J, axiom,
    ((![X32 : dB, Y32 : dB]: (((abs @ X32) = (abs @ Y32)) = (X32 = Y32))))). % dB.inject(3)
thf(fact_148_Abs__apps__eq__Abs__apps__conv, axiom,
    ((![R : dB, Rs : list_dB, S : dB, Ss : list_dB]: (((foldl_dB_dB @ app @ (abs @ R) @ Rs) = (foldl_dB_dB @ app @ (abs @ S) @ Ss)) = (((R = S)) & ((Rs = Ss))))))). % Abs_apps_eq_Abs_apps_conv
thf(fact_149_Abs__eq__apps__conv, axiom,
    ((![R : dB, S : dB, Ss : list_dB]: (((abs @ R) = (foldl_dB_dB @ app @ S @ Ss)) = ((((abs @ R) = S)) & ((Ss = nil_dB))))))). % Abs_eq_apps_conv
thf(fact_150_apps__eq__Abs__conv, axiom,
    ((![S : dB, Ss : list_dB, R : dB]: (((foldl_dB_dB @ app @ S @ Ss) = (abs @ R)) = (((S = (abs @ R))) & ((Ss = nil_dB))))))). % apps_eq_Abs_conv
thf(fact_151_dB_Odistinct_I5_J, axiom,
    ((![X21 : dB, X22 : dB, X32 : dB]: (~ (((app @ X21 @ X22) = (abs @ X32))))))). % dB.distinct(5)
thf(fact_152_dB_Odistinct_I3_J, axiom,
    ((![X1 : nat, X32 : dB]: (~ (((var @ X1) = (abs @ X32))))))). % dB.distinct(3)
thf(fact_153_Lambda, axiom,
    ((![R : dB]: ((it @ R) => (it @ (abs @ R)))))). % Lambda
thf(fact_154_dB_Oexhaust, axiom,
    ((![Y2 : dB]: ((![X13 : nat]: (~ ((Y2 = (var @ X13))))) => ((![X212 : dB, X222 : dB]: (~ ((Y2 = (app @ X212 @ X222))))) => (~ ((![X33 : dB]: (~ ((Y2 = (abs @ X33)))))))))))). % dB.exhaust
thf(fact_155_dB_Oinduct, axiom,
    ((![P : dB > $o, DB : dB]: ((![X3 : nat]: (P @ (var @ X3))) => ((![X1a : dB, X24 : dB]: ((P @ X1a) => ((P @ X24) => (P @ (app @ X1a @ X24))))) => ((![X3 : dB]: ((P @ X3) => (P @ (abs @ X3)))) => (P @ DB))))))). % dB.induct
thf(fact_156_typings_Osimps_I1_J, axiom,
    ((![E : nat > type, Ts3 : list_type]: ((typings @ E @ nil_dB @ Ts3) = (Ts3 = nil_type))))). % typings.simps(1)
thf(fact_157_zero__reorient, axiom,
    ((![X2 : nat]: ((zero_zero_nat = X2) = (X2 = zero_zero_nat))))). % zero_reorient
thf(fact_158_Var__apps__neq__Abs__apps, axiom,
    ((![N : nat, Ts : list_dB, R : dB, Ss : list_dB]: (~ (((foldl_dB_dB @ app @ (var @ N) @ Ts) = (foldl_dB_dB @ app @ (abs @ R) @ Ss))))))). % Var_apps_neq_Abs_apps
thf(fact_159_Abs__App__neq__Var__apps, axiom,
    ((![S : dB, T : dB, N : nat, Ss : list_dB]: (~ (((app @ (abs @ S) @ T) = (foldl_dB_dB @ app @ (var @ N) @ Ss))))))). % Abs_App_neq_Var_apps
thf(fact_160_ex__head__tail, axiom,
    ((![T : dB]: (?[Ts5 : list_dB, H2 : dB]: ((T = (foldl_dB_dB @ app @ H2 @ Ts5)) & ((?[N2 : nat]: (H2 = (var @ N2))) | (?[U4 : dB]: (H2 = (abs @ U4))))))))). % ex_head_tail
thf(fact_161_abs__typeE, axiom,
    ((![E : nat > type, T : dB, T3 : type]: ((typing @ E @ (abs @ T) @ T3) => (~ ((![U3 : type, V : type]: (~ ((typing @ (shift_type @ E @ zero_zero_nat @ U3) @ T @ V)))))))))). % abs_typeE
thf(fact_162_typing__elims_I3_J, axiom,
    ((![E : nat > type, T : dB, T3 : type]: ((typing @ E @ (abs @ T) @ T3) => (~ ((![T4 : type, U3 : type]: ((T3 = (fun @ T4 @ U3)) => (~ ((typing @ (shift_type @ E @ zero_zero_nat @ T4) @ T @ U3))))))))))). % typing_elims(3)
thf(fact_163_Abs, axiom,
    ((![Env : nat > type, T3 : type, T : dB, U2 : type]: ((typing @ (shift_type @ Env @ zero_zero_nat @ T3) @ T @ U2) => (typing @ Env @ (abs @ T) @ (fun @ T3 @ U2)))))). % Abs
thf(fact_164_Beta, axiom,
    ((![R : dB, S : dB, Ss : list_dB]: ((it @ (foldl_dB_dB @ app @ (subst @ R @ S @ zero_zero_nat) @ Ss)) => ((it @ S) => (it @ (foldl_dB_dB @ app @ (app @ (abs @ R) @ S) @ Ss))))))). % Beta
thf(fact_165_typing_Ocases, axiom,
    ((![A1 : nat > type, A22 : dB, A32 : type]: ((typing @ A1 @ A22 @ A32) => ((![X3 : nat]: ((A22 = (var @ X3)) => (~ (((A1 @ X3) = A32))))) => ((![T4 : type, T8 : dB]: ((A22 = (abs @ T8)) => (![U3 : type]: ((A32 = (fun @ T4 @ U3)) => (~ ((typing @ (shift_type @ A1 @ zero_zero_nat @ T4) @ T8 @ U3))))))) => (~ ((![S2 : dB, T4 : type, U3 : type, T8 : dB]: ((A22 = (app @ S2 @ T8)) => ((A32 = U3) => ((typing @ A1 @ S2 @ (fun @ T4 @ U3)) => (~ ((typing @ A1 @ T8 @ T4))))))))))))))). % typing.cases
thf(fact_166_typing_Osimps, axiom,
    ((typing = (^[A12 : nat > type]: (^[A23 : dB]: (^[A33 : type]: (((?[Env3 : nat > type]: (?[X : nat]: (?[T6 : type]: (((A12 = Env3)) & ((((A23 = (var @ X))) & ((((A33 = T6)) & (((Env3 @ X) = T6))))))))))) | ((((?[Env3 : nat > type]: (?[T6 : type]: (?[T7 : dB]: (?[U5 : type]: (((A12 = Env3)) & ((((A23 = (abs @ T7))) & ((((A33 = (fun @ T6 @ U5))) & ((typing @ (shift_type @ Env3 @ zero_zero_nat @ T6) @ T7 @ U5)))))))))))) | ((?[Env3 : nat > type]: (?[S3 : dB]: (?[T6 : type]: (?[U5 : type]: (?[T7 : dB]: (((A12 = Env3)) & ((((A23 = (app @ S3 @ T7))) & ((((A33 = U5)) & ((((typing @ Env3 @ S3 @ (fun @ T6 @ U5))) & ((typing @ Env3 @ T7 @ T6)))))))))))))))))))))))). % typing.simps
thf(fact_167_n__lists__Nil, axiom,
    ((![N : nat]: (((N = zero_zero_nat) => ((n_lists_dB @ N @ nil_dB) = (cons_list_dB @ nil_dB @ nil_list_dB))) & ((~ ((N = zero_zero_nat))) => ((n_lists_dB @ N @ nil_dB) = nil_list_dB)))))). % n_lists_Nil
thf(fact_168_n__lists__Nil, axiom,
    ((![N : nat]: (((N = zero_zero_nat) => ((n_lists_type @ N @ nil_type) = (cons_list_type @ nil_type @ nil_list_type))) & ((~ ((N = zero_zero_nat))) => ((n_lists_type @ N @ nil_type) = nil_list_type)))))). % n_lists_Nil
thf(fact_169_n__lists_Osimps_I1_J, axiom,
    ((![Xs : list_dB]: ((n_lists_dB @ zero_zero_nat @ Xs) = (cons_list_dB @ nil_dB @ nil_list_dB))))). % n_lists.simps(1)
thf(fact_170_n__lists_Osimps_I1_J, axiom,
    ((![Xs : list_type]: ((n_lists_type @ zero_zero_nat @ Xs) = (cons_list_type @ nil_type @ nil_list_type))))). % n_lists.simps(1)
thf(fact_171_product__lists_Osimps_I1_J, axiom,
    (((product_lists_dB @ nil_list_dB) = (cons_list_dB @ nil_dB @ nil_list_dB)))). % product_lists.simps(1)
thf(fact_172_product__lists_Osimps_I1_J, axiom,
    (((product_lists_type @ nil_list_type) = (cons_list_type @ nil_type @ nil_list_type)))). % product_lists.simps(1)
thf(fact_173_map__rec, axiom,
    ((map_dB_dB = (^[F4 : dB > dB]: (rec_list_list_dB_dB @ nil_dB @ (^[X : dB]: (^[Uu : list_dB]: (cons_dB @ (F4 @ X))))))))). % map_rec
thf(fact_174_subseqs_Osimps_I1_J, axiom,
    (((subseqs_dB @ nil_dB) = (cons_list_dB @ nil_dB @ nil_list_dB)))). % subseqs.simps(1)
thf(fact_175_subseqs_Osimps_I1_J, axiom,
    (((subseqs_type @ nil_type) = (cons_list_type @ nil_type @ nil_list_type)))). % subseqs.simps(1)
thf(fact_176_dB_Osize__gen_I1_J, axiom,
    ((![X1 : nat]: ((size_dB @ (var @ X1)) = zero_zero_nat)))). % dB.size_gen(1)
thf(fact_177_transpose_Oinduct, axiom,
    ((![P : list_list_type > $o, A0 : list_list_type]: ((P @ nil_list_type) => ((![Xss : list_list_type]: ((P @ Xss) => (P @ (cons_list_type @ nil_type @ Xss)))) => ((![X3 : type, Xs3 : list_type, Xss : list_list_type]: ((P @ (cons_list_type @ Xs3 @ (concat_list_type @ (map_li368291008t_type @ (case_l1358096210e_type @ nil_list_type @ (^[H3 : type]: (^[T7 : list_type]: (cons_list_type @ T7 @ nil_list_type)))) @ Xss)))) => (P @ (cons_list_type @ (cons_type @ X3 @ Xs3) @ Xss)))) => (P @ A0))))))). % transpose.induct
thf(fact_178_transpose_Oinduct, axiom,
    ((![P : list_list_dB > $o, A0 : list_list_dB]: ((P @ nil_list_dB) => ((![Xss : list_list_dB]: ((P @ Xss) => (P @ (cons_list_dB @ nil_dB @ Xss)))) => ((![X3 : dB, Xs3 : list_dB, Xss : list_list_dB]: ((P @ (cons_list_dB @ Xs3 @ (concat_list_dB @ (map_li1620797756ist_dB @ (case_l638797646_dB_dB @ nil_list_dB @ (^[H3 : dB]: (^[T7 : list_dB]: (cons_list_dB @ T7 @ nil_list_dB)))) @ Xss)))) => (P @ (cons_list_dB @ (cons_dB @ X3 @ Xs3) @ Xss)))) => (P @ A0))))))). % transpose.induct

% Conjectures (1)
thf(conj_0, conjecture,
    ((![E3 : nat > type, T9 : type, U4 : dB, I2 : nat]: ((~ ((typing @ (shift_type @ E3 @ I2 @ t3) @ a @ T9))) | ((~ ((it @ U4))) | ((~ ((typing @ E3 @ U4 @ t3))) | (it @ (subst @ a @ U4 @ I2)))))))).
