%   ORIGINAL: h4/quotient__list/FILTER__RSP
% 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/EXCLUDED__MIDDLE: !t. t \/ ~t
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/F__IMP: !t. ~t ==> t ==> F
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/AND__CLAUSES_c3: !t. t /\ F <=> F
% Assm: h4/bool/IMP__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/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/list/FILTER0_c0: !P. h4/list/FILTER P h4/list/NIL = h4/list/NIL
% Assm: h4/list/FILTER0_c1: !t h P. h4/list/FILTER P (h4/list/CONS h t) = h4/bool/COND (P h) (h4/list/CONS h (h4/list/FILTER P t)) (h4/list/FILTER P t)
% Assm: h4/list/list__induction: !P. P h4/list/NIL /\ (!t. P t ==> (!h. P (h4/list/CONS h t))) ==> (!l. P l)
% Assm: h4/list/LIST__REL__def_c0: !R. h4/list/LIST__REL R h4/list/NIL h4/list/NIL <=> T
% Assm: h4/list/LIST__REL__def_c1: !as a R. h4/list/LIST__REL R (h4/list/CONS a as) h4/list/NIL <=> F
% Assm: h4/list/LIST__REL__def_c2: !bs b R. h4/list/LIST__REL R h4/list/NIL (h4/list/CONS b bs) <=> F
% Assm: h4/list/LIST__REL__def_c3: !bs b as a R. h4/list/LIST__REL R (h4/list/CONS a as) (h4/list/CONS b bs) <=> R a b /\ h4/list/LIST__REL R as bs
% Assm: h4/quotient/FUN__REL: !g f R2 R1. h4/quotient/_3D_3D_3D_3E R1 R2 f g <=> (!x y. R1 x y ==> R2 (f x) (g y))
% Goal: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!P1 P2 l1 l2. h4/quotient/_3D_3D_3D_3E R $equals P1 P2 /\ h4/list/LIST__REL R l1 l2 ==> h4/list/LIST__REL R (h4/list/FILTER P1 l1) (h4/list/FILTER P2 l2))
%   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_EXCLUDEDu_u_MIDDLE]: !t. t \/ ~t
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_Fu_u_IMP]: !t. ~t ==> t ==> F
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c3]: !t. t /\ F <=> F
% Assm [h4s_bools_IMPu_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_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_lists_FILTER0u_c0]: !P. h4/list/FILTER P h4/list/NIL = h4/list/NIL
% Assm [h4s_lists_FILTER0u_c1]: !t h P. h4/list/FILTER P (h4/list/CONS h t) = h4/bool/COND (happ P h) (h4/list/CONS h (h4/list/FILTER P t)) (h4/list/FILTER P t)
% Assm [h4s_lists_listu_u_induction]: !P. happ P h4/list/NIL /\ (!t. happ P t ==> (!h. happ P (h4/list/CONS h t))) ==> (!l. happ P l)
% Assm [h4s_lists_LISTu_u_RELu_u_defu_c0]: !R. h4/list/LIST__REL R h4/list/NIL h4/list/NIL <=> T
% Assm [h4s_lists_LISTu_u_RELu_u_defu_c1]: !as a R. h4/list/LIST__REL R (h4/list/CONS a as) h4/list/NIL <=> F
% Assm [h4s_lists_LISTu_u_RELu_u_defu_c2]: !bs b R. h4/list/LIST__REL R h4/list/NIL (h4/list/CONS b bs) <=> F
% Assm [h4s_lists_LISTu_u_RELu_u_defu_c3]: !bs b as a R. h4/list/LIST__REL R (h4/list/CONS a as) (h4/list/CONS b bs) <=> happ (happ R a) b /\ h4/list/LIST__REL R as bs
% Assm [h4s_quotients_FUNu_u_REL]: !g f R2 R1. h4/quotient/_3D_3D_3D_3E R1 R2 f g <=> (!x y. happ (happ R1 x) y ==> happ (happ R2 (happ f x)) (happ g y))
% Goal: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!P1 P2 l1 l2. h4/quotient/_3D_3D_3D_3E R $equals P1 P2 /\ h4/list/LIST__REL R l1 l2 ==> h4/list/LIST__REL R (h4/list/FILTER P1 l1) (h4/list/FILTER P2 l2))
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_Q330417,TV_Q330413]: ![V_f, V_g]: (![V_x]: s(TV_Q330413,happ(s(t_fun(TV_Q330417,TV_Q330413),V_f),s(TV_Q330417,V_x))) = s(TV_Q330413,happ(s(t_fun(TV_Q330417,TV_Q330413),V_g),s(TV_Q330417,V_x))) => s(t_fun(TV_Q330417,TV_Q330413),V_f) = s(t_fun(TV_Q330417,TV_Q330413),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_EXCLUDEDu_u_MIDDLE, axiom, ![V_t]: (p(s(t_bool,V_t)) | ~ (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_Fu_u_IMP, axiom, ![V_t]: (~ (p(s(t_bool,V_t))) => (p(s(t_bool,V_t)) => p(s(t_bool,f))))).
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_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_ANDu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,f))) <=> p(s(t_bool,f)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,t))) <=> 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_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_lists_FILTER0u_c0, axiom, ![TV_u_27a]: ![V_P]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),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_FILTER0u_c1, axiom, ![TV_u_27a]: ![V_t, V_h, V_P]: s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t))))) = s(t_h4s_lists_list(TV_u_27a),h4s_bools_cond(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_h))),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_t))))),s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P),s(t_h4s_lists_list(TV_u_27a),V_t)))))).
fof(ah4s_lists_listu_u_induction, 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_t]: (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_t)))) => ![V_h]: 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_cons(s(TV_u_27a,V_h),s(t_h4s_lists_list(TV_u_27a),V_t)))))))) => ![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_lists_LISTu_u_RELu_u_defu_c0, axiom, ![TV_u_27a,TV_u_27b]: ![V_R]: s(t_bool,h4s_lists_listu_u_rel(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil),s(t_h4s_lists_list(TV_u_27b),h4s_lists_nil))) = s(t_bool,t)).
fof(ah4s_lists_LISTu_u_RELu_u_defu_c1, axiom, ![TV_u_27a,TV_u_27b]: ![V_as, V_a, V_R]: s(t_bool,h4s_lists_listu_u_rel(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_a),s(t_h4s_lists_list(TV_u_27a),V_as))),s(t_h4s_lists_list(TV_u_27b),h4s_lists_nil))) = s(t_bool,f)).
fof(ah4s_lists_LISTu_u_RELu_u_defu_c2, axiom, ![TV_u_27a,TV_u_27b]: ![V_bs, V_b, V_R]: s(t_bool,h4s_lists_listu_u_rel(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(t_h4s_lists_list(TV_u_27a),h4s_lists_nil),s(t_h4s_lists_list(TV_u_27b),h4s_lists_cons(s(TV_u_27b,V_b),s(t_h4s_lists_list(TV_u_27b),V_bs))))) = s(t_bool,f)).
fof(ah4s_lists_LISTu_u_RELu_u_defu_c3, axiom, ![TV_u_27a,TV_u_27b]: ![V_bs, V_b, V_as, V_a, V_R]: (p(s(t_bool,h4s_lists_listu_u_rel(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(t_h4s_lists_list(TV_u_27a),h4s_lists_cons(s(TV_u_27a,V_a),s(t_h4s_lists_list(TV_u_27a),V_as))),s(t_h4s_lists_list(TV_u_27b),h4s_lists_cons(s(TV_u_27b,V_b),s(t_h4s_lists_list(TV_u_27b),V_bs)))))) <=> (p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_a))),s(TV_u_27b,V_b)))) & p(s(t_bool,h4s_lists_listu_u_rel(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(t_h4s_lists_list(TV_u_27a),V_as),s(t_h4s_lists_list(TV_u_27b),V_bs))))))).
fof(ah4s_quotients_FUNu_u_REL, axiom, ![TV_u_27b,TV_u_27a]: ![V_g, V_f, V_R2, V_R1]: (p(s(t_bool,h4s_quotients_u_3du_3du_3du_3e(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R1),s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),V_R2),s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27b),V_g)))) <=> ![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R1),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),V_R2),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x))))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_g),s(TV_u_27a,V_y))))))))).
fof(ch4s_quotientu_u_lists_FILTERu_u_RSP, conjecture, ![TV_u_27b,TV_u_27a]: ![V_rep, V_abs, V_R]: (p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(TV_u_27b,TV_u_27a),V_rep)))) => ![V_P1, V_P2, V_l1, V_l2]: ((p(s(t_bool,h4s_quotients_u_3du_3du_3du_3e(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(t_bool,t_fun(t_bool,t_bool)),d_equals),s(t_fun(TV_u_27a,t_bool),V_P1),s(t_fun(TV_u_27a,t_bool),V_P2)))) & p(s(t_bool,h4s_lists_listu_u_rel(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_h4s_lists_list(TV_u_27a),V_l1),s(t_h4s_lists_list(TV_u_27a),V_l2))))) => p(s(t_bool,h4s_lists_listu_u_rel(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P1),s(t_h4s_lists_list(TV_u_27a),V_l1))),s(t_h4s_lists_list(TV_u_27a),h4s_lists_filter(s(t_fun(TV_u_27a,t_bool),V_P2),s(t_h4s_lists_list(TV_u_27a),V_l2))))))))).
