%   ORIGINAL: h4/bool/COND__ABS
% 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/T__DEF: T <=> (\x. x) = (\x. x)
% Assm: h4/bool/OR__DEF: $or = (\t1 t2. !t. (t1 ==> t) ==> (t2 ==> t) ==> t)
% Assm: h4/bool/F__DEF: F <=> (!t. t)
% Assm: h4/bool/NOT__DEF: $not = (\t. t ==> F)
% Assm: h4/bool/COND__DEF: h4/bool/COND = (\t t1 t2. h4/min/_40 (\x. ((t <=> T) ==> x = t1) /\ ((t <=> F) ==> x = t2)))
% Assm: h4/bool/BOOL__CASES__AX: !t. (t <=> T) \/ (t <=> F)
% Assm: h4/bool/ETA__AX: !t. (\x. t x) = t
% Assm: h4/bool/SELECT__AX: !x P. P x ==> P (h4/min/_40 P)
% Assm: h4/bool/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Goal: !g f b. (\x. h4/bool/COND b (f x) (g x)) = h4/bool/COND b f g
%   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_Tu_u_DEF]: T <=> (!x. x <=> x)
% Assm [h4s_bools_ORu_u_DEF]: !x x'. $or x x' <=> (!t. (x ==> t) ==> (x' ==> t) ==> t)
% Assm [h4s_bools_Fu_u_DEF]: F <=> (!t. t)
% Assm [h4s_bools_NOTu_u_DEF]: !x. $not x <=> x ==> F
% Assm [h4s_bools_CONDu_u_DEF]: !_0. (!x x x' x''. happ (happ (happ (happ _0 x) x) x') x'' <=> ((x <=> T) ==> x'' = x) /\ ((x <=> F) ==> x'' = x')) ==> (!x x x'. h4/bool/COND x x x' = h4/min/_40 (happ (happ (happ _0 x) x) x'))
% Assm [h4s_bools_BOOLu_u_CASESu_u_AX]: !t. (t <=> T) \/ (t <=> F)
% Assm [h4s_bools_ETAu_u_AX]: !t x. happ t x = happ t x
% Assm [h4s_bools_SELECTu_u_AX]: !x P. happ P x ==> happ P (h4/min/_40 P)
% Assm [h4s_bools_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Goal: !g f b x. h4/bool/COND b (happ f x) (happ g x) = happ (h4/bool/COND b f g) x
fof(aHLu_TRUTH, axiom, p(s(t_bool,t))).
fof(aHLu_FALSITY, axiom, ~ (p(s(t_bool,f0)))).
fof(aHLu_BOOLu_CASES, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f0))).
fof(aHLu_EXT, axiom, ![TV_Q292614,TV_Q292610]: ![V_f, V_g]: (![V_x]: s(TV_Q292610,happ(s(t_fun(TV_Q292614,TV_Q292610),V_f),s(TV_Q292614,V_x))) = s(TV_Q292610,happ(s(t_fun(TV_Q292614,TV_Q292610),V_g),s(TV_Q292614,V_x))) => s(t_fun(TV_Q292614,TV_Q292610),V_f) = s(t_fun(TV_Q292614,TV_Q292610),V_g))).
fof(ah4s_bools_Tu_u_DEF, axiom, (p(s(t_bool,t)) <=> ![V_x]: s(t_bool,V_x) = s(t_bool,V_x))).
fof(ah4s_bools_ORu_u_DEF, axiom, ![V_x, V_xi_]: (p(s(t_bool,d_or(s(t_bool,V_x),s(t_bool,V_xi_)))) <=> ![V_t]: ((p(s(t_bool,V_x)) => p(s(t_bool,V_t))) => ((p(s(t_bool,V_xi_)) => p(s(t_bool,V_t))) => p(s(t_bool,V_t)))))).
fof(ah4s_bools_Fu_u_DEF, axiom, (p(s(t_bool,f0)) <=> ![V_t]: p(s(t_bool,V_t)))).
fof(ah4s_bools_NOTu_u_DEF, axiom, ![V_x]: (p(s(t_bool,d_not(s(t_bool,V_x)))) <=> (p(s(t_bool,V_x)) => p(s(t_bool,f0))))).
fof(ah4s_bools_CONDu_u_DEF, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_x, V_x0, V_xi_, V_xi_i_]: (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)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)))),V_uu_0),s(TV_u_27a,V_x))),s(t_bool,V_x0))),s(TV_u_27a,V_xi_))),s(TV_u_27a,V_xi_i_)))) <=> ((s(t_bool,V_x0) = s(t_bool,t) => s(TV_u_27a,V_xi_i_) = s(TV_u_27a,V_x)) & (s(t_bool,V_x0) = s(t_bool,f0) => s(TV_u_27a,V_xi_i_) = s(TV_u_27a,V_xi_)))) => ![V_x, V_x0, V_xi_]: s(TV_u_27a,h4s_bools_cond(s(t_bool,V_x),s(TV_u_27a,V_x0),s(TV_u_27a,V_xi_))) = s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),happ(s(t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool))),happ(s(t_fun(TV_u_27a,t_fun(t_bool,t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)))),V_uu_0),s(TV_u_27a,V_x0))),s(t_bool,V_x))),s(TV_u_27a,V_xi_))))))).
fof(ah4s_bools_BOOLu_u_CASESu_u_AX, axiom, ![V_t]: (s(t_bool,V_t) = s(t_bool,t) | s(t_bool,V_t) = s(t_bool,f0))).
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_SELECTu_u_AX, axiom, ![TV_u_27a]: ![V_x, V_P]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,h4s_mins_u_40(s(t_fun(TV_u_27a,t_bool),V_P)))))))).
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,f0)) => p(s(t_bool,V_t)))).
fof(ch4s_bools_CONDu_u_ABS, conjecture, ![TV_u_27b,TV_u_27a]: ![V_g, V_f, V_b, V_x]: s(TV_u_27b,h4s_bools_cond(s(t_bool,V_b),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_x))))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),h4s_bools_cond(s(t_bool,V_b),s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27a,TV_u_27b),V_g))),s(TV_u_27a,V_x)))).
