%   ORIGINAL: h4/rich__list/COUNT__LIST__AUX__def__compute_c1
% 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/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% 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/rich__list/COUNT__LIST__AUX__def_c0: !l. h4/rich__list/COUNT__LIST__AUX h4/num/0 l = l
% Assm: h4/rich__list/COUNT__LIST__AUX__def_c1: !n l. h4/rich__list/COUNT__LIST__AUX (h4/num/SUC n) l = h4/rich__list/COUNT__LIST__AUX n (h4/list/CONS n l)
% Goal: !n l. h4/rich__list/COUNT__LIST__AUX (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) l = h4/rich__list/COUNT__LIST__AUX (h4/arithmetic/_2D (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))) (h4/list/CONS (h4/arithmetic/_2D (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))) l)
%   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_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% 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_richu_u_lists_COUNTu_u_LISTu_u_AUXu_u_defu_c0]: !l. h4/rich__list/COUNT__LIST__AUX h4/num/0 l = l
% Assm [h4s_richu_u_lists_COUNTu_u_LISTu_u_AUXu_u_defu_c1]: !n l. h4/rich__list/COUNT__LIST__AUX (h4/num/SUC n) l = h4/rich__list/COUNT__LIST__AUX n (h4/list/CONS n l)
% Goal: !n l. h4/rich__list/COUNT__LIST__AUX (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) l = h4/rich__list/COUNT__LIST__AUX (h4/arithmetic/_2D (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))) (h4/list/CONS (h4/arithmetic/_2D (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 n)) (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO))) l)
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_Q157706,TV_Q157702]: ![V_f, V_g]: (![V_x]: s(TV_Q157702,happ(s(t_fun(TV_Q157706,TV_Q157702),V_f),s(TV_Q157706,V_x))) = s(TV_Q157702,happ(s(t_fun(TV_Q157706,TV_Q157702),V_g),s(TV_Q157706,V_x))) => s(t_fun(TV_Q157706,TV_Q157702),V_f) = s(t_fun(TV_Q157706,TV_Q157702),V_g))).
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_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_richu_u_lists_COUNTu_u_LISTu_u_AUXu_u_defu_c0, axiom, ![V_l]: s(t_h4s_lists_list(t_h4s_nums_num),h4s_richu_u_lists_countu_u_listu_u_aux(s(t_h4s_nums_num,h4s_nums_0),s(t_h4s_lists_list(t_h4s_nums_num),V_l))) = s(t_h4s_lists_list(t_h4s_nums_num),V_l)).
fof(ah4s_richu_u_lists_COUNTu_u_LISTu_u_AUXu_u_defu_c1, axiom, ![V_n, V_l]: s(t_h4s_lists_list(t_h4s_nums_num),h4s_richu_u_lists_countu_u_listu_u_aux(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))),s(t_h4s_lists_list(t_h4s_nums_num),V_l))) = s(t_h4s_lists_list(t_h4s_nums_num),h4s_richu_u_lists_countu_u_listu_u_aux(s(t_h4s_nums_num,V_n),s(t_h4s_lists_list(t_h4s_nums_num),h4s_lists_cons(s(t_h4s_nums_num,V_n),s(t_h4s_lists_list(t_h4s_nums_num),V_l)))))).
fof(ch4s_richu_u_lists_COUNTu_u_LISTu_u_AUXu_u_defu_u_computeu_c1, conjecture, ![V_n, V_l]: s(t_h4s_lists_list(t_h4s_nums_num),h4s_richu_u_lists_countu_u_listu_u_aux(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_lists_list(t_h4s_nums_num),V_l))) = s(t_h4s_lists_list(t_h4s_nums_num),h4s_richu_u_lists_countu_u_listu_u_aux(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_lists_list(t_h4s_nums_num),h4s_lists_cons(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_lists_list(t_h4s_nums_num),V_l)))))).
