%   ORIGINAL: h4/hreal/HREAL__SUP__ISACUT
% 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/IMP__ANTISYM__AX: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm: h4/bool/FALSITY: !t. F ==> t
% Assm: h4/bool/AND__CLAUSES_c0: !t. T /\ t <=> t
% Assm: h4/bool/AND__CLAUSES_c1: !t. t /\ T <=> t
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/bool/IMP__CLAUSES_c4: !t. t ==> F <=> ~t
% Assm: h4/bool/EQ__CLAUSES_c1: !t. (t <=> T) <=> t
% Assm: h4/sat/NOT__NOT: !t. ~ ~t <=> t
% Assm: h4/sat/AND__INV__IMP: !A. A ==> ~A ==> F
% Assm: h4/sat/OR__DUAL2: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm: h4/sat/OR__DUAL3: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm: h4/sat/AND__INV2: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm: h4/sat/dc__eq: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm: h4/sat/dc__conj: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm: h4/sat/dc__imp: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm: h4/sat/dc__neg: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm: h4/hreal/isacut0: !C. h4/hreal/isacut C <=> (?x. C x) /\ (?x. ~C x) /\ (!x y. C x /\ h4/hreal/hrat__lt y x ==> C y) /\ (!x. C x ==> (?y. C y /\ h4/hreal/hrat__lt x y))
% Assm: h4/hreal/CUT__NONEMPTY: !X. ?x. h4/hreal/cut X x
% Assm: h4/hreal/CUT__BOUNDED: !X. ?x. ~h4/hreal/cut X x
% Assm: h4/hreal/CUT__DOWN: !y x X. h4/hreal/cut X x /\ h4/hreal/hrat__lt y x ==> h4/hreal/cut X y
% Assm: h4/hreal/CUT__UP: !x X. h4/hreal/cut X x ==> (?y. h4/hreal/cut X y /\ h4/hreal/hrat__lt x y)
% Assm: h4/hreal/hreal__lt0: !Y X. h4/hreal/hreal__lt X Y <=> ~(X = Y) /\ (!x. h4/hreal/cut X x ==> h4/hreal/cut Y x)
% Goal: !P. (?X. P X) /\ (?Y. !X. P X ==> h4/hreal/hreal__lt X Y) ==> h4/hreal/isacut (\w. ?X. P X /\ h4/hreal/cut X w)
%   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_IMPu_u_ANTISYMu_u_AX]: !t2 t1. (t1 ==> t2) ==> (t2 ==> t1) ==> (t1 <=> t2)
% Assm [h4s_bools_FALSITY]: !t. F ==> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c0]: !t. T /\ t <=> t
% Assm [h4s_bools_ANDu_u_CLAUSESu_c1]: !t. t /\ T <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_bools_IMPu_u_CLAUSESu_c4]: !t. t ==> F <=> ~t
% Assm [h4s_bools_EQu_u_CLAUSESu_c1]: !t. (t <=> T) <=> t
% Assm [h4s_sats_NOTu_u_NOT]: !t. ~ ~t <=> t
% Assm [h4s_sats_ANDu_u_INVu_u_IMP]: !A. A ==> ~A ==> F
% Assm [h4s_sats_ORu_u_DUAL2]: !B A. ~(A \/ B) ==> F <=> (A ==> F) ==> ~B ==> F
% Assm [h4s_sats_ORu_u_DUAL3]: !B A. ~(~A \/ B) ==> F <=> A ==> ~B ==> F
% Assm [h4s_sats_ANDu_u_INV2]: !A. (~A ==> F) ==> (A ==> F) ==> F
% Assm [h4s_sats_dcu_u_eq]: !r q p. (p <=> q <=> r) <=> (p \/ q \/ r) /\ (p \/ ~r \/ ~q) /\ (q \/ ~r \/ ~p) /\ (r \/ ~q \/ ~p)
% Assm [h4s_sats_dcu_u_conj]: !r q p. (p <=> q /\ r) <=> (p \/ ~q \/ ~r) /\ (q \/ ~p) /\ (r \/ ~p)
% Assm [h4s_sats_dcu_u_imp]: !r q p. (p <=> q ==> r) <=> (p \/ q) /\ (p \/ ~r) /\ (~q \/ r \/ ~p)
% Assm [h4s_sats_dcu_u_neg]: !q p. (p <=> ~q) <=> (p \/ q) /\ (~q \/ ~p)
% Assm [h4s_hreals_isacut0]: !C. h4/hreal/isacut C <=> (?x. happ C x) /\ (?x. ~happ C x) /\ (!x y. happ C x /\ h4/hreal/hrat__lt y x ==> happ C y) /\ (!x. happ C x ==> (?y. happ C y /\ h4/hreal/hrat__lt x y))
% Assm [h4s_hreals_CUTu_u_NONEMPTY]: !X. ?x. h4/hreal/cut X x
% Assm [h4s_hreals_CUTu_u_BOUNDED]: !X. ?x. ~h4/hreal/cut X x
% Assm [h4s_hreals_CUTu_u_DOWN]: !y x X. h4/hreal/cut X x /\ h4/hreal/hrat__lt y x ==> h4/hreal/cut X y
% Assm [h4s_hreals_CUTu_u_UP]: !x X. h4/hreal/cut X x ==> (?y. h4/hreal/cut X y /\ h4/hreal/hrat__lt x y)
% Assm [h4s_hreals_hrealu_u_lt0]: !Y X. h4/hreal/hreal__lt X Y <=> ~(X = Y) /\ (!x. h4/hreal/cut X x ==> h4/hreal/cut Y x)
% Goal: !_0. (!P w. happ (happ _0 P) w <=> (?X. happ P X /\ h4/hreal/cut X w)) ==> (!P. (?X. happ P X) /\ (?Y. !X. happ P X ==> h4/hreal/hreal__lt X Y) ==> h4/hreal/isacut (happ _0 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_Q255056,TV_Q255052]: ![V_f, V_g]: (![V_x]: s(TV_Q255052,happ(s(t_fun(TV_Q255056,TV_Q255052),V_f),s(TV_Q255056,V_x))) = s(TV_Q255052,happ(s(t_fun(TV_Q255056,TV_Q255052),V_g),s(TV_Q255056,V_x))) => s(t_fun(TV_Q255056,TV_Q255052),V_f) = s(t_fun(TV_Q255056,TV_Q255052),V_g))).
fof(ah4s_bools_TRUTH, axiom, p(s(t_bool,t))).
fof(ah4s_bools_IMPu_u_ANTISYMu_u_AX, axiom, ![V_t2, V_t1]: ((p(s(t_bool,V_t1)) => p(s(t_bool,V_t2))) => ((p(s(t_bool,V_t2)) => p(s(t_bool,V_t1))) => s(t_bool,V_t1) = s(t_bool,V_t2)))).
fof(ah4s_bools_FALSITY, axiom, ![V_t]: (p(s(t_bool,f)) => p(s(t_bool,V_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_ANDu_u_CLAUSESu_c1, axiom, ![V_t]: ((p(s(t_bool,V_t)) & p(s(t_bool,t))) <=> p(s(t_bool,V_t)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c3, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,V_t))) <=> p(s(t_bool,t)))).
fof(ah4s_bools_IMPu_u_CLAUSESu_c4, axiom, ![V_t]: ((p(s(t_bool,V_t)) => p(s(t_bool,f))) <=> ~ (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_sats_NOTu_u_NOT, axiom, ![V_t]: (~ (~ (p(s(t_bool,V_t)))) <=> p(s(t_bool,V_t)))).
fof(ah4s_sats_ANDu_u_INVu_u_IMP, axiom, ![V_A]: (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_A))) => p(s(t_bool,f))))).
fof(ah4s_sats_ORu_u_DUAL2, axiom, ![V_B, V_A]: ((~ ((p(s(t_bool,V_A)) | p(s(t_bool,V_B)))) => p(s(t_bool,f))) <=> ((p(s(t_bool,V_A)) => p(s(t_bool,f))) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f)))))).
fof(ah4s_sats_ORu_u_DUAL3, axiom, ![V_B, V_A]: ((~ ((~ (p(s(t_bool,V_A))) | p(s(t_bool,V_B)))) => p(s(t_bool,f))) <=> (p(s(t_bool,V_A)) => (~ (p(s(t_bool,V_B))) => p(s(t_bool,f)))))).
fof(ah4s_sats_ANDu_u_INV2, axiom, ![V_A]: ((~ (p(s(t_bool,V_A))) => p(s(t_bool,f))) => ((p(s(t_bool,V_A)) => p(s(t_bool,f))) => p(s(t_bool,f))))).
fof(ah4s_sats_dcu_u_eq, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> s(t_bool,V_q) = s(t_bool,V_r)) <=> ((p(s(t_bool,V_p)) | (p(s(t_bool,V_q)) | p(s(t_bool,V_r)))) & ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_q))))) & ((p(s(t_bool,V_q)) | (~ (p(s(t_bool,V_r))) | ~ (p(s(t_bool,V_p))))) & (p(s(t_bool,V_r)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p)))))))))).
fof(ah4s_sats_dcu_u_conj, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) & p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_r))))) & ((p(s(t_bool,V_q)) | ~ (p(s(t_bool,V_p)))) & (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p)))))))).
fof(ah4s_sats_dcu_u_imp, axiom, ![V_r, V_q, V_p]: ((p(s(t_bool,V_p)) <=> (p(s(t_bool,V_q)) => p(s(t_bool,V_r)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & ((p(s(t_bool,V_p)) | ~ (p(s(t_bool,V_r)))) & (~ (p(s(t_bool,V_q))) | (p(s(t_bool,V_r)) | ~ (p(s(t_bool,V_p))))))))).
fof(ah4s_sats_dcu_u_neg, axiom, ![V_q, V_p]: ((p(s(t_bool,V_p)) <=> ~ (p(s(t_bool,V_q)))) <=> ((p(s(t_bool,V_p)) | p(s(t_bool,V_q))) & (~ (p(s(t_bool,V_q))) | ~ (p(s(t_bool,V_p))))))).
fof(ah4s_hreals_isacut0, axiom, ![V_C]: (p(s(t_bool,h4s_hreals_isacut(s(t_fun(t_h4s_hrats_hrat,t_bool),V_C)))) <=> (?[V_x]: p(s(t_bool,happ(s(t_fun(t_h4s_hrats_hrat,t_bool),V_C),s(t_h4s_hrats_hrat,V_x)))) & (?[V_x]: ~ (p(s(t_bool,happ(s(t_fun(t_h4s_hrats_hrat,t_bool),V_C),s(t_h4s_hrats_hrat,V_x))))) & (![V_x, V_y]: ((p(s(t_bool,happ(s(t_fun(t_h4s_hrats_hrat,t_bool),V_C),s(t_h4s_hrats_hrat,V_x)))) & p(s(t_bool,h4s_hreals_hratu_u_lt(s(t_h4s_hrats_hrat,V_y),s(t_h4s_hrats_hrat,V_x))))) => p(s(t_bool,happ(s(t_fun(t_h4s_hrats_hrat,t_bool),V_C),s(t_h4s_hrats_hrat,V_y))))) & ![V_x]: (p(s(t_bool,happ(s(t_fun(t_h4s_hrats_hrat,t_bool),V_C),s(t_h4s_hrats_hrat,V_x)))) => ?[V_y]: (p(s(t_bool,happ(s(t_fun(t_h4s_hrats_hrat,t_bool),V_C),s(t_h4s_hrats_hrat,V_y)))) & p(s(t_bool,h4s_hreals_hratu_u_lt(s(t_h4s_hrats_hrat,V_x),s(t_h4s_hrats_hrat,V_y))))))))))).
fof(ah4s_hreals_CUTu_u_NONEMPTY, axiom, ![V_X]: ?[V_x]: p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hrats_hrat,V_x))))).
fof(ah4s_hreals_CUTu_u_BOUNDED, axiom, ![V_X]: ?[V_x]: ~ (p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hrats_hrat,V_x)))))).
fof(ah4s_hreals_CUTu_u_DOWN, axiom, ![V_y, V_x, V_X]: ((p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hrats_hrat,V_x)))) & p(s(t_bool,h4s_hreals_hratu_u_lt(s(t_h4s_hrats_hrat,V_y),s(t_h4s_hrats_hrat,V_x))))) => p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hrats_hrat,V_y)))))).
fof(ah4s_hreals_CUTu_u_UP, axiom, ![V_x, V_X]: (p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hrats_hrat,V_x)))) => ?[V_y]: (p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hrats_hrat,V_y)))) & p(s(t_bool,h4s_hreals_hratu_u_lt(s(t_h4s_hrats_hrat,V_x),s(t_h4s_hrats_hrat,V_y))))))).
fof(ah4s_hreals_hrealu_u_lt0, axiom, ![V_Y, V_X]: (p(s(t_bool,h4s_hreals_hrealu_u_lt(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hreals_hreal,V_Y)))) <=> (~ (s(t_h4s_hreals_hreal,V_X) = s(t_h4s_hreals_hreal,V_Y)) & ![V_x]: (p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hrats_hrat,V_x)))) => p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_Y),s(t_h4s_hrats_hrat,V_x)))))))).
fof(ch4s_hreals_HREALu_u_SUPu_u_ISACUT, conjecture, ![V_uu_0]: (![V_P, V_w]: (p(s(t_bool,happ(s(t_fun(t_h4s_hrats_hrat,t_bool),happ(s(t_fun(t_fun(t_h4s_hreals_hreal,t_bool),t_fun(t_h4s_hrats_hrat,t_bool)),V_uu_0),s(t_fun(t_h4s_hreals_hreal,t_bool),V_P))),s(t_h4s_hrats_hrat,V_w)))) <=> ?[V_X]: (p(s(t_bool,happ(s(t_fun(t_h4s_hreals_hreal,t_bool),V_P),s(t_h4s_hreals_hreal,V_X)))) & p(s(t_bool,h4s_hreals_cut(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hrats_hrat,V_w)))))) => ![V_P]: ((?[V_X]: p(s(t_bool,happ(s(t_fun(t_h4s_hreals_hreal,t_bool),V_P),s(t_h4s_hreals_hreal,V_X)))) & ?[V_Y]: ![V_X]: (p(s(t_bool,happ(s(t_fun(t_h4s_hreals_hreal,t_bool),V_P),s(t_h4s_hreals_hreal,V_X)))) => p(s(t_bool,h4s_hreals_hrealu_u_lt(s(t_h4s_hreals_hreal,V_X),s(t_h4s_hreals_hreal,V_Y)))))) => p(s(t_bool,h4s_hreals_isacut(s(t_fun(t_h4s_hrats_hrat,t_bool),happ(s(t_fun(t_fun(t_h4s_hreals_hreal,t_bool),t_fun(t_h4s_hrats_hrat,t_bool)),V_uu_0),s(t_fun(t_h4s_hreals_hreal,t_bool),V_P))))))))).
