%   ORIGINAL: h4/quotient__pred__set/FINITE__PRS
% 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/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/IMP__CLAUSES_c1: !t. t ==> T <=> T
% Assm: h4/bool/NOT__CLAUSES_c2: ~F <=> 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_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/EQ__CLAUSES_c2: !t. (F <=> t) <=> ~t
% Assm: h4/bool/AND__IMP__INTRO: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm: h4/combin/I__THM: !x. h4/combin/I x = x
% Assm: h4/pred__set/SPECIFICATION: !x P. h4/bool/IN x P <=> P x
% Assm: h4/pred__set/EXTENSION: !t s. s = t <=> (!x. h4/bool/IN x s <=> h4/bool/IN x t)
% Assm: h4/pred__set/NOT__IN__EMPTY: !x. ~h4/bool/IN x h4/pred__set/EMPTY
% Assm: h4/pred__set/IN__INSERT: !y x s. h4/bool/IN x (h4/pred__set/INSERT y s) <=> x = y \/ h4/bool/IN x s
% Assm: h4/pred__set/FINITE__DEF: !s. h4/pred__set/FINITE s <=> (!P. P h4/pred__set/EMPTY /\ (!s0. P s0 ==> (!e. P (h4/pred__set/INSERT e s0))) ==> P s)
% Assm: h4/res__quan/RES__FORALL: !f P. h4/bool/RES__FORALL P f <=> (!x. h4/bool/IN x P ==> f x)
% Assm: h4/quotient/QUOTIENT__ABS__REP: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!a. abs (rep a) = a)
% Assm: h4/quotient/QUOTIENT__REP__REFL: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!a. R (rep a) (rep a))
% Assm: h4/quotient/QUOTIENT__REL: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!r s. R r s <=> R r r /\ R s s /\ abs r = abs s)
% Assm: h4/quotient/QUOTIENT__REL__ABS: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!r s. R r s ==> abs r = abs s)
% Assm: h4/quotient/IDENTITY__QUOTIENT: h4/quotient/QUOTIENT $equals h4/combin/I h4/combin/I
% Assm: h4/quotient/FUN__MAP__THM: !x h g f. h4/quotient/_2D_2D_3E f g h x = g (h (f x))
% 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))
% Assm: h4/quotient/FUN__QUOTIENT: !rep1 abs1 R1. h4/quotient/QUOTIENT R1 abs1 rep1 ==> (!R2 abs2 rep2. h4/quotient/QUOTIENT R2 abs2 rep2 ==> h4/quotient/QUOTIENT (h4/quotient/_3D_3D_3D_3E R1 R2) (h4/quotient/_2D_2D_3E rep1 abs2) (h4/quotient/_2D_2D_3E abs1 rep2))
% Assm: h4/quotient/IN__RESPECTS: !x R. h4/bool/IN x (h4/quotient/respects R) <=> R x x
% Assm: h4/quotient__pred__set/IN__SET__MAP: !x s f. h4/bool/IN x (h4/quotient/_2D_2D_3E f h4/combin/I s) <=> h4/bool/IN (f x) s
% Assm: h4/quotient__pred__set/SET__REL: !t s R. h4/quotient/_3D_3D_3D_3E R $equals s t <=> (!x y. R x y ==> (h4/bool/IN x s <=> h4/bool/IN y t))
% Assm: h4/quotient__pred__set/EMPTY__PRS: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> h4/pred__set/EMPTY = h4/quotient/_2D_2D_3E rep h4/combin/I h4/pred__set/EMPTY
% Assm: h4/quotient__pred__set/IN__INSERTR: !y x s R. h4/bool/IN y (h4/quotient__pred__set/INSERTR R x s) <=> R y x \/ h4/bool/IN y s
% Assm: h4/quotient__pred__set/FINITER__def: !s R. h4/quotient__pred__set/FINITER R s <=> h4/bool/RES__FORALL (h4/quotient/respects (h4/quotient/_3D_3D_3D_3E (h4/quotient/_3D_3D_3D_3E R $equals) $equals)) (\P. P h4/pred__set/EMPTY /\ h4/bool/RES__FORALL (h4/quotient/respects (h4/quotient/_3D_3D_3D_3E R $equals)) (\s0. P s0 ==> h4/bool/RES__FORALL (h4/quotient/respects R) (\e. P (h4/quotient__pred__set/INSERTR R e s0))) ==> P s)
% Goal: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!s. h4/pred__set/FINITE s <=> h4/quotient__pred__set/FINITER R (h4/quotient/_2D_2D_3E abs h4/combin/I s))
%   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_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% 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_IMPu_u_CLAUSESu_c1]: !t. t ==> T <=> T
% Assm [h4s_bools_NOTu_u_CLAUSESu_c2]: ~F <=> 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_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c2]: !t. (F <=> t) <=> ~t
% Assm [h4s_bools_ANDu_u_IMPu_u_INTRO]: !t3 t2 t1. t1 ==> t2 ==> t3 <=> t1 /\ t2 ==> t3
% Assm [h4s_combins_Iu_u_THM]: !x. happ h4/combin/I x = x
% Assm [h4s_predu_u_sets_SPECIFICATION]: !x P. h4/bool/IN x P <=> happ P x
% Assm [h4s_predu_u_sets_EXTENSION]: !t s. s = t <=> (!x. h4/bool/IN x s <=> h4/bool/IN x t)
% Assm [h4s_predu_u_sets_NOTu_u_INu_u_EMPTY]: !x. ~h4/bool/IN x h4/pred__set/EMPTY
% Assm [h4s_predu_u_sets_INu_u_INSERT]: !y x s. h4/bool/IN x (h4/pred__set/INSERT y s) <=> x = y \/ h4/bool/IN x s
% Assm [h4s_predu_u_sets_FINITEu_u_DEF]: !s. h4/pred__set/FINITE s <=> (!P. happ P h4/pred__set/EMPTY /\ (!s0. happ P s0 ==> (!e. happ P (h4/pred__set/INSERT e s0))) ==> happ P s)
% Assm [h4s_resu_u_quans_RESu_u_FORALL]: !f P. h4/bool/RES__FORALL P f <=> (!x. h4/bool/IN x P ==> happ f x)
% Assm [h4s_quotients_QUOTIENTu_u_ABSu_u_REP]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!a. happ abs (happ rep a) = a)
% Assm [h4s_quotients_QUOTIENTu_u_REPu_u_REFL]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!a. happ (happ R (happ rep a)) (happ rep a))
% Assm [h4s_quotients_QUOTIENTu_u_REL]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!r s. happ (happ R r) s <=> happ (happ R r) r /\ happ (happ R s) s /\ happ abs r = happ abs s)
% Assm [h4s_quotients_QUOTIENTu_u_RELu_u_ABS]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!r s. happ (happ R r) s ==> happ abs r = happ abs s)
% Assm [h4s_quotients_IDENTITYu_u_QUOTIENT]: h4/quotient/QUOTIENT $equals h4/combin/I h4/combin/I
% Assm [h4s_quotients_FUNu_u_MAPu_u_THM]: !x h g f. happ (happ (h4/quotient/_2D_2D_3E f g) h) x = happ g (happ h (happ f x))
% Assm [h4s_quotients_FUNu_u_REL]: !g f R2 R1. happ (happ (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))
% Assm [h4s_quotients_FUNu_u_QUOTIENT]: !rep1 abs1 R1. h4/quotient/QUOTIENT R1 abs1 rep1 ==> (!R2 abs2 rep2. h4/quotient/QUOTIENT R2 abs2 rep2 ==> h4/quotient/QUOTIENT (h4/quotient/_3D_3D_3D_3E R1 R2) (h4/quotient/_2D_2D_3E rep1 abs2) (h4/quotient/_2D_2D_3E abs1 rep2))
% Assm [h4s_quotients_INu_u_RESPECTS]: !x R. h4/bool/IN x (h4/quotient/respects R) <=> happ (happ R x) x
% Assm [h4s_quotientu_u_predu_u_sets_INu_u_SETu_u_MAP]: !x s f. h4/bool/IN x (happ (h4/quotient/_2D_2D_3E f h4/combin/I) s) <=> h4/bool/IN (happ f x) s
% Assm [h4s_quotientu_u_predu_u_sets_SETu_u_REL]: !t s R. happ (happ (h4/quotient/_3D_3D_3D_3E R $equals) s) t <=> (!x y. happ (happ R x) y ==> (h4/bool/IN x s <=> h4/bool/IN y t))
% Assm [h4s_quotientu_u_predu_u_sets_EMPTYu_u_PRS]: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> h4/pred__set/EMPTY = happ (h4/quotient/_2D_2D_3E rep h4/combin/I) h4/pred__set/EMPTY
% Assm [h4s_quotientu_u_predu_u_sets_INu_u_INSERTR]: !y x s R. h4/bool/IN y (h4/quotient__pred__set/INSERTR R x s) <=> happ (happ R y) x \/ h4/bool/IN y s
% Assm [h4s_quotientu_u_predu_u_sets_FINITERu_u_def]: !_2. (!P R s0 e. happ (happ (happ (happ _2 P) R) s0) e <=> happ P (h4/quotient__pred__set/INSERTR R e s0)) ==> (!_1. (!P R s0. happ (happ (happ _1 P) R) s0 <=> happ P s0 ==> h4/bool/RES__FORALL (h4/quotient/respects R) (happ (happ (happ _2 P) R) s0)) ==> (!_0. (!R s P. happ (happ (happ _0 R) s) P <=> happ P h4/pred__set/EMPTY /\ h4/bool/RES__FORALL (h4/quotient/respects (h4/quotient/_3D_3D_3D_3E R $equals)) (happ (happ _1 P) R) ==> happ P s) ==> (!s R. h4/quotient__pred__set/FINITER R s <=> h4/bool/RES__FORALL (h4/quotient/respects (h4/quotient/_3D_3D_3D_3E (h4/quotient/_3D_3D_3D_3E R $equals) $equals)) (happ (happ _0 R) s))))
% Goal: !rep abs R. h4/quotient/QUOTIENT R abs rep ==> (!s. h4/pred__set/FINITE s <=> h4/quotient__pred__set/FINITER R (happ (h4/quotient/_2D_2D_3E abs h4/combin/I) s))
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_Q86278,TV_Q86274]: ![V_f, V_g]: (![V_x]: s(TV_Q86274,happ(s(t_fun(TV_Q86278,TV_Q86274),V_f),s(TV_Q86278,V_x))) = s(TV_Q86274,happ(s(t_fun(TV_Q86278,TV_Q86274),V_g),s(TV_Q86278,V_x))) => s(t_fun(TV_Q86278,TV_Q86274),V_f) = s(t_fun(TV_Q86278,TV_Q86274),V_g))).
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_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_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_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_NOTu_u_CLAUSESu_c2, axiom, (~ (p(s(t_bool,f))) <=> 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_c1, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_EQu_u_CLAUSESu_c2, axiom, ![V_t]: (s(t_bool,f) = s(t_bool,V_t) <=> ~ (p(s(t_bool,V_t))))).
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_combins_Iu_u_THM, axiom, ![TV_u_27a]: ![V_x]: s(TV_u_27a,happ(s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i),s(TV_u_27a,V_x))) = s(TV_u_27a,V_x)).
fof(ah4s_predu_u_sets_SPECIFICATION, axiom, ![TV_u_27a]: ![V_x, V_P]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_P))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))).
fof(ah4s_predu_u_sets_EXTENSION, axiom, ![TV_u_27a]: ![V_t, V_s]: (s(t_fun(TV_u_27a,t_bool),V_s) = s(t_fun(TV_u_27a,t_bool),V_t) <=> ![V_x]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_s))) = s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_t))))).
fof(ah4s_predu_u_sets_NOTu_u_INu_u_EMPTY, axiom, ![TV_u_27a]: ![V_x]: ~ (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty)))))).
fof(ah4s_predu_u_sets_INu_u_INSERT, axiom, ![TV_u_27a]: ![V_y, V_x, V_s]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_insert(s(TV_u_27a,V_y),s(t_fun(TV_u_27a,t_bool),V_s)))))) <=> (s(TV_u_27a,V_x) = s(TV_u_27a,V_y) | p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_s))))))).
fof(ah4s_predu_u_sets_FINITEu_u_DEF, axiom, ![TV_u_27a]: ![V_s]: (p(s(t_bool,h4s_predu_u_sets_finite(s(t_fun(TV_u_27a,t_bool),V_s)))) <=> ![V_P]: ((p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty)))) & ![V_s0]: (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_s0)))) => ![V_e]: p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_insert(s(TV_u_27a,V_e),s(t_fun(TV_u_27a,t_bool),V_s0)))))))) => p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_s))))))).
fof(ah4s_resu_u_quans_RESu_u_FORALL, axiom, ![TV_u_27a]: ![V_f, V_P]: (p(s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_f)))) <=> ![V_x]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_P)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_x))))))).
fof(ah4s_quotients_QUOTIENTu_u_ABSu_u_REP, axiom, ![TV_u_27a,TV_u_27b]: ![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_a]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_a))))) = s(TV_u_27b,V_a))).
fof(ah4s_quotients_QUOTIENTu_u_REPu_u_REFL, axiom, ![TV_u_27a,TV_u_27b]: ![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_a]: 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_R),s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_a))))),s(TV_u_27a,happ(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(TV_u_27b,V_a)))))))).
fof(ah4s_quotients_QUOTIENTu_u_REL, axiom, ![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_r, V_s]: (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_R),s(TV_u_27a,V_r))),s(TV_u_27a,V_s)))) <=> (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_R),s(TV_u_27a,V_r))),s(TV_u_27a,V_r)))) & (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_R),s(TV_u_27a,V_s))),s(TV_u_27a,V_s)))) & s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(TV_u_27a,V_r))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(TV_u_27a,V_s)))))))).
fof(ah4s_quotients_QUOTIENTu_u_RELu_u_ABS, axiom, ![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_r, V_s]: (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_R),s(TV_u_27a,V_r))),s(TV_u_27a,V_s)))) => s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(TV_u_27a,V_r))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(TV_u_27a,V_s)))))).
fof(ah4s_quotients_IDENTITYu_u_QUOTIENT, axiom, ![TV_u_27a]: p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals),s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i),s(t_fun(TV_u_27a,TV_u_27a),h4s_combins_i))))).
fof(ah4s_quotients_FUNu_u_MAPu_u_THM, axiom, ![TV_u_27d,TV_u_27b,TV_u_27c,TV_u_27a]: ![V_x, V_h, V_g, V_f]: s(TV_u_27d,happ(s(t_fun(TV_u_27a,TV_u_27d),happ(s(t_fun(t_fun(TV_u_27c,TV_u_27b),t_fun(TV_u_27a,TV_u_27d)),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27a,TV_u_27c),V_f),s(t_fun(TV_u_27b,TV_u_27d),V_g))),s(t_fun(TV_u_27c,TV_u_27b),V_h))),s(TV_u_27a,V_x))) = s(TV_u_27d,happ(s(t_fun(TV_u_27b,TV_u_27d),V_g),s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),V_h),s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),V_f),s(TV_u_27a,V_x)))))))).
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,happ(s(t_fun(t_fun(TV_u_27a,TV_u_27b),t_bool),happ(s(t_fun(t_fun(TV_u_27a,TV_u_27b),t_fun(t_fun(TV_u_27a,TV_u_27b),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(ah4s_quotients_FUNu_u_QUOTIENT, axiom, ![TV_u_27a,TV_u_27c,TV_u_27d,TV_u_27b]: ![V_rep1, V_abs1, V_R1]: (p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R1),s(t_fun(TV_u_27a,TV_u_27c),V_abs1),s(t_fun(TV_u_27c,TV_u_27a),V_rep1)))) => ![V_R2, V_abs2, V_rep2]: (p(s(t_bool,h4s_quotients_quotient(s(t_fun(TV_u_27b,t_fun(TV_u_27b,t_bool)),V_R2),s(t_fun(TV_u_27b,TV_u_27d),V_abs2),s(t_fun(TV_u_27d,TV_u_27b),V_rep2)))) => p(s(t_bool,h4s_quotients_quotient(s(t_fun(t_fun(TV_u_27a,TV_u_27b),t_fun(t_fun(TV_u_27a,TV_u_27b),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(t_fun(TV_u_27a,TV_u_27b),t_fun(TV_u_27c,TV_u_27d)),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27c,TV_u_27a),V_rep1),s(t_fun(TV_u_27b,TV_u_27d),V_abs2))),s(t_fun(t_fun(TV_u_27c,TV_u_27d),t_fun(TV_u_27a,TV_u_27b)),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27a,TV_u_27c),V_abs1),s(t_fun(TV_u_27d,TV_u_27b),V_rep2))))))))).
fof(ah4s_quotients_INu_u_RESPECTS, axiom, ![TV_u_27a]: ![V_x, V_R]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_quotients_respects(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))) = 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_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_x)))).
fof(ah4s_quotientu_u_predu_u_sets_INu_u_SETu_u_MAP, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_s, V_f]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27b,t_bool),t_fun(TV_u_27a,t_bool)),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(t_bool,t_bool),h4s_combins_i))),s(t_fun(TV_u_27b,t_bool),V_s))))) = s(t_bool,h4s_bools_in(s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x))),s(t_fun(TV_u_27b,t_bool),V_s)))).
fof(ah4s_quotientu_u_predu_u_sets_SETu_u_REL, axiom, ![TV_u_27a]: ![V_t, V_s, V_R]: (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(TV_u_27a,t_bool),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_s))),s(t_fun(TV_u_27a,t_bool),V_t)))) <=> ![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_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_s))) = s(t_bool,h4s_bools_in(s(TV_u_27a,V_y),s(t_fun(TV_u_27a,t_bool),V_t)))))).
fof(ah4s_quotientu_u_predu_u_sets_EMPTYu_u_PRS, axiom, ![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)))) => s(t_fun(TV_u_27b,t_bool),h4s_predu_u_sets_empty) = s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27b,t_bool)),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27b,TV_u_27a),V_rep),s(t_fun(t_bool,t_bool),h4s_combins_i))),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty))))).
fof(ah4s_quotientu_u_predu_u_sets_INu_u_INSERTR, axiom, ![TV_u_27a]: ![V_y, V_x, V_s, V_R]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_y),s(t_fun(TV_u_27a,t_bool),h4s_quotientu_u_predu_u_sets_insertr(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_s)))))) <=> (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_R),s(TV_u_27a,V_y))),s(TV_u_27a,V_x)))) | p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_y),s(t_fun(TV_u_27a,t_bool),V_s))))))).
fof(ah4s_quotientu_u_predu_u_sets_FINITERu_u_def, axiom, ![TV_u_27a]: ![V_uu_2]: (![V_P, V_R, V_s0, V_e]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)))),V_uu_2),s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(t_fun(TV_u_27a,t_bool),V_s0))),s(TV_u_27a,V_e))) = s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P),s(t_fun(TV_u_27a,t_bool),h4s_quotientu_u_predu_u_sets_insertr(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_e),s(t_fun(TV_u_27a,t_bool),V_s0))))) => ![V_uu_1]: (![V_P, V_R, V_s0]: (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_bool)),happ(s(t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_bool))),V_uu_1),s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(t_fun(TV_u_27a,t_bool),V_s0)))) <=> (p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_s0)))) => p(s(t_bool,h4s_bools_resu_u_forall(s(t_fun(TV_u_27a,t_bool),h4s_quotients_respects(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool))),happ(s(t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_fun(TV_u_27a,t_bool)))),V_uu_2),s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(t_fun(TV_u_27a,t_bool),V_s0)))))))) => ![V_uu_0]: (![V_R, V_s, V_P]: (p(s(t_bool,happ(s(t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_bool))),V_uu_0),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(t_fun(TV_u_27a,t_bool),V_s))),s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P)))) <=> ((p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P),s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_empty)))) & p(s(t_bool,h4s_bools_resu_u_forall(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),h4s_quotients_respects(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(TV_u_27a,t_bool),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(t_fun(TV_u_27a,t_bool),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_bool)),happ(s(t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_bool))),V_uu_1),s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P))),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))))))) => p(s(t_bool,happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_bool),V_P),s(t_fun(TV_u_27a,t_bool),V_s)))))) => ![V_s, V_R]: s(t_bool,h4s_quotientu_u_predu_u_sets_finiter(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,t_bool),V_s))) = s(t_bool,h4s_bools_resu_u_forall(s(t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_bool),h4s_quotients_respects(s(t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_bool)),h4s_quotients_u_3du_3du_3du_3e(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(TV_u_27a,t_bool),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(t_bool,t_fun(t_bool,t_bool)),d_equals))))),s(t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_bool),happ(s(t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_bool)),happ(s(t_fun(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),t_fun(t_fun(TV_u_27a,t_bool),t_fun(t_fun(t_fun(TV_u_27a,t_bool),t_bool),t_bool))),V_uu_0),s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R))),s(t_fun(TV_u_27a,t_bool),V_s))))))))).
fof(ch4s_quotientu_u_predu_u_sets_FINITEu_u_PRS, conjecture, ![TV_u_27a,TV_u_27b]: ![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_s]: s(t_bool,h4s_predu_u_sets_finite(s(t_fun(TV_u_27b,t_bool),V_s))) = s(t_bool,h4s_quotientu_u_predu_u_sets_finiter(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(t_fun(TV_u_27b,t_bool),t_fun(TV_u_27a,t_bool)),h4s_quotients_u_2du_2du_3e(s(t_fun(TV_u_27a,TV_u_27b),V_abs),s(t_fun(t_bool,t_bool),h4s_combins_i))),s(t_fun(TV_u_27b,t_bool),V_s))))))).
