% 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_270__5212306_1 ) ; }
% This file was generated by Isabelle (most likely Sledgehammer)
% 2020-12-16 14:38:48.156

% Could-be-implicit typings (9)
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__Set__Oset_It__Lambda__OdB_J, type,
    set_dB : $tType).
thf(ty_n_t__Set__Oset_It__Nat__Onat_J, type,
    set_nat : $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 (50)
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_Obeta, type,
    beta : dB > dB > $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_Oliftn, type,
    liftn : nat > dB > nat > dB).
thf(sy_c_Lambda_Osubst, type,
    subst : dB > dB > nat > dB).
thf(sy_c_Lambda_Osubstn, type,
    substn : dB > dB > nat > dB).
thf(sy_c_ListOrder_Ostep1_001t__Lambda__OdB, type,
    step1_dB : (dB > dB > $o) > list_dB > list_dB > $o).
thf(sy_c_List_Oappend_001t__LambdaType__Otype, type,
    append_type : list_type > list_type > list_type).
thf(sy_c_List_Oappend_001t__Lambda__OdB, type,
    append_dB : list_dB > list_dB > list_dB).
thf(sy_c_List_Ocount__list_001t__LambdaType__Otype, type,
    count_list_type : list_type > type > nat).
thf(sy_c_List_Ocount__list_001t__Lambda__OdB, type,
    count_list_dB : list_dB > dB > nat).
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_Oset_001t__Lambda__OdB, type,
    set_dB2 : list_dB > set_dB).
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_Onths_001t__LambdaType__Otype, type,
    nths_type : list_type > set_nat > list_type).
thf(sy_c_List_Onths_001t__Lambda__OdB, type,
    nths_dB : list_dB > set_nat > list_dB).
thf(sy_c_Nat_Osize__class_Osize_001t__Lambda__OdB, type,
    size_size_dB : dB > nat).
thf(sy_c_Nat_Osize__class_Osize_001t__List__Olist_It__LambdaType__Otype_J, type,
    size_size_list_type : list_type > nat).
thf(sy_c_Nat_Osize__class_Osize_001t__List__Olist_It__Lambda__OdB_J, type,
    size_size_list_dB : list_dB > nat).
thf(sy_c_Orderings_Oord__class_Oless_001t__Nat__Onat, type,
    ord_less_nat : nat > nat > $o).
thf(sy_c_member_001t__Lambda__OdB, type,
    member_dB : dB > set_dB > $o).
thf(sy_c_member_001t__Nat__Onat, type,
    member_nat : nat > set_nat > $o).
thf(sy_v_T, type,
    t : type).
thf(sy_v_Ta____, type,
    ta : type).
thf(sy_v_U____, type,
    u : type).
thf(sy_v_e, type,
    e : nat > type).
thf(sy_v_ea____, type,
    ea : nat > type).
thf(sy_v_s____, type,
    s : dB).
thf(sy_v_t, type,
    t2 : dB).
thf(sy_v_ta____, type,
    ta2 : dB).

% Relevant facts (147)
thf(fact_0_assms, axiom,
    ((typing @ e @ t2 @ t))). % assms
thf(fact_1_App_Ohyps_I3_J, axiom,
    ((typing @ ea @ ta2 @ ta))). % App.hyps(3)
thf(fact_2__092_060open_062e_092_060langle_0620_058T_A_092_060Rightarrow_062_AU_092_060rangle_062_A_092_060turnstile_062_AVar_A0_A_058_AT_A_092_060Rightarrow_062_AU_092_060close_062, axiom,
    ((typing @ (shift_type @ ea @ zero_zero_nat @ (fun @ ta @ u)) @ (var @ zero_zero_nat) @ (fun @ ta @ u)))). % \<open>e\<langle>0:T \<Rightarrow> U\<rangle> \<turnstile> Var 0 : T \<Rightarrow> U\<close>
thf(fact_3__092_060open_062e_092_060langle_0620_058T_A_092_060Rightarrow_062_AU_092_060rangle_062_A_092_060turnstile_062_Alift_At_A0_A_058_AT_092_060close_062, axiom,
    ((typing @ (shift_type @ ea @ zero_zero_nat @ (fun @ ta @ u)) @ (lift @ ta2 @ zero_zero_nat) @ ta))). % \<open>e\<langle>0:T \<Rightarrow> U\<rangle> \<turnstile> lift t 0 : T\<close>
thf(fact_4_App_Ohyps_I4_J, axiom,
    ((it @ ta2))). % App.hyps(4)
thf(fact_5_App_Ohyps_I1_J, axiom,
    ((typing @ ea @ s @ (fun @ ta @ u)))). % App.hyps(1)
thf(fact_6_lift__type, axiom,
    ((![E : nat > type, T : dB, T2 : type, I : nat, U : type]: ((typing @ E @ T @ T2) => (typing @ (shift_type @ E @ I @ U) @ (lift @ T @ I) @ T2))))). % lift_type
thf(fact_7__092_060open_062IT_A_IVar_A0_A_092_060degree_062_Alift_At_A0_J_092_060close_062, axiom,
    ((it @ (app @ (var @ zero_zero_nat) @ (lift @ ta2 @ zero_zero_nat))))). % \<open>IT (Var 0 \<degree> lift t 0)\<close>
thf(fact_8__092_060open_062IT_A_Ilift_At_A0_J_092_060close_062, axiom,
    ((it @ (lift @ ta2 @ zero_zero_nat)))). % \<open>IT (lift t 0)\<close>
thf(fact_9_typing__elims_I2_J, axiom,
    ((![E : nat > type, T : dB, U2 : dB, T2 : type]: ((typing @ E @ (app @ T @ U2) @ T2) => (~ ((![T3 : type]: ((typing @ E @ T @ (fun @ T3 @ T2)) => (~ ((typing @ E @ U2 @ T3))))))))))). % typing_elims(2)
thf(fact_10_typing_OApp, axiom,
    ((![Env : nat > type, S : dB, T2 : type, U : type, T : dB]: ((typing @ Env @ S @ (fun @ T2 @ U)) => ((typing @ Env @ T @ T2) => (typing @ Env @ (app @ S @ T) @ U)))))). % typing.App
thf(fact_11_shift__eq, axiom,
    ((![I : nat, J : nat, E : nat > type, T2 : type]: ((I = J) => ((shift_type @ E @ I @ T2 @ J) = T2))))). % shift_eq
thf(fact_12_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_13_dB_Oinject_I1_J, axiom,
    ((![X1 : nat, Y1 : nat]: (((var @ X1) = (var @ Y1)) = (X1 = Y1))))). % dB.inject(1)
thf(fact_14_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_15_typing__elims_I1_J, axiom,
    ((![E : nat > type, I : nat, T2 : type]: ((typing @ E @ (var @ I) @ T2) => ((E @ I) = T2))))). % typing_elims(1)
thf(fact_16_typing_OVar, axiom,
    ((![Env : nat > type, X : nat, T2 : type]: (((Env @ X) = T2) => (typing @ Env @ (var @ X) @ T2))))). % typing.Var
thf(fact_17_App_Ohyps_I2_J, axiom,
    ((it @ s))). % App.hyps(2)
thf(fact_18_lift__IT, axiom,
    ((![T : dB, I : nat]: ((it @ T) => (it @ (lift @ T @ I)))))). % lift_IT
thf(fact_19_Var__IT, axiom,
    ((![N : nat]: (it @ (var @ N))))). % Var_IT
thf(fact_20_app__Var__IT, axiom,
    ((![T : dB, I : nat]: ((it @ T) => (it @ (app @ T @ (var @ I))))))). % app_Var_IT
thf(fact_21_zero__reorient, axiom,
    ((![X : nat]: ((zero_zero_nat = X) = (X = zero_zero_nat))))). % zero_reorient
thf(fact_22_type__induct, axiom,
    ((![P : type > $o, T2 : type]: ((![T3 : type]: ((![T1 : type, T22 : type]: ((T3 = (fun @ T1 @ T22)) => (P @ T1))) => ((![T1 : type, T22 : type]: ((T3 = (fun @ T1 @ T22)) => (P @ T22))) => (P @ T3)))) => (P @ T2))))). % type_induct
thf(fact_23_dB_Odistinct_I1_J, axiom,
    ((![X1 : nat, X21 : dB, X22 : dB]: (~ (((var @ X1) = (app @ X21 @ X22))))))). % dB.distinct(1)
thf(fact_24_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_25_typing_Oinducts, axiom,
    ((![X1 : nat > type, X2 : dB, X3 : type, P : (nat > type) > dB > type > $o]: ((typing @ X1 @ X2 @ X3) => ((![Env2 : nat > type, X4 : nat, T3 : type]: (((Env2 @ X4) = T3) => (P @ Env2 @ (var @ X4) @ T3))) => ((![Env2 : nat > type, T3 : type, T4 : dB, U3 : type]: ((typing @ (shift_type @ Env2 @ zero_zero_nat @ T3) @ T4 @ U3) => ((P @ (shift_type @ Env2 @ zero_zero_nat @ T3) @ T4 @ U3) => (P @ Env2 @ (abs @ T4) @ (fun @ T3 @ U3))))) => ((![Env2 : nat > type, S2 : dB, T3 : type, U3 : type, T4 : dB]: ((typing @ Env2 @ S2 @ (fun @ T3 @ U3)) => ((P @ Env2 @ S2 @ (fun @ T3 @ U3)) => ((typing @ Env2 @ T4 @ T3) => ((P @ Env2 @ T4 @ T3) => (P @ Env2 @ (app @ S2 @ T4) @ U3)))))) => (P @ X1 @ X2 @ X3)))))))). % typing.inducts
thf(fact_26_typing_Osimps, axiom,
    ((typing = (^[A1 : nat > type]: (^[A2 : dB]: (^[A3 : type]: (((?[Env3 : nat > type]: (?[X5 : nat]: (?[T5 : type]: (((A1 = Env3)) & ((((A2 = (var @ X5))) & ((((A3 = T5)) & (((Env3 @ X5) = T5))))))))))) | ((((?[Env3 : nat > type]: (?[T5 : type]: (?[T6 : dB]: (?[U4 : type]: (((A1 = Env3)) & ((((A2 = (abs @ T6))) & ((((A3 = (fun @ T5 @ U4))) & ((typing @ (shift_type @ Env3 @ zero_zero_nat @ T5) @ T6 @ U4)))))))))))) | ((?[Env3 : nat > type]: (?[S3 : dB]: (?[T5 : type]: (?[U4 : type]: (?[T6 : dB]: (((A1 = Env3)) & ((((A2 = (app @ S3 @ T6))) & ((((A3 = U4)) & ((((typing @ Env3 @ S3 @ (fun @ T5 @ U4))) & ((typing @ Env3 @ T6 @ T5)))))))))))))))))))))))). % typing.simps
thf(fact_27_typing_Ocases, axiom,
    ((![A12 : nat > type, A22 : dB, A32 : type]: ((typing @ A12 @ A22 @ A32) => ((![X4 : nat]: ((A22 = (var @ X4)) => (~ (((A12 @ X4) = A32))))) => ((![T3 : type, T4 : dB]: ((A22 = (abs @ T4)) => (![U3 : type]: ((A32 = (fun @ T3 @ U3)) => (~ ((typing @ (shift_type @ A12 @ zero_zero_nat @ T3) @ T4 @ U3))))))) => (~ ((![S2 : dB, T3 : type, U3 : type, T4 : dB]: ((A22 = (app @ S2 @ T4)) => ((A32 = U3) => ((typing @ A12 @ S2 @ (fun @ T3 @ U3)) => (~ ((typing @ A12 @ T4 @ T3))))))))))))))). % typing.cases
thf(fact_28_dB_Osize__gen_I1_J, axiom,
    ((![X1 : nat]: ((size_dB @ (var @ X1)) = zero_zero_nat)))). % dB.size_gen(1)
thf(fact_29_Abs, axiom,
    ((![Env : nat > type, T2 : type, T : dB, U : type]: ((typing @ (shift_type @ Env @ zero_zero_nat @ T2) @ T @ U) => (typing @ Env @ (abs @ T) @ (fun @ T2 @ U)))))). % Abs
thf(fact_30_typing__elims_I3_J, axiom,
    ((![E : nat > type, T : dB, T2 : type]: ((typing @ E @ (abs @ T) @ T2) => (~ ((![T3 : type, U3 : type]: ((T2 = (fun @ T3 @ U3)) => (~ ((typing @ (shift_type @ E @ zero_zero_nat @ T3) @ T @ U3))))))))))). % typing_elims(3)
thf(fact_31_subst__type__IT, axiom,
    ((![T : dB, E : nat > type, I : nat, U : type, T2 : type, U2 : dB]: ((it @ T) => ((typing @ (shift_type @ E @ I @ U) @ T @ T2) => ((it @ U2) => ((typing @ E @ U2 @ U) => (it @ (subst @ T @ U2 @ I))))))))). % subst_type_IT
thf(fact_32_dB_Osize_I4_J, axiom,
    ((![X1 : nat]: ((size_size_dB @ (var @ X1)) = zero_zero_nat)))). % dB.size(4)
thf(fact_33_abs__typeE, axiom,
    ((![E : nat > type, T : dB, T2 : type]: ((typing @ E @ (abs @ T) @ T2) => (~ ((![U3 : type, V : type]: (~ ((typing @ (shift_type @ E @ zero_zero_nat @ U3) @ T @ V)))))))))). % abs_typeE
thf(fact_34_dB_Oinject_I3_J, axiom,
    ((![X3 : dB, Y3 : dB]: (((abs @ X3) = (abs @ Y3)) = (X3 = Y3))))). % dB.inject(3)
thf(fact_35_subst__eq, axiom,
    ((![K : nat, U2 : dB]: ((subst @ (var @ K) @ U2 @ K) = U2)))). % subst_eq
thf(fact_36_subst__lift, axiom,
    ((![T : dB, K : nat, S : dB]: ((subst @ (lift @ T @ K) @ S @ K) = T)))). % subst_lift
thf(fact_37_dB_Odistinct_I5_J, axiom,
    ((![X21 : dB, X22 : dB, X3 : dB]: (~ (((app @ X21 @ X22) = (abs @ X3))))))). % dB.distinct(5)
thf(fact_38_dB_Odistinct_I3_J, axiom,
    ((![X1 : nat, X3 : dB]: (~ (((var @ X1) = (abs @ X3))))))). % dB.distinct(3)
thf(fact_39_subst__App, axiom,
    ((![T : dB, U2 : dB, S : dB, K : nat]: ((subst @ (app @ T @ U2) @ S @ K) = (app @ (subst @ T @ S @ K) @ (subst @ U2 @ S @ K)))))). % subst_App
thf(fact_40_dB_Oinduct, axiom,
    ((![P : dB > $o, DB : dB]: ((![X4 : nat]: (P @ (var @ X4))) => ((![X1a : dB, X23 : dB]: ((P @ X1a) => ((P @ X23) => (P @ (app @ X1a @ X23))))) => ((![X4 : dB]: ((P @ X4) => (P @ (abs @ X4)))) => (P @ DB))))))). % dB.induct
thf(fact_41_dB_Oexhaust, axiom,
    ((![Y : dB]: ((![X12 : nat]: (~ ((Y = (var @ X12))))) => ((![X212 : dB, X222 : dB]: (~ ((Y = (app @ X212 @ X222))))) => (~ ((![X32 : dB]: (~ ((Y = (abs @ X32)))))))))))). % dB.exhaust
thf(fact_42_subst__Var__IT, axiom,
    ((![R : dB, I : nat, J : nat]: ((it @ R) => (it @ (subst @ R @ (var @ I) @ J)))))). % subst_Var_IT
thf(fact_43_subst__lemma, axiom,
    ((![E : nat > type, T : dB, T2 : type, E2 : nat > type, U2 : dB, U : type, I : nat]: ((typing @ E @ T @ T2) => ((typing @ E2 @ U2 @ U) => ((E = (shift_type @ E2 @ I @ U)) => (typing @ E2 @ (subst @ T @ U2 @ I) @ T2))))))). % subst_lemma
thf(fact_44_Lambda, axiom,
    ((![R : dB]: ((it @ R) => (it @ (abs @ R)))))). % Lambda
thf(fact_45_substn__subst__0, axiom,
    ((![T : dB, S : dB]: ((substn @ T @ S @ zero_zero_nat) = (subst @ T @ S @ zero_zero_nat))))). % substn_subst_0
thf(fact_46_beta__cases_I3_J, axiom,
    ((![S : dB, T : dB, U2 : dB]: ((beta @ (app @ S @ T) @ U2) => ((![S2 : dB]: ((S = (abs @ S2)) => (~ ((U2 = (subst @ S2 @ T @ zero_zero_nat)))))) => ((![T4 : dB]: ((U2 = (app @ T4 @ T)) => (~ ((beta @ S @ T4))))) => (~ ((![T4 : dB]: ((U2 = (app @ S @ T4)) => (~ ((beta @ T @ T4))))))))))))). % beta_cases(3)
thf(fact_47_beta, axiom,
    ((![S : dB, T : dB]: (beta @ (app @ (abs @ S) @ T) @ (subst @ S @ T @ zero_zero_nat))))). % beta
thf(fact_48_beta_Ocases, axiom,
    ((![A12 : dB, A22 : dB]: ((beta @ A12 @ A22) => ((![S2 : dB, T4 : dB]: ((A12 = (app @ (abs @ S2) @ T4)) => (~ ((A22 = (subst @ S2 @ T4 @ zero_zero_nat)))))) => ((![S2 : dB, T4 : dB, U5 : dB]: ((A12 = (app @ S2 @ U5)) => ((A22 = (app @ T4 @ U5)) => (~ ((beta @ S2 @ T4)))))) => ((![S2 : dB, T4 : dB, U5 : dB]: ((A12 = (app @ U5 @ S2)) => ((A22 = (app @ U5 @ T4)) => (~ ((beta @ S2 @ T4)))))) => (~ ((![S2 : dB]: ((A12 = (abs @ S2)) => (![T4 : dB]: ((A22 = (abs @ T4)) => (~ ((beta @ S2 @ T4)))))))))))))))). % beta.cases
thf(fact_49_beta_Osimps, axiom,
    ((beta = (^[A1 : dB]: (^[A2 : dB]: (((?[S3 : dB]: (?[T6 : dB]: (((A1 = (app @ (abs @ S3) @ T6))) & ((A2 = (subst @ S3 @ T6 @ zero_zero_nat))))))) | ((((?[S3 : dB]: (?[T6 : dB]: (?[U6 : dB]: (((A1 = (app @ S3 @ U6))) & ((((A2 = (app @ T6 @ U6))) & ((beta @ S3 @ T6))))))))) | ((((?[S3 : dB]: (?[T6 : dB]: (?[U6 : dB]: (((A1 = (app @ U6 @ S3))) & ((((A2 = (app @ U6 @ T6))) & ((beta @ S3 @ T6))))))))) | ((?[S3 : dB]: (?[T6 : dB]: (((A1 = (abs @ S3))) & ((((A2 = (abs @ T6))) & ((beta @ S3 @ T6)))))))))))))))))). % beta.simps
thf(fact_50_beta_Oinducts, axiom,
    ((![X1 : dB, X2 : dB, P : dB > dB > $o]: ((beta @ X1 @ X2) => ((![S2 : dB, T4 : dB]: (P @ (app @ (abs @ S2) @ T4) @ (subst @ S2 @ T4 @ zero_zero_nat))) => ((![S2 : dB, T4 : dB, U5 : dB]: ((beta @ S2 @ T4) => ((P @ S2 @ T4) => (P @ (app @ S2 @ U5) @ (app @ T4 @ U5))))) => ((![S2 : dB, T4 : dB, U5 : dB]: ((beta @ S2 @ T4) => ((P @ S2 @ T4) => (P @ (app @ U5 @ S2) @ (app @ U5 @ T4))))) => ((![S2 : dB, T4 : dB]: ((beta @ S2 @ T4) => ((P @ S2 @ T4) => (P @ (abs @ S2) @ (abs @ T4))))) => (P @ X1 @ X2))))))))). % beta.inducts
thf(fact_51_appR, axiom,
    ((![S : dB, T : dB, U2 : dB]: ((beta @ S @ T) => (beta @ (app @ U2 @ S) @ (app @ U2 @ T)))))). % appR
thf(fact_52_appL, axiom,
    ((![S : dB, T : dB, U2 : dB]: ((beta @ S @ T) => (beta @ (app @ S @ U2) @ (app @ T @ U2)))))). % appL
thf(fact_53_beta__cases_I1_J, axiom,
    ((![I : nat, T : dB]: (~ ((beta @ (var @ I) @ T)))))). % beta_cases(1)
thf(fact_54_abs, axiom,
    ((![S : dB, T : dB]: ((beta @ S @ T) => (beta @ (abs @ S) @ (abs @ T)))))). % abs
thf(fact_55_beta__cases_I2_J, axiom,
    ((![R : dB, S : dB]: ((beta @ (abs @ R) @ S) => (~ ((![T4 : dB]: ((S = (abs @ T4)) => (~ ((beta @ R @ T4))))))))))). % beta_cases(2)
thf(fact_56_subject__reduction, axiom,
    ((![E : nat > type, T : dB, T2 : type, T7 : dB]: ((typing @ E @ T @ T2) => ((beta @ T @ T7) => (typing @ E @ T7 @ T2)))))). % subject_reduction
thf(fact_57_subst__preserves__beta, axiom,
    ((![R : dB, S : dB, T : dB, I : nat]: ((beta @ R @ S) => (beta @ (subst @ R @ T @ I) @ (subst @ S @ T @ I)))))). % subst_preserves_beta
thf(fact_58_lift__preserves__beta, axiom,
    ((![R : dB, S : dB, I : nat]: ((beta @ R @ S) => (beta @ (lift @ R @ I) @ (lift @ S @ I)))))). % lift_preserves_beta
thf(fact_59_substn_Osimps_I2_J, axiom,
    ((![T : dB, U2 : dB, S : dB, K : nat]: ((substn @ (app @ T @ U2) @ S @ K) = (app @ (substn @ T @ S @ K) @ (substn @ U2 @ S @ K)))))). % substn.simps(2)
thf(fact_60_substn__subst__n, axiom,
    ((substn = (^[T6 : dB]: (^[S3 : dB]: (^[N2 : nat]: (subst @ T6 @ (liftn @ N2 @ S3 @ zero_zero_nat) @ N2))))))). % substn_subst_n
thf(fact_61_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_62_size__neq__size__imp__neq, axiom,
    ((![X : dB, Y : dB]: ((~ (((size_size_dB @ X) = (size_size_dB @ Y)))) => (~ ((X = Y))))))). % size_neq_size_imp_neq
thf(fact_63_zero__natural_Orsp, axiom,
    ((zero_zero_nat = zero_zero_nat))). % zero_natural.rsp
thf(fact_64_liftn__0, axiom,
    ((![T : dB, K : nat]: ((liftn @ zero_zero_nat @ T @ K) = T)))). % liftn_0
thf(fact_65_liftn_Osimps_I2_J, axiom,
    ((![N : nat, S : dB, T : dB, K : nat]: ((liftn @ N @ (app @ S @ T) @ K) = (app @ (liftn @ N @ S @ K) @ (liftn @ N @ T @ K)))))). % liftn.simps(2)
thf(fact_66_var__app__type__eq, axiom,
    ((![E : nat > type, I : nat, Ts : list_dB, T2 : type, U : type]: ((typing @ E @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ T2) => ((typing @ E @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ U) => (T2 = U)))))). % var_app_type_eq
thf(fact_67_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_68_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_69_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_70_ex__head__tail, axiom,
    ((![T : dB]: (?[Ts2 : list_dB, H : dB]: ((T = (foldl_dB_dB @ app @ H @ Ts2)) & ((?[N3 : nat]: (H = (var @ N3))) | (?[U5 : dB]: (H = (abs @ U5))))))))). % ex_head_tail
thf(fact_71_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_72_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_73_apps__preserves__beta, axiom,
    ((![R : dB, S : dB, Ss : list_dB]: ((beta @ R @ S) => (beta @ (foldl_dB_dB @ app @ R @ Ss) @ (foldl_dB_dB @ app @ S @ Ss)))))). % apps_preserves_beta
thf(fact_74_IT_Osimps, axiom,
    ((it = (^[A : dB]: (((?[Rs2 : list_dB]: (?[N2 : nat]: (((A = (foldl_dB_dB @ app @ (var @ N2) @ Rs2))) & ((listsp_dB @ it @ Rs2)))))) | ((((?[R2 : dB]: (((A = (abs @ R2))) & ((it @ R2))))) | ((?[R2 : dB]: (?[S3 : dB]: (?[Ss2 : list_dB]: (((A = (foldl_dB_dB @ app @ (app @ (abs @ R2) @ S3) @ Ss2))) & ((((it @ (foldl_dB_dB @ app @ (subst @ R2 @ S3 @ zero_zero_nat) @ Ss2))) & ((it @ S3)))))))))))))))). % IT.simps
thf(fact_75_IT_Ocases, axiom,
    ((![A4 : dB]: ((it @ A4) => ((![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, S2 : dB, Ss3 : list_dB]: ((A4 = (foldl_dB_dB @ app @ (app @ (abs @ R3) @ S2) @ Ss3)) => ((it @ (foldl_dB_dB @ app @ (subst @ R3 @ S2 @ zero_zero_nat) @ Ss3)) => (~ ((it @ S2)))))))))))))). % IT.cases
thf(fact_76__092_060open_062IT_A_IVar_A0_A_092_060degree_062_092_060degree_062_A_091lift_At_A0_093_J_092_060close_062, axiom,
    ((it @ (foldl_dB_dB @ app @ (var @ zero_zero_nat) @ (cons_dB @ (lift @ ta2 @ zero_zero_nat) @ nil_dB))))). % \<open>IT (Var 0 \<degree>\<degree> [lift t 0])\<close>
thf(fact_77__092_060open_062listsp_AIT_A_091lift_At_A0_093_092_060close_062, axiom,
    ((listsp_dB @ it @ (cons_dB @ (lift @ ta2 @ zero_zero_nat) @ nil_dB)))). % \<open>listsp IT [lift t 0]\<close>
thf(fact_78__092_060open_062Var_A0_A_092_060degree_062_092_060degree_062_A_091lift_At_A0_093_A_061_AVar_A0_A_092_060degree_062_Alift_At_A0_092_060close_062, axiom,
    (((foldl_dB_dB @ app @ (var @ zero_zero_nat) @ (cons_dB @ (lift @ ta2 @ zero_zero_nat) @ nil_dB)) = (app @ (var @ zero_zero_nat) @ (lift @ ta2 @ zero_zero_nat))))). % \<open>Var 0 \<degree>\<degree> [lift t 0] = Var 0 \<degree> lift t 0\<close>
thf(fact_79_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_80_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_81_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_82_IT_OVar, axiom,
    ((![Rs : list_dB, N : nat]: ((listsp_dB @ it @ Rs) => (it @ (foldl_dB_dB @ app @ (var @ N) @ Rs)))))). % IT.Var
thf(fact_83_length__0__conv, axiom,
    ((![Xs : list_dB]: (((size_size_list_dB @ Xs) = zero_zero_nat) = (Xs = nil_dB))))). % length_0_conv
thf(fact_84_length__0__conv, axiom,
    ((![Xs : list_type]: (((size_size_list_type @ Xs) = zero_zero_nat) = (Xs = nil_type))))). % length_0_conv
thf(fact_85_apps__betasE, axiom,
    ((![R : dB, Rs : list_dB, S : dB]: ((beta @ (foldl_dB_dB @ app @ R @ Rs) @ S) => ((![R4 : dB]: ((beta @ R @ R4) => (~ ((S = (foldl_dB_dB @ app @ R4 @ Rs)))))) => ((![Rs4 : list_dB]: ((step1_dB @ beta @ Rs @ Rs4) => (~ ((S = (foldl_dB_dB @ app @ R @ Rs4)))))) => (~ ((![T4 : dB]: ((R = (abs @ T4)) => (![U5 : dB, Us : list_dB]: ((Rs = (cons_dB @ U5 @ Us)) => (~ ((S = (foldl_dB_dB @ app @ (subst @ T4 @ U5 @ zero_zero_nat) @ Us)))))))))))))))). % apps_betasE
thf(fact_86_foldl__Nil, axiom,
    ((![F : dB > dB > dB, A4 : dB]: ((foldl_dB_dB @ F @ A4 @ nil_dB) = A4)))). % foldl_Nil
thf(fact_87_foldl__Cons, axiom,
    ((![F : dB > dB > dB, A4 : dB, X : dB, Xs : list_dB]: ((foldl_dB_dB @ F @ A4 @ (cons_dB @ X @ Xs)) = (foldl_dB_dB @ F @ (F @ A4 @ X) @ Xs))))). % foldl_Cons
thf(fact_88_apps__preserves__betas, axiom,
    ((![Rs : list_dB, Ss : list_dB, R : dB]: ((step1_dB @ beta @ Rs @ Ss) => (beta @ (foldl_dB_dB @ app @ R @ Rs) @ (foldl_dB_dB @ app @ R @ Ss)))))). % apps_preserves_betas
thf(fact_89_head__Var__reduction, axiom,
    ((![N : nat, Rs : list_dB, V2 : dB]: ((beta @ (foldl_dB_dB @ app @ (var @ N) @ Rs) @ V2) => (?[Ss3 : list_dB]: ((step1_dB @ beta @ Rs @ Ss3) & (V2 = (foldl_dB_dB @ app @ (var @ N) @ Ss3)))))))). % head_Var_reduction
thf(fact_90_list_Osize_I3_J, axiom,
    (((size_size_list_dB @ nil_dB) = zero_zero_nat))). % list.size(3)
thf(fact_91_list_Osize_I3_J, axiom,
    (((size_size_list_type @ nil_type) = zero_zero_nat))). % list.size(3)
thf(fact_92_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_93_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_94_lem, axiom,
    ((![P : dB > $o, T : dB, N : nat]: ((![N3 : nat, Ts2 : list_dB]: ((![X6 : dB]: ((member_dB @ X6 @ (set_dB2 @ Ts2)) => (P @ X6))) => (P @ (foldl_dB_dB @ app @ (var @ N3) @ Ts2)))) => ((![U5 : dB]: ((P @ U5) => (![Ts2 : list_dB]: ((![X6 : dB]: ((member_dB @ X6 @ (set_dB2 @ Ts2)) => (P @ X6))) => (P @ (foldl_dB_dB @ app @ (abs @ U5) @ Ts2)))))) => (((size_size_dB @ T) = N) => (P @ T))))))). % lem
thf(fact_95_foldl__cong, axiom,
    ((![A4 : dB, B : dB, L : list_dB, K : list_dB, F : dB > dB > dB, G : dB > dB > dB]: ((A4 = B) => ((L = K) => ((![A5 : dB, X4 : dB]: ((member_dB @ X4 @ (set_dB2 @ L)) => ((F @ A5 @ X4) = (G @ A5 @ X4)))) => ((foldl_dB_dB @ F @ A4 @ L) = (foldl_dB_dB @ G @ B @ K)))))))). % foldl_cong
thf(fact_96_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_97_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_98_Apps__dB__induct, axiom,
    ((![P : dB > $o, T : dB]: ((![N3 : nat, Ts2 : list_dB]: ((![X6 : dB]: ((member_dB @ X6 @ (set_dB2 @ Ts2)) => (P @ X6))) => (P @ (foldl_dB_dB @ app @ (var @ N3) @ Ts2)))) => ((![U5 : dB]: ((P @ U5) => (![Ts2 : list_dB]: ((![X6 : dB]: ((member_dB @ X6 @ (set_dB2 @ Ts2)) => (P @ X6))) => (P @ (foldl_dB_dB @ app @ (abs @ U5) @ Ts2)))))) => (P @ T)))))). % Apps_dB_induct
thf(fact_99_count__notin, axiom,
    ((![X : dB, Xs : list_dB]: ((~ ((member_dB @ X @ (set_dB2 @ Xs)))) => ((count_list_dB @ Xs @ X) = zero_zero_nat))))). % count_notin
thf(fact_100_App__eq__foldl__conv, axiom,
    ((![R : dB, S : dB, T : dB, Ts : list_dB]: (((app @ R @ S) = (foldl_dB_dB @ app @ T @ Ts)) = (((((Ts = nil_dB)) => (((app @ R @ S) = T)))) & ((((~ ((Ts = nil_dB)))) => ((?[Ss2 : list_dB]: (((Ts = (append_dB @ Ss2 @ (cons_dB @ S @ nil_dB)))) & ((R = (foldl_dB_dB @ app @ T @ Ss2))))))))))))). % App_eq_foldl_conv
thf(fact_101_app__last, axiom,
    ((![T : dB, Ts : list_dB, U2 : dB]: ((app @ (foldl_dB_dB @ app @ T @ Ts) @ U2) = (foldl_dB_dB @ app @ T @ (append_dB @ Ts @ (cons_dB @ U2 @ nil_dB))))))). % app_last
thf(fact_102_foldl__append, axiom,
    ((![F : dB > dB > dB, A4 : dB, Xs : list_dB, Ys : list_dB]: ((foldl_dB_dB @ F @ A4 @ (append_dB @ Xs @ Ys)) = (foldl_dB_dB @ F @ (foldl_dB_dB @ F @ A4 @ Xs) @ Ys))))). % foldl_append
thf(fact_103_rev__exhaust2, axiom,
    ((![Xs : list_dB]: ((~ ((Xs = nil_dB))) => (~ ((![Ys2 : list_dB, Y2 : dB]: (~ ((Xs = (append_dB @ Ys2 @ (cons_dB @ Y2 @ nil_dB)))))))))))). % rev_exhaust2
thf(fact_104_rev__exhaust2, axiom,
    ((![Xs : list_type]: ((~ ((Xs = nil_type))) => (~ ((![Ys2 : list_type, Y2 : type]: (~ ((Xs = (append_type @ Ys2 @ (cons_type @ Y2 @ nil_type)))))))))))). % rev_exhaust2
thf(fact_105_count__list_Osimps_I1_J, axiom,
    ((![Y : dB]: ((count_list_dB @ nil_dB @ Y) = zero_zero_nat)))). % count_list.simps(1)
thf(fact_106_count__list_Osimps_I1_J, axiom,
    ((![Y : type]: ((count_list_type @ nil_type @ Y) = zero_zero_nat)))). % count_list.simps(1)
thf(fact_107_nths__singleton, axiom,
    ((![A6 : set_nat, X : dB]: (((member_nat @ zero_zero_nat @ A6) => ((nths_dB @ (cons_dB @ X @ nil_dB) @ A6) = (cons_dB @ X @ nil_dB))) & ((~ ((member_nat @ zero_zero_nat @ A6))) => ((nths_dB @ (cons_dB @ X @ nil_dB) @ A6) = nil_dB)))))). % nths_singleton
thf(fact_108_nths__singleton, axiom,
    ((![A6 : set_nat, X : type]: (((member_nat @ zero_zero_nat @ A6) => ((nths_type @ (cons_type @ X @ nil_type) @ A6) = (cons_type @ X @ nil_type))) & ((~ ((member_nat @ zero_zero_nat @ A6))) => ((nths_type @ (cons_type @ X @ nil_type) @ A6) = nil_type)))))). % nths_singleton
thf(fact_109_IT_Oinducts, axiom,
    ((![X : dB, P : dB > $o]: ((it @ X) => ((![Rs3 : list_dB, N3 : nat]: ((listsp_dB @ (^[X5 : dB]: (((it @ X5)) & ((P @ X5)))) @ Rs3) => (P @ (foldl_dB_dB @ app @ (var @ N3) @ Rs3)))) => ((![R3 : dB]: ((it @ R3) => ((P @ R3) => (P @ (abs @ R3))))) => ((![R3 : dB, S2 : dB, Ss3 : list_dB]: ((it @ (foldl_dB_dB @ app @ (subst @ R3 @ S2 @ zero_zero_nat) @ Ss3)) => ((P @ (foldl_dB_dB @ app @ (subst @ R3 @ S2 @ zero_zero_nat) @ Ss3)) => ((it @ S2) => ((P @ S2) => (P @ (foldl_dB_dB @ app @ (app @ (abs @ R3) @ S2) @ Ss3))))))) => (P @ X)))))))). % IT.inducts
thf(fact_110_length__greater__0__conv, axiom,
    ((![Xs : list_dB]: ((ord_less_nat @ zero_zero_nat @ (size_size_list_dB @ Xs)) = (~ ((Xs = nil_dB))))))). % length_greater_0_conv
thf(fact_111_length__greater__0__conv, axiom,
    ((![Xs : list_type]: ((ord_less_nat @ zero_zero_nat @ (size_size_list_type @ Xs)) = (~ ((Xs = nil_type))))))). % length_greater_0_conv
thf(fact_112_not__gr__zero, axiom,
    ((![N : nat]: ((~ ((ord_less_nat @ zero_zero_nat @ N))) = (N = zero_zero_nat))))). % not_gr_zero
thf(fact_113_neq0__conv, axiom,
    ((![N : nat]: ((~ ((N = zero_zero_nat))) = (ord_less_nat @ zero_zero_nat @ N))))). % neq0_conv
thf(fact_114_less__nat__zero__code, axiom,
    ((![N : nat]: (~ ((ord_less_nat @ N @ zero_zero_nat)))))). % less_nat_zero_code
thf(fact_115_bot__nat__0_Onot__eq__extremum, axiom,
    ((![A4 : nat]: ((~ ((A4 = zero_zero_nat))) = (ord_less_nat @ zero_zero_nat @ A4))))). % bot_nat_0.not_eq_extremum
thf(fact_116_shift__gt, axiom,
    ((![J : nat, I : nat, E : nat > type, T2 : type]: ((ord_less_nat @ J @ I) => ((shift_type @ E @ I @ T2 @ J) = (E @ J)))))). % shift_gt
thf(fact_117_subst__lt, axiom,
    ((![J : nat, I : nat, U2 : dB]: ((ord_less_nat @ J @ I) => ((subst @ (var @ J) @ U2 @ I) = (var @ J)))))). % subst_lt
thf(fact_118_zero__less__iff__neq__zero, axiom,
    ((![N : nat]: ((ord_less_nat @ zero_zero_nat @ N) = (~ ((N = zero_zero_nat))))))). % zero_less_iff_neq_zero
thf(fact_119_gr__implies__not__zero, axiom,
    ((![M : nat, N : nat]: ((ord_less_nat @ M @ N) => (~ ((N = zero_zero_nat))))))). % gr_implies_not_zero
thf(fact_120_not__less__zero, axiom,
    ((![N : nat]: (~ ((ord_less_nat @ N @ zero_zero_nat)))))). % not_less_zero
thf(fact_121_gr__zeroI, axiom,
    ((![N : nat]: ((~ ((N = zero_zero_nat))) => (ord_less_nat @ zero_zero_nat @ N))))). % gr_zeroI
thf(fact_122_gr0I, axiom,
    ((![N : nat]: ((~ ((N = zero_zero_nat))) => (ord_less_nat @ zero_zero_nat @ N))))). % gr0I
thf(fact_123_not__gr0, axiom,
    ((![N : nat]: ((~ ((ord_less_nat @ zero_zero_nat @ N))) = (N = zero_zero_nat))))). % not_gr0
thf(fact_124_not__less0, axiom,
    ((![N : nat]: (~ ((ord_less_nat @ N @ zero_zero_nat)))))). % not_less0
thf(fact_125_less__zeroE, axiom,
    ((![N : nat]: (~ ((ord_less_nat @ N @ zero_zero_nat)))))). % less_zeroE
thf(fact_126_gr__implies__not0, axiom,
    ((![M : nat, N : nat]: ((ord_less_nat @ M @ N) => (~ ((N = zero_zero_nat))))))). % gr_implies_not0
thf(fact_127_infinite__descent0, axiom,
    ((![P : nat > $o, N : nat]: ((P @ zero_zero_nat) => ((![N3 : nat]: ((ord_less_nat @ zero_zero_nat @ N3) => ((~ ((P @ N3))) => (?[M2 : nat]: ((ord_less_nat @ M2 @ N3) & (~ ((P @ M2)))))))) => (P @ N)))))). % infinite_descent0
thf(fact_128_bot__nat__0_Oextremum__strict, axiom,
    ((![A4 : nat]: (~ ((ord_less_nat @ A4 @ zero_zero_nat)))))). % bot_nat_0.extremum_strict
thf(fact_129_nat__neq__iff, axiom,
    ((![M : nat, N : nat]: ((~ ((M = N))) = (((ord_less_nat @ M @ N)) | ((ord_less_nat @ N @ M))))))). % nat_neq_iff
thf(fact_130_less__not__refl, axiom,
    ((![N : nat]: (~ ((ord_less_nat @ N @ N)))))). % less_not_refl
thf(fact_131_less__not__refl2, axiom,
    ((![N : nat, M : nat]: ((ord_less_nat @ N @ M) => (~ ((M = N))))))). % less_not_refl2
thf(fact_132_less__not__refl3, axiom,
    ((![S : nat, T : nat]: ((ord_less_nat @ S @ T) => (~ ((S = T))))))). % less_not_refl3
thf(fact_133_less__irrefl__nat, axiom,
    ((![N : nat]: (~ ((ord_less_nat @ N @ N)))))). % less_irrefl_nat
thf(fact_134_nat__less__induct, axiom,
    ((![P : nat > $o, N : nat]: ((![N3 : nat]: ((![M2 : nat]: ((ord_less_nat @ M2 @ N3) => (P @ M2))) => (P @ N3))) => (P @ N))))). % nat_less_induct
thf(fact_135_infinite__descent, axiom,
    ((![P : nat > $o, N : nat]: ((![N3 : nat]: ((~ ((P @ N3))) => (?[M2 : nat]: ((ord_less_nat @ M2 @ N3) & (~ ((P @ M2))))))) => (P @ N))))). % infinite_descent
thf(fact_136_linorder__neqE__nat, axiom,
    ((![X : nat, Y : nat]: ((~ ((X = Y))) => ((~ ((ord_less_nat @ X @ Y))) => (ord_less_nat @ Y @ X)))))). % linorder_neqE_nat
thf(fact_137_length__pos__if__in__set, axiom,
    ((![X : dB, Xs : list_dB]: ((member_dB @ X @ (set_dB2 @ Xs)) => (ord_less_nat @ zero_zero_nat @ (size_size_list_dB @ Xs)))))). % length_pos_if_in_set
thf(fact_138_types__snoc__eq, axiom,
    ((![E : nat > type, Ts : list_dB, T : dB, Ts3 : list_type, T2 : type]: ((typings @ E @ (append_dB @ Ts @ (cons_dB @ T @ nil_dB)) @ (append_type @ Ts3 @ (cons_type @ T2 @ nil_type))) = (((typings @ E @ Ts @ Ts3)) & ((typing @ E @ T @ T2))))))). % types_snoc_eq
thf(fact_139_types__snocE, axiom,
    ((![E : nat > type, Ts : list_dB, T : dB, Ts3 : list_type]: ((typings @ E @ (append_dB @ Ts @ (cons_dB @ T @ nil_dB)) @ Ts3) => (~ ((![Us2 : list_type, U3 : type]: ((Ts3 = (append_type @ Us2 @ (cons_type @ U3 @ nil_type))) => ((typings @ E @ Ts @ Us2) => (~ ((typing @ E @ T @ U3)))))))))))). % types_snocE
thf(fact_140_types__snoc, axiom,
    ((![E : nat > type, Ts : list_dB, Ts3 : list_type, T : dB, T2 : type]: ((typings @ E @ Ts @ Ts3) => ((typing @ E @ T @ T2) => (typings @ E @ (append_dB @ Ts @ (cons_dB @ T @ nil_dB)) @ (append_type @ Ts3 @ (cons_type @ T2 @ nil_type)))))))). % types_snoc
thf(fact_141_typings_Osimps_I1_J, axiom,
    ((![E : nat > type, Ts3 : list_type]: ((typings @ E @ nil_dB @ Ts3) = (Ts3 = nil_type))))). % typings.simps(1)
thf(fact_142_var__app__typesE, axiom,
    ((![E : nat > type, I : nat, Ts : list_dB, T2 : type]: ((typing @ E @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ T2) => (~ ((![Ts4 : list_type]: ((typing @ E @ (var @ I) @ (foldr_type_type @ fun @ Ts4 @ T2)) => (~ ((typings @ E @ Ts @ Ts4))))))))))). % var_app_typesE
thf(fact_143_var__app__types, axiom,
    ((![E : nat > type, I : nat, Ts : list_dB, Us3 : list_dB, T2 : type, Ts3 : list_type, U : type]: ((typing @ E @ (foldl_dB_dB @ app @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ Us3) @ T2) => ((typings @ E @ Ts @ Ts3) => ((typing @ E @ (foldl_dB_dB @ app @ (var @ I) @ Ts) @ U) => (?[Us2 : list_type]: ((U = (foldr_type_type @ fun @ Us2 @ T2)) & (typings @ E @ Us3 @ Us2))))))))). % var_app_types
thf(fact_144_list__app__typeD, axiom,
    ((![E : nat > type, T : dB, Ts : list_dB, T2 : type]: ((typing @ E @ (foldl_dB_dB @ app @ T @ Ts) @ T2) => (?[Ts4 : list_type]: ((typing @ E @ T @ (foldr_type_type @ fun @ Ts4 @ T2)) & (typings @ E @ Ts @ Ts4))))))). % list_app_typeD
thf(fact_145_list__app__typeE, axiom,
    ((![E : nat > type, T : dB, Ts : list_dB, T2 : type]: ((typing @ E @ (foldl_dB_dB @ app @ T @ Ts) @ T2) => (~ ((![Ts4 : list_type]: ((typing @ E @ T @ (foldr_type_type @ fun @ Ts4 @ T2)) => (~ ((typings @ E @ Ts @ Ts4))))))))))). % list_app_typeE
thf(fact_146_list__app__typeI, axiom,
    ((![E : nat > type, T : dB, Ts3 : list_type, T2 : type, Ts : list_dB]: ((typing @ E @ T @ (foldr_type_type @ fun @ Ts3 @ T2)) => ((typings @ E @ Ts @ Ts3) => (typing @ E @ (foldl_dB_dB @ app @ T @ Ts) @ T2)))))). % list_app_typeI

% Conjectures (1)
thf(conj_0, conjecture,
    ((typing @ (shift_type @ ea @ zero_zero_nat @ (fun @ ta @ u)) @ (app @ (var @ zero_zero_nat) @ (lift @ ta2 @ zero_zero_nat)) @ u))).
