%   ORIGINAL: h4/lbtree/finite__thm_c1
% 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/ETA__AX: !t. (\x. t x) = t
% 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/OR__CLAUSES_c2: !t. F \/ t <=> t
% Assm: h4/bool/IMP__CLAUSES_c3: !t. t ==> t <=> T
% Assm: h4/bool/REFL__CLAUSE: !x. x = x <=> T
% Assm: h4/bool/EQ__SYM__EQ: !y x. x = y <=> y = x
% Assm: h4/bool/MONO__AND: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm: h4/bool/MONO__OR: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm: h4/bool/MONO__EXISTS: !Q P. (!x. P x ==> Q x) ==> (?x. P x) ==> (?x. Q x)
% Assm: h4/bool/UNWIND__THM2: !a P. (?x. x = a /\ P x) <=> P a
% Assm: h4/lbtree/Lf__NOT__Nd: !t2 t1 a. ~(h4/lbtree/Lf = h4/lbtree/Nd a t1 t2)
% Assm: h4/lbtree/Nd__11: !u2 u1 t2 t1 a2 a1. h4/lbtree/Nd a1 t1 u1 = h4/lbtree/Nd a2 t2 u2 <=> a1 = a2 /\ t1 = t2 /\ u1 = u2
% Assm: h4/lbtree/finite__def: h4/lbtree/finite = (\a0. !finite_27. (!a00. a00 = h4/lbtree/Lf \/ (?a t1 t2. a00 = h4/lbtree/Nd a t1 t2 /\ finite_27 t1 /\ finite_27 t2) ==> finite_27 a00) ==> finite_27 a0)
% Goal: !t2 t1 a. h4/lbtree/finite (h4/lbtree/Nd a t1 t2) <=> h4/lbtree/finite t1 /\ h4/lbtree/finite t2
%   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_ETAu_u_AX]: !t x. happ t x = happ t x
% 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_ORu_u_CLAUSESu_c2]: !t. F \/ t <=> t
% Assm [h4s_bools_IMPu_u_CLAUSESu_c3]: !t. t ==> t <=> T
% Assm [h4s_bools_REFLu_u_CLAUSE]: !x. x = x <=> T
% Assm [h4s_bools_EQu_u_SYMu_u_EQ]: !y x. x = y <=> y = x
% Assm [h4s_bools_MONOu_u_AND]: !z y x w. (x ==> y) /\ (z ==> w) ==> x /\ z ==> y /\ w
% Assm [h4s_bools_MONOu_u_OR]: !z y x w. (x ==> y) /\ (z ==> w) ==> x \/ z ==> y \/ w
% Assm [h4s_bools_MONOu_u_EXISTS]: !Q P. (!x. happ P x ==> happ Q x) ==> (?x. happ P x) ==> (?x. happ Q x)
% Assm [h4s_bools_UNWINDu_u_THM2]: !a P. (?x. x = a /\ happ P x) <=> happ P a
% Assm [h4s_lbtrees_Lfu_u_NOTu_u_Nd]: !t2 t1 a. ~(h4/lbtree/Lf = h4/lbtree/Nd a t1 t2)
% Assm [h4s_lbtrees_Ndu_u_11]: !u2 u1 t2 t1 a2 a1. h4/lbtree/Nd a1 t1 u1 = h4/lbtree/Nd a2 t2 u2 <=> a1 = a2 /\ t1 = t2 /\ u1 = u2
% Assm [h4s_lbtrees_finiteu_u_def]: !x. h4/lbtree/finite x <=> (!finite_27. (!a00. a00 = h4/lbtree/Lf \/ (?a t1 t2. a00 = h4/lbtree/Nd a t1 t2 /\ happ finite_27 t1 /\ happ finite_27 t2) ==> happ finite_27 a00) ==> happ finite_27 x)
% Goal: !t2 t1 a. h4/lbtree/finite (h4/lbtree/Nd a t1 t2) <=> h4/lbtree/finite t1 /\ h4/lbtree/finite t2
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_Q197944,TV_Q197940]: ![V_f, V_g]: (![V_x]: s(TV_Q197940,happ(s(t_fun(TV_Q197944,TV_Q197940),V_f),s(TV_Q197944,V_x))) = s(TV_Q197940,happ(s(t_fun(TV_Q197944,TV_Q197940),V_g),s(TV_Q197944,V_x))) => s(t_fun(TV_Q197944,TV_Q197940),V_f) = s(t_fun(TV_Q197944,TV_Q197940),V_g))).
fof(ah4s_bools_ETAu_u_AX, axiom, ![TV_u_27b,TV_u_27a]: ![V_t, V_x]: s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x))) = s(TV_u_27b,happ(s(t_fun(TV_u_27a,TV_u_27b),V_t),s(TV_u_27a,V_x)))).
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_ORu_u_CLAUSESu_c2, axiom, ![V_t]: ((p(s(t_bool,f)) | p(s(t_bool,V_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_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_bools_EQu_u_SYMu_u_EQ, axiom, ![TV_u_27a]: ![V_y, V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_y) <=> s(TV_u_27a,V_y) = s(TV_u_27a,V_x))).
fof(ah4s_bools_MONOu_u_AND, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) & p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) & p(s(t_bool,V_w)))))).
fof(ah4s_bools_MONOu_u_OR, axiom, ![V_z, V_y, V_x, V_w]: (((p(s(t_bool,V_x)) => p(s(t_bool,V_y))) & (p(s(t_bool,V_z)) => p(s(t_bool,V_w)))) => ((p(s(t_bool,V_x)) | p(s(t_bool,V_z))) => (p(s(t_bool,V_y)) | p(s(t_bool,V_w)))))).
fof(ah4s_bools_MONOu_u_EXISTS, axiom, ![TV_u_27a]: ![V_Q, V_P]: (![V_x]: (p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))) => (?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x)))) => ?[V_x]: p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_Q),s(TV_u_27a,V_x))))))).
fof(ah4s_bools_UNWINDu_u_THM2, axiom, ![TV_u_27a]: ![V_a, V_P]: (?[V_x]: (s(TV_u_27a,V_x) = s(TV_u_27a,V_a) & p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_x))))) <=> p(s(t_bool,happ(s(t_fun(TV_u_27a,t_bool),V_P),s(TV_u_27a,V_a)))))).
fof(ah4s_lbtrees_Lfu_u_NOTu_u_Nd, axiom, ![TV_u_27a]: ![V_t2, V_t1, V_a]: ~ (s(t_h4s_lbtrees_lbtree(TV_u_27a),h4s_lbtrees_lf) = s(t_h4s_lbtrees_lbtree(TV_u_27a),h4s_lbtrees_nd(s(TV_u_27a,V_a),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t1),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t2))))).
fof(ah4s_lbtrees_Ndu_u_11, axiom, ![TV_u_27a]: ![V_u2, V_u1, V_t2, V_t1, V_a2, V_a1]: (s(t_h4s_lbtrees_lbtree(TV_u_27a),h4s_lbtrees_nd(s(TV_u_27a,V_a1),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t1),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_u1))) = s(t_h4s_lbtrees_lbtree(TV_u_27a),h4s_lbtrees_nd(s(TV_u_27a,V_a2),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t2),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_u2))) <=> (s(TV_u_27a,V_a1) = s(TV_u_27a,V_a2) & (s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t1) = s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t2) & s(t_h4s_lbtrees_lbtree(TV_u_27a),V_u1) = s(t_h4s_lbtrees_lbtree(TV_u_27a),V_u2))))).
fof(ah4s_lbtrees_finiteu_u_def, axiom, ![TV_u_27a]: ![V_x]: (p(s(t_bool,h4s_lbtrees_finite(s(t_h4s_lbtrees_lbtree(TV_u_27a),V_x)))) <=> ![V_finiteu_27]: (![V_a00]: ((s(t_h4s_lbtrees_lbtree(TV_u_27a),V_a00) = s(t_h4s_lbtrees_lbtree(TV_u_27a),h4s_lbtrees_lf) | ?[V_a, V_t1, V_t2]: (s(t_h4s_lbtrees_lbtree(TV_u_27a),V_a00) = s(t_h4s_lbtrees_lbtree(TV_u_27a),h4s_lbtrees_nd(s(TV_u_27a,V_a),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t1),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t2))) & (p(s(t_bool,happ(s(t_fun(t_h4s_lbtrees_lbtree(TV_u_27a),t_bool),V_finiteu_27),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t1)))) & p(s(t_bool,happ(s(t_fun(t_h4s_lbtrees_lbtree(TV_u_27a),t_bool),V_finiteu_27),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_t2))))))) => p(s(t_bool,happ(s(t_fun(t_h4s_lbtrees_lbtree(TV_u_27a),t_bool),V_finiteu_27),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_a00))))) => p(s(t_bool,happ(s(t_fun(t_h4s_lbtrees_lbtree(TV_u_27a),t_bool),V_finiteu_27),s(t_h4s_lbtrees_lbtree(TV_u_27a),V_x))))))).
fof(ch4s_lbtrees_finiteu_u_thmu_c1, conjecture, ![TV_u_27b]: ![V_t2, V_t1, V_a]: (p(s(t_bool,h4s_lbtrees_finite(s(t_h4s_lbtrees_lbtree(TV_u_27b),h4s_lbtrees_nd(s(TV_u_27b,V_a),s(t_h4s_lbtrees_lbtree(TV_u_27b),V_t1),s(t_h4s_lbtrees_lbtree(TV_u_27b),V_t2)))))) <=> (p(s(t_bool,h4s_lbtrees_finite(s(t_h4s_lbtrees_lbtree(TV_u_27b),V_t1)))) & p(s(t_bool,h4s_lbtrees_finite(s(t_h4s_lbtrees_lbtree(TV_u_27b),V_t2))))))).
