%   ORIGINAL: h4/list/TAKE__compute_c2
% 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/BETA__THM: !y f. (\x. f x) y = f y
% Assm: h4/bool/CONJ__ASSOC: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/EQ__CLAUSES_c0: !t. (T <=> t) <=> t
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/COND__CLAUSES_c0: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm: h4/bool/COND__CLAUSES_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/bool/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/bool/COND__CONG: !y_27 y x_27 x Q P. (P <=> Q) /\ (Q ==> x = x_27) /\ (~Q ==> y = y_27) ==> h4/bool/COND P x y = h4/bool/COND Q x_27 y_27
% Assm: h4/bool/MONO__AND: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm: h4/bool/MONO__OR: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm: h4/bool/MONO__EXISTS: !Q P. (!x. P x ==> Q x) ==> (?x. P x) ==> (?x. Q x)
% Assm: h4/bool/bool__case__thm_c1: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm: h4/bool/JRH__INDUCT__UTIL: !t P. (!x. x = t ==> P x) ==> $exists P
% Assm: h4/num/NOT__SUC: !n. ~(h4/num/SUC n = h4/num/0)
% 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__0: !n. h4/prim__rec/_3C h4/num/0 (h4/num/SUC n)
% Assm: h4/arithmetic/SUB_c0: !m. h4/arithmetic/_2D h4/num/0 m = h4/num/0
% Assm: h4/arithmetic/SUB_c1: !n m. h4/arithmetic/_2D (h4/num/SUC m) n = h4/bool/COND (h4/prim__rec/_3C m n) h4/num/0 (h4/num/SUC (h4/arithmetic/_2D m n))
% Assm: h4/arithmetic/ONE: h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO) = h4/num/SUC h4/num/0
% Assm: h4/arithmetic/LESS__MONO__EQ: !n m. h4/prim__rec/_3C (h4/num/SUC m) (h4/num/SUC n) <=> h4/prim__rec/_3C m n
% Assm: h4/arithmetic/SUC__ELIM__NUMERALS: !g f. (!n. g (h4/num/SUC n) = f n (h4/num/SUC n)) <=> (!n. g (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) = f (h4/arithmetic/_2D (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n))) /\ (!n. g (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)) = f (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)))
% Assm: h4/ind__type/CONSTR__REC: !Fn. ?f. !c i r. f (h4/ind__type/CONSTR c i r) = Fn c i r (\n. f (r n))
% Assm: h4/ind__type/FCONS0_c0: !f a. h4/ind__type/FCONS a f h4/num/0 = a
% Assm: h4/ind__type/FCONS0_c1: !n f a. h4/ind__type/FCONS a f (h4/num/SUC n) = f n
% Assm: h4/list/list__repfns_c0: !a. h4/list/_20_40ind__typelist2 (h4/list/_20_40ind__typelist3 a) = a
% Assm: h4/list/list__repfns_c1: !r. (\a0_27. !_27list_27. (!a0_270. a0_270 = h4/ind__type/CONSTR h4/num/0 h4/bool/ARB (\n. h4/ind__type/BOTTOM) \/ (?a0 a1. a0_270 = (\a00 a10. h4/ind__type/CONSTR (h4/num/SUC h4/num/0) a00 (h4/ind__type/FCONS a10 (\n. h4/ind__type/BOTTOM))) a0 a1 /\ _27list_27 a1) ==> _27list_27 a0_270) ==> _27list_27 a0_27) r <=> h4/list/_20_40ind__typelist3 (h4/list/_20_40ind__typelist2 r) = r
% Assm: h4/list/hidden____20__40ind____typelist0____def: h4/list/_20_40ind__typelist0 = h4/list/_20_40ind__typelist2 (h4/ind__type/CONSTR h4/num/0 h4/bool/ARB (\n. h4/ind__type/BOTTOM))
% Assm: h4/list/hidden____20__40ind____typelist1____def: h4/list/_20_40ind__typelist1 = (\a0 a1. h4/list/_20_40ind__typelist2 ((\a00 a10. h4/ind__type/CONSTR (h4/num/SUC h4/num/0) a00 (h4/ind__type/FCONS a10 (\n. h4/ind__type/BOTTOM))) a0 (h4/list/_20_40ind__typelist3 a1)))
% Assm: h4/list/NIL0: h4/list/NIL = h4/list/_20_40ind__typelist0
% Assm: h4/list/CONS0: h4/list/CONS = h4/list/_20_40ind__typelist1
% Assm: h4/list/TAKE__def_c0: !n. h4/list/TAKE n h4/list/NIL = h4/list/NIL
% Assm: h4/list/TAKE__def_c1: !xs x n. h4/list/TAKE n (h4/list/CONS x xs) = h4/bool/COND (n = h4/num/0) h4/list/NIL (h4/list/CONS x (h4/list/TAKE (h4/arithmetic/_2D n (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))) xs))
% Assm: h4/list/TAKE__0: !l. h4/list/TAKE h4/num/0 l = h4/list/NIL
% Goal: !n. h4/list/TAKE (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)) h4/list/NIL = h4/list/NIL
%   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_BETAu_u_THM]: !y f. happ f y = happ f y
% Assm [h4s_bools_CONJu_u_ASSOC]: !t3 t2 t1. t1 /\ t2 /\ t3 <=> (t1 /\ t2) /\ t3
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_EQu_u_CLAUSESu_c0]: !t. (T <=> t) <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_CONDu_u_CLAUSESu_c0]: !t2 t1. h4/bool/COND T t1 t2 = t1
% Assm [h4s_bools_CONDu_u_CLAUSESu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_bools_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_bools_CONDu_u_CONG]: !y_27 y x_27 x Q P. (P <=> Q) /\ (Q ==> x = x_27) /\ (~Q ==> y = y_27) ==> h4/bool/COND P x y = h4/bool/COND Q x_27 y_27
% Assm [h4s_bools_MONOu_u_AND]: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm [h4s_bools_MONOu_u_OR]: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm [h4s_bools_MONOu_u_EXISTS]: !Q P. (!x. happ P x ==> happ Q x) ==> (?x. happ P x) ==> (?x. happ Q x)
% Assm [h4s_bools_boolu_u_caseu_u_thmu_c1]: !t2 t1. h4/bool/COND F t1 t2 = t2
% Assm [h4s_bools_JRHu_u_INDUCTu_u_UTIL]: !t P. (!x. x = t ==> happ P x) ==> $exists P
% Assm [h4s_nums_NOTu_u_SUC]: !n. ~(h4/num/SUC n = h4/num/0)
% 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_0]: !n. h4/prim__rec/_3C h4/num/0 (h4/num/SUC n)
% Assm [h4s_arithmetics_SUBu_c0]: !m. h4/arithmetic/_2D h4/num/0 m = h4/num/0
% Assm [h4s_arithmetics_SUBu_c1]: !n m. h4/arithmetic/_2D (h4/num/SUC m) n = h4/bool/COND (h4/prim__rec/_3C m n) h4/num/0 (h4/num/SUC (h4/arithmetic/_2D m n))
% Assm [h4s_arithmetics_ONE]: h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO) = h4/num/SUC h4/num/0
% Assm [h4s_arithmetics_LESSu_u_MONOu_u_EQ]: !n m. h4/prim__rec/_3C (h4/num/SUC m) (h4/num/SUC n) <=> h4/prim__rec/_3C m n
% Assm [h4s_arithmetics_SUCu_u_ELIMu_u_NUMERALS]: !g f. (!n. happ g (h4/num/SUC n) = happ (happ f n) (h4/num/SUC n)) <=> (!n. happ g (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) = happ (happ f (h4/arithmetic/_2D (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)))) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n))) /\ (!n. happ g (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)) = happ (happ f (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n))) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)))
% Assm [h4s_indu_u_types_CONSTRu_u_REC]: !_0. (!f r n. happ (happ (happ _0 f) r) n = happ f (happ r n)) ==> (!Fn. ?f. !c i r. happ f (h4/ind__type/CONSTR c i r) = happ (happ (happ (happ Fn c) i) r) (happ (happ _0 f) r))
% Assm [h4s_indu_u_types_FCONS0u_c0]: !f a. happ (h4/ind__type/FCONS a f) h4/num/0 = a
% Assm [h4s_indu_u_types_FCONS0u_c1]: !n f a. happ (h4/ind__type/FCONS a f) (h4/num/SUC n) = happ f n
% Assm [h4s_lists_listu_u_repfnsu_c0]: !a. h4/list/_20_40ind__typelist2 (h4/list/_20_40ind__typelist3 a) = a
% Assm [h4s_lists_listu_u_repfnsu_c1]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> (!r. (!_27list_27. (!a0_270. a0_270 = h4/ind__type/CONSTR h4/num/0 h4/bool/ARB _0 \/ (?a0 a1. a0_270 = h4/ind__type/CONSTR (h4/num/SUC h4/num/0) a0 (h4/ind__type/FCONS a1 _0) /\ happ _27list_27 a1) ==> happ _27list_27 a0_270) ==> happ _27list_27 r) <=> h4/list/_20_40ind__typelist3 (h4/list/_20_40ind__typelist2 r) = r)
% Assm [h4s_lists_hiddenu_u_u_u_20u_u_40indu_u_u_u_typelist0u_u_u_u_def]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> h4/list/_20_40ind__typelist0 = h4/list/_20_40ind__typelist2 (h4/ind__type/CONSTR h4/num/0 h4/bool/ARB _0)
% Assm [h4s_lists_hiddenu_u_u_u_20u_u_40indu_u_u_u_typelist1u_u_u_u_def]: !_0. (!n. happ _0 n = h4/ind__type/BOTTOM) ==> (!x x. happ (happ h4/list/_20_40ind__typelist1 x) x = h4/list/_20_40ind__typelist2 (h4/ind__type/CONSTR (h4/num/SUC h4/num/0) x (h4/ind__type/FCONS (h4/list/_20_40ind__typelist3 x) _0)))
% Assm [h4s_lists_NIL0]: h4/list/NIL = h4/list/_20_40ind__typelist0
% Assm [h4s_lists_CONS0]: h4/list/CONS = h4/list/_20_40ind__typelist1
% Assm [h4s_lists_TAKEu_u_defu_c0]: !n. h4/list/TAKE n h4/list/NIL = h4/list/NIL
% Assm [h4s_lists_TAKEu_u_defu_c1]: !xs x n. ?v. (v <=> n = h4/num/0) /\ h4/list/TAKE n (happ (happ h4/list/CONS x) xs) = h4/bool/COND v h4/list/NIL (happ (happ h4/list/CONS x) (h4/list/TAKE (h4/arithmetic/_2D n (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))) xs))
% Assm [h4s_lists_TAKEu_u_0]: !l. h4/list/TAKE h4/num/0 l = h4/list/NIL
% Goal: !n. h4/list/TAKE (h4/arithmetic/NUMERAL (h4/arithmetic/BIT2 n)) h4/list/NIL = h4/list/NIL
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_Q249656,TV_Q249652]: ![V_f, V_g]: (![V_x]: s(TV_Q249652,happ(s(t_fun(TV_Q249656,TV_Q249652),V_f),s(TV_Q249656,V_x))) = s(TV_Q249652,happ(s(t_fun(TV_Q249656,TV_Q249652),V_g),s(TV_Q249656,V_x))) => s(t_fun(TV_Q249656,TV_Q249652),V_f) = s(t_fun(TV_Q249656,TV_Q249652),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_BETAu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_f]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_y))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_y)))).
fof(ah4s_bools_CONJu_u_ASSOC, axiom, ![V_t3, V_t2, V_t1]: ((p(s(t_bool,V_t1)) & (p(s(t_bool,V_t2)) & p(s(t_bool,V_t3)))) <=> ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) & p(s(t_bool,V_t3))))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t)) & p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_REFLu_u_CLAUSE, axiom, ![TV_u_27a]: ![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_x) <=> p(s(t_bool,t)))).
fof(ah4s_bools_EQu_u_SYMu_u_EQ, axiom, ![TV_u_27a]: ![V_y, V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_y) <=> s(TV_u_27a,V_y) = s(TV_u_27a,V_x))).
fof(ah4s_bools_EQu_u_CLAUSESu_c0, axiom, ![V_t]: (s(t_bool,t) = s(t_bool,V_t) <=> p(s(t_bool,V_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_bools_CONDu_u_CLAUSESu_c0, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,t),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t1)).
fof(ah4s_bools_CONDu_u_CLAUSESu_c1, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,f),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t2)).
fof(ah4s_bools_ANDu_u_IMPu_u_INTRO, axiom, ![V_t3, V_t2, V_t1]: ((p(s(t_bool,V_t1)) => (p(s(t_bool,V_t2)) => p(s(t_bool,V_t3)))) <=> ((p(s(t_bool,V_t1)) & p(s(t_bool,V_t2))) => p(s(t_bool,V_t3))))).
fof(ah4s_bools_CONDu_u_CONG, axiom, ![TV_u_27a]: ![V_yu_27, V_y, V_xu_27, V_x, V_Q, V_P]: ((s(t_bool,V_P) = s(t_bool,V_Q) & ((p(s(t_bool,V_Q)) => s(TV_u_27a,V_x) = s(TV_u_27a,V_xu_27)) & (~ (p(s(t_bool,V_Q))) => s(TV_u_27a,V_y) = s(TV_u_27a,V_yu_27)))) => s(TV_u_27a,h4s_bools_cond(s(t_bool,V_P),s(TV_u_27a,V_x),s(TV_u_27a,V_y))) = s(TV_u_27a,h4s_bools_cond(s(t_bool,V_Q),s(TV_u_27a,V_xu_27),s(TV_u_27a,V_yu_27))))).
fof(ah4s_bools_MONOu_u_AND, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) & p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) & p(s(t_bool,V_w)))))).
fof(ah4s_bools_MONOu_u_OR, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) | p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) | p(s(t_bool,V_w)))))).
fof(ah4s_bools_MONOu_u_EXISTS, axiom, ![TV_u_27a]: ![V_Q, V_P]: (![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))) => (?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => ?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_boolu_u_caseu_u_thmu_c1, axiom, ![TV_u_27a]: ![V_t2, V_t1]: s(TV_u_27a,h4s_bools_cond(s(t_bool,f),s(TV_u_27a,V_t1),s(TV_u_27a,V_t2))) = s(TV_u_27a,V_t2)).
fof(ah4s_bools_JRHu_u_INDUCTu_u_UTIL, axiom, ![TV_u_27a]: ![V_t, V_P]: (![V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_t) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))) => p(s(t_bool,d_exists(s(t_fun(TV_u_27a,t_bool),V_P)))))).
fof(ah4s_nums_NOTu_u_SUC, axiom, ![V_n]: ~ (s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_nums_0))).
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_0, axiom, ![V_n]: p(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))))))).
fof(ah4s_arithmetics_SUBu_c0, axiom, ![V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,V_m))) = s(t_h4s_nums_num,h4s_nums_0)).
fof(ah4s_arithmetics_SUBu_c1, axiom, ![V_n, V_m]: s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,V_n))) = s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_m),s(t_h4s_nums_num,V_n)))))))).
fof(ah4s_arithmetics_ONE, axiom, s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))) = s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0)))).
fof(ah4s_arithmetics_LESSu_u_MONOu_u_EQ, axiom, ![V_n, V_m]: s(t_bool,h4s_primu_u_recs_u_3c(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_m))),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))))) = 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_arithmetics_SUCu_u_ELIMu_u_NUMERALS, axiom, ![TV_u_27a]: ![V_g, V_f]: (![V_n]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_g),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))))) = s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,TV_u_27a)),V_f),s(t_h4s_nums_num,V_n))),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))))) <=> (![V_n]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_g),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))))) = s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,TV_u_27a)),V_f),s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))))))),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))))) & ![V_n]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_g),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n))))))) = s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_fun(t_h4s_nums_num,TV_u_27a)),V_f),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,V_n))))))),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n)))))))))).
fof(ah4s_indu_u_types_CONSTRu_u_REC, axiom, ![TV_u_27b,TV_u_27a]: ![V_uu_0]: (![V_f, V_r, V_n]: s(TV_u_27b,happ(s(t_fun(t_h4s_nums_num,TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b)),happ(s(t_fun(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b))),V_uu_0),s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))),s(t_h4s_nums_num,V_n))) = s(TV_u_27b,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f),s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r),s(t_h4s_nums_num,V_n))))) => ![V_Fn]: ?[V_f]: ![V_c, V_i, V_r]: s(TV_u_27b,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f),s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,V_c),s(TV_u_27a,V_i),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))))) = s(TV_u_27b,happ(s(t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b)),happ(s(t_fun(TV_u_27a,t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b))),happ(s(t_fun(t_h4s_nums_num,t_fun(TV_u_27a,t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_fun(t_h4s_nums_num,TV_u_27b),TV_u_27b)))),V_Fn),s(t_h4s_nums_num,V_c))),s(TV_u_27a,V_i))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))),s(t_fun(t_h4s_nums_num,TV_u_27b),happ(s(t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b)),happ(s(t_fun(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),t_fun(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),t_fun(t_h4s_nums_num,TV_u_27b))),V_uu_0),s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),TV_u_27b),V_f))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_r))))))).
fof(ah4s_indu_u_types_FCONS0u_c0, axiom, ![TV_u_27a]: ![V_f, V_a]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),h4s_indu_u_types_fcons(s(TV_u_27a,V_a),s(t_fun(t_h4s_nums_num,TV_u_27a),V_f))),s(t_h4s_nums_num,h4s_nums_0))) = s(TV_u_27a,V_a)).
fof(ah4s_indu_u_types_FCONS0u_c1, axiom, ![TV_u_27a]: ![V_n, V_f, V_a]: s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),h4s_indu_u_types_fcons(s(TV_u_27a,V_a),s(t_fun(t_h4s_nums_num,TV_u_27a),V_f))),s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))))) = s(TV_u_27a,happ(s(t_fun(t_h4s_nums_num,TV_u_27a),V_f),s(t_h4s_nums_num,V_n)))).
fof(ah4s_lists_listu_u_repfnsu_c0, axiom, ![TV_u_27a]: ![V_a]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist2(s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist3(s(t_h4s_lists_list(TV_u_27a),V_a))))) = s(t_h4s_lists_list(TV_u_27a),V_a)).
fof(ah4s_lists_listu_u_repfnsu_c1, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_bottom) => ![V_r]: (![V_uu_27listu_27]: (![V_a0u_270]: ((s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a0u_270) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_0),s(TV_u_27a,h4s_bools_arb),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0))) | ?[V_a0, V_a1]: (s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a0u_270) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))),s(TV_u_27a,V_a0),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),h4s_indu_u_types_fcons(s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a1),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0))))) & p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),t_bool),V_uu_27listu_27),s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a1)))))) => p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),t_bool),V_uu_27listu_27),s(t_h4s_indu_u_types_recspace(TV_u_27a),V_a0u_270))))) => p(s(t_bool,happ(s(t_fun(t_h4s_indu_u_types_recspace(TV_u_27a),t_bool),V_uu_27listu_27),s(t_h4s_indu_u_types_recspace(TV_u_27a),V_r))))) <=> s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist3(s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist2(s(t_h4s_indu_u_types_recspace(TV_u_27a),V_r))))) = s(t_h4s_indu_u_types_recspace(TV_u_27a),V_r)))).
fof(ah4s_lists_hiddenu_u_u_u_20u_u_40indu_u_u_u_typelist0u_u_u_u_def, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_bottom) => s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist0) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist2(s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_0),s(TV_u_27a,h4s_bools_arb),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0))))))).
fof(ah4s_lists_hiddenu_u_u_u_20u_u_40indu_u_u_u_typelist1u_u_u_u_def, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_n]: s(t_h4s_indu_u_types_recspace(TV_u_27a),happ(s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0),s(t_h4s_nums_num,V_n))) = s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_bottom) => ![V_x, V_x0]: s(t_h4s_lists_list(TV_u_27a),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_lists_u_20u_40indu_u_typelist1),s(TV_u_27a,V_x))),s(t_h4s_lists_list(TV_u_27a),V_x0))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist2(s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_indu_u_types_constr(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,h4s_nums_0))),s(TV_u_27a,V_x),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),h4s_indu_u_types_fcons(s(t_h4s_indu_u_types_recspace(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist3(s(t_h4s_lists_list(TV_u_27a),V_x0))),s(t_fun(t_h4s_nums_num,t_h4s_indu_u_types_recspace(TV_u_27a)),V_uu_0))))))))).
fof(ah4s_lists_NIL0, axiom, ![TV_u_27a]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_u_20u_40indu_u_typelist0)).
fof(ah4s_lists_CONS0, axiom, ![TV_u_27a]: s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_lists_cons) = s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_lists_u_20u_40indu_u_typelist1)).
fof(ah4s_lists_TAKEu_u_defu_c0, axiom, ![TV_u_27a]: ![V_n]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_take(s(t_h4s_nums_num,V_n),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)).
fof(ah4s_lists_TAKEu_u_defu_c1, axiom, ![TV_u_27a]: ![V_xs, V_x, V_n]: ?[V_v]: ((p(s(t_bool,V_v)) <=> s(t_h4s_nums_num,V_n) = s(t_h4s_nums_num,h4s_nums_0)) & s(t_h4s_lists_list(TV_u_27a),h4s_lists_take(s(t_h4s_nums_num,V_n),s(t_h4s_lists_list(TV_u_27a),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_lists_cons),s(TV_u_27a,V_x))),s(t_h4s_lists_list(TV_u_27a),V_xs))))) = s(t_h4s_lists_list(TV_u_27a),h4s_bools_cond(s(t_bool,V_v),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil),s(t_h4s_lists_list(TV_u_27a),happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a)),happ(s(t_fun(TV_u_27a,t_fun(t_h4s_lists_list(TV_u_27a),t_h4s_lists_list(TV_u_27a))),h4s_lists_cons),s(TV_u_27a,V_x))),s(t_h4s_lists_list(TV_u_27a),h4s_lists_take(s(t_h4s_nums_num,h4s_arithmetics_u_2d(s(t_h4s_nums_num,V_n),s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit1(s(t_h4s_nums_num,h4s_arithmetics_zero))))))),s(t_h4s_lists_list(TV_u_27a),V_xs))))))))).
fof(ah4s_lists_TAKEu_u_0, axiom, ![TV_u_27a]: ![V_l]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_take(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_lists_list(TV_u_27a),V_l))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)).
fof(ch4s_lists_TAKEu_u_computeu_c2, conjecture, ![TV_u_27b]: ![V_n]: s(t_h4s_lists_list(TV_u_27b),h4s_lists_take(s(t_h4s_nums_num,h4s_arithmetics_numeral(s(t_h4s_nums_num,h4s_arithmetics_bit2(s(t_h4s_nums_num,V_n))))),s(t_h4s_lists_list(TV_u_27b),h4s_lists_nil))) = s(t_h4s_lists_list(TV_u_27b),h4s_lists_nil)).
