%   ORIGINAL: h4/quotient/EQUIV__REFL__SYM__TRANS
% 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/EQ__SYM: !y x. x = y ==> y = x
% Assm: h4/bool/EQ__TRANS: !z y x. x = y /\ y = z ==> x = z
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Goal: !R. (!x y. R x y <=> R x = R y) <=> (!x. R x x) /\ (!x y. R x y ==> R y x) /\ (!x y z. R x y /\ R y z ==> R x z)
%   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_EQu_u_SYM]: !y x. x = y ==> y = x
% Assm [h4s_bools_EQu_u_TRANS]: !z y x. x = y /\ y = z ==> x = z
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Goal: !R. (!x y. happ (happ R x) y <=> happ R x = happ R y) <=> (!x. happ (happ R x) x) /\ (!x y. happ (happ R x) y ==> happ (happ R y) x) /\ (!x y z. happ (happ R x) y /\ happ (happ R y) z ==> happ (happ R x) z)
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_Q224658,TV_Q224654]: ![V_f, V_g]: (![V_x]: s(TV_Q224654,happ(s(t_fun(TV_Q224658,TV_Q224654),V_f),s(TV_Q224658,V_x))) = s(TV_Q224654,happ(s(t_fun(TV_Q224658,TV_Q224654),V_g),s(TV_Q224658,V_x))) => s(t_fun(TV_Q224658,TV_Q224654),V_f) = s(t_fun(TV_Q224658,TV_Q224654),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_EQu_u_SYM, 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_TRANS, axiom, ![TV_u_27a]: ![V_z, 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_z)) => s(TV_u_27a,V_x) = s(TV_u_27a,V_z))).
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(ch4s_quotients_EQUIVu_u_REFLu_u_SYMu_u_TRANS, conjecture, ![TV_u_27a]: ![V_R]: (![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_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(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)))) <=> (![V_x]: 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_x)))) & (![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)))) => 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))))) & ![V_x, V_y, V_z]: ((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)))) & 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_z))))) => 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_z))))))))).
