math / data /lean /OAI /Probability /FKPressure /Polydisk.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
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