%   ORIGINAL: h4/combin/literal__case__FORALL__ELIM
% 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/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/bool/literal__case__THM: !x f. h4/bool/literal__case f x = f x
% Assm: h4/marker/Abbrev__def: !x. h4/marker/Abbrev x <=> x
% Assm: h4/combin/S__DEF: h4/combin/S = (\f g x. f x (g x))
% Assm: h4/combin/C__DEF: h4/combin/C = (\f x y. f y x)
% Assm: h4/combin/o__THM: !x g f. h4/combin/o f g x = f (g x)
% Goal: !v f. h4/bool/literal__case f v <=> $forall (h4/combin/S (h4/combin/o $imply (h4/combin/o h4/marker/Abbrev (h4/combin/C $equals v))) f)
%   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_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_bools_literalu_u_caseu_u_THM]: !x f. h4/bool/literal__case f x = happ f x
% Assm [h4s_markers_Abbrevu_u_def]: !x. happ h4/marker/Abbrev x <=> x
% Assm [h4s_combins_Su_u_DEF]: !x x x. happ (h4/combin/S x x) x = happ (happ x x) (happ x x)
% Assm [h4s_combins_Cu_u_DEF]: !x x x. happ (h4/combin/C x x) x = happ (happ x x) x
% Assm [h4s_combins_ou_u_THM]: !x g f. happ (h4/combin/o f g) x = happ f (happ g x)
% Goal: !v f. h4/bool/literal__case f v <=> $forall (h4/combin/S (h4/combin/o $imply (h4/combin/o h4/marker/Abbrev (h4/combin/C $equals v))) f)
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_Q222280,TV_Q222276]: ![V_f, V_g]: (![V_x]: s(TV_Q222276,happ(s(t_fun(TV_Q222280,TV_Q222276),V_f),s(TV_Q222280,V_x))) = s(TV_Q222276,happ(s(t_fun(TV_Q222280,TV_Q222276),V_g),s(TV_Q222280,V_x))) => s(t_fun(TV_Q222280,TV_Q222276),V_f) = s(t_fun(TV_Q222280,TV_Q222276),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_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_literalu_u_caseu_u_THM, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_f]: s(TV_u_27b,h4s_bools_literalu_u_case(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_f),s(TV_u_27a,V_x)))).
fof(ah4s_markers_Abbrevu_u_def, axiom, ![V_x]: s(t_bool,happ(s(t_fun(t_bool,t_bool),h4s_markers_abbrev),s(t_bool,V_x))) = s(t_bool,V_x)).
fof(ah4s_combins_Su_u_DEF, axiom, ![TV_u_27c,TV_u_27b,TV_u_27a]: ![V_x, V_x0, V_x1]: s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),h4s_combins_s(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(t_fun(TV_u_27a,TV_u_27b),V_x0))),s(TV_u_27a,V_x1))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27a,V_x1))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_x0),s(TV_u_27a,V_x1)))))).
fof(ah4s_combins_Cu_u_DEF, axiom, ![TV_u_27c,TV_u_27a,TV_u_27b]: ![V_x, V_x0, V_x1]: s(TV_u_27c,happ(s(t_fun(TV_u_27a,TV_u_27c),h4s_combins_c(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27b,V_x0))),s(TV_u_27a,V_x1))) = s(TV_u_27c,happ(s(t_fun(TV_u_27b,TV_u_27c),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,TV_u_27c)),V_x),s(TV_u_27a,V_x1))),s(TV_u_27b,V_x0)))).
fof(ah4s_combins_ou_u_THM, axiom, ![TV_u_27b,TV_u_27a,TV_u_27c]: ![V_x, V_g, V_f]: s(TV_u_27b,happ(s(t_fun(TV_u_27c,TV_u_27b),h4s_combins_o(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_fun(TV_u_27c,TV_u_27a),V_g))),s(TV_u_27c,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,happ(s(t_fun(TV_u_27c,TV_u_27a),V_g),s(TV_u_27c,V_x)))))).
fof(ch4s_combins_literalu_u_caseu_u_FORALLu_u_ELIM, conjecture, ![TV_u_27a]: ![V_v, V_f]: s(t_bool,h4s_bools_literalu_u_case(s(t_fun(TV_u_27a,t_bool),V_f),s(TV_u_27a,V_v))) = s(t_bool,d_forall(s(t_fun(TV_u_27a,t_bool),h4s_combins_s(s(t_fun(TV_u_27a,t_fun(t_bool,t_bool)),h4s_combins_o(s(t_fun(t_bool,t_fun(t_bool,t_bool)),d_imply),s(t_fun(TV_u_27a,t_bool),h4s_combins_o(s(t_fun(t_bool,t_bool),h4s_markers_abbrev),s(t_fun(TV_u_27a,t_bool),h4s_combins_c(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),d_equals),s(TV_u_27a,V_v))))))),s(t_fun(TV_u_27a,t_bool),V_f)))))).
