%   ORIGINAL: 'h4/thm/relation/IN_RDOM_RRESTRICT_'
% 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
% Goal: !x s R. 'h4/const/bool/IN' x ('h4/const/relation/RDOM' ('h4/const/relation/RRESTRICT' R s)) <=> 'h4/const/bool/IN' x ('h4/const/relation/RDOM' R) /\ 'h4/const/bool/IN' x s
%   PROCESSED
% Assm ['HL_TRUTH']: T
% Assm ['HL_FALSITY']: ~F
% Assm ['HL_BOOL_CASES']: !t. (t <=> T) \/ (t <=> F)
% Assm ['HL_EXT']: !f g. (!x. happ f x = happ g x) ==> f = g
% Goal: !x s R. 'h4/const/bool/IN' x ('h4/const/relation/RDOM' ('h4/const/relation/RRESTRICT' R s)) <=> 'h4/const/bool/IN' x ('h4/const/relation/RDOM' R) /\ 'h4/const/bool/IN' x s
fof('HL_TRUTH', axiom, p(s(bool,'T'))).
fof('HL_FALSITY', axiom, ~ (p(s(bool,'F')))).
fof('HL_BOOL_CASES', axiom, ![T]: (s(bool,T) = s(bool,'T') | s(bool,T) = s(bool,'F'))).
fof('HL_EXT', axiom, ![V_3f30478,V_3f30474]: ![F, G]: (![X]: s(V_3f30474,happ(s(fun(V_3f30478,V_3f30474),F),s(V_3f30478,X))) = s(V_3f30474,happ(s(fun(V_3f30478,V_3f30474),G),s(V_3f30478,X))) => s(fun(V_3f30478,V_3f30474),F) = s(fun(V_3f30478,V_3f30474),G))).
fof('h4/thm/relation/IN_RDOM_RRESTRICT_', conjecture, ![B,A]: ![X, S, R]: (p(s(bool,'h4/const/bool/IN'(s(A,X),s(fun(A,bool),'h4/const/relation/RDOM'(s(fun(A,fun(B,bool)),'h4/const/relation/RRESTRICT'(s(fun(A,fun(B,bool)),R),s(fun(A,bool),S)))))))) <=> (p(s(bool,'h4/const/bool/IN'(s(A,X),s(fun(A,bool),'h4/const/relation/RDOM'(s(fun(A,fun(B,bool)),R)))))) & p(s(bool,'h4/const/bool/IN'(s(A,X),s(fun(A,bool),S))))))).
