%   ORIGINAL: h4/fmapal/FMAPAL__FDOM__THM_c1
% 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/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/AND__CLAUSES_c3: !t. t /\ F <=> F
% Assm: h4/bool/OR__CLAUSES_c0: !t. T \/ t <=> T
% Assm: h4/bool/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/bool/OR__CLAUSES_c3: !t. t \/ 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_c0: !t. (T <=> t) <=> t
% Assm: h4/pair/FST0: !y x. h4/pair/FST (h4/pair/_2C x y) = x
% Assm: h4/toto/cpn__case__def_c0: !v2 v1 v0. h4/toto/cpn__CASE h4/toto/LESS v0 v1 v2 = v0
% Assm: h4/toto/cpn__case__def_c1: !v2 v1 v0. h4/toto/cpn__CASE h4/toto/EQUAL v0 v1 v2 = v1
% Assm: h4/toto/cpn__case__def_c2: !v2 v1 v0. h4/toto/cpn__CASE h4/toto/GREATER v0 v1 v2 = v2
% Assm: h4/toto/cpn__distinct_c0: ~(h4/toto/LESS = h4/toto/EQUAL)
% Assm: h4/toto/cpn__distinct_c1: ~(h4/toto/LESS = h4/toto/GREATER)
% Assm: h4/toto/cpn__distinct_c2: ~(h4/toto/EQUAL = h4/toto/GREATER)
% Assm: h4/toto/cpn__nchotomy: !a. a = h4/toto/LESS \/ a = h4/toto/EQUAL \/ a = h4/toto/GREATER
% Assm: h4/toto/toto__equal__eq: !y x c. h4/toto/apto c x y = h4/toto/EQUAL <=> x = y
% Assm: h4/toto/toto__antisym: !y x c. h4/toto/apto c x y = h4/toto/GREATER <=> h4/toto/apto c y x = h4/toto/LESS
% Assm: h4/enumeral/IN__bt__to__set_c1: !y x r l cmp. h4/bool/IN y (h4/enumeral/ENUMERAL cmp (h4/enumeral/node l x r)) <=> h4/bool/IN y (h4/enumeral/ENUMERAL cmp l) /\ h4/toto/apto cmp y x = h4/toto/LESS \/ y = x \/ h4/bool/IN y (h4/enumeral/ENUMERAL cmp r) /\ h4/toto/apto cmp x y = h4/toto/LESS
% Assm: h4/fmapal/bt__map0_c1: !x r l f. h4/fmapal/bt__map f (h4/enumeral/node l x r) = h4/enumeral/node (h4/fmapal/bt__map f l) (f x) (h4/fmapal/bt__map f r)
% Assm: h4/fmapal/bt__FST__FDOM: !t cmp. h4/finite__map/FDOM (h4/fmapal/FMAPAL cmp t) = h4/enumeral/ENUMERAL cmp (h4/fmapal/bt__map h4/pair/FST t)
% Goal: !x r l cmp b a. h4/bool/IN x (h4/finite__map/FDOM (h4/fmapal/FMAPAL cmp (h4/enumeral/node l (h4/pair/_2C a b) r))) <=> h4/toto/cpn__CASE (h4/toto/apto cmp x a) (h4/bool/IN x (h4/finite__map/FDOM (h4/fmapal/FMAPAL cmp l))) T (h4/bool/IN x (h4/finite__map/FDOM (h4/fmapal/FMAPAL cmp r)))
%   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_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c3]: !t. t /\ F <=> F
% Assm [h4s_bools_ORu_u_CLAUSESu_c0]: !t. T \/ t <=> T
% Assm [h4s_bools_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_bools_ORu_u_CLAUSESu_c3]: !t. t \/ 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_c0]: !t. (T <=> t) <=> t
% Assm [h4s_pairs_FST0]: !y x. happ h4/pair/FST (h4/pair/_2C x y) = x
% Assm [h4s_totos_cpnu_u_caseu_u_defu_c0]: !v2 v1 v0. h4/toto/cpn__CASE h4/toto/LESS v0 v1 v2 = v0
% Assm [h4s_totos_cpnu_u_caseu_u_defu_c1]: !v2 v1 v0. h4/toto/cpn__CASE h4/toto/EQUAL v0 v1 v2 = v1
% Assm [h4s_totos_cpnu_u_caseu_u_defu_c2]: !v2 v1 v0. h4/toto/cpn__CASE h4/toto/GREATER v0 v1 v2 = v2
% Assm [h4s_totos_cpnu_u_distinctu_c0]: ~(h4/toto/LESS = h4/toto/EQUAL)
% Assm [h4s_totos_cpnu_u_distinctu_c1]: ~(h4/toto/LESS = h4/toto/GREATER)
% Assm [h4s_totos_cpnu_u_distinctu_c2]: ~(h4/toto/EQUAL = h4/toto/GREATER)
% Assm [h4s_totos_cpnu_u_nchotomy]: !a. a = h4/toto/LESS \/ a = h4/toto/EQUAL \/ a = h4/toto/GREATER
% Assm [h4s_totos_totou_u_equalu_u_eq]: !y x c. h4/toto/apto c x y = h4/toto/EQUAL <=> x = y
% Assm [h4s_totos_totou_u_antisym]: !y x c. h4/toto/apto c x y = h4/toto/GREATER <=> h4/toto/apto c y x = h4/toto/LESS
% Assm [h4s_enumerals_INu_u_btu_u_tou_u_setu_c1]: !y x r l cmp. h4/bool/IN y (h4/enumeral/ENUMERAL cmp (h4/enumeral/node l x r)) <=> h4/bool/IN y (h4/enumeral/ENUMERAL cmp l) /\ h4/toto/apto cmp y x = h4/toto/LESS \/ y = x \/ h4/bool/IN y (h4/enumeral/ENUMERAL cmp r) /\ h4/toto/apto cmp x y = h4/toto/LESS
% Assm [h4s_fmapals_btu_u_map0u_c1]: !x r l f. h4/fmapal/bt__map f (h4/enumeral/node l x r) = h4/enumeral/node (h4/fmapal/bt__map f l) (happ f x) (h4/fmapal/bt__map f r)
% Assm [h4s_fmapals_btu_u_FSTu_u_FDOM]: !t cmp. h4/finite__map/FDOM (h4/fmapal/FMAPAL cmp t) = h4/enumeral/ENUMERAL cmp (h4/fmapal/bt__map h4/pair/FST t)
% Goal: !x r l cmp b a. h4/bool/IN x (h4/finite__map/FDOM (h4/fmapal/FMAPAL cmp (h4/enumeral/node l (h4/pair/_2C a b) r))) <=> h4/toto/cpn__CASE (h4/toto/apto cmp x a) (h4/bool/IN x (h4/finite__map/FDOM (h4/fmapal/FMAPAL cmp l))) T (h4/bool/IN x (h4/finite__map/FDOM (h4/fmapal/FMAPAL cmp r)))
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_Q220173,TV_Q220169]: ![V_f, V_g]: (![V_x]: s(TV_Q220169,happ(s(t_fun(TV_Q220173,TV_Q220169),V_f),s(TV_Q220173,V_x))) = s(TV_Q220169,happ(s(t_fun(TV_Q220173,TV_Q220169),V_g),s(TV_Q220173,V_x))) => s(t_fun(TV_Q220173,TV_Q220169),V_f) = s(t_fun(TV_Q220173,TV_Q220169),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_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_ORu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t)) | p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_ORu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) | p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_ORu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) | p(s(t_bool,f))) <=> p(s(t_bool,V_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_c0, axiom, ![V_t]: (s(t_bool,t) = s(t_bool,V_t) <=> p(s(t_bool,V_t)))).
fof(ah4s_pairs_FST0, axiom, ![TV_u_27b,TV_u_27a]: ![V_y, V_x]: s(TV_u_27a,happ(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27a),h4s_pairs_fst),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_x),s(TV_u_27b,V_y))))) = s(TV_u_27a,V_x)).
fof(ah4s_totos_cpnu_u_caseu_u_defu_c0, axiom, ![TV_u_27a]: ![V_v2, V_v1, V_v0]: s(TV_u_27a,h4s_totos_cpnu_u_case(s(t_h4s_totos_cpn,h4s_totos_less),s(TV_u_27a,V_v0),s(TV_u_27a,V_v1),s(TV_u_27a,V_v2))) = s(TV_u_27a,V_v0)).
fof(ah4s_totos_cpnu_u_caseu_u_defu_c1, axiom, ![TV_u_27a]: ![V_v2, V_v1, V_v0]: s(TV_u_27a,h4s_totos_cpnu_u_case(s(t_h4s_totos_cpn,h4s_totos_equal),s(TV_u_27a,V_v0),s(TV_u_27a,V_v1),s(TV_u_27a,V_v2))) = s(TV_u_27a,V_v1)).
fof(ah4s_totos_cpnu_u_caseu_u_defu_c2, axiom, ![TV_u_27a]: ![V_v2, V_v1, V_v0]: s(TV_u_27a,h4s_totos_cpnu_u_case(s(t_h4s_totos_cpn,h4s_totos_greater),s(TV_u_27a,V_v0),s(TV_u_27a,V_v1),s(TV_u_27a,V_v2))) = s(TV_u_27a,V_v2)).
fof(ah4s_totos_cpnu_u_distinctu_c0, axiom, ~ (s(t_h4s_totos_cpn,h4s_totos_less) = s(t_h4s_totos_cpn,h4s_totos_equal))).
fof(ah4s_totos_cpnu_u_distinctu_c1, axiom, ~ (s(t_h4s_totos_cpn,h4s_totos_less) = s(t_h4s_totos_cpn,h4s_totos_greater))).
fof(ah4s_totos_cpnu_u_distinctu_c2, axiom, ~ (s(t_h4s_totos_cpn,h4s_totos_equal) = s(t_h4s_totos_cpn,h4s_totos_greater))).
fof(ah4s_totos_cpnu_u_nchotomy, axiom, ![V_a]: (s(t_h4s_totos_cpn,V_a) = s(t_h4s_totos_cpn,h4s_totos_less) | (s(t_h4s_totos_cpn,V_a) = s(t_h4s_totos_cpn,h4s_totos_equal) | s(t_h4s_totos_cpn,V_a) = s(t_h4s_totos_cpn,h4s_totos_greater)))).
fof(ah4s_totos_totou_u_equalu_u_eq, axiom, ![TV_u_27a]: ![V_y, V_x, V_c]: (s(t_h4s_totos_cpn,h4s_totos_apto(s(t_h4s_totos_toto(TV_u_27a),V_c),s(TV_u_27a,V_x),s(TV_u_27a,V_y))) = s(t_h4s_totos_cpn,h4s_totos_equal) <=> s(TV_u_27a,V_x) = s(TV_u_27a,V_y))).
fof(ah4s_totos_totou_u_antisym, axiom, ![TV_u_27a]: ![V_y, V_x, V_c]: (s(t_h4s_totos_cpn,h4s_totos_apto(s(t_h4s_totos_toto(TV_u_27a),V_c),s(TV_u_27a,V_x),s(TV_u_27a,V_y))) = s(t_h4s_totos_cpn,h4s_totos_greater) <=> s(t_h4s_totos_cpn,h4s_totos_apto(s(t_h4s_totos_toto(TV_u_27a),V_c),s(TV_u_27a,V_y),s(TV_u_27a,V_x))) = s(t_h4s_totos_cpn,h4s_totos_less))).
fof(ah4s_enumerals_INu_u_btu_u_tou_u_setu_c1, axiom, ![TV_u_27a]: ![V_y, V_x, V_r, V_l, V_cmp]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_y),s(t_fun(TV_u_27a,t_bool),h4s_enumerals_enumeral(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(t_h4s_enumerals_bt(TV_u_27a),h4s_enumerals_node(s(t_h4s_enumerals_bt(TV_u_27a),V_l),s(TV_u_27a,V_x),s(t_h4s_enumerals_bt(TV_u_27a),V_r)))))))) <=> ((p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_y),s(t_fun(TV_u_27a,t_bool),h4s_enumerals_enumeral(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(t_h4s_enumerals_bt(TV_u_27a),V_l)))))) & s(t_h4s_totos_cpn,h4s_totos_apto(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(TV_u_27a,V_y),s(TV_u_27a,V_x))) = s(t_h4s_totos_cpn,h4s_totos_less)) | (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),h4s_enumerals_enumeral(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(t_h4s_enumerals_bt(TV_u_27a),V_r)))))) & s(t_h4s_totos_cpn,h4s_totos_apto(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(TV_u_27a,V_x),s(TV_u_27a,V_y))) = s(t_h4s_totos_cpn,h4s_totos_less)))))).
fof(ah4s_fmapals_btu_u_map0u_c1, axiom, ![TV_u_27b,TV_u_27a]: ![V_x, V_r, V_l, V_f]: s(t_h4s_enumerals_bt(TV_u_27b),h4s_fmapals_btu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_enumerals_bt(TV_u_27a),h4s_enumerals_node(s(t_h4s_enumerals_bt(TV_u_27a),V_l),s(TV_u_27a,V_x),s(t_h4s_enumerals_bt(TV_u_27a),V_r))))) = s(t_h4s_enumerals_bt(TV_u_27b),h4s_enumerals_node(s(t_h4s_enumerals_bt(TV_u_27b),h4s_fmapals_btu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_enumerals_bt(TV_u_27a),V_l))),s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(TV_u_27a,V_x))),s(t_h4s_enumerals_bt(TV_u_27b),h4s_fmapals_btu_u_map(s(t_fun(TV_u_27a,TV_u_27b),V_f),s(t_h4s_enumerals_bt(TV_u_27a),V_r)))))).
fof(ah4s_fmapals_btu_u_FSTu_u_FDOM, axiom, ![TV_u_27a,TV_u_27b]: ![V_t, V_cmp]: s(t_fun(TV_u_27a,t_bool),h4s_finiteu_u_maps_fdom(s(t_h4s_finiteu_u_maps_fmap(TV_u_27a,TV_u_27b),h4s_fmapals_fmapal(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(t_h4s_enumerals_bt(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),V_t))))) = s(t_fun(TV_u_27a,t_bool),h4s_enumerals_enumeral(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(t_h4s_enumerals_bt(TV_u_27a),h4s_fmapals_btu_u_map(s(t_fun(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),TV_u_27a),h4s_pairs_fst),s(t_h4s_enumerals_bt(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),V_t)))))).
fof(ch4s_fmapals_FMAPALu_u_FDOMu_u_THMu_c1, conjecture, ![TV_u_27a,TV_u_27b]: ![V_x, V_r, V_l, V_cmp, V_b, V_a]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_finiteu_u_maps_fdom(s(t_h4s_finiteu_u_maps_fmap(TV_u_27a,TV_u_27b),h4s_fmapals_fmapal(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(t_h4s_enumerals_bt(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),h4s_enumerals_node(s(t_h4s_enumerals_bt(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),V_l),s(t_h4s_pairs_prod(TV_u_27a,TV_u_27b),h4s_pairs_u_2c(s(TV_u_27a,V_a),s(TV_u_27b,V_b))),s(t_h4s_enumerals_bt(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),V_r))))))))) = s(t_bool,h4s_totos_cpnu_u_case(s(t_h4s_totos_cpn,h4s_totos_apto(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(TV_u_27a,V_x),s(TV_u_27a,V_a))),s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_finiteu_u_maps_fdom(s(t_h4s_finiteu_u_maps_fmap(TV_u_27a,TV_u_27b),h4s_fmapals_fmapal(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(t_h4s_enumerals_bt(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),V_l))))))),s(t_bool,t),s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_finiteu_u_maps_fdom(s(t_h4s_finiteu_u_maps_fmap(TV_u_27a,TV_u_27b),h4s_fmapals_fmapal(s(t_h4s_totos_toto(TV_u_27a),V_cmp),s(t_h4s_enumerals_bt(t_h4s_pairs_prod(TV_u_27a,TV_u_27b)),V_r)))))))))).
