%   ORIGINAL: h4/relation/WF__SUBSET
% 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/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/relation/WF__DEF: !R. h4/relation/WF R <=> (!B. (?w. B w) ==> (?min. B min /\ (!b. R b min ==> ~B b)))
% Goal: !R P. h4/relation/WF R /\ (!x y. P x y ==> R x y) ==> h4/relation/WF P
%   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_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_relations_WFu_u_DEF]: !R. h4/relation/WF R <=> (!B. (?w. happ B w) ==> (?min. happ B min /\ (!b. happ (happ R b) min ==> ~happ B b)))
% Goal: !R P. h4/relation/WF R /\ (!x y. happ (happ P x) y ==> happ (happ R x) y) ==> h4/relation/WF P
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_Q263757,TV_Q263753]: ![V_f, V_g]: (![V_x]: s(TV_Q263753,happ(s(t_fun(TV_Q263757,TV_Q263753),V_f),s(TV_Q263757,V_x))) = s(TV_Q263753,happ(s(t_fun(TV_Q263757,TV_Q263753),V_g),s(TV_Q263757,V_x))) => s(t_fun(TV_Q263757,TV_Q263753),V_f) = s(t_fun(TV_Q263757,TV_Q263753),V_g))).
fof(ah4s_bools_ANDu_u_CLAUSESu_c0, axiom, ![V_t]: ((p(s(t_bool,t)) & p(s(t_bool,V_t))) <=> p(s(t_bool,V_t)))).
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_relations_WFu_u_DEF, axiom, ![TV_u_27a]: ![V_R]: (p(s(t_bool,h4s_relations_wf(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) <=> ![V_B]: (?[V_w]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_B),s(TV_u_27a,V_w)))) => ?[V_min]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_B),s(TV_u_27a,V_min)))) & ![V_b]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_b))),s(TV_u_27a,V_min)))) => ~ (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_B),s(TV_u_27a,V_b)))))))))).
fof(ch4s_relations_WFu_u_SUBSET, conjecture, ![TV_u_27a]: ![V_R, V_P]: ((p(s(t_bool,h4s_relations_wf(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R)))) & ![V_x, V_y]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),happ(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_R),s(TV_u_27a,V_x))),s(TV_u_27a,V_y)))))) => p(s(t_bool,h4s_relations_wf(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_P)))))).
