%   ORIGINAL: h4/nets/DORDER__LEMMA
% 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/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/IMP__CLAUSES_c0: !t. T ==> t <=> t
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/nets/dorder0: !g. h4/nets/dorder g <=> (!x y. g x x /\ g y y ==> (?z. g z z /\ (!w. g w z ==> g w x /\ g w y)))
% Goal: !g. h4/nets/dorder g ==> (!P Q. (?n. g n n /\ (!m. g m n ==> P m)) /\ (?n. g n n /\ (!m. g m n ==> Q m)) ==> (?n. g n n /\ (!m. g m n ==> P m /\ Q m)))
%   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_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c0]: !t. T ==> t <=> t
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_netss_dorder0]: !g. h4/nets/dorder g <=> (!x y. happ (happ g x) x /\ happ (happ g y) y ==> (?z. happ (happ g z) z /\ (!w. happ (happ g w) z ==> happ (happ g w) x /\ happ (happ g w) y)))
% Goal: !g. h4/nets/dorder g ==> (!P Q. (?n. happ (happ g n) n /\ (!m. happ (happ g m) n ==> happ P m)) /\ (?n. happ (happ g n) n /\ (!m. happ (happ g m) n ==> happ Q m)) ==> (?n. happ (happ g n) n /\ (!m. happ (happ g m) n ==> happ P m /\ happ Q m)))
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_Q198597,TV_Q198593]: ![V_f, V_g]: (![V_x]: s(TV_Q198593,happ(s(t_fun(TV_Q198597,TV_Q198593),V_f),s(TV_Q198597,V_x))) = s(TV_Q198593,happ(s(t_fun(TV_Q198597,TV_Q198593),V_g),s(TV_Q198597,V_x))) => s(t_fun(TV_Q198597,TV_Q198593),V_f) = s(t_fun(TV_Q198597,TV_Q198593),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
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_IMPu_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_netss_dorder0, axiom, ![TV_u_27a]: ![V_g]: (p(s(t_bool,h4s_netss_dorder(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_g)))) <=> ![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_g),s(TV_u_27a,V_x))),s(TV_u_27a,V_x)))) & 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_g),s(TV_u_27a,V_y))),s(TV_u_27a,V_y))))) => ?[V_z]: (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_g),s(TV_u_27a,V_z))),s(TV_u_27a,V_z)))) & ![V_w]: (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_g),s(TV_u_27a,V_w))),s(TV_u_27a,V_z)))) => (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_g),s(TV_u_27a,V_w))),s(TV_u_27a,V_x)))) & 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_g),s(TV_u_27a,V_w))),s(TV_u_27a,V_y)))))))))).
fof(ch4s_netss_DORDERu_u_LEMMA, conjecture, ![TV_u_27a]: ![V_g]: (p(s(t_bool,h4s_netss_dorder(s(t_fun(TV_u_27a,t_fun(TV_u_27a,t_bool)),V_g)))) => ![V_P, V_Q]: ((?[V_n]: (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_g),s(TV_u_27a,V_n))),s(TV_u_27a,V_n)))) & ![V_m]: (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_g),s(TV_u_27a,V_m))),s(TV_u_27a,V_n)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_m)))))) & ?[V_n]: (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_g),s(TV_u_27a,V_n))),s(TV_u_27a,V_n)))) & ![V_m]: (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_g),s(TV_u_27a,V_m))),s(TV_u_27a,V_n)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_m))))))) => ?[V_n]: (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_g),s(TV_u_27a,V_n))),s(TV_u_27a,V_n)))) & ![V_m]: (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_g),s(TV_u_27a,V_m))),s(TV_u_27a,V_n)))) => (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_m)))) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_m)))))))))).
