%   ORIGINAL: h4/bag/SET__OF__BAG__UNION
% 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/FORALL__SIMP: !t. (!x. t) <=> t
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/pred__set/IN__ABS: !x P. h4/bool/IN x (\x0. P x0) <=> 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/IN__UNION: !x t s. h4/bool/IN x (h4/pred__set/UNION s t) <=> h4/bool/IN x s \/ h4/bool/IN x t
% Assm: h4/bag/BAG__IN__BAG__UNION: !e b2 b1. h4/bag/BAG__IN e (h4/bag/BAG__UNION b1 b2) <=> h4/bag/BAG__IN e b1 \/ h4/bag/BAG__IN e b2
% Assm: h4/bag/SET__OF__BAG0: !b. h4/bag/SET__OF__BAG b = (\x. h4/bag/BAG__IN x b)
% Goal: !b2 b1. h4/bag/SET__OF__BAG (h4/bag/BAG__UNION b1 b2) = h4/pred__set/UNION (h4/bag/SET__OF__BAG b1) (h4/bag/SET__OF__BAG b2)
%   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_FORALLu_u_SIMP]: !t. (!x. t) <=> t
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_predu_u_sets_INu_u_ABS]: !_0. (!P x0. happ (happ _0 P) x0 <=> happ P x0) ==> (!x P. h4/bool/IN x (happ _0 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_INu_u_UNION]: !x t s. h4/bool/IN x (h4/pred__set/UNION s t) <=> h4/bool/IN x s \/ h4/bool/IN x t
% Assm [h4s_bags_BAGu_u_INu_u_BAGu_u_UNION]: !e b2 b1. h4/bag/BAG__IN e (h4/bag/BAG__UNION b1 b2) <=> h4/bag/BAG__IN e b1 \/ h4/bag/BAG__IN e b2
% Assm [h4s_bags_SETu_u_OFu_u_BAG0]: !b x. happ (h4/bag/SET__OF__BAG b) x <=> h4/bag/BAG__IN x b
% Goal: !b2 b1. h4/bag/SET__OF__BAG (h4/bag/BAG__UNION b1 b2) = h4/pred__set/UNION (h4/bag/SET__OF__BAG b1) (h4/bag/SET__OF__BAG b2)
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_Q230031,TV_Q230027]: ![V_f, V_g]: (![V_x]: s(TV_Q230027,happ(s(t_fun(TV_Q230031,TV_Q230027),V_f),s(TV_Q230031,V_x))) = s(TV_Q230027,happ(s(t_fun(TV_Q230031,TV_Q230027),V_g),s(TV_Q230031,V_x))) => s(t_fun(TV_Q230031,TV_Q230027),V_f) = s(t_fun(TV_Q230031,TV_Q230027),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,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_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_predu_u_sets_INu_u_ABS, axiom, ![TV_u_27a]: ![V_uu_0]: (![V_P, V_x0]: 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)),V_uu_0),s(t_fun(TV_u_27a,t_bool),V_P))),s(TV_u_27a,V_x0))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x0))) => ![V_x, V_P]: 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_27a,t_bool),t_fun(TV_u_27a,t_bool)),V_uu_0),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_INu_u_UNION, axiom, ![TV_u_27a]: ![V_x, V_t, 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_union(s(t_fun(TV_u_27a,t_bool),V_s),s(t_fun(TV_u_27a,t_bool),V_t)))))) <=> (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_s)))) | p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_t))))))).
fof(ah4s_bags_BAGu_u_INu_u_BAGu_u_UNION, axiom, ![TV_u_27a]: ![V_e, V_b2, V_b1]: (p(s(t_bool,h4s_bags_bagu_u_in(s(TV_u_27a,V_e),s(t_fun(TV_u_27a,t_h4s_nums_num),h4s_bags_bagu_u_union(s(t_fun(TV_u_27a,t_h4s_nums_num),V_b1),s(t_fun(TV_u_27a,t_h4s_nums_num),V_b2)))))) <=> (p(s(t_bool,h4s_bags_bagu_u_in(s(TV_u_27a,V_e),s(t_fun(TV_u_27a,t_h4s_nums_num),V_b1)))) | p(s(t_bool,h4s_bags_bagu_u_in(s(TV_u_27a,V_e),s(t_fun(TV_u_27a,t_h4s_nums_num),V_b2))))))).
fof(ah4s_bags_SETu_u_OFu_u_BAG0, axiom, ![TV_u_27a]: ![V_b, V_x]: s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),h4s_bags_setu_u_ofu_u_bag(s(t_fun(TV_u_27a,t_h4s_nums_num),V_b))),s(TV_u_27a,V_x))) = s(t_bool,h4s_bags_bagu_u_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_h4s_nums_num),V_b)))).
fof(ch4s_bags_SETu_u_OFu_u_BAGu_u_UNION, conjecture, ![TV_u_27a]: ![V_b2, V_b1]: s(t_fun(TV_u_27a,t_bool),h4s_bags_setu_u_ofu_u_bag(s(t_fun(TV_u_27a,t_h4s_nums_num),h4s_bags_bagu_u_union(s(t_fun(TV_u_27a,t_h4s_nums_num),V_b1),s(t_fun(TV_u_27a,t_h4s_nums_num),V_b2))))) = s(t_fun(TV_u_27a,t_bool),h4s_predu_u_sets_union(s(t_fun(TV_u_27a,t_bool),h4s_bags_setu_u_ofu_u_bag(s(t_fun(TV_u_27a,t_h4s_nums_num),V_b1))),s(t_fun(TV_u_27a,t_bool),h4s_bags_setu_u_ofu_u_bag(s(t_fun(TV_u_27a,t_h4s_nums_num),V_b2)))))).
