%   ORIGINAL: h4/relation/IN__RDOM
% 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/IN__DEF: h4/bool/IN = (\x f. f x)
% Assm: h4/bool/TRUTH: T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/relation/RDOM__DEF: !x R. h4/relation/RDOM R x <=> (?y. R x y)
% Goal: !x R. h4/bool/IN x (h4/relation/RDOM R) <=> (?y. R x y)
%   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_INu_u_DEF]: !x x. h4/bool/IN x x <=> happ x x
% Assm [h4s_bools_TRUTH]: T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_relations_RDOMu_u_DEF]: !x R. happ (h4/relation/RDOM R) x <=> (?y. happ (happ R x) y)
% Goal: !x R. h4/bool/IN x (h4/relation/RDOM R) <=> (?y. happ (happ R x) y)
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_Q266007,TV_Q266003]: ![V_f, V_g]: (![V_x]: s(TV_Q266003,happ(s(t_fun(TV_Q266007,TV_Q266003),V_f),s(TV_Q266007,V_x))) = s(TV_Q266003,happ(s(t_fun(TV_Q266007,TV_Q266003),V_g),s(TV_Q266007,V_x))) => s(t_fun(TV_Q266007,TV_Q266003),V_f) = s(t_fun(TV_Q266007,TV_Q266003),V_g))).
fof(ah4s_bools_INu_u_DEF, axiom, ![TV_u_27a]: ![V_x, V_x0]: s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),V_x0))) = s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_x0),s(TV_u_27a,V_x)))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,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_relations_RDOMu_u_DEF, axiom, ![TV_u_27a,TV_u_27b]: ![V_x, V_R]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),h4s_relations_rdom(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R))),s(TV_u_27a,V_x)))) <=> ?[V_y]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))))).
fof(ch4s_relations_INu_u_RDOM, conjecture, ![TV_u_27a,TV_u_27b]: ![V_x, V_R]: (p(s(t_bool,h4s_bools_in(s(TV_u_27a,V_x),s(t_fun(TV_u_27a,t_bool),h4s_relations_rdom(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R)))))) <=> ?[V_y]: p(s(t_bool,happ(s(t_fun(TV_u_27b,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27b,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27b,V_y)))))).
