%   ORIGINAL: h4/rich__list/BUTLASTN__1
% 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__CLAUSES_c2: !t. F ==> t <=> T
% Assm: h4/bool/NOT__CLAUSES_c1: ~T <=> F
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/arithmetic/ONE: h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO) = h4/num/SUC h4/num/0
% Assm: h4/list/FRONT__SNOC: !x l. h4/list/FRONT (h4/list/SNOC x l) = l
% Assm: h4/list/SNOC__INDUCT: !P. P h4/list/NIL /\ (!l. P l ==> (!x. P (h4/list/SNOC x l))) ==> (!l. P l)
% Assm: h4/rich__list/BUTLASTN0_c0: !l. h4/rich__list/BUTLASTN h4/num/0 l = l
% Assm: h4/rich__list/BUTLASTN0_c1: !x n l. h4/rich__list/BUTLASTN (h4/num/SUC n) (h4/list/SNOC x l) = h4/rich__list/BUTLASTN n l
% Goal: !l. ~(l = h4/list/NIL) ==> h4/rich__list/BUTLASTN (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) l = h4/list/FRONT 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_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_IMPu_u_CLAUSESu_c2]: !t. F ==> t <=> T
% Assm [h4s_bools_NOTu_u_CLAUSESu_c1]: ~T <=> F
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_arithmetics_ONE]: h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO) = h4/num/SUC h4/num/0
% Assm [h4s_lists_FRONTu_u_SNOC]: !x l. h4/list/FRONT (h4/list/SNOC x l) = l
% Assm [h4s_lists_SNOCu_u_INDUCT]: !P. happ P h4/list/NIL /\ (!l. happ P l ==> (!x. happ P (h4/list/SNOC x l))) ==> (!l. happ P l)
% Assm [h4s_richu_u_lists_BUTLASTN0u_c0]: !l. h4/rich__list/BUTLASTN h4/num/0 l = l
% Assm [h4s_richu_u_lists_BUTLASTN0u_c1]: !x n l. h4/rich__list/BUTLASTN (h4/num/SUC n) (h4/list/SNOC x l) = h4/rich__list/BUTLASTN n l
% Goal: !l. ~(l = h4/list/NIL) ==> h4/rich__list/BUTLASTN (h4/arithmetic/NUMERAL (h4/arithmetic/BIT1 h4/arithmetic/ZERO)) l = h4/list/FRONT 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_Q160883,TV_Q160879]: ![V_f, V_g]: (![V_x]: s(TV_Q160879,happ(s(t_fun(TV_Q160883,TV_Q160879),V_f),s(TV_Q160883,V_x))) = s(TV_Q160879,happ(s(t_fun(TV_Q160883,TV_Q160879),V_g),s(TV_Q160883,V_x))) => s(t_fun(TV_Q160883,TV_Q160879),V_f) = s(t_fun(TV_Q160883,TV_Q160879),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_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_NOTu_u_CLAUSESu_c1, axiom, (~ (p(s(t_bool,t))) <=> p(s(t_bool,f)))).
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_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_lists_FRONTu_u_SNOC, axiom, ![TV_u_27a]: ![V_x, V_l]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_front(s(t_h4s_lists_list(TV_u_27a),h4s_lists_snoc(s(TV_u_27a,V_x),s(t_h4s_lists_list(TV_u_27a),V_l))))) = s(t_h4s_lists_list(TV_u_27a),V_l)).
fof(ah4s_lists_SNOCu_u_INDUCT, axiom, ![TV_u_27a]: ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)))) & ![V_l]: (p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l)))) => ![V_x]: p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_snoc(s(TV_u_27a,V_x),s(t_h4s_lists_list(TV_u_27a),V_l)))))))) => ![V_l]: p(s(t_bool,happ(s(t_fun(t_h4s_lists_list(TV_u_27a),t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_l)))))).
fof(ah4s_richu_u_lists_BUTLASTN0u_c0, axiom, ![TV_u_27a]: ![V_l]: s(t_h4s_lists_list(TV_u_27a),h4s_richu_u_lists_butlastn(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),V_l)).
fof(ah4s_richu_u_lists_BUTLASTN0u_c1, axiom, ![TV_u_27a]: ![V_x, V_n, V_l]: s(t_h4s_lists_list(TV_u_27a),h4s_richu_u_lists_butlastn(s(t_h4s_nums_num,h4s_nums_suc(s(t_h4s_nums_num,V_n))),s(t_h4s_lists_list(TV_u_27a),h4s_lists_snoc(s(TV_u_27a,V_x),s(t_h4s_lists_list(TV_u_27a),V_l))))) = s(t_h4s_lists_list(TV_u_27a),h4s_richu_u_lists_butlastn(s(t_h4s_nums_num,V_n),s(t_h4s_lists_list(TV_u_27a),V_l)))).
fof(ch4s_richu_u_lists_BUTLASTNu_u_1, conjecture, ![TV_u_27a]: ![V_l]: (~ (s(t_h4s_lists_list(TV_u_27a),V_l) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil)) => s(t_h4s_lists_list(TV_u_27a),h4s_richu_u_lists_butlastn(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_l))) = s(t_h4s_lists_list(TV_u_27a),h4s_lists_front(s(t_h4s_lists_list(TV_u_27a),V_l))))).
