%   ORIGINAL: h4/words/bit__count__upto__0
% 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/TRUTH: T
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/sum__num/SUM__def_c0: !f. h4/sum__num/SUM h4/num/0 f = h4/num/0
% Assm: h4/words/bit__count__upto__def: !w n. h4/words/bit__count__upto n w = h4/sum__num/SUM n (\i. h4/bool/COND (h4/fcp/fcp__index w i) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) h4/num/0)
% Goal: !w. h4/words/bit__count__upto h4/num/0 w = h4/num/0
%   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_TRUTH]: T
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_sumu_u_nums_SUMu_u_defu_c0]: !f. h4/sum__num/SUM h4/num/0 f = h4/num/0
% Assm [h4s_wordss_bitu_u_countu_u_uptou_u_def]: !_0. (!w i. happ (happ _0 w) i = h4/bool/COND (h4/fcp/fcp__index w i) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) h4/num/0) ==> (!w n. h4/words/bit__count__upto n w = h4/sum__num/SUM n (happ _0 w))
% Goal: !w. h4/words/bit__count__upto h4/num/0 w = h4/num/0
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_Q130262,TV_Q130258]: ![V_f, V_g]: (![V_x]: s(TV_Q130258,happ(s(t_fun(TV_Q130262,TV_Q130258),V_f),s(TV_Q130262,V_x))) = s(TV_Q130258,happ(s(t_fun(TV_Q130262,TV_Q130258),V_g),s(TV_Q130262,V_x))) => s(t_fun(TV_Q130262,TV_Q130258),V_f) = s(t_fun(TV_Q130262,TV_Q130258),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,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_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_sumu_u_nums_SUMu_u_defu_c0, axiom, ![V_f]: s(t_h4s_nums_num,h4s_sumu_u_nums_sum(s(t_h4s_nums_num,h4s_nums_0),s(t_fun(t_h4s_nums_num,t_h4s_nums_num),V_f))) = s(t_h4s_nums_num,h4s_nums_0)).
fof(ah4s_wordss_bitu_u_countu_u_uptou_u_def, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_w, V_i]: s(t_h4s_nums_num,happ(s(t_fun(t_h4s_nums_num,t_h4s_nums_num),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_nums_num)),V_uu_0),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))),s(t_h4s_nums_num,V_i))) = s(t_h4s_nums_num,h4s_bools_cond(s(t_bool,h4s_fcps_fcpu_u_index(s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w),s(t_h4s_nums_num,V_i))),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_0))) => ![V_w, V_n]: s(t_h4s_nums_num,h4s_wordss_bitu_u_countu_u_upto(s(t_h4s_nums_num,V_n),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))) = s(t_h4s_nums_num,h4s_sumu_u_nums_sum(s(t_h4s_nums_num,V_n),s(t_fun(t_h4s_nums_num,t_h4s_nums_num),happ(s(t_fun(t_h4s_fcps_cart(t_bool,TV_u_27a),t_fun(t_h4s_nums_num,t_h4s_nums_num)),V_uu_0),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))))))).
fof(ch4s_wordss_bitu_u_countu_u_uptou_u_0, conjecture, ![TV_u_27a]: ![V_w]: s(t_h4s_nums_num,h4s_wordss_bitu_u_countu_u_upto(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_fcps_cart(t_bool,TV_u_27a),V_w))) = s(t_h4s_nums_num,h4s_nums_0)).
