%   ORIGINAL: h4/seq/MAX__LEMMA
% Assm: HL_TRUTH: T
% Assm: HL_FALSITY: ~F
% Assm: HL_BOOL_CASES: !t. (t <=> T) \/ (t <=> F)
% Assm: HL_EXT: !f g. (!x. f x = g x) ==> f = g
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/EXISTS__SIMP: !t. (?x. t) <=> t
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/IMP__CLAUSES_c2: !t. F ==> t <=> T
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/num/INDUCTION: !P. P h4/num/0 /\ (!n. P n ==> P (h4/num/SUC n)) ==> (!n. P n)
% Assm: h4/prim__rec/NOT__LESS__0: !n. ~h4/prim__rec/_3C n h4/num/0
% Assm: h4/prim__rec/LESS__THM: !n m. h4/prim__rec/_3C m (h4/num/SUC n) <=> m = n \/ h4/prim__rec/_3C m n
% Assm: h4/real/REAL__LET__TOTAL: !y x. h4/real/real__lte x y \/ h4/realax/real__lt y x
% Assm: h4/real/REAL__LE__REFL: !x. h4/real/real__lte x x
% Assm: h4/real/REAL__LT__IMP__LE: !y x. h4/realax/real__lt x y ==> h4/real/real__lte x y
% Assm: h4/real/REAL__LE__TRANS: !z y x. h4/real/real__lte x y /\ h4/real/real__lte y z ==> h4/real/real__lte x z
% Assm: h4/real/REAL__LT__ADD1: !y x. h4/real/real__lte x y ==> h4/realax/real__lt x (h4/realax/real__add y (h4/real/real__of__num (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))))
% Goal: !s N. ?k. !n. h4/prim__rec/_3C n N ==> h4/realax/real__lt (h4/real/abs (s n)) k
%   PROCESSED
% Assm [HLu_TRUTH]: T
% Assm [HLu_FALSITY]: ~F
% Assm [HLu_BOOLu_CASES]: !t. (t <=> T) \/ (t <=> F)
% Assm [HLu_EXT]: !f g. (!x. happ f x = happ g x) ==> f = g
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_EXISTSu_u_SIMP]: !t. (?x. t) <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c2]: !t. F ==> t <=> T
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_nums_INDUCTION]: !P. happ P h4/num/0 /\ (!n. happ P n ==> happ P (h4/num/SUC n)) ==> (!n. happ P n)
% Assm [h4s_primu_u_recs_NOTu_u_LESSu_u_0]: !n. ~h4/prim__rec/_3C n h4/num/0
% Assm [h4s_primu_u_recs_LESSu_u_THM]: !n m. h4/prim__rec/_3C m (h4/num/SUC n) <=> m = n \/ h4/prim__rec/_3C m n
% Assm [h4s_reals_REALu_u_LETu_u_TOTAL]: !y x. h4/real/real__lte x y \/ h4/realax/real__lt y x
% Assm [h4s_reals_REALu_u_LEu_u_REFL]: !x. h4/real/real__lte x x
% Assm [h4s_reals_REALu_u_LTu_u_IMPu_u_LE]: !y x. h4/realax/real__lt x y ==> h4/real/real__lte x y
% Assm [h4s_reals_REALu_u_LEu_u_TRANS]: !z y x. h4/real/real__lte x y /\ h4/real/real__lte y z ==> h4/real/real__lte x z
% Assm [h4s_reals_REALu_u_LTu_u_ADD1]: !y x. h4/real/real__lte x y ==> h4/realax/real__lt x (h4/realax/real__add y (h4/real/real__of__num (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))))
% Goal: !s N. ?k. !n. h4/prim__rec/_3C n N ==> h4/realax/real__lt (h4/real/abs (happ s n)) k
fof(aHLu_TRUTH, axiom, p(s(t_bool,t))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f))).
fof(aHLu_EXT, axiom, ![TV_Q133233,TV_Q133229]: ![V_f, V_g]: (![V_x]: s(TV_Q133229,happ(s(t_fun(TV_Q133233,TV_Q133229),V_f),s(TV_Q133233,V_x))) = s(TV_Q133229,happ(s(t_fun(TV_Q133233,TV_Q133229),V_g),s(TV_Q133233,V_x))) => s(t_fun(TV_Q133233,TV_Q133229),V_f) = s(t_fun(TV_Q133233,TV_Q133229),V_g))).
fof(ah4s_bools_ETAu_u_AX, axiom, ![TV_u_27b,TV_u_27a]: ![V_t, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x)))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_bools_IMPu_u_ANTISYMu_u_AX, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t1))) => s(t_bool,V_t1) = s(t_bool,V_t2)))).
fof(ah4s_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => p(s(t_bool,V_t)))).
fof(ah4s_bools_FORALLu_u_SIMP, axiom, ![TV_u_27a]: ![V_t]: (![V_x]: p(s(t_bool,V_t)) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_EXISTSu_u_SIMP, axiom, ![TV_u_27a]: ![V_t]: (?[V_x]: p(s(t_bool,V_t)) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_EQu_u_CLAUSESu_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) <=> p(s(t_bool,V_t)))).
fof(ah4s_nums_INDUCTION, axiom, ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,h4s_nums_0)))) & ![V_n]: (p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_n)))) => p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n)))))))) => ![V_n]: p(s(t_bool,happ(s(t_fun(t_h4s_nums_num,t_bool),V_P),s(t_h4s_nums_num,V_n)))))).
fof(ah4s_primu_u_recs_NOTu_u_LESSu_u_0, axiom, ![V_n]: ~ (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_nums_0)))))).
fof(ah4s_primu_u_recs_LESSu_u_THM, axiom, ![V_n, V_m]: (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n)))))) <=> (s(t_h4s_nums_num,V_m) = s(t_h4s_nums_num,V_n) | p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))))))).
fof(ah4s_reals_REALu_u_LETu_u_TOTAL, axiom, ![V_y, V_x]: (p(s(t_bool,h4s_reals_realu_u_lte(s(t_h4s_realaxs_real,V_x),s(t_h4s_realaxs_real,V_y)))) | p(s(t_bool,h4s_realaxs_realu_u_lt(s(t_h4s_realaxs_real,V_y),s(t_h4s_realaxs_real,V_x)))))).
fof(ah4s_reals_REALu_u_LEu_u_REFL, axiom, ![V_x]: p(s(t_bool,h4s_reals_realu_u_lte(s(t_h4s_realaxs_real,V_x),s(t_h4s_realaxs_real,V_x))))).
fof(ah4s_reals_REALu_u_LTu_u_IMPu_u_LE, axiom, ![V_y, V_x]: (p(s(t_bool,h4s_realaxs_realu_u_lt(s(t_h4s_realaxs_real,V_x),s(t_h4s_realaxs_real,V_y)))) => p(s(t_bool,h4s_reals_realu_u_lte(s(t_h4s_realaxs_real,V_x),s(t_h4s_realaxs_real,V_y)))))).
fof(ah4s_reals_REALu_u_LEu_u_TRANS, axiom, ![V_z, V_y, V_x]: ((p(s(t_bool,h4s_reals_realu_u_lte(s(t_h4s_realaxs_real,V_x),s(t_h4s_realaxs_real,V_y)))) & p(s(t_bool,h4s_reals_realu_u_lte(s(t_h4s_realaxs_real,V_y),s(t_h4s_realaxs_real,V_z))))) => p(s(t_bool,h4s_reals_realu_u_lte(s(t_h4s_realaxs_real,V_x),s(t_h4s_realaxs_real,V_z)))))).
fof(ah4s_reals_REALu_u_LTu_u_ADD1, axiom, ![V_y, V_x]: (p(s(t_bool,h4s_reals_realu_u_lte(s(t_h4s_realaxs_real,V_x),s(t_h4s_realaxs_real,V_y)))) => p(s(t_bool,h4s_realaxs_realu_u_lt(s(t_h4s_realaxs_real,V_x),s(t_h4s_realaxs_real,h4s_realaxs_realu_u_add(s(t_h4s_realaxs_real,V_y),s(t_h4s_realaxs_real,h4s_reals_realu_u_ofu_u_num(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero)))))))))))))).
fof(ch4s_seqs_MAXu_u_LEMMA, conjecture, ![V_s, V_N]: ?[V_k]: ![V_n]: (p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,V_N)))) => p(s(t_bool,h4s_realaxs_realu_u_lt(s(t_h4s_realaxs_real,h4s_reals_abs(s(t_h4s_realaxs_real,happ(s(t_fun(t_h4s_nums_num,t_h4s_realaxs_real),V_s),s(t_h4s_nums_num,V_n))))),s(t_h4s_realaxs_real,V_k)))))).
