math / data /lean /OAI /NumberTheory /TwoPoint /ShortIntervals /MRTAdaptiveDisk.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
5.75 kB
import OAI.NumberTheory.TwoPoint.ShortIntervals.MRTCharacterZeroCount
namespace OAI
/-! A local analytic disk estimate with an explicit logarithmic growth budget.
The statement is independent of the physical radius, so it can be used on the
shrinking disks required by a Vinogradov--Korobov growth estimate. -/
namespace TwoPointCorrelations
open Complex Filter
open scoped BigOperators Classical Topology
noncomputable def mrtDiskZeros (f : β„‚ β†’ β„‚) : Set β„‚ :=
Erdos970.zerosetKfR (7 / 8) (by norm_num) f
lemma mrtDiskZeros_finite (f : β„‚ β†’ β„‚)
(hf : βˆ€ z ∈ Metric.closedBall (0 : β„‚) 1, AnalyticAt β„‚ f z)
(h0 : f 0 = 1) : (mrtDiskZeros f).Finite := by
apply Erdos970.lem_Contra_finiteKR (7 / 8) (by norm_num) (by norm_num) f hf
exact ⟨0, by simp, by rw [h0]; exact one_ne_zero⟩
private lemma mrt_disk_factorization (f : β„‚ β†’ β„‚)
(hf : βˆ€ z ∈ Metric.closedBall (0 : β„‚) 1, AnalyticAt β„‚ f z)
(h0 : f 0 = 1) :
βˆƒ g : β„‚ β†’ β„‚ β†’ β„‚, βˆ€ ρ ∈ mrtDiskZeros f,
AnalyticAt β„‚ (g ρ) ρ ∧ g ρ ρ β‰  0 ∧
βˆ€αΆ  w in 𝓝 ρ, f w = (w - ρ) ^ (analyticOrderAt f ρ).toNat * g ρ w := by
have hfactor : βˆ€ ρ : β„‚, βˆƒ g : β„‚ β†’ β„‚, AnalyticAt β„‚ g ρ ∧ g ρ β‰  0 ∧
(ρ ∈ mrtDiskZeros f β†’
βˆ€αΆ  w in 𝓝 ρ, f w = (w - ρ) ^ (analyticOrderAt f ρ).toNat * g w) := by
intro ρ
by_cases hρ : ρ ∈ mrtDiskZeros f
· obtain ⟨g, hg, hgne, heq⟩ := Erdos970.lem_analytic_zero_factor
(15 / 16) (7 / 8) (by norm_num) (by norm_num) (by norm_num) f hf
(by rw [h0]; exact one_ne_zero) ρ hρ
exact ⟨g, hg, hgne, fun _ => heq⟩
· exact ⟨fun _ => 1, analyticAt_const, one_ne_zero, fun h => (hρ h).elim⟩
exact ⟨fun ρ => Classical.choose (hfactor ρ), fun ρ hρ =>
⟨(Classical.choose_spec (hfactor ρ)).1,
(Classical.choose_spec (hfactor ρ)).2.1,
(Classical.choose_spec (hfactor ρ)).2.2 hρ⟩⟩
/-- Logarithmic derivative equals the actual finite zero sum with an error
linear in the logarithmic growth budget. -/
theorem mrt_disk_logderiv (f : β„‚ β†’ β„‚)
(hf : βˆ€ z ∈ Metric.closedBall (0 : β„‚) 1, AnalyticAt β„‚ f z)
(h0 : f 0 = 1) {B : ℝ} (hB : 0 < B)
(hbound : βˆ€ z ∈ Metric.closedBall (0 : β„‚) (15 / 16), β€–f zβ€– ≀ Real.exp B)
{z : β„‚} (hz : β€–zβ€– ≀ 3 / 4) (hn : f z β‰  0) :
β€–deriv f z / f z -
βˆ‘ ρ ∈ (mrtDiskZeros_finite f hf h0).toFinset,
(analyticOrderAt f ρ).toNat / (z - ρ)β€– ≀
mrtCharacterLogDerivativeConstant * B := by
obtain ⟨g, hg⟩ := mrt_disk_factorization f hf h0
have hz' : z ∈ Metric.closedBall (0 : β„‚) (3 / 4 : ℝ) \
Erdos970.zerosetKfR (7 / 8) (by norm_num) f :=
⟨by simpa using hz, fun h => hn h.2⟩
have h := Erdos970.final_ineq1 (Real.exp B) (Real.one_lt_exp_iff.mpr hB)
(3 / 4) (4 / 5) (15 / 16) (7 / 8)
(by norm_num) (by norm_num) (by norm_num) (by norm_num) (by norm_num)
f hf h0 (mrtDiskZeros_finite f hf h0) hg hbound z hz'
simpa only [mrtDiskZeros, Real.log_exp, mrtCharacterLogDerivativeConstant] using h
/-- The total multiplicity in the inner disk has the same logarithmic cost. -/
theorem mrt_disk_zero_count (f : β„‚ β†’ β„‚)
(hf : βˆ€ z ∈ Metric.closedBall (0 : β„‚) 1, AnalyticAt β„‚ f z)
(h0 : f 0 = 1) {B : ℝ} (hB : 0 < B)
(hbound : βˆ€ z ∈ Metric.closedBall (0 : β„‚) (15 / 16), β€–f zβ€– ≀ Real.exp B) :
(βˆ‘ ρ ∈ (mrtDiskZeros_finite f hf h0).toFinset,
((analyticOrderAt f ρ).toNat : ℝ)) ≀
(1 / Real.log ((15 / 16 : ℝ) / (7 / 8))) * B := by
obtain ⟨g, hg⟩ := mrt_disk_factorization f hf h0
have h := Erdos970.lem_sum_m_rho_bound (Real.exp B) (15 / 16) (7 / 8)
(Real.one_lt_exp_iff.mpr hB) (by norm_num) (by norm_num) (by norm_num) f hf
(by rw [h0]; exact one_ne_zero) h0 (mrtDiskZeros_finite f hf h0) g (fun z hz => hbound z (by simpa using hz)) hg
simpa only [mrtDiskZeros, Real.log_exp] using h
/-- A zero separation estimate completes the local norm bound. -/
theorem mrt_disk_logderiv_norm (f : β„‚ β†’ β„‚)
(hf : βˆ€ z ∈ Metric.closedBall (0 : β„‚) 1, AnalyticAt β„‚ f z)
(h0 : f 0 = 1) {B : ℝ} (hB : 0 < B)
(hbound : βˆ€ z ∈ Metric.closedBall (0 : β„‚) (15 / 16), β€–f zβ€– ≀ Real.exp B)
{z : β„‚} (hz : β€–zβ€– ≀ 3 / 4) (hn : f z β‰  0)
{Ξ· : ℝ} (hΞ· : 0 < Ξ·)
(hd : βˆ€ ρ ∈ mrtDiskZeros f, Ξ· ≀ β€–z - ρ‖) :
β€–deriv f z / f zβ€– ≀
(mrtCharacterLogDerivativeConstant +
(1 / Real.log ((15 / 16 : ℝ) / (7 / 8))) / Ξ·) * B := by
let S := (mrtDiskZeros_finite f hf h0).toFinset
let m : β„‚ β†’ β„• := fun ρ => (analyticOrderAt f ρ).toNat
have hs : β€–βˆ‘ ρ ∈ S, (m ρ : β„‚) / (z - ρ)β€– ≀ (βˆ‘ ρ ∈ S, (m ρ : ℝ)) / Ξ· := by
calc
_ ≀ βˆ‘ ρ ∈ S, β€–(m ρ : β„‚) / (z - ρ)β€– := norm_sum_le _ _
_ ≀ βˆ‘ ρ ∈ S, (m ρ : ℝ) / Ξ· := by
apply Finset.sum_le_sum
intro ρ hρ
rw [norm_div, Complex.norm_natCast]
exact div_le_div_of_nonneg_left (Nat.cast_nonneg _) hΞ·
(hd ρ ((mrtDiskZeros_finite f hf h0).mem_toFinset.mp hρ))
_ = _ := by rw [Finset.sum_div]
have hc := div_le_div_of_nonneg_right (mrt_disk_zero_count f hf h0 hB hbound) hΞ·.le
have he := mrt_disk_logderiv f hf h0 hB hbound hz hn
have ht := norm_add_le
(deriv f z / f z - βˆ‘ ρ ∈ S, (m ρ : β„‚) / (z - ρ))
(βˆ‘ ρ ∈ S, (m ρ : β„‚) / (z - ρ))
rw [sub_add_cancel] at ht
calc
_ ≀ mrtCharacterLogDerivativeConstant * B +
((1 / Real.log ((15 / 16 : ℝ) / (7 / 8))) * B) / Ξ· :=
ht.trans (add_le_add he (hs.trans hc))
_ = _ := by ring
end TwoPointCorrelations
end OAI