Download data/lean/OAI/Probability/FKPressure/Polydisk.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.08 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FKPressure/Polydisk.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/FKPressure/Polydisk.lean
-
curl -L -o Polydisk.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/FKPressure/Polydisk.lean
4.08 kB
| import OAI.Probability.FKPressure.ComplexSeries | |
| namespace OAI | |
| noncomputable section | |
| open Finset Set | |
| open scoped Classical Topology | |
| namespace BelowOne.PressureSeries | |
| variable {V : Type*} [Fintype V] | |
| lemma identity_on_disk_of_real_cube {f g : β β β} {r : β} (hr : 1 < r) | |
| (hf : AnalyticOnNhd β f (Metric.ball 0 r)) | |
| (hg : AnalyticOnNhd β g (Metric.ball 0 r)) | |
| (he : β t : β, t β Set.Icc 0 1 β f (t : β) = g (t : β)) : | |
| EqOn f g (Metric.ball 0 r) := by | |
| apply hf.eqOn_of_preconnected_of_mem_closure hg (convex_ball (0 : β) r).isPreconnected | |
| (show (0 : β) β Metric.ball 0 r by simpa using zero_lt_one.trans hr) | |
| rw [Metric.mem_closure_iff] | |
| intro Ξ΅ hΞ΅ | |
| let t : β := min Ξ΅ 1 / 2 | |
| have ht : 0 < t := div_pos (lt_min hΞ΅ zero_lt_one) (by norm_num) | |
| have ht1 : t β€ 1 := by dsimp [t]; linarith [min_le_right Ξ΅ 1] | |
| have htΞ΅ : t < Ξ΅ := by dsimp [t]; linarith [min_le_left Ξ΅ 1] | |
| refine β¨(t : β), β¨he t β¨ht.le,ht1β©, ?_β©, ?_β© | |
| Β· simpa only [mem_singleton_iff, Complex.ofReal_eq_zero] using ne_of_gt ht | |
| Β· simpa only [dist_zero_left, Complex.norm_real, Real.norm_of_nonneg ht.le] using htΞ΅ | |
| lemma identity_on_polydisk {f g : (V β β) β β} {r : β} (hr : 1 < r) | |
| (hf : AnalyticOnNhd β f {x | β i, βx iβ < r}) | |
| (hg : AnalyticOnNhd β g {x | β i, βx iβ < r}) | |
| (he : β t : V β β, (β i, t i β Set.Icc 0 1) β | |
| f (fun i => (t i : β)) = g (fun i => (t i : β))) : | |
| EqOn f g {x | β i, βx iβ < r} := by | |
| have hfinite : β s : Finset V, β x : V β β, | |
| (β i, βx iβ < r) β (β i β s, β t : β, t β Set.Icc 0 1 β§ x i = (t : β)) β | |
| f x = g x := by | |
| intro s | |
| induction s using Finset.induction with | |
| | empty => | |
| intro x hx hreal | |
| have hreal' : β i, β t : β, t β Set.Icc 0 1 β§ x i = (t : β) := | |
| fun i => hreal i (by simp) | |
| choose t ht htx using hreal' | |
| have hh : x = fun i => (t i : β) := funext htx | |
| rw [hh] | |
| exact he t ht | |
| | @insert i s his ih => | |
| intro x hx hreal | |
| let curve : β β V β β := fun z => Function.update x i z | |
| have hc (z : β) : AnalyticAt β curve z := by | |
| apply AnalyticAt.pi | |
| intro j | |
| by_cases hji : j = i | |
| Β· subst j | |
| simp only [Function.update_self] | |
| exact analyticAt_id | |
| Β· simpa only [curve, Function.update_of_ne hji] using | |
| (analyticAt_const : AnalyticAt β (fun _ : β => x j) z) | |
| have hb {z : β} (hz : z β Metric.ball 0 r) : β j, βcurve z jβ < r := by | |
| intro j | |
| by_cases hji : j = i | |
| Β· subst j | |
| simpa only [curve, Function.update_self, Metric.mem_ball, dist_zero_right] using hz | |
| Β· simpa only [curve, Function.update_of_ne hji] using hx j | |
| have hfc : AnalyticOnNhd β (fun z => f (curve z)) (Metric.ball 0 r) := | |
| fun z hz => (hf (curve z) (hb hz)).comp (hc z) | |
| have hgc : AnalyticOnNhd β (fun z => g (curve z)) (Metric.ball 0 r) := | |
| fun z hz => (hg (curve z) (hb hz)).comp (hc z) | |
| have hec : β t : β, t β Set.Icc 0 1 β f (curve (t : β)) = g (curve (t : β)) := by | |
| intro t ht | |
| apply ih (curve (t : β)) | |
| Β· apply hb | |
| simpa only [Metric.mem_ball, dist_zero_right, Complex.norm_real, Real.norm_of_nonneg ht.1] using ht.2.trans_lt hr | |
| Β· intro j hjs | |
| by_cases hji : j = i | |
| Β· subst j | |
| exact β¨t,ht,Function.update_self _ _ _β© | |
| Β· obtain β¨u,hu,hxuβ© := hreal j (by simp only [Finset.mem_insert]; exact not_or.mpr β¨hji,hjsβ©) | |
| exact β¨u,hu, by simpa only [curve, Function.update_of_ne hji] using hxuβ© | |
| have hres := identity_on_disk_of_real_cube hr hfc hgc hec | |
| simpa only [curve, Function.update_eq_self] using | |
| hres (show x i β Metric.ball 0 r by simpa only [Metric.mem_ball, dist_zero_right] using hx i) | |
| intro x hx | |
| exact hfinite univ x hx (fun i hi => False.elim (hi (mem_univ i))) | |
| end BelowOne.PressureSeries | |
| end | |
| end OAI | |