Let X, Tx, A and f be given.
Assume Hnorm: normal_space X Tx.
Assume HA: closed_in X Tx A.
Assume HAnemp: A Empty.
Assume Hf: continuous_map A (subspace_topology X Tx A) (closed_interval (minus_SNo 1) 1) (closed_interval_topology (minus_SNo 1) 1) f.
We will prove ∃gR : set, continuous_map X Tx R R_standard_topology gR (∀x : set, x Aapply_fun gR x = apply_fun f x) (∀x : set, x Xapply_fun gR x closed_interval (minus_SNo 1) 1).
Set I to be the term closed_interval (minus_SNo 1) 1.
We prove the intermediate claim HTx: topology_on X Tx.
An exact proof term for the current goal is (normal_space_topology_on X Tx Hnorm).
We prove the intermediate claim HAsubX: A X.
An exact proof term for the current goal is (closed_in_subset X Tx A HA).
We prove the intermediate claim Hf_fun: function_on f A I.
An exact proof term for the current goal is (continuous_map_function_on A (subspace_topology X Tx A) I (closed_interval_topology (minus_SNo 1) 1) f Hf).
We prove the intermediate claim Hf_R: function_on f A R.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim HfxI: apply_fun f x I.
An exact proof term for the current goal is (Hf_fun x HxA).
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun f x) HfxI).
Set I0 to be the term closed_interval (minus_SNo one_third) one_third.
Set T0 to be the term closed_interval_topology (minus_SNo one_third) one_third.
We prove the intermediate claim Hexg0: ∃g0 : set, continuous_map X Tx I0 T0 g0 (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third) (∀x : set, x preimage_of A f ((closed_interval one_third 1) I)apply_fun g0 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A f Hnorm HA Hf).
Apply Hexg0 to the current goal.
Let g0 be given.
Assume Hg0.
We prove the intermediate claim Hg0contI0: continuous_map X Tx I0 T0 g0.
We prove the intermediate claim Hleft: continuous_map X Tx I0 T0 g0 (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 g0 (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third)) (∀x : set, x preimage_of A f ((closed_interval one_third 1) I)apply_fun g0 x = one_third) Hg0).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 g0) (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third) Hleft).
We prove the intermediate claim Hg0contR: continuous_map X Tx R R_standard_topology g0.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology g0 Hg0contI0 (closed_interval_sub_R (minus_SNo one_third) one_third) R_standard_topology_is_topology_local HT0eq).
Set f1 to be the term graph A (λx : setadd_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))).
We prove the intermediate claim Hfung0: function_on g0 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 g0 Hg0contI0).
We prove the intermediate claim Hf1_total: total_function_on f1 A R.
Apply (total_function_on_graph A R (λx : setadd_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x)))) to the current goal.
Let x be given.
Assume HxA: x A.
We will prove add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x)) R.
We prove the intermediate claim HfxR: apply_fun f x R.
An exact proof term for the current goal is (Hf_R x HxA).
We prove the intermediate claim HgxI0: apply_fun g0 x I0.
An exact proof term for the current goal is (Hfung0 x (HAsubX x HxA)).
We prove the intermediate claim HgxR: apply_fun g0 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun g0 x) HgxI0).
We prove the intermediate claim HmgxR: minus_SNo (apply_fun g0 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun g0 x) HgxR).
An exact proof term for the current goal is (real_add_SNo (apply_fun f x) HfxR (minus_SNo (apply_fun g0 x)) HmgxR).
We prove the intermediate claim Hg0pair: (continuous_map X Tx I0 T0 g0 (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third)) (∀x : set, x preimage_of A f ((closed_interval one_third 1) I)apply_fun g0 x = one_third).
An exact proof term for the current goal is Hg0.
We prove the intermediate claim Hg0_on_B: ∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third.
We prove the intermediate claim Hleft: continuous_map X Tx I0 T0 g0 (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 g0 (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third)) (∀x : set, x preimage_of A f ((closed_interval one_third 1) I)apply_fun g0 x = one_third) Hg0pair).
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 g0) (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third) Hleft).
We prove the intermediate claim Hg0_on_C: ∀x : set, x preimage_of A f ((closed_interval one_third 1) I)apply_fun g0 x = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 g0 (∀x : set, x preimage_of A f ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun g0 x = minus_SNo one_third)) (∀x : set, x preimage_of A f ((closed_interval one_third 1) I)apply_fun g0 x = one_third) Hg0pair).
We prove the intermediate claim Hf1_apply: ∀x : set, x Aapply_fun f1 x = add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x)).
Let x be given.
Assume HxA: x A.
rewrite the current goal using (apply_fun_graph A (λx0 : setadd_SNo (apply_fun f x0) (minus_SNo (apply_fun g0 x0))) x HxA) (from left to right).
Use reflexivity.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set I2 to be the term closed_interval (minus_SNo two_thirds) two_thirds.
Set B to be the term preimage_of A f (I1 I).
Set C to be the term preimage_of A f (I3 I).
We prove the intermediate claim Hf1_range: ∀x : set, x Aapply_fun f1 x I2.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim HfxI: apply_fun f x I.
An exact proof term for the current goal is (Hf_fun x HxA).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
Apply (xm (x B)) to the current goal.
Assume HxB: x B.
We prove the intermediate claim Hg0eq: apply_fun g0 x = minus_SNo one_third.
An exact proof term for the current goal is (Hg0_on_B x HxB).
We prove the intermediate claim Hf1eq: apply_fun f1 x = add_SNo (apply_fun f x) one_third.
rewrite the current goal using (Hf1_apply x HxA) (from left to right).
rewrite the current goal using Hg0eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hf1eq (from left to right).
We prove the intermediate claim HfxI1I: apply_fun f x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun f x0 I1 I) x HxB).
We prove the intermediate claim HfxI1: apply_fun f x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun f x) HfxI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim HfxR: apply_fun f x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun f x) HfxI1).
We prove the intermediate claim Hfx_bounds: Rle (minus_SNo 1) (apply_fun f x) Rle (apply_fun f x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun f x) Hm1R Hm13R HfxI1).
We prove the intermediate claim Hm1lefx: Rle (minus_SNo 1) (apply_fun f x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun f x)) (Rle (apply_fun f x) (minus_SNo one_third)) Hfx_bounds).
We prove the intermediate claim Hfxlem13: Rle (apply_fun f x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun f x)) (Rle (apply_fun f x) (minus_SNo one_third)) Hfx_bounds).
We prove the intermediate claim Hf1R: add_SNo (apply_fun f x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun f x) HfxR one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun f x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun f x) one_third Hm1R HfxR H13R Hm1lefx).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun f x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun f x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun f x) (minus_SNo one_third) one_third HfxR Hm13R H13R Hfxlem13).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun f x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun f x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun f x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun f x) one_third) Hm23R H23R Hf1R Hlow Hup).
Assume HxnotB: ¬ (x B).
Apply (xm (x C)) to the current goal.
Assume HxC: x C.
We prove the intermediate claim Hg0eq: apply_fun g0 x = one_third.
An exact proof term for the current goal is (Hg0_on_C x HxC).
We prove the intermediate claim Hf1eq: apply_fun f1 x = add_SNo (apply_fun f x) (minus_SNo one_third).
rewrite the current goal using (Hf1_apply x HxA) (from left to right).
rewrite the current goal using Hg0eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hf1eq (from left to right).
We prove the intermediate claim HfxI3I: apply_fun f x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun f x0 I3 I) x HxC).
We prove the intermediate claim HfxI3: apply_fun f x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun f x) HfxI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim HfxR: apply_fun f x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun f x) HfxI3).
We prove the intermediate claim Hfx_bounds: Rle one_third (apply_fun f x) Rle (apply_fun f x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun f x) H13R real_1 HfxI3).
We prove the intermediate claim H13lefx: Rle one_third (apply_fun f x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun f x)) (Rle (apply_fun f x) 1) Hfx_bounds).
We prove the intermediate claim Hfxle1: Rle (apply_fun f x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun f x)) (Rle (apply_fun f x) 1) Hfx_bounds).
We prove the intermediate claim Hf1R: add_SNo (apply_fun f x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun f x) HfxR (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_f1_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun f x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun f x) (minus_SNo one_third) H13R HfxR Hm13R H13lefx).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le_f1: Rle 0 (add_SNo (apply_fun f x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_f1_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun f x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun f x) (minus_SNo one_third)) Hm23le0 H0le_f1).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun f x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun f x) 1 (minus_SNo one_third) HfxR real_1 Hm13R Hfxle1).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun f x) (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun f x) (minus_SNo one_third)) Hm23R H23R Hf1R Hlow Hup).
Assume HxnotC: ¬ (x C).
We prove the intermediate claim HnotI1: ¬ (apply_fun f x I1).
Assume HfxI1: apply_fun f x I1.
We prove the intermediate claim HfxI1I: apply_fun f x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun f x) HfxI1 HfxI).
We prove the intermediate claim HxB': x B.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun f x0 I1 I) x HxA HfxI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB HxB').
We prove the intermediate claim HnotI3: ¬ (apply_fun f x I3).
Assume HfxI3: apply_fun f x I3.
We prove the intermediate claim HfxI3I: apply_fun f x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun f x) HfxI3 HfxI).
We prove the intermediate claim HxC': x C.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun f x0 I3 I) x HxA HfxI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC HxC').
We prove the intermediate claim HfxR: apply_fun f x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun f x) HfxI).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: (minus_SNo one_third) R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hfx_bounds: Rle (minus_SNo 1) (apply_fun f x) Rle (apply_fun f x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun f x) Hm1R real_1 HfxI).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun f x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun f x) (andEL (Rle (minus_SNo 1) (apply_fun f x)) (Rle (apply_fun f x) 1) Hfx_bounds)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun f x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun f x) 1 (andER (Rle (minus_SNo 1) (apply_fun f x)) (Rle (apply_fun f x) 1) Hfx_bounds)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun f x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun f x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun f x) Hm1R Hm13R HfxR HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun f x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun f x))) to the current goal.
Assume Hbad: Rlt (apply_fun f x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun f x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun f x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun f x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun f x) one_third Rlt 1 (apply_fun f x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun f x) H13R real_1 HfxR HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun f x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun f x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun f x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun f x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun f x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun f x) one_third Hfx_lt_13).
We prove the intermediate claim HfxI0: apply_fun f x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun f x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun f x) HfxR (andI (¬ (Rlt (apply_fun f x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun f x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
rewrite the current goal using (Hf1_apply x HxA) (from left to right).
We prove the intermediate claim Hg0xI0: apply_fun g0 x I0.
An exact proof term for the current goal is (Hfung0 x HxX).
We prove the intermediate claim Hg0xR: apply_fun g0 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun g0 x) Hg0xI0).
We prove the intermediate claim Hm_g0x_R: minus_SNo (apply_fun g0 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun g0 x) Hg0xR).
We prove the intermediate claim Hf1xR: add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun f x) HfxR (minus_SNo (apply_fun g0 x)) Hm_g0x_R).
We prove the intermediate claim Hm13R: (minus_SNo one_third) R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: (minus_SNo two_thirds) R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hfx0_bounds: Rle (minus_SNo one_third) (apply_fun f x) Rle (apply_fun f x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun f x) Hm13R H13R HfxI0).
We prove the intermediate claim Hg0x_bounds: Rle (minus_SNo one_third) (apply_fun g0 x) Rle (apply_fun g0 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun g0 x) Hm13R H13R Hg0xI0).
We prove the intermediate claim Hm13_le_fx: Rle (minus_SNo one_third) (apply_fun f x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun f x)) (Rle (apply_fun f x) one_third) Hfx0_bounds).
We prove the intermediate claim Hfx_le_13: Rle (apply_fun f x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun f x)) (Rle (apply_fun f x) one_third) Hfx0_bounds).
We prove the intermediate claim Hm13_le_g0x: Rle (minus_SNo one_third) (apply_fun g0 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun g0 x)) (Rle (apply_fun g0 x) one_third) Hg0x_bounds).
We prove the intermediate claim Hg0x_le_13: Rle (apply_fun g0 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun g0 x)) (Rle (apply_fun g0 x) one_third) Hg0x_bounds).
We prove the intermediate claim Hm13_le_mg0x: Rle (minus_SNo one_third) (minus_SNo (apply_fun g0 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun g0 x) one_third Hg0x_le_13).
We prove the intermediate claim Hmg0x_le_13: Rle (minus_SNo (apply_fun g0 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun g0 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun g0 x) Hm13_le_g0x).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlo1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun f x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun f x) (minus_SNo one_third) Hm13R HfxR Hm13R Hm13_le_fx).
We prove the intermediate claim Hlo2: Rle (add_SNo (apply_fun f x) (minus_SNo one_third)) (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun f x) (minus_SNo one_third) (minus_SNo (apply_fun g0 x)) HfxR Hm13R Hm_g0x_R Hm13_le_mg0x).
We prove the intermediate claim Hlo': Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun f x) (minus_SNo one_third)) (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))) Hlo1 Hlo2).
We prove the intermediate claim Hlo: Rle (minus_SNo two_thirds) (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))).
rewrite the current goal using (minus_two_thirds_eq) (from left to right) at position 1.
An exact proof term for the current goal is Hlo'.
We prove the intermediate claim Hhi1: Rle (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))) (add_SNo one_third (minus_SNo (apply_fun g0 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun f x) one_third (minus_SNo (apply_fun g0 x)) HfxR H13R Hm_g0x_R Hfx_le_13).
We prove the intermediate claim Hhi2: Rle (add_SNo one_third (minus_SNo (apply_fun g0 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 one_third (minus_SNo (apply_fun g0 x)) one_third H13R Hm_g0x_R H13R Hmg0x_le_13).
We prove the intermediate claim Hhi': Rle (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))) (add_SNo one_third (minus_SNo (apply_fun g0 x))) (add_SNo one_third one_third) Hhi1 Hhi2).
We prove the intermediate claim Hhi: Rle (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))) two_thirds.
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
rewrite the current goal using Hdef23 (from left to right).
An exact proof term for the current goal is Hhi'.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))) Hm23R H23R Hf1xR Hlo Hhi).
We prove the intermediate claim Hseries: ∃gR : set, continuous_map X Tx R R_standard_topology gR (∀x : set, x Aapply_fun gR x = apply_fun f x) (∀x : set, x Xapply_fun gR x closed_interval (minus_SNo 1) 1).
Set I to be the term closed_interval (minus_SNo 1) 1.
Set Ti to be the term closed_interval_topology (minus_SNo 1) 1.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim H23S: SNo two_thirds.
An exact proof term for the current goal is (real_SNo two_thirds H23R).
We prove the intermediate claim H23pos: 0 < two_thirds.
An exact proof term for the current goal is two_thirds_pos.
We prove the intermediate claim H23ne0: two_thirds 0.
An exact proof term for the current goal is two_thirds_ne0.
Set den to be the term two_thirds.
Set f1s to be the term compose_fun A f1 (div_const_fun den).
We prove the intermediate claim Hdivfun: function_on (div_const_fun den) R R.
Let t be given.
Assume HtR: t R.
An exact proof term for the current goal is (div_const_fun_value_in_R den t H23R HtR).
We prove the intermediate claim Hf1fun0: function_on f1 A R.
An exact proof term for the current goal is (andEL (function_on f1 A R) (∀a : set, a A∃y : set, y R (a,y) f1) Hf1_total).
We prove the intermediate claim Hf1s_total: total_function_on f1s A R.
An exact proof term for the current goal is (total_function_on_compose_fun A R R f1 (div_const_fun den) Hf1fun0 Hdivfun).
We prove the intermediate claim Hf1s_fun: function_on f1s A R.
An exact proof term for the current goal is (andEL (function_on f1s A R) (∀x : set, x A∃y : set, y R (x,y) f1s) Hf1s_total).
We prove the intermediate claim Hf1s_apply: ∀x : set, x Aapply_fun f1s x = div_SNo (apply_fun f1 x) den.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim HxR: apply_fun f1 x R.
An exact proof term for the current goal is (Hf1fun0 x HxA).
rewrite the current goal using (compose_fun_apply A f1 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun f1 x) H23R HxR) (from left to right).
Use reflexivity.
We prove the intermediate claim Hf1s_I: ∀x : set, x Aapply_fun f1s x I.
Let x be given.
Assume HxA: x A.
We will prove apply_fun f1s x I.
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hf1xI2: apply_fun f1 x I2.
An exact proof term for the current goal is (Hf1_range x HxA).
We prove the intermediate claim Hm23R: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hf1xR: apply_fun f1 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun f1 x) Hf1xI2).
We prove the intermediate claim Hf1xS: SNo (apply_fun f1 x).
An exact proof term for the current goal is (real_SNo (apply_fun f1 x) Hf1xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun f1 x) Rle (apply_fun f1 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun f1 x) Hm23R H23R Hf1xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun f1 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun f1 x)) (Rle (apply_fun f1 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun f1 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun f1 x)) (Rle (apply_fun f1 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun f1 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun f1 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun f1 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun f1 x) Hlo).
We prove the intermediate claim HyEq: apply_fun f1s x = div_SNo (apply_fun f1 x) den.
An exact proof term for the current goal is (Hf1s_apply x HxA).
We prove the intermediate claim HyR: apply_fun f1s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun f1 x) Hf1xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun f1s x).
An exact proof term for the current goal is (real_SNo (apply_fun f1s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun f1s x) 1.
Apply (RleI (apply_fun f1s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun f1s x)).
Assume H1lt: Rlt 1 (apply_fun f1s x).
We prove the intermediate claim H1lty: 1 < apply_fun f1s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun f1s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun f1s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun f1s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun f1s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun f1s x) den = apply_fun f1 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun f1 x) den Hf1xS H23S H23ne0).
We prove the intermediate claim Hden_lt_f1x: den < apply_fun f1 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun f1 x).
An exact proof term for the current goal is (RltI den (apply_fun f1 x) H23R Hf1xR Hden_lt_f1x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun f1s x).
Apply (RleI (minus_SNo 1) (apply_fun f1s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun f1s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun f1s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun f1s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun f1s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun f1s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun f1s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun f1s x) den = apply_fun f1 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun f1 x) den Hf1xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hf1x_lt_mden: apply_fun f1 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun f1 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun f1 x) (minus_SNo den) Hf1xR Hm23R Hf1x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun f1s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
We prove the intermediate claim Hf1s_cont: continuous_map A (subspace_topology X Tx A) I Ti f1s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hf1cont: continuous_map A (subspace_topology X Tx A) R R_standard_topology f1.
Set Ta to be the term subspace_topology X Tx A.
We prove the intermediate claim HTa: topology_on A Ta.
An exact proof term for the current goal is (subspace_topology_is_topology X Tx A HTx HAsubX).
We prove the intermediate claim HIcR: I R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1).
We prove the intermediate claim HTiEq: (closed_interval_topology (minus_SNo 1) 1) = subspace_topology R R_standard_topology I.
Use reflexivity.
We prove the intermediate claim HfcontR: continuous_map A Ta R R_standard_topology f.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I (closed_interval_topology (minus_SNo 1) 1) R R_standard_topology f Hf HIcR R_standard_topology_is_topology_local HTiEq).
We prove the intermediate claim Hg0contA: continuous_map A Ta R R_standard_topology g0.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology g0 A HTx HAsubX Hg0contR).
We prove the intermediate claim Hnegcont: continuous_map R R_standard_topology R R_standard_topology neg_fun.
An exact proof term for the current goal is neg_fun_continuous.
Set g0neg to be the term compose_fun A g0 neg_fun.
We prove the intermediate claim Hg0negcont: continuous_map A Ta R R_standard_topology g0neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology g0 neg_fun Hg0contA Hnegcont).
Set h to be the term pair_map A f g0neg.
We prove the intermediate claim Hhcont: continuous_map A Ta (setprod R R) (product_topology R R_standard_topology R R_standard_topology) h.
An exact proof term for the current goal is (maps_into_products_axiom A Ta R R_standard_topology R R_standard_topology f g0neg HfcontR Hg0negcont).
An exact proof term for the current goal is add_fun_R_continuous.
Set f1c to be the term compose_fun A h add_fun_R.
We prove the intermediate claim Hf1c_cont: continuous_map A Ta R R_standard_topology f1c.
An exact proof term for the current goal is (composition_continuous A Ta (setprod R R) (product_topology R R_standard_topology R R_standard_topology) R R_standard_topology h add_fun_R Hhcont Haddcont).
We prove the intermediate claim Heq: f1 = f1c.
Apply set_ext to the current goal.
Let p be given.
Assume Hp: p f1.
We will prove p f1c.
Apply (ReplE_impred A (λx0 : set(x0,add_SNo (apply_fun f x0) (minus_SNo (apply_fun g0 x0)))) p Hp (p f1c)) to the current goal.
Let x be given.
Assume HxA: x A.
Assume Hpeq: p = (x,add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x))).
rewrite the current goal using Hpeq (from left to right).
We prove the intermediate claim Hhx: apply_fun h x = (apply_fun f x,apply_fun g0neg x).
An exact proof term for the current goal is (pair_map_apply A R R f g0neg x HxA).
We prove the intermediate claim Hg0negx: apply_fun g0neg x = minus_SNo (apply_fun g0 x).
We prove the intermediate claim HxTa: x A.
An exact proof term for the current goal is HxA.
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim Hg0xR: apply_fun g0 x R.
An exact proof term for the current goal is (continuous_map_function_on X Tx R R_standard_topology g0 Hg0contR x HxX).
rewrite the current goal using (compose_fun_apply A g0 neg_fun x HxA) (from left to right) at position 1.
rewrite the current goal using (neg_fun_apply (apply_fun g0 x) Hg0xR) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hhimg: apply_fun h x setprod R R.
An exact proof term for the current goal is (continuous_map_function_on A Ta (setprod R R) (product_topology R R_standard_topology R R_standard_topology) h Hhcont x HxA).
We prove the intermediate claim Happ: apply_fun f1c x = apply_fun add_fun_R (apply_fun h x).
An exact proof term for the current goal is (compose_fun_apply A h add_fun_R x HxA).
We prove the intermediate claim Hadd: apply_fun add_fun_R (apply_fun h x) = add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x)).
rewrite the current goal using (add_fun_R_apply (apply_fun h x) Hhimg) (from left to right) at position 1.
rewrite the current goal using Hhx (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun f x) (apply_fun g0neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun f x) (apply_fun g0neg x)) (from left to right).
rewrite the current goal using Hg0negx (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hadd (from right to left).
An exact proof term for the current goal is (ReplI A (λx0 : set(x0,apply_fun add_fun_R (apply_fun h x0))) x HxA).
Let p be given.
Assume Hp: p f1c.
We will prove p f1.
Apply (ReplE_impred A (λx0 : set(x0,apply_fun add_fun_R (apply_fun h x0))) p Hp (p f1)) to the current goal.
Let x be given.
Assume HxA: x A.
Assume Hpeq: p = (x,apply_fun add_fun_R (apply_fun h x)).
rewrite the current goal using Hpeq (from left to right).
We prove the intermediate claim Hhx: apply_fun h x = (apply_fun f x,apply_fun g0neg x).
An exact proof term for the current goal is (pair_map_apply A R R f g0neg x HxA).
We prove the intermediate claim Hg0xR: apply_fun g0 x R.
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
An exact proof term for the current goal is (continuous_map_function_on X Tx R R_standard_topology g0 Hg0contR x HxX).
We prove the intermediate claim Hg0negx: apply_fun g0neg x = minus_SNo (apply_fun g0 x).
rewrite the current goal using (compose_fun_apply A g0 neg_fun x HxA) (from left to right) at position 1.
rewrite the current goal using (neg_fun_apply (apply_fun g0 x) Hg0xR) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hadd: apply_fun add_fun_R (apply_fun h x) = add_SNo (apply_fun f x) (minus_SNo (apply_fun g0 x)).
We prove the intermediate claim Hhimg: apply_fun h x setprod R R.
An exact proof term for the current goal is (continuous_map_function_on A Ta (setprod R R) (product_topology R R_standard_topology R R_standard_topology) h Hhcont x HxA).
rewrite the current goal using (add_fun_R_apply (apply_fun h x) Hhimg) (from left to right) at position 1.
rewrite the current goal using Hhx (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun f x) (apply_fun g0neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun f x) (apply_fun g0neg x)) (from left to right).
rewrite the current goal using Hg0negx (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hadd (from left to right).
An exact proof term for the current goal is (ReplI A (λx0 : set(x0,add_SNo (apply_fun f x0) (minus_SNo (apply_fun g0 x0)))) x HxA).
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is Hf1c_cont.
We prove the intermediate claim Hf1s_cont_R: continuous_map A (subspace_topology X Tx A) R R_standard_topology f1s.
An exact proof term for the current goal is (composition_continuous A (subspace_topology X Tx A) R R_standard_topology R R_standard_topology f1 (div_const_fun den) Hf1cont Hdivcont).
We prove the intermediate claim HISubR: I R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1).
We prove the intermediate claim HTiEq: Ti = subspace_topology R R_standard_topology I.
Use reflexivity.
rewrite the current goal using HTiEq (from left to right).
An exact proof term for the current goal is (continuous_map_range_restrict A (subspace_topology X Tx A) R R_standard_topology f1s I Hf1s_cont_R HISubR Hf1s_I).
We prove the intermediate claim Hex_u1: ∃u1 : set, continuous_map X Tx (closed_interval (minus_SNo one_third) one_third) (closed_interval_topology (minus_SNo one_third) one_third) u1 (∀x : set, x preimage_of A f1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u1 x = minus_SNo one_third) (∀x : set, x preimage_of A f1s ((closed_interval one_third 1) I)apply_fun u1 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A f1s Hnorm HA Hf1s_cont).
Apply Hex_u1 to the current goal.
Let u1 be given.
Assume Hu1.
Set I0 to be the term closed_interval (minus_SNo one_third) one_third.
Set T0 to be the term closed_interval_topology (minus_SNo one_third) one_third.
We prove the intermediate claim Hu1AB: continuous_map X Tx I0 T0 u1 (∀x : set, x preimage_of A f1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u1 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u1 (∀x : set, x preimage_of A f1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u1 x = minus_SNo one_third)) (∀x : set, x preimage_of A f1s ((closed_interval one_third 1) I)apply_fun u1 x = one_third) Hu1).
We prove the intermediate claim Hu1contI0: continuous_map X Tx I0 T0 u1.
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u1) (∀x : set, x preimage_of A f1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u1 x = minus_SNo one_third) Hu1AB).
We prove the intermediate claim Hu1contR: continuous_map X Tx R R_standard_topology u1.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u1 Hu1contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den to be the term two_thirds.
Set u1s to be the term compose_fun X u1 (mul_const_fun den).
We prove the intermediate claim HdenR: den R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim HdenPos: 0 < den.
An exact proof term for the current goal is two_thirds_pos.
We prove the intermediate claim HmulCont: continuous_map R R_standard_topology R R_standard_topology (mul_const_fun den).
An exact proof term for the current goal is (mul_const_fun_continuous_pos den HdenR HdenPos).
We prove the intermediate claim Hu1s_cont: continuous_map X Tx R R_standard_topology u1s.
An exact proof term for the current goal is (composition_continuous X Tx R R_standard_topology R R_standard_topology u1 (mul_const_fun den) Hu1contR HmulCont).
Set h1 to be the term pair_map X g0 u1s.
We prove the intermediate claim Hh1cont: continuous_map X Tx (setprod R R) (product_topology R R_standard_topology R R_standard_topology) h1.
An exact proof term for the current goal is (maps_into_products_axiom X Tx R R_standard_topology R R_standard_topology g0 u1s Hg0contR Hu1s_cont).
We prove the intermediate claim Haddcont: continuous_map (setprod R R) (product_topology R R_standard_topology R R_standard_topology) R R_standard_topology add_fun_R.
An exact proof term for the current goal is add_fun_R_continuous.
Set g1 to be the term compose_fun X h1 add_fun_R.
We prove the intermediate claim Hg1cont: continuous_map X Tx R R_standard_topology g1.
An exact proof term for the current goal is (composition_continuous X Tx (setprod R R) (product_topology R R_standard_topology R R_standard_topology) R R_standard_topology h1 add_fun_R Hh1cont Haddcont).
Set Ta to be the term subspace_topology X Tx A.
We prove the intermediate claim HTa: topology_on A Ta.
An exact proof term for the current goal is (subspace_topology_is_topology X Tx A HTx HAsubX).
We prove the intermediate claim HIcR: I R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1).
We prove the intermediate claim HTiEq: Ti = subspace_topology R R_standard_topology I.
Use reflexivity.
We prove the intermediate claim Hf1s_contR: continuous_map A Ta R R_standard_topology f1s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology f1s Hf1s_cont HIcR R_standard_topology_is_topology_local HTiEq).
We prove the intermediate claim Hu1contA: continuous_map A Ta R R_standard_topology u1.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u1 A HTx HAsubX Hu1contR).
We prove the intermediate claim Hnegcont: continuous_map R R_standard_topology R R_standard_topology neg_fun.
An exact proof term for the current goal is neg_fun_continuous.
Set u1neg to be the term compose_fun A u1 neg_fun.
We prove the intermediate claim Hu1neg_cont: continuous_map A Ta R R_standard_topology u1neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u1 neg_fun Hu1contA Hnegcont).
Set r1 to be the term compose_fun A (pair_map A f1s u1neg) add_fun_R.
We prove the intermediate claim Hr1_cont: continuous_map A Ta R R_standard_topology r1.
An exact proof term for the current goal is (add_two_continuous_R A Ta f1s u1neg HTa Hf1s_contR Hu1neg_cont).
We prove the intermediate claim Hr1_apply: ∀x : set, x Aapply_fun r1 x = add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A f1s u1neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R f1s u1neg x HxA) (from left to right).
We prove the intermediate claim Hf1sRx: apply_fun f1s x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology f1s Hf1s_contR x HxA).
We prove the intermediate claim Hu1negRx: apply_fun u1neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u1neg Hu1neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun f1s x) (apply_fun u1neg x) Hf1sRx Hu1negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A f1s u1neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A f1s u1neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R f1s u1neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun f1s x) (apply_fun u1neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun f1s x) (apply_fun u1neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u1 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu1Rx: apply_fun u1 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u1 Hu1contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u1 x) Hu1Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hu1_on_B1: ∀x : set, x preimage_of A f1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u1 x = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u1) (∀x : set, x preimage_of A f1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u1 x = minus_SNo one_third) Hu1AB).
We prove the intermediate claim Hu1_on_C1: ∀x : set, x preimage_of A f1s ((closed_interval one_third 1) I)apply_fun u1 x = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u1 (∀x : set, x preimage_of A f1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u1 x = minus_SNo one_third)) (∀x : set, x preimage_of A f1s ((closed_interval one_third 1) I)apply_fun u1 x = one_third) Hu1).
We prove the intermediate claim Hr1_range: ∀x : set, x Aapply_fun r1 x I2.
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B1 to be the term preimage_of A f1s (I1 I).
Set C1 to be the term preimage_of A f1s (I3 I).
We prove the intermediate claim Hf1sIx: apply_fun f1s x I.
An exact proof term for the current goal is (Hf1s_I x HxA).
We prove the intermediate claim HB1_cases: x B1 ¬ (x B1).
An exact proof term for the current goal is (xm (x B1)).
Apply (HB1_cases (apply_fun r1 x I2)) to the current goal.
Assume HxB1: x B1.
We prove the intermediate claim Hu1eq: apply_fun u1 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu1_on_B1 x HxB1).
We prove the intermediate claim Hr1eq: apply_fun r1 x = add_SNo (apply_fun f1s x) one_third.
rewrite the current goal using (Hr1_apply x HxA) (from left to right).
rewrite the current goal using Hu1eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr1eq (from left to right).
We prove the intermediate claim Hf1sI1I: apply_fun f1s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun f1s x0 I1 I) x HxB1).
We prove the intermediate claim Hf1sI1: apply_fun f1s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun f1s x) Hf1sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hf1sRx: apply_fun f1s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun f1s x) Hf1sI1).
We prove the intermediate claim Hf1s_bounds: Rle (minus_SNo 1) (apply_fun f1s x) Rle (apply_fun f1s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun f1s x) Hm1R Hm13R Hf1sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun f1s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun f1s x)) (Rle (apply_fun f1s x) (minus_SNo one_third)) Hf1s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun f1s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun f1s x)) (Rle (apply_fun f1s x) (minus_SNo one_third)) Hf1s_bounds).
We prove the intermediate claim Hr1Rx: add_SNo (apply_fun f1s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun f1s x) Hf1sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun f1s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun f1s x) one_third Hm1R Hf1sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun f1s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun f1s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun f1s x) (minus_SNo one_third) one_third Hf1sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun f1s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun f1s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun f1s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun f1s x) one_third) Hm23R H23R Hr1Rx Hlow Hup).
Assume HxnotB1: ¬ (x B1).
We prove the intermediate claim HC1_cases: x C1 ¬ (x C1).
An exact proof term for the current goal is (xm (x C1)).
Apply (HC1_cases (apply_fun r1 x I2)) to the current goal.
Assume HxC1: x C1.
We prove the intermediate claim Hu1eq: apply_fun u1 x = one_third.
An exact proof term for the current goal is (Hu1_on_C1 x HxC1).
We prove the intermediate claim Hr1eq: apply_fun r1 x = add_SNo (apply_fun f1s x) (minus_SNo one_third).
rewrite the current goal using (Hr1_apply x HxA) (from left to right).
rewrite the current goal using Hu1eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr1eq (from left to right).
We prove the intermediate claim Hf1sI3I: apply_fun f1s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun f1s x0 I3 I) x HxC1).
We prove the intermediate claim Hf1sI3: apply_fun f1s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun f1s x) Hf1sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hf1sRx: apply_fun f1s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun f1s x) Hf1sI3).
We prove the intermediate claim Hf1s_bounds: Rle one_third (apply_fun f1s x) Rle (apply_fun f1s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun f1s x) H13R real_1 Hf1sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun f1s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun f1s x)) (Rle (apply_fun f1s x) 1) Hf1s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun f1s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun f1s x)) (Rle (apply_fun f1s x) 1) Hf1s_bounds).
We prove the intermediate claim Hr1Rx: add_SNo (apply_fun f1s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun f1s x) Hf1sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun f1s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun f1s x) (minus_SNo one_third) H13R Hf1sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun f1s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun f1s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun f1s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun f1s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun f1s x) 1 (minus_SNo one_third) Hf1sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun f1s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun f1s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun f1s x) (minus_SNo one_third)) Hm23R H23R Hr1Rx Hlow Hup).
Assume HxnotC1: ¬ (x C1).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun f1s x I1).
Assume Hf1sI1': apply_fun f1s x I1.
We prove the intermediate claim Hf1sI1I: apply_fun f1s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun f1s x) Hf1sI1' Hf1sIx).
We prove the intermediate claim HxB1': x B1.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun f1s x0 I1 I) x HxA Hf1sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB1 HxB1').
We prove the intermediate claim HnotI3: ¬ (apply_fun f1s x I3).
Assume Hf1sI3': apply_fun f1s x I3.
We prove the intermediate claim Hf1sI3I: apply_fun f1s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun f1s x) Hf1sI3' Hf1sIx).
We prove the intermediate claim HxC1': x C1.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun f1s x0 I3 I) x HxA Hf1sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC1 HxC1').
We prove the intermediate claim Hf1sRx: apply_fun f1s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun f1s x) Hf1sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hf1s_boundsI: Rle (minus_SNo 1) (apply_fun f1s x) Rle (apply_fun f1s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun f1s x) Hm1R real_1 Hf1sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun f1s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun f1s x) (andEL (Rle (minus_SNo 1) (apply_fun f1s x)) (Rle (apply_fun f1s x) 1) Hf1s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun f1s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun f1s x) 1 (andER (Rle (minus_SNo 1) (apply_fun f1s x)) (Rle (apply_fun f1s x) 1) Hf1s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun f1s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun f1s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun f1s x) Hm1R Hm13R Hf1sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun f1s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun f1s x))) to the current goal.
Assume Hbad: Rlt (apply_fun f1s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun f1s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun f1s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun f1s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun f1s x) one_third Rlt 1 (apply_fun f1s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun f1s x) H13R real_1 Hf1sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun f1s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun f1s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun f1s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun f1s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun f1s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun f1s x) one_third Hfx_lt_13).
We prove the intermediate claim Hf1sI0: apply_fun f1s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun f1s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun f1s x) Hf1sRx (andI (¬ (Rlt (apply_fun f1s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun f1s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu1funI0: function_on u1 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u1 Hu1contI0).
We prove the intermediate claim Hu1xI0: apply_fun u1 x I0.
An exact proof term for the current goal is (Hu1funI0 x HxX).
We prove the intermediate claim Hu1xR: apply_fun u1 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u1 x) Hu1xI0).
We prove the intermediate claim Hm_u1x_R: minus_SNo (apply_fun u1 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u1 x) Hu1xR).
rewrite the current goal using (Hr1_apply x HxA) (from left to right).
We prove the intermediate claim Hr1xR: add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun f1s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun f1s x) Hf1sI0) (minus_SNo (apply_fun u1 x)) Hm_u1x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hf1s_bounds0: Rle (minus_SNo one_third) (apply_fun f1s x) Rle (apply_fun f1s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun f1s x) Hm13R H13R Hf1sI0).
We prove the intermediate claim Hu1_bounds0: Rle (minus_SNo one_third) (apply_fun u1 x) Rle (apply_fun u1 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u1 x) Hm13R H13R Hu1xI0).
We prove the intermediate claim Hm13_le_f1s: Rle (minus_SNo one_third) (apply_fun f1s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun f1s x)) (Rle (apply_fun f1s x) one_third) Hf1s_bounds0).
We prove the intermediate claim Hf1s_le_13: Rle (apply_fun f1s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun f1s x)) (Rle (apply_fun f1s x) one_third) Hf1s_bounds0).
We prove the intermediate claim Hm13_le_u1x: Rle (minus_SNo one_third) (apply_fun u1 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u1 x)) (Rle (apply_fun u1 x) one_third) Hu1_bounds0).
We prove the intermediate claim Hu1x_le_13: Rle (apply_fun u1 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u1 x)) (Rle (apply_fun u1 x) one_third) Hu1_bounds0).
We prove the intermediate claim Hm13_le_mu1: Rle (minus_SNo one_third) (minus_SNo (apply_fun u1 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u1 x) one_third Hu1x_le_13).
We prove the intermediate claim Hmu1_le_13: Rle (minus_SNo (apply_fun u1 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u1 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u1 x) Hm13_le_u1x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u1 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u1 x)) Hm13R Hm13R Hm_u1x_R Hm13_le_mu1).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u1 x))) (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun f1s x) (minus_SNo (apply_fun u1 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun f1s x) Hf1sI0) Hm_u1x_R Hm13_le_f1s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u1 x))) (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))) (add_SNo (apply_fun f1s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun f1s x) (minus_SNo (apply_fun u1 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun f1s x) Hf1sI0) Hm_u1x_R H13R Hmu1_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun f1s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun f1s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun f1s x) Hf1sI0) H13R H13R Hf1s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))) (add_SNo (apply_fun f1s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun f1s x) (minus_SNo (apply_fun u1 x))) Hm23R H23R Hr1xR Hlow Hup).
Set r1s to be the term compose_fun A r1 (div_const_fun den).
We prove the intermediate claim Hr1s_cont: continuous_map A Ta I Ti r1s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr1s_contR: continuous_map A Ta R R_standard_topology r1s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r1 (div_const_fun den) Hr1_cont Hdivcont).
We prove the intermediate claim Hr1s_I: ∀x : set, x Aapply_fun r1s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr1xI2: apply_fun r1 x I2.
An exact proof term for the current goal is (Hr1_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr1xR: apply_fun r1 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r1 x) Hr1xI2).
We prove the intermediate claim Hr1xS: SNo (apply_fun r1 x).
An exact proof term for the current goal is (real_SNo (apply_fun r1 x) Hr1xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r1 x) Rle (apply_fun r1 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r1 x) HmdenR H23R Hr1xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r1 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r1 x)) (Rle (apply_fun r1 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r1 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r1 x)) (Rle (apply_fun r1 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r1 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r1 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r1 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r1 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r1s x = div_SNo (apply_fun r1 x) den.
rewrite the current goal using (compose_fun_apply A r1 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r1 x) H23R Hr1xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r1s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r1 x) Hr1xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r1s x).
An exact proof term for the current goal is (real_SNo (apply_fun r1s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r1s x) 1.
Apply (RleI (apply_fun r1s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r1s x)).
Assume H1lt: Rlt 1 (apply_fun r1s x).
We prove the intermediate claim H1lty: 1 < apply_fun r1s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r1s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r1s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r1s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r1s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r1s x) den = apply_fun r1 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r1 x) den Hr1xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r1x: den < apply_fun r1 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r1 x).
An exact proof term for the current goal is (RltI den (apply_fun r1 x) H23R Hr1xR Hden_lt_r1x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r1s x).
Apply (RleI (minus_SNo 1) (apply_fun r1s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r1s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r1s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r1s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r1s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r1s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r1s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r1s x) den = apply_fun r1 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r1 x) den Hr1xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr1x_lt_mden: apply_fun r1 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r1 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r1 x) (minus_SNo den) Hr1xR HmdenR Hr1x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r1s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
We will prove continuous_map A Ta I Ti r1s.
rewrite the current goal using HTiEq (from left to right).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r1s I Hr1s_contR HIcR Hr1s_I).
We prove the intermediate claim Hex_u2: ∃u2 : set, continuous_map X Tx I0 T0 u2 (∀x : set, x preimage_of A r1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u2 x = minus_SNo one_third) (∀x : set, x preimage_of A r1s ((closed_interval one_third 1) I)apply_fun u2 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r1s Hnorm HA Hr1s_cont).
Apply Hex_u2 to the current goal.
Let u2 be given.
Assume Hu2.
We prove the intermediate claim Hu2AB: continuous_map X Tx I0 T0 u2 (∀x : set, x preimage_of A r1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u2 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u2 (∀x : set, x preimage_of A r1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u2 x = minus_SNo one_third)) (∀x : set, x preimage_of A r1s ((closed_interval one_third 1) I)apply_fun u2 x = one_third) Hu2).
We prove the intermediate claim Hu2contI0: continuous_map X Tx I0 T0 u2.
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u2) (∀x : set, x preimage_of A r1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u2 x = minus_SNo one_third) Hu2AB).
We prove the intermediate claim Hu2contR: continuous_map X Tx R R_standard_topology u2.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u2 Hu2contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den2 to be the term mul_SNo den den.
We prove the intermediate claim Hden2R: den2 R.
An exact proof term for the current goal is (real_mul_SNo den HdenR den HdenR).
We prove the intermediate claim Hden2pos: 0 < den2.
An exact proof term for the current goal is (mul_SNo_pos_pos den den H23S H23S HdenPos HdenPos).
Set u2s to be the term compose_fun X u2 (mul_const_fun den2).
We prove the intermediate claim Hu2s_cont: continuous_map X Tx R R_standard_topology u2s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u2 den2 HTx Hu2contR Hden2R Hden2pos).
Set g2 to be the term compose_fun X (pair_map X g1 u2s) add_fun_R.
We prove the intermediate claim Hg2cont: continuous_map X Tx R R_standard_topology g2.
An exact proof term for the current goal is (add_two_continuous_R X Tx g1 u2s HTx Hg1cont Hu2s_cont).
We prove the intermediate claim Hu2contA: continuous_map A Ta R R_standard_topology u2.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u2 A HTx HAsubX Hu2contR).
Set u2neg to be the term compose_fun A u2 neg_fun.
We prove the intermediate claim Hu2neg_cont: continuous_map A Ta R R_standard_topology u2neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u2 neg_fun Hu2contA Hnegcont).
We prove the intermediate claim Hr1s_contR: continuous_map A Ta R R_standard_topology r1s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r1s Hr1s_cont HIcR R_standard_topology_is_topology_local HTiEq).
Set r2 to be the term compose_fun A (pair_map A r1s u2neg) add_fun_R.
We prove the intermediate claim Hr2_cont: continuous_map A Ta R R_standard_topology r2.
An exact proof term for the current goal is (add_two_continuous_R A Ta r1s u2neg HTa Hr1s_contR Hu2neg_cont).
We prove the intermediate claim Hr2_apply: ∀x : set, x Aapply_fun r2 x = add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r1s u2neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r1s u2neg x HxA) (from left to right).
We prove the intermediate claim Hr1sRx: apply_fun r1s x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology r1s Hr1s_contR x HxA).
We prove the intermediate claim Hu2negRx: apply_fun u2neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u2neg Hu2neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r1s x) (apply_fun u2neg x) Hr1sRx Hu2negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r1s u2neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r1s u2neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r1s u2neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r1s x) (apply_fun u2neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r1s x) (apply_fun u2neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u2 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu2Rx: apply_fun u2 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u2 Hu2contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u2 x) Hu2Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr2_range: ∀x : set, x Aapply_fun r2 x I2.
We prove the intermediate claim Hu2_on_B2: ∀x : set, x preimage_of A r1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u2 x = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u2) (∀x : set, x preimage_of A r1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u2 x = minus_SNo one_third) Hu2AB).
We prove the intermediate claim Hu2_on_C2: ∀x : set, x preimage_of A r1s ((closed_interval one_third 1) I)apply_fun u2 x = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u2 (∀x : set, x preimage_of A r1s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u2 x = minus_SNo one_third)) (∀x : set, x preimage_of A r1s ((closed_interval one_third 1) I)apply_fun u2 x = one_third) Hu2).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B2 to be the term preimage_of A r1s (I1 I).
Set C2 to be the term preimage_of A r1s (I3 I).
We prove the intermediate claim Hr1sIx: apply_fun r1s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r1s Hr1s_cont x HxA).
We prove the intermediate claim HB2_cases: x B2 ¬ (x B2).
An exact proof term for the current goal is (xm (x B2)).
Apply (HB2_cases (apply_fun r2 x I2)) to the current goal.
Assume HxB2: x B2.
We prove the intermediate claim Hu2eq: apply_fun u2 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu2_on_B2 x HxB2).
We prove the intermediate claim Hr2eq: apply_fun r2 x = add_SNo (apply_fun r1s x) one_third.
rewrite the current goal using (Hr2_apply x HxA) (from left to right).
rewrite the current goal using Hu2eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr2eq (from left to right).
We prove the intermediate claim Hr1sI1I: apply_fun r1s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r1s x0 I1 I) x HxB2).
We prove the intermediate claim Hr1sI1: apply_fun r1s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r1s x) Hr1sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr1sRx: apply_fun r1s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r1s x) Hr1sI1).
We prove the intermediate claim Hr1s_bounds: Rle (minus_SNo 1) (apply_fun r1s x) Rle (apply_fun r1s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r1s x) Hm1R Hm13R Hr1sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r1s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r1s x)) (Rle (apply_fun r1s x) (minus_SNo one_third)) Hr1s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r1s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r1s x)) (Rle (apply_fun r1s x) (minus_SNo one_third)) Hr1s_bounds).
We prove the intermediate claim Hr2Rx: add_SNo (apply_fun r1s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r1s x) Hr1sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r1s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r1s x) one_third Hm1R Hr1sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r1s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r1s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r1s x) (minus_SNo one_third) one_third Hr1sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r1s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r1s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r1s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r1s x) one_third) Hm23R H23R Hr2Rx Hlow Hup).
Assume HxnotB2: ¬ (x B2).
We prove the intermediate claim HC2_cases: x C2 ¬ (x C2).
An exact proof term for the current goal is (xm (x C2)).
Apply (HC2_cases (apply_fun r2 x I2)) to the current goal.
Assume HxC2: x C2.
We prove the intermediate claim Hu2eq: apply_fun u2 x = one_third.
An exact proof term for the current goal is (Hu2_on_C2 x HxC2).
We prove the intermediate claim Hr2eq: apply_fun r2 x = add_SNo (apply_fun r1s x) (minus_SNo one_third).
rewrite the current goal using (Hr2_apply x HxA) (from left to right).
rewrite the current goal using Hu2eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr2eq (from left to right).
We prove the intermediate claim Hr1sI3I: apply_fun r1s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r1s x0 I3 I) x HxC2).
We prove the intermediate claim Hr1sI3: apply_fun r1s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r1s x) Hr1sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr1sRx: apply_fun r1s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r1s x) Hr1sI3).
We prove the intermediate claim Hr1s_bounds: Rle one_third (apply_fun r1s x) Rle (apply_fun r1s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r1s x) H13R real_1 Hr1sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r1s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r1s x)) (Rle (apply_fun r1s x) 1) Hr1s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r1s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r1s x)) (Rle (apply_fun r1s x) 1) Hr1s_bounds).
We prove the intermediate claim Hr2Rx: add_SNo (apply_fun r1s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r1s x) Hr1sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r1s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r1s x) (minus_SNo one_third) H13R Hr1sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r1s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r1s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r1s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r1s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r1s x) 1 (minus_SNo one_third) Hr1sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r1s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r1s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r1s x) (minus_SNo one_third)) Hm23R H23R Hr2Rx Hlow Hup).
Assume HxnotC2: ¬ (x C2).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r1s x I1).
Assume Hr1sI1': apply_fun r1s x I1.
We prove the intermediate claim Hr1sI1I: apply_fun r1s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r1s x) Hr1sI1' Hr1sIx).
We prove the intermediate claim HxB2': x B2.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r1s x0 I1 I) x HxA Hr1sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB2 HxB2').
We prove the intermediate claim HnotI3: ¬ (apply_fun r1s x I3).
Assume Hr1sI3': apply_fun r1s x I3.
We prove the intermediate claim Hr1sI3I: apply_fun r1s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r1s x) Hr1sI3' Hr1sIx).
We prove the intermediate claim HxC2': x C2.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r1s x0 I3 I) x HxA Hr1sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC2 HxC2').
We prove the intermediate claim Hr1sRx: apply_fun r1s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r1s x) Hr1sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr1s_boundsI: Rle (minus_SNo 1) (apply_fun r1s x) Rle (apply_fun r1s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r1s x) Hm1R real_1 Hr1sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r1s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r1s x) (andEL (Rle (minus_SNo 1) (apply_fun r1s x)) (Rle (apply_fun r1s x) 1) Hr1s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r1s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r1s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r1s x)) (Rle (apply_fun r1s x) 1) Hr1s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r1s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r1s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r1s x) Hm1R Hm13R Hr1sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r1s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r1s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r1s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r1s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r1s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r1s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r1s x) one_third Rlt 1 (apply_fun r1s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r1s x) H13R real_1 Hr1sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r1s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r1s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r1s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r1s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r1s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r1s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr1sI0: apply_fun r1s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r1s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r1s x) Hr1sRx (andI (¬ (Rlt (apply_fun r1s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r1s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu2funI0: function_on u2 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u2 Hu2contI0).
We prove the intermediate claim Hu2xI0: apply_fun u2 x I0.
An exact proof term for the current goal is (Hu2funI0 x HxX).
We prove the intermediate claim Hu2xR: apply_fun u2 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u2 x) Hu2xI0).
We prove the intermediate claim Hm_u2x_R: minus_SNo (apply_fun u2 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u2 x) Hu2xR).
rewrite the current goal using (Hr2_apply x HxA) (from left to right).
We prove the intermediate claim Hr2xR: add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r1s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r1s x) Hr1sI0) (minus_SNo (apply_fun u2 x)) Hm_u2x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr1s_bounds0: Rle (minus_SNo one_third) (apply_fun r1s x) Rle (apply_fun r1s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r1s x) Hm13R H13R Hr1sI0).
We prove the intermediate claim Hu2_bounds0: Rle (minus_SNo one_third) (apply_fun u2 x) Rle (apply_fun u2 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u2 x) Hm13R H13R Hu2xI0).
We prove the intermediate claim Hm13_le_r1s: Rle (minus_SNo one_third) (apply_fun r1s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r1s x)) (Rle (apply_fun r1s x) one_third) Hr1s_bounds0).
We prove the intermediate claim Hr1s_le_13: Rle (apply_fun r1s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r1s x)) (Rle (apply_fun r1s x) one_third) Hr1s_bounds0).
We prove the intermediate claim Hm13_le_u2x: Rle (minus_SNo one_third) (apply_fun u2 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u2 x)) (Rle (apply_fun u2 x) one_third) Hu2_bounds0).
We prove the intermediate claim Hu2x_le_13: Rle (apply_fun u2 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u2 x)) (Rle (apply_fun u2 x) one_third) Hu2_bounds0).
We prove the intermediate claim Hm13_le_mu2: Rle (minus_SNo one_third) (minus_SNo (apply_fun u2 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u2 x) one_third Hu2x_le_13).
We prove the intermediate claim Hmu2_le_13: Rle (minus_SNo (apply_fun u2 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u2 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u2 x) Hm13_le_u2x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u2 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u2 x)) Hm13R Hm13R Hm_u2x_R Hm13_le_mu2).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u2 x))) (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r1s x) (minus_SNo (apply_fun u2 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r1s x) Hr1sI0) Hm_u2x_R Hm13_le_r1s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u2 x))) (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))) (add_SNo (apply_fun r1s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r1s x) (minus_SNo (apply_fun u2 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r1s x) Hr1sI0) Hm_u2x_R H13R Hmu2_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r1s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r1s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r1s x) Hr1sI0) H13R H13R Hr1s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))) (add_SNo (apply_fun r1s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))) two_thirds.
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
rewrite the current goal using Hdef23 (from left to right).
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r1s x) (minus_SNo (apply_fun u2 x))) Hm23R H23R Hr2xR Hlow Hup).
Set r2s to be the term compose_fun A r2 (div_const_fun den).
We prove the intermediate claim Hr2s_cont: continuous_map A Ta I Ti r2s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr2s_contR: continuous_map A Ta R R_standard_topology r2s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r2 (div_const_fun den) Hr2_cont Hdivcont).
We prove the intermediate claim Hr2s_I: ∀x : set, x Aapply_fun r2s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr2xI2: apply_fun r2 x I2.
An exact proof term for the current goal is (Hr2_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr2xR: apply_fun r2 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r2 x) Hr2xI2).
We prove the intermediate claim Hr2xS: SNo (apply_fun r2 x).
An exact proof term for the current goal is (real_SNo (apply_fun r2 x) Hr2xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r2 x) Rle (apply_fun r2 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r2 x) HmdenR H23R Hr2xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r2 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r2 x)) (Rle (apply_fun r2 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r2 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r2 x)) (Rle (apply_fun r2 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r2 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r2 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r2 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r2 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r2s x = div_SNo (apply_fun r2 x) den.
rewrite the current goal using (compose_fun_apply A r2 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r2 x) H23R Hr2xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r2s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r2 x) Hr2xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r2s x).
An exact proof term for the current goal is (real_SNo (apply_fun r2s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r2s x) 1.
Apply (RleI (apply_fun r2s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r2s x)).
Assume H1lt: Rlt 1 (apply_fun r2s x).
We prove the intermediate claim H1lty: 1 < apply_fun r2s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r2s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r2s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r2s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r2s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r2s x) den = apply_fun r2 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r2 x) den Hr2xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r2x: den < apply_fun r2 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r2 x).
An exact proof term for the current goal is (RltI den (apply_fun r2 x) H23R Hr2xR Hden_lt_r2x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r2s x).
Apply (RleI (minus_SNo 1) (apply_fun r2s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r2s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r2s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r2s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r2s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r2s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r2s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r2s x) den = apply_fun r2 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r2 x) den Hr2xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr2x_lt_mden: apply_fun r2 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r2 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r2 x) (minus_SNo den) Hr2xR HmdenR Hr2x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r2s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r2s I Hr2s_contR HIcR Hr2s_I).
We prove the intermediate claim Hex_u3: ∃u3 : set, continuous_map X Tx I0 T0 u3 (∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third) (∀x : set, x preimage_of A r2s ((closed_interval one_third 1) I)apply_fun u3 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r2s Hnorm HA Hr2s_cont).
Apply Hex_u3 to the current goal.
Let u3 be given.
Assume Hu3.
We prove the intermediate claim Hu3contI0: continuous_map X Tx I0 T0 u3.
We prove the intermediate claim Hu3AB: continuous_map X Tx I0 T0 u3 (∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u3 (∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third)) (∀x : set, x preimage_of A r2s ((closed_interval one_third 1) I)apply_fun u3 x = one_third) Hu3).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u3) (∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third) Hu3AB).
We prove the intermediate claim Hu3contR: continuous_map X Tx R R_standard_topology u3.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u3 Hu3contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den3 to be the term mul_SNo den2 den.
We prove the intermediate claim Hden3R: den3 R.
An exact proof term for the current goal is (real_mul_SNo den2 Hden2R den HdenR).
We prove the intermediate claim Hden3pos: 0 < den3.
We prove the intermediate claim Hden2S: SNo den2.
An exact proof term for the current goal is (real_SNo den2 Hden2R).
An exact proof term for the current goal is (mul_SNo_pos_pos den2 den Hden2S H23S Hden2pos HdenPos).
Set u3s to be the term compose_fun X u3 (mul_const_fun den3).
We prove the intermediate claim Hu3s_cont: continuous_map X Tx R R_standard_topology u3s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u3 den3 HTx Hu3contR Hden3R Hden3pos).
Set g3 to be the term compose_fun X (pair_map X g2 u3s) add_fun_R.
We prove the intermediate claim Hg3cont: continuous_map X Tx R R_standard_topology g3.
An exact proof term for the current goal is (add_two_continuous_R X Tx g2 u3s HTx Hg2cont Hu3s_cont).
We prove the intermediate claim Hu3contA: continuous_map A Ta R R_standard_topology u3.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u3 A HTx HAsubX Hu3contR).
Set u3neg to be the term compose_fun A u3 neg_fun.
We prove the intermediate claim Hu3neg_cont: continuous_map A Ta R R_standard_topology u3neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u3 neg_fun Hu3contA Hnegcont).
We prove the intermediate claim Hr2s_contR: continuous_map A Ta R R_standard_topology r2s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r2s Hr2s_cont HIcR R_standard_topology_is_topology_local HTiEq).
Set r3 to be the term compose_fun A (pair_map A r2s u3neg) add_fun_R.
We prove the intermediate claim Hr3_cont: continuous_map A Ta R R_standard_topology r3.
An exact proof term for the current goal is (add_two_continuous_R A Ta r2s u3neg HTa Hr2s_contR Hu3neg_cont).
We prove the intermediate claim Hr3_apply: ∀x : set, x Aapply_fun r3 x = add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r2s u3neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r2s u3neg x HxA) (from left to right).
We prove the intermediate claim Hr2sRx: apply_fun r2s x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology r2s Hr2s_contR x HxA).
We prove the intermediate claim Hu3negRx: apply_fun u3neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u3neg Hu3neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r2s x) (apply_fun u3neg x) Hr2sRx Hu3negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r2s u3neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r2s u3neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r2s u3neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r2s x) (apply_fun u3neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r2s x) (apply_fun u3neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u3 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu3Rx: apply_fun u3 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u3 Hu3contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u3 x) Hu3Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr3_range: ∀x : set, x Aapply_fun r3 x I2.
We prove the intermediate claim Hu3AB: continuous_map X Tx I0 T0 u3 (∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u3 (∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third)) (∀x : set, x preimage_of A r2s ((closed_interval one_third 1) I)apply_fun u3 x = one_third) Hu3).
We prove the intermediate claim Hu3_on_B3: ∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u3) (∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third) Hu3AB).
We prove the intermediate claim Hu3_on_C3: ∀x : set, x preimage_of A r2s ((closed_interval one_third 1) I)apply_fun u3 x = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u3 (∀x : set, x preimage_of A r2s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u3 x = minus_SNo one_third)) (∀x : set, x preimage_of A r2s ((closed_interval one_third 1) I)apply_fun u3 x = one_third) Hu3).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B3 to be the term preimage_of A r2s (I1 I).
Set C3 to be the term preimage_of A r2s (I3 I).
We prove the intermediate claim Hr2sIx: apply_fun r2s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r2s Hr2s_cont x HxA).
We prove the intermediate claim HB3_cases: x B3 ¬ (x B3).
An exact proof term for the current goal is (xm (x B3)).
Apply (HB3_cases (apply_fun r3 x I2)) to the current goal.
Assume HxB3: x B3.
We prove the intermediate claim Hu3eq: apply_fun u3 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu3_on_B3 x HxB3).
We prove the intermediate claim Hr3eq: apply_fun r3 x = add_SNo (apply_fun r2s x) one_third.
rewrite the current goal using (Hr3_apply x HxA) (from left to right).
rewrite the current goal using Hu3eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr3eq (from left to right).
We prove the intermediate claim Hr2sI1I: apply_fun r2s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r2s x0 I1 I) x HxB3).
We prove the intermediate claim Hr2sI1: apply_fun r2s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r2s x) Hr2sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr2sRx: apply_fun r2s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r2s x) Hr2sI1).
We prove the intermediate claim Hr2s_bounds: Rle (minus_SNo 1) (apply_fun r2s x) Rle (apply_fun r2s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r2s x) Hm1R Hm13R Hr2sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r2s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r2s x)) (Rle (apply_fun r2s x) (minus_SNo one_third)) Hr2s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r2s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r2s x)) (Rle (apply_fun r2s x) (minus_SNo one_third)) Hr2s_bounds).
We prove the intermediate claim Hr3Rx: add_SNo (apply_fun r2s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r2s x) Hr2sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r2s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r2s x) one_third Hm1R Hr2sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r2s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r2s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r2s x) (minus_SNo one_third) one_third Hr2sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r2s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r2s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r2s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r2s x) one_third) Hm23R H23R Hr3Rx Hlow Hup).
Assume HxnotB3: ¬ (x B3).
We prove the intermediate claim HC3_cases: x C3 ¬ (x C3).
An exact proof term for the current goal is (xm (x C3)).
Apply (HC3_cases (apply_fun r3 x I2)) to the current goal.
Assume HxC3: x C3.
We prove the intermediate claim Hu3eq: apply_fun u3 x = one_third.
An exact proof term for the current goal is (Hu3_on_C3 x HxC3).
We prove the intermediate claim Hr3eq: apply_fun r3 x = add_SNo (apply_fun r2s x) (minus_SNo one_third).
rewrite the current goal using (Hr3_apply x HxA) (from left to right).
rewrite the current goal using Hu3eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr3eq (from left to right).
We prove the intermediate claim Hr2sI3I: apply_fun r2s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r2s x0 I3 I) x HxC3).
We prove the intermediate claim Hr2sI3: apply_fun r2s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r2s x) Hr2sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr2sRx: apply_fun r2s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r2s x) Hr2sI3).
We prove the intermediate claim Hr2s_bounds: Rle one_third (apply_fun r2s x) Rle (apply_fun r2s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r2s x) H13R real_1 Hr2sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r2s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r2s x)) (Rle (apply_fun r2s x) 1) Hr2s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r2s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r2s x)) (Rle (apply_fun r2s x) 1) Hr2s_bounds).
We prove the intermediate claim Hr3Rx: add_SNo (apply_fun r2s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r2s x) Hr2sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r2s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r2s x) (minus_SNo one_third) H13R Hr2sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r2s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r2s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r2s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r2s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r2s x) 1 (minus_SNo one_third) Hr2sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r2s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r2s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r2s x) (minus_SNo one_third)) Hm23R H23R Hr3Rx Hlow Hup).
Assume HxnotC3: ¬ (x C3).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r2s x I1).
Assume Hr2sI1': apply_fun r2s x I1.
We prove the intermediate claim Hr2sI1I: apply_fun r2s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r2s x) Hr2sI1' Hr2sIx).
We prove the intermediate claim HxB3': x B3.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r2s x0 I1 I) x HxA Hr2sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB3 HxB3').
We prove the intermediate claim HnotI3: ¬ (apply_fun r2s x I3).
Assume Hr2sI3': apply_fun r2s x I3.
We prove the intermediate claim Hr2sI3I: apply_fun r2s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r2s x) Hr2sI3' Hr2sIx).
We prove the intermediate claim HxC3': x C3.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r2s x0 I3 I) x HxA Hr2sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC3 HxC3').
We prove the intermediate claim Hr2sRx: apply_fun r2s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r2s x) Hr2sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr2s_boundsI: Rle (minus_SNo 1) (apply_fun r2s x) Rle (apply_fun r2s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r2s x) Hm1R real_1 Hr2sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r2s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r2s x) (andEL (Rle (minus_SNo 1) (apply_fun r2s x)) (Rle (apply_fun r2s x) 1) Hr2s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r2s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r2s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r2s x)) (Rle (apply_fun r2s x) 1) Hr2s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r2s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r2s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r2s x) Hm1R Hm13R Hr2sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r2s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r2s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r2s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r2s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r2s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r2s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r2s x) one_third Rlt 1 (apply_fun r2s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r2s x) H13R real_1 Hr2sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r2s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r2s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r2s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r2s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r2s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r2s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr2sI0: apply_fun r2s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r2s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r2s x) Hr2sRx (andI (¬ (Rlt (apply_fun r2s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r2s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu3funI0: function_on u3 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u3 Hu3contI0).
We prove the intermediate claim Hu3xI0: apply_fun u3 x I0.
An exact proof term for the current goal is (Hu3funI0 x HxX).
We prove the intermediate claim Hu3xR: apply_fun u3 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u3 x) Hu3xI0).
We prove the intermediate claim Hm_u3x_R: minus_SNo (apply_fun u3 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u3 x) Hu3xR).
rewrite the current goal using (Hr3_apply x HxA) (from left to right).
We prove the intermediate claim Hr3xR: add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r2s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r2s x) Hr2sI0) (minus_SNo (apply_fun u3 x)) Hm_u3x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr2s_bounds0: Rle (minus_SNo one_third) (apply_fun r2s x) Rle (apply_fun r2s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r2s x) Hm13R H13R Hr2sI0).
We prove the intermediate claim Hu3_bounds0: Rle (minus_SNo one_third) (apply_fun u3 x) Rle (apply_fun u3 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u3 x) Hm13R H13R Hu3xI0).
We prove the intermediate claim Hm13_le_r2s: Rle (minus_SNo one_third) (apply_fun r2s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r2s x)) (Rle (apply_fun r2s x) one_third) Hr2s_bounds0).
We prove the intermediate claim Hr2s_le_13: Rle (apply_fun r2s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r2s x)) (Rle (apply_fun r2s x) one_third) Hr2s_bounds0).
We prove the intermediate claim Hm13_le_u3x: Rle (minus_SNo one_third) (apply_fun u3 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u3 x)) (Rle (apply_fun u3 x) one_third) Hu3_bounds0).
We prove the intermediate claim Hu3x_le_13: Rle (apply_fun u3 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u3 x)) (Rle (apply_fun u3 x) one_third) Hu3_bounds0).
We prove the intermediate claim Hm13_le_mu3: Rle (minus_SNo one_third) (minus_SNo (apply_fun u3 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u3 x) one_third Hu3x_le_13).
We prove the intermediate claim Hmu3_le_13: Rle (minus_SNo (apply_fun u3 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u3 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u3 x) Hm13_le_u3x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u3 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u3 x)) Hm13R Hm13R Hm_u3x_R Hm13_le_mu3).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u3 x))) (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r2s x) (minus_SNo (apply_fun u3 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r2s x) Hr2sI0) Hm_u3x_R Hm13_le_r2s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u3 x))) (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))) (add_SNo (apply_fun r2s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r2s x) (minus_SNo (apply_fun u3 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r2s x) Hr2sI0) Hm_u3x_R H13R Hmu3_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r2s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r2s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r2s x) Hr2sI0) H13R H13R Hr2s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))) (add_SNo (apply_fun r2s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r2s x) (minus_SNo (apply_fun u3 x))) Hm23R H23R Hr3xR Hlow Hup).
Set r3s to be the term compose_fun A r3 (div_const_fun den).
We prove the intermediate claim Hr3s_cont: continuous_map A Ta I Ti r3s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr3s_contR: continuous_map A Ta R R_standard_topology r3s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r3 (div_const_fun den) Hr3_cont Hdivcont).
We prove the intermediate claim Hr3s_I: ∀x : set, x Aapply_fun r3s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr3xI2: apply_fun r3 x I2.
An exact proof term for the current goal is (Hr3_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr3xR: apply_fun r3 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r3 x) Hr3xI2).
We prove the intermediate claim Hr3xS: SNo (apply_fun r3 x).
An exact proof term for the current goal is (real_SNo (apply_fun r3 x) Hr3xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r3 x) Rle (apply_fun r3 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r3 x) HmdenR H23R Hr3xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r3 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r3 x)) (Rle (apply_fun r3 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r3 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r3 x)) (Rle (apply_fun r3 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r3 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r3 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r3 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r3 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r3s x = div_SNo (apply_fun r3 x) den.
rewrite the current goal using (compose_fun_apply A r3 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r3 x) H23R Hr3xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r3s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r3 x) Hr3xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r3s x).
An exact proof term for the current goal is (real_SNo (apply_fun r3s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r3s x) 1.
Apply (RleI (apply_fun r3s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r3s x)).
Assume H1lt: Rlt 1 (apply_fun r3s x).
We prove the intermediate claim H1lty: 1 < apply_fun r3s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r3s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r3s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r3s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r3s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r3s x) den = apply_fun r3 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r3 x) den Hr3xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r3x: den < apply_fun r3 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r3 x).
An exact proof term for the current goal is (RltI den (apply_fun r3 x) H23R Hr3xR Hden_lt_r3x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r3s x).
Apply (RleI (minus_SNo 1) (apply_fun r3s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r3s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r3s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r3s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r3s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r3s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r3s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r3s x) den = apply_fun r3 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r3 x) den Hr3xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr3x_lt_mden: apply_fun r3 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r3 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r3 x) (minus_SNo den) Hr3xR HmdenR Hr3x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r3s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r3s I Hr3s_contR HIcR Hr3s_I).
We prove the intermediate claim Hex_u4: ∃u4 : set, continuous_map X Tx I0 T0 u4 (∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third) (∀x : set, x preimage_of A r3s ((closed_interval one_third 1) I)apply_fun u4 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r3s Hnorm HA Hr3s_cont).
Apply Hex_u4 to the current goal.
Let u4 be given.
Assume Hu4.
We prove the intermediate claim Hu4contI0: continuous_map X Tx I0 T0 u4.
We prove the intermediate claim Hu4AB: continuous_map X Tx I0 T0 u4 (∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u4 (∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third)) (∀x : set, x preimage_of A r3s ((closed_interval one_third 1) I)apply_fun u4 x = one_third) Hu4).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u4) (∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third) Hu4AB).
We prove the intermediate claim Hu4contR: continuous_map X Tx R R_standard_topology u4.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u4 Hu4contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den4 to be the term mul_SNo den3 den.
We prove the intermediate claim Hden4R: den4 R.
An exact proof term for the current goal is (real_mul_SNo den3 Hden3R den H23R).
We prove the intermediate claim Hden4pos: 0 < den4.
We prove the intermediate claim Hden3S: SNo den3.
An exact proof term for the current goal is (real_SNo den3 Hden3R).
An exact proof term for the current goal is (mul_SNo_pos_pos den3 den Hden3S H23S Hden3pos HdenPos).
Set u4s to be the term compose_fun X u4 (mul_const_fun den4).
We prove the intermediate claim Hu4s_cont: continuous_map X Tx R R_standard_topology u4s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u4 den4 HTx Hu4contR Hden4R Hden4pos).
Set g4 to be the term compose_fun X (pair_map X g3 u4s) add_fun_R.
We prove the intermediate claim Hg4cont: continuous_map X Tx R R_standard_topology g4.
An exact proof term for the current goal is (add_two_continuous_R X Tx g3 u4s HTx Hg3cont Hu4s_cont).
We prove the intermediate claim Hu4contA: continuous_map A Ta R R_standard_topology u4.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u4 A HTx HAsubX Hu4contR).
Set u4neg to be the term compose_fun A u4 neg_fun.
We prove the intermediate claim Hu4neg_cont: continuous_map A Ta R R_standard_topology u4neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u4 neg_fun Hu4contA Hnegcont).
We prove the intermediate claim Hr3s_contR: continuous_map A Ta R R_standard_topology r3s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r3s Hr3s_cont HIcR R_standard_topology_is_topology_local HTiEq).
Set r4 to be the term compose_fun A (pair_map A r3s u4neg) add_fun_R.
We prove the intermediate claim Hr4_cont: continuous_map A Ta R R_standard_topology r4.
An exact proof term for the current goal is (add_two_continuous_R A Ta r3s u4neg HTa Hr3s_contR Hu4neg_cont).
We prove the intermediate claim Hr4_apply: ∀x : set, x Aapply_fun r4 x = add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r3s u4neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r3s u4neg x HxA) (from left to right).
We prove the intermediate claim Hr3sxI: apply_fun r3s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r3s Hr3s_cont x HxA).
We prove the intermediate claim Hr3sxR: apply_fun r3s x R.
An exact proof term for the current goal is (HIcR (apply_fun r3s x) Hr3sxI).
We prove the intermediate claim Hu4negRx: apply_fun u4neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u4neg Hu4neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r3s x) (apply_fun u4neg x) Hr3sxR Hu4negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r3s u4neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r3s u4neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r3s u4neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r3s x) (apply_fun u4neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r3s x) (apply_fun u4neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u4 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu4Rx: apply_fun u4 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u4 Hu4contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u4 x) Hu4Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr4_range: ∀x : set, x Aapply_fun r4 x I2.
We prove the intermediate claim Hu4AB: continuous_map X Tx I0 T0 u4 (∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u4 (∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third)) (∀x : set, x preimage_of A r3s ((closed_interval one_third 1) I)apply_fun u4 x = one_third) Hu4).
We prove the intermediate claim Hu4_on_B4: ∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u4) (∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third) Hu4AB).
We prove the intermediate claim Hu4_on_C4: ∀x : set, x preimage_of A r3s ((closed_interval one_third 1) I)apply_fun u4 x = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u4 (∀x : set, x preimage_of A r3s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u4 x = minus_SNo one_third)) (∀x : set, x preimage_of A r3s ((closed_interval one_third 1) I)apply_fun u4 x = one_third) Hu4).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B4 to be the term preimage_of A r3s (I1 I).
Set C4 to be the term preimage_of A r3s (I3 I).
We prove the intermediate claim Hr3sIx: apply_fun r3s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r3s Hr3s_cont x HxA).
We prove the intermediate claim HB4_cases: x B4 ¬ (x B4).
An exact proof term for the current goal is (xm (x B4)).
Apply (HB4_cases (apply_fun r4 x I2)) to the current goal.
Assume HxB4: x B4.
We prove the intermediate claim Hu4eq: apply_fun u4 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu4_on_B4 x HxB4).
We prove the intermediate claim Hr4eq: apply_fun r4 x = add_SNo (apply_fun r3s x) one_third.
rewrite the current goal using (Hr4_apply x HxA) (from left to right).
rewrite the current goal using Hu4eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr4eq (from left to right).
We prove the intermediate claim Hr3sI1I: apply_fun r3s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r3s x0 I1 I) x HxB4).
We prove the intermediate claim Hr3sI1: apply_fun r3s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r3s x) Hr3sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr3sRx: apply_fun r3s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r3s x) Hr3sI1).
We prove the intermediate claim Hr3s_bounds: Rle (minus_SNo 1) (apply_fun r3s x) Rle (apply_fun r3s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r3s x) Hm1R Hm13R Hr3sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r3s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r3s x)) (Rle (apply_fun r3s x) (minus_SNo one_third)) Hr3s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r3s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r3s x)) (Rle (apply_fun r3s x) (minus_SNo one_third)) Hr3s_bounds).
We prove the intermediate claim Hr4Rx: add_SNo (apply_fun r3s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r3s x) Hr3sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r3s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r3s x) one_third Hm1R Hr3sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r3s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r3s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r3s x) (minus_SNo one_third) one_third Hr3sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r3s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r3s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r3s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r3s x) one_third) Hm23R H23R Hr4Rx Hlow Hup).
Assume HxnotB4: ¬ (x B4).
We prove the intermediate claim HC4_cases: x C4 ¬ (x C4).
An exact proof term for the current goal is (xm (x C4)).
Apply (HC4_cases (apply_fun r4 x I2)) to the current goal.
Assume HxC4: x C4.
We prove the intermediate claim Hu4eq: apply_fun u4 x = one_third.
An exact proof term for the current goal is (Hu4_on_C4 x HxC4).
We prove the intermediate claim Hr4eq: apply_fun r4 x = add_SNo (apply_fun r3s x) (minus_SNo one_third).
rewrite the current goal using (Hr4_apply x HxA) (from left to right).
rewrite the current goal using Hu4eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr4eq (from left to right).
We prove the intermediate claim Hr3sI3I: apply_fun r3s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r3s x0 I3 I) x HxC4).
We prove the intermediate claim Hr3sI3: apply_fun r3s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r3s x) Hr3sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr3sRx: apply_fun r3s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r3s x) Hr3sI3).
We prove the intermediate claim Hr3s_bounds: Rle one_third (apply_fun r3s x) Rle (apply_fun r3s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r3s x) H13R real_1 Hr3sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r3s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r3s x)) (Rle (apply_fun r3s x) 1) Hr3s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r3s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r3s x)) (Rle (apply_fun r3s x) 1) Hr3s_bounds).
We prove the intermediate claim Hr4Rx: add_SNo (apply_fun r3s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r3s x) Hr3sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r3s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r3s x) (minus_SNo one_third) H13R Hr3sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r3s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r3s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r3s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r3s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r3s x) 1 (minus_SNo one_third) Hr3sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r3s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r3s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r3s x) (minus_SNo one_third)) Hm23R H23R Hr4Rx Hlow Hup).
Assume HxnotC4: ¬ (x C4).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r3s x I1).
Assume Hr3sI1': apply_fun r3s x I1.
We prove the intermediate claim Hr3sI1I: apply_fun r3s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r3s x) Hr3sI1' Hr3sIx).
We prove the intermediate claim HxB4': x B4.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r3s x0 I1 I) x HxA Hr3sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB4 HxB4').
We prove the intermediate claim HnotI3: ¬ (apply_fun r3s x I3).
Assume Hr3sI3': apply_fun r3s x I3.
We prove the intermediate claim Hr3sI3I: apply_fun r3s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r3s x) Hr3sI3' Hr3sIx).
We prove the intermediate claim HxC4': x C4.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r3s x0 I3 I) x HxA Hr3sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC4 HxC4').
We prove the intermediate claim Hr3sRx: apply_fun r3s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r3s x) Hr3sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr3s_boundsI: Rle (minus_SNo 1) (apply_fun r3s x) Rle (apply_fun r3s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r3s x) Hm1R real_1 Hr3sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r3s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r3s x) (andEL (Rle (minus_SNo 1) (apply_fun r3s x)) (Rle (apply_fun r3s x) 1) Hr3s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r3s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r3s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r3s x)) (Rle (apply_fun r3s x) 1) Hr3s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r3s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r3s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r3s x) Hm1R Hm13R Hr3sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r3s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r3s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r3s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r3s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r3s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r3s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r3s x) one_third Rlt 1 (apply_fun r3s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r3s x) H13R real_1 Hr3sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r3s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r3s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r3s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r3s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r3s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r3s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr3sI0: apply_fun r3s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r3s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r3s x) Hr3sRx (andI (¬ (Rlt (apply_fun r3s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r3s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu4funI0: function_on u4 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u4 Hu4contI0).
We prove the intermediate claim Hu4xI0: apply_fun u4 x I0.
An exact proof term for the current goal is (Hu4funI0 x HxX).
We prove the intermediate claim Hu4xR: apply_fun u4 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u4 x) Hu4xI0).
We prove the intermediate claim Hm_u4x_R: minus_SNo (apply_fun u4 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u4 x) Hu4xR).
rewrite the current goal using (Hr4_apply x HxA) (from left to right).
We prove the intermediate claim Hr4xR: add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r3s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r3s x) Hr3sI0) (minus_SNo (apply_fun u4 x)) Hm_u4x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr3s_bounds0: Rle (minus_SNo one_third) (apply_fun r3s x) Rle (apply_fun r3s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r3s x) Hm13R H13R Hr3sI0).
We prove the intermediate claim Hu4_bounds0: Rle (minus_SNo one_third) (apply_fun u4 x) Rle (apply_fun u4 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u4 x) Hm13R H13R Hu4xI0).
We prove the intermediate claim Hm13_le_r3s: Rle (minus_SNo one_third) (apply_fun r3s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r3s x)) (Rle (apply_fun r3s x) one_third) Hr3s_bounds0).
We prove the intermediate claim Hr3s_le_13: Rle (apply_fun r3s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r3s x)) (Rle (apply_fun r3s x) one_third) Hr3s_bounds0).
We prove the intermediate claim Hm13_le_u4x: Rle (minus_SNo one_third) (apply_fun u4 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u4 x)) (Rle (apply_fun u4 x) one_third) Hu4_bounds0).
We prove the intermediate claim Hu4x_le_13: Rle (apply_fun u4 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u4 x)) (Rle (apply_fun u4 x) one_third) Hu4_bounds0).
We prove the intermediate claim Hm13_le_mu4: Rle (minus_SNo one_third) (minus_SNo (apply_fun u4 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u4 x) one_third Hu4x_le_13).
We prove the intermediate claim Hmu4_le_13: Rle (minus_SNo (apply_fun u4 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u4 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u4 x) Hm13_le_u4x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u4 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u4 x)) Hm13R Hm13R Hm_u4x_R Hm13_le_mu4).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u4 x))) (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r3s x) (minus_SNo (apply_fun u4 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r3s x) Hr3sI0) Hm_u4x_R Hm13_le_r3s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u4 x))) (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))) (add_SNo (apply_fun r3s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r3s x) (minus_SNo (apply_fun u4 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r3s x) Hr3sI0) Hm_u4x_R H13R Hmu4_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r3s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r3s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r3s x) Hr3sI0) H13R H13R Hr3s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))) (add_SNo (apply_fun r3s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r3s x) (minus_SNo (apply_fun u4 x))) Hm23R H23R Hr4xR Hlow Hup).
Set r4s to be the term compose_fun A r4 (div_const_fun den).
We prove the intermediate claim Hr4s_cont: continuous_map A Ta I Ti r4s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr4s_contR: continuous_map A Ta R R_standard_topology r4s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r4 (div_const_fun den) Hr4_cont Hdivcont).
We prove the intermediate claim Hr4s_I: ∀x : set, x Aapply_fun r4s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr4xI2: apply_fun r4 x I2.
An exact proof term for the current goal is (Hr4_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr4xR: apply_fun r4 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r4 x) Hr4xI2).
We prove the intermediate claim Hr4xS: SNo (apply_fun r4 x).
An exact proof term for the current goal is (real_SNo (apply_fun r4 x) Hr4xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r4 x) Rle (apply_fun r4 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r4 x) HmdenR H23R Hr4xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r4 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r4 x)) (Rle (apply_fun r4 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r4 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r4 x)) (Rle (apply_fun r4 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r4 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r4 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r4 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r4 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r4s x = div_SNo (apply_fun r4 x) den.
rewrite the current goal using (compose_fun_apply A r4 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r4 x) H23R Hr4xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r4s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r4 x) Hr4xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r4s x).
An exact proof term for the current goal is (real_SNo (apply_fun r4s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r4s x) 1.
Apply (RleI (apply_fun r4s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r4s x)).
Assume H1lt: Rlt 1 (apply_fun r4s x).
We prove the intermediate claim H1lty: 1 < apply_fun r4s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r4s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r4s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r4s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r4s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r4s x) den = apply_fun r4 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r4 x) den Hr4xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r4x: den < apply_fun r4 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r4 x).
An exact proof term for the current goal is (RltI den (apply_fun r4 x) H23R Hr4xR Hden_lt_r4x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r4s x).
Apply (RleI (minus_SNo 1) (apply_fun r4s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r4s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r4s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r4s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r4s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r4s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r4s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r4s x) den = apply_fun r4 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r4 x) den Hr4xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr4x_lt_mden: apply_fun r4 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r4 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r4 x) (minus_SNo den) Hr4xR HmdenR Hr4x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r4s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r4s I Hr4s_contR HIcR Hr4s_I).
We prove the intermediate claim Hex_u5: ∃u5 : set, continuous_map X Tx I0 T0 u5 (∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third) (∀x : set, x preimage_of A r4s ((closed_interval one_third 1) I)apply_fun u5 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r4s Hnorm HA Hr4s_cont).
Apply Hex_u5 to the current goal.
Let u5 be given.
Assume Hu5.
We prove the intermediate claim Hu5contI0: continuous_map X Tx I0 T0 u5.
We prove the intermediate claim Hu5AB: continuous_map X Tx I0 T0 u5 (∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u5 (∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third)) (∀x : set, x preimage_of A r4s ((closed_interval one_third 1) I)apply_fun u5 x = one_third) Hu5).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u5) (∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third) Hu5AB).
We prove the intermediate claim Hu5contR: continuous_map X Tx R R_standard_topology u5.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u5 Hu5contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den5 to be the term mul_SNo den4 den.
We prove the intermediate claim Hden5R: den5 R.
An exact proof term for the current goal is (real_mul_SNo den4 Hden4R den H23R).
We prove the intermediate claim Hden5pos: 0 < den5.
We prove the intermediate claim Hden4S: SNo den4.
An exact proof term for the current goal is (real_SNo den4 Hden4R).
An exact proof term for the current goal is (mul_SNo_pos_pos den4 den Hden4S H23S Hden4pos HdenPos).
Set u5s to be the term compose_fun X u5 (mul_const_fun den5).
We prove the intermediate claim Hu5s_cont: continuous_map X Tx R R_standard_topology u5s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u5 den5 HTx Hu5contR Hden5R Hden5pos).
Set g5 to be the term compose_fun X (pair_map X g4 u5s) add_fun_R.
We prove the intermediate claim Hg5cont: continuous_map X Tx R R_standard_topology g5.
An exact proof term for the current goal is (add_two_continuous_R X Tx g4 u5s HTx Hg4cont Hu5s_cont).
We prove the intermediate claim Hu5contA: continuous_map A Ta R R_standard_topology u5.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u5 A HTx HAsubX Hu5contR).
Set u5neg to be the term compose_fun A u5 neg_fun.
We prove the intermediate claim Hu5neg_cont: continuous_map A Ta R R_standard_topology u5neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u5 neg_fun Hu5contA Hnegcont).
We prove the intermediate claim Hr4s_contR: continuous_map A Ta R R_standard_topology r4s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r4s Hr4s_cont HIcR R_standard_topology_is_topology_local HTiEq).
Set r5 to be the term compose_fun A (pair_map A r4s u5neg) add_fun_R.
We prove the intermediate claim Hr5_cont: continuous_map A Ta R R_standard_topology r5.
An exact proof term for the current goal is (add_two_continuous_R A Ta r4s u5neg HTa Hr4s_contR Hu5neg_cont).
We prove the intermediate claim Hr5_apply: ∀x : set, x Aapply_fun r5 x = add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r4s u5neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r4s u5neg x HxA) (from left to right).
We prove the intermediate claim Hr4sxI: apply_fun r4s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r4s Hr4s_cont x HxA).
We prove the intermediate claim Hr4sxR: apply_fun r4s x R.
An exact proof term for the current goal is (HIcR (apply_fun r4s x) Hr4sxI).
We prove the intermediate claim Hu5negRx: apply_fun u5neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u5neg Hu5neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r4s x) (apply_fun u5neg x) Hr4sxR Hu5negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r4s u5neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r4s u5neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r4s u5neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r4s x) (apply_fun u5neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r4s x) (apply_fun u5neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u5 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu5Rx: apply_fun u5 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u5 Hu5contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u5 x) Hu5Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr5_range: ∀x : set, x Aapply_fun r5 x I2.
We prove the intermediate claim Hu5AB: continuous_map X Tx I0 T0 u5 (∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u5 (∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third)) (∀x : set, x preimage_of A r4s ((closed_interval one_third 1) I)apply_fun u5 x = one_third) Hu5).
We prove the intermediate claim Hu5_on_B5: ∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u5) (∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third) Hu5AB).
We prove the intermediate claim Hu5_on_C5: ∀x : set, x preimage_of A r4s ((closed_interval one_third 1) I)apply_fun u5 x = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u5 (∀x : set, x preimage_of A r4s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u5 x = minus_SNo one_third)) (∀x : set, x preimage_of A r4s ((closed_interval one_third 1) I)apply_fun u5 x = one_third) Hu5).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B5 to be the term preimage_of A r4s (I1 I).
Set C5 to be the term preimage_of A r4s (I3 I).
We prove the intermediate claim Hr4sIx: apply_fun r4s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r4s Hr4s_cont x HxA).
We prove the intermediate claim HB5_cases: x B5 ¬ (x B5).
An exact proof term for the current goal is (xm (x B5)).
Apply (HB5_cases (apply_fun r5 x I2)) to the current goal.
Assume HxB5: x B5.
We prove the intermediate claim Hu5eq: apply_fun u5 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu5_on_B5 x HxB5).
We prove the intermediate claim Hr5eq: apply_fun r5 x = add_SNo (apply_fun r4s x) one_third.
rewrite the current goal using (Hr5_apply x HxA) (from left to right).
rewrite the current goal using Hu5eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr5eq (from left to right).
We prove the intermediate claim Hr4sI1I: apply_fun r4s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r4s x0 I1 I) x HxB5).
We prove the intermediate claim Hr4sI1: apply_fun r4s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r4s x) Hr4sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr4sRx: apply_fun r4s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r4s x) Hr4sI1).
We prove the intermediate claim Hr4s_bounds: Rle (minus_SNo 1) (apply_fun r4s x) Rle (apply_fun r4s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r4s x) Hm1R Hm13R Hr4sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r4s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r4s x)) (Rle (apply_fun r4s x) (minus_SNo one_third)) Hr4s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r4s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r4s x)) (Rle (apply_fun r4s x) (minus_SNo one_third)) Hr4s_bounds).
We prove the intermediate claim Hr5Rx: add_SNo (apply_fun r4s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r4s x) Hr4sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r4s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r4s x) one_third Hm1R Hr4sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r4s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r4s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r4s x) (minus_SNo one_third) one_third Hr4sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r4s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r4s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r4s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r4s x) one_third) Hm23R H23R Hr5Rx Hlow Hup).
Assume HxnotB5: ¬ (x B5).
We prove the intermediate claim HC5_cases: x C5 ¬ (x C5).
An exact proof term for the current goal is (xm (x C5)).
Apply (HC5_cases (apply_fun r5 x I2)) to the current goal.
Assume HxC5: x C5.
We prove the intermediate claim Hu5eq: apply_fun u5 x = one_third.
An exact proof term for the current goal is (Hu5_on_C5 x HxC5).
We prove the intermediate claim Hr5eq: apply_fun r5 x = add_SNo (apply_fun r4s x) (minus_SNo one_third).
rewrite the current goal using (Hr5_apply x HxA) (from left to right).
rewrite the current goal using Hu5eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr5eq (from left to right).
We prove the intermediate claim Hr4sI3I: apply_fun r4s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r4s x0 I3 I) x HxC5).
We prove the intermediate claim Hr4sI3: apply_fun r4s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r4s x) Hr4sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr4sRx: apply_fun r4s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r4s x) Hr4sI3).
We prove the intermediate claim Hr4s_bounds: Rle one_third (apply_fun r4s x) Rle (apply_fun r4s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r4s x) H13R real_1 Hr4sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r4s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r4s x)) (Rle (apply_fun r4s x) 1) Hr4s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r4s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r4s x)) (Rle (apply_fun r4s x) 1) Hr4s_bounds).
We prove the intermediate claim Hr5Rx: add_SNo (apply_fun r4s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r4s x) Hr4sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r4s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r4s x) (minus_SNo one_third) H13R Hr4sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r4s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r4s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r4s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r4s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r4s x) 1 (minus_SNo one_third) Hr4sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r4s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r4s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r4s x) (minus_SNo one_third)) Hm23R H23R Hr5Rx Hlow Hup).
Assume HxnotC5: ¬ (x C5).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r4s x I1).
Assume Hr4sI1': apply_fun r4s x I1.
We prove the intermediate claim Hr4sI1I: apply_fun r4s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r4s x) Hr4sI1' Hr4sIx).
We prove the intermediate claim HxB5': x B5.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r4s x0 I1 I) x HxA Hr4sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB5 HxB5').
We prove the intermediate claim HnotI3: ¬ (apply_fun r4s x I3).
Assume Hr4sI3': apply_fun r4s x I3.
We prove the intermediate claim Hr4sI3I: apply_fun r4s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r4s x) Hr4sI3' Hr4sIx).
We prove the intermediate claim HxC5': x C5.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r4s x0 I3 I) x HxA Hr4sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC5 HxC5').
We prove the intermediate claim Hr4sRx: apply_fun r4s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r4s x) Hr4sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr4s_boundsI: Rle (minus_SNo 1) (apply_fun r4s x) Rle (apply_fun r4s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r4s x) Hm1R real_1 Hr4sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r4s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r4s x) (andEL (Rle (minus_SNo 1) (apply_fun r4s x)) (Rle (apply_fun r4s x) 1) Hr4s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r4s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r4s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r4s x)) (Rle (apply_fun r4s x) 1) Hr4s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r4s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r4s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r4s x) Hm1R Hm13R Hr4sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r4s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r4s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r4s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r4s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r4s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r4s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r4s x) one_third Rlt 1 (apply_fun r4s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r4s x) H13R real_1 Hr4sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r4s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r4s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r4s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r4s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r4s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r4s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr4sI0: apply_fun r4s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r4s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r4s x) Hr4sRx (andI (¬ (Rlt (apply_fun r4s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r4s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu5funI0: function_on u5 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u5 Hu5contI0).
We prove the intermediate claim Hu5xI0: apply_fun u5 x I0.
An exact proof term for the current goal is (Hu5funI0 x HxX).
We prove the intermediate claim Hu5xR: apply_fun u5 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u5 x) Hu5xI0).
We prove the intermediate claim Hm_u5x_R: minus_SNo (apply_fun u5 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u5 x) Hu5xR).
rewrite the current goal using (Hr5_apply x HxA) (from left to right).
We prove the intermediate claim Hr5xR: add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r4s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r4s x) Hr4sI0) (minus_SNo (apply_fun u5 x)) Hm_u5x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr4s_bounds0: Rle (minus_SNo one_third) (apply_fun r4s x) Rle (apply_fun r4s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r4s x) Hm13R H13R Hr4sI0).
We prove the intermediate claim Hu5_bounds0: Rle (minus_SNo one_third) (apply_fun u5 x) Rle (apply_fun u5 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u5 x) Hm13R H13R Hu5xI0).
We prove the intermediate claim Hm13_le_r4s: Rle (minus_SNo one_third) (apply_fun r4s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r4s x)) (Rle (apply_fun r4s x) one_third) Hr4s_bounds0).
We prove the intermediate claim Hr4s_le_13: Rle (apply_fun r4s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r4s x)) (Rle (apply_fun r4s x) one_third) Hr4s_bounds0).
We prove the intermediate claim Hm13_le_u5x: Rle (minus_SNo one_third) (apply_fun u5 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u5 x)) (Rle (apply_fun u5 x) one_third) Hu5_bounds0).
We prove the intermediate claim Hu5x_le_13: Rle (apply_fun u5 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u5 x)) (Rle (apply_fun u5 x) one_third) Hu5_bounds0).
We prove the intermediate claim Hm13_le_mu5: Rle (minus_SNo one_third) (minus_SNo (apply_fun u5 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u5 x) one_third Hu5x_le_13).
We prove the intermediate claim Hmu5_le_13: Rle (minus_SNo (apply_fun u5 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u5 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u5 x) Hm13_le_u5x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u5 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u5 x)) Hm13R Hm13R Hm_u5x_R Hm13_le_mu5).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u5 x))) (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r4s x) (minus_SNo (apply_fun u5 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r4s x) Hr4sI0) Hm_u5x_R Hm13_le_r4s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u5 x))) (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))) (add_SNo (apply_fun r4s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r4s x) (minus_SNo (apply_fun u5 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r4s x) Hr4sI0) Hm_u5x_R H13R Hmu5_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r4s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r4s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r4s x) Hr4sI0) H13R H13R Hr4s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))) (add_SNo (apply_fun r4s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r4s x) (minus_SNo (apply_fun u5 x))) Hm23R H23R Hr5xR Hlow Hup).
Set r5s to be the term compose_fun A r5 (div_const_fun den).
We prove the intermediate claim Hr5s_cont: continuous_map A Ta I Ti r5s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr5s_contR: continuous_map A Ta R R_standard_topology r5s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r5 (div_const_fun den) Hr5_cont Hdivcont).
We prove the intermediate claim Hr5s_I: ∀x : set, x Aapply_fun r5s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr5xI2: apply_fun r5 x I2.
An exact proof term for the current goal is (Hr5_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr5xR: apply_fun r5 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r5 x) Hr5xI2).
We prove the intermediate claim Hr5xS: SNo (apply_fun r5 x).
An exact proof term for the current goal is (real_SNo (apply_fun r5 x) Hr5xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r5 x) Rle (apply_fun r5 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r5 x) HmdenR H23R Hr5xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r5 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r5 x)) (Rle (apply_fun r5 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r5 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r5 x)) (Rle (apply_fun r5 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r5 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r5 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r5 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r5 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r5s x = div_SNo (apply_fun r5 x) den.
rewrite the current goal using (compose_fun_apply A r5 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r5 x) H23R Hr5xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r5s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r5 x) Hr5xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r5s x).
An exact proof term for the current goal is (real_SNo (apply_fun r5s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r5s x) 1.
Apply (RleI (apply_fun r5s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r5s x)).
Assume H1lt: Rlt 1 (apply_fun r5s x).
We prove the intermediate claim H1lty: 1 < apply_fun r5s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r5s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r5s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r5s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r5s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r5s x) den = apply_fun r5 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r5 x) den Hr5xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r5x: den < apply_fun r5 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r5 x).
An exact proof term for the current goal is (RltI den (apply_fun r5 x) H23R Hr5xR Hden_lt_r5x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r5s x).
Apply (RleI (minus_SNo 1) (apply_fun r5s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r5s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r5s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r5s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r5s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r5s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r5s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r5s x) den = apply_fun r5 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r5 x) den Hr5xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr5x_lt_mden: apply_fun r5 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r5 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r5 x) (minus_SNo den) Hr5xR HmdenR Hr5x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r5s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r5s I Hr5s_contR HIcR Hr5s_I).
We prove the intermediate claim Hex_u6: ∃u6 : set, continuous_map X Tx I0 T0 u6 (∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third) (∀x : set, x preimage_of A r5s ((closed_interval one_third 1) I)apply_fun u6 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r5s Hnorm HA Hr5s_cont).
Apply Hex_u6 to the current goal.
Let u6 be given.
Assume Hu6.
We prove the intermediate claim Hu6contI0: continuous_map X Tx I0 T0 u6.
We prove the intermediate claim Hu6AB: continuous_map X Tx I0 T0 u6 (∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u6 (∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third)) (∀x : set, x preimage_of A r5s ((closed_interval one_third 1) I)apply_fun u6 x = one_third) Hu6).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u6) (∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third) Hu6AB).
We prove the intermediate claim Hu6contR: continuous_map X Tx R R_standard_topology u6.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u6 Hu6contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den6 to be the term mul_SNo den5 den.
We prove the intermediate claim Hden6R: den6 R.
An exact proof term for the current goal is (real_mul_SNo den5 Hden5R den H23R).
We prove the intermediate claim Hden6pos: 0 < den6.
We prove the intermediate claim Hden5S: SNo den5.
An exact proof term for the current goal is (real_SNo den5 Hden5R).
An exact proof term for the current goal is (mul_SNo_pos_pos den5 den Hden5S H23S Hden5pos HdenPos).
Set u6s to be the term compose_fun X u6 (mul_const_fun den6).
We prove the intermediate claim Hu6s_cont: continuous_map X Tx R R_standard_topology u6s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u6 den6 HTx Hu6contR Hden6R Hden6pos).
Set g6 to be the term compose_fun X (pair_map X g5 u6s) add_fun_R.
We prove the intermediate claim Hg6cont: continuous_map X Tx R R_standard_topology g6.
An exact proof term for the current goal is (add_two_continuous_R X Tx g5 u6s HTx Hg5cont Hu6s_cont).
We prove the intermediate claim Hu6contA: continuous_map A Ta R R_standard_topology u6.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u6 A HTx HAsubX Hu6contR).
Set u6neg to be the term compose_fun A u6 neg_fun.
We prove the intermediate claim Hu6neg_cont: continuous_map A Ta R R_standard_topology u6neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u6 neg_fun Hu6contA Hnegcont).
We prove the intermediate claim Hr5s_contR: continuous_map A Ta R R_standard_topology r5s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r5s Hr5s_cont HIcR R_standard_topology_is_topology_local HTiEq).
Set r6 to be the term compose_fun A (pair_map A r5s u6neg) add_fun_R.
We prove the intermediate claim Hr6_cont: continuous_map A Ta R R_standard_topology r6.
An exact proof term for the current goal is (add_two_continuous_R A Ta r5s u6neg HTa Hr5s_contR Hu6neg_cont).
We prove the intermediate claim Hr6_apply: ∀x : set, x Aapply_fun r6 x = add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r5s u6neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r5s u6neg x HxA) (from left to right).
We prove the intermediate claim Hr5sxI: apply_fun r5s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r5s Hr5s_cont x HxA).
We prove the intermediate claim Hr5sxR: apply_fun r5s x R.
An exact proof term for the current goal is (HIcR (apply_fun r5s x) Hr5sxI).
We prove the intermediate claim Hu6negRx: apply_fun u6neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u6neg Hu6neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r5s x) (apply_fun u6neg x) Hr5sxR Hu6negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r5s u6neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r5s u6neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r5s u6neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r5s x) (apply_fun u6neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r5s x) (apply_fun u6neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u6 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu6Rx: apply_fun u6 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u6 Hu6contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u6 x) Hu6Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr6_range: ∀x : set, x Aapply_fun r6 x I2.
We prove the intermediate claim Hu6AB: continuous_map X Tx I0 T0 u6 (∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u6 (∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third)) (∀x : set, x preimage_of A r5s ((closed_interval one_third 1) I)apply_fun u6 x = one_third) Hu6).
We prove the intermediate claim Hu6_on_B6: ∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u6) (∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third) Hu6AB).
We prove the intermediate claim Hu6_on_C6: ∀x : set, x preimage_of A r5s ((closed_interval one_third 1) I)apply_fun u6 x = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u6 (∀x : set, x preimage_of A r5s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u6 x = minus_SNo one_third)) (∀x : set, x preimage_of A r5s ((closed_interval one_third 1) I)apply_fun u6 x = one_third) Hu6).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B6 to be the term preimage_of A r5s (I1 I).
Set C6 to be the term preimage_of A r5s (I3 I).
We prove the intermediate claim Hr5sIx: apply_fun r5s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r5s Hr5s_cont x HxA).
We prove the intermediate claim HB6_cases: x B6 ¬ (x B6).
An exact proof term for the current goal is (xm (x B6)).
Apply (HB6_cases (apply_fun r6 x I2)) to the current goal.
Assume HxB6: x B6.
We prove the intermediate claim Hu6eq: apply_fun u6 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu6_on_B6 x HxB6).
We prove the intermediate claim Hr6eq: apply_fun r6 x = add_SNo (apply_fun r5s x) one_third.
rewrite the current goal using (Hr6_apply x HxA) (from left to right).
rewrite the current goal using Hu6eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr6eq (from left to right).
We prove the intermediate claim Hr5sI1I: apply_fun r5s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r5s x0 I1 I) x HxB6).
We prove the intermediate claim Hr5sI1: apply_fun r5s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r5s x) Hr5sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr5sRx: apply_fun r5s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r5s x) Hr5sI1).
We prove the intermediate claim Hr5s_bounds: Rle (minus_SNo 1) (apply_fun r5s x) Rle (apply_fun r5s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r5s x) Hm1R Hm13R Hr5sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r5s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r5s x)) (Rle (apply_fun r5s x) (minus_SNo one_third)) Hr5s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r5s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r5s x)) (Rle (apply_fun r5s x) (minus_SNo one_third)) Hr5s_bounds).
We prove the intermediate claim Hr6Rx: add_SNo (apply_fun r5s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r5s x) Hr5sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r5s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r5s x) one_third Hm1R Hr5sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r5s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r5s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r5s x) (minus_SNo one_third) one_third Hr5sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r5s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r5s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r5s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r5s x) one_third) Hm23R H23R Hr6Rx Hlow Hup).
Assume HxnotB6: ¬ (x B6).
We prove the intermediate claim HC6_cases: x C6 ¬ (x C6).
An exact proof term for the current goal is (xm (x C6)).
Apply (HC6_cases (apply_fun r6 x I2)) to the current goal.
Assume HxC6: x C6.
We prove the intermediate claim Hu6eq: apply_fun u6 x = one_third.
An exact proof term for the current goal is (Hu6_on_C6 x HxC6).
We prove the intermediate claim Hr6eq: apply_fun r6 x = add_SNo (apply_fun r5s x) (minus_SNo one_third).
rewrite the current goal using (Hr6_apply x HxA) (from left to right).
rewrite the current goal using Hu6eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr6eq (from left to right).
We prove the intermediate claim Hr5sI3I: apply_fun r5s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r5s x0 I3 I) x HxC6).
We prove the intermediate claim Hr5sI3: apply_fun r5s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r5s x) Hr5sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr5sRx: apply_fun r5s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r5s x) Hr5sI3).
We prove the intermediate claim Hr5s_bounds: Rle one_third (apply_fun r5s x) Rle (apply_fun r5s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r5s x) H13R real_1 Hr5sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r5s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r5s x)) (Rle (apply_fun r5s x) 1) Hr5s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r5s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r5s x)) (Rle (apply_fun r5s x) 1) Hr5s_bounds).
We prove the intermediate claim Hr6Rx: add_SNo (apply_fun r5s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r5s x) Hr5sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r5s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r5s x) (minus_SNo one_third) H13R Hr5sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r5s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r5s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r5s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r5s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r5s x) 1 (minus_SNo one_third) Hr5sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r5s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r5s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r5s x) (minus_SNo one_third)) Hm23R H23R Hr6Rx Hlow Hup).
Assume HxnotC6: ¬ (x C6).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r5s x I1).
Assume Hr5sI1': apply_fun r5s x I1.
We prove the intermediate claim Hr5sI1I: apply_fun r5s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r5s x) Hr5sI1' Hr5sIx).
We prove the intermediate claim HxB6': x B6.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r5s x0 I1 I) x HxA Hr5sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB6 HxB6').
We prove the intermediate claim HnotI3: ¬ (apply_fun r5s x I3).
Assume Hr5sI3': apply_fun r5s x I3.
We prove the intermediate claim Hr5sI3I: apply_fun r5s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r5s x) Hr5sI3' Hr5sIx).
We prove the intermediate claim HxC6': x C6.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r5s x0 I3 I) x HxA Hr5sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC6 HxC6').
We prove the intermediate claim Hr5sRx: apply_fun r5s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r5s x) Hr5sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr5s_boundsI: Rle (minus_SNo 1) (apply_fun r5s x) Rle (apply_fun r5s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r5s x) Hm1R real_1 Hr5sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r5s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r5s x) (andEL (Rle (minus_SNo 1) (apply_fun r5s x)) (Rle (apply_fun r5s x) 1) Hr5s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r5s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r5s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r5s x)) (Rle (apply_fun r5s x) 1) Hr5s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r5s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r5s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r5s x) Hm1R Hm13R Hr5sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r5s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r5s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r5s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r5s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r5s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r5s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r5s x) one_third Rlt 1 (apply_fun r5s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r5s x) H13R real_1 Hr5sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r5s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r5s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r5s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r5s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r5s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r5s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr5sI0: apply_fun r5s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r5s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r5s x) Hr5sRx (andI (¬ (Rlt (apply_fun r5s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r5s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu6funI0: function_on u6 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u6 Hu6contI0).
We prove the intermediate claim Hu6xI0: apply_fun u6 x I0.
An exact proof term for the current goal is (Hu6funI0 x HxX).
We prove the intermediate claim Hu6xR: apply_fun u6 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u6 x) Hu6xI0).
We prove the intermediate claim Hm_u6x_R: minus_SNo (apply_fun u6 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u6 x) Hu6xR).
rewrite the current goal using (Hr6_apply x HxA) (from left to right).
We prove the intermediate claim Hr6xR: add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r5s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r5s x) Hr5sI0) (minus_SNo (apply_fun u6 x)) Hm_u6x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr5s_bounds0: Rle (minus_SNo one_third) (apply_fun r5s x) Rle (apply_fun r5s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r5s x) Hm13R H13R Hr5sI0).
We prove the intermediate claim Hu6_bounds0: Rle (minus_SNo one_third) (apply_fun u6 x) Rle (apply_fun u6 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u6 x) Hm13R H13R Hu6xI0).
We prove the intermediate claim Hm13_le_r5s: Rle (minus_SNo one_third) (apply_fun r5s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r5s x)) (Rle (apply_fun r5s x) one_third) Hr5s_bounds0).
We prove the intermediate claim Hr5s_le_13: Rle (apply_fun r5s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r5s x)) (Rle (apply_fun r5s x) one_third) Hr5s_bounds0).
We prove the intermediate claim Hm13_le_u6x: Rle (minus_SNo one_third) (apply_fun u6 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u6 x)) (Rle (apply_fun u6 x) one_third) Hu6_bounds0).
We prove the intermediate claim Hu6x_le_13: Rle (apply_fun u6 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u6 x)) (Rle (apply_fun u6 x) one_third) Hu6_bounds0).
We prove the intermediate claim Hm13_le_mu6: Rle (minus_SNo one_third) (minus_SNo (apply_fun u6 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u6 x) one_third Hu6x_le_13).
We prove the intermediate claim Hmu6_le_13: Rle (minus_SNo (apply_fun u6 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u6 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u6 x) Hm13_le_u6x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u6 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u6 x)) Hm13R Hm13R Hm_u6x_R Hm13_le_mu6).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u6 x))) (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r5s x) (minus_SNo (apply_fun u6 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r5s x) Hr5sI0) Hm_u6x_R Hm13_le_r5s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u6 x))) (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))) (add_SNo (apply_fun r5s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r5s x) (minus_SNo (apply_fun u6 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r5s x) Hr5sI0) Hm_u6x_R H13R Hmu6_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r5s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r5s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r5s x) Hr5sI0) H13R H13R Hr5s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))) (add_SNo (apply_fun r5s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r5s x) (minus_SNo (apply_fun u6 x))) Hm23R H23R Hr6xR Hlow Hup).
Set r6s to be the term compose_fun A r6 (div_const_fun den).
We prove the intermediate claim Hr6s_cont: continuous_map A Ta I Ti r6s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr6s_contR: continuous_map A Ta R R_standard_topology r6s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r6 (div_const_fun den) Hr6_cont Hdivcont).
We prove the intermediate claim Hr6s_I: ∀x : set, x Aapply_fun r6s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr6xI2: apply_fun r6 x I2.
An exact proof term for the current goal is (Hr6_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr6xR: apply_fun r6 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r6 x) Hr6xI2).
We prove the intermediate claim Hr6xS: SNo (apply_fun r6 x).
An exact proof term for the current goal is (real_SNo (apply_fun r6 x) Hr6xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r6 x) Rle (apply_fun r6 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r6 x) HmdenR H23R Hr6xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r6 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r6 x)) (Rle (apply_fun r6 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r6 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r6 x)) (Rle (apply_fun r6 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r6 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r6 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r6 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r6 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r6s x = div_SNo (apply_fun r6 x) den.
rewrite the current goal using (compose_fun_apply A r6 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r6 x) H23R Hr6xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r6s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r6 x) Hr6xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r6s x).
An exact proof term for the current goal is (real_SNo (apply_fun r6s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r6s x) 1.
Apply (RleI (apply_fun r6s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r6s x)).
Assume H1lt: Rlt 1 (apply_fun r6s x).
We prove the intermediate claim H1lty: 1 < apply_fun r6s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r6s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r6s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r6s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r6s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r6s x) den = apply_fun r6 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r6 x) den Hr6xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r6x: den < apply_fun r6 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r6 x).
An exact proof term for the current goal is (RltI den (apply_fun r6 x) H23R Hr6xR Hden_lt_r6x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r6s x).
Apply (RleI (minus_SNo 1) (apply_fun r6s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r6s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r6s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r6s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r6s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r6s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r6s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r6s x) den = apply_fun r6 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r6 x) den Hr6xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr6x_lt_mden: apply_fun r6 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r6 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r6 x) (minus_SNo den) Hr6xR HmdenR Hr6x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r6s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r6s I Hr6s_contR HIcR Hr6s_I).
We prove the intermediate claim Hex_u7: ∃u7 : set, continuous_map X Tx I0 T0 u7 (∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third) (∀x : set, x preimage_of A r6s ((closed_interval one_third 1) I)apply_fun u7 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r6s Hnorm HA Hr6s_cont).
Apply Hex_u7 to the current goal.
Let u7 be given.
Assume Hu7.
We prove the intermediate claim Hu7contI0: continuous_map X Tx I0 T0 u7.
We prove the intermediate claim Hu7AB: continuous_map X Tx I0 T0 u7 (∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u7 (∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third)) (∀x : set, x preimage_of A r6s ((closed_interval one_third 1) I)apply_fun u7 x = one_third) Hu7).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u7) (∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third) Hu7AB).
We prove the intermediate claim Hu7contR: continuous_map X Tx R R_standard_topology u7.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u7 Hu7contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den7 to be the term mul_SNo den6 den.
We prove the intermediate claim Hden7R: den7 R.
An exact proof term for the current goal is (real_mul_SNo den6 Hden6R den H23R).
We prove the intermediate claim Hden7pos: 0 < den7.
We prove the intermediate claim Hden6S: SNo den6.
An exact proof term for the current goal is (real_SNo den6 Hden6R).
An exact proof term for the current goal is (mul_SNo_pos_pos den6 den Hden6S H23S Hden6pos HdenPos).
Set u7s to be the term compose_fun X u7 (mul_const_fun den7).
We prove the intermediate claim Hu7s_cont: continuous_map X Tx R R_standard_topology u7s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u7 den7 HTx Hu7contR Hden7R Hden7pos).
Set g7 to be the term compose_fun X (pair_map X g6 u7s) add_fun_R.
We prove the intermediate claim Hg7cont: continuous_map X Tx R R_standard_topology g7.
An exact proof term for the current goal is (add_two_continuous_R X Tx g6 u7s HTx Hg6cont Hu7s_cont).
We prove the intermediate claim Hu7contA: continuous_map A Ta R R_standard_topology u7.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u7 A HTx HAsubX Hu7contR).
Set u7neg to be the term compose_fun A u7 neg_fun.
We prove the intermediate claim Hu7neg_cont: continuous_map A Ta R R_standard_topology u7neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u7 neg_fun Hu7contA Hnegcont).
We prove the intermediate claim Hr6s_contR: continuous_map A Ta R R_standard_topology r6s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r6s Hr6s_cont HIcR R_standard_topology_is_topology_local HTiEq).
Set r7 to be the term compose_fun A (pair_map A r6s u7neg) add_fun_R.
We prove the intermediate claim Hr7_cont: continuous_map A Ta R R_standard_topology r7.
An exact proof term for the current goal is (add_two_continuous_R A Ta r6s u7neg HTa Hr6s_contR Hu7neg_cont).
We prove the intermediate claim Hr7_apply: ∀x : set, x Aapply_fun r7 x = add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r6s u7neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r6s u7neg x HxA) (from left to right).
We prove the intermediate claim Hr6sxI: apply_fun r6s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r6s Hr6s_cont x HxA).
We prove the intermediate claim Hr6sxR: apply_fun r6s x R.
An exact proof term for the current goal is (HIcR (apply_fun r6s x) Hr6sxI).
We prove the intermediate claim Hu7negRx: apply_fun u7neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u7neg Hu7neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r6s x) (apply_fun u7neg x) Hr6sxR Hu7negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r6s u7neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r6s u7neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r6s u7neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r6s x) (apply_fun u7neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r6s x) (apply_fun u7neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u7 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu7Rx: apply_fun u7 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u7 Hu7contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u7 x) Hu7Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr7_range: ∀x : set, x Aapply_fun r7 x I2.
We prove the intermediate claim Hu7AB: continuous_map X Tx I0 T0 u7 (∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u7 (∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third)) (∀x : set, x preimage_of A r6s ((closed_interval one_third 1) I)apply_fun u7 x = one_third) Hu7).
We prove the intermediate claim Hu7_on_B7: ∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u7) (∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third) Hu7AB).
We prove the intermediate claim Hu7_on_C7: ∀x : set, x preimage_of A r6s ((closed_interval one_third 1) I)apply_fun u7 x = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u7 (∀x : set, x preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x = minus_SNo one_third)) (∀x : set, x preimage_of A r6s ((closed_interval one_third 1) I)apply_fun u7 x = one_third) Hu7).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B7 to be the term preimage_of A r6s (I1 I).
Set C7 to be the term preimage_of A r6s (I3 I).
We prove the intermediate claim Hr6sIx: apply_fun r6s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r6s Hr6s_cont x HxA).
We prove the intermediate claim HB7_cases: x B7 ¬ (x B7).
An exact proof term for the current goal is (xm (x B7)).
Apply (HB7_cases (apply_fun r7 x I2)) to the current goal.
Assume HxB7: x B7.
We prove the intermediate claim Hu7eq: apply_fun u7 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu7_on_B7 x HxB7).
We prove the intermediate claim Hr7eq: apply_fun r7 x = add_SNo (apply_fun r6s x) one_third.
rewrite the current goal using (Hr7_apply x HxA) (from left to right).
rewrite the current goal using Hu7eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr7eq (from left to right).
We prove the intermediate claim Hr6sI1I: apply_fun r6s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r6s x0 I1 I) x HxB7).
We prove the intermediate claim Hr6sI1: apply_fun r6s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r6s x) Hr6sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr6sRx: apply_fun r6s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r6s x) Hr6sI1).
We prove the intermediate claim Hr6s_bounds: Rle (minus_SNo 1) (apply_fun r6s x) Rle (apply_fun r6s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r6s x) Hm1R Hm13R Hr6sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r6s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r6s x)) (Rle (apply_fun r6s x) (minus_SNo one_third)) Hr6s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r6s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r6s x)) (Rle (apply_fun r6s x) (minus_SNo one_third)) Hr6s_bounds).
We prove the intermediate claim Hr7Rx: add_SNo (apply_fun r6s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r6s x) Hr6sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r6s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r6s x) one_third Hm1R Hr6sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r6s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r6s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r6s x) (minus_SNo one_third) one_third Hr6sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r6s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r6s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r6s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r6s x) one_third) Hm23R H23R Hr7Rx Hlow Hup).
Assume HxnotB7: ¬ (x B7).
We prove the intermediate claim HC7_cases: x C7 ¬ (x C7).
An exact proof term for the current goal is (xm (x C7)).
Apply (HC7_cases (apply_fun r7 x I2)) to the current goal.
Assume HxC7: x C7.
We prove the intermediate claim Hu7eq: apply_fun u7 x = one_third.
An exact proof term for the current goal is (Hu7_on_C7 x HxC7).
We prove the intermediate claim Hr7eq: apply_fun r7 x = add_SNo (apply_fun r6s x) (minus_SNo one_third).
rewrite the current goal using (Hr7_apply x HxA) (from left to right).
rewrite the current goal using Hu7eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr7eq (from left to right).
We prove the intermediate claim Hr6sI3I: apply_fun r6s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r6s x0 I3 I) x HxC7).
We prove the intermediate claim Hr6sI3: apply_fun r6s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r6s x) Hr6sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr6sRx: apply_fun r6s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r6s x) Hr6sI3).
We prove the intermediate claim Hr6s_bounds: Rle one_third (apply_fun r6s x) Rle (apply_fun r6s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r6s x) H13R real_1 Hr6sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r6s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r6s x)) (Rle (apply_fun r6s x) 1) Hr6s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r6s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r6s x)) (Rle (apply_fun r6s x) 1) Hr6s_bounds).
We prove the intermediate claim Hr7Rx: add_SNo (apply_fun r6s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r6s x) Hr6sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r6s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r6s x) (minus_SNo one_third) H13R Hr6sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r6s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r6s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r6s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r6s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r6s x) 1 (minus_SNo one_third) Hr6sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r6s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r6s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r6s x) (minus_SNo one_third)) Hm23R H23R Hr7Rx Hlow Hup).
Assume HxnotC7: ¬ (x C7).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r6s x I1).
Assume Hr6sI1': apply_fun r6s x I1.
We prove the intermediate claim Hr6sI1I: apply_fun r6s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r6s x) Hr6sI1' Hr6sIx).
We prove the intermediate claim HxB7': x B7.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r6s x0 I1 I) x HxA Hr6sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB7 HxB7').
We prove the intermediate claim HnotI3: ¬ (apply_fun r6s x I3).
Assume Hr6sI3': apply_fun r6s x I3.
We prove the intermediate claim Hr6sI3I: apply_fun r6s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r6s x) Hr6sI3' Hr6sIx).
We prove the intermediate claim HxC7': x C7.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r6s x0 I3 I) x HxA Hr6sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC7 HxC7').
We prove the intermediate claim Hr6sRx: apply_fun r6s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r6s x) Hr6sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr6s_boundsI: Rle (minus_SNo 1) (apply_fun r6s x) Rle (apply_fun r6s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r6s x) Hm1R real_1 Hr6sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r6s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r6s x) (andEL (Rle (minus_SNo 1) (apply_fun r6s x)) (Rle (apply_fun r6s x) 1) Hr6s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r6s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r6s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r6s x)) (Rle (apply_fun r6s x) 1) Hr6s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r6s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r6s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r6s x) Hm1R Hm13R Hr6sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r6s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r6s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r6s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r6s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r6s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r6s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r6s x) one_third Rlt 1 (apply_fun r6s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r6s x) H13R real_1 Hr6sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r6s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r6s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r6s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r6s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r6s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r6s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr6sI0: apply_fun r6s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r6s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r6s x) Hr6sRx (andI (¬ (Rlt (apply_fun r6s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r6s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu7contI0: continuous_map X Tx I0 T0 u7.
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u7) (∀x0 : set, x0 preimage_of A r6s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u7 x0 = minus_SNo one_third) Hu7AB).
We prove the intermediate claim Hu7funI0: function_on u7 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u7 Hu7contI0).
We prove the intermediate claim Hu7xI0: apply_fun u7 x I0.
An exact proof term for the current goal is (Hu7funI0 x HxX).
We prove the intermediate claim Hu7xR: apply_fun u7 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u7 x) Hu7xI0).
We prove the intermediate claim Hm_u7x_R: minus_SNo (apply_fun u7 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u7 x) Hu7xR).
rewrite the current goal using (Hr7_apply x HxA) (from left to right).
We prove the intermediate claim Hr7xR: add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r6s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r6s x) Hr6sI0) (minus_SNo (apply_fun u7 x)) Hm_u7x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr6s_bounds0: Rle (minus_SNo one_third) (apply_fun r6s x) Rle (apply_fun r6s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r6s x) Hm13R H13R Hr6sI0).
We prove the intermediate claim Hu7_bounds0: Rle (minus_SNo one_third) (apply_fun u7 x) Rle (apply_fun u7 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u7 x) Hm13R H13R Hu7xI0).
We prove the intermediate claim Hm13_le_r6s: Rle (minus_SNo one_third) (apply_fun r6s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r6s x)) (Rle (apply_fun r6s x) one_third) Hr6s_bounds0).
We prove the intermediate claim Hr6s_le_13: Rle (apply_fun r6s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r6s x)) (Rle (apply_fun r6s x) one_third) Hr6s_bounds0).
We prove the intermediate claim Hm13_le_u7x: Rle (minus_SNo one_third) (apply_fun u7 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u7 x)) (Rle (apply_fun u7 x) one_third) Hu7_bounds0).
We prove the intermediate claim Hu7x_le_13: Rle (apply_fun u7 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u7 x)) (Rle (apply_fun u7 x) one_third) Hu7_bounds0).
We prove the intermediate claim Hm13_le_mu7: Rle (minus_SNo one_third) (minus_SNo (apply_fun u7 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u7 x) one_third Hu7x_le_13).
We prove the intermediate claim Hmu7_le_13: Rle (minus_SNo (apply_fun u7 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u7 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u7 x) Hm13_le_u7x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u7 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u7 x)) Hm13R Hm13R Hm_u7x_R Hm13_le_mu7).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u7 x))) (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r6s x) (minus_SNo (apply_fun u7 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r6s x) Hr6sI0) Hm_u7x_R Hm13_le_r6s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u7 x))) (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))) (add_SNo (apply_fun r6s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r6s x) (minus_SNo (apply_fun u7 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r6s x) Hr6sI0) Hm_u7x_R H13R Hmu7_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r6s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r6s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r6s x) Hr6sI0) H13R H13R Hr6s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))) (add_SNo (apply_fun r6s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r6s x) (minus_SNo (apply_fun u7 x))) Hm23R H23R Hr7xR Hlow Hup).
Set r7s to be the term compose_fun A r7 (div_const_fun den).
We prove the intermediate claim Hr7s_cont: continuous_map A Ta I Ti r7s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr7s_contR: continuous_map A Ta R R_standard_topology r7s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r7 (div_const_fun den) Hr7_cont Hdivcont).
We prove the intermediate claim Hr7s_I: ∀x : set, x Aapply_fun r7s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr7xI2: apply_fun r7 x I2.
An exact proof term for the current goal is (Hr7_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr7xR: apply_fun r7 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r7 x) Hr7xI2).
We prove the intermediate claim Hr7xS: SNo (apply_fun r7 x).
An exact proof term for the current goal is (real_SNo (apply_fun r7 x) Hr7xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r7 x) Rle (apply_fun r7 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r7 x) HmdenR H23R Hr7xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r7 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r7 x)) (Rle (apply_fun r7 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r7 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r7 x)) (Rle (apply_fun r7 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r7 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r7 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r7 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r7 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r7s x = div_SNo (apply_fun r7 x) den.
rewrite the current goal using (compose_fun_apply A r7 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r7 x) H23R Hr7xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r7s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r7 x) Hr7xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r7s x).
An exact proof term for the current goal is (real_SNo (apply_fun r7s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r7s x) 1.
Apply (RleI (apply_fun r7s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r7s x)).
Assume H1lt: Rlt 1 (apply_fun r7s x).
We prove the intermediate claim H1lty: 1 < apply_fun r7s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r7s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r7s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r7s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r7s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r7s x) den = apply_fun r7 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r7 x) den Hr7xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r7x: den < apply_fun r7 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r7 x).
An exact proof term for the current goal is (RltI den (apply_fun r7 x) H23R Hr7xR Hden_lt_r7x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r7s x).
Apply (RleI (minus_SNo 1) (apply_fun r7s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r7s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r7s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r7s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r7s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r7s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r7s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r7s x) den = apply_fun r7 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r7 x) den Hr7xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr7x_lt_mden: apply_fun r7 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r7 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r7 x) (minus_SNo den) Hr7xR HmdenR Hr7x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r7s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r7s I Hr7s_contR HIcR Hr7s_I).
We prove the intermediate claim Hex_u8: ∃u8 : set, continuous_map X Tx I0 T0 u8 (∀x : set, x preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x = minus_SNo one_third) (∀x : set, x preimage_of A r7s ((closed_interval one_third 1) I)apply_fun u8 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r7s Hnorm HA Hr7s_cont).
Apply Hex_u8 to the current goal.
Let u8 be given.
Assume Hu8.
We prove the intermediate claim Hu8contI0: continuous_map X Tx I0 T0 u8.
We prove the intermediate claim Hu8AB: continuous_map X Tx I0 T0 u8 (∀x : set, x preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u8 (∀x : set, x preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x = minus_SNo one_third)) (∀x : set, x preimage_of A r7s ((closed_interval one_third 1) I)apply_fun u8 x = one_third) Hu8).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u8) (∀x : set, x preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x = minus_SNo one_third) Hu8AB).
We prove the intermediate claim Hu8contR: continuous_map X Tx R R_standard_topology u8.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u8 Hu8contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den8 to be the term mul_SNo den7 den.
We prove the intermediate claim Hden8R: den8 R.
An exact proof term for the current goal is (real_mul_SNo den7 Hden7R den H23R).
We prove the intermediate claim Hden8pos: 0 < den8.
We prove the intermediate claim Hden7S: SNo den7.
An exact proof term for the current goal is (real_SNo den7 Hden7R).
An exact proof term for the current goal is (mul_SNo_pos_pos den7 den Hden7S H23S Hden7pos HdenPos).
Set u8s to be the term compose_fun X u8 (mul_const_fun den8).
We prove the intermediate claim Hu8s_cont: continuous_map X Tx R R_standard_topology u8s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u8 den8 HTx Hu8contR Hden8R Hden8pos).
Set g8 to be the term compose_fun X (pair_map X g7 u8s) add_fun_R.
We prove the intermediate claim Hg8cont: continuous_map X Tx R R_standard_topology g8.
An exact proof term for the current goal is (add_two_continuous_R X Tx g7 u8s HTx Hg7cont Hu8s_cont).
We prove the intermediate claim Hu8contA: continuous_map A Ta R R_standard_topology u8.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u8 A HTx HAsubX Hu8contR).
Set u8neg to be the term compose_fun A u8 neg_fun.
We prove the intermediate claim Hu8neg_cont: continuous_map A Ta R R_standard_topology u8neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u8 neg_fun Hu8contA Hnegcont).
We prove the intermediate claim Hr7s_contR: continuous_map A Ta R R_standard_topology r7s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r7s Hr7s_cont HIcR R_standard_topology_is_topology_local HTiEq).
Set r8 to be the term compose_fun A (pair_map A r7s u8neg) add_fun_R.
We prove the intermediate claim Hr8_cont: continuous_map A Ta R R_standard_topology r8.
An exact proof term for the current goal is (add_two_continuous_R A Ta r7s u8neg HTa Hr7s_contR Hu8neg_cont).
We prove the intermediate claim Hr8_apply: ∀x : set, x Aapply_fun r8 x = add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r7s u8neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r7s u8neg x HxA) (from left to right).
We prove the intermediate claim Hr7sxI: apply_fun r7s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r7s Hr7s_cont x HxA).
We prove the intermediate claim Hr7sxR: apply_fun r7s x R.
An exact proof term for the current goal is (HIcR (apply_fun r7s x) Hr7sxI).
We prove the intermediate claim Hu8negRx: apply_fun u8neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u8neg Hu8neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r7s x) (apply_fun u8neg x) Hr7sxR Hu8negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r7s u8neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r7s u8neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r7s u8neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r7s x) (apply_fun u8neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r7s x) (apply_fun u8neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u8 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu8Rx: apply_fun u8 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u8 Hu8contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u8 x) Hu8Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr8_range: ∀x : set, x Aapply_fun r8 x I2.
We prove the intermediate claim Hu8AB: continuous_map X Tx I0 T0 u8 (∀x0 : set, x0 preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x0 = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u8 (∀x0 : set, x0 preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r7s ((closed_interval one_third 1) I)apply_fun u8 x0 = one_third) Hu8).
We prove the intermediate claim Hu8_on_B8: ∀x0 : set, x0 preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x0 = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u8) (∀x0 : set, x0 preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x0 = minus_SNo one_third) Hu8AB).
We prove the intermediate claim Hu8_on_C8: ∀x0 : set, x0 preimage_of A r7s ((closed_interval one_third 1) I)apply_fun u8 x0 = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u8 (∀x0 : set, x0 preimage_of A r7s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u8 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r7s ((closed_interval one_third 1) I)apply_fun u8 x0 = one_third) Hu8).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B8 to be the term preimage_of A r7s (I1 I).
Set C8 to be the term preimage_of A r7s (I3 I).
We prove the intermediate claim Hr7sIx: apply_fun r7s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r7s Hr7s_cont x HxA).
We prove the intermediate claim HB8_cases: x B8 ¬ (x B8).
An exact proof term for the current goal is (xm (x B8)).
Apply (HB8_cases (apply_fun r8 x I2)) to the current goal.
Assume HxB8: x B8.
We prove the intermediate claim Hu8eq: apply_fun u8 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu8_on_B8 x HxB8).
We prove the intermediate claim Hr8eq: apply_fun r8 x = add_SNo (apply_fun r7s x) one_third.
rewrite the current goal using (Hr8_apply x HxA) (from left to right).
rewrite the current goal using Hu8eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr8eq (from left to right).
We prove the intermediate claim Hr7sI1I: apply_fun r7s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r7s x0 I1 I) x HxB8).
We prove the intermediate claim Hr7sI1: apply_fun r7s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r7s x) Hr7sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr7sRx: apply_fun r7s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r7s x) Hr7sI1).
We prove the intermediate claim Hr7s_bounds: Rle (minus_SNo 1) (apply_fun r7s x) Rle (apply_fun r7s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r7s x) Hm1R Hm13R Hr7sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r7s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r7s x)) (Rle (apply_fun r7s x) (minus_SNo one_third)) Hr7s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r7s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r7s x)) (Rle (apply_fun r7s x) (minus_SNo one_third)) Hr7s_bounds).
We prove the intermediate claim Hr8xR: add_SNo (apply_fun r7s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r7s x) Hr7sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r7s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r7s x) one_third Hm1R Hr7sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r7s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r7s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r7s x) (minus_SNo one_third) one_third Hr7sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r7s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r7s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r7s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r7s x) one_third) Hm23R H23R Hr8xR Hlow Hup).
Assume HxnotB8: ¬ (x B8).
We prove the intermediate claim HC8_cases: x C8 ¬ (x C8).
An exact proof term for the current goal is (xm (x C8)).
Apply (HC8_cases (apply_fun r8 x I2)) to the current goal.
Assume HxC8: x C8.
We prove the intermediate claim Hu8eq: apply_fun u8 x = one_third.
An exact proof term for the current goal is (Hu8_on_C8 x HxC8).
We prove the intermediate claim Hr8eq: apply_fun r8 x = add_SNo (apply_fun r7s x) (minus_SNo one_third).
rewrite the current goal using (Hr8_apply x HxA) (from left to right).
rewrite the current goal using Hu8eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr8eq (from left to right).
We prove the intermediate claim Hr7sI3I: apply_fun r7s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r7s x0 I3 I) x HxC8).
We prove the intermediate claim Hr7sI3: apply_fun r7s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r7s x) Hr7sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr7sRx: apply_fun r7s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r7s x) Hr7sI3).
We prove the intermediate claim Hr7s_bounds: Rle one_third (apply_fun r7s x) Rle (apply_fun r7s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r7s x) H13R real_1 Hr7sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r7s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r7s x)) (Rle (apply_fun r7s x) 1) Hr7s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r7s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r7s x)) (Rle (apply_fun r7s x) 1) Hr7s_bounds).
We prove the intermediate claim Hr8xR: add_SNo (apply_fun r7s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r7s x) Hr7sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r7s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r7s x) (minus_SNo one_third) H13R Hr7sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r7s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r7s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r7s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r7s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r7s x) 1 (minus_SNo one_third) Hr7sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r7s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r7s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r7s x) (minus_SNo one_third)) Hm23R H23R Hr8xR Hlow Hup).
Assume HxnotC8: ¬ (x C8).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r7s x I1).
Assume Hr7sI1': apply_fun r7s x I1.
We prove the intermediate claim Hr7sI1I: apply_fun r7s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r7s x) Hr7sI1' Hr7sIx).
We prove the intermediate claim HxB8': x B8.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r7s x0 I1 I) x HxA Hr7sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB8 HxB8').
We prove the intermediate claim HnotI3: ¬ (apply_fun r7s x I3).
Assume Hr7sI3': apply_fun r7s x I3.
We prove the intermediate claim Hr7sI3I: apply_fun r7s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r7s x) Hr7sI3' Hr7sIx).
We prove the intermediate claim HxC8': x C8.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r7s x0 I3 I) x HxA Hr7sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC8 HxC8').
We prove the intermediate claim Hr7sRx: apply_fun r7s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r7s x) Hr7sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr7s_boundsI: Rle (minus_SNo 1) (apply_fun r7s x) Rle (apply_fun r7s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r7s x) Hm1R real_1 Hr7sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r7s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r7s x) (andEL (Rle (minus_SNo 1) (apply_fun r7s x)) (Rle (apply_fun r7s x) 1) Hr7s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r7s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r7s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r7s x)) (Rle (apply_fun r7s x) 1) Hr7s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r7s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r7s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r7s x) Hm1R Hm13R Hr7sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r7s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r7s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r7s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r7s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r7s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r7s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r7s x) one_third Rlt 1 (apply_fun r7s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r7s x) H13R real_1 Hr7sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r7s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r7s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r7s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r7s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r7s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r7s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr7sI0: apply_fun r7s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r7s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r7s x) Hr7sRx (andI (¬ (Rlt (apply_fun r7s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r7s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu8funI0: function_on u8 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u8 Hu8contI0).
We prove the intermediate claim Hu8xI0: apply_fun u8 x I0.
An exact proof term for the current goal is (Hu8funI0 x HxX).
We prove the intermediate claim Hu8xR: apply_fun u8 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u8 x) Hu8xI0).
We prove the intermediate claim Hm_u8x_R: minus_SNo (apply_fun u8 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u8 x) Hu8xR).
rewrite the current goal using (Hr8_apply x HxA) (from left to right).
We prove the intermediate claim Hr8xR: add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r7s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r7s x) Hr7sI0) (minus_SNo (apply_fun u8 x)) Hm_u8x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr7s_bounds0: Rle (minus_SNo one_third) (apply_fun r7s x) Rle (apply_fun r7s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r7s x) Hm13R H13R Hr7sI0).
We prove the intermediate claim Hu8_bounds0: Rle (minus_SNo one_third) (apply_fun u8 x) Rle (apply_fun u8 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u8 x) Hm13R H13R Hu8xI0).
We prove the intermediate claim Hm13_le_r7s: Rle (minus_SNo one_third) (apply_fun r7s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r7s x)) (Rle (apply_fun r7s x) one_third) Hr7s_bounds0).
We prove the intermediate claim Hr7s_le_13: Rle (apply_fun r7s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r7s x)) (Rle (apply_fun r7s x) one_third) Hr7s_bounds0).
We prove the intermediate claim Hm13_le_u8x: Rle (minus_SNo one_third) (apply_fun u8 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u8 x)) (Rle (apply_fun u8 x) one_third) Hu8_bounds0).
We prove the intermediate claim Hu8x_le_13: Rle (apply_fun u8 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u8 x)) (Rle (apply_fun u8 x) one_third) Hu8_bounds0).
We prove the intermediate claim Hm13_le_mu8: Rle (minus_SNo one_third) (minus_SNo (apply_fun u8 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u8 x) one_third Hu8x_le_13).
We prove the intermediate claim Hmu8_le_13: Rle (minus_SNo (apply_fun u8 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u8 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u8 x) Hm13_le_u8x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u8 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u8 x)) Hm13R Hm13R Hm_u8x_R Hm13_le_mu8).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u8 x))) (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r7s x) (minus_SNo (apply_fun u8 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r7s x) Hr7sI0) Hm_u8x_R Hm13_le_r7s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u8 x))) (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))) (add_SNo (apply_fun r7s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r7s x) (minus_SNo (apply_fun u8 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r7s x) Hr7sI0) Hm_u8x_R H13R Hmu8_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r7s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r7s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r7s x) Hr7sI0) H13R H13R Hr7s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))) (add_SNo (apply_fun r7s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r7s x) (minus_SNo (apply_fun u8 x))) Hm23R H23R Hr8xR Hlow Hup).
Set r8s to be the term compose_fun A r8 (div_const_fun den).
We prove the intermediate claim Hr8s_cont: continuous_map A Ta I Ti r8s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr8s_contR: continuous_map A Ta R R_standard_topology r8s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r8 (div_const_fun den) Hr8_cont Hdivcont).
We prove the intermediate claim Hr8s_I: ∀x : set, x Aapply_fun r8s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr8xI2: apply_fun r8 x I2.
An exact proof term for the current goal is (Hr8_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr8xR: apply_fun r8 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r8 x) Hr8xI2).
We prove the intermediate claim Hr8xS: SNo (apply_fun r8 x).
An exact proof term for the current goal is (real_SNo (apply_fun r8 x) Hr8xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r8 x) Rle (apply_fun r8 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r8 x) HmdenR H23R Hr8xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r8 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r8 x)) (Rle (apply_fun r8 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r8 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r8 x)) (Rle (apply_fun r8 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r8 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r8 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r8 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r8 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r8s x = div_SNo (apply_fun r8 x) den.
rewrite the current goal using (compose_fun_apply A r8 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r8 x) H23R Hr8xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r8s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r8 x) Hr8xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r8s x).
An exact proof term for the current goal is (real_SNo (apply_fun r8s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r8s x) 1.
Apply (RleI (apply_fun r8s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r8s x)).
Assume H1lt: Rlt 1 (apply_fun r8s x).
We prove the intermediate claim H1lty: 1 < apply_fun r8s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r8s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r8s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r8s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r8s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r8s x) den = apply_fun r8 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r8 x) den Hr8xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r8x: den < apply_fun r8 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r8 x).
An exact proof term for the current goal is (RltI den (apply_fun r8 x) H23R Hr8xR Hden_lt_r8x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r8s x).
Apply (RleI (minus_SNo 1) (apply_fun r8s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r8s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r8s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r8s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r8s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r8s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r8s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r8s x) den = apply_fun r8 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r8 x) den Hr8xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr8x_lt_mden: apply_fun r8 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r8 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r8 x) (minus_SNo den) Hr8xR HmdenR Hr8x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r8s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r8s I Hr8s_contR HIcR Hr8s_I).
We prove the intermediate claim Hex_u9: ∃u9 : set, continuous_map X Tx I0 T0 u9 (∀x : set, x preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x = minus_SNo one_third) (∀x : set, x preimage_of A r8s ((closed_interval one_third 1) I)apply_fun u9 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r8s Hnorm HA Hr8s_cont).
Apply Hex_u9 to the current goal.
Let u9 be given.
Assume Hu9.
We prove the intermediate claim Hu9contI0: continuous_map X Tx I0 T0 u9.
We prove the intermediate claim Hu9AB: continuous_map X Tx I0 T0 u9 (∀x : set, x preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u9 (∀x : set, x preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x = minus_SNo one_third)) (∀x : set, x preimage_of A r8s ((closed_interval one_third 1) I)apply_fun u9 x = one_third) Hu9).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u9) (∀x : set, x preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x = minus_SNo one_third) Hu9AB).
We prove the intermediate claim Hu9contR: continuous_map X Tx R R_standard_topology u9.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u9 Hu9contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den9 to be the term mul_SNo den8 den.
We prove the intermediate claim Hden9R: den9 R.
An exact proof term for the current goal is (real_mul_SNo den8 Hden8R den H23R).
We prove the intermediate claim Hden9pos: 0 < den9.
We prove the intermediate claim Hden8S: SNo den8.
An exact proof term for the current goal is (real_SNo den8 Hden8R).
An exact proof term for the current goal is (mul_SNo_pos_pos den8 den Hden8S H23S Hden8pos HdenPos).
Set u9s to be the term compose_fun X u9 (mul_const_fun den9).
We prove the intermediate claim Hu9s_cont: continuous_map X Tx R R_standard_topology u9s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u9 den9 HTx Hu9contR Hden9R Hden9pos).
Set g9 to be the term compose_fun X (pair_map X g8 u9s) add_fun_R.
We prove the intermediate claim Hg9cont: continuous_map X Tx R R_standard_topology g9.
An exact proof term for the current goal is (add_two_continuous_R X Tx g8 u9s HTx Hg8cont Hu9s_cont).
We prove the intermediate claim Hu9contA: continuous_map A Ta R R_standard_topology u9.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u9 A HTx HAsubX Hu9contR).
Set u9neg to be the term compose_fun A u9 neg_fun.
We prove the intermediate claim Hu9neg_cont: continuous_map A Ta R R_standard_topology u9neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u9 neg_fun Hu9contA Hnegcont).
We prove the intermediate claim Hr8s_contR: continuous_map A Ta R R_standard_topology r8s.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r8s Hr8s_cont HIcR R_standard_topology_is_topology_local HTiEq).
Set r9 to be the term compose_fun A (pair_map A r8s u9neg) add_fun_R.
We prove the intermediate claim Hr9_cont: continuous_map A Ta R R_standard_topology r9.
An exact proof term for the current goal is (add_two_continuous_R A Ta r8s u9neg HTa Hr8s_contR Hu9neg_cont).
We prove the intermediate claim Hr9_apply: ∀x : set, x Aapply_fun r9 x = add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r8s u9neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r8s u9neg x HxA) (from left to right).
We prove the intermediate claim Hr8sxI: apply_fun r8s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r8s Hr8s_cont x HxA).
We prove the intermediate claim Hr8sxR: apply_fun r8s x R.
An exact proof term for the current goal is (HIcR (apply_fun r8s x) Hr8sxI).
We prove the intermediate claim Hu9negRx: apply_fun u9neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u9neg Hu9neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r8s x) (apply_fun u9neg x) Hr8sxR Hu9negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r8s u9neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r8s u9neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r8s u9neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r8s x) (apply_fun u9neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r8s x) (apply_fun u9neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u9 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu9Rx: apply_fun u9 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u9 Hu9contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u9 x) Hu9Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr9_range: ∀x : set, x Aapply_fun r9 x I2.
We prove the intermediate claim Hu9AB: continuous_map X Tx I0 T0 u9 (∀x0 : set, x0 preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x0 = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u9 (∀x0 : set, x0 preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r8s ((closed_interval one_third 1) I)apply_fun u9 x0 = one_third) Hu9).
We prove the intermediate claim Hu9_on_B9: ∀x0 : set, x0 preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x0 = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u9) (∀x0 : set, x0 preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x0 = minus_SNo one_third) Hu9AB).
We prove the intermediate claim Hu9_on_C9: ∀x0 : set, x0 preimage_of A r8s ((closed_interval one_third 1) I)apply_fun u9 x0 = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u9 (∀x0 : set, x0 preimage_of A r8s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u9 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r8s ((closed_interval one_third 1) I)apply_fun u9 x0 = one_third) Hu9).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B9 to be the term preimage_of A r8s (I1 I).
Set C9 to be the term preimage_of A r8s (I3 I).
We prove the intermediate claim Hr8sIx: apply_fun r8s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r8s Hr8s_cont x HxA).
We prove the intermediate claim HB9_cases: x B9 ¬ (x B9).
An exact proof term for the current goal is (xm (x B9)).
Apply (HB9_cases (apply_fun r9 x I2)) to the current goal.
Assume HxB9: x B9.
We prove the intermediate claim Hu9eq: apply_fun u9 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu9_on_B9 x HxB9).
We prove the intermediate claim Hr9eq: apply_fun r9 x = add_SNo (apply_fun r8s x) one_third.
rewrite the current goal using (Hr9_apply x HxA) (from left to right).
rewrite the current goal using Hu9eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr9eq (from left to right).
We prove the intermediate claim Hr8sI1I: apply_fun r8s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r8s x0 I1 I) x HxB9).
We prove the intermediate claim Hr8sI1: apply_fun r8s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r8s x) Hr8sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr8sRx: apply_fun r8s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r8s x) Hr8sI1).
We prove the intermediate claim Hr8s_bounds: Rle (minus_SNo 1) (apply_fun r8s x) Rle (apply_fun r8s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r8s x) Hm1R Hm13R Hr8sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r8s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r8s x)) (Rle (apply_fun r8s x) (minus_SNo one_third)) Hr8s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r8s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r8s x)) (Rle (apply_fun r8s x) (minus_SNo one_third)) Hr8s_bounds).
We prove the intermediate claim Hr9xR: add_SNo (apply_fun r8s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r8s x) Hr8sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r8s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r8s x) one_third Hm1R Hr8sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r8s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r8s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r8s x) (minus_SNo one_third) one_third Hr8sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r8s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r8s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r8s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r8s x) one_third) Hm23R H23R Hr9xR Hlow Hup).
Assume HxnotB9: ¬ (x B9).
We prove the intermediate claim HC9_cases: x C9 ¬ (x C9).
An exact proof term for the current goal is (xm (x C9)).
Apply (HC9_cases (apply_fun r9 x I2)) to the current goal.
Assume HxC9: x C9.
We prove the intermediate claim Hu9eq: apply_fun u9 x = one_third.
An exact proof term for the current goal is (Hu9_on_C9 x HxC9).
We prove the intermediate claim Hr9eq: apply_fun r9 x = add_SNo (apply_fun r8s x) (minus_SNo one_third).
rewrite the current goal using (Hr9_apply x HxA) (from left to right).
rewrite the current goal using Hu9eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr9eq (from left to right).
We prove the intermediate claim Hr8sI3I: apply_fun r8s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r8s x0 I3 I) x HxC9).
We prove the intermediate claim Hr8sI3: apply_fun r8s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r8s x) Hr8sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr8sRx: apply_fun r8s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r8s x) Hr8sI3).
We prove the intermediate claim Hr8s_bounds: Rle one_third (apply_fun r8s x) Rle (apply_fun r8s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r8s x) H13R real_1 Hr8sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r8s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r8s x)) (Rle (apply_fun r8s x) 1) Hr8s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r8s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r8s x)) (Rle (apply_fun r8s x) 1) Hr8s_bounds).
We prove the intermediate claim Hr9xR: add_SNo (apply_fun r8s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r8s x) Hr8sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r8s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r8s x) (minus_SNo one_third) H13R Hr8sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r8s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r8s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r8s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r8s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r8s x) 1 (minus_SNo one_third) Hr8sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r8s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r8s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r8s x) (minus_SNo one_third)) Hm23R H23R Hr9xR Hlow Hup).
Assume HxnotC9: ¬ (x C9).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r8s x I1).
Assume Hr8sI1': apply_fun r8s x I1.
We prove the intermediate claim Hr8sI1I: apply_fun r8s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r8s x) Hr8sI1' Hr8sIx).
We prove the intermediate claim HxB9': x B9.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r8s x0 I1 I) x HxA Hr8sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB9 HxB9').
We prove the intermediate claim HnotI3: ¬ (apply_fun r8s x I3).
Assume Hr8sI3': apply_fun r8s x I3.
We prove the intermediate claim Hr8sI3I: apply_fun r8s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r8s x) Hr8sI3' Hr8sIx).
We prove the intermediate claim HxC9': x C9.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r8s x0 I3 I) x HxA Hr8sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC9 HxC9').
We prove the intermediate claim Hr8sRx: apply_fun r8s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r8s x) Hr8sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr8s_boundsI: Rle (minus_SNo 1) (apply_fun r8s x) Rle (apply_fun r8s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r8s x) Hm1R real_1 Hr8sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r8s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r8s x) (andEL (Rle (minus_SNo 1) (apply_fun r8s x)) (Rle (apply_fun r8s x) 1) Hr8s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r8s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r8s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r8s x)) (Rle (apply_fun r8s x) 1) Hr8s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r8s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r8s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r8s x) Hm1R Hm13R Hr8sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r8s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r8s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r8s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r8s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r8s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r8s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r8s x) one_third Rlt 1 (apply_fun r8s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r8s x) H13R real_1 Hr8sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r8s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r8s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r8s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r8s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r8s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r8s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr8sI0: apply_fun r8s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r8s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r8s x) Hr8sRx (andI (¬ (Rlt (apply_fun r8s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r8s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu9funI0: function_on u9 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u9 Hu9contI0).
We prove the intermediate claim Hu9xI0: apply_fun u9 x I0.
An exact proof term for the current goal is (Hu9funI0 x HxX).
We prove the intermediate claim Hu9xR: apply_fun u9 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u9 x) Hu9xI0).
We prove the intermediate claim Hm_u9x_R: minus_SNo (apply_fun u9 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u9 x) Hu9xR).
rewrite the current goal using (Hr9_apply x HxA) (from left to right).
We prove the intermediate claim Hr9xR: add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r8s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r8s x) Hr8sI0) (minus_SNo (apply_fun u9 x)) Hm_u9x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr8s_bounds0: Rle (minus_SNo one_third) (apply_fun r8s x) Rle (apply_fun r8s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r8s x) Hm13R H13R Hr8sI0).
We prove the intermediate claim Hu9_bounds0: Rle (minus_SNo one_third) (apply_fun u9 x) Rle (apply_fun u9 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u9 x) Hm13R H13R Hu9xI0).
We prove the intermediate claim Hm13_le_r8s: Rle (minus_SNo one_third) (apply_fun r8s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r8s x)) (Rle (apply_fun r8s x) one_third) Hr8s_bounds0).
We prove the intermediate claim Hr8s_le_13: Rle (apply_fun r8s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r8s x)) (Rle (apply_fun r8s x) one_third) Hr8s_bounds0).
We prove the intermediate claim Hm13_le_u9x: Rle (minus_SNo one_third) (apply_fun u9 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u9 x)) (Rle (apply_fun u9 x) one_third) Hu9_bounds0).
We prove the intermediate claim Hu9x_le_13: Rle (apply_fun u9 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u9 x)) (Rle (apply_fun u9 x) one_third) Hu9_bounds0).
We prove the intermediate claim Hm13_le_mu9: Rle (minus_SNo one_third) (minus_SNo (apply_fun u9 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u9 x) one_third Hu9x_le_13).
We prove the intermediate claim Hmu9_le_13: Rle (minus_SNo (apply_fun u9 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u9 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u9 x) Hm13_le_u9x).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u9 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u9 x)) Hm13R Hm13R Hm_u9x_R Hm13_le_mu9).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u9 x))) (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r8s x) (minus_SNo (apply_fun u9 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r8s x) Hr8sI0) Hm_u9x_R Hm13_le_r8s).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u9 x))) (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))) (add_SNo (apply_fun r8s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r8s x) (minus_SNo (apply_fun u9 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r8s x) Hr8sI0) Hm_u9x_R H13R Hmu9_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r8s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r8s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r8s x) Hr8sI0) H13R H13R Hr8s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))) (add_SNo (apply_fun r8s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r8s x) (minus_SNo (apply_fun u9 x))) Hm23R H23R Hr9xR Hlow Hup).
Set r9s to be the term compose_fun A r9 (div_const_fun den).
We prove the intermediate claim Hr9s_cont: continuous_map A Ta I Ti r9s.
We prove the intermediate claim HRtop: topology_on R R_standard_topology.
An exact proof term for the current goal is R_standard_topology_is_topology.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr9s_contR: continuous_map A Ta R R_standard_topology r9s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r9 (div_const_fun den) Hr9_cont Hdivcont).
We prove the intermediate claim Hr9s_I: ∀x : set, x Aapply_fun r9s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr9xI2: apply_fun r9 x I2.
An exact proof term for the current goal is (Hr9_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr9xR: apply_fun r9 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r9 x) Hr9xI2).
We prove the intermediate claim Hr9xS: SNo (apply_fun r9 x).
An exact proof term for the current goal is (real_SNo (apply_fun r9 x) Hr9xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r9 x) Rle (apply_fun r9 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r9 x) HmdenR H23R Hr9xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r9 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r9 x)) (Rle (apply_fun r9 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r9 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r9 x)) (Rle (apply_fun r9 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r9 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r9 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r9 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r9 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r9s x = div_SNo (apply_fun r9 x) den.
rewrite the current goal using (compose_fun_apply A r9 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r9 x) H23R Hr9xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r9s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r9 x) Hr9xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r9s x).
An exact proof term for the current goal is (real_SNo (apply_fun r9s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r9s x) 1.
Apply (RleI (apply_fun r9s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r9s x)).
Assume H1lt: Rlt 1 (apply_fun r9s x).
We prove the intermediate claim H1lty: 1 < apply_fun r9s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r9s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r9s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r9s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r9s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r9s x) den = apply_fun r9 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r9 x) den Hr9xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r9x: den < apply_fun r9 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r9 x).
An exact proof term for the current goal is (RltI den (apply_fun r9 x) H23R Hr9xR Hden_lt_r9x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r9s x).
Apply (RleI (minus_SNo 1) (apply_fun r9s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r9s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r9s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r9s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r9s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r9s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r9s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r9s x) den = apply_fun r9 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r9 x) den Hr9xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr9x_lt_mden: apply_fun r9 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r9 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r9 x) (minus_SNo den) Hr9xR HmdenR Hr9x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r9s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r9s I Hr9s_contR HIcR Hr9s_I).
We prove the intermediate claim Hex_u10: ∃u10 : set, continuous_map X Tx I0 T0 u10 (∀x : set, x preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x = minus_SNo one_third) (∀x : set, x preimage_of A r9s ((closed_interval one_third 1) I)apply_fun u10 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r9s Hnorm HA Hr9s_cont).
Apply Hex_u10 to the current goal.
Let u10 be given.
Assume Hu10.
We prove the intermediate claim Hu10contI0: continuous_map X Tx I0 T0 u10.
We prove the intermediate claim Hu10AB: continuous_map X Tx I0 T0 u10 (∀x : set, x preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u10 (∀x : set, x preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x = minus_SNo one_third)) (∀x : set, x preimage_of A r9s ((closed_interval one_third 1) I)apply_fun u10 x = one_third) Hu10).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u10) (∀x : set, x preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x = minus_SNo one_third) Hu10AB).
We prove the intermediate claim Hu10contR: continuous_map X Tx R R_standard_topology u10.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u10 Hu10contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den10 to be the term mul_SNo den9 den.
We prove the intermediate claim Hden10R: den10 R.
An exact proof term for the current goal is (real_mul_SNo den9 Hden9R den H23R).
We prove the intermediate claim Hden10pos: 0 < den10.
We prove the intermediate claim Hden9S: SNo den9.
An exact proof term for the current goal is (real_SNo den9 Hden9R).
An exact proof term for the current goal is (mul_SNo_pos_pos den9 den Hden9S H23S Hden9pos HdenPos).
Set u10s to be the term compose_fun X u10 (mul_const_fun den10).
We prove the intermediate claim Hu10s_cont: continuous_map X Tx R R_standard_topology u10s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u10 den10 HTx Hu10contR Hden10R Hden10pos).
Set g10 to be the term compose_fun X (pair_map X g9 u10s) add_fun_R.
We prove the intermediate claim Hg10cont: continuous_map X Tx R R_standard_topology g10.
An exact proof term for the current goal is (add_two_continuous_R X Tx g9 u10s HTx Hg9cont Hu10s_cont).
We prove the intermediate claim Hu10contA: continuous_map A Ta R R_standard_topology u10.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u10 A HTx HAsubX Hu10contR).
Set u10neg to be the term compose_fun A u10 neg_fun.
We prove the intermediate claim Hu10neg_cont: continuous_map A Ta R R_standard_topology u10neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u10 neg_fun Hu10contA Hnegcont).
We prove the intermediate claim Hr9s_contR: continuous_map A Ta R R_standard_topology r9s.
We prove the intermediate claim HTiEq': Ti = subspace_topology R R_standard_topology I.
An exact proof term for the current goal is HTiEq.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r9s Hr9s_cont HIcR R_standard_topology_is_topology_local HTiEq').
Set r10 to be the term compose_fun A (pair_map A r9s u10neg) add_fun_R.
We prove the intermediate claim Hr10_cont: continuous_map A Ta R R_standard_topology r10.
An exact proof term for the current goal is (add_two_continuous_R A Ta r9s u10neg HTa Hr9s_contR Hu10neg_cont).
We prove the intermediate claim Hr10_apply: ∀x : set, x Aapply_fun r10 x = add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r9s u10neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r9s u10neg x HxA) (from left to right).
We prove the intermediate claim Hr9sxI: apply_fun r9s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r9s Hr9s_cont x HxA).
We prove the intermediate claim Hr9sxR: apply_fun r9s x R.
An exact proof term for the current goal is (HIcR (apply_fun r9s x) Hr9sxI).
We prove the intermediate claim Hu10negRx: apply_fun u10neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u10neg Hu10neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r9s x) (apply_fun u10neg x) Hr9sxR Hu10negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r9s u10neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r9s u10neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r9s u10neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r9s x) (apply_fun u10neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r9s x) (apply_fun u10neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u10 neg_fun x HxA) (from left to right).
We prove the intermediate claim Hu10Rx: apply_fun u10 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u10 Hu10contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u10 x) Hu10Rx) (from left to right).
Use reflexivity.
We prove the intermediate claim Hr10_range: ∀x : set, x Aapply_fun r10 x I2.
We prove the intermediate claim Hu10AB: continuous_map X Tx I0 T0 u10 (∀x0 : set, x0 preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x0 = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u10 (∀x0 : set, x0 preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r9s ((closed_interval one_third 1) I)apply_fun u10 x0 = one_third) Hu10).
We prove the intermediate claim Hu10_on_B10: ∀x0 : set, x0 preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x0 = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u10) (∀x0 : set, x0 preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x0 = minus_SNo one_third) Hu10AB).
We prove the intermediate claim Hu10_on_C10: ∀x0 : set, x0 preimage_of A r9s ((closed_interval one_third 1) I)apply_fun u10 x0 = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u10 (∀x0 : set, x0 preimage_of A r9s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u10 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r9s ((closed_interval one_third 1) I)apply_fun u10 x0 = one_third) Hu10).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B10 to be the term preimage_of A r9s (I1 I).
Set C10 to be the term preimage_of A r9s (I3 I).
We prove the intermediate claim Hr9sIx: apply_fun r9s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r9s Hr9s_cont x HxA).
We prove the intermediate claim HB10_cases: x B10 ¬ (x B10).
An exact proof term for the current goal is (xm (x B10)).
Apply (HB10_cases (apply_fun r10 x I2)) to the current goal.
Assume HxB10: x B10.
We prove the intermediate claim Hu10eq: apply_fun u10 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu10_on_B10 x HxB10).
We prove the intermediate claim Hr10eq: apply_fun r10 x = add_SNo (apply_fun r9s x) one_third.
rewrite the current goal using (Hr10_apply x HxA) (from left to right).
rewrite the current goal using Hu10eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr10eq (from left to right).
We prove the intermediate claim Hr9sI1I: apply_fun r9s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r9s x0 I1 I) x HxB10).
We prove the intermediate claim Hr9sI1: apply_fun r9s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r9s x) Hr9sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr9sRx: apply_fun r9s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r9s x) Hr9sI1).
We prove the intermediate claim Hr9s_bounds: Rle (minus_SNo 1) (apply_fun r9s x) Rle (apply_fun r9s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r9s x) Hm1R Hm13R Hr9sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r9s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r9s x)) (Rle (apply_fun r9s x) (minus_SNo one_third)) Hr9s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r9s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r9s x)) (Rle (apply_fun r9s x) (minus_SNo one_third)) Hr9s_bounds).
We prove the intermediate claim Hr10xR: add_SNo (apply_fun r9s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r9s x) Hr9sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r9s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r9s x) one_third Hm1R Hr9sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r9s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r9s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r9s x) (minus_SNo one_third) one_third Hr9sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r9s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r9s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r9s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r9s x) one_third) Hm23R H23R Hr10xR Hlow Hup).
Assume HxnotB10: ¬ (x B10).
We prove the intermediate claim HC10_cases: x C10 ¬ (x C10).
An exact proof term for the current goal is (xm (x C10)).
Apply (HC10_cases (apply_fun r10 x I2)) to the current goal.
Assume HxC10: x C10.
We prove the intermediate claim Hu10eq: apply_fun u10 x = one_third.
An exact proof term for the current goal is (Hu10_on_C10 x HxC10).
We prove the intermediate claim Hr10eq: apply_fun r10 x = add_SNo (apply_fun r9s x) (minus_SNo one_third).
rewrite the current goal using (Hr10_apply x HxA) (from left to right).
rewrite the current goal using Hu10eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr10eq (from left to right).
We prove the intermediate claim Hr9sI3I: apply_fun r9s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r9s x0 I3 I) x HxC10).
We prove the intermediate claim Hr9sI3: apply_fun r9s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r9s x) Hr9sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr9sRx: apply_fun r9s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r9s x) Hr9sI3).
We prove the intermediate claim Hr9s_bounds: Rle one_third (apply_fun r9s x) Rle (apply_fun r9s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r9s x) H13R real_1 Hr9sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r9s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r9s x)) (Rle (apply_fun r9s x) 1) Hr9s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r9s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r9s x)) (Rle (apply_fun r9s x) 1) Hr9s_bounds).
We prove the intermediate claim Hr10xR: add_SNo (apply_fun r9s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r9s x) Hr9sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r9s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r9s x) (minus_SNo one_third) H13R Hr9sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r9s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r9s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r9s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r9s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r9s x) 1 (minus_SNo one_third) Hr9sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r9s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r9s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r9s x) (minus_SNo one_third)) Hm23R H23R Hr10xR Hlow Hup).
Assume HxnotC10: ¬ (x C10).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r9s x I1).
Assume Hr9sI1': apply_fun r9s x I1.
We prove the intermediate claim Hr9sI1I: apply_fun r9s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r9s x) Hr9sI1' Hr9sIx).
We prove the intermediate claim HxB10': x B10.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r9s x0 I1 I) x HxA Hr9sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB10 HxB10').
We prove the intermediate claim HnotI3: ¬ (apply_fun r9s x I3).
Assume Hr9sI3': apply_fun r9s x I3.
We prove the intermediate claim Hr9sI3I: apply_fun r9s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r9s x) Hr9sI3' Hr9sIx).
We prove the intermediate claim HxC10': x C10.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r9s x0 I3 I) x HxA Hr9sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC10 HxC10').
We prove the intermediate claim Hr9sRx: apply_fun r9s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r9s x) Hr9sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr9s_boundsI: Rle (minus_SNo 1) (apply_fun r9s x) Rle (apply_fun r9s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r9s x) Hm1R real_1 Hr9sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r9s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r9s x) (andEL (Rle (minus_SNo 1) (apply_fun r9s x)) (Rle (apply_fun r9s x) 1) Hr9s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r9s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r9s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r9s x)) (Rle (apply_fun r9s x) 1) Hr9s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r9s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r9s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r9s x) Hm1R Hm13R Hr9sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r9s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r9s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r9s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r9s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r9s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r9s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r9s x) one_third Rlt 1 (apply_fun r9s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r9s x) H13R real_1 Hr9sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r9s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r9s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r9s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r9s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r9s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r9s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr9sI0: apply_fun r9s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r9s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r9s x) Hr9sRx (andI (¬ (Rlt (apply_fun r9s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r9s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu10funI0: function_on u10 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u10 Hu10contI0).
We prove the intermediate claim Hu10xI0: apply_fun u10 x I0.
An exact proof term for the current goal is (Hu10funI0 x HxX).
We prove the intermediate claim Hu10xR: apply_fun u10 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u10 x) Hu10xI0).
We prove the intermediate claim Hm_u10x_R: minus_SNo (apply_fun u10 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u10 x) Hu10xR).
rewrite the current goal using (Hr10_apply x HxA) (from left to right).
We prove the intermediate claim Hr10xR: add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r9s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r9s x) Hr9sI0) (minus_SNo (apply_fun u10 x)) Hm_u10x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr9s_bounds0: Rle (minus_SNo one_third) (apply_fun r9s x) Rle (apply_fun r9s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r9s x) Hm13R H13R Hr9sI0).
We prove the intermediate claim Hu10_bounds0: Rle (minus_SNo one_third) (apply_fun u10 x) Rle (apply_fun u10 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u10 x) Hm13R H13R Hu10xI0).
We prove the intermediate claim Hr9s_le_13: Rle (apply_fun r9s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r9s x)) (Rle (apply_fun r9s x) one_third) Hr9s_bounds0).
We prove the intermediate claim Hr9s_ge_m13: Rle (minus_SNo one_third) (apply_fun r9s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r9s x)) (Rle (apply_fun r9s x) one_third) Hr9s_bounds0).
We prove the intermediate claim Hu10_le_13: Rle (apply_fun u10 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u10 x)) (Rle (apply_fun u10 x) one_third) Hu10_bounds0).
We prove the intermediate claim Hu10_ge_m13: Rle (minus_SNo one_third) (apply_fun u10 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u10 x)) (Rle (apply_fun u10 x) one_third) Hu10_bounds0).
We prove the intermediate claim Hm13_le_mu10: Rle (minus_SNo one_third) (minus_SNo (apply_fun u10 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u10 x) one_third Hu10_le_13).
We prove the intermediate claim Hmu10_le_13: Rle (minus_SNo (apply_fun u10 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u10 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u10 x) Hu10_ge_m13).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u10 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u10 x)) Hm13R Hm13R Hm_u10x_R Hm13_le_mu10).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u10 x))) (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r9s x) (minus_SNo (apply_fun u10 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r9s x) Hr9sI0) Hm_u10x_R Hr9s_ge_m13).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u10 x))) (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))) (add_SNo (apply_fun r9s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r9s x) (minus_SNo (apply_fun u10 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r9s x) Hr9sI0) Hm_u10x_R H13R Hmu10_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r9s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r9s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r9s x) Hr9sI0) H13R H13R Hr9s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))) (add_SNo (apply_fun r9s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r9s x) (minus_SNo (apply_fun u10 x))) Hm23R H23R Hr10xR Hlow Hup).
Set r10s to be the term compose_fun A r10 (div_const_fun den).
We prove the intermediate claim Hr10s_cont: continuous_map A Ta I Ti r10s.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr10s_contR: continuous_map A Ta R R_standard_topology r10s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r10 (div_const_fun den) Hr10_cont Hdivcont).
We prove the intermediate claim Hr10s_I: ∀x : set, x Aapply_fun r10s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr10xI2: apply_fun r10 x I2.
An exact proof term for the current goal is (Hr10_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr10xR: apply_fun r10 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r10 x) Hr10xI2).
We prove the intermediate claim Hr10xS: SNo (apply_fun r10 x).
An exact proof term for the current goal is (real_SNo (apply_fun r10 x) Hr10xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r10 x) Rle (apply_fun r10 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r10 x) HmdenR H23R Hr10xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r10 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r10 x)) (Rle (apply_fun r10 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r10 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r10 x)) (Rle (apply_fun r10 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r10 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r10 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r10 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r10 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r10s x = div_SNo (apply_fun r10 x) den.
rewrite the current goal using (compose_fun_apply A r10 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r10 x) H23R Hr10xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r10s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r10 x) Hr10xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r10s x).
An exact proof term for the current goal is (real_SNo (apply_fun r10s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r10s x) 1.
Apply (RleI (apply_fun r10s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r10s x)).
Assume H1lt: Rlt 1 (apply_fun r10s x).
We prove the intermediate claim H1lty: 1 < apply_fun r10s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r10s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r10s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r10s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r10s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r10s x) den = apply_fun r10 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r10 x) den Hr10xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r10x: den < apply_fun r10 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r10 x).
An exact proof term for the current goal is (RltI den (apply_fun r10 x) H23R Hr10xR Hden_lt_r10x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r10s x).
Apply (RleI (minus_SNo 1) (apply_fun r10s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r10s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r10s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r10s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r10s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r10s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r10s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r10s x) den = apply_fun r10 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r10 x) den Hr10xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr10x_lt_mden: apply_fun r10 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r10 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r10 x) (minus_SNo den) Hr10xR HmdenR Hr10x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r10s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r10s I Hr10s_contR HIcR Hr10s_I).
We prove the intermediate claim Hex_u11: ∃u11 : set, continuous_map X Tx I0 T0 u11 (∀x : set, x preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x = minus_SNo one_third) (∀x : set, x preimage_of A r10s ((closed_interval one_third 1) I)apply_fun u11 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r10s Hnorm HA Hr10s_cont).
Apply Hex_u11 to the current goal.
Let u11 be given.
Assume Hu11.
We prove the intermediate claim Hu11contI0: continuous_map X Tx I0 T0 u11.
We prove the intermediate claim Hu11AB: continuous_map X Tx I0 T0 u11 (∀x : set, x preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u11 (∀x : set, x preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x = minus_SNo one_third)) (∀x : set, x preimage_of A r10s ((closed_interval one_third 1) I)apply_fun u11 x = one_third) Hu11).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u11) (∀x : set, x preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x = minus_SNo one_third) Hu11AB).
We prove the intermediate claim Hu11contR: continuous_map X Tx R R_standard_topology u11.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u11 Hu11contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den11 to be the term mul_SNo den10 den.
We prove the intermediate claim Hden11R: den11 R.
An exact proof term for the current goal is (real_mul_SNo den10 Hden10R den H23R).
We prove the intermediate claim Hden11pos: 0 < den11.
We prove the intermediate claim Hden10S: SNo den10.
An exact proof term for the current goal is (real_SNo den10 Hden10R).
An exact proof term for the current goal is (mul_SNo_pos_pos den10 den Hden10S H23S Hden10pos HdenPos).
Set u11s to be the term compose_fun X u11 (mul_const_fun den11).
We prove the intermediate claim Hu11s_cont: continuous_map X Tx R R_standard_topology u11s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u11 den11 HTx Hu11contR Hden11R Hden11pos).
Set g11 to be the term compose_fun X (pair_map X g10 u11s) add_fun_R.
We prove the intermediate claim Hg11cont: continuous_map X Tx R R_standard_topology g11.
An exact proof term for the current goal is (add_two_continuous_R X Tx g10 u11s HTx Hg10cont Hu11s_cont).
We prove the intermediate claim Hu11contA: continuous_map A Ta R R_standard_topology u11.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u11 A HTx HAsubX Hu11contR).
Set u11neg to be the term compose_fun A u11 neg_fun.
We prove the intermediate claim Hu11neg_cont: continuous_map A Ta R R_standard_topology u11neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u11 neg_fun Hu11contA Hnegcont).
We prove the intermediate claim Hr10s_contR: continuous_map A Ta R R_standard_topology r10s.
We prove the intermediate claim HTiEq'': Ti = subspace_topology R R_standard_topology I.
An exact proof term for the current goal is HTiEq.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r10s Hr10s_cont HIcR R_standard_topology_is_topology_local HTiEq'').
Set r11 to be the term compose_fun A (pair_map A r10s u11neg) add_fun_R.
We prove the intermediate claim Hr11_cont: continuous_map A Ta R R_standard_topology r11.
An exact proof term for the current goal is (add_two_continuous_R A Ta r10s u11neg HTa Hr10s_contR Hu11neg_cont).
We prove the intermediate claim Hr11_apply: ∀x : set, x Aapply_fun r11 x = add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r10s u11neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r10s u11neg x HxA) (from left to right).
We prove the intermediate claim Hr10sxI: apply_fun r10s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r10s Hr10s_cont x HxA).
We prove the intermediate claim Hr10sxR: apply_fun r10s x R.
An exact proof term for the current goal is (HIcR (apply_fun r10s x) Hr10sxI).
We prove the intermediate claim Hu11negRx: apply_fun u11neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u11neg Hu11neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r10s x) (apply_fun u11neg x) Hr10sxR Hu11negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r10s u11neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r10s u11neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r10s u11neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r10s x) (apply_fun u11neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r10s x) (apply_fun u11neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u11 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu11Rx: apply_fun u11 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u11 Hu11contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u11 x) Hu11Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr11_range: ∀x : set, x Aapply_fun r11 x I2.
We prove the intermediate claim Hu11AB: continuous_map X Tx I0 T0 u11 (∀x0 : set, x0 preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x0 = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u11 (∀x0 : set, x0 preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r10s ((closed_interval one_third 1) I)apply_fun u11 x0 = one_third) Hu11).
We prove the intermediate claim Hu11_on_B11: ∀x0 : set, x0 preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x0 = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u11) (∀x0 : set, x0 preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x0 = minus_SNo one_third) Hu11AB).
We prove the intermediate claim Hu11_on_C11: ∀x0 : set, x0 preimage_of A r10s ((closed_interval one_third 1) I)apply_fun u11 x0 = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u11 (∀x0 : set, x0 preimage_of A r10s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u11 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r10s ((closed_interval one_third 1) I)apply_fun u11 x0 = one_third) Hu11).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B11 to be the term preimage_of A r10s (I1 I).
Set C11 to be the term preimage_of A r10s (I3 I).
We prove the intermediate claim Hr10sIx: apply_fun r10s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r10s Hr10s_cont x HxA).
We prove the intermediate claim HB11_cases: x B11 ¬ (x B11).
An exact proof term for the current goal is (xm (x B11)).
Apply (HB11_cases (apply_fun r11 x I2)) to the current goal.
Assume HxB11: x B11.
We prove the intermediate claim Hu11eq: apply_fun u11 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu11_on_B11 x HxB11).
We prove the intermediate claim Hr11eq: apply_fun r11 x = add_SNo (apply_fun r10s x) one_third.
rewrite the current goal using (Hr11_apply x HxA) (from left to right).
rewrite the current goal using Hu11eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr11eq (from left to right).
We prove the intermediate claim Hr10sI1I: apply_fun r10s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r10s x0 I1 I) x HxB11).
We prove the intermediate claim Hr10sI1: apply_fun r10s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r10s x) Hr10sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr10sRx: apply_fun r10s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r10s x) Hr10sI1).
We prove the intermediate claim Hr10s_bounds: Rle (minus_SNo 1) (apply_fun r10s x) Rle (apply_fun r10s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r10s x) Hm1R Hm13R Hr10sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r10s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r10s x)) (Rle (apply_fun r10s x) (minus_SNo one_third)) Hr10s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r10s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r10s x)) (Rle (apply_fun r10s x) (minus_SNo one_third)) Hr10s_bounds).
We prove the intermediate claim Hr11xR: add_SNo (apply_fun r10s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r10s x) Hr10sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r10s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r10s x) one_third Hm1R Hr10sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r10s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r10s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r10s x) (minus_SNo one_third) one_third Hr10sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r10s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r10s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r10s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r10s x) one_third) Hm23R H23R Hr11xR Hlow Hup).
Assume HxnotB11: ¬ (x B11).
We prove the intermediate claim HC11_cases: x C11 ¬ (x C11).
An exact proof term for the current goal is (xm (x C11)).
Apply (HC11_cases (apply_fun r11 x I2)) to the current goal.
Assume HxC11: x C11.
We prove the intermediate claim Hu11eq: apply_fun u11 x = one_third.
An exact proof term for the current goal is (Hu11_on_C11 x HxC11).
We prove the intermediate claim Hr11eq: apply_fun r11 x = add_SNo (apply_fun r10s x) (minus_SNo one_third).
rewrite the current goal using (Hr11_apply x HxA) (from left to right).
rewrite the current goal using Hu11eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr11eq (from left to right).
We prove the intermediate claim Hr10sI3I: apply_fun r10s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r10s x0 I3 I) x HxC11).
We prove the intermediate claim Hr10sI3: apply_fun r10s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r10s x) Hr10sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr10sRx: apply_fun r10s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r10s x) Hr10sI3).
We prove the intermediate claim Hr10s_bounds: Rle one_third (apply_fun r10s x) Rle (apply_fun r10s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r10s x) H13R real_1 Hr10sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r10s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r10s x)) (Rle (apply_fun r10s x) 1) Hr10s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r10s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r10s x)) (Rle (apply_fun r10s x) 1) Hr10s_bounds).
We prove the intermediate claim Hr11xR: add_SNo (apply_fun r10s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r10s x) Hr10sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r10s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r10s x) (minus_SNo one_third) H13R Hr10sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r10s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r10s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r10s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r10s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r10s x) 1 (minus_SNo one_third) Hr10sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r10s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r10s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r10s x) (minus_SNo one_third)) Hm23R H23R Hr11xR Hlow Hup).
Assume HxnotC11: ¬ (x C11).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r10s x I1).
Assume Hr10sI1': apply_fun r10s x I1.
We prove the intermediate claim Hr10sI1I: apply_fun r10s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r10s x) Hr10sI1' Hr10sIx).
We prove the intermediate claim HxB11': x B11.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r10s x0 I1 I) x HxA Hr10sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB11 HxB11').
We prove the intermediate claim HnotI3: ¬ (apply_fun r10s x I3).
Assume Hr10sI3': apply_fun r10s x I3.
We prove the intermediate claim Hr10sI3I: apply_fun r10s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r10s x) Hr10sI3' Hr10sIx).
We prove the intermediate claim HxC11': x C11.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r10s x0 I3 I) x HxA Hr10sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC11 HxC11').
We prove the intermediate claim Hr10sRx: apply_fun r10s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r10s x) Hr10sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr10s_boundsI: Rle (minus_SNo 1) (apply_fun r10s x) Rle (apply_fun r10s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r10s x) Hm1R real_1 Hr10sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r10s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r10s x) (andEL (Rle (minus_SNo 1) (apply_fun r10s x)) (Rle (apply_fun r10s x) 1) Hr10s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r10s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r10s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r10s x)) (Rle (apply_fun r10s x) 1) Hr10s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r10s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r10s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r10s x) Hm1R Hm13R Hr10sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r10s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r10s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r10s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r10s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r10s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r10s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r10s x) one_third Rlt 1 (apply_fun r10s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r10s x) H13R real_1 Hr10sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r10s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r10s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r10s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r10s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r10s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r10s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr10sI0: apply_fun r10s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r10s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r10s x) Hr10sRx (andI (¬ (Rlt (apply_fun r10s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r10s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu11funI0: function_on u11 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u11 Hu11contI0).
We prove the intermediate claim Hu11xI0: apply_fun u11 x I0.
An exact proof term for the current goal is (Hu11funI0 x HxX).
We prove the intermediate claim Hu11xR: apply_fun u11 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u11 x) Hu11xI0).
We prove the intermediate claim Hm_u11x_R: minus_SNo (apply_fun u11 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u11 x) Hu11xR).
rewrite the current goal using (Hr11_apply x HxA) (from left to right).
We prove the intermediate claim Hr11xR: add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r10s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r10s x) Hr10sI0) (minus_SNo (apply_fun u11 x)) Hm_u11x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr10s_bounds0: Rle (minus_SNo one_third) (apply_fun r10s x) Rle (apply_fun r10s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r10s x) Hm13R H13R Hr10sI0).
We prove the intermediate claim Hu11_bounds0: Rle (minus_SNo one_third) (apply_fun u11 x) Rle (apply_fun u11 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u11 x) Hm13R H13R Hu11xI0).
We prove the intermediate claim Hr10s_le_13: Rle (apply_fun r10s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r10s x)) (Rle (apply_fun r10s x) one_third) Hr10s_bounds0).
We prove the intermediate claim Hr10s_ge_m13: Rle (minus_SNo one_third) (apply_fun r10s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r10s x)) (Rle (apply_fun r10s x) one_third) Hr10s_bounds0).
We prove the intermediate claim Hu11_le_13: Rle (apply_fun u11 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u11 x)) (Rle (apply_fun u11 x) one_third) Hu11_bounds0).
We prove the intermediate claim Hu11_ge_m13: Rle (minus_SNo one_third) (apply_fun u11 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u11 x)) (Rle (apply_fun u11 x) one_third) Hu11_bounds0).
We prove the intermediate claim Hm13_le_mu11: Rle (minus_SNo one_third) (minus_SNo (apply_fun u11 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u11 x) one_third Hu11_le_13).
We prove the intermediate claim Hmu11_le_13: Rle (minus_SNo (apply_fun u11 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u11 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u11 x) Hu11_ge_m13).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u11 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u11 x)) Hm13R Hm13R Hm_u11x_R Hm13_le_mu11).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u11 x))) (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r10s x) (minus_SNo (apply_fun u11 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r10s x) Hr10sI0) Hm_u11x_R Hr10s_ge_m13).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u11 x))) (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))) (add_SNo (apply_fun r10s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r10s x) (minus_SNo (apply_fun u11 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r10s x) Hr10sI0) Hm_u11x_R H13R Hmu11_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r10s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r10s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r10s x) Hr10sI0) H13R H13R Hr10s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))) (add_SNo (apply_fun r10s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r10s x) (minus_SNo (apply_fun u11 x))) Hm23R H23R Hr11xR Hlow Hup).
Set r11s to be the term compose_fun A r11 (div_const_fun den).
We prove the intermediate claim Hr11s_cont: continuous_map A Ta I Ti r11s.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr11s_contR: continuous_map A Ta R R_standard_topology r11s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r11 (div_const_fun den) Hr11_cont Hdivcont).
We prove the intermediate claim Hr11s_I: ∀x : set, x Aapply_fun r11s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr11xI2: apply_fun r11 x I2.
An exact proof term for the current goal is (Hr11_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr11xR: apply_fun r11 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r11 x) Hr11xI2).
We prove the intermediate claim Hr11xS: SNo (apply_fun r11 x).
An exact proof term for the current goal is (real_SNo (apply_fun r11 x) Hr11xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r11 x) Rle (apply_fun r11 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r11 x) HmdenR H23R Hr11xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r11 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r11 x)) (Rle (apply_fun r11 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r11 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r11 x)) (Rle (apply_fun r11 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r11 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r11 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r11 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r11 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r11s x = div_SNo (apply_fun r11 x) den.
rewrite the current goal using (compose_fun_apply A r11 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r11 x) H23R Hr11xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r11s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r11 x) Hr11xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r11s x).
An exact proof term for the current goal is (real_SNo (apply_fun r11s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r11s x) 1.
Apply (RleI (apply_fun r11s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r11s x)).
Assume H1lt: Rlt 1 (apply_fun r11s x).
We prove the intermediate claim H1lty: 1 < apply_fun r11s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r11s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r11s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r11s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r11s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r11s x) den = apply_fun r11 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r11 x) den Hr11xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r11x: den < apply_fun r11 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r11 x).
An exact proof term for the current goal is (RltI den (apply_fun r11 x) H23R Hr11xR Hden_lt_r11x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r11s x).
Apply (RleI (minus_SNo 1) (apply_fun r11s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r11s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r11s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r11s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r11s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r11s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r11s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r11s x) den = apply_fun r11 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r11 x) den Hr11xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr11x_lt_mden: apply_fun r11 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r11 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r11 x) (minus_SNo den) Hr11xR HmdenR Hr11x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r11s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r11s I Hr11s_contR HIcR Hr11s_I).
We prove the intermediate claim Hex_u12: ∃u12 : set, continuous_map X Tx I0 T0 u12 (∀x : set, x preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x = minus_SNo one_third) (∀x : set, x preimage_of A r11s ((closed_interval one_third 1) I)apply_fun u12 x = one_third).
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r11s Hnorm HA Hr11s_cont).
Apply Hex_u12 to the current goal.
Let u12 be given.
Assume Hu12.
We prove the intermediate claim Hu12contI0: continuous_map X Tx I0 T0 u12.
We prove the intermediate claim Hu12AB: continuous_map X Tx I0 T0 u12 (∀x : set, x preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u12 (∀x : set, x preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x = minus_SNo one_third)) (∀x : set, x preimage_of A r11s ((closed_interval one_third 1) I)apply_fun u12 x = one_third) Hu12).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u12) (∀x : set, x preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x = minus_SNo one_third) Hu12AB).
We prove the intermediate claim Hu12contR: continuous_map X Tx R R_standard_topology u12.
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim HI0subR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology u12 Hu12contI0 HI0subR R_standard_topology_is_topology_local HT0eq).
Set den12 to be the term mul_SNo den11 den.
We prove the intermediate claim Hden12R: den12 R.
An exact proof term for the current goal is (real_mul_SNo den11 Hden11R den H23R).
We prove the intermediate claim Hden12pos: 0 < den12.
We prove the intermediate claim Hden11S: SNo den11.
An exact proof term for the current goal is (real_SNo den11 Hden11R).
An exact proof term for the current goal is (mul_SNo_pos_pos den11 den Hden11S H23S Hden11pos HdenPos).
Set u12s to be the term compose_fun X u12 (mul_const_fun den12).
We prove the intermediate claim Hu12s_cont: continuous_map X Tx R R_standard_topology u12s.
An exact proof term for the current goal is (scale_continuous_mul_const_pos X Tx u12 den12 HTx Hu12contR Hden12R Hden12pos).
Set g12 to be the term compose_fun X (pair_map X g11 u12s) add_fun_R.
We prove the intermediate claim Hg12cont: continuous_map X Tx R R_standard_topology g12.
An exact proof term for the current goal is (add_two_continuous_R X Tx g11 u12s HTx Hg11cont Hu12s_cont).
We prove the intermediate claim Hu12contA: continuous_map A Ta R R_standard_topology u12.
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology u12 A HTx HAsubX Hu12contR).
Set u12neg to be the term compose_fun A u12 neg_fun.
We prove the intermediate claim Hu12neg_cont: continuous_map A Ta R R_standard_topology u12neg.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology u12 neg_fun Hu12contA Hnegcont).
We prove the intermediate claim Hr11s_contR: continuous_map A Ta R R_standard_topology r11s.
We prove the intermediate claim HTiEq''': Ti = subspace_topology R R_standard_topology I.
An exact proof term for the current goal is HTiEq.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r11s Hr11s_cont HIcR R_standard_topology_is_topology_local HTiEq''').
Set r12 to be the term compose_fun A (pair_map A r11s u12neg) add_fun_R.
We prove the intermediate claim Hr12_cont: continuous_map A Ta R R_standard_topology r12.
An exact proof term for the current goal is (add_two_continuous_R A Ta r11s u12neg HTa Hr11s_contR Hu12neg_cont).
We prove the intermediate claim Hr12_apply: ∀x : set, x Aapply_fun r12 x = add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x)).
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hpimg: apply_fun (pair_map A r11s u12neg) x setprod R R.
rewrite the current goal using (pair_map_apply A R R r11s u12neg x HxA) (from left to right).
We prove the intermediate claim Hr11sxI: apply_fun r11s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r11s Hr11s_cont x HxA).
We prove the intermediate claim Hr11sxR: apply_fun r11s x R.
An exact proof term for the current goal is (HIcR (apply_fun r11s x) Hr11sxI).
We prove the intermediate claim Hu12negRx: apply_fun u12neg x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u12neg Hu12neg_cont x HxA).
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun r11s x) (apply_fun u12neg x) Hr11sxR Hu12negRx).
rewrite the current goal using (compose_fun_apply A (pair_map A r11s u12neg) add_fun_R x HxA) (from left to right).
rewrite the current goal using (add_fun_R_apply (apply_fun (pair_map A r11s u12neg) x) Hpimg) (from left to right) at position 1.
rewrite the current goal using (pair_map_apply A R R r11s u12neg x HxA) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun r11s x) (apply_fun u12neg x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun r11s x) (apply_fun u12neg x)) (from left to right).
rewrite the current goal using (compose_fun_apply A u12 neg_fun x HxA) (from left to right) at position 1.
We prove the intermediate claim Hu12Rx: apply_fun u12 x R.
An exact proof term for the current goal is (continuous_map_function_on A Ta R R_standard_topology u12 Hu12contA x HxA).
rewrite the current goal using (neg_fun_apply (apply_fun u12 x) Hu12Rx) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr12_range: ∀x : set, x Aapply_fun r12 x I2.
We prove the intermediate claim Hu12AB: continuous_map X Tx I0 T0 u12 (∀x0 : set, x0 preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x0 = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 u12 (∀x0 : set, x0 preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r11s ((closed_interval one_third 1) I)apply_fun u12 x0 = one_third) Hu12).
We prove the intermediate claim Hu12_on_B12: ∀x0 : set, x0 preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x0 = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u12) (∀x0 : set, x0 preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x0 = minus_SNo one_third) Hu12AB).
We prove the intermediate claim Hu12_on_C12: ∀x0 : set, x0 preimage_of A r11s ((closed_interval one_third 1) I)apply_fun u12 x0 = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 u12 (∀x0 : set, x0 preimage_of A r11s ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u12 x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r11s ((closed_interval one_third 1) I)apply_fun u12 x0 = one_third) Hu12).
Let x be given.
Assume HxA: x A.
Set I1 to be the term closed_interval (minus_SNo 1) (minus_SNo one_third).
Set I3 to be the term closed_interval one_third 1.
Set B12 to be the term preimage_of A r11s (I1 I).
Set C12 to be the term preimage_of A r11s (I3 I).
We prove the intermediate claim Hr11sIx: apply_fun r11s x I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r11s Hr11s_cont x HxA).
We prove the intermediate claim HB12_cases: x B12 ¬ (x B12).
An exact proof term for the current goal is (xm (x B12)).
Apply (HB12_cases (apply_fun r12 x I2)) to the current goal.
Assume HxB12: x B12.
We prove the intermediate claim Hu12eq: apply_fun u12 x = minus_SNo one_third.
An exact proof term for the current goal is (Hu12_on_B12 x HxB12).
We prove the intermediate claim Hr12eq: apply_fun r12 x = add_SNo (apply_fun r11s x) one_third.
rewrite the current goal using (Hr12_apply x HxA) (from left to right).
rewrite the current goal using Hu12eq (from left to right) at position 1.
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr12eq (from left to right).
We prove the intermediate claim Hr11sI1I: apply_fun r11s x I1 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r11s x0 I1 I) x HxB12).
We prove the intermediate claim Hr11sI1: apply_fun r11s x I1.
An exact proof term for the current goal is (binintersectE1 I1 I (apply_fun r11s x) Hr11sI1I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr11sRx: apply_fun r11s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) (minus_SNo one_third) (apply_fun r11s x) Hr11sI1).
We prove the intermediate claim Hr11s_bounds: Rle (minus_SNo 1) (apply_fun r11s x) Rle (apply_fun r11s x) (minus_SNo one_third).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) (minus_SNo one_third) (apply_fun r11s x) Hm1R Hm13R Hr11sI1).
We prove the intermediate claim Hm1le: Rle (minus_SNo 1) (apply_fun r11s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r11s x)) (Rle (apply_fun r11s x) (minus_SNo one_third)) Hr11s_bounds).
We prove the intermediate claim HhiI1: Rle (apply_fun r11s x) (minus_SNo one_third).
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r11s x)) (Rle (apply_fun r11s x) (minus_SNo one_third)) Hr11s_bounds).
We prove the intermediate claim Hr12xR: add_SNo (apply_fun r11s x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r11s x) Hr11sRx one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r11s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r11s x) one_third Hm1R Hr11sRx H13R Hm1le).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r11s x) one_third).
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r11s x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r11s x) (minus_SNo one_third) one_third Hr11sRx Hm13R H13R HhiI1).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r11s x) one_third) 0.
rewrite the current goal using (add_SNo_minus_SNo_linv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is Hup0_tmp.
We prove the intermediate claim H0le23: Rle 0 two_thirds.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r11s x) one_third) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r11s x) one_third) 0 two_thirds Hup0 H0le23).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r11s x) one_third) Hm23R H23R Hr12xR Hlow Hup).
Assume HxnotB12: ¬ (x B12).
We prove the intermediate claim HC12_cases: x C12 ¬ (x C12).
An exact proof term for the current goal is (xm (x C12)).
Apply (HC12_cases (apply_fun r12 x I2)) to the current goal.
Assume HxC12: x C12.
We prove the intermediate claim Hu12eq: apply_fun u12 x = one_third.
An exact proof term for the current goal is (Hu12_on_C12 x HxC12).
We prove the intermediate claim Hr12eq: apply_fun r12 x = add_SNo (apply_fun r11s x) (minus_SNo one_third).
rewrite the current goal using (Hr12_apply x HxA) (from left to right).
rewrite the current goal using Hu12eq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr12eq (from left to right).
We prove the intermediate claim Hr11sI3I: apply_fun r11s x I3 I.
An exact proof term for the current goal is (SepE2 A (λx0 : setapply_fun r11s x0 I3 I) x HxC12).
We prove the intermediate claim Hr11sI3: apply_fun r11s x I3.
An exact proof term for the current goal is (binintersectE1 I3 I (apply_fun r11s x) Hr11sI3I).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr11sRx: apply_fun r11s x R.
An exact proof term for the current goal is (closed_interval_sub_R one_third 1 (apply_fun r11s x) Hr11sI3).
We prove the intermediate claim Hr11s_bounds: Rle one_third (apply_fun r11s x) Rle (apply_fun r11s x) 1.
An exact proof term for the current goal is (closed_interval_bounds one_third 1 (apply_fun r11s x) H13R real_1 Hr11sI3).
We prove the intermediate claim HloI3: Rle one_third (apply_fun r11s x).
An exact proof term for the current goal is (andEL (Rle one_third (apply_fun r11s x)) (Rle (apply_fun r11s x) 1) Hr11s_bounds).
We prove the intermediate claim HhiI3: Rle (apply_fun r11s x) 1.
An exact proof term for the current goal is (andER (Rle one_third (apply_fun r11s x)) (Rle (apply_fun r11s x) 1) Hr11s_bounds).
We prove the intermediate claim Hr12xR: add_SNo (apply_fun r11s x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r11s x) Hr11sRx (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r11s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r11s x) (minus_SNo one_third) H13R Hr11sRx Hm13R HloI3).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le: Rle 0 (add_SNo (apply_fun r11s x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r11s x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r11s x) (minus_SNo one_third)) Hm23le0 H0le).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r11s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r11s x) 1 (minus_SNo one_third) Hr11sRx real_1 Hm13R HhiI3).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r11s x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r11s x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r11s x) (minus_SNo one_third)) Hm23R H23R Hr12xR Hlow Hup).
Assume HxnotC12: ¬ (x C12).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HnotI1: ¬ (apply_fun r11s x I1).
Assume Hr11sI1': apply_fun r11s x I1.
We prove the intermediate claim Hr11sI1I: apply_fun r11s x I1 I.
An exact proof term for the current goal is (binintersectI I1 I (apply_fun r11s x) Hr11sI1' Hr11sIx).
We prove the intermediate claim HxB12': x B12.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r11s x0 I1 I) x HxA Hr11sI1I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotB12 HxB12').
We prove the intermediate claim HnotI3: ¬ (apply_fun r11s x I3).
Assume Hr11sI3': apply_fun r11s x I3.
We prove the intermediate claim Hr11sI3I: apply_fun r11s x I3 I.
An exact proof term for the current goal is (binintersectI I3 I (apply_fun r11s x) Hr11sI3' Hr11sIx).
We prove the intermediate claim HxC12': x C12.
An exact proof term for the current goal is (SepI A (λx0 : setapply_fun r11s x0 I3 I) x HxA Hr11sI3I).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HxnotC12 HxC12').
We prove the intermediate claim Hr11sRx: apply_fun r11s x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun r11s x) Hr11sIx).
We prove the intermediate claim Hm1R: minus_SNo 1 R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hr11s_boundsI: Rle (minus_SNo 1) (apply_fun r11s x) Rle (apply_fun r11s x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r11s x) Hm1R real_1 Hr11sIx).
We prove the intermediate claim Hnlt_fx_m1: ¬ (Rlt (apply_fun r11s x) (minus_SNo 1)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo 1) (apply_fun r11s x) (andEL (Rle (minus_SNo 1) (apply_fun r11s x)) (Rle (apply_fun r11s x) 1) Hr11s_boundsI)).
We prove the intermediate claim Hnlt_1_fx: ¬ (Rlt 1 (apply_fun r11s x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r11s x) 1 (andER (Rle (minus_SNo 1) (apply_fun r11s x)) (Rle (apply_fun r11s x) 1) Hr11s_boundsI)).
We prove the intermediate claim HnotI1_cases: Rlt (apply_fun r11s x) (minus_SNo 1) Rlt (minus_SNo one_third) (apply_fun r11s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases (minus_SNo 1) (minus_SNo one_third) (apply_fun r11s x) Hm1R Hm13R Hr11sRx HnotI1).
We prove the intermediate claim Hm13lt_fx: Rlt (minus_SNo one_third) (apply_fun r11s x).
Apply (HnotI1_cases (Rlt (minus_SNo one_third) (apply_fun r11s x))) to the current goal.
Assume Hbad: Rlt (apply_fun r11s x) (minus_SNo 1).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_fx_m1 Hbad).
Assume Hok: Rlt (minus_SNo one_third) (apply_fun r11s x).
An exact proof term for the current goal is Hok.
We prove the intermediate claim Hnot_fx_lt_m13: ¬ (Rlt (apply_fun r11s x) (minus_SNo one_third)).
An exact proof term for the current goal is (not_Rlt_sym (minus_SNo one_third) (apply_fun r11s x) Hm13lt_fx).
We prove the intermediate claim HnotI3_cases: Rlt (apply_fun r11s x) one_third Rlt 1 (apply_fun r11s x).
An exact proof term for the current goal is (closed_interval_not_mem_cases one_third 1 (apply_fun r11s x) H13R real_1 Hr11sRx HnotI3).
We prove the intermediate claim Hfx_lt_13: Rlt (apply_fun r11s x) one_third.
Apply (HnotI3_cases (Rlt (apply_fun r11s x) one_third)) to the current goal.
Assume Hok: Rlt (apply_fun r11s x) one_third.
An exact proof term for the current goal is Hok.
Assume Hbad: Rlt 1 (apply_fun r11s x).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hnlt_1_fx Hbad).
We prove the intermediate claim Hnot_13_lt_fx: ¬ (Rlt one_third (apply_fun r11s x)).
An exact proof term for the current goal is (not_Rlt_sym (apply_fun r11s x) one_third Hfx_lt_13).
We prove the intermediate claim Hr11sI0: apply_fun r11s x I0.
We prove the intermediate claim HI0_def: I0 = {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
Use reflexivity.
We prove the intermediate claim HxSep: apply_fun r11s x {tR|¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)}.
An exact proof term for the current goal is (SepI R (λt : set¬ (Rlt t (minus_SNo one_third)) ¬ (Rlt one_third t)) (apply_fun r11s x) Hr11sRx (andI (¬ (Rlt (apply_fun r11s x) (minus_SNo one_third))) (¬ (Rlt one_third (apply_fun r11s x))) Hnot_fx_lt_m13 Hnot_13_lt_fx)).
rewrite the current goal using HI0_def (from left to right).
An exact proof term for the current goal is HxSep.
We prove the intermediate claim Hu12funI0: function_on u12 X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 u12 Hu12contI0).
We prove the intermediate claim Hu12xI0: apply_fun u12 x I0.
An exact proof term for the current goal is (Hu12funI0 x HxX).
We prove the intermediate claim Hu12xR: apply_fun u12 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun u12 x) Hu12xI0).
We prove the intermediate claim Hm_u12x_R: minus_SNo (apply_fun u12 x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun u12 x) Hu12xR).
rewrite the current goal using (Hr12_apply x HxA) (from left to right).
We prove the intermediate claim Hr12xR: add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r11s x) (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r11s x) Hr11sI0) (minus_SNo (apply_fun u12 x)) Hm_u12x_R).
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hr11s_bounds0: Rle (minus_SNo one_third) (apply_fun r11s x) Rle (apply_fun r11s x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun r11s x) Hm13R H13R Hr11sI0).
We prove the intermediate claim Hu12_bounds0: Rle (minus_SNo one_third) (apply_fun u12 x) Rle (apply_fun u12 x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun u12 x) Hm13R H13R Hu12xI0).
We prove the intermediate claim Hr11s_le_13: Rle (apply_fun r11s x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun r11s x)) (Rle (apply_fun r11s x) one_third) Hr11s_bounds0).
We prove the intermediate claim Hr11s_ge_m13: Rle (minus_SNo one_third) (apply_fun r11s x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun r11s x)) (Rle (apply_fun r11s x) one_third) Hr11s_bounds0).
We prove the intermediate claim Hu12_le_13: Rle (apply_fun u12 x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun u12 x)) (Rle (apply_fun u12 x) one_third) Hu12_bounds0).
We prove the intermediate claim Hu12_ge_m13: Rle (minus_SNo one_third) (apply_fun u12 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun u12 x)) (Rle (apply_fun u12 x) one_third) Hu12_bounds0).
We prove the intermediate claim Hm13_le_mu12: Rle (minus_SNo one_third) (minus_SNo (apply_fun u12 x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun u12 x) one_third Hu12_le_13).
We prove the intermediate claim Hmu12_le_13: Rle (minus_SNo (apply_fun u12 x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun u12 x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun u12 x) Hu12_ge_m13).
rewrite the current goal using (minus_SNo_minus_SNo_real one_third H13R) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hlow1: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u12 x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun u12 x)) Hm13R Hm13R Hm_u12x_R Hm13_le_mu12).
We prove the intermediate claim Hlow2: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u12 x))) (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r11s x) (minus_SNo (apply_fun u12 x)) Hm13R (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r11s x) Hr11sI0) Hm_u12x_R Hr11s_ge_m13).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun u12 x))) (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))) Hlow1 Hlow2).
We prove the intermediate claim Hlow: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup1: Rle (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))) (add_SNo (apply_fun r11s x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r11s x) (minus_SNo (apply_fun u12 x)) one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r11s x) Hr11sI0) Hm_u12x_R H13R Hmu12_le_13).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r11s x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r11s x) one_third one_third (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun r11s x) Hr11sI0) H13R H13R Hr11s_le_13).
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))) (add_SNo (apply_fun r11s x) one_third) (add_SNo one_third one_third) Hup1 Hup2).
We prove the intermediate claim Hdef23: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))) two_thirds.
rewrite the current goal using Hdef23 (from left to right) at position 1.
An exact proof term for the current goal is Hup_tmp.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo two_thirds) two_thirds (add_SNo (apply_fun r11s x) (minus_SNo (apply_fun u12 x))) Hm23R H23R Hr12xR Hlow Hup).
Set r12s to be the term compose_fun A r12 (div_const_fun den).
We prove the intermediate claim Hr12s_cont: continuous_map A Ta I Ti r12s.
We prove the intermediate claim Hdivcont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den H23R H23pos).
We prove the intermediate claim Hr12s_contR: continuous_map A Ta R R_standard_topology r12s.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology r12 (div_const_fun den) Hr12_cont Hdivcont).
We prove the intermediate claim Hr12s_I: ∀x : set, x Aapply_fun r12s x I.
Let x be given.
Assume HxA: x A.
We prove the intermediate claim Hr12xI2: apply_fun r12 x I2.
An exact proof term for the current goal is (Hr12_range x HxA).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den H23R).
We prove the intermediate claim Hr12xR: apply_fun r12 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun r12 x) Hr12xI2).
We prove the intermediate claim Hr12xS: SNo (apply_fun r12 x).
An exact proof term for the current goal is (real_SNo (apply_fun r12 x) Hr12xR).
We prove the intermediate claim Hbounds: Rle (minus_SNo den) (apply_fun r12 x) Rle (apply_fun r12 x) den.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo den) den (apply_fun r12 x) HmdenR H23R Hr12xI2).
We prove the intermediate claim Hlo: Rle (minus_SNo den) (apply_fun r12 x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo den) (apply_fun r12 x)) (Rle (apply_fun r12 x) den) Hbounds).
We prove the intermediate claim Hhi: Rle (apply_fun r12 x) den.
An exact proof term for the current goal is (andER (Rle (minus_SNo den) (apply_fun r12 x)) (Rle (apply_fun r12 x) den) Hbounds).
We prove the intermediate claim Hnlt_hi: ¬ (Rlt den (apply_fun r12 x)).
An exact proof term for the current goal is (RleE_nlt (apply_fun r12 x) den Hhi).
We prove the intermediate claim Hnlt_lo: ¬ (Rlt (apply_fun r12 x) (minus_SNo den)).
An exact proof term for the current goal is (RleE_nlt (minus_SNo den) (apply_fun r12 x) Hlo).
We prove the intermediate claim HyEq: apply_fun r12s x = div_SNo (apply_fun r12 x) den.
rewrite the current goal using (compose_fun_apply A r12 (div_const_fun den) x HxA) (from left to right).
rewrite the current goal using (div_const_fun_apply den (apply_fun r12 x) H23R Hr12xR) (from left to right).
Use reflexivity.
We prove the intermediate claim HyR: apply_fun r12s x R.
rewrite the current goal using HyEq (from left to right).
An exact proof term for the current goal is (real_div_SNo (apply_fun r12 x) Hr12xR den H23R).
We prove the intermediate claim HyS: SNo (apply_fun r12s x).
An exact proof term for the current goal is (real_SNo (apply_fun r12s x) HyR).
We prove the intermediate claim Hy_le_1: Rle (apply_fun r12s x) 1.
Apply (RleI (apply_fun r12s x) 1 HyR real_1) to the current goal.
We will prove ¬ (Rlt 1 (apply_fun r12s x)).
Assume H1lt: Rlt 1 (apply_fun r12s x).
We prove the intermediate claim H1lty: 1 < apply_fun r12s x.
An exact proof term for the current goal is (RltE_lt 1 (apply_fun r12s x) H1lt).
We prove the intermediate claim HmulLt: mul_SNo 1 den < mul_SNo (apply_fun r12s x) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' 1 (apply_fun r12s x) den SNo_1 HyS H23S H23pos H1lty).
We prove the intermediate claim HmulLt': den < mul_SNo (apply_fun r12s x) den.
rewrite the current goal using (mul_SNo_oneL den H23S) (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r12s x) den = apply_fun r12 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r12 x) den Hr12xS H23S H23ne0).
We prove the intermediate claim Hden_lt_r12x: den < apply_fun r12 x.
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt'.
We prove the intermediate claim Hbad: Rlt den (apply_fun r12 x).
An exact proof term for the current goal is (RltI den (apply_fun r12 x) H23R Hr12xR Hden_lt_r12x).
An exact proof term for the current goal is (Hnlt_hi Hbad).
We prove the intermediate claim Hm1_le_y: Rle (minus_SNo 1) (apply_fun r12s x).
Apply (RleI (minus_SNo 1) (apply_fun r12s x) Hm1R HyR) to the current goal.
We will prove ¬ (Rlt (apply_fun r12s x) (minus_SNo 1)).
Assume Hylt: Rlt (apply_fun r12s x) (minus_SNo 1).
We prove the intermediate claim Hylts: apply_fun r12s x < minus_SNo 1.
An exact proof term for the current goal is (RltE_lt (apply_fun r12s x) (minus_SNo 1) Hylt).
We prove the intermediate claim HmulLt: mul_SNo (apply_fun r12s x) den < mul_SNo (minus_SNo 1) den.
An exact proof term for the current goal is (pos_mul_SNo_Lt' (apply_fun r12s x) (minus_SNo 1) den HyS (SNo_minus_SNo 1 SNo_1) H23S H23pos Hylts).
We prove the intermediate claim HmulEq: mul_SNo (apply_fun r12s x) den = apply_fun r12 x.
rewrite the current goal using HyEq (from left to right) at position 1.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun r12 x) den Hr12xS H23S H23ne0).
We prove the intermediate claim HrhsEq: mul_SNo (minus_SNo 1) den = minus_SNo den.
rewrite the current goal using (mul_SNo_minus_distrL 1 den SNo_1 H23S) (from left to right) at position 1.
rewrite the current goal using (mul_SNo_oneL den H23S) (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim Hr12x_lt_mden: apply_fun r12 x < minus_SNo den.
rewrite the current goal using HmulEq (from right to left).
rewrite the current goal using HrhsEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hbad: Rlt (apply_fun r12 x) (minus_SNo den).
An exact proof term for the current goal is (RltI (apply_fun r12 x) (minus_SNo den) Hr12xR HmdenR Hr12x_lt_mden).
An exact proof term for the current goal is (Hnlt_lo Hbad).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (apply_fun r12s x) Hm1R real_1 HyR Hm1_le_y Hy_le_1).
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology r12s I Hr12s_contR HIcR Hr12s_I).
We prove the intermediate claim Hexfn: ∃fn : set, function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n)) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I) (∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x)) uniform_cauchy_metric X R R_bounded_metric fn.
Set I0 to be the term closed_interval (minus_SNo one_third) one_third.
Set u_of to be the term (λr : setEps_i (λu : setcontinuous_map X Tx I0 T0 u (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u x = minus_SNo one_third) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun u x = one_third))).
We prove the intermediate claim Hu_of_prop: ∀r : set, continuous_map A Ta I Ti rcontinuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x = one_third).
Let r be given.
Assume Hr: continuous_map A Ta I Ti r.
Set P to be the term (λu : setcontinuous_map X Tx I0 T0 u (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun u x = minus_SNo one_third) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun u x = one_third)).
We prove the intermediate claim Hexu: ∃u : set, P u.
An exact proof term for the current goal is (Tietze_stepI_g_exists X Tx A r Hnorm HA Hr).
Apply Hexu to the current goal.
Let u be given.
Assume Hu.
We prove the intermediate claim HP: P (Eps_i P).
An exact proof term for the current goal is (Eps_i_ax P u Hu).
We prove the intermediate claim Hu_eq: u_of r = Eps_i P.
Use reflexivity.
rewrite the current goal using Hu_eq (from left to right).
An exact proof term for the current goal is HP.
Set g0g to be the term graph X (λx : setapply_fun g0 x).
Set BaseState to be the term (g0g,(f1s,den)).
Set StepState to be the term (λn st : set(compose_fun X (pair_map X (st 0) (compose_fun X (u_of ((st 1) 0)) (mul_const_fun ((st 1) 1)))) add_fun_R,(compose_fun A (compose_fun A (pair_map A ((st 1) 0) (compose_fun A (u_of ((st 1) 0)) neg_fun)) add_fun_R) (div_const_fun den),mul_SNo ((st 1) 1) den))).
Set State to be the term (λn : setnat_primrec BaseState StepState n).
Set fn to be the term graph ω (λn : set(State n) 0).
We use fn to witness the existential quantifier.
We prove the intermediate claim HInv_cpos: ∀n : set, n ω((State n) 1) 1 R 0 < ((State n) 1) 1.
We prove the intermediate claim HInv_nat: ∀n : set, nat_p n((State n) 1) 1 R 0 < ((State n) 1) 1.
Apply nat_ind to the current goal.
We will prove ((State 0) 1) 1 R 0 < ((State 0) 1) 1.
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
We prove the intermediate claim HtEq: ((g0g,(f1s,den)) 1) 1 = den.
rewrite the current goal using (tuple_2_1_eq g0g (f1s,den)) (from left to right) at position 1.
rewrite the current goal using (tuple_2_1_eq f1s den) (from left to right) at position 1.
Use reflexivity.
Apply andI to the current goal.
rewrite the current goal using HtEq (from left to right).
An exact proof term for the current goal is HdenR.
rewrite the current goal using HtEq (from left to right).
An exact proof term for the current goal is HdenPos.
Let n be given.
Assume HnNat: nat_p n.
Assume IH: ((State n) 1) 1 R 0 < ((State n) 1) 1.
We will prove ((State (ordsucc n)) 1) 1 R 0 < ((State (ordsucc n)) 1) 1.
We prove the intermediate claim HS: State (ordsucc n) = StepState n (State n).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState n HnNat).
rewrite the current goal using HS (from left to right).
Set st to be the term State n.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim Hdef: StepState n st = (gNew,(rNew,cNew)).
Use reflexivity.
We prove the intermediate claim HtEq: ((StepState n st) 1) 1 = cNew.
We prove the intermediate claim Hinner: (StepState n st) 1 = (rNew,cNew).
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq gNew (rNew,cNew)).
rewrite the current goal using Hinner (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq rNew cNew).
We prove the intermediate claim Hc_eq: c = ((State n) 1) 1.
Use reflexivity.
We prove the intermediate claim HcR0: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) IH).
We prove the intermediate claim Hcpos0: 0 < ((State n) 1) 1.
An exact proof term for the current goal is (andER (((State n) 1) 1 R) (0 < ((State n) 1) 1) IH).
We prove the intermediate claim HcR: c R.
rewrite the current goal using Hc_eq (from left to right).
An exact proof term for the current goal is HcR0.
We prove the intermediate claim Hcpos: 0 < c.
rewrite the current goal using Hc_eq (from left to right).
An exact proof term for the current goal is Hcpos0.
We prove the intermediate claim HcS: SNo c.
An exact proof term for the current goal is (real_SNo c HcR).
We prove the intermediate claim HdenS: SNo den.
An exact proof term for the current goal is (real_SNo den HdenR).
We prove the intermediate claim HcNewR: cNew R.
An exact proof term for the current goal is (real_mul_SNo c HcR den HdenR).
We prove the intermediate claim HcNewPos: 0 < cNew.
An exact proof term for the current goal is (mul_SNo_pos_pos c den HcS HdenS Hcpos HdenPos).
Apply andI to the current goal.
rewrite the current goal using HtEq (from left to right).
An exact proof term for the current goal is HcNewR.
rewrite the current goal using HtEq (from left to right).
An exact proof term for the current goal is HcNewPos.
Let n be given.
Assume HnO: n ω.
An exact proof term for the current goal is (HInv_nat n (omega_nat_p n HnO)).
We prove the intermediate claim HInv_c_lt1: ∀n : set, n ω((State n) 1) 1 < 1.
We prove the intermediate claim HInv_nat: ∀n : set, nat_p n((State n) 1) 1 < 1.
Apply nat_ind to the current goal.
We will prove ((State 0) 1) 1 < 1.
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
We prove the intermediate claim HtEq: ((g0g,(f1s,den)) 1) 1 = den.
rewrite the current goal using (tuple_2_1_eq g0g (f1s,den)) (from left to right) at position 1.
rewrite the current goal using (tuple_2_1_eq f1s den) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using HtEq (from left to right).
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
rewrite the current goal using HdenDef (from left to right).
An exact proof term for the current goal is (RltE_lt two_thirds 1 Rlt_two_thirds_1).
Let n be given.
Assume HnNat: nat_p n.
Assume IH: ((State n) 1) 1 < 1.
We will prove ((State (ordsucc n)) 1) 1 < 1.
We prove the intermediate claim HS: State (ordsucc n) = StepState n (State n).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState n HnNat).
rewrite the current goal using HS (from left to right).
Set st to be the term State n.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim Hdef: StepState n st = (gNew,(rNew,cNew)).
Use reflexivity.
We prove the intermediate claim HtEq: ((StepState n st) 1) 1 = cNew.
We prove the intermediate claim Hinner: (StepState n st) 1 = (rNew,cNew).
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq gNew (rNew,cNew)).
rewrite the current goal using Hinner (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq rNew cNew).
rewrite the current goal using HtEq (from left to right).
We prove the intermediate claim HnO: n ω.
An exact proof term for the current goal is (nat_p_omega n HnNat).
We prove the intermediate claim Hcpack: ((State n) 1) 1 R 0 < ((State n) 1) 1.
An exact proof term for the current goal is (HInv_cpos n HnO).
We prove the intermediate claim HcR: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) Hcpack).
We prove the intermediate claim Hcpos: 0 < ((State n) 1) 1.
An exact proof term for the current goal is (andER (((State n) 1) 1 R) (0 < ((State n) 1) 1) Hcpack).
We prove the intermediate claim HcS: SNo (((State n) 1) 1).
An exact proof term for the current goal is (real_SNo (((State n) 1) 1) HcR).
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
We prove the intermediate claim HdenLt1: den < 1.
rewrite the current goal using HdenDef (from left to right).
An exact proof term for the current goal is (RltE_lt two_thirds 1 Rlt_two_thirds_1).
We prove the intermediate claim HdenS: SNo den.
An exact proof term for the current goal is (real_SNo den HdenR).
We prove the intermediate claim HmulLt: mul_SNo den (((State n) 1) 1) < ((State n) 1) 1.
An exact proof term for the current goal is (mul_SNo_Lt1_pos_Lt den (((State n) 1) 1) HdenS HcS HdenLt1 Hcpos).
We prove the intermediate claim HmulEq: mul_SNo den (((State n) 1) 1) = mul_SNo (((State n) 1) 1) den.
An exact proof term for the current goal is (mul_SNo_com den (((State n) 1) 1) HdenS HcS).
We prove the intermediate claim HcNewLt: cNew < ((State n) 1) 1.
We prove the intermediate claim HcEq: c = ((State n) 1) 1.
Use reflexivity.
rewrite the current goal using HcEq (from left to right) at position 1.
rewrite the current goal using HmulEq (from right to left) at position 1.
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim HcNewR: cNew R.
We prove the intermediate claim HcEq: c = ((State n) 1) 1.
Use reflexivity.
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (real_mul_SNo (((State n) 1) 1) HcR den HdenR).
We prove the intermediate claim HcNewS: SNo cNew.
An exact proof term for the current goal is (real_SNo cNew HcNewR).
An exact proof term for the current goal is (SNoLt_tra cNew (((State n) 1) 1) 1 HcNewS HcS SNo_1 HcNewLt IH).
Let n be given.
Assume HnO: n ω.
An exact proof term for the current goal is (HInv_nat n (omega_nat_p n HnO)).
We prove the intermediate claim HInv_r_contI: ∀n : set, n ωcontinuous_map A Ta I Ti (((State n) 1) 0).
We prove the intermediate claim HInv_nat: ∀n : set, nat_p ncontinuous_map A Ta I Ti (((State n) 1) 0).
Apply nat_ind to the current goal.
We will prove continuous_map A Ta I Ti (((State 0) 1) 0).
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
We prove the intermediate claim Hr0eq: (((g0g,(f1s,den)) 1) 0) = f1s.
rewrite the current goal using (tuple_2_1_eq g0g (f1s,den)) (from left to right) at position 1.
rewrite the current goal using (tuple_2_0_eq f1s den) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hr0eq (from left to right).
An exact proof term for the current goal is Hf1s_cont.
Let n be given.
Assume HnNat: nat_p n.
Assume IH: continuous_map A Ta I Ti (((State n) 1) 0).
We will prove continuous_map A Ta I Ti (((State (ordsucc n)) 1) 0).
We prove the intermediate claim HS: State (ordsucc n) = StepState n (State n).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState n HnNat).
rewrite the current goal using HS (from left to right).
Set st to be the term State n.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim Hdef: StepState n st = (gNew,(rNew,cNew)).
Use reflexivity.
We prove the intermediate claim HrEq: ((StepState n st) 1) 0 = rNew.
We prove the intermediate claim Hinner: (StepState n st) 1 = (rNew,cNew).
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq gNew (rNew,cNew)).
rewrite the current goal using Hinner (from left to right).
An exact proof term for the current goal is (tuple_2_0_eq rNew cNew).
rewrite the current goal using HrEq (from left to right).
We prove the intermediate claim HIcR: I R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1).
We prove the intermediate claim HTiEq: Ti = subspace_topology R R_standard_topology I.
Use reflexivity.
We prove the intermediate claim Hr_contI: continuous_map A Ta I Ti r.
We prove the intermediate claim HrEq0: r = ((State n) 1) 0.
Use reflexivity.
rewrite the current goal using HrEq0 (from left to right).
An exact proof term for the current goal is IH.
We prove the intermediate claim Hr_contR: continuous_map A Ta R R_standard_topology r.
An exact proof term for the current goal is (continuous_map_range_expand A Ta I Ti R R_standard_topology r Hr_contI HIcR R_standard_topology_is_topology_local HTiEq).
We prove the intermediate claim Hu_pack: continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x = one_third).
An exact proof term for the current goal is (Hu_of_prop r Hr_contI).
We prove the intermediate claim Hu_left: continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third)) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x = one_third) Hu_pack).
We prove the intermediate claim Hu_contI0: continuous_map X Tx I0 T0 (u_of r).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r)) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third) Hu_left).
We prove the intermediate claim HI0cR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
We prove the intermediate claim HT0eq: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim Hu_contR: continuous_map X Tx R R_standard_topology (u_of r).
An exact proof term for the current goal is (continuous_map_range_expand X Tx I0 T0 R R_standard_topology (u_of r) Hu_contI0 HI0cR R_standard_topology_is_topology_local HT0eq).
We prove the intermediate claim HTx: topology_on X Tx.
An exact proof term for the current goal is (normal_space_topology_on X Tx Hnorm).
We prove the intermediate claim HAsubX: A X.
An exact proof term for the current goal is (closed_in_subset X Tx A HA).
We prove the intermediate claim HuA_contR: continuous_map A Ta R R_standard_topology (u_of r).
An exact proof term for the current goal is (continuous_on_subspace X Tx R R_standard_topology (u_of r) A HTx HAsubX Hu_contR).
We prove the intermediate claim Hneg_cont: continuous_map R R_standard_topology R R_standard_topology neg_fun.
An exact proof term for the current goal is neg_fun_continuous.
We prove the intermediate claim HnegA_contR: continuous_map A Ta R R_standard_topology (compose_fun A (u_of r) neg_fun).
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology (u_of r) neg_fun HuA_contR Hneg_cont).
We prove the intermediate claim Hpair_cont: continuous_map A Ta (setprod R R) (product_topology R R_standard_topology R R_standard_topology) (pair_map A r (compose_fun A (u_of r) neg_fun)).
An exact proof term for the current goal is (maps_into_products_axiom A Ta R R_standard_topology R R_standard_topology r (compose_fun A (u_of r) neg_fun) Hr_contR HnegA_contR).
An exact proof term for the current goal is add_fun_R_continuous.
We prove the intermediate claim Hh_cont: continuous_map A Ta R R_standard_topology (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R).
An exact proof term for the current goal is (composition_continuous A Ta (setprod R R) (product_topology R R_standard_topology R R_standard_topology) R R_standard_topology (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R Hpair_cont Hadd_cont).
We prove the intermediate claim Hdiv_cont: continuous_map R R_standard_topology R R_standard_topology (div_const_fun den).
An exact proof term for the current goal is (div_const_fun_continuous_pos den HdenR HdenPos).
We prove the intermediate claim HrNew_contR: continuous_map A Ta R R_standard_topology rNew.
An exact proof term for the current goal is (composition_continuous A Ta R R_standard_topology R R_standard_topology (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den) Hh_cont Hdiv_cont).
We prove the intermediate claim HrNew_img: ∀x : set, x Aapply_fun rNew x I.
Let x be given.
Assume HxA: x A.
Set rNum to be the term compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R.
Set I2 to be the term closed_interval (minus_SNo den) den.
We prove the intermediate claim HrNumI2: apply_fun rNum x I2.
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim Hfun_r: function_on r A I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r Hr_contI).
We prove the intermediate claim HrxI: apply_fun r x I.
An exact proof term for the current goal is (Hfun_r x HxA).
We prove the intermediate claim HrxR: apply_fun r x R.
An exact proof term for the current goal is (HIcR (apply_fun r x) HrxI).
We prove the intermediate claim Hfun_u: function_on (u_of r) X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 (u_of r) Hu_contI0).
We prove the intermediate claim HuxI0: apply_fun (u_of r) x I0.
An exact proof term for the current goal is (Hfun_u x HxX).
We prove the intermediate claim HuxR: apply_fun (u_of r) x R.
An exact proof term for the current goal is (HI0cR (apply_fun (u_of r) x) HuxI0).
We prove the intermediate claim HrNumEq: apply_fun rNum x = add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x)).
An exact proof term for the current goal is (add_of_pair_map_neg_apply A r (u_of r) x HxA HrxR HuxR).
Apply (xm (Rlt (apply_fun r x) (minus_SNo one_third))) to the current goal.
Assume Hr_lt_left: Rlt (apply_fun r x) (minus_SNo one_third).
We prove the intermediate claim Hu_left_eq: ∀y : set, y preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) y = minus_SNo one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 (u_of r)) (∀y0 : set, y0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) y0 = minus_SNo one_third) Hu_left).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm13R: (minus_SNo one_third) R.
An exact proof term for the current goal is (real_minus_SNo one_third one_third_in_R).
We prove the intermediate claim HrxB: Rle (minus_SNo 1) (apply_fun r x) Rle (apply_fun r x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r x) Hm1R real_1 HrxI).
We prove the intermediate claim Hlo: Rle (minus_SNo 1) (apply_fun r x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo 1) (apply_fun r x)) (Rle (apply_fun r x) 1) HrxB).
We prove the intermediate claim Hhi: Rle (apply_fun r x) (minus_SNo one_third).
An exact proof term for the current goal is (Rlt_implies_Rle (apply_fun r x) (minus_SNo one_third) Hr_lt_left).
We prove the intermediate claim HrxIleft: apply_fun r x closed_interval (minus_SNo 1) (minus_SNo one_third).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) (minus_SNo one_third) (apply_fun r x) Hm1R Hm13R HrxR Hlo Hhi).
We prove the intermediate claim HrxV: apply_fun r x (closed_interval (minus_SNo 1) (minus_SNo one_third)) I.
An exact proof term for the current goal is (binintersectI (closed_interval (minus_SNo 1) (minus_SNo one_third)) I (apply_fun r x) HrxIleft HrxI).
We prove the intermediate claim HxPre: x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I).
An exact proof term for the current goal is (SepI A (λz : setapply_fun r z ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)) x HxA HrxV).
We prove the intermediate claim HuxEq: apply_fun (u_of r) x = minus_SNo one_third.
An exact proof term for the current goal is (Hu_left_eq x HxPre).
We prove the intermediate claim HrNumEqL: apply_fun rNum x = add_SNo (apply_fun r x) one_third.
rewrite the current goal using HrNumEq (from left to right).
rewrite the current goal using HuxEq (from left to right).
rewrite the current goal using (minus_SNo_minus_SNo_R one_third one_third_in_R) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using HrNumEqL (from left to right).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
We prove the intermediate claim HmdenR: (minus_SNo den) R.
An exact proof term for the current goal is (real_minus_SNo den HdenR).
We prove the intermediate claim HsumR: add_SNo (apply_fun r x) one_third R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r x) HrxR one_third H13R).
We prove the intermediate claim Hlow_tmp: Rle (add_SNo (minus_SNo 1) one_third) (add_SNo (apply_fun r x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo 1) (apply_fun r x) one_third Hm1R HrxR H13R Hlo).
We prove the intermediate claim Hlow: Rle (minus_SNo den) (add_SNo (apply_fun r x) one_third).
rewrite the current goal using HdenDef (from left to right) at position 1.
rewrite the current goal using minus_two_thirds_eq_minus1_plus_one_third (from left to right) at position 1.
An exact proof term for the current goal is Hlow_tmp.
We prove the intermediate claim Hup0_tmp: Rle (add_SNo (apply_fun r x) one_third) (add_SNo (minus_SNo one_third) one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r x) (minus_SNo one_third) one_third HrxR Hm13R H13R Hhi).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r x) one_third) 0.
We prove the intermediate claim HtR: add_SNo (minus_SNo one_third) one_third R.
An exact proof term for the current goal is (real_add_SNo (minus_SNo one_third) Hm13R one_third H13R).
We prove the intermediate claim HtEq0: add_SNo (minus_SNo one_third) one_third = 0.
An exact proof term for the current goal is (add_SNo_minus_SNo_linv one_third H13S).
We prove the intermediate claim Ht0: Rle (add_SNo (minus_SNo one_third) one_third) 0.
rewrite the current goal using HtEq0 (from left to right).
An exact proof term for the current goal is (Rle_refl 0 real_0).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r x) one_third) (add_SNo (minus_SNo one_third) one_third) 0 Hup0_tmp Ht0).
We prove the intermediate claim H0leDen: Rle 0 den.
rewrite the current goal using HdenDef (from left to right) at position 1.
An exact proof term for the current goal is Rle_0_two_thirds.
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r x) one_third) den.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r x) one_third) 0 den Hup0 H0leDen).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo den) den (add_SNo (apply_fun r x) one_third) HmdenR HdenR HsumR Hlow Hup).
Assume Hr_not_lt_left: ¬ (Rlt (apply_fun r x) (minus_SNo one_third)).
Apply (xm (Rlt one_third (apply_fun r x))) to the current goal.
Assume Hr_lt_right: Rlt one_third (apply_fun r x).
We prove the intermediate claim Hu_right_eq: ∀y : set, y preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) y = one_third.
An exact proof term for the current goal is (andER (continuous_map X Tx I0 T0 (u_of r) (∀y0 : set, y0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) y0 = minus_SNo one_third)) (∀y0 : set, y0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) y0 = one_third) Hu_pack).
We prove the intermediate claim HrxB: Rle (minus_SNo 1) (apply_fun r x) Rle (apply_fun r x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r x) (real_minus_SNo 1 real_1) real_1 HrxI).
We prove the intermediate claim Hhi: Rle (apply_fun r x) 1.
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r x)) (Rle (apply_fun r x) 1) HrxB).
We prove the intermediate claim Hlo: Rle one_third (apply_fun r x).
An exact proof term for the current goal is (Rlt_implies_Rle one_third (apply_fun r x) Hr_lt_right).
We prove the intermediate claim HrxIright: apply_fun r x closed_interval one_third 1.
An exact proof term for the current goal is (closed_intervalI_of_Rle one_third 1 (apply_fun r x) one_third_in_R real_1 HrxR Hlo Hhi).
We prove the intermediate claim HrxV: apply_fun r x (closed_interval one_third 1) I.
An exact proof term for the current goal is (binintersectI (closed_interval one_third 1) I (apply_fun r x) HrxIright HrxI).
We prove the intermediate claim HxPre: x preimage_of A r ((closed_interval one_third 1) I).
An exact proof term for the current goal is (SepI A (λz : setapply_fun r z ((closed_interval one_third 1) I)) x HxA HrxV).
We prove the intermediate claim HuxEq: apply_fun (u_of r) x = one_third.
An exact proof term for the current goal is (Hu_right_eq x HxPre).
We prove the intermediate claim HrNumEqR: apply_fun rNum x = add_SNo (apply_fun r x) (minus_SNo one_third).
rewrite the current goal using HrNumEq (from left to right).
rewrite the current goal using HuxEq (from left to right).
Use reflexivity.
rewrite the current goal using HrNumEqR (from left to right).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hm23R: minus_SNo two_thirds R.
An exact proof term for the current goal is (real_minus_SNo two_thirds H23R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim HrxB: Rle (minus_SNo 1) (apply_fun r x) Rle (apply_fun r x) 1.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo 1) 1 (apply_fun r x) (real_minus_SNo 1 real_1) real_1 HrxI).
We prove the intermediate claim Hrxle1: Rle (apply_fun r x) 1.
An exact proof term for the current goal is (andER (Rle (minus_SNo 1) (apply_fun r x)) (Rle (apply_fun r x) 1) HrxB).
We prove the intermediate claim HrNumR: add_SNo (apply_fun r x) (minus_SNo one_third) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r x) HrxR (minus_SNo one_third) Hm13R).
We prove the intermediate claim H0le_rNum_tmp: Rle (add_SNo one_third (minus_SNo one_third)) (add_SNo (apply_fun r x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 one_third (apply_fun r x) (minus_SNo one_third) H13R HrxR Hm13R Hlo).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim H0le_rNum: Rle 0 (add_SNo (apply_fun r x) (minus_SNo one_third)).
rewrite the current goal using (add_SNo_minus_SNo_rinv one_third H13S) (from right to left) at position 1.
An exact proof term for the current goal is H0le_rNum_tmp.
We prove the intermediate claim Hm23le0: Rle (minus_SNo two_thirds) 0.
An exact proof term for the current goal is Rle_minus_two_thirds_0.
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
We prove the intermediate claim Hlow0: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r x) (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_tra (minus_SNo two_thirds) 0 (add_SNo (apply_fun r x) (minus_SNo one_third)) Hm23le0 H0le_rNum).
We prove the intermediate claim Hlow: Rle (minus_SNo den) (add_SNo (apply_fun r x) (minus_SNo one_third)).
rewrite the current goal using HdenDef (from left to right) at position 1.
An exact proof term for the current goal is Hlow0.
We prove the intermediate claim Hup_tmp: Rle (add_SNo (apply_fun r x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r x) 1 (minus_SNo one_third) HrxR real_1 Hm13R Hrxle1).
We prove the intermediate claim Hup1: Rle (add_SNo 1 (minus_SNo one_third)) two_thirds.
rewrite the current goal using two_thirds_eq_1_minus_one_third (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup0: Rle (add_SNo (apply_fun r x) (minus_SNo one_third)) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r x) (minus_SNo one_third)) (add_SNo 1 (minus_SNo one_third)) two_thirds Hup_tmp Hup1).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r x) (minus_SNo one_third)) den.
rewrite the current goal using HdenDef (from left to right) at position 1.
An exact proof term for the current goal is Hup0.
We prove the intermediate claim HmdenR: minus_SNo den R.
An exact proof term for the current goal is (real_minus_SNo den HdenR).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo den) den (add_SNo (apply_fun r x) (minus_SNo one_third)) HmdenR HdenR HrNumR Hlow Hup).
Assume Hr_not_lt_right: ¬ (Rlt one_third (apply_fun r x)).
We prove the intermediate claim Hm13R: (minus_SNo one_third) R.
An exact proof term for the current goal is (real_minus_SNo one_third one_third_in_R).
We prove the intermediate claim Hm13_le_rx: Rle (minus_SNo one_third) (apply_fun r x).
Apply (RleI (minus_SNo one_third) (apply_fun r x) Hm13R HrxR) to the current goal.
We will prove ¬ (Rlt (apply_fun r x) (minus_SNo one_third)).
An exact proof term for the current goal is Hr_not_lt_left.
We prove the intermediate claim Hrx_le_13: Rle (apply_fun r x) one_third.
Apply (RleI (apply_fun r x) one_third HrxR one_third_in_R) to the current goal.
We will prove ¬ (Rlt one_third (apply_fun r x)).
An exact proof term for the current goal is Hr_not_lt_right.
We prove the intermediate claim HrxI0: apply_fun r x closed_interval (minus_SNo one_third) one_third.
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo one_third) one_third (apply_fun r x) Hm13R one_third_in_R HrxR Hm13_le_rx Hrx_le_13).
rewrite the current goal using HrNumEq (from left to right).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim Hux_bounds: Rle (minus_SNo one_third) (apply_fun (u_of r) x) Rle (apply_fun (u_of r) x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun (u_of r) x) Hm13R one_third_in_R HuxI0).
We prove the intermediate claim Hm13_le_ux: Rle (minus_SNo one_third) (apply_fun (u_of r) x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun (u_of r) x)) (Rle (apply_fun (u_of r) x) one_third) Hux_bounds).
We prove the intermediate claim Hux_le_13: Rle (apply_fun (u_of r) x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun (u_of r) x)) (Rle (apply_fun (u_of r) x) one_third) Hux_bounds).
We prove the intermediate claim Hm13_le_negux: Rle (minus_SNo one_third) (minus_SNo (apply_fun (u_of r) x)).
An exact proof term for the current goal is (Rle_minus_contra (apply_fun (u_of r) x) one_third Hux_le_13).
We prove the intermediate claim Hnegux_le_13: Rle (minus_SNo (apply_fun (u_of r) x)) one_third.
We prove the intermediate claim Htmp: Rle (minus_SNo (apply_fun (u_of r) x)) (minus_SNo (minus_SNo one_third)).
An exact proof term for the current goal is (Rle_minus_contra (minus_SNo one_third) (apply_fun (u_of r) x) Hm13_le_ux).
We prove the intermediate claim Hmid: Rle (minus_SNo (minus_SNo one_third)) one_third.
rewrite the current goal using (minus_SNo_minus_SNo_R one_third one_third_in_R) (from left to right) at position 1.
An exact proof term for the current goal is (Rle_refl one_third one_third_in_R).
An exact proof term for the current goal is (Rle_tra (minus_SNo (apply_fun (u_of r) x)) (minus_SNo (minus_SNo one_third)) one_third Htmp Hmid).
We prove the intermediate claim Hm13R2: minus_SNo one_third R.
An exact proof term for the current goal is Hm13R.
We prove the intermediate claim HneguxR: minus_SNo (apply_fun (u_of r) x) R.
An exact proof term for the current goal is (real_minus_SNo (apply_fun (u_of r) x) HuxR).
We prove the intermediate claim HrNumR: add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x)) R.
An exact proof term for the current goal is (real_add_SNo (apply_fun r x) HrxR (minus_SNo (apply_fun (u_of r) x)) HneguxR).
We prove the intermediate claim Hlow0a: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun (u_of r) x))).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo one_third) (minus_SNo one_third) (minus_SNo (apply_fun (u_of r) x)) Hm13R2 Hm13R2 HneguxR Hm13_le_negux).
We prove the intermediate claim Hlow0b: Rle (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun (u_of r) x))) (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))).
An exact proof term for the current goal is (Rle_add_SNo_1 (minus_SNo one_third) (apply_fun r x) (minus_SNo (apply_fun (u_of r) x)) Hm13R2 HrxR HneguxR Hm13_le_rx).
We prove the intermediate claim Hlow0: Rle (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))).
An exact proof term for the current goal is (Rle_tra (add_SNo (minus_SNo one_third) (minus_SNo one_third)) (add_SNo (minus_SNo one_third) (minus_SNo (apply_fun (u_of r) x))) (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))) Hlow0a Hlow0b).
We prove the intermediate claim Hlow2: Rle (minus_SNo two_thirds) (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))).
rewrite the current goal using minus_two_thirds_eq (from left to right) at position 1.
An exact proof term for the current goal is Hlow0.
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
We prove the intermediate claim Hlow: Rle (minus_SNo den) (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))).
rewrite the current goal using HdenDef (from left to right) at position 1.
An exact proof term for the current goal is Hlow2.
We prove the intermediate claim Hup0a: Rle (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))) (add_SNo (apply_fun r x) one_third).
An exact proof term for the current goal is (Rle_add_SNo_2 (apply_fun r x) (minus_SNo (apply_fun (u_of r) x)) one_third HrxR HneguxR H13R Hnegux_le_13).
We prove the intermediate claim Hup0b: Rle (add_SNo (apply_fun r x) one_third) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_add_SNo_1 (apply_fun r x) one_third one_third HrxR H13R H13R Hrx_le_13).
We prove the intermediate claim Hup0c: Rle (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))) (add_SNo one_third one_third).
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))) (add_SNo (apply_fun r x) one_third) (add_SNo one_third one_third) Hup0a Hup0b).
We prove the intermediate claim Htwo_def: two_thirds = add_SNo one_third one_third.
Use reflexivity.
We prove the intermediate claim Hup1: Rle (add_SNo one_third one_third) two_thirds.
rewrite the current goal using Htwo_def (from right to left) at position 1.
An exact proof term for the current goal is (Rle_refl two_thirds H23R).
We prove the intermediate claim Hup2: Rle (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))) two_thirds.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))) (add_SNo one_third one_third) two_thirds Hup0c Hup1).
We prove the intermediate claim Hup: Rle (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))) den.
rewrite the current goal using HdenDef (from left to right) at position 1.
An exact proof term for the current goal is Hup2.
We prove the intermediate claim HmdenR: minus_SNo den R.
An exact proof term for the current goal is (real_minus_SNo den HdenR).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo den) den (add_SNo (apply_fun r x) (minus_SNo (apply_fun (u_of r) x))) HmdenR HdenR HrNumR Hlow Hup).
We prove the intermediate claim HrNumR: apply_fun rNum x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun rNum x) HrNumI2).
We prove the intermediate claim HrNewEq: apply_fun rNew x = div_SNo (apply_fun rNum x) den.
An exact proof term for the current goal is (compose_div_const_fun_apply A rNum den x HxA HdenR HrNumR).
rewrite the current goal using HrNewEq (from left to right).
An exact proof term for the current goal is (div_SNo_closed_interval_scale den (apply_fun rNum x) HdenR HdenPos HrNumI2).
We prove the intermediate claim HrNew_contI': continuous_map A Ta I (subspace_topology R R_standard_topology I) rNew.
An exact proof term for the current goal is (continuous_map_range_restrict A Ta R R_standard_topology rNew I HrNew_contR HIcR HrNew_img).
rewrite the current goal using HTiEq (from left to right).
An exact proof term for the current goal is HrNew_contI'.
Let n be given.
Assume HnO: n ω.
An exact proof term for the current goal is (HInv_nat n (omega_nat_p n HnO)).
We prove the intermediate claim HInv_g_R_A: ∀n : set, n ω∀x : set, x Aapply_fun ((State n) 0) x R.
We prove the intermediate claim HInv_nat: ∀n : set, nat_p n∀x : set, x Aapply_fun ((State n) 0) x R.
Apply nat_ind to the current goal.
Let x be given.
Assume HxA: x A.
We will prove apply_fun ((State 0) 0) x R.
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
rewrite the current goal using (tuple_2_0_eq g0g (f1s,den)) (from left to right).
rewrite the current goal using (apply_fun_graph X (λx0 : setapply_fun g0 x0) x HxX) (from left to right).
We prove the intermediate claim Hg0I0: apply_fun g0 x I0.
An exact proof term for the current goal is (Hfung0 x HxX).
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun g0 x) Hg0I0).
Let k be given.
Assume HkNat: nat_p k.
Assume IH: ∀x : set, x Aapply_fun ((State k) 0) x R.
Let x be given.
Assume HxA: x A.
We will prove apply_fun ((State (ordsucc k)) 0) x R.
We prove the intermediate claim HS: State (ordsucc k) = StepState k (State k).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState k HkNat).
rewrite the current goal using HS (from left to right).
We prove the intermediate claim HkO: k ω.
An exact proof term for the current goal is (nat_p_omega k HkNat).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
Set st to be the term State k.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim Hdef: StepState k st = (gNew,(rNew,cNew)).
Use reflexivity.
We prove the intermediate claim HgStep: (StepState k st) 0 = gNew.
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_0_eq gNew (rNew,cNew)).
rewrite the current goal using HgStep (from left to right).
We prove the intermediate claim HgEq: g = (State k) 0.
Use reflexivity.
We prove the intermediate claim HgxR: apply_fun g x R.
rewrite the current goal using HgEq (from left to right).
An exact proof term for the current goal is (IH x HxA).
We prove the intermediate claim HrEq: r = ((State k) 1) 0.
Use reflexivity.
We prove the intermediate claim Hr_contI: continuous_map A Ta I Ti r.
rewrite the current goal using HrEq (from left to right).
An exact proof term for the current goal is (HInv_r_contI k HkO).
We prove the intermediate claim Hu_pack: continuous_map X Tx I0 T0 (u_of r) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third) (∀x0 : set, x0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x0 = one_third).
An exact proof term for the current goal is (Hu_of_prop r Hr_contI).
We prove the intermediate claim Hu_contI0: continuous_map X Tx I0 T0 (u_of r).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r)) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third) (andEL ((continuous_map X Tx I0 T0 (u_of r)) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x0 = one_third) Hu_pack)).
We prove the intermediate claim Hu_fun: function_on (u_of r) X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 (u_of r) Hu_contI0).
We prove the intermediate claim HuxI0: apply_fun (u_of r) x I0.
An exact proof term for the current goal is (Hu_fun x HxX).
We prove the intermediate claim HuxR: apply_fun (u_of r) x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun (u_of r) x) HuxI0).
We prove the intermediate claim HcEq: c = ((State k) 1) 1.
Use reflexivity.
We prove the intermediate claim HcR: c R.
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (andEL (((State k) 1) 1 R) (0 < ((State k) 1) 1) (HInv_cpos k HkO)).
We prove the intermediate claim HcorrEq: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x = mul_SNo (apply_fun (u_of r) x) c.
We prove the intermediate claim Hcomp: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x = apply_fun (mul_const_fun c) (apply_fun (u_of r) x).
An exact proof term for the current goal is (compose_fun_apply X (u_of r) (mul_const_fun c) x HxX).
rewrite the current goal using Hcomp (from left to right).
An exact proof term for the current goal is (mul_const_fun_apply c (apply_fun (u_of r) x) HcR HuxR).
We prove the intermediate claim HcorrR: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x R.
rewrite the current goal using HcorrEq (from left to right).
An exact proof term for the current goal is (real_mul_SNo (apply_fun (u_of r) x) HuxR c HcR).
We prove the intermediate claim HgNewEval: apply_fun gNew x = add_SNo (apply_fun g x) (apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x).
An exact proof term for the current goal is (add_of_pair_map_apply X g (compose_fun X (u_of r) (mul_const_fun c)) x HxX HgxR HcorrR).
rewrite the current goal using HgNewEval (from left to right).
An exact proof term for the current goal is (real_add_SNo (apply_fun g x) HgxR (apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x) HcorrR).
Let n be given.
Assume HnO: n ω.
An exact proof term for the current goal is (HInv_nat n (omega_nat_p n HnO)).
We prove the intermediate claim HInv_residual_identity_A: ∀n : set, n ω∀x : set, x Aadd_SNo (apply_fun ((State n) 0) x) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) = apply_fun f x.
We prove the intermediate claim HInv_nat: ∀n : set, nat_p n∀x : set, x Aadd_SNo (apply_fun ((State n) 0) x) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) = apply_fun f x.
Apply nat_ind to the current goal.
Let x be given.
Assume HxA: x A.
We will prove add_SNo (apply_fun ((State 0) 0) x) (mul_SNo (apply_fun (((State 0) 1) 0) x) (((State 0) 1) 1)) = apply_fun f x.
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
rewrite the current goal using (tuple_2_0_eq g0g (f1s,den)) (from left to right) at position 1.
rewrite the current goal using (tuple_2_1_eq g0g (f1s,den)) (from left to right) at position 1.
rewrite the current goal using (tuple_2_0_eq f1s den) (from left to right) at position 1.
rewrite the current goal using (tuple_2_1_eq g0g (f1s,den)) (from left to right) at position 1.
rewrite the current goal using (tuple_2_1_eq f1s den) (from left to right) at position 1.
We prove the intermediate claim Hg0g_app: apply_fun g0g x = apply_fun g0 x.
rewrite the current goal using (apply_fun_graph X (λx0 : setapply_fun g0 x0) x HxX) (from left to right).
Use reflexivity.
rewrite the current goal using Hg0g_app (from left to right) at position 1.
We prove the intermediate claim Hf1s_app: apply_fun f1s x = div_SNo (apply_fun f1 x) den.
An exact proof term for the current goal is (Hf1s_apply x HxA).
rewrite the current goal using Hf1s_app (from left to right) at position 1.
We prove the intermediate claim Hf1xI2: apply_fun f1 x I2.
An exact proof term for the current goal is (Hf1_range x HxA).
We prove the intermediate claim Hf1xI2': apply_fun f1 x closed_interval (minus_SNo den) den.
We prove the intermediate claim HI2def: I2 = closed_interval (minus_SNo den) den.
Use reflexivity.
rewrite the current goal using HI2def (from left to right).
An exact proof term for the current goal is Hf1xI2.
We prove the intermediate claim Hf1xR: apply_fun f1 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo den) den (apply_fun f1 x) Hf1xI2').
We prove the intermediate claim Hf1xS: SNo (apply_fun f1 x).
An exact proof term for the current goal is (real_SNo (apply_fun f1 x) Hf1xR).
We prove the intermediate claim HmulDiv: mul_SNo (div_SNo (apply_fun f1 x) den) den = apply_fun f1 x.
An exact proof term for the current goal is (mul_div_SNo_invL (apply_fun f1 x) den Hf1xS H23S H23ne0).
rewrite the current goal using HmulDiv (from left to right) at position 1.
rewrite the current goal using (Hf1_apply x HxA) (from left to right) at position 1.
We prove the intermediate claim HfxR: apply_fun f x R.
An exact proof term for the current goal is (Hf_R x HxA).
We prove the intermediate claim HfxS: SNo (apply_fun f x).
An exact proof term for the current goal is (real_SNo (apply_fun f x) HfxR).
We prove the intermediate claim Hg0I0: apply_fun g0 x I0.
An exact proof term for the current goal is (Hfung0 x HxX).
We prove the intermediate claim Hg0R: apply_fun g0 x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun g0 x) Hg0I0).
We prove the intermediate claim Hg0S: SNo (apply_fun g0 x).
An exact proof term for the current goal is (real_SNo (apply_fun g0 x) Hg0R).
rewrite the current goal using (add_SNo_assoc (apply_fun g0 x) (apply_fun f x) (minus_SNo (apply_fun g0 x)) Hg0S HfxS (SNo_minus_SNo (apply_fun g0 x) Hg0S)) (from left to right) at position 1.
rewrite the current goal using (add_SNo_com (apply_fun g0 x) (apply_fun f x) Hg0S HfxS) (from left to right) at position 1.
rewrite the current goal using (add_SNo_assoc (apply_fun f x) (apply_fun g0 x) (minus_SNo (apply_fun g0 x)) HfxS Hg0S (SNo_minus_SNo (apply_fun g0 x) Hg0S)) (from right to left) at position 1.
rewrite the current goal using (add_SNo_minus_SNo_rinv (apply_fun g0 x) Hg0S) (from left to right) at position 1.
rewrite the current goal using (add_SNo_0R (apply_fun f x) HfxS) (from left to right) at position 1.
Use reflexivity.
Let k be given.
Assume HkNat: nat_p k.
Assume IH: ∀x : set, x Aadd_SNo (apply_fun ((State k) 0) x) (mul_SNo (apply_fun (((State k) 1) 0) x) (((State k) 1) 1)) = apply_fun f x.
Let x be given.
Assume HxA: x A.
We will prove add_SNo (apply_fun ((State (ordsucc k)) 0) x) (mul_SNo (apply_fun (((State (ordsucc k)) 1) 0) x) (((State (ordsucc k)) 1) 1)) = apply_fun f x.
We prove the intermediate claim HS: State (ordsucc k) = StepState k (State k).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState k HkNat).
rewrite the current goal using HS (from left to right).
rewrite the current goal using (IH x HxA) (from right to left).
We prove the intermediate claim HkO: k ω.
An exact proof term for the current goal is (nat_p_omega k HkNat).
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
Set st to be the term State k.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim Hdef: StepState k st = (gNew,(rNew,cNew)).
Use reflexivity.
We prove the intermediate claim HgStep: (StepState k st) 0 = gNew.
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_0_eq gNew (rNew,cNew)).
We prove the intermediate claim HrpackStep: (StepState k st) 1 = (rNew,cNew).
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq gNew (rNew,cNew)).
We prove the intermediate claim HrStep: ((StepState k st) 1) 0 = rNew.
rewrite the current goal using HrpackStep (from left to right).
An exact proof term for the current goal is (tuple_2_0_eq rNew cNew).
We prove the intermediate claim HcStep: ((StepState k st) 1) 1 = cNew.
rewrite the current goal using HrpackStep (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq rNew cNew).
rewrite the current goal using HgStep (from left to right) at position 1.
rewrite the current goal using HrStep (from left to right) at position 1.
rewrite the current goal using HcStep (from left to right) at position 1.
Set gx to be the term apply_fun g x.
Set rx to be the term apply_fun r x.
Set ux to be the term apply_fun (u_of r) x.
We prove the intermediate claim HgxR: gx R.
We prove the intermediate claim HgEq: g = (State k) 0.
Use reflexivity.
rewrite the current goal using HgEq (from left to right).
An exact proof term for the current goal is (HInv_g_R_A k HkO x HxA).
We prove the intermediate claim HgxS: SNo gx.
An exact proof term for the current goal is (real_SNo gx HgxR).
We prove the intermediate claim HrEq: r = ((State k) 1) 0.
Use reflexivity.
We prove the intermediate claim Hr_contI: continuous_map A Ta I Ti r.
rewrite the current goal using HrEq (from left to right).
An exact proof term for the current goal is (HInv_r_contI k HkO).
We prove the intermediate claim Hr_fun: function_on r A I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti r Hr_contI).
We prove the intermediate claim HrxI: rx I.
An exact proof term for the current goal is (Hr_fun x HxA).
We prove the intermediate claim HrxR: rx R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 rx HrxI).
We prove the intermediate claim HrxS: SNo rx.
An exact proof term for the current goal is (real_SNo rx HrxR).
We prove the intermediate claim Hu_pack: continuous_map X Tx I0 T0 (u_of r) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third) (∀x0 : set, x0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x0 = one_third).
An exact proof term for the current goal is (Hu_of_prop r Hr_contI).
We prove the intermediate claim Hu_contI0: continuous_map X Tx I0 T0 (u_of r).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r)) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third) (andEL ((continuous_map X Tx I0 T0 (u_of r)) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x0 = one_third) Hu_pack)).
We prove the intermediate claim Hu_fun: function_on (u_of r) X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 (u_of r) Hu_contI0).
We prove the intermediate claim HuxI0: ux I0.
An exact proof term for the current goal is (Hu_fun x HxX).
We prove the intermediate claim HuxR: ux R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third ux HuxI0).
We prove the intermediate claim HuxS: SNo ux.
An exact proof term for the current goal is (real_SNo ux HuxR).
We prove the intermediate claim HcEq: c = ((State k) 1) 1.
Use reflexivity.
We prove the intermediate claim HcR: c R.
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (andEL (((State k) 1) 1 R) (0 < ((State k) 1) 1) (HInv_cpos k HkO)).
We prove the intermediate claim HcS: SNo c.
An exact proof term for the current goal is (real_SNo c HcR).
We prove the intermediate claim HcorrEq: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x = mul_SNo ux c.
We prove the intermediate claim Hcomp: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x = apply_fun (mul_const_fun c) ux.
An exact proof term for the current goal is (compose_fun_apply X (u_of r) (mul_const_fun c) x HxX).
rewrite the current goal using Hcomp (from left to right).
An exact proof term for the current goal is (mul_const_fun_apply c ux HcR HuxR).
We prove the intermediate claim HcorrR: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x R.
rewrite the current goal using HcorrEq (from left to right).
An exact proof term for the current goal is (real_mul_SNo ux HuxR c HcR).
We prove the intermediate claim HgNewEval: apply_fun gNew x = add_SNo gx (apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x).
An exact proof term for the current goal is (add_of_pair_map_apply X g (compose_fun X (u_of r) (mul_const_fun c)) x HxX HgxR HcorrR).
rewrite the current goal using HgNewEval (from left to right).
rewrite the current goal using HcorrEq (from left to right) at position 1.
Set uxc to be the term mul_SNo ux c.
We prove the intermediate claim HuxcR: uxc R.
An exact proof term for the current goal is (real_mul_SNo ux HuxR c HcR).
We prove the intermediate claim HuxcS: SNo uxc.
An exact proof term for the current goal is (real_SNo uxc HuxcR).
Set rNum to be the term compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R.
We prove the intermediate claim HrNumEval: apply_fun rNum x = add_SNo rx (minus_SNo ux).
An exact proof term for the current goal is (add_of_pair_map_neg_apply A r (u_of r) x HxA HrxR HuxR).
We prove the intermediate claim HrNumR: apply_fun rNum x R.
rewrite the current goal using HrNumEval (from left to right).
An exact proof term for the current goal is (real_add_SNo rx HrxR (minus_SNo ux) (real_minus_SNo ux HuxR)).
We prove the intermediate claim HrNewEq: apply_fun rNew x = div_SNo (apply_fun rNum x) den.
An exact proof term for the current goal is (compose_div_const_fun_apply A rNum den x HxA HdenR HrNumR).
rewrite the current goal using HrNewEq (from left to right).
rewrite the current goal using HrNumEval (from left to right) at position 1.
Set num to be the term add_SNo rx (minus_SNo ux).
We prove the intermediate claim HnumDef: num = add_SNo rx (minus_SNo ux).
Use reflexivity.
rewrite the current goal using HnumDef (from right to left) at position 1.
We prove the intermediate claim HnumR: num R.
An exact proof term for the current goal is (real_add_SNo rx HrxR (minus_SNo ux) (real_minus_SNo ux HuxR)).
We prove the intermediate claim HnumS: SNo num.
An exact proof term for the current goal is (real_SNo num HnumR).
We prove the intermediate claim HdenS: SNo den.
An exact proof term for the current goal is (real_SNo den HdenR).
We prove the intermediate claim HdivR: div_SNo num den R.
An exact proof term for the current goal is (real_div_SNo num HnumR den HdenR).
We prove the intermediate claim HdivS: SNo (div_SNo num den).
An exact proof term for the current goal is (real_SNo (div_SNo num den) HdivR).
We prove the intermediate claim HcNewDef: cNew = mul_SNo c den.
Use reflexivity.
rewrite the current goal using HcNewDef (from left to right).
We prove the intermediate claim HmulAssoc: mul_SNo (div_SNo num den) (mul_SNo c den) = mul_SNo (mul_SNo (div_SNo num den) c) den.
An exact proof term for the current goal is (mul_SNo_assoc (div_SNo num den) c den HdivS HcS HdenS).
rewrite the current goal using HmulAssoc (from left to right).
We prove the intermediate claim HmulSwap: mul_SNo (mul_SNo (div_SNo num den) c) den = mul_SNo (mul_SNo (div_SNo num den) den) c.
An exact proof term for the current goal is (mul_SNo_com_3b_1_2 (div_SNo num den) c den HdivS HcS HdenS).
rewrite the current goal using HmulSwap (from left to right).
We prove the intermediate claim Hdenne0: den 0.
An exact proof term for the current goal is H23ne0.
We prove the intermediate claim Hcancel: mul_SNo (div_SNo num den) den = num.
An exact proof term for the current goal is (mul_div_SNo_invL num den HnumS HdenS Hdenne0).
rewrite the current goal using Hcancel (from left to right).
We prove the intermediate claim HnumEq: num = add_SNo rx (minus_SNo ux).
Use reflexivity.
rewrite the current goal using HnumEq (from left to right).
We prove the intermediate claim HuxcDef: uxc = mul_SNo ux c.
Use reflexivity.
rewrite the current goal using HuxcDef (from left to right) at position 1.
An exact proof term for the current goal is (Tietze_stepII_algebra_tail gx rx ux c HgxS HrxS HuxS HcS).
Let n be given.
Assume HnO: n ω.
Let x be given.
Assume HxA: x A.
An exact proof term for the current goal is (HInv_nat n (omega_nat_p n HnO) x HxA).
We prove the intermediate claim HInv_g_FS: ∀n : set, n ω(State n) 0 function_space X R.
We prove the intermediate claim Hfun_g0: function_on g0 X R.
An exact proof term for the current goal is (continuous_map_function_on X Tx R R_standard_topology g0 Hg0contR).
We prove the intermediate claim Hg0g_FS: g0g function_space X R.
Set gg to be the term (λx : setapply_fun g0 x).
We prove the intermediate claim Hgg: ∀x : set, x Xgg x R.
Let x be given.
Assume HxX: x X.
An exact proof term for the current goal is (Hfun_g0 x HxX).
We prove the intermediate claim Hg0g_def: g0g = graph X gg.
Use reflexivity.
rewrite the current goal using Hg0g_def (from left to right).
An exact proof term for the current goal is (graph_in_function_space X R gg Hgg).
We prove the intermediate claim HInv_nat: ∀n : set, nat_p n(State n) 0 function_space X R.
Apply nat_ind to the current goal.
We will prove (State 0) 0 function_space X R.
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
rewrite the current goal using (tuple_2_0_eq g0g (f1s,den)) (from left to right).
An exact proof term for the current goal is Hg0g_FS.
Let n be given.
Assume HnNat: nat_p n.
Assume IH: (State n) 0 function_space X R.
We will prove (State (ordsucc n)) 0 function_space X R.
We prove the intermediate claim HS: State (ordsucc n) = StepState n (State n).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState n HnNat).
rewrite the current goal using HS (from left to right).
Set st to be the term State n.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim HStep0: (StepState n st) 0 = gNew.
We prove the intermediate claim Hdef: StepState n st = (gNew,(rNew,cNew)).
Use reflexivity.
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_0_eq gNew (rNew,cNew)).
rewrite the current goal using HStep0 (from left to right).
We prove the intermediate claim Hg_on: function_on g X R.
An exact proof term for the current goal is (function_on_of_function_space g X R IH).
We prove the intermediate claim HnO: n ω.
An exact proof term for the current goal is (nat_p_omega n HnNat).
We prove the intermediate claim Hcpack: ((State n) 1) 1 R 0 < ((State n) 1) 1.
An exact proof term for the current goal is (HInv_cpos n HnO).
We prove the intermediate claim Hc_eq: c = ((State n) 1) 1.
Use reflexivity.
We prove the intermediate claim HcR0: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) Hcpack).
We prove the intermediate claim HcR: c R.
rewrite the current goal using Hc_eq (from left to right).
An exact proof term for the current goal is HcR0.
We prove the intermediate claim Hr_contI: continuous_map A Ta I Ti r.
An exact proof term for the current goal is (HInv_r_contI n HnO).
We prove the intermediate claim Hu_pack: continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x = one_third).
An exact proof term for the current goal is (Hu_of_prop r Hr_contI).
We prove the intermediate claim Hu_left: continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third)) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x = one_third) Hu_pack).
We prove the intermediate claim Hu_cont: continuous_map X Tx I0 T0 (u_of r).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r)) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third) Hu_left).
We prove the intermediate claim Hu_fun_I0: function_on (u_of r) X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 (u_of r) Hu_cont).
We prove the intermediate claim HI0SubR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
We prove the intermediate claim Hu_fun_R: function_on (u_of r) X R.
Let x be given.
Assume HxX: x X.
An exact proof term for the current goal is (HI0SubR (apply_fun (u_of r) x) (Hu_fun_I0 x HxX)).
We prove the intermediate claim HmulFS: mul_const_fun c function_space R R.
An exact proof term for the current goal is (mul_const_fun_in_function_space c HcR).
We prove the intermediate claim Hmul_on_R: function_on (mul_const_fun c) R R.
An exact proof term for the current goal is (function_on_of_function_space (mul_const_fun c) R R HmulFS).
We prove the intermediate claim Hmul_on_I0: function_on (mul_const_fun c) I0 R.
An exact proof term for the current goal is (function_on_restrict_dom (mul_const_fun c) R I0 R Hmul_on_R HI0SubR).
We prove the intermediate claim Hh_on: function_on (compose_fun X (u_of r) (mul_const_fun c)) X R.
An exact proof term for the current goal is (function_on_compose_fun X I0 R (u_of r) (mul_const_fun c) Hu_fun_I0 Hmul_on_I0).
We prove the intermediate claim Hpair_FS: pair_map X g (compose_fun X (u_of r) (mul_const_fun c)) function_space X (setprod R R).
An exact proof term for the current goal is (pair_map_in_function_space X R R g (compose_fun X (u_of r) (mul_const_fun c)) Hg_on Hh_on).
We prove the intermediate claim Hpair_on: function_on (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) X (setprod R R).
An exact proof term for the current goal is (function_on_of_function_space (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) X (setprod R R) Hpair_FS).
We prove the intermediate claim HaddFS: add_fun_R function_space (setprod R R) R.
An exact proof term for the current goal is add_fun_R_in_function_space.
We prove the intermediate claim Hadd_on: function_on add_fun_R (setprod R R) R.
An exact proof term for the current goal is (function_on_of_function_space add_fun_R (setprod R R) R HaddFS).
An exact proof term for the current goal is (compose_fun_in_function_space X (setprod R R) R (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R Hpair_on Hadd_on).
Let n be given.
Assume HnO: n ω.
An exact proof term for the current goal is (HInv_nat n (omega_nat_p n HnO)).
Apply andI to the current goal.
We will prove (((function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I)) (∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x))).
Apply andI to the current goal.
We will prove ((function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I)).
Apply andI to the current goal.
We will prove (function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))).
Apply andI to the current goal.
Let n be given.
Assume HnO: n ω.
We will prove apply_fun fn n function_space X R.
We prove the intermediate claim Hdef: fn = graph ω (λn0 : set(State n0) 0).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λn0 : set(State n0) 0) n Hdef HnO) (from left to right).
An exact proof term for the current goal is (HInv_g_FS n HnO).
We prove the intermediate claim HInv_g_cont: ∀n : set, n ωcontinuous_map X Tx R R_standard_topology ((State n) 0).
We prove the intermediate claim Hg0g_cont: continuous_map X Tx R R_standard_topology g0g.
We prove the intermediate claim HTx': topology_on X Tx.
An exact proof term for the current goal is (continuous_map_topology_dom X Tx R R_standard_topology g0 Hg0contR).
We prove the intermediate claim HTR: topology_on R R_standard_topology.
An exact proof term for the current goal is (continuous_map_topology_cod X Tx R R_standard_topology g0 Hg0contR).
We prove the intermediate claim Hfun_g0: function_on g0 X R.
An exact proof term for the current goal is (continuous_map_function_on X Tx R R_standard_topology g0 Hg0contR).
We prove the intermediate claim Hfun_g0g: function_on g0g X R.
Let x be given.
Assume HxX: x X.
We will prove apply_fun g0g x R.
rewrite the current goal using (apply_fun_graph X (λx0 : setapply_fun g0 x0) x HxX) (from left to right) at position 1.
An exact proof term for the current goal is (Hfun_g0 x HxX).
We prove the intermediate claim Hpre_g0g: ∀V : set, V R_standard_topologypreimage_of X g0g V Tx.
Let V be given.
Assume HV: V R_standard_topology.
We prove the intermediate claim Hpre_g0: preimage_of X g0 V Tx.
An exact proof term for the current goal is (continuous_map_preimage X Tx R R_standard_topology g0 Hg0contR V HV).
We prove the intermediate claim Heq: preimage_of X g0g V = preimage_of X g0 V.
Apply set_ext to the current goal.
Let x be given.
Assume Hx: x preimage_of X g0g V.
We will prove x preimage_of X g0 V.
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (SepE1 X (λy : setapply_fun g0g y V) x Hx).
We prove the intermediate claim Himg: apply_fun g0g x V.
An exact proof term for the current goal is (SepE2 X (λy : setapply_fun g0g y V) x Hx).
We prove the intermediate claim Himg': apply_fun g0 x V.
rewrite the current goal using (apply_fun_graph X (λx0 : setapply_fun g0 x0) x HxX) (from right to left) at position 1.
An exact proof term for the current goal is Himg.
An exact proof term for the current goal is (SepI X (λy : setapply_fun g0 y V) x HxX Himg').
Let x be given.
Assume Hx: x preimage_of X g0 V.
We will prove x preimage_of X g0g V.
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (SepE1 X (λy : setapply_fun g0 y V) x Hx).
We prove the intermediate claim Himg: apply_fun g0 x V.
An exact proof term for the current goal is (SepE2 X (λy : setapply_fun g0 y V) x Hx).
We prove the intermediate claim Himg': apply_fun g0g x V.
rewrite the current goal using (apply_fun_graph X (λx0 : setapply_fun g0 x0) x HxX) (from left to right) at position 1.
An exact proof term for the current goal is Himg.
An exact proof term for the current goal is (SepI X (λy : setapply_fun g0g y V) x HxX Himg').
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is Hpre_g0.
We will prove continuous_map X Tx R R_standard_topology g0g.
We will prove topology_on X Tx topology_on R R_standard_topology function_on g0g X R ∀V : set, V R_standard_topologypreimage_of X g0g V Tx.
We prove the intermediate claim Htop: topology_on X Tx topology_on R R_standard_topology.
Apply andI to the current goal.
An exact proof term for the current goal is HTx'.
An exact proof term for the current goal is HTR.
We prove the intermediate claim Htopfun: (topology_on X Tx topology_on R R_standard_topology) function_on g0g X R.
Apply andI to the current goal.
An exact proof term for the current goal is Htop.
An exact proof term for the current goal is Hfun_g0g.
Apply andI to the current goal.
An exact proof term for the current goal is Htopfun.
An exact proof term for the current goal is Hpre_g0g.
We prove the intermediate claim HInv_nat: ∀n : set, nat_p ncontinuous_map X Tx R R_standard_topology ((State n) 0).
Apply nat_ind to the current goal.
We will prove continuous_map X Tx R R_standard_topology ((State 0) 0).
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
rewrite the current goal using (tuple_2_0_eq g0g (f1s,den)) (from left to right).
An exact proof term for the current goal is Hg0g_cont.
Let n be given.
Assume HnNat: nat_p n.
Assume IH: continuous_map X Tx R R_standard_topology ((State n) 0).
We will prove continuous_map X Tx R R_standard_topology ((State (ordsucc n)) 0).
We prove the intermediate claim HS: State (ordsucc n) = StepState n (State n).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState n HnNat).
rewrite the current goal using HS (from left to right).
Set st to be the term State n.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim HStep0: (StepState n st) 0 = gNew.
We prove the intermediate claim Hdef: StepState n st = (gNew,(rNew,cNew)).
Use reflexivity.
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_0_eq gNew (rNew,cNew)).
rewrite the current goal using HStep0 (from left to right).
We prove the intermediate claim Hg_cont: continuous_map X Tx R R_standard_topology g.
An exact proof term for the current goal is IH.
We prove the intermediate claim HnO: n ω.
An exact proof term for the current goal is (nat_p_omega n HnNat).
We prove the intermediate claim Hcpack: ((State n) 1) 1 R 0 < ((State n) 1) 1.
An exact proof term for the current goal is (HInv_cpos n HnO).
We prove the intermediate claim Hc_eq: c = ((State n) 1) 1.
Use reflexivity.
We prove the intermediate claim HcR0: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) Hcpack).
We prove the intermediate claim Hcpos0: 0 < ((State n) 1) 1.
An exact proof term for the current goal is (andER (((State n) 1) 1 R) (0 < ((State n) 1) 1) Hcpack).
We prove the intermediate claim HcR: c R.
rewrite the current goal using Hc_eq (from left to right).
An exact proof term for the current goal is HcR0.
We prove the intermediate claim Hcpos: 0 < c.
rewrite the current goal using Hc_eq (from left to right).
An exact proof term for the current goal is Hcpos0.
We prove the intermediate claim Hr_contI: continuous_map A Ta I Ti r.
An exact proof term for the current goal is (HInv_r_contI n HnO).
We prove the intermediate claim Hu_pack: continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x = one_third).
An exact proof term for the current goal is (Hu_of_prop r Hr_contI).
We prove the intermediate claim Hu_left: continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third)) (∀x : set, x preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x = one_third) Hu_pack).
We prove the intermediate claim Hu_cont: continuous_map X Tx I0 T0 (u_of r).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r)) (∀x : set, x preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x = minus_SNo one_third) Hu_left).
We prove the intermediate claim HI0SubR: I0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third).
We prove the intermediate claim HT0: T0 = subspace_topology R R_standard_topology I0.
Use reflexivity.
We prove the intermediate claim Hmul_contR: continuous_map R R_standard_topology R R_standard_topology (mul_const_fun c).
An exact proof term for the current goal is (mul_const_fun_continuous_pos c HcR Hcpos).
We prove the intermediate claim Hmul_contI0: continuous_map I0 T0 R R_standard_topology (mul_const_fun c).
rewrite the current goal using HT0 (from left to right).
An exact proof term for the current goal is (continuous_on_subspace R R_standard_topology R R_standard_topology (mul_const_fun c) I0 R_standard_topology_is_topology HI0SubR Hmul_contR).
We prove the intermediate claim Hh_cont: continuous_map X Tx R R_standard_topology (compose_fun X (u_of r) (mul_const_fun c)).
An exact proof term for the current goal is (composition_continuous X Tx I0 T0 R R_standard_topology (u_of r) (mul_const_fun c) Hu_cont Hmul_contI0).
We prove the intermediate claim Hpair_cont: continuous_map X Tx (setprod R R) (product_topology R R_standard_topology R R_standard_topology) (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))).
An exact proof term for the current goal is (maps_into_products_axiom X Tx R R_standard_topology R R_standard_topology g (compose_fun X (u_of r) (mul_const_fun c)) Hg_cont Hh_cont).
An exact proof term for the current goal is add_fun_R_continuous.
An exact proof term for the current goal is (composition_continuous X Tx (setprod R R) (product_topology R R_standard_topology R R_standard_topology) R R_standard_topology (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R Hpair_cont Hadd_cont).
Let n be given.
Assume HnO: n ω.
An exact proof term for the current goal is (HInv_nat n (omega_nat_p n HnO)).
Let n be given.
Assume HnO: n ω.
We will prove continuous_map X Tx R R_standard_topology (apply_fun fn n).
We prove the intermediate claim Hdef: fn = graph ω (λn0 : set(State n0) 0).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λn0 : set(State n0) 0) n Hdef HnO) (from left to right).
An exact proof term for the current goal is (HInv_g_cont n HnO).
We prove the intermediate claim HInv_g_I: ∀n : set, n ω∀x : set, x Xapply_fun ((State n) 0) x I.
We prove the intermediate claim HInv_nat: ∀n : set, nat_p n∀x : set, x Xapply_fun ((State n) 0) x I apply_fun ((State n) 0) x closed_interval (add_SNo (minus_SNo 1) (((State n) 1) 1)) (add_SNo 1 (minus_SNo (((State n) 1) 1))).
Apply nat_ind to the current goal.
Let x be given.
Assume HxX: x X.
We will prove apply_fun ((State 0) 0) x I apply_fun ((State 0) 0) x closed_interval (add_SNo (minus_SNo 1) (((State 0) 1) 1)) (add_SNo 1 (minus_SNo (((State 0) 1) 1))).
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
rewrite the current goal using (tuple_2_0_eq g0g (f1s,den)) (from left to right).
rewrite the current goal using (tuple_2_0_eq g0g (f1s,den)) (from left to right).
We prove the intermediate claim Hc0Eq: ((g0g,(f1s,den)) 1) 1 = den.
rewrite the current goal using (tuple_2_1_eq g0g (f1s,den)) (from left to right) at position 1.
rewrite the current goal using (tuple_2_1_eq f1s den) (from left to right) at position 1.
Use reflexivity.
Apply andI to the current goal.
rewrite the current goal using (apply_fun_graph X (λx0 : setapply_fun g0 x0) x HxX) (from left to right).
We prove the intermediate claim Hg0xI0: apply_fun g0 x I0.
An exact proof term for the current goal is (Hfung0 x HxX).
An exact proof term for the current goal is (closed_interval_minus_one_third_one_third_sub_closed_interval_minus1_1 (apply_fun g0 x) Hg0xI0).
rewrite the current goal using (apply_fun_graph X (λx0 : setapply_fun g0 x0) x HxX) (from left to right).
We prove the intermediate claim Hg0xI0: apply_fun g0 x I0.
An exact proof term for the current goal is (Hfung0 x HxX).
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
We prove the intermediate claim HlowEq0: add_SNo (minus_SNo 1) (((g0g,(f1s,den)) 1) 1) = minus_SNo one_third.
rewrite the current goal using Hc0Eq (from left to right).
rewrite the current goal using HdenDef (from left to right).
An exact proof term for the current goal is add_minus1_two_thirds_eq_minus_one_third.
We prove the intermediate claim HupEq0: add_SNo 1 (minus_SNo (((g0g,(f1s,den)) 1) 1)) = one_third.
rewrite the current goal using Hc0Eq (from left to right).
rewrite the current goal using HdenDef (from left to right).
An exact proof term for the current goal is add_1_minus_two_thirds_eq_one_third.
rewrite the current goal using HlowEq0 (from left to right).
rewrite the current goal using HupEq0 (from left to right).
An exact proof term for the current goal is Hg0xI0.
Let n be given.
Assume HnNat: nat_p n.
Assume IH: ∀x : set, x Xapply_fun ((State n) 0) x I apply_fun ((State n) 0) x closed_interval (add_SNo (minus_SNo 1) (((State n) 1) 1)) (add_SNo 1 (minus_SNo (((State n) 1) 1))).
Let x be given.
Assume HxX: x X.
We will prove apply_fun ((State (ordsucc n)) 0) x I apply_fun ((State (ordsucc n)) 0) x closed_interval (add_SNo (minus_SNo 1) (((State (ordsucc n)) 1) 1)) (add_SNo 1 (minus_SNo (((State (ordsucc n)) 1) 1))).
We prove the intermediate claim HSnat: State (ordsucc n) = StepState n (State n).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState n HnNat).
rewrite the current goal using HSnat (from left to right).
Set st to be the term State n.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim HdefStep: StepState n st = (gNew,(rNew,cNew)).
Use reflexivity.
rewrite the current goal using HdefStep (from left to right).
We prove the intermediate claim HgStep: ((gNew,(rNew,cNew)) 0) = gNew.
An exact proof term for the current goal is (tuple_2_0_eq gNew (rNew,cNew)).
rewrite the current goal using HgStep (from left to right).
We prove the intermediate claim HnO: n ω.
An exact proof term for the current goal is (nat_p_omega n HnNat).
We prove the intermediate claim HrEq: r = ((State n) 1) 0.
Use reflexivity.
We prove the intermediate claim HcEq: c = ((State n) 1) 1.
Use reflexivity.
We prove the intermediate claim Hr_contI: continuous_map A Ta I Ti r.
rewrite the current goal using HrEq (from left to right).
An exact proof term for the current goal is (HInv_r_contI n HnO).
We prove the intermediate claim Hu_pack: continuous_map X Tx I0 T0 (u_of r) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third) (∀x0 : set, x0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x0 = one_third).
An exact proof term for the current goal is (Hu_of_prop r Hr_contI).
We prove the intermediate claim Hu_contI0: continuous_map X Tx I0 T0 (u_of r).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r)) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third) (andEL ((continuous_map X Tx I0 T0 (u_of r)) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x0 = one_third) Hu_pack)).
We prove the intermediate claim Hu_fun: function_on (u_of r) X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 (u_of r) Hu_contI0).
We prove the intermediate claim HuxI0: apply_fun (u_of r) x I0.
An exact proof term for the current goal is (Hu_fun x HxX).
We prove the intermediate claim HuxR: apply_fun (u_of r) x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun (u_of r) x) HuxI0).
We prove the intermediate claim HcR: c R.
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
We prove the intermediate claim HgEq: g = (State n) 0.
Use reflexivity.
We prove the intermediate claim HgxI: apply_fun g x I.
rewrite the current goal using HgEq (from left to right).
An exact proof term for the current goal is (andEL (apply_fun ((State n) 0) x I) (apply_fun ((State n) 0) x closed_interval (add_SNo (minus_SNo 1) (((State n) 1) 1)) (add_SNo 1 (minus_SNo (((State n) 1) 1)))) (IH x HxX)).
We prove the intermediate claim HgxR: apply_fun g x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun g x) HgxI).
We prove the intermediate claim HcorrEq: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x = mul_SNo (apply_fun (u_of r) x) c.
We prove the intermediate claim Hcomp: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x = apply_fun (mul_const_fun c) (apply_fun (u_of r) x).
An exact proof term for the current goal is (compose_fun_apply X (u_of r) (mul_const_fun c) x HxX).
rewrite the current goal using Hcomp (from left to right).
An exact proof term for the current goal is (mul_const_fun_apply c (apply_fun (u_of r) x) HcR HuxR).
We prove the intermediate claim HcorrR: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x R.
rewrite the current goal using HcorrEq (from left to right).
An exact proof term for the current goal is (real_mul_SNo (apply_fun (u_of r) x) HuxR c HcR).
We prove the intermediate claim HgNewEval: apply_fun gNew x = add_SNo (apply_fun g x) (apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x).
An exact proof term for the current goal is (add_of_pair_map_apply X g (compose_fun X (u_of r) (mul_const_fun c)) x HxX HgxR HcorrR).
rewrite the current goal using HgNewEval (from left to right).
rewrite the current goal using HcorrEq (from left to right).
We prove the intermediate claim Hcpos: 0 < c.
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (andER (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
We prove the intermediate claim HyIshrink: apply_fun g x closed_interval (add_SNo (minus_SNo 1) c) (add_SNo 1 (minus_SNo c)).
rewrite the current goal using HgEq (from left to right).
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (andER (apply_fun ((State n) 0) x I) (apply_fun ((State n) 0) x closed_interval (add_SNo (minus_SNo 1) (((State n) 1) 1)) (add_SNo 1 (minus_SNo (((State n) 1) 1)))) (IH x HxX)).
We prove the intermediate claim HzIthird: mul_SNo (apply_fun (u_of r) x) c closed_interval (minus_SNo (mul_SNo c one_third)) (mul_SNo c one_third).
We prove the intermediate claim H13R: one_third R.
An exact proof term for the current goal is one_third_in_R.
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third H13R).
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third H13R).
We prove the intermediate claim Hm13S: SNo (minus_SNo one_third).
An exact proof term for the current goal is (SNo_minus_SNo one_third H13S).
We prove the intermediate claim HuS: SNo (apply_fun (u_of r) x).
An exact proof term for the current goal is (real_SNo (apply_fun (u_of r) x) HuxR).
We prove the intermediate claim HcS: SNo c.
An exact proof term for the current goal is (real_SNo c HcR).
We prove the intermediate claim Hbnds0: Rle (minus_SNo one_third) (apply_fun (u_of r) x) Rle (apply_fun (u_of r) x) one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third (apply_fun (u_of r) x) Hm13R H13R HuxI0).
We prove the intermediate claim HloRle: Rle (minus_SNo one_third) (apply_fun (u_of r) x).
An exact proof term for the current goal is (andEL (Rle (minus_SNo one_third) (apply_fun (u_of r) x)) (Rle (apply_fun (u_of r) x) one_third) Hbnds0).
We prove the intermediate claim HhiRle: Rle (apply_fun (u_of r) x) one_third.
An exact proof term for the current goal is (andER (Rle (minus_SNo one_third) (apply_fun (u_of r) x)) (Rle (apply_fun (u_of r) x) one_third) Hbnds0).
We prove the intermediate claim Hnot_lt_lo: ¬ ((apply_fun (u_of r) x) < (minus_SNo one_third)).
Assume Hlt: (apply_fun (u_of r) x) < (minus_SNo one_third).
We prove the intermediate claim Hrlt: Rlt (apply_fun (u_of r) x) (minus_SNo one_third).
An exact proof term for the current goal is (RltI (apply_fun (u_of r) x) (minus_SNo one_third) HuxR Hm13R Hlt).
An exact proof term for the current goal is ((RleE_nlt (minus_SNo one_third) (apply_fun (u_of r) x) HloRle) Hrlt).
We prove the intermediate claim Hnot_lt_hi: ¬ (one_third < (apply_fun (u_of r) x)).
Assume Hlt: one_third < (apply_fun (u_of r) x).
We prove the intermediate claim Hrlt: Rlt one_third (apply_fun (u_of r) x).
An exact proof term for the current goal is (RltI one_third (apply_fun (u_of r) x) H13R HuxR Hlt).
An exact proof term for the current goal is ((RleE_nlt (apply_fun (u_of r) x) one_third HhiRle) Hrlt).
We prove the intermediate claim Hm13_le_u: (minus_SNo one_third) (apply_fun (u_of r) x).
Apply (SNoLtLe_or (apply_fun (u_of r) x) (minus_SNo one_third) HuS Hm13S) to the current goal.
Assume Hlt: (apply_fun (u_of r) x) < (minus_SNo one_third).
An exact proof term for the current goal is (FalseE (Hnot_lt_lo Hlt) ((minus_SNo one_third) (apply_fun (u_of r) x))).
Assume Hle: (minus_SNo one_third) (apply_fun (u_of r) x).
An exact proof term for the current goal is Hle.
We prove the intermediate claim Hu_le_13: (apply_fun (u_of r) x) one_third.
Apply (SNoLtLe_or one_third (apply_fun (u_of r) x) H13S HuS) to the current goal.
Assume Hlt: one_third < (apply_fun (u_of r) x).
An exact proof term for the current goal is (FalseE (Hnot_lt_hi Hlt) ((apply_fun (u_of r) x) one_third)).
Assume Hle: (apply_fun (u_of r) x) one_third.
An exact proof term for the current goal is Hle.
We prove the intermediate claim H0le_c: 0 c.
An exact proof term for the current goal is (SNoLtLe 0 c Hcpos).
We prove the intermediate claim HmulLeHi: mul_SNo (apply_fun (u_of r) x) c mul_SNo one_third c.
An exact proof term for the current goal is (nonneg_mul_SNo_Le' (apply_fun (u_of r) x) one_third c HuS H13S HcS H0le_c Hu_le_13).
We prove the intermediate claim HmulLeLo: mul_SNo (minus_SNo one_third) c mul_SNo (apply_fun (u_of r) x) c.
An exact proof term for the current goal is (nonneg_mul_SNo_Le' (minus_SNo one_third) (apply_fun (u_of r) x) c Hm13S HuS HcS H0le_c Hm13_le_u).
We prove the intermediate claim HmulR: mul_SNo (apply_fun (u_of r) x) c R.
An exact proof term for the current goal is (real_mul_SNo (apply_fun (u_of r) x) HuxR c HcR).
We prove the intermediate claim Hc13R: mul_SNo c one_third R.
An exact proof term for the current goal is (real_mul_SNo c HcR one_third H13R).
We prove the intermediate claim Hm_c13R: minus_SNo (mul_SNo c one_third) R.
An exact proof term for the current goal is (real_minus_SNo (mul_SNo c one_third) Hc13R).
We prove the intermediate claim HhiEq: mul_SNo one_third c = mul_SNo c one_third.
An exact proof term for the current goal is (mul_SNo_com one_third c H13S HcS).
We prove the intermediate claim HloEq: mul_SNo (minus_SNo one_third) c = minus_SNo (mul_SNo c one_third).
rewrite the current goal using (mul_SNo_minus_distrL one_third c H13S HcS) (from left to right) at position 1.
rewrite the current goal using HhiEq (from left to right) at position 1.
Use reflexivity.
We prove the intermediate claim HhiLe': mul_SNo (apply_fun (u_of r) x) c mul_SNo c one_third.
rewrite the current goal using HhiEq (from right to left).
An exact proof term for the current goal is HmulLeHi.
We prove the intermediate claim HloLe': (minus_SNo (mul_SNo c one_third)) mul_SNo (apply_fun (u_of r) x) c.
rewrite the current goal using HloEq (from right to left) at position 1.
An exact proof term for the current goal is HmulLeLo.
We prove the intermediate claim HhiRle': Rle (mul_SNo (apply_fun (u_of r) x) c) (mul_SNo c one_third).
An exact proof term for the current goal is (Rle_of_SNoLe (mul_SNo (apply_fun (u_of r) x) c) (mul_SNo c one_third) HmulR Hc13R HhiLe').
We prove the intermediate claim HloRle': Rle (minus_SNo (mul_SNo c one_third)) (mul_SNo (apply_fun (u_of r) x) c).
An exact proof term for the current goal is (Rle_of_SNoLe (minus_SNo (mul_SNo c one_third)) (mul_SNo (apply_fun (u_of r) x) c) Hm_c13R HmulR HloLe').
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo (mul_SNo c one_third)) (mul_SNo c one_third) (mul_SNo (apply_fun (u_of r) x) c) Hm_c13R Hc13R HmulR HloRle' HhiRle').
We prove the intermediate claim HsumShrink: add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c) closed_interval (add_SNo (minus_SNo 1) (mul_SNo c two_thirds)) (add_SNo 1 (minus_SNo (mul_SNo c two_thirds))).
An exact proof term for the current goal is (add_SNo_interval_expand_by_third_stub c (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c) HcR Hcpos HyIshrink HzIthird).
Apply andI to the current goal.
Set t to be the term mul_SNo c two_thirds.
We prove the intermediate claim H23R: two_thirds R.
An exact proof term for the current goal is two_thirds_in_R.
We prove the intermediate claim HtR: t R.
An exact proof term for the current goal is (real_mul_SNo c HcR two_thirds H23R).
We prove the intermediate claim Htpos: 0 < t.
We prove the intermediate claim H23S: SNo two_thirds.
An exact proof term for the current goal is (real_SNo two_thirds H23R).
We prove the intermediate claim HcS: SNo c.
An exact proof term for the current goal is (real_SNo c HcR).
An exact proof term for the current goal is (mul_SNo_pos_pos c two_thirds HcS H23S Hcpos two_thirds_pos).
We prove the intermediate claim H0lt_t: Rlt 0 t.
An exact proof term for the current goal is (RltI 0 t real_0 HtR Htpos).
We prove the intermediate claim H0le_t: Rle 0 t.
An exact proof term for the current goal is (Rlt_implies_Rle 0 t H0lt_t).
We prove the intermediate claim Hm1R: (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim Hm1S: SNo (minus_SNo 1).
An exact proof term for the current goal is (SNo_minus_SNo 1 SNo_1).
We prove the intermediate claim Ha_low: Rle (minus_SNo 1) (add_SNo (minus_SNo 1) t).
We prove the intermediate claim Htmp: Rle (add_SNo (minus_SNo 1) 0) (add_SNo (minus_SNo 1) t).
An exact proof term for the current goal is (Rle_add_SNo_2 (minus_SNo 1) 0 t Hm1R real_0 HtR H0le_t).
rewrite the current goal using (add_SNo_0R (minus_SNo 1) Hm1S) (from right to left) at position 1.
An exact proof term for the current goal is Htmp.
We prove the intermediate claim Hneg_t_le0: Rle (minus_SNo t) 0.
An exact proof term for the current goal is (Rle_minus_nonneg t HtR (RleE_nlt 0 t H0le_t)).
We prove the intermediate claim Hb_up: Rle (add_SNo 1 (minus_SNo t)) 1.
We prove the intermediate claim Htmp: Rle (add_SNo 1 (minus_SNo t)) (add_SNo 1 0).
An exact proof term for the current goal is (Rle_add_SNo_2 1 (minus_SNo t) 0 real_1 (real_minus_SNo t HtR) real_0 Hneg_t_le0).
We prove the intermediate claim H10Eq: add_SNo 1 0 = 1.
An exact proof term for the current goal is (add_SNo_0R 1 SNo_1).
We prove the intermediate claim Hmid: Rle (add_SNo 1 0) 1.
rewrite the current goal using H10Eq (from left to right) at position 1.
An exact proof term for the current goal is (Rle_refl 1 real_1).
An exact proof term for the current goal is (Rle_tra (add_SNo 1 (minus_SNo t)) (add_SNo 1 0) 1 Htmp Hmid).
We prove the intermediate claim HyR: add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c) R.
An exact proof term for the current goal is (closed_interval_sub_R (add_SNo (minus_SNo 1) (mul_SNo c two_thirds)) (add_SNo 1 (minus_SNo (mul_SNo c two_thirds))) (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) HsumShrink).
We prove the intermediate claim Hbnds: Rle (add_SNo (minus_SNo 1) t) (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) Rle (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) (add_SNo 1 (minus_SNo t)).
An exact proof term for the current goal is (closed_interval_bounds (add_SNo (minus_SNo 1) t) (add_SNo 1 (minus_SNo t)) (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) (real_add_SNo (minus_SNo 1) Hm1R t HtR) (real_add_SNo 1 real_1 (minus_SNo t) (real_minus_SNo t HtR)) HsumShrink).
We prove the intermediate claim Hlo: Rle (minus_SNo 1) (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)).
An exact proof term for the current goal is (Rle_tra (minus_SNo 1) (add_SNo (minus_SNo 1) t) (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) Ha_low (andEL (Rle (add_SNo (minus_SNo 1) t) (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c))) (Rle (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) (add_SNo 1 (minus_SNo t))) Hbnds)).
We prove the intermediate claim Hhi: Rle (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) 1.
An exact proof term for the current goal is (Rle_tra (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) (add_SNo 1 (minus_SNo t)) 1 (andER (Rle (add_SNo (minus_SNo 1) t) (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c))) (Rle (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) (add_SNo 1 (minus_SNo t))) Hbnds) Hb_up).
An exact proof term for the current goal is (closed_intervalI_of_Rle (minus_SNo 1) 1 (add_SNo (apply_fun g x) (mul_SNo (apply_fun (u_of r) x) c)) Hm1R real_1 HyR Hlo Hhi).
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
We prove the intermediate claim HcNewEq: cNew = mul_SNo c two_thirds.
rewrite the current goal using HdenDef (from left to right).
Use reflexivity.
We prove the intermediate claim HcPairEq: ((gNew,(rNew,cNew)) 1) 1 = cNew.
We prove the intermediate claim Hinner: ((gNew,(rNew,cNew)) 1) = (rNew,cNew).
An exact proof term for the current goal is (tuple_2_1_eq gNew (rNew,cNew)).
rewrite the current goal using Hinner (from left to right) at position 1.
An exact proof term for the current goal is (tuple_2_1_eq rNew cNew).
We prove the intermediate claim HcGoalEq: ((gNew,(rNew,cNew)) 1) 1 = mul_SNo c two_thirds.
rewrite the current goal using HcPairEq (from left to right).
rewrite the current goal using HcNewEq (from left to right).
Use reflexivity.
We prove the intermediate claim HlowEq: add_SNo (minus_SNo 1) (((gNew,(rNew,cNew)) 1) 1) = add_SNo (minus_SNo 1) (mul_SNo c two_thirds).
rewrite the current goal using HcGoalEq (from left to right).
Use reflexivity.
We prove the intermediate claim HupEq: add_SNo 1 (minus_SNo (((gNew,(rNew,cNew)) 1) 1)) = add_SNo 1 (minus_SNo (mul_SNo c two_thirds)).
rewrite the current goal using HcGoalEq (from left to right).
Use reflexivity.
rewrite the current goal using HlowEq (from left to right).
rewrite the current goal using HupEq (from left to right).
An exact proof term for the current goal is HsumShrink.
Let n be given.
Assume HnO: n ω.
Let x be given.
Assume HxX: x X.
An exact proof term for the current goal is (andEL (apply_fun ((State n) 0) x I) (apply_fun ((State n) 0) x closed_interval (add_SNo (minus_SNo 1) (((State n) 1) 1)) (add_SNo 1 (minus_SNo (((State n) 1) 1)))) (HInv_nat n (omega_nat_p n HnO) x HxX)).
Let n be given.
Assume HnO: n ω.
Let x be given.
Assume HxX: x X.
We will prove apply_fun (apply_fun fn n) x I.
We prove the intermediate claim Hdef: fn = graph ω (λn0 : set(State n0) 0).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λn0 : set(State n0) 0) n Hdef HnO) (from left to right).
An exact proof term for the current goal is (HInv_g_I n HnO x HxX).
Let x be given.
Assume HxA: x A.
We will prove converges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x).
Set seq1 to be the term graph ω (λn : setapply_fun (apply_fun fn n) x).
Set seq2 to be the term graph ω (λn : setapply_fun ((State n) 0) x).
We prove the intermediate claim HseqEq: seq1 = seq2.
Apply set_ext to the current goal.
Let p be given.
Assume Hp: p seq1.
We will prove p seq2.
Apply (ReplE_impred ω (λn0 : set(n0,apply_fun (apply_fun fn n0) x)) p Hp (p seq2)) to the current goal.
Let n be given.
Assume HnO: n ω.
Assume HpEq: p = (n,apply_fun (apply_fun fn n) x).
rewrite the current goal using HpEq (from left to right).
We prove the intermediate claim Hdef: fn = graph ω (λn0 : set(State n0) 0).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λn0 : set(State n0) 0) n Hdef HnO) (from left to right) at position 1.
An exact proof term for the current goal is (ReplI ω (λn0 : set(n0,apply_fun ((State n0) 0) x)) n HnO).
Let p be given.
Assume Hp: p seq2.
We will prove p seq1.
Apply (ReplE_impred ω (λn0 : set(n0,apply_fun ((State n0) 0) x)) p Hp (p seq1)) to the current goal.
Let n be given.
Assume HnO: n ω.
Assume HpEq: p = (n,apply_fun ((State n) 0) x).
rewrite the current goal using HpEq (from left to right).
We prove the intermediate claim Hdef: fn = graph ω (λn0 : set(State n0) 0).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λn0 : set(State n0) 0) n Hdef HnO) (from right to left) at position 1.
An exact proof term for the current goal is (ReplI ω (λn0 : set(n0,apply_fun (apply_fun fn n0) x)) n HnO).
We prove the intermediate claim Hseq1def: seq1 = (graph ω (λn : setapply_fun (apply_fun fn n) x)).
Use reflexivity.
rewrite the current goal using Hseq1def (from right to left).
rewrite the current goal using HseqEq (from left to right).
We prove the intermediate claim Hseq2_conv: converges_to R (metric_topology R R_bounded_metric) seq2 (apply_fun f x).
Set lim to be the term apply_fun f x.
We prove the intermediate claim HconvM: sequence_converges_metric R R_bounded_metric seq2 lim.
We will prove metric_on R R_bounded_metric sequence_on seq2 R lim R ∀eps : set, eps R Rlt 0 eps∃N : set, N ω ∀n : set, n ωN nRlt (apply_fun R_bounded_metric (apply_fun seq2 n,lim)) eps.
We prove the intermediate claim Hseq2On: sequence_on seq2 R.
We will prove sequence_on seq2 R.
Let n be given.
Assume HnO: n ω.
We will prove apply_fun seq2 n R.
We prove the intermediate claim HxX: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim Hseq2def: seq2 = graph ω (λn0 : setapply_fun ((State n0) 0) x).
Use reflexivity.
rewrite the current goal using Hseq2def (from left to right).
rewrite the current goal using (apply_fun_graph ω (λn0 : setapply_fun ((State n0) 0) x) n HnO) (from left to right).
We prove the intermediate claim HgR_nat: ∀k : set, nat_p kapply_fun ((State k) 0) x R.
Apply nat_ind to the current goal.
We will prove apply_fun ((State 0) 0) x R.
We prove the intermediate claim H0: State 0 = BaseState.
An exact proof term for the current goal is (nat_primrec_0 BaseState StepState).
rewrite the current goal using H0 (from left to right).
We prove the intermediate claim HBase: BaseState = (g0g,(f1s,den)).
Use reflexivity.
rewrite the current goal using HBase (from left to right).
rewrite the current goal using (tuple_2_0_eq g0g (f1s,den)) (from left to right).
We prove the intermediate claim HxX0: x X.
An exact proof term for the current goal is (HAsubX x HxA).
rewrite the current goal using (apply_fun_graph X (λx0 : setapply_fun g0 x0) x HxX0) (from left to right).
We prove the intermediate claim Hg0I0: apply_fun g0 x I0.
An exact proof term for the current goal is (Hfung0 x HxX0).
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun g0 x) Hg0I0).
Let k be given.
Assume HkNat: nat_p k.
Assume IHk: apply_fun ((State k) 0) x R.
We will prove apply_fun ((State (ordsucc k)) 0) x R.
We prove the intermediate claim HS: State (ordsucc k) = StepState k (State k).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState k HkNat).
rewrite the current goal using HS (from left to right).
Set st to be the term State k.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim Hdef: StepState k st = (gNew,(rNew,cNew)).
Use reflexivity.
We prove the intermediate claim HgStep: (StepState k st) 0 = gNew.
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_0_eq gNew (rNew,cNew)).
rewrite the current goal using HgStep (from left to right).
We prove the intermediate claim HxX0: x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HgEq: g = (State k) 0.
Use reflexivity.
We prove the intermediate claim HgxR: apply_fun g x R.
rewrite the current goal using HgEq (from left to right).
An exact proof term for the current goal is IHk.
We prove the intermediate claim HkO: k ω.
An exact proof term for the current goal is (nat_p_omega k HkNat).
We prove the intermediate claim HrEq: r = ((State k) 1) 0.
Use reflexivity.
We prove the intermediate claim Hr_contI: continuous_map A Ta I Ti r.
rewrite the current goal using HrEq (from left to right).
An exact proof term for the current goal is (HInv_r_contI k HkO).
We prove the intermediate claim Hu_pack: continuous_map X Tx I0 T0 (u_of r) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third) (∀x0 : set, x0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x0 = one_third).
An exact proof term for the current goal is (Hu_of_prop r Hr_contI).
We prove the intermediate claim Hu_contI0: continuous_map X Tx I0 T0 (u_of r).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r)) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third) (andEL ((continuous_map X Tx I0 T0 (u_of r)) (∀x0 : set, x0 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x0 = minus_SNo one_third)) (∀x0 : set, x0 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x0 = one_third) Hu_pack)).
We prove the intermediate claim Hu_fun: function_on (u_of r) X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 (u_of r) Hu_contI0).
We prove the intermediate claim HuxI0: apply_fun (u_of r) x I0.
An exact proof term for the current goal is (Hu_fun x HxX0).
We prove the intermediate claim HuxR: apply_fun (u_of r) x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun (u_of r) x) HuxI0).
We prove the intermediate claim HcEq: c = ((State k) 1) 1.
Use reflexivity.
We prove the intermediate claim HcR: c R.
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (andEL (((State k) 1) 1 R) (0 < ((State k) 1) 1) (HInv_cpos k HkO)).
We prove the intermediate claim HcorrEq: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x = mul_SNo (apply_fun (u_of r) x) c.
We prove the intermediate claim Hcomp: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x = apply_fun (mul_const_fun c) (apply_fun (u_of r) x).
An exact proof term for the current goal is (compose_fun_apply X (u_of r) (mul_const_fun c) x HxX0).
rewrite the current goal using Hcomp (from left to right).
An exact proof term for the current goal is (mul_const_fun_apply c (apply_fun (u_of r) x) HcR HuxR).
We prove the intermediate claim HcorrR: apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x R.
rewrite the current goal using HcorrEq (from left to right).
An exact proof term for the current goal is (real_mul_SNo (apply_fun (u_of r) x) HuxR c HcR).
We prove the intermediate claim HgNewEval: apply_fun gNew x = add_SNo (apply_fun g x) (apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x).
An exact proof term for the current goal is (add_of_pair_map_apply X g (compose_fun X (u_of r) (mul_const_fun c)) x HxX0 HgxR HcorrR).
rewrite the current goal using HgNewEval (from left to right).
An exact proof term for the current goal is (real_add_SNo (apply_fun g x) HgxR (apply_fun (compose_fun X (u_of r) (mul_const_fun c)) x) HcorrR).
An exact proof term for the current goal is (HgR_nat n (omega_nat_p n HnO)).
Apply andI to the current goal.
We will prove (metric_on R R_bounded_metric sequence_on seq2 R) lim R.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is R_bounded_metric_is_metric_on_early.
An exact proof term for the current goal is Hseq2On.
We prove the intermediate claim HlimR: lim R.
An exact proof term for the current goal is (Hf_R x HxA).
An exact proof term for the current goal is HlimR.
Let eps be given.
Assume Heps: eps R Rlt 0 eps.
We prove the intermediate claim HepsR: eps R.
An exact proof term for the current goal is (andEL (eps R) (Rlt 0 eps) Heps).
We prove the intermediate claim HepsPos: Rlt 0 eps.
An exact proof term for the current goal is (andER (eps R) (Rlt 0 eps) Heps).
We prove the intermediate claim HepsS: SNo eps.
An exact proof term for the current goal is (real_SNo eps HepsR).
Apply (SNoLt_trichotomy_or_impred eps 1 HepsS SNo_1 (∃N : set, N ω ∀n : set, n ωN nRlt (apply_fun R_bounded_metric (apply_fun seq2 n,lim)) eps)) to the current goal.
Assume HepsLt1S: eps < 1.
We prove the intermediate claim HepsLt1: Rlt eps 1.
An exact proof term for the current goal is (RltI eps 1 HepsR real_1 HepsLt1S).
We prove the intermediate claim Hex_c_small: ∃N : set, N ω ∀n : set, n ωN n((State n) 1) 1 < eps.
We prove the intermediate claim HexK: ∃Kω, eps_ K < eps.
An exact proof term for the current goal is (exists_eps_lt_pos_Euclid eps HepsR HepsPos).
Apply HexK to the current goal.
Let K be given.
Assume HK.
We prove the intermediate claim HKomega: K ω.
An exact proof term for the current goal is (andEL (K ω) (eps_ K < eps) HK).
We prove the intermediate claim HepsKltEpsS: eps_ K < eps.
An exact proof term for the current goal is (andER (K ω) (eps_ K < eps) HK).
We prove the intermediate claim HepsKR: eps_ K R.
An exact proof term for the current goal is (SNoS_omega_real (eps_ K) (SNo_eps_SNoS_omega K HKomega)).
We prove the intermediate claim HepsKltEps: Rlt (eps_ K) eps.
An exact proof term for the current goal is (RltI (eps_ K) eps HepsKR HepsR HepsKltEpsS).
We prove the intermediate claim HexN: ∃N : set, N ω ∀n : set, n ωN n((State n) 1) 1 < eps_ K.
We prove the intermediate claim HKnat: nat_p K.
An exact proof term for the current goal is (omega_nat_p K HKomega).
We prove the intermediate claim HKcase: K = 0 ∃k : set, nat_p k K = ordsucc k.
An exact proof term for the current goal is (nat_inv K HKnat).
Apply HKcase to the current goal.
Assume HK0: K = 0.
We use 0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is (nat_p_omega 0 nat_0).
Let n be given.
Assume HnO: n ω.
Assume H0sub: 0 n.
We will prove ((State n) 1) 1 < eps_ K.
rewrite the current goal using HK0 (from left to right).
rewrite the current goal using eps_0_1 (from left to right).
An exact proof term for the current goal is (HInv_c_lt1 n HnO).
Assume Hexk: ∃k : set, nat_p k K = ordsucc k.
Apply Hexk to the current goal.
Let k be given.
Assume Hkconj: nat_p k K = ordsucc k.
We prove the intermediate claim HkNat: nat_p k.
An exact proof term for the current goal is (andEL (nat_p k) (K = ordsucc k) Hkconj).
We prove the intermediate claim HKeq: K = ordsucc k.
An exact proof term for the current goal is (andER (nat_p k) (K = ordsucc k) Hkconj).
Set N0 to be the term add_nat K K.
We use N0 to witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate claim HN0O: N0 ω.
rewrite the current goal using (add_nat_add_SNo K HKomega K HKomega) (from left to right).
An exact proof term for the current goal is (add_SNo_In_omega K HKomega K HKomega).
An exact proof term for the current goal is HN0O.
Let n be given.
Assume HnO: n ω.
Assume HN0sub: N0 n.
We prove the intermediate claim HKnat: nat_p K.
An exact proof term for the current goal is (omega_nat_p K HKomega).
We prove the intermediate claim HdenS: SNo den.
An exact proof term for the current goal is (real_SNo den HdenR).
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
We prove the intermediate claim HdenLt1: den < 1.
rewrite the current goal using HdenDef (from left to right).
An exact proof term for the current goal is (RltE_lt two_thirds 1 Rlt_two_thirds_1).
Set den2 to be the term mul_SNo den den.
We prove the intermediate claim Hden2S: SNo den2.
An exact proof term for the current goal is (SNo_mul_SNo den den HdenS HdenS).
We prove the intermediate claim Hden2Lt_eps1: den2 < eps_ 1.
rewrite the current goal using HdenDef (from left to right) at position 1.
rewrite the current goal using HdenDef (from left to right) at position 2.
An exact proof term for the current goal is two_thirds_sq_lt_eps_1.
We prove the intermediate claim Hc_step: ∀m : set, nat_p m((State (ordsucc m)) 1) 1 = mul_SNo (((State m) 1) 1) den.
Let m be given.
Assume HmNat: nat_p m.
We prove the intermediate claim HS: State (ordsucc m) = StepState m (State m).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState m HmNat).
rewrite the current goal using HS (from left to right).
Set st to be the term State m.
Set g to be the term st 0.
Set rpack to be the term st 1.
Set r to be the term rpack 0.
Set c to be the term rpack 1.
Set gNew to be the term compose_fun X (pair_map X g (compose_fun X (u_of r) (mul_const_fun c))) add_fun_R.
Set rNew to be the term compose_fun A (compose_fun A (pair_map A r (compose_fun A (u_of r) neg_fun)) add_fun_R) (div_const_fun den).
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim Hdef: StepState m st = (gNew,(rNew,cNew)).
Use reflexivity.
We prove the intermediate claim HtEq: ((StepState m st) 1) 1 = cNew.
We prove the intermediate claim Hinner: (StepState m st) 1 = (rNew,cNew).
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq gNew (rNew,cNew)).
rewrite the current goal using Hinner (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq rNew cNew).
rewrite the current goal using HtEq (from left to right).
We prove the intermediate claim HcEq: c = ((State m) 1) 1.
Use reflexivity.
rewrite the current goal using HcEq (from left to right).
Use reflexivity.
We prove the intermediate claim Hc_succ_lt: ∀t : set, t ω((State (ordsucc t)) 1) 1 < ((State t) 1) 1.
Let t be given.
Assume HtO: t ω.
We prove the intermediate claim HtNat: nat_p t.
An exact proof term for the current goal is (omega_nat_p t HtO).
We prove the intermediate claim HcEq: ((State (ordsucc t)) 1) 1 = mul_SNo (((State t) 1) 1) den.
An exact proof term for the current goal is (Hc_step t HtNat).
rewrite the current goal using HcEq (from left to right).
We prove the intermediate claim HctR: ((State t) 1) 1 R.
An exact proof term for the current goal is (andEL (((State t) 1) 1 R) (0 < ((State t) 1) 1) (HInv_cpos t HtO)).
We prove the intermediate claim HctS: SNo (((State t) 1) 1).
An exact proof term for the current goal is (real_SNo (((State t) 1) 1) HctR).
We prove the intermediate claim HctPos: 0 < (((State t) 1) 1).
An exact proof term for the current goal is (andER (((State t) 1) 1 R) (0 < ((State t) 1) 1) (HInv_cpos t HtO)).
We prove the intermediate claim HmulLt: mul_SNo den (((State t) 1) 1) < ((State t) 1) 1.
An exact proof term for the current goal is (mul_SNo_Lt1_pos_Lt den (((State t) 1) 1) HdenS HctS HdenLt1 HctPos).
We prove the intermediate claim HmulEq: mul_SNo den (((State t) 1) 1) = mul_SNo (((State t) 1) 1) den.
An exact proof term for the current goal is (mul_SNo_com den (((State t) 1) 1) HdenS HctS).
rewrite the current goal using HmulEq (from right to left).
An exact proof term for the current goal is HmulLt.
We prove the intermediate claim Hc_even_lt: ∀t : set, nat_p t((State (add_nat t t)) 1) 1 < eps_ t.
Apply nat_ind to the current goal.
We will prove ((State (add_nat 0 0)) 1) 1 < eps_ 0.
rewrite the current goal using (add_nat_0R 0) (from left to right) at position 1.
rewrite the current goal using eps_0_1 (from left to right).
An exact proof term for the current goal is (HInv_c_lt1 0 (nat_p_omega 0 nat_0)).
Let t be given.
Assume HtNat: nat_p t.
Assume IH: ((State (add_nat t t)) 1) 1 < eps_ t.
We will prove ((State (add_nat (ordsucc t) (ordsucc t))) 1) 1 < eps_ (ordsucc t).
Set N to be the term add_nat t t.
We prove the intermediate claim HNnat: nat_p N.
An exact proof term for the current goal is (add_nat_p t HtNat t HtNat).
We prove the intermediate claim Hidx: add_nat (ordsucc t) (ordsucc t) = ordsucc (ordsucc N).
rewrite the current goal using (add_nat_SL t HtNat (ordsucc t) (nat_ordsucc t HtNat)) (from left to right).
rewrite the current goal using (add_nat_SR t t HtNat) (from left to right).
Use reflexivity.
rewrite the current goal using Hidx (from left to right).
We prove the intermediate claim HN0: N ω.
An exact proof term for the current goal is (nat_p_omega N HNnat).
We prove the intermediate claim HcSN: ((State (ordsucc N)) 1) 1 = mul_SNo (((State N) 1) 1) den.
An exact proof term for the current goal is (Hc_step N HNnat).
We prove the intermediate claim HcSSN: ((State (ordsucc (ordsucc N))) 1) 1 = mul_SNo (mul_SNo (((State N) 1) 1) den) den.
We prove the intermediate claim HSNnat: nat_p (ordsucc N).
An exact proof term for the current goal is (nat_ordsucc N HNnat).
rewrite the current goal using (Hc_step (ordsucc N) HSNnat) (from left to right).
rewrite the current goal using HcSN (from left to right).
Use reflexivity.
rewrite the current goal using HcSSN (from left to right).
rewrite the current goal using (mul_SNo_assoc (((State N) 1) 1) den den (real_SNo (((State N) 1) 1) (andEL (((State N) 1) 1 R) (0 < ((State N) 1) 1) (HInv_cpos N HN0))) HdenS HdenS) (from right to left).
We prove the intermediate claim Hden2Def: den2 = mul_SNo den den.
Use reflexivity.
rewrite the current goal using Hden2Def (from right to left).
We prove the intermediate claim HcNpos: 0 < ((State N) 1) 1.
An exact proof term for the current goal is (andER (((State N) 1) 1 R) (0 < ((State N) 1) 1) (HInv_cpos N HN0)).
We prove the intermediate claim HcNS: SNo (((State N) 1) 1).
An exact proof term for the current goal is (real_SNo (((State N) 1) 1) (andEL (((State N) 1) 1 R) (0 < ((State N) 1) 1) (HInv_cpos N HN0))).
rewrite the current goal using (mul_SNo_com (((State N) 1) 1) den2 HcNS Hden2S) (from left to right).
We prove the intermediate claim Heps1R: (eps_ 1) R.
An exact proof term for the current goal is (SNoS_omega_real (eps_ 1) (SNo_eps_SNoS_omega 1 (nat_p_omega 1 nat_1))).
We prove the intermediate claim Heps1S: SNo (eps_ 1).
An exact proof term for the current goal is (real_SNo (eps_ 1) Heps1R).
We prove the intermediate claim Heps1pos: 0 < eps_ 1.
An exact proof term for the current goal is (RltE_lt 0 (eps_ 1) eps_1_pos_R).
We prove the intermediate claim Hmul1: mul_SNo den2 (((State N) 1) 1) < mul_SNo (eps_ 1) (((State N) 1) 1).
An exact proof term for the current goal is (pos_mul_SNo_Lt' den2 (eps_ 1) (((State N) 1) 1) Hden2S Heps1S HcNS HcNpos Hden2Lt_eps1).
We prove the intermediate claim Heps_tR: (eps_ t) R.
An exact proof term for the current goal is (SNoS_omega_real (eps_ t) (SNo_eps_SNoS_omega t (nat_p_omega t HtNat))).
We prove the intermediate claim Heps_tS: SNo (eps_ t).
An exact proof term for the current goal is (real_SNo (eps_ t) Heps_tR).
We prove the intermediate claim Hmul2: mul_SNo (eps_ 1) (((State N) 1) 1) < mul_SNo (eps_ 1) (eps_ t).
We prove the intermediate claim HcomL: mul_SNo (eps_ 1) (((State N) 1) 1) = mul_SNo (((State N) 1) 1) (eps_ 1).
An exact proof term for the current goal is (mul_SNo_com (eps_ 1) (((State N) 1) 1) Heps1S HcNS).
We prove the intermediate claim HcomR: mul_SNo (eps_ 1) (eps_ t) = mul_SNo (eps_ t) (eps_ 1).
An exact proof term for the current goal is (mul_SNo_com (eps_ 1) (eps_ t) Heps1S Heps_tS).
rewrite the current goal using HcomL (from left to right).
rewrite the current goal using HcomR (from left to right).
An exact proof term for the current goal is (pos_mul_SNo_Lt' (((State N) 1) 1) (eps_ t) (eps_ 1) HcNS Heps_tS Heps1S Heps1pos IH).
We prove the intermediate claim HmulTra: mul_SNo den2 (((State N) 1) 1) < mul_SNo (eps_ 1) (eps_ t).
An exact proof term for the current goal is (SNoLt_tra (mul_SNo den2 (((State N) 1) 1)) (mul_SNo (eps_ 1) (((State N) 1) 1)) (mul_SNo (eps_ 1) (eps_ t)) (SNo_mul_SNo den2 (((State N) 1) 1) Hden2S HcNS) (SNo_mul_SNo (eps_ 1) (((State N) 1) 1) Heps1S HcNS) (SNo_mul_SNo (eps_ 1) (eps_ t) Heps1S Heps_tS) Hmul1 Hmul2).
We prove the intermediate claim HepsEq: mul_SNo (eps_ 1) (eps_ t) = eps_ (ordsucc t).
rewrite the current goal using (mul_SNo_eps_eps_add_SNo 1 (nat_p_omega 1 nat_1) t (nat_p_omega t HtNat)) (from left to right).
We prove the intermediate claim Hordt: ordinal t.
An exact proof term for the current goal is (nat_p_ordinal t HtNat).
rewrite the current goal using (ordinal_ordsucc_SNo_eq t Hordt) (from right to left).
Use reflexivity.
rewrite the current goal using HepsEq (from right to left).
An exact proof term for the current goal is HmulTra.
We prove the intermediate claim HcN0: ((State N0) 1) 1 < eps_ K.
An exact proof term for the current goal is (Hc_even_lt K HKnat).
We prove the intermediate claim HnNat: nat_p n.
An exact proof term for the current goal is (omega_nat_p n HnO).
We prove the intermediate claim HN0O: N0 ω.
rewrite the current goal using (add_nat_add_SNo K HKomega K HKomega) (from left to right).
An exact proof term for the current goal is (add_SNo_In_omega K HKomega K HKomega).
We prove the intermediate claim HN0Nat: nat_p N0.
An exact proof term for the current goal is (omega_nat_p N0 HN0O).
We prove the intermediate claim Hexk: ∃k : set, nat_p k n = add_nat k N0.
An exact proof term for the current goal is (nat_Subq_add_ex N0 HN0Nat n HnNat HN0sub).
Apply Hexk to the current goal.
Let k1 be given.
Assume Hk1.
We prove the intermediate claim Hk1Nat: nat_p k1.
An exact proof term for the current goal is (andEL (nat_p k1) (n = add_nat k1 N0) Hk1).
We prove the intermediate claim HnEq: n = add_nat k1 N0.
An exact proof term for the current goal is (andER (nat_p k1) (n = add_nat k1 N0) Hk1).
rewrite the current goal using HnEq (from left to right).
We prove the intermediate claim Hkcase: k1 = 0 ∃j : set, nat_p j k1 = ordsucc j.
An exact proof term for the current goal is (nat_inv k1 Hk1Nat).
Apply Hkcase to the current goal.
Assume Hk10: k1 = 0.
rewrite the current goal using Hk10 (from left to right).
rewrite the current goal using (add_nat_0L N0 HN0Nat) (from left to right).
An exact proof term for the current goal is HcN0.
Assume Hk1S: ∃j : set, nat_p j k1 = ordsucc j.
Apply Hk1S to the current goal.
Let j be given.
Assume Hj.
We prove the intermediate claim HjNat: nat_p j.
An exact proof term for the current goal is (andEL (nat_p j) (k1 = ordsucc j) Hj).
We prove the intermediate claim Hk1Eq: k1 = ordsucc j.
An exact proof term for the current goal is (andER (nat_p j) (k1 = ordsucc j) Hj).
rewrite the current goal using Hk1Eq (from left to right).
We prove the intermediate claim Hdec: ∀j : set, nat_p j((State (add_nat (ordsucc j) N0)) 1) 1 < ((State N0) 1) 1.
Apply nat_ind to the current goal.
We will prove ((State (add_nat (ordsucc 0) N0)) 1) 1 < ((State N0) 1) 1.
rewrite the current goal using (add_nat_SL 0 nat_0 N0 HN0Nat) (from left to right).
rewrite the current goal using (add_nat_0L N0 HN0Nat) (from left to right).
An exact proof term for the current goal is (Hc_succ_lt N0 HN0O).
Let j be given.
Assume HjNat: nat_p j.
Assume IHj: ((State (add_nat (ordsucc j) N0)) 1) 1 < ((State N0) 1) 1.
We will prove ((State (add_nat (ordsucc (ordsucc j)) N0)) 1) 1 < ((State N0) 1) 1.
rewrite the current goal using (add_nat_SL (ordsucc j) (nat_ordsucc j HjNat) N0 HN0Nat) (from left to right).
We prove the intermediate claim HstepLt: ((State (ordsucc (add_nat (ordsucc j) N0))) 1) 1 < ((State (add_nat (ordsucc j) N0)) 1) 1.
An exact proof term for the current goal is (Hc_succ_lt (add_nat (ordsucc j) N0) (nat_p_omega (add_nat (ordsucc j) N0) (add_nat_p (ordsucc j) (nat_ordsucc j HjNat) N0 HN0Nat))).
We prove the intermediate claim HaO: ordsucc (add_nat (ordsucc j) N0) ω.
An exact proof term for the current goal is (nat_p_omega (ordsucc (add_nat (ordsucc j) N0)) (nat_ordsucc (add_nat (ordsucc j) N0) (add_nat_p (ordsucc j) (nat_ordsucc j HjNat) N0 HN0Nat))).
We prove the intermediate claim HbO: add_nat (ordsucc j) N0 ω.
An exact proof term for the current goal is (nat_p_omega (add_nat (ordsucc j) N0) (add_nat_p (ordsucc j) (nat_ordsucc j HjNat) N0 HN0Nat)).
We prove the intermediate claim HaR: ((State (ordsucc (add_nat (ordsucc j) N0))) 1) 1 R.
An exact proof term for the current goal is (andEL (((State (ordsucc (add_nat (ordsucc j) N0))) 1) 1 R) (0 < ((State (ordsucc (add_nat (ordsucc j) N0))) 1) 1) (HInv_cpos (ordsucc (add_nat (ordsucc j) N0)) HaO)).
We prove the intermediate claim HbR: ((State (add_nat (ordsucc j) N0)) 1) 1 R.
An exact proof term for the current goal is (andEL (((State (add_nat (ordsucc j) N0)) 1) 1 R) (0 < ((State (add_nat (ordsucc j) N0)) 1) 1) (HInv_cpos (add_nat (ordsucc j) N0) HbO)).
We prove the intermediate claim HcR0: ((State N0) 1) 1 R.
An exact proof term for the current goal is (andEL (((State N0) 1) 1 R) (0 < ((State N0) 1) 1) (HInv_cpos N0 HN0O)).
We prove the intermediate claim HaS: SNo (((State (ordsucc (add_nat (ordsucc j) N0))) 1) 1).
An exact proof term for the current goal is (real_SNo (((State (ordsucc (add_nat (ordsucc j) N0))) 1) 1) HaR).
We prove the intermediate claim HbS: SNo (((State (add_nat (ordsucc j) N0)) 1) 1).
An exact proof term for the current goal is (real_SNo (((State (add_nat (ordsucc j) N0)) 1) 1) HbR).
We prove the intermediate claim HcS0: SNo (((State N0) 1) 1).
An exact proof term for the current goal is (real_SNo (((State N0) 1) 1) HcR0).
An exact proof term for the current goal is (SNoLt_tra (((State (ordsucc (add_nat (ordsucc j) N0))) 1) 1) (((State (add_nat (ordsucc j) N0)) 1) 1) (((State N0) 1) 1) HaS HbS HcS0 HstepLt IHj).
We prove the intermediate claim HltN0: ((State (add_nat (ordsucc j) N0)) 1) 1 < ((State N0) 1) 1.
An exact proof term for the current goal is (Hdec j HjNat).
We prove the intermediate claim HxO: add_nat (ordsucc j) N0 ω.
An exact proof term for the current goal is (nat_p_omega (add_nat (ordsucc j) N0) (add_nat_p (ordsucc j) (nat_ordsucc j HjNat) N0 HN0Nat)).
We prove the intermediate claim HxR: ((State (add_nat (ordsucc j) N0)) 1) 1 R.
An exact proof term for the current goal is (andEL (((State (add_nat (ordsucc j) N0)) 1) 1 R) (0 < ((State (add_nat (ordsucc j) N0)) 1) 1) (HInv_cpos (add_nat (ordsucc j) N0) HxO)).
We prove the intermediate claim HxS: SNo (((State (add_nat (ordsucc j) N0)) 1) 1).
An exact proof term for the current goal is (real_SNo (((State (add_nat (ordsucc j) N0)) 1) 1) HxR).
We prove the intermediate claim HN0R: ((State N0) 1) 1 R.
An exact proof term for the current goal is (andEL (((State N0) 1) 1 R) (0 < ((State N0) 1) 1) (HInv_cpos N0 HN0O)).
We prove the intermediate claim HN0S: SNo (((State N0) 1) 1).
An exact proof term for the current goal is (real_SNo (((State N0) 1) 1) HN0R).
We prove the intermediate claim HepsKS: SNo (eps_ K).
An exact proof term for the current goal is (real_SNo (eps_ K) HepsKR).
An exact proof term for the current goal is (SNoLt_tra (((State (add_nat (ordsucc j) N0)) 1) 1) (((State N0) 1) 1) (eps_ K) HxS HN0S HepsKS HltN0 HcN0).
Apply HexN to the current goal.
Let N be given.
Assume HN.
We use N to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is (andEL (N ω) (∀n : set, n ωN n((State n) 1) 1 < eps_ K) HN).
Let n be given.
Assume HnO: n ω.
Assume HNsub: N n.
We prove the intermediate claim HNprop: ∀t : set, t ωN t((State t) 1) 1 < eps_ K.
An exact proof term for the current goal is (andER (N ω) (∀n : set, n ωN n((State n) 1) 1 < eps_ K) HN).
We prove the intermediate claim HcLtEpsK: ((State n) 1) 1 < eps_ K.
An exact proof term for the current goal is (HNprop n HnO HNsub).
We prove the intermediate claim HcR: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
We prove the intermediate claim HcS: SNo (((State n) 1) 1).
An exact proof term for the current goal is (real_SNo (((State n) 1) 1) HcR).
We prove the intermediate claim HepsKS: SNo (eps_ K).
An exact proof term for the current goal is (real_SNo (eps_ K) HepsKR).
We prove the intermediate claim HepsS0: SNo eps.
An exact proof term for the current goal is (real_SNo eps HepsR).
An exact proof term for the current goal is (SNoLt_tra (((State n) 1) 1) (eps_ K) eps HcS HepsKS HepsS0 HcLtEpsK HepsKltEpsS).
Apply Hex_c_small to the current goal.
Let N be given.
Assume HNpair.
We use N to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is (andEL (N ω) (∀n : set, n ωN n((State n) 1) 1 < eps) HNpair).
Let n be given.
Assume HnO: n ω.
Assume HNsub: N n.
We will prove Rlt (apply_fun R_bounded_metric (apply_fun seq2 n,lim)) eps.
We prove the intermediate claim Hseq2nR: apply_fun seq2 n R.
An exact proof term for the current goal is (Hseq2On n HnO).
We prove the intermediate claim HlimR: lim R.
An exact proof term for the current goal is (Hf_R x HxA).
We prove the intermediate claim Hpair: (apply_fun seq2 n,lim) setprod R R.
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun seq2 n) lim Hseq2nR HlimR).
We prove the intermediate claim HdefM: R_bounded_metric = graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)).
Use reflexivity.
rewrite the current goal using HdefM (from left to right).
rewrite the current goal using (apply_fun_graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)) (apply_fun seq2 n,lim) Hpair) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun seq2 n) lim) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun seq2 n) lim) (from left to right).
Set a to be the term apply_fun seq2 n.
Set b to be the term lim.
Set t to be the term add_SNo a (minus_SNo b).
We prove the intermediate claim HmbR: minus_SNo b R.
An exact proof term for the current goal is (real_minus_SNo b HlimR).
We prove the intermediate claim HtR: t R.
An exact proof term for the current goal is (real_add_SNo a Hseq2nR (minus_SNo b) HmbR).
We prove the intermediate claim HtS: SNo t.
An exact proof term for the current goal is (real_SNo t HtR).
We prove the intermediate claim HaS: SNo a.
An exact proof term for the current goal is (real_SNo a Hseq2nR).
We prove the intermediate claim HbS: SNo b.
An exact proof term for the current goal is (real_SNo b HlimR).
We prove the intermediate claim HabsEq: abs_SNo t = abs_SNo (add_SNo b (minus_SNo a)).
An exact proof term for the current goal is (abs_SNo_dist_swap a b HaS HbS).
We prove the intermediate claim HaEq: a = apply_fun ((State n) 0) x.
We prove the intermediate claim Hseq2def: seq2 = graph ω (λn0 : setapply_fun ((State n0) 0) x).
Use reflexivity.
rewrite the current goal using Hseq2def (from left to right).
rewrite the current goal using (apply_fun_graph ω (λn0 : setapply_fun ((State n0) 0) x) n HnO) (from left to right).
Use reflexivity.
We prove the intermediate claim Hident: add_SNo a (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) = b.
rewrite the current goal using HaEq (from left to right).
An exact proof term for the current goal is (HInv_residual_identity_A n HnO x HxA).
We prove the intermediate claim HrcEq: add_SNo b (minus_SNo a) = mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1).
rewrite the current goal using Hident (from right to left) at position 1.
Set rc to be the term mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1).
We prove the intermediate claim HrcR: rc R.
We prove the intermediate claim Hrfun: continuous_map A Ta I Ti (((State n) 1) 0).
An exact proof term for the current goal is (HInv_r_contI n HnO).
We prove the intermediate claim Hrfun_on: function_on (((State n) 1) 0) A I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti (((State n) 1) 0) Hrfun).
We prove the intermediate claim HrxI: apply_fun (((State n) 1) 0) x I.
An exact proof term for the current goal is (Hrfun_on x HxA).
We prove the intermediate claim HrxR: apply_fun (((State n) 1) 0) x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun (((State n) 1) 0) x) HrxI).
We prove the intermediate claim HcR: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
An exact proof term for the current goal is (real_mul_SNo (apply_fun (((State n) 1) 0) x) HrxR (((State n) 1) 1) HcR).
We prove the intermediate claim HrcS: SNo rc.
An exact proof term for the current goal is (real_SNo rc HrcR).
We prove the intermediate claim HaS0: SNo a.
An exact proof term for the current goal is (real_SNo a Hseq2nR).
rewrite the current goal using (add_SNo_com a rc HaS0 HrcS) (from left to right) at position 1.
An exact proof term for the current goal is (add_SNo_minus_R2 rc a HrcS HaS0).
We prove the intermediate claim HcR: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
We prove the intermediate claim HcS: SNo (((State n) 1) 1).
An exact proof term for the current goal is (real_SNo (((State n) 1) 1) HcR).
We prove the intermediate claim HcLtEps: ((State n) 1) 1 < eps.
An exact proof term for the current goal is (andER (N ω) (∀n0 : set, n0 ωN n0((State n0) 1) 1 < eps) HNpair n HnO HNsub).
We prove the intermediate claim Hcpos: 0 < ((State n) 1) 1.
An exact proof term for the current goal is (andER (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
We prove the intermediate claim H0le_c: 0 ((State n) 1) 1.
An exact proof term for the current goal is (SNoLtLe 0 (((State n) 1) 1) Hcpos).
We prove the intermediate claim Hrfun: continuous_map A Ta I Ti (((State n) 1) 0).
An exact proof term for the current goal is (HInv_r_contI n HnO).
We prove the intermediate claim Hrfun_on: function_on (((State n) 1) 0) A I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti (((State n) 1) 0) Hrfun).
We prove the intermediate claim HrxI: apply_fun (((State n) 1) 0) x I.
An exact proof term for the current goal is (Hrfun_on x HxA).
We prove the intermediate claim HrxR: apply_fun (((State n) 1) 0) x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun (((State n) 1) 0) x) HrxI).
We prove the intermediate claim HprodI: mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1) closed_interval (minus_SNo (((State n) 1) 1)) (((State n) 1) 1).
An exact proof term for the current goal is (mul_nonneg_closed_interval_minus1_1 (apply_fun (((State n) 1) 0) x) (((State n) 1) 1) HrxI HcR H0le_c).
We prove the intermediate claim Hmcr: (minus_SNo (((State n) 1) 1)) R.
An exact proof term for the current goal is (real_minus_SNo (((State n) 1) 1) HcR).
We prove the intermediate claim HprodR: mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1) R.
An exact proof term for the current goal is (real_mul_SNo (apply_fun (((State n) 1) 0) x) HrxR (((State n) 1) 1) HcR).
We prove the intermediate claim HprodS: SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)).
An exact proof term for the current goal is (real_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) HprodR).
We prove the intermediate claim Hbounds: Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo (((State n) 1) 1)) (((State n) 1) 1) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) Hmcr HcR HprodI).
We prove the intermediate claim HloRle: Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)).
An exact proof term for the current goal is (andEL (Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) (Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1)) Hbounds).
We prove the intermediate claim HhiRle: Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1).
An exact proof term for the current goal is (andER (Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) (Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1)) Hbounds).
We prove the intermediate claim HloLe: minus_SNo (((State n) 1) 1) mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1).
An exact proof term for the current goal is (SNoLe_of_Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) HloRle).
We prove the intermediate claim HhiLe: mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1) ((State n) 1) 1.
An exact proof term for the current goal is (SNoLe_of_Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1) HhiRle).
We prove the intermediate claim HabsLe: abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) ((State n) 1) 1.
An exact proof term for the current goal is (abs_SNo_Le_of_bounds (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1) HprodS HcS HloLe HhiLe).
We prove the intermediate claim HabsR: abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) R.
An exact proof term for the current goal is (abs_SNo_in_R (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) HprodR).
We prove the intermediate claim HabsS: SNo (abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))).
An exact proof term for the current goal is (real_SNo (abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) HabsR).
We prove the intermediate claim HabsLtEps: abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) < eps.
An exact proof term for the current goal is (SNoLeLt_tra (abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) (((State n) 1) 1) eps HabsS HcS HepsS HabsLe HcLtEps).
We prove the intermediate claim HabstLtEps: abs_SNo t < eps.
rewrite the current goal using HabsEq (from left to right).
rewrite the current goal using HrcEq (from left to right).
An exact proof term for the current goal is HabsLtEps.
An exact proof term for the current goal is (abs_lt_lt1_imp_R_bounded_distance_lt a b eps Hseq2nR HlimR HepsR HepsLt1 HabstLtEps).
Assume HepsEq1: eps = 1.
rewrite the current goal using HepsEq1 (from left to right).
We use 0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is (nat_p_omega 0 nat_0).
Let n be given.
Assume HnO: n ω.
Assume H0sub: 0 n.
We will prove Rlt (apply_fun R_bounded_metric (apply_fun seq2 n,lim)) 1.
We prove the intermediate claim Hseq2nR: apply_fun seq2 n R.
An exact proof term for the current goal is (Hseq2On n HnO).
We prove the intermediate claim HlimR: lim R.
An exact proof term for the current goal is (Hf_R x HxA).
We prove the intermediate claim Hpair: (apply_fun seq2 n,lim) setprod R R.
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun seq2 n) lim Hseq2nR HlimR).
We prove the intermediate claim HdefM: R_bounded_metric = graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)).
Use reflexivity.
rewrite the current goal using HdefM (from left to right).
rewrite the current goal using (apply_fun_graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)) (apply_fun seq2 n,lim) Hpair) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun seq2 n) lim) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun seq2 n) lim) (from left to right).
Set a to be the term apply_fun seq2 n.
Set b to be the term lim.
Set t to be the term add_SNo a (minus_SNo b).
We prove the intermediate claim HmbR: minus_SNo b R.
An exact proof term for the current goal is (real_minus_SNo b HlimR).
We prove the intermediate claim HtR: t R.
An exact proof term for the current goal is (real_add_SNo a Hseq2nR (minus_SNo b) HmbR).
We prove the intermediate claim HtS: SNo t.
An exact proof term for the current goal is (real_SNo t HtR).
We prove the intermediate claim HaS: SNo a.
An exact proof term for the current goal is (real_SNo a Hseq2nR).
We prove the intermediate claim HbS: SNo b.
An exact proof term for the current goal is (real_SNo b HlimR).
We prove the intermediate claim HabsEq: abs_SNo t = abs_SNo (add_SNo b (minus_SNo a)).
An exact proof term for the current goal is (abs_SNo_dist_swap a b HaS HbS).
We prove the intermediate claim HaEq: a = apply_fun ((State n) 0) x.
We prove the intermediate claim Hseq2def: seq2 = graph ω (λn0 : setapply_fun ((State n0) 0) x).
Use reflexivity.
rewrite the current goal using Hseq2def (from left to right).
rewrite the current goal using (apply_fun_graph ω (λn0 : setapply_fun ((State n0) 0) x) n HnO) (from left to right).
Use reflexivity.
We prove the intermediate claim Hident: add_SNo a (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) = b.
rewrite the current goal using HaEq (from left to right).
An exact proof term for the current goal is (HInv_residual_identity_A n HnO x HxA).
We prove the intermediate claim HrcEq: add_SNo b (minus_SNo a) = mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1).
rewrite the current goal using Hident (from right to left) at position 1.
Set rc to be the term mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1).
We prove the intermediate claim HrcR: rc R.
We prove the intermediate claim Hrfun: continuous_map A Ta I Ti (((State n) 1) 0).
An exact proof term for the current goal is (HInv_r_contI n HnO).
We prove the intermediate claim Hrfun_on: function_on (((State n) 1) 0) A I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti (((State n) 1) 0) Hrfun).
We prove the intermediate claim HrxI: apply_fun (((State n) 1) 0) x I.
An exact proof term for the current goal is (Hrfun_on x HxA).
We prove the intermediate claim HrxR: apply_fun (((State n) 1) 0) x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun (((State n) 1) 0) x) HrxI).
We prove the intermediate claim HcR: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
An exact proof term for the current goal is (real_mul_SNo (apply_fun (((State n) 1) 0) x) HrxR (((State n) 1) 1) HcR).
We prove the intermediate claim HrcS: SNo rc.
An exact proof term for the current goal is (real_SNo rc HrcR).
We prove the intermediate claim HaS0: SNo a.
An exact proof term for the current goal is (real_SNo a Hseq2nR).
rewrite the current goal using (add_SNo_com a rc HaS0 HrcS) (from left to right) at position 1.
An exact proof term for the current goal is (add_SNo_minus_R2 rc a HrcS HaS0).
We prove the intermediate claim HcR: ((State n) 1) 1 R.
An exact proof term for the current goal is (andEL (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
We prove the intermediate claim HcS: SNo (((State n) 1) 1).
An exact proof term for the current goal is (real_SNo (((State n) 1) 1) HcR).
We prove the intermediate claim HcLt1: ((State n) 1) 1 < 1.
An exact proof term for the current goal is (HInv_c_lt1 n HnO).
We prove the intermediate claim Hcpos: 0 < ((State n) 1) 1.
An exact proof term for the current goal is (andER (((State n) 1) 1 R) (0 < ((State n) 1) 1) (HInv_cpos n HnO)).
We prove the intermediate claim H0le_c: 0 ((State n) 1) 1.
An exact proof term for the current goal is (SNoLtLe 0 (((State n) 1) 1) Hcpos).
We prove the intermediate claim Hrfun: continuous_map A Ta I Ti (((State n) 1) 0).
An exact proof term for the current goal is (HInv_r_contI n HnO).
We prove the intermediate claim Hrfun_on: function_on (((State n) 1) 0) A I.
An exact proof term for the current goal is (continuous_map_function_on A Ta I Ti (((State n) 1) 0) Hrfun).
We prove the intermediate claim HrxI: apply_fun (((State n) 1) 0) x I.
An exact proof term for the current goal is (Hrfun_on x HxA).
We prove the intermediate claim HrxR: apply_fun (((State n) 1) 0) x R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun (((State n) 1) 0) x) HrxI).
We prove the intermediate claim HrxS: SNo (apply_fun (((State n) 1) 0) x).
An exact proof term for the current goal is (real_SNo (apply_fun (((State n) 1) 0) x) HrxR).
We prove the intermediate claim HprodI: mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1) closed_interval (minus_SNo (((State n) 1) 1)) (((State n) 1) 1).
An exact proof term for the current goal is (mul_nonneg_closed_interval_minus1_1 (apply_fun (((State n) 1) 0) x) (((State n) 1) 1) HrxI HcR H0le_c).
We prove the intermediate claim Hmcr: (minus_SNo (((State n) 1) 1)) R.
An exact proof term for the current goal is (real_minus_SNo (((State n) 1) 1) HcR).
We prove the intermediate claim HprodR: mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1) R.
An exact proof term for the current goal is (real_mul_SNo (apply_fun (((State n) 1) 0) x) HrxR (((State n) 1) 1) HcR).
We prove the intermediate claim HprodS: SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)).
An exact proof term for the current goal is (real_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) HprodR).
We prove the intermediate claim Hbounds: Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1).
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo (((State n) 1) 1)) (((State n) 1) 1) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) Hmcr HcR HprodI).
We prove the intermediate claim HloRle: Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)).
An exact proof term for the current goal is (andEL (Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) (Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1)) Hbounds).
We prove the intermediate claim HhiRle: Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1).
An exact proof term for the current goal is (andER (Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) (Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1)) Hbounds).
We prove the intermediate claim HloLe: minus_SNo (((State n) 1) 1) mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1).
An exact proof term for the current goal is (SNoLe_of_Rle (minus_SNo (((State n) 1) 1)) (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) HloRle).
We prove the intermediate claim HhiLe: mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1) ((State n) 1) 1.
An exact proof term for the current goal is (SNoLe_of_Rle (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1) HhiRle).
We prove the intermediate claim HabsLe: abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) ((State n) 1) 1.
An exact proof term for the current goal is (abs_SNo_Le_of_bounds (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) (((State n) 1) 1) HprodS HcS HloLe HhiLe).
We prove the intermediate claim HabsR: abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) R.
An exact proof term for the current goal is (abs_SNo_in_R (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) HprodR).
We prove the intermediate claim HabsS: SNo (abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))).
An exact proof term for the current goal is (real_SNo (abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) HabsR).
We prove the intermediate claim HabsLt1: abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1)) < 1.
An exact proof term for the current goal is (SNoLeLt_tra (abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) (((State n) 1) 1) 1 HabsS HcS SNo_1 HabsLe HcLt1).
We prove the intermediate claim HabsLt1R: Rlt (abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) 1.
An exact proof term for the current goal is (RltI (abs_SNo (mul_SNo (apply_fun (((State n) 1) 0) x) (((State n) 1) 1))) 1 HabsR real_1 HabsLt1).
We prove the intermediate claim HabstLt1: Rlt (abs_SNo t) 1.
rewrite the current goal using HabsEq (from left to right).
rewrite the current goal using HrcEq (from left to right).
An exact proof term for the current goal is HabsLt1R.
We prove the intermediate claim Hbddef: R_bounded_distance a b = If_i (Rlt (abs_SNo t) 1) (abs_SNo t) 1.
Use reflexivity.
rewrite the current goal using Hbddef (from left to right).
rewrite the current goal using (If_i_1 (Rlt (abs_SNo t) 1) (abs_SNo t) 1 HabstLt1) (from left to right).
An exact proof term for the current goal is HabstLt1.
Assume H1LtEpsS: 1 < eps.
We prove the intermediate claim H1LtEps: Rlt 1 eps.
An exact proof term for the current goal is (RltI 1 eps real_1 HepsR H1LtEpsS).
We use 0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is (nat_p_omega 0 nat_0).
Let n be given.
Assume HnO: n ω.
Assume H0sub: 0 n.
We will prove Rlt (apply_fun R_bounded_metric (apply_fun seq2 n,lim)) eps.
We prove the intermediate claim Hseq2nR: apply_fun seq2 n R.
An exact proof term for the current goal is (Hseq2On n HnO).
We prove the intermediate claim HlimR: lim R.
An exact proof term for the current goal is (Hf_R x HxA).
We prove the intermediate claim Hpair: (apply_fun seq2 n,lim) setprod R R.
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun seq2 n) lim Hseq2nR HlimR).
We prove the intermediate claim HdefM: R_bounded_metric = graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)).
Use reflexivity.
rewrite the current goal using HdefM (from left to right).
rewrite the current goal using (apply_fun_graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)) (apply_fun seq2 n,lim) Hpair) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun seq2 n) lim) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun seq2 n) lim) (from left to right).
We prove the intermediate claim Hle1: Rle (R_bounded_distance (apply_fun seq2 n) lim) 1.
An exact proof term for the current goal is (R_bounded_distance_le_1 (apply_fun seq2 n) lim Hseq2nR HlimR).
An exact proof term for the current goal is (Rle_Rlt_tra (R_bounded_distance (apply_fun seq2 n) lim) 1 eps Hle1 H1LtEps).
An exact proof term for the current goal is (sequence_converges_metric_imp_converges_to_metric_topology R R_bounded_metric seq2 lim HconvM).
An exact proof term for the current goal is Hseq2_conv.
Let eps be given.
Assume HepsR: eps R.
Assume HepsPos: Rlt 0 eps.
We will prove ∃N : set, N ω ∀m n : set, m ωn ωN mN n∀x : set, x XRlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) eps.
We prove the intermediate claim HepsS: SNo eps.
An exact proof term for the current goal is (real_SNo eps HepsR).
We prove the intermediate claim Huc_small: ∀eps0 : set, eps0 RRlt 0 eps0Rlt eps0 1∃N : set, N ω ∀m n : set, m ωn ωN mN n∀x : set, x XRlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) eps0.
Let eps0 be given.
Assume Heps0R: eps0 R.
Assume Heps0Pos: Rlt 0 eps0.
Assume Heps0Lt1: Rlt eps0 1.
We prove the intermediate claim Heps0S: SNo eps0.
An exact proof term for the current goal is (real_SNo eps0 Heps0R).
Set eta to be the term mul_SNo eps0 (eps_ 1).
We prove the intermediate claim HetaR: eta R.
An exact proof term for the current goal is (real_mul_SNo eps0 Heps0R (eps_ 1) eps_1_in_R).
We prove the intermediate claim HetaS: SNo eta.
An exact proof term for the current goal is (real_SNo eta HetaR).
We prove the intermediate claim Heps0PosS: 0 < eps0.
An exact proof term for the current goal is (RltE_lt 0 eps0 Heps0Pos).
We prove the intermediate claim Heps1S: SNo (eps_ 1).
An exact proof term for the current goal is (real_SNo (eps_ 1) eps_1_in_R).
We prove the intermediate claim Heps1PosS: 0 < eps_ 1.
An exact proof term for the current goal is (RltE_lt 0 (eps_ 1) eps_1_pos_R).
We prove the intermediate claim HetaPosS: 0 < eta.
An exact proof term for the current goal is (mul_SNo_pos_pos eps0 (eps_ 1) Heps0S Heps1S Heps0PosS Heps1PosS).
We prove the intermediate claim HetaPos: Rlt 0 eta.
An exact proof term for the current goal is (RltI 0 eta real_0 HetaR HetaPosS).
We prove the intermediate claim HexK: ∃Kω, eps_ K < eta.
An exact proof term for the current goal is (exists_eps_lt_pos_Euclid eta HetaR HetaPos).
Apply HexK to the current goal.
Let K be given.
Assume HK.
We prove the intermediate claim HKomega: K ω.
An exact proof term for the current goal is (andEL (K ω) (eps_ K < eta) HK).
We prove the intermediate claim HKnat: nat_p K.
An exact proof term for the current goal is (omega_nat_p K HKomega).
We prove the intermediate claim HepsKltEtaS: eps_ K < eta.
An exact proof term for the current goal is (andER (K ω) (eps_ K < eta) HK).
We prove the intermediate claim HepsKR: eps_ K R.
An exact proof term for the current goal is (SNoS_omega_real (eps_ K) (SNo_eps_SNoS_omega K HKomega)).
We prove the intermediate claim HepsKS: SNo (eps_ K).
An exact proof term for the current goal is (real_SNo (eps_ K) HepsKR).
Set N0 to be the term add_nat K K.
We prove the intermediate claim HN0O: N0 ω.
rewrite the current goal using (add_nat_add_SNo K HKomega K HKomega) (from left to right).
An exact proof term for the current goal is (add_SNo_In_omega K HKomega K HKomega).
We prove the intermediate claim HN0Nat: nat_p N0.
An exact proof term for the current goal is (omega_nat_p N0 HN0O).
We prove the intermediate claim HdenS: SNo den.
An exact proof term for the current goal is (real_SNo den HdenR).
We prove the intermediate claim HdenDef: den = two_thirds.
Use reflexivity.
We prove the intermediate claim HdenLt1: den < 1.
rewrite the current goal using HdenDef (from left to right).
An exact proof term for the current goal is (RltE_lt two_thirds 1 Rlt_two_thirds_1).
Set den2 to be the term mul_SNo den den.
We prove the intermediate claim Hden2S: SNo den2.
An exact proof term for the current goal is (SNo_mul_SNo den den HdenS HdenS).
We prove the intermediate claim Hden2Lt_eps1: den2 < eps_ 1.
rewrite the current goal using HdenDef (from left to right) at position 1.
rewrite the current goal using HdenDef (from left to right) at position 2.
An exact proof term for the current goal is two_thirds_sq_lt_eps_1.
We prove the intermediate claim Hc_step: ∀m : set, nat_p m((State (ordsucc m)) 1) 1 = mul_SNo (((State m) 1) 1) den.
Let m be given.
Assume HmNat: nat_p m.
We prove the intermediate claim HS: State (ordsucc m) = StepState m (State m).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState m HmNat).
rewrite the current goal using HS (from left to right).
Set st to be the term State m.
Set c to be the term (st 1) 1.
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim Hdef: StepState m st = (compose_fun X (pair_map X (st 0) (compose_fun X (u_of ((st 1) 0)) (mul_const_fun c))) add_fun_R,(compose_fun A (compose_fun A (pair_map A ((st 1) 0) (compose_fun A (u_of ((st 1) 0)) neg_fun)) add_fun_R) (div_const_fun den),cNew)).
Use reflexivity.
We prove the intermediate claim HtEq: ((StepState m st) 1) 1 = cNew.
We prove the intermediate claim Hinner: (StepState m st) 1 = (compose_fun A (compose_fun A (pair_map A ((st 1) 0) (compose_fun A (u_of ((st 1) 0)) neg_fun)) add_fun_R) (div_const_fun den),cNew).
rewrite the current goal using Hdef (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq (compose_fun X (pair_map X (st 0) (compose_fun X (u_of ((st 1) 0)) (mul_const_fun c))) add_fun_R) (compose_fun A (compose_fun A (pair_map A ((st 1) 0) (compose_fun A (u_of ((st 1) 0)) neg_fun)) add_fun_R) (div_const_fun den),cNew)).
rewrite the current goal using Hinner (from left to right).
An exact proof term for the current goal is (tuple_2_1_eq (compose_fun A (compose_fun A (pair_map A ((st 1) 0) (compose_fun A (u_of ((st 1) 0)) neg_fun)) add_fun_R) (div_const_fun den)) cNew).
rewrite the current goal using HtEq (from left to right).
We prove the intermediate claim HstEq: st = State m.
Use reflexivity.
We prove the intermediate claim HcEq2: c = ((State m) 1) 1.
rewrite the current goal using HstEq (from left to right).
Use reflexivity.
rewrite the current goal using HcEq2 (from left to right).
Use reflexivity.
We prove the intermediate claim Hc_even_lt: ∀t : set, nat_p t((State (add_nat t t)) 1) 1 < eps_ t.
Apply nat_ind to the current goal.
We will prove ((State (add_nat 0 0)) 1) 1 < eps_ 0.
rewrite the current goal using (add_nat_0R 0) (from left to right) at position 1.
rewrite the current goal using eps_0_1 (from left to right).
An exact proof term for the current goal is (HInv_c_lt1 0 (nat_p_omega 0 nat_0)).
Let t be given.
Assume HtNat: nat_p t.
Assume IH: ((State (add_nat t t)) 1) 1 < eps_ t.
We will prove ((State (add_nat (ordsucc t) (ordsucc t))) 1) 1 < eps_ (ordsucc t).
Set N to be the term add_nat t t.
We prove the intermediate claim HNnat: nat_p N.
An exact proof term for the current goal is (add_nat_p t HtNat t HtNat).
We prove the intermediate claim Hidx: add_nat (ordsucc t) (ordsucc t) = ordsucc (ordsucc N).
rewrite the current goal using (add_nat_SL t HtNat (ordsucc t) (nat_ordsucc t HtNat)) (from left to right).
rewrite the current goal using (add_nat_SR t t HtNat) (from left to right).
Use reflexivity.
rewrite the current goal using Hidx (from left to right).
We prove the intermediate claim HN0: N ω.
An exact proof term for the current goal is (nat_p_omega N HNnat).
We prove the intermediate claim HcSN: ((State (ordsucc N)) 1) 1 = mul_SNo (((State N) 1) 1) den.
An exact proof term for the current goal is (Hc_step N HNnat).
We prove the intermediate claim HcSSN: ((State (ordsucc (ordsucc N))) 1) 1 = mul_SNo (mul_SNo (((State N) 1) 1) den) den.
We prove the intermediate claim HSNnat: nat_p (ordsucc N).
An exact proof term for the current goal is (nat_ordsucc N HNnat).
rewrite the current goal using (Hc_step (ordsucc N) HSNnat) (from left to right).
rewrite the current goal using HcSN (from left to right).
Use reflexivity.
rewrite the current goal using HcSSN (from left to right).
rewrite the current goal using (mul_SNo_assoc (((State N) 1) 1) den den (real_SNo (((State N) 1) 1) (andEL (((State N) 1) 1 R) (0 < ((State N) 1) 1) (HInv_cpos N HN0))) HdenS HdenS) (from right to left).
We prove the intermediate claim Hden2Def: den2 = mul_SNo den den.
Use reflexivity.
rewrite the current goal using Hden2Def (from right to left).
We prove the intermediate claim HcNpos: 0 < ((State N) 1) 1.
An exact proof term for the current goal is (andER (((State N) 1) 1 R) (0 < ((State N) 1) 1) (HInv_cpos N HN0)).
We prove the intermediate claim HcNS: SNo (((State N) 1) 1).
An exact proof term for the current goal is (real_SNo (((State N) 1) 1) (andEL (((State N) 1) 1 R) (0 < ((State N) 1) 1) (HInv_cpos N HN0))).
rewrite the current goal using (mul_SNo_com (((State N) 1) 1) den2 HcNS Hden2S) (from left to right).
We prove the intermediate claim Heps1S0: SNo (eps_ 1).
An exact proof term for the current goal is (real_SNo (eps_ 1) eps_1_in_R).
We prove the intermediate claim Heps1pos: 0 < eps_ 1.
An exact proof term for the current goal is (RltE_lt 0 (eps_ 1) eps_1_pos_R).
We prove the intermediate claim Hmul1: mul_SNo den2 (((State N) 1) 1) < mul_SNo (eps_ 1) (((State N) 1) 1).
An exact proof term for the current goal is (pos_mul_SNo_Lt' den2 (eps_ 1) (((State N) 1) 1) Hden2S Heps1S0 HcNS HcNpos Hden2Lt_eps1).
We prove the intermediate claim Heps_tR: (eps_ t) R.
An exact proof term for the current goal is (SNoS_omega_real (eps_ t) (SNo_eps_SNoS_omega t (nat_p_omega t HtNat))).
We prove the intermediate claim Heps_tS: SNo (eps_ t).
An exact proof term for the current goal is (real_SNo (eps_ t) Heps_tR).
We prove the intermediate claim Hmul2: mul_SNo (eps_ 1) (((State N) 1) 1) < mul_SNo (eps_ 1) (eps_ t).
We prove the intermediate claim HcomL: mul_SNo (eps_ 1) (((State N) 1) 1) = mul_SNo (((State N) 1) 1) (eps_ 1).
An exact proof term for the current goal is (mul_SNo_com (eps_ 1) (((State N) 1) 1) Heps1S0 HcNS).
We prove the intermediate claim HcomR: mul_SNo (eps_ 1) (eps_ t) = mul_SNo (eps_ t) (eps_ 1).
An exact proof term for the current goal is (mul_SNo_com (eps_ 1) (eps_ t) Heps1S0 Heps_tS).
rewrite the current goal using HcomL (from left to right).
rewrite the current goal using HcomR (from left to right).
An exact proof term for the current goal is (pos_mul_SNo_Lt' (((State N) 1) 1) (eps_ t) (eps_ 1) HcNS Heps_tS Heps1S0 Heps1pos IH).
We prove the intermediate claim HmulTra: mul_SNo den2 (((State N) 1) 1) < mul_SNo (eps_ 1) (eps_ t).
An exact proof term for the current goal is (SNoLt_tra (mul_SNo den2 (((State N) 1) 1)) (mul_SNo (eps_ 1) (((State N) 1) 1)) (mul_SNo (eps_ 1) (eps_ t)) (SNo_mul_SNo den2 (((State N) 1) 1) Hden2S HcNS) (SNo_mul_SNo (eps_ 1) (((State N) 1) 1) Heps1S0 HcNS) (SNo_mul_SNo (eps_ 1) (eps_ t) Heps1S0 Heps_tS) Hmul1 Hmul2).
We prove the intermediate claim HepsEq: mul_SNo (eps_ 1) (eps_ t) = eps_ (ordsucc t).
rewrite the current goal using (mul_SNo_eps_eps_add_SNo 1 (nat_p_omega 1 nat_1) t (nat_p_omega t HtNat)) (from left to right).
We prove the intermediate claim Hordt: ordinal t.
An exact proof term for the current goal is (nat_p_ordinal t HtNat).
rewrite the current goal using (ordinal_ordsucc_SNo_eq t Hordt) (from right to left).
Use reflexivity.
rewrite the current goal using HepsEq (from right to left).
An exact proof term for the current goal is HmulTra.
We prove the intermediate claim HcN0: ((State N0) 1) 1 < eps_ K.
An exact proof term for the current goal is (Hc_even_lt K HKnat).
We prove the intermediate claim HcN0R: ((State N0) 1) 1 R.
An exact proof term for the current goal is (andEL (((State N0) 1) 1 R) (0 < ((State N0) 1) 1) (HInv_cpos N0 HN0O)).
We prove the intermediate claim HcN0S: SNo (((State N0) 1) 1).
An exact proof term for the current goal is (real_SNo (((State N0) 1) 1) HcN0R).
We prove the intermediate claim HcN0ltEta: ((State N0) 1) 1 < eta.
An exact proof term for the current goal is (SNoLt_tra (((State N0) 1) 1) (eps_ K) eta HcN0S HepsKS HetaS HcN0 HepsKltEtaS).
We use N0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HN0O.
Let m and n be given.
Assume HmO: m ω.
Assume HnO: n ω.
Assume HNm: N0 m.
Assume HNn: N0 n.
Let x be given.
Assume HxX: x X.
We will prove Rlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) eps0.
We prove the intermediate claim HmNat: nat_p m.
An exact proof term for the current goal is (omega_nat_p m HmO).
We prove the intermediate claim HnNat: nat_p n.
An exact proof term for the current goal is (omega_nat_p n HnO).
We prove the intermediate claim Hexkm: ∃km : set, nat_p km m = add_nat km N0.
An exact proof term for the current goal is (nat_Subq_add_ex N0 HN0Nat m HmNat HNm).
Apply Hexkm to the current goal.
Let km be given.
Assume Hkm.
We prove the intermediate claim HkmNat: nat_p km.
An exact proof term for the current goal is (andEL (nat_p km) (m = add_nat km N0) Hkm).
We prove the intermediate claim HmEq: m = add_nat km N0.
An exact proof term for the current goal is (andER (nat_p km) (m = add_nat km N0) Hkm).
rewrite the current goal using HmEq (from left to right).
We prove the intermediate claim Hexkn: ∃kn : set, nat_p kn n = add_nat kn N0.
An exact proof term for the current goal is (nat_Subq_add_ex N0 HN0Nat n HnNat HNn).
Apply Hexkn to the current goal.
Let kn be given.
Assume Hkn.
We prove the intermediate claim HknNat: nat_p kn.
An exact proof term for the current goal is (andEL (nat_p kn) (n = add_nat kn N0) Hkn).
We prove the intermediate claim HnEq: n = add_nat kn N0.
An exact proof term for the current goal is (andER (nat_p kn) (n = add_nat kn N0) Hkn).
rewrite the current goal using HnEq (from left to right).
We prove the intermediate claim HmO2: (add_nat km N0) ω.
An exact proof term for the current goal is (nat_p_omega (add_nat km N0) (add_nat_p km HkmNat N0 HN0Nat)).
We prove the intermediate claim HnO2: (add_nat kn N0) ω.
An exact proof term for the current goal is (nat_p_omega (add_nat kn N0) (add_nat_p kn HknNat N0 HN0Nat)).
We prove the intermediate claim HfnDef: fn = graph ω (λk : set(State k) 0).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λk : set(State k) 0) (add_nat km N0) HfnDef HmO2) (from left to right).
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λk : set(State k) 0) (add_nat kn N0) HfnDef HnO2) (from left to right).
We prove the intermediate claim HmFS: (State (add_nat km N0)) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS (add_nat km N0) HmO2).
We prove the intermediate claim HnFS: (State (add_nat kn N0)) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS (add_nat kn N0) HnO2).
We prove the intermediate claim Hm_on: function_on ((State (add_nat km N0)) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State (add_nat km N0)) 0) X R HmFS).
We prove the intermediate claim Hn_on: function_on ((State (add_nat kn N0)) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State (add_nat kn N0)) 0) X R HnFS).
We prove the intermediate claim HmxR: apply_fun ((State (add_nat km N0)) 0) x R.
An exact proof term for the current goal is (Hm_on x HxX).
We prove the intermediate claim HnxR: apply_fun ((State (add_nat kn N0)) 0) x R.
An exact proof term for the current goal is (Hn_on x HxX).
We prove the intermediate claim HmxS: SNo (apply_fun ((State (add_nat km N0)) 0) x).
An exact proof term for the current goal is (real_SNo (apply_fun ((State (add_nat km N0)) 0) x) HmxR).
We prove the intermediate claim HnxS: SNo (apply_fun ((State (add_nat kn N0)) 0) x).
An exact proof term for the current goal is (real_SNo (apply_fun ((State (add_nat kn N0)) 0) x) HnxR).
We prove the intermediate claim HgN0FS: (State N0) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS N0 HN0O).
We prove the intermediate claim HgN0_on: function_on ((State N0) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State N0) 0) X R HgN0FS).
We prove the intermediate claim HgN0xR: apply_fun ((State N0) 0) x R.
An exact proof term for the current goal is (HgN0_on x HxX).
We prove the intermediate claim HgN0xS: SNo (apply_fun ((State N0) 0) x).
An exact proof term for the current goal is (real_SNo (apply_fun ((State N0) 0) x) HgN0xR).
We prove the intermediate claim HcN0S0: SNo (((State N0) 1) 1).
An exact proof term for the current goal is (real_SNo (((State N0) 1) 1) HcN0R).
We prove the intermediate claim Hstep_budget: ∀t : set, nat_p t∀x0 : set, x0 Xabs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x0) (minus_SNo (apply_fun ((State t) 0) x0))) add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1)).
Let t be given.
Assume HtNat: nat_p t.
Let x0 be given.
Assume Hx0X: x0 X.
We prove the intermediate claim HtO: t ω.
An exact proof term for the current goal is (nat_p_omega t HtNat).
We prove the intermediate claim HtSuccO: ordsucc t ω.
An exact proof term for the current goal is (omega_ordsucc t HtO).
Set r to be the term ((State t) 1) 0.
Set c to be the term ((State t) 1) 1.
Set corr to be the term compose_fun X (u_of r) (mul_const_fun c).
Set gNew to be the term compose_fun X (pair_map X ((State t) 0) corr) add_fun_R.
Set cNew to be the term mul_SNo c den.
We prove the intermediate claim HS: State (ordsucc t) = StepState t (State t).
An exact proof term for the current goal is (nat_primrec_S BaseState StepState t HtNat).
rewrite the current goal using (Hc_step t HtNat) (from left to right) at position 1.
We prove the intermediate claim HgSucc: (State (ordsucc t)) 0 = gNew.
rewrite the current goal using HS (from left to right).
We prove the intermediate claim HdefS: StepState t (State t) = (compose_fun X (pair_map X ((State t) 0) (compose_fun X (u_of (((State t) 1) 0)) (mul_const_fun (((State t) 1) 1)))) add_fun_R,(compose_fun A (compose_fun A (pair_map A (((State t) 1) 0) (compose_fun A (u_of (((State t) 1) 0)) neg_fun)) add_fun_R) (div_const_fun den),mul_SNo (((State t) 1) 1) den)).
Use reflexivity.
rewrite the current goal using HdefS (from left to right).
We prove the intermediate claim Hproj0: ((compose_fun X (pair_map X ((State t) 0) (compose_fun X (u_of (((State t) 1) 0)) (mul_const_fun (((State t) 1) 1)))) add_fun_R,(compose_fun A (compose_fun A (pair_map A (((State t) 1) 0) (compose_fun A (u_of (((State t) 1) 0)) neg_fun)) add_fun_R) (div_const_fun den),mul_SNo (((State t) 1) 1) den)) 0) = (compose_fun X (pair_map X ((State t) 0) (compose_fun X (u_of (((State t) 1) 0)) (mul_const_fun (((State t) 1) 1)))) add_fun_R).
An exact proof term for the current goal is (tuple_2_0_eq (compose_fun X (pair_map X ((State t) 0) (compose_fun X (u_of (((State t) 1) 0)) (mul_const_fun (((State t) 1) 1)))) add_fun_R) (compose_fun A (compose_fun A (pair_map A (((State t) 1) 0) (compose_fun A (u_of (((State t) 1) 0)) neg_fun)) add_fun_R) (div_const_fun den),mul_SNo (((State t) 1) 1) den)).
rewrite the current goal using Hproj0 (from left to right).
We prove the intermediate claim HrEq: r = ((State t) 1) 0.
Use reflexivity.
We prove the intermediate claim HcEq0: c = ((State t) 1) 1.
Use reflexivity.
rewrite the current goal using HrEq (from right to left).
rewrite the current goal using HcEq0 (from right to left).
We prove the intermediate claim HcorrDef: corr = compose_fun X (u_of r) (mul_const_fun c).
Use reflexivity.
rewrite the current goal using HcorrDef (from right to left).
We prove the intermediate claim HgNewDef: gNew = compose_fun X (pair_map X ((State t) 0) corr) add_fun_R.
Use reflexivity.
rewrite the current goal using HgNewDef (from left to right).
Use reflexivity.
We prove the intermediate claim HcEq: c = ((State t) 1) 1.
Use reflexivity.
We prove the intermediate claim HcR: c R.
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (andEL (((State t) 1) 1 R) (0 < ((State t) 1) 1) (HInv_cpos t HtO)).
We prove the intermediate claim HcS: SNo c.
An exact proof term for the current goal is (real_SNo c HcR).
We prove the intermediate claim HcPos: 0 < c.
rewrite the current goal using HcEq (from left to right).
An exact proof term for the current goal is (andER (((State t) 1) 1 R) (0 < ((State t) 1) 1) (HInv_cpos t HtO)).
We prove the intermediate claim H0le_c: 0 c.
An exact proof term for the current goal is (SNoLtLe 0 c HcPos).
We prove the intermediate claim Hr_contI: continuous_map A Ta I Ti r.
An exact proof term for the current goal is (HInv_r_contI t HtO).
We prove the intermediate claim Hu_pack: continuous_map X Tx I0 T0 (u_of r) (∀x1 : set, x1 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x1 = minus_SNo one_third) (∀x1 : set, x1 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x1 = one_third).
An exact proof term for the current goal is (Hu_of_prop r Hr_contI).
We prove the intermediate claim Hu_contI0: continuous_map X Tx I0 T0 (u_of r).
An exact proof term for the current goal is (andEL (continuous_map X Tx I0 T0 (u_of r)) (∀x1 : set, x1 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x1 = minus_SNo one_third) (andEL ((continuous_map X Tx I0 T0 (u_of r)) (∀x1 : set, x1 preimage_of A r ((closed_interval (minus_SNo 1) (minus_SNo one_third)) I)apply_fun (u_of r) x1 = minus_SNo one_third)) (∀x1 : set, x1 preimage_of A r ((closed_interval one_third 1) I)apply_fun (u_of r) x1 = one_third) Hu_pack)).
We prove the intermediate claim Hu_fun: function_on (u_of r) X I0.
An exact proof term for the current goal is (continuous_map_function_on X Tx I0 T0 (u_of r) Hu_contI0).
We prove the intermediate claim HuxI0: apply_fun (u_of r) x0 I0.
An exact proof term for the current goal is (Hu_fun x0 Hx0X).
We prove the intermediate claim HuxR: apply_fun (u_of r) x0 R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo one_third) one_third (apply_fun (u_of r) x0) HuxI0).
We prove the intermediate claim HuxS: SNo (apply_fun (u_of r) x0).
An exact proof term for the current goal is (real_SNo (apply_fun (u_of r) x0) HuxR).
We prove the intermediate claim HcorrEq: apply_fun corr x0 = mul_SNo (apply_fun (u_of r) x0) c.
We prove the intermediate claim HcorrDef0: corr = compose_fun X (u_of r) (mul_const_fun c).
Use reflexivity.
We prove the intermediate claim Hcomp: apply_fun corr x0 = apply_fun (mul_const_fun c) (apply_fun (u_of r) x0).
rewrite the current goal using HcorrDef0 (from left to right).
An exact proof term for the current goal is (compose_fun_apply X (u_of r) (mul_const_fun c) x0 Hx0X).
rewrite the current goal using Hcomp (from left to right).
An exact proof term for the current goal is (mul_const_fun_apply c (apply_fun (u_of r) x0) HcR HuxR).
We prove the intermediate claim HgxR: apply_fun ((State t) 0) x0 R.
An exact proof term for the current goal is (function_on_of_function_space ((State t) 0) X R (HInv_g_FS t HtO) x0 Hx0X).
We prove the intermediate claim HcorrR: apply_fun corr x0 R.
rewrite the current goal using HcorrEq (from left to right).
An exact proof term for the current goal is (real_mul_SNo (apply_fun (u_of r) x0) HuxR c HcR).
We prove the intermediate claim HgNewEval: apply_fun gNew x0 = add_SNo (apply_fun ((State t) 0) x0) (apply_fun corr x0).
An exact proof term for the current goal is (add_of_pair_map_apply X ((State t) 0) corr x0 Hx0X HgxR HcorrR).
rewrite the current goal using HgSucc (from left to right).
rewrite the current goal using HgNewEval (from left to right).
We prove the intermediate claim Ha0S: SNo (apply_fun ((State t) 0) x0).
An exact proof term for the current goal is (real_SNo (apply_fun ((State t) 0) x0) HgxR).
We prove the intermediate claim Hb0S: SNo (apply_fun corr x0).
An exact proof term for the current goal is (real_SNo (apply_fun corr x0) HcorrR).
We prove the intermediate claim Hcancel: add_SNo (add_SNo (apply_fun ((State t) 0) x0) (apply_fun corr x0)) (minus_SNo (apply_fun ((State t) 0) x0)) = apply_fun corr x0.
We prove the intermediate claim Hma0S: SNo (minus_SNo (apply_fun ((State t) 0) x0)).
An exact proof term for the current goal is (SNo_minus_SNo (apply_fun ((State t) 0) x0) Ha0S).
We prove the intermediate claim Hassoc1: add_SNo (apply_fun ((State t) 0) x0) (add_SNo (apply_fun corr x0) (minus_SNo (apply_fun ((State t) 0) x0))) = add_SNo (add_SNo (apply_fun ((State t) 0) x0) (apply_fun corr x0)) (minus_SNo (apply_fun ((State t) 0) x0)).
An exact proof term for the current goal is (add_SNo_assoc (apply_fun ((State t) 0) x0) (apply_fun corr x0) (minus_SNo (apply_fun ((State t) 0) x0)) Ha0S Hb0S Hma0S).
rewrite the current goal using Hassoc1 (from right to left) at position 1.
We prove the intermediate claim Hcom1: add_SNo (apply_fun corr x0) (minus_SNo (apply_fun ((State t) 0) x0)) = add_SNo (minus_SNo (apply_fun ((State t) 0) x0)) (apply_fun corr x0).
An exact proof term for the current goal is (add_SNo_com (apply_fun corr x0) (minus_SNo (apply_fun ((State t) 0) x0)) Hb0S Hma0S).
rewrite the current goal using Hcom1 (from left to right) at position 1.
We prove the intermediate claim Hassoc2: add_SNo (apply_fun ((State t) 0) x0) (add_SNo (minus_SNo (apply_fun ((State t) 0) x0)) (apply_fun corr x0)) = add_SNo (add_SNo (apply_fun ((State t) 0) x0) (minus_SNo (apply_fun ((State t) 0) x0))) (apply_fun corr x0).
An exact proof term for the current goal is (add_SNo_assoc (apply_fun ((State t) 0) x0) (minus_SNo (apply_fun ((State t) 0) x0)) (apply_fun corr x0) Ha0S Hma0S Hb0S).
rewrite the current goal using Hassoc2 (from left to right).
We prove the intermediate claim Hinv: add_SNo (apply_fun ((State t) 0) x0) (minus_SNo (apply_fun ((State t) 0) x0)) = 0.
An exact proof term for the current goal is (add_SNo_minus_SNo_rinv (apply_fun ((State t) 0) x0) Ha0S).
rewrite the current goal using Hinv (from left to right) at position 1.
An exact proof term for the current goal is (add_SNo_0L (apply_fun corr x0) Hb0S).
rewrite the current goal using Hcancel (from left to right) at position 1.
rewrite the current goal using HcorrEq (from left to right).
Set u to be the term apply_fun (u_of r) x0.
We prove the intermediate claim HuAbsLe: abs_SNo u one_third.
We prove the intermediate claim Hm13R: minus_SNo one_third R.
An exact proof term for the current goal is (real_minus_SNo one_third one_third_in_R).
We prove the intermediate claim Hm13S: SNo (minus_SNo one_third).
An exact proof term for the current goal is (real_SNo (minus_SNo one_third) Hm13R).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third one_third_in_R).
We prove the intermediate claim Hbounds: Rle (minus_SNo one_third) u Rle u one_third.
An exact proof term for the current goal is (closed_interval_bounds (minus_SNo one_third) one_third u Hm13R one_third_in_R HuxI0).
We prove the intermediate claim Hlo: minus_SNo one_third u.
An exact proof term for the current goal is (SNoLe_of_Rle (minus_SNo one_third) u (andEL (Rle (minus_SNo one_third) u) (Rle u one_third) Hbounds)).
We prove the intermediate claim Hhi: u one_third.
An exact proof term for the current goal is (SNoLe_of_Rle u one_third (andER (Rle (minus_SNo one_third) u) (Rle u one_third) Hbounds)).
An exact proof term for the current goal is (abs_SNo_Le_of_bounds u one_third HuxS H13S Hlo Hhi).
We prove the intermediate claim Habsc: abs_SNo (mul_SNo u c) = mul_SNo (abs_SNo u) (abs_SNo c).
An exact proof term for the current goal is (abs_SNo_mul_eq u c HuxS HcS).
rewrite the current goal using Habsc (from left to right).
rewrite the current goal using (nonneg_abs_SNo c H0le_c) (from left to right).
We prove the intermediate claim H13S: SNo one_third.
An exact proof term for the current goal is (real_SNo one_third one_third_in_R).
We prove the intermediate claim HabsuS: SNo (abs_SNo u).
An exact proof term for the current goal is (SNo_abs_SNo u HuxS).
We prove the intermediate claim Hc13Le: mul_SNo (abs_SNo u) c mul_SNo one_third c.
An exact proof term for the current goal is (nonneg_mul_SNo_Le' (abs_SNo u) one_third c HabsuS H13S HcS H0le_c HuAbsLe).
We prove the intermediate claim HdenEq: den = two_thirds.
Use reflexivity.
rewrite the current goal using HdenEq (from left to right) at position 1.
We prove the intermediate claim H13Eq: mul_SNo one_third c = add_SNo c (minus_SNo (mul_SNo c two_thirds)).
We prove the intermediate claim H23S: SNo two_thirds.
An exact proof term for the current goal is (real_SNo two_thirds two_thirds_in_R).
We prove the intermediate claim Hc13S: SNo (mul_SNo c one_third).
An exact proof term for the current goal is (SNo_mul_SNo c one_third HcS H13S).
We prove the intermediate claim Hc23S: SNo (mul_SNo c two_thirds).
An exact proof term for the current goal is (SNo_mul_SNo c two_thirds HcS H23S).
rewrite the current goal using (mul_SNo_com one_third c H13S HcS) (from left to right).
We prove the intermediate claim HsumEq: add_SNo (mul_SNo c one_third) (mul_SNo c two_thirds) = c.
rewrite the current goal using (mul_SNo_distrL c one_third two_thirds HcS H13S H23S) (from right to left).
rewrite the current goal using add_one_third_two_thirds_eq_1 (from left to right) at position 1.
An exact proof term for the current goal is (mul_SNo_oneR c HcS).
We prove the intermediate claim Hcan: add_SNo (add_SNo (mul_SNo c one_third) (mul_SNo c two_thirds)) (minus_SNo (mul_SNo c two_thirds)) = mul_SNo c one_third.
An exact proof term for the current goal is (add_SNo_minus_R2 (mul_SNo c one_third) (mul_SNo c two_thirds) Hc13S Hc23S).
We prove the intermediate claim Htmp: add_SNo (add_SNo (mul_SNo c one_third) (mul_SNo c two_thirds)) (minus_SNo (mul_SNo c two_thirds)) = add_SNo c (minus_SNo (mul_SNo c two_thirds)).
rewrite the current goal using HsumEq (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using Hcan (from right to left) at position 1.
rewrite the current goal using Htmp (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using H13Eq (from right to left) at position 1.
An exact proof term for the current goal is Hc13Le.
We prove the intermediate claim Htail_budget: ∀k : set, nat_p k∀x0 : set, x0 Xabs_SNo (add_SNo (apply_fun ((State (add_nat k N0)) 0) x0) (minus_SNo (apply_fun ((State N0) 0) x0))) ((State N0) 1) 1.
Let k be given.
Assume HkNat: nat_p k.
Let x0 be given.
Assume Hx0X: x0 X.
We prove the intermediate claim Htail_strong_all: ∀kk : set, nat_p kk∀x1 : set, x1 Xabs_SNo (add_SNo (apply_fun ((State (add_nat kk N0)) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))) add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat kk N0)) 1) 1)).
Apply nat_ind to the current goal.
We will prove ∀x1 : set, x1 Xabs_SNo (add_SNo (apply_fun ((State (add_nat 0 N0)) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))) add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat 0 N0)) 1) 1)).
Let x1 be given.
Assume Hx1X: x1 X.
We prove the intermediate claim Hadd0: add_nat 0 N0 = N0.
An exact proof term for the current goal is (add_nat_0L N0 HN0Nat).
rewrite the current goal using Hadd0 (from left to right) at position 1.
rewrite the current goal using Hadd0 (from left to right) at position 1.
We prove the intermediate claim HgN0FS: (State N0) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS N0 HN0O).
We prove the intermediate claim HgN0_on: function_on ((State N0) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State N0) 0) X R HgN0FS).
We prove the intermediate claim HgN0xR: apply_fun ((State N0) 0) x1 R.
An exact proof term for the current goal is (HgN0_on x1 Hx1X).
We prove the intermediate claim HgN0xS: SNo (apply_fun ((State N0) 0) x1).
An exact proof term for the current goal is (real_SNo (apply_fun ((State N0) 0) x1) HgN0xR).
rewrite the current goal using (add_SNo_minus_SNo_rinv (apply_fun ((State N0) 0) x1) HgN0xS) (from left to right) at position 1.
rewrite the current goal using (nonneg_abs_SNo 0 (SNoLe_ref 0)) (from left to right) at position 1.
rewrite the current goal using (add_SNo_minus_SNo_rinv (((State N0) 1) 1) HcN0S0) (from left to right) at position 1.
An exact proof term for the current goal is (SNoLe_ref 0).
Let kk be given.
Assume HkkNat: nat_p kk.
Assume IH: ∀x1 : set, x1 Xabs_SNo (add_SNo (apply_fun ((State (add_nat kk N0)) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))) add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat kk N0)) 1) 1)).
We will prove ∀x1 : set, x1 Xabs_SNo (add_SNo (apply_fun ((State (add_nat (ordsucc kk) N0)) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))) add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat (ordsucc kk) N0)) 1) 1)).
Let x1 be given.
Assume Hx1X: x1 X.
Set t to be the term add_nat kk N0.
We prove the intermediate claim HtNat: nat_p t.
An exact proof term for the current goal is (add_nat_p kk HkkNat N0 HN0Nat).
We prove the intermediate claim HtO: t ω.
An exact proof term for the current goal is (nat_p_omega t HtNat).
We prove the intermediate claim Hidx: add_nat (ordsucc kk) N0 = ordsucc t.
rewrite the current goal using (add_nat_SL kk HkkNat N0 HN0Nat) (from left to right).
Use reflexivity.
rewrite the current goal using Hidx (from left to right) at position 1.
rewrite the current goal using Hidx (from left to right) at position 1.
We prove the intermediate claim HtSuccNat: nat_p (ordsucc t).
An exact proof term for the current goal is (nat_ordsucc t HtNat).
We prove the intermediate claim HtSuccO: ordsucc t ω.
An exact proof term for the current goal is (nat_p_omega (ordsucc t) HtSuccNat).
We prove the intermediate claim HgN0FS: (State N0) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS N0 HN0O).
We prove the intermediate claim HgN0_on: function_on ((State N0) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State N0) 0) X R HgN0FS).
We prove the intermediate claim HgN0xR: apply_fun ((State N0) 0) x1 R.
An exact proof term for the current goal is (HgN0_on x1 Hx1X).
We prove the intermediate claim HgN0xS: SNo (apply_fun ((State N0) 0) x1).
An exact proof term for the current goal is (real_SNo (apply_fun ((State N0) 0) x1) HgN0xR).
We prove the intermediate claim HtFS: (State t) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS t HtO).
We prove the intermediate claim Ht_on: function_on ((State t) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State t) 0) X R HtFS).
We prove the intermediate claim HtxR: apply_fun ((State t) 0) x1 R.
An exact proof term for the current goal is (Ht_on x1 Hx1X).
We prove the intermediate claim HtxS: SNo (apply_fun ((State t) 0) x1).
An exact proof term for the current goal is (real_SNo (apply_fun ((State t) 0) x1) HtxR).
We prove the intermediate claim HtSuccFS: (State (ordsucc t)) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS (ordsucc t) HtSuccO).
We prove the intermediate claim HtSucc_on: function_on ((State (ordsucc t)) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State (ordsucc t)) 0) X R HtSuccFS).
We prove the intermediate claim HtSuccxR: apply_fun ((State (ordsucc t)) 0) x1 R.
An exact proof term for the current goal is (HtSucc_on x1 Hx1X).
We prove the intermediate claim HtSuccxS: SNo (apply_fun ((State (ordsucc t)) 0) x1).
An exact proof term for the current goal is (real_SNo (apply_fun ((State (ordsucc t)) 0) x1) HtSuccxR).
We prove the intermediate claim Htri: abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))) add_SNo (abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1)))) (abs_SNo (add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1)))).
An exact proof term for the current goal is (abs_SNo_triangle (apply_fun ((State (ordsucc t)) 0) x1) (apply_fun ((State t) 0) x1) (apply_fun ((State N0) 0) x1) HtSuccxS HtxS HgN0xS).
We prove the intermediate claim HstepLe: abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1))) add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1)).
An exact proof term for the current goal is (Hstep_budget t HtNat x1 Hx1X).
We prove the intermediate claim HihLe: abs_SNo (add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))) add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1)).
An exact proof term for the current goal is (IH x1 Hx1X).
We prove the intermediate claim Habs1S: SNo (abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1)))).
An exact proof term for the current goal is (SNo_abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1))) (SNo_add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1)) HtSuccxS (SNo_minus_SNo (apply_fun ((State t) 0) x1) HtxS))).
We prove the intermediate claim Habs2S: SNo (abs_SNo (add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1)))).
An exact proof term for the current goal is (SNo_abs_SNo (add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))) (SNo_add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1)) HtxS (SNo_minus_SNo (apply_fun ((State N0) 0) x1) HgN0xS))).
We prove the intermediate claim HctR: (((State t) 1) 1) R.
An exact proof term for the current goal is (andEL ((((State t) 1) 1 R)) (0 < (((State t) 1) 1)) (HInv_cpos t HtO)).
We prove the intermediate claim HctS: SNo (((State t) 1) 1).
An exact proof term for the current goal is (real_SNo (((State t) 1) 1) HctR).
We prove the intermediate claim HctsR: (((State (ordsucc t)) 1) 1) R.
An exact proof term for the current goal is (andEL ((((State (ordsucc t)) 1) 1 R)) (0 < (((State (ordsucc t)) 1) 1)) (HInv_cpos (ordsucc t) HtSuccO)).
We prove the intermediate claim HctsS: SNo (((State (ordsucc t)) 1) 1).
An exact proof term for the current goal is (real_SNo (((State (ordsucc t)) 1) 1) HctsR).
We prove the intermediate claim Hc0S: SNo (((State N0) 1) 1).
An exact proof term for the current goal is HcN0S0.
We prove the intermediate claim HmctS: SNo (minus_SNo (((State t) 1) 1)).
An exact proof term for the current goal is (SNo_minus_SNo (((State t) 1) 1) HctS).
We prove the intermediate claim HmctsS: SNo (minus_SNo (((State (ordsucc t)) 1) 1)).
An exact proof term for the current goal is (SNo_minus_SNo (((State (ordsucc t)) 1) 1) HctsS).
We prove the intermediate claim Hrhs1S: SNo (add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1))).
An exact proof term for the current goal is (SNo_add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1)) HctS HmctsS).
We prove the intermediate claim Hrhs2S: SNo (add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1))).
An exact proof term for the current goal is (SNo_add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1)) Hc0S HmctS).
We prove the intermediate claim HsumLe: add_SNo (abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1)))) (abs_SNo (add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1)))) add_SNo (add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1))) (add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1))).
An exact proof term for the current goal is (add_SNo_Le3 (abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1)))) (abs_SNo (add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1)))) (add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1))) (add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1))) Habs1S Habs2S Hrhs1S Hrhs2S HstepLe HihLe).
We prove the intermediate claim HsumEq: add_SNo (add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1))) (add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1))) = add_SNo (((State N0) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1)).
rewrite the current goal using (add_SNo_com (add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1))) (add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1))) Hrhs1S Hrhs2S) (from left to right) at position 1.
rewrite the current goal using (add_SNo_com_4_inner_mid (((State N0) 1) 1) (minus_SNo (((State t) 1) 1)) (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1)) Hc0S HmctS HctS HmctsS) (from left to right) at position 1.
We prove the intermediate claim Ht2S: SNo (add_SNo (((State N0) 1) 1) (((State t) 1) 1)).
An exact proof term for the current goal is (SNo_add_SNo (((State N0) 1) 1) (((State t) 1) 1) Hc0S HctS).
We prove the intermediate claim Ht3S: SNo (add_SNo (minus_SNo (((State t) 1) 1)) (minus_SNo (((State (ordsucc t)) 1) 1))).
An exact proof term for the current goal is (SNo_add_SNo (minus_SNo (((State t) 1) 1)) (minus_SNo (((State (ordsucc t)) 1) 1)) HmctS HmctsS).
rewrite the current goal using (add_SNo_assoc (((State N0) 1) 1) (((State t) 1) 1) (add_SNo (minus_SNo (((State t) 1) 1)) (minus_SNo (((State (ordsucc t)) 1) 1))) Hc0S HctS Ht3S) (from right to left) at position 1.
rewrite the current goal using (add_SNo_assoc (((State t) 1) 1) (minus_SNo (((State t) 1) 1)) (minus_SNo (((State (ordsucc t)) 1) 1)) HctS HmctS HmctsS) (from left to right) at position 1.
We prove the intermediate claim Hinv: add_SNo (((State t) 1) 1) (minus_SNo (((State t) 1) 1)) = 0.
An exact proof term for the current goal is (add_SNo_minus_SNo_rinv (((State t) 1) 1) HctS).
rewrite the current goal using Hinv (from left to right) at position 1.
rewrite the current goal using (add_SNo_0L (minus_SNo (((State (ordsucc t)) 1) 1)) HmctsS) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using HsumEq (from right to left) at position 1.
An exact proof term for the current goal is (SNoLe_tra (abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1)))) (add_SNo (abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1)))) (abs_SNo (add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))))) (add_SNo (add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1))) (add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1)))) (SNo_abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1))) (SNo_add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1)) HtSuccxS (SNo_minus_SNo (apply_fun ((State N0) 0) x1) HgN0xS))) (SNo_add_SNo (abs_SNo (add_SNo (apply_fun ((State (ordsucc t)) 0) x1) (minus_SNo (apply_fun ((State t) 0) x1)))) (abs_SNo (add_SNo (apply_fun ((State t) 0) x1) (minus_SNo (apply_fun ((State N0) 0) x1)))) Habs1S Habs2S) (SNo_add_SNo (add_SNo (((State t) 1) 1) (minus_SNo (((State (ordsucc t)) 1) 1))) (add_SNo (((State N0) 1) 1) (minus_SNo (((State t) 1) 1))) Hrhs1S Hrhs2S) Htri HsumLe).
We prove the intermediate claim Hstrong: abs_SNo (add_SNo (apply_fun ((State (add_nat k N0)) 0) x0) (minus_SNo (apply_fun ((State N0) 0) x0))) add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat k N0)) 1) 1)).
An exact proof term for the current goal is (Htail_strong_all k HkNat x0 Hx0X).
We prove the intermediate claim HkN0Nat: nat_p (add_nat k N0).
An exact proof term for the current goal is (add_nat_p k HkNat N0 HN0Nat).
We prove the intermediate claim HkN0O: (add_nat k N0) ω.
An exact proof term for the current goal is (nat_p_omega (add_nat k N0) HkN0Nat).
We prove the intermediate claim HckR: (((State (add_nat k N0)) 1) 1) R.
An exact proof term for the current goal is (andEL ((((State (add_nat k N0)) 1) 1 R)) (0 < (((State (add_nat k N0)) 1) 1)) (HInv_cpos (add_nat k N0) HkN0O)).
We prove the intermediate claim HckS: SNo (((State (add_nat k N0)) 1) 1).
An exact proof term for the current goal is (real_SNo (((State (add_nat k N0)) 1) 1) HckR).
We prove the intermediate claim HckPos: 0 < (((State (add_nat k N0)) 1) 1).
An exact proof term for the current goal is (andER ((((State (add_nat k N0)) 1) 1 R)) (0 < (((State (add_nat k N0)) 1) 1)) (HInv_cpos (add_nat k N0) HkN0O)).
We prove the intermediate claim H0le_ck: 0 (((State (add_nat k N0)) 1) 1).
An exact proof term for the current goal is (SNoLtLe 0 (((State (add_nat k N0)) 1) 1) HckPos).
We prove the intermediate claim HmckLe0: minus_SNo (((State (add_nat k N0)) 1) 1) 0.
We prove the intermediate claim Htmp: minus_SNo (((State (add_nat k N0)) 1) 1) minus_SNo 0.
An exact proof term for the current goal is (minus_SNo_Le_contra 0 (((State (add_nat k N0)) 1) 1) SNo_0 HckS H0le_ck).
We prove the intermediate claim Hm0le0: minus_SNo 0 0.
rewrite the current goal using minus_SNo_0 (from left to right).
An exact proof term for the current goal is (SNoLe_ref 0).
An exact proof term for the current goal is (SNoLe_tra (minus_SNo (((State (add_nat k N0)) 1) 1)) (minus_SNo 0) 0 (SNo_minus_SNo (((State (add_nat k N0)) 1) 1) HckS) (SNo_minus_SNo 0 SNo_0) SNo_0 Htmp Hm0le0).
We prove the intermediate claim HrhsLe: add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat k N0)) 1) 1)) ((State N0) 1) 1.
We prove the intermediate claim HsumLe0: add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat k N0)) 1) 1)) add_SNo (((State N0) 1) 1) 0.
An exact proof term for the current goal is (add_SNo_Le2 (((State N0) 1) 1) (minus_SNo (((State (add_nat k N0)) 1) 1)) 0 HcN0S0 (SNo_minus_SNo (((State (add_nat k N0)) 1) 1) HckS) SNo_0 HmckLe0).
We prove the intermediate claim HmidLe: add_SNo (((State N0) 1) 1) 0 ((State N0) 1) 1.
rewrite the current goal using (add_SNo_0R (((State N0) 1) 1) HcN0S0) (from left to right).
An exact proof term for the current goal is (SNoLe_ref (((State N0) 1) 1)).
An exact proof term for the current goal is (SNoLe_tra (add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat k N0)) 1) 1))) (add_SNo (((State N0) 1) 1) 0) (((State N0) 1) 1) (SNo_add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat k N0)) 1) 1)) HcN0S0 (SNo_minus_SNo (((State (add_nat k N0)) 1) 1) HckS)) (SNo_add_SNo (((State N0) 1) 1) 0 HcN0S0 SNo_0) HcN0S0 HsumLe0 HmidLe).
We prove the intermediate claim HgN0xS: SNo (apply_fun ((State N0) 0) x0).
We prove the intermediate claim HgN0FS: (State N0) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS N0 HN0O).
We prove the intermediate claim HgN0_on: function_on ((State N0) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State N0) 0) X R HgN0FS).
We prove the intermediate claim HgN0xR: apply_fun ((State N0) 0) x0 R.
An exact proof term for the current goal is (HgN0_on x0 Hx0X).
An exact proof term for the current goal is (real_SNo (apply_fun ((State N0) 0) x0) HgN0xR).
An exact proof term for the current goal is (SNoLe_tra (abs_SNo (add_SNo (apply_fun ((State (add_nat k N0)) 0) x0) (minus_SNo (apply_fun ((State N0) 0) x0)))) (add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat k N0)) 1) 1))) (((State N0) 1) 1) (SNo_abs_SNo (add_SNo (apply_fun ((State (add_nat k N0)) 0) x0) (minus_SNo (apply_fun ((State N0) 0) x0))) (SNo_add_SNo (apply_fun ((State (add_nat k N0)) 0) x0) (minus_SNo (apply_fun ((State N0) 0) x0)) (real_SNo (apply_fun ((State (add_nat k N0)) 0) x0) (function_on_of_function_space ((State (add_nat k N0)) 0) X R (HInv_g_FS (add_nat k N0) HkN0O) x0 Hx0X)) (SNo_minus_SNo (apply_fun ((State N0) 0) x0) HgN0xS))) (SNo_add_SNo (((State N0) 1) 1) (minus_SNo (((State (add_nat k N0)) 1) 1)) HcN0S0 (SNo_minus_SNo (((State (add_nat k N0)) 1) 1) HckS)) HcN0S0 Hstrong HrhsLe).
We prove the intermediate claim Habs_mN0: abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x))) < eta.
An exact proof term for the current goal is (SNoLeLt_tra (abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)))) (((State N0) 1) 1) eta (SNo_abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x))) (SNo_add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)) HmxS (SNo_minus_SNo (apply_fun ((State N0) 0) x) HgN0xS))) HcN0S0 HetaS (Htail_budget km HkmNat x HxX) HcN0ltEta).
We prove the intermediate claim HabSwap: abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x))) = abs_SNo (add_SNo (apply_fun ((State (add_nat kn N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x))).
An exact proof term for the current goal is (abs_SNo_dist_swap (apply_fun ((State N0) 0) x) (apply_fun ((State (add_nat kn N0)) 0) x) HgN0xS HnxS).
We prove the intermediate claim Habs_nN0: abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x))) < eta.
rewrite the current goal using HabSwap (from left to right).
An exact proof term for the current goal is (SNoLeLt_tra (abs_SNo (add_SNo (apply_fun ((State (add_nat kn N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)))) (((State N0) 1) 1) eta (SNo_abs_SNo (add_SNo (apply_fun ((State (add_nat kn N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x))) (SNo_add_SNo (apply_fun ((State (add_nat kn N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)) HnxS (SNo_minus_SNo (apply_fun ((State N0) 0) x) HgN0xS))) HcN0S0 HetaS (Htail_budget kn HknNat x HxX) HcN0ltEta).
We prove the intermediate claim HetaSumEq: add_SNo eta eta = eps0.
rewrite the current goal using (mul_SNo_distrL eps0 (eps_ 1) (eps_ 1) Heps0S Heps1S Heps1S) (from right to left).
rewrite the current goal using (eps_ordsucc_half_add 0 nat_0) (from left to right).
rewrite the current goal using eps_0_1 (from left to right).
rewrite the current goal using (mul_SNo_oneR eps0 Heps0S) (from left to right).
Use reflexivity.
We prove the intermediate claim HsumLt: add_SNo (abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)))) (abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x)))) < eps0.
rewrite the current goal using HetaSumEq (from right to left).
An exact proof term for the current goal is (add_SNo_Lt3 (abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)))) (abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x)))) eta eta (SNo_abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x))) (SNo_add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)) HmxS (SNo_minus_SNo (apply_fun ((State N0) 0) x) HgN0xS))) (SNo_abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x))) (SNo_add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x)) HgN0xS (SNo_minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x) HnxS))) HetaS HetaS Habs_mN0 Habs_nN0).
We prove the intermediate claim HtriMN: abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x))) add_SNo (abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)))) (abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x)))).
An exact proof term for the current goal is (abs_SNo_triangle (apply_fun ((State (add_nat km N0)) 0) x) (apply_fun ((State N0) 0) x) (apply_fun ((State (add_nat kn N0)) 0) x) HmxS HgN0xS HnxS).
We prove the intermediate claim HabsLt: abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x))) < eps0.
An exact proof term for the current goal is (SNoLeLt_tra (abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x)))) (add_SNo (abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)))) (abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x))))) eps0 (SNo_abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x))) (SNo_add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x)) HmxS (SNo_minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x) HnxS))) (SNo_add_SNo (abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)))) (abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x)))) (SNo_abs_SNo (add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x))) (SNo_add_SNo (apply_fun ((State (add_nat km N0)) 0) x) (minus_SNo (apply_fun ((State N0) 0) x)) HmxS (SNo_minus_SNo (apply_fun ((State N0) 0) x) HgN0xS))) (SNo_abs_SNo (add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x))) (SNo_add_SNo (apply_fun ((State N0) 0) x) (minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x)) HgN0xS (SNo_minus_SNo (apply_fun ((State (add_nat kn N0)) 0) x) HnxS)))) Heps0S HtriMN HsumLt).
We prove the intermediate claim Hpair: (apply_fun ((State (add_nat km N0)) 0) x,apply_fun ((State (add_nat kn N0)) 0) x) setprod R R.
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun ((State (add_nat km N0)) 0) x) (apply_fun ((State (add_nat kn N0)) 0) x) HmxR HnxR).
We prove the intermediate claim HdefM: R_bounded_metric = graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)).
Use reflexivity.
rewrite the current goal using HdefM (from left to right).
rewrite the current goal using (apply_fun_graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)) (apply_fun ((State (add_nat km N0)) 0) x,apply_fun ((State (add_nat kn N0)) 0) x) Hpair) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun ((State (add_nat km N0)) 0) x) (apply_fun ((State (add_nat kn N0)) 0) x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun ((State (add_nat km N0)) 0) x) (apply_fun ((State (add_nat kn N0)) 0) x)) (from left to right).
An exact proof term for the current goal is (abs_lt_lt1_imp_R_bounded_distance_lt (apply_fun ((State (add_nat km N0)) 0) x) (apply_fun ((State (add_nat kn N0)) 0) x) eps0 HmxR HnxR Heps0R Heps0Lt1 HabsLt).
Apply (SNoLt_trichotomy_or_impred eps 1 HepsS SNo_1 (∃N : set, N ω ∀m n : set, m ωn ωN mN n∀x : set, x XRlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) eps)) to the current goal.
Assume HepsLt1S: eps < 1.
We prove the intermediate claim HepsLt1: Rlt eps 1.
An exact proof term for the current goal is (RltI eps 1 HepsR real_1 HepsLt1S).
An exact proof term for the current goal is (Huc_small eps HepsR HepsPos HepsLt1).
Assume HepsEq1: eps = 1.
We prove the intermediate claim HexN: ∃N : set, N ω ∀m n : set, m ωn ωN mN n∀x : set, x XRlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) (eps_ 1).
An exact proof term for the current goal is (Huc_small (eps_ 1) eps_1_in_R eps_1_pos_R eps_1_lt1_R).
Apply HexN to the current goal.
Let N be given.
Assume HN.
We use N to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is (andEL (N ω) (∀m n : set, m ωn ωN mN n∀x : set, x XRlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) (eps_ 1)) HN).
Let m and n be given.
Assume HmO: m ω.
Assume HnO: n ω.
Assume HNm: N m.
Assume HNn: N n.
Let x be given.
Assume HxX: x X.
We prove the intermediate claim HNprop: ∀m n : set, m ωn ωN mN n∀x : set, x XRlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) (eps_ 1).
An exact proof term for the current goal is (andER (N ω) (∀m n : set, m ωn ωN mN n∀x : set, x XRlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) (eps_ 1)) HN).
We prove the intermediate claim Hlt1: Rlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) (eps_ 1).
An exact proof term for the current goal is (HNprop m n HmO HnO HNm HNn x HxX).
We prove the intermediate claim Hlt2: Rlt (eps_ 1) eps.
rewrite the current goal using HepsEq1 (from left to right).
An exact proof term for the current goal is eps_1_lt1_R.
An exact proof term for the current goal is (Rlt_tra (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) (eps_ 1) eps Hlt1 Hlt2).
Assume H1LtEpsS: 1 < eps.
We prove the intermediate claim H1LtEps: Rlt 1 eps.
An exact proof term for the current goal is (RltI 1 eps real_1 HepsR H1LtEpsS).
We use 0 to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is (nat_p_omega 0 nat_0).
Let m and n be given.
Assume HmO: m ω.
Assume HnO: n ω.
Assume HNm: 0 m.
Assume HNn: 0 n.
Let x be given.
Assume HxX: x X.
We will prove Rlt (apply_fun R_bounded_metric (apply_fun (apply_fun fn m) x,apply_fun (apply_fun fn n) x)) eps.
We prove the intermediate claim HfnDef: fn = graph ω (λk : set(State k) 0).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λk : set(State k) 0) m HfnDef HmO) (from left to right).
rewrite the current goal using (apply_fun_of_graph_eq fn ω (λk : set(State k) 0) n HfnDef HnO) (from left to right).
We prove the intermediate claim HmFS: (State m) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS m HmO).
We prove the intermediate claim HnFS: (State n) 0 function_space X R.
An exact proof term for the current goal is (HInv_g_FS n HnO).
We prove the intermediate claim Hm_on: function_on ((State m) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State m) 0) X R HmFS).
We prove the intermediate claim Hn_on: function_on ((State n) 0) X R.
An exact proof term for the current goal is (function_on_of_function_space ((State n) 0) X R HnFS).
We prove the intermediate claim HmxR: apply_fun ((State m) 0) x R.
An exact proof term for the current goal is (Hm_on x HxX).
We prove the intermediate claim HnxR: apply_fun ((State n) 0) x R.
An exact proof term for the current goal is (Hn_on x HxX).
We prove the intermediate claim Hpair: (apply_fun ((State m) 0) x,apply_fun ((State n) 0) x) setprod R R.
An exact proof term for the current goal is (tuple_2_setprod_by_pair_Sigma R R (apply_fun ((State m) 0) x) (apply_fun ((State n) 0) x) HmxR HnxR).
We prove the intermediate claim HdefM: R_bounded_metric = graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)).
Use reflexivity.
rewrite the current goal using HdefM (from left to right).
rewrite the current goal using (apply_fun_graph (setprod R R) (λp : setR_bounded_distance (p 0) (p 1)) (apply_fun ((State m) 0) x,apply_fun ((State n) 0) x) Hpair) (from left to right).
rewrite the current goal using (tuple_2_0_eq (apply_fun ((State m) 0) x) (apply_fun ((State n) 0) x)) (from left to right).
rewrite the current goal using (tuple_2_1_eq (apply_fun ((State m) 0) x) (apply_fun ((State n) 0) x)) (from left to right).
We prove the intermediate claim Hle1: Rle (R_bounded_distance (apply_fun ((State m) 0) x) (apply_fun ((State n) 0) x)) 1.
An exact proof term for the current goal is (R_bounded_distance_le_1 (apply_fun ((State m) 0) x) (apply_fun ((State n) 0) x) HmxR HnxR).
An exact proof term for the current goal is (Rle_Rlt_tra (R_bounded_distance (apply_fun ((State m) 0) x) (apply_fun ((State n) 0) x)) 1 eps Hle1 H1LtEps).
Apply Hexfn to the current goal.
Let fn be given.
Assume Hfnpack: function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n)) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I) (∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x)) uniform_cauchy_metric X R R_bounded_metric fn.
We prove the intermediate claim Hfn1234: ((function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I)) (∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x)).
An exact proof term for the current goal is (andEL (((function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I)) (∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x))) (uniform_cauchy_metric X R R_bounded_metric fn) Hfnpack).
We prove the intermediate claim Hfn3: uniform_cauchy_metric X R R_bounded_metric fn.
An exact proof term for the current goal is (andER ((((function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I)) (∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x)))) (uniform_cauchy_metric X R R_bounded_metric fn) Hfnpack).
We prove the intermediate claim Hfn123: (function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I).
An exact proof term for the current goal is (andEL ((function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I)) (∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x)) Hfn1234).
We prove the intermediate claim HfnLimA: ∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x).
An exact proof term for the current goal is (andER ((function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I)) (∀x : set, x Aconverges_to R (metric_topology R R_bounded_metric) (graph ω (λn : setapply_fun (apply_fun fn n) x)) (apply_fun f x)) Hfn1234).
We prove the intermediate claim Hfn12: function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n)).
An exact proof term for the current goal is (andEL (function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I) Hfn123).
We prove the intermediate claim HfnRange: ∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I.
An exact proof term for the current goal is (andER (function_on fn ω (function_space X R) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n))) (∀n : set, n ω∀x : set, x Xapply_fun (apply_fun fn n) x I) Hfn123).
We prove the intermediate claim Hfn1: function_on fn ω (function_space X R).
An exact proof term for the current goal is (andEL (function_on fn ω (function_space X R)) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n)) Hfn12).
We prove the intermediate claim Hfn2: ∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n).
An exact proof term for the current goal is (andER (function_on fn ω (function_space X R)) (∀n : set, n ωcontinuous_map X Tx R R_standard_topology (apply_fun fn n)) Hfn12).
We prove the intermediate claim HexgR: ∃gR : set, function_on gR X R uniform_limit_metric X R R_bounded_metric fn gR continuous_map X Tx R R_standard_topology gR.
An exact proof term for the current goal is (uniform_cauchy_continuous_to_R_has_continuous_limit X Tx fn HTx Hfn1 Hfn2 Hfn3).
Apply HexgR to the current goal.
Let gR be given.
Assume HgRpack: function_on gR X R uniform_limit_metric X R R_bounded_metric fn gR continuous_map X Tx R R_standard_topology gR.
We use gR to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is (andER (function_on gR X R uniform_limit_metric X R R_bounded_metric fn gR) (continuous_map X Tx R R_standard_topology gR) HgRpack).
Let x be given.
Assume HxA: x A.
We will prove apply_fun gR x = apply_fun f x.
Apply (xm (apply_fun gR x = apply_fun f x)) to the current goal.
Assume Heq: apply_fun gR x = apply_fun f x.
An exact proof term for the current goal is Heq.
Assume Hneq: ¬ (apply_fun gR x = apply_fun f x).
We will prove apply_fun gR x = apply_fun f x.
Apply FalseE to the current goal.
We prove the intermediate claim HxX': x X.
An exact proof term for the current goal is (HAsubX x HxA).
We prove the intermediate claim HmR: metric_on R R_bounded_metric.
An exact proof term for the current goal is R_bounded_metric_is_metric_on_early.
We prove the intermediate claim HHaus: Hausdorff_space R (metric_topology R R_bounded_metric).
An exact proof term for the current goal is (metric_topology_Hausdorff R R_bounded_metric HmR).
We prove the intermediate claim HgR12: function_on gR X R uniform_limit_metric X R R_bounded_metric fn gR.
An exact proof term for the current goal is (andEL (function_on gR X R uniform_limit_metric X R R_bounded_metric fn gR) (continuous_map X Tx R R_standard_topology gR) HgRpack).
We prove the intermediate claim HgRfun: function_on gR X R.
An exact proof term for the current goal is (andEL (function_on gR X R) (uniform_limit_metric X R R_bounded_metric fn gR) HgR12).
We prove the intermediate claim HunifRgR: uniform_limit_metric X R R_bounded_metric fn gR.
An exact proof term for the current goal is (andER (function_on gR X R) (uniform_limit_metric X R R_bounded_metric fn gR) HgR12).
Set seqx to be the term graph ω (λn : setapply_fun (apply_fun fn n) x).
We prove the intermediate claim Hxlim_g: converges_to R (metric_topology R R_bounded_metric) seqx (apply_fun gR x).
An exact proof term for the current goal is (uniform_limit_metric_imp_converges_to_metric_topology_at_point X R R_bounded_metric fn gR x HmR Hfn1 HgRfun HxX' HunifRgR).
We prove the intermediate claim Hxlim_f: converges_to R (metric_topology R R_bounded_metric) seqx (apply_fun f x).
An exact proof term for the current goal is (HfnLimA x HxA).
We prove the intermediate claim HgxR: apply_fun gR x R.
An exact proof term for the current goal is (HgRfun x HxX').
We prove the intermediate claim HfxR: apply_fun f x R.
An exact proof term for the current goal is (Hf_R x HxA).
We prove the intermediate claim Hneqxy: apply_fun gR x apply_fun f x.
Assume Heq: apply_fun gR x = apply_fun f x.
An exact proof term for the current goal is (Hneq Heq).
We prove the intermediate claim Hseq_on: function_on seqx ω R.
Let n be given.
Assume HnO: n ω.
We will prove apply_fun seqx n R.
We prove the intermediate claim Hseqxdef: seqx = graph ω (λn0 : setapply_fun (apply_fun fn n0) x).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq seqx ω (λn0 : setapply_fun (apply_fun fn n0) x) n Hseqxdef HnO) (from left to right).
We prove the intermediate claim HfnnxI: apply_fun (apply_fun fn n) x I.
An exact proof term for the current goal is (HfnRange n HnO x HxX').
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1 (apply_fun (apply_fun fn n) x) HfnnxI).
We prove the intermediate claim Hnbhd_g: ∀U : set, U metric_topology R R_bounded_metricapply_fun gR x U∃N : set, N ω ∀n : set, n ωN napply_fun seqx n U.
An exact proof term for the current goal is (converges_to_neighborhoods R (metric_topology R R_bounded_metric) seqx (apply_fun gR x) Hxlim_g).
We prove the intermediate claim Hnbhd_f: ∀U : set, U metric_topology R R_bounded_metricapply_fun f x U∃N : set, N ω ∀n : set, n ωN napply_fun seqx n U.
An exact proof term for the current goal is (converges_to_neighborhoods R (metric_topology R R_bounded_metric) seqx (apply_fun f x) Hxlim_f).
An exact proof term for the current goal is (Hausdorff_unique_limits R (metric_topology R R_bounded_metric) seqx (apply_fun gR x) (apply_fun f x) HHaus HgxR HfxR Hneqxy Hseq_on Hnbhd_g Hnbhd_f).
Let x be given.
Assume HxX: x X.
We will prove apply_fun gR x I.
We prove the intermediate claim HmR: metric_on R R_bounded_metric.
An exact proof term for the current goal is R_bounded_metric_is_metric_on_early.
We prove the intermediate claim HTmR: topology_on R (metric_topology R R_bounded_metric).
An exact proof term for the current goal is (metric_topology_is_topology R R_bounded_metric HmR).
We prove the intermediate claim HI_sub_R: I R.
An exact proof term for the current goal is (closed_interval_sub_R (minus_SNo 1) 1).
We prove the intermediate claim Hm1R': (minus_SNo 1) R.
An exact proof term for the current goal is (real_minus_SNo 1 real_1).
We prove the intermediate claim HI_closed: closed_in R (metric_topology R R_bounded_metric) I.
rewrite the current goal using metric_topology_R_bounded_metric_eq_R_standard_topology_early (from left to right).
An exact proof term for the current goal is (closed_interval_closed_in_R_standard_topology (minus_SNo 1) 1 Hm1R' real_1).
We prove the intermediate claim HgR12: function_on gR X R uniform_limit_metric X R R_bounded_metric fn gR.
An exact proof term for the current goal is (andEL (function_on gR X R uniform_limit_metric X R R_bounded_metric fn gR) (continuous_map X Tx R R_standard_topology gR) HgRpack).
We prove the intermediate claim HgRfun: function_on gR X R.
An exact proof term for the current goal is (andEL (function_on gR X R) (uniform_limit_metric X R R_bounded_metric fn gR) HgR12).
We prove the intermediate claim HunifRgR: uniform_limit_metric X R R_bounded_metric fn gR.
An exact proof term for the current goal is (andER (function_on gR X R) (uniform_limit_metric X R R_bounded_metric fn gR) HgR12).
Set seqx to be the term graph ω (λn : setapply_fun (apply_fun fn n) x).
We prove the intermediate claim Hconvx: converges_to R (metric_topology R R_bounded_metric) seqx (apply_fun gR x).
An exact proof term for the current goal is (uniform_limit_metric_imp_converges_to_metric_topology_at_point X R R_bounded_metric fn gR x HmR Hfn1 HgRfun HxX HunifRgR).
We prove the intermediate claim HseqxI: ∀n : set, n ωapply_fun seqx n I.
Let n be given.
Assume HnO: n ω.
We prove the intermediate claim Hseqxdef: seqx = graph ω (λn0 : setapply_fun (apply_fun fn n0) x).
Use reflexivity.
rewrite the current goal using (apply_fun_of_graph_eq seqx ω (λn0 : setapply_fun (apply_fun fn n0) x) n Hseqxdef HnO) (from left to right).
An exact proof term for the current goal is (HfnRange n HnO x HxX).
An exact proof term for the current goal is (converges_to_closed_in_contains_limit R (metric_topology R R_bounded_metric) I seqx (apply_fun gR x) HTmR HI_sub_R HI_closed Hconvx HseqxI).
An exact proof term for the current goal is Hseries.