cfahlgren1/math / lean /ComparatorChallenges /OrdinaryTwoPointCorrelations.lean
cfahlgren1's picture
download
raw
2.64 kB
import Mathlib
namespace OAI
noncomputable section
open scoped BigOperators ComplexConjugate
open Filter
namespace TwoPointCorrelations
def liouville (n : ℕ) : ℂ := ArithmeticFunction.liouville n
def correlationSum (f g : ℕ → ℂ) (h₁ h₂ N : ℕ) : ℂ :=
∑ n ∈ Finset.Icc 1 N, f (n + h₁) * g (n + h₂)
def affineSum (f g : ℕ → ℂ) (a₁ a₂ b₁ b₂ N : ℕ) : ℂ :=
∑ n ∈ Finset.Icc 1 N, f (a₁ * n + b₁) * g (a₂ * n + b₂)
def Multiplicative (f : ℕ → ℂ) : Prop :=
∀ m n : ℕ, 0 < m → 0 < n → m.Coprime n → f (m * n) = f m * f n
def OneBounded (f : ℕ → ℂ) : Prop := ∀ n : ℕ, 0 < n → ‖f n‖ ≤ 1
def primesUpTo (N : ℕ) : Finset ℕ := (Finset.range (N + 1)).filter Nat.Prime
def squaredDistance (f g : ℕ → ℂ) (N : ℕ) : ℝ :=
∑ p ∈ primesUpTo N, (1 - (f p * conj (g p)).re) / (p : ℝ)
def characterTwist {q : ℕ} (χ : DirichletCharacter ℂ q)
(t : ℝ) (n : ℕ) : ℂ :=
χ (n : ZMod q) * Complex.exp (((t * Real.log (n : ℝ) : ℝ) : ℂ) * Complex.I)
def UniformlyNonpretentious (f : ℕ → ℂ) : Prop :=
∀ (q : ℕ), 0 < q → ∀ (χ : DirichletCharacter ℂ q) (K : ℝ),
∀ᶠ N : ℕ in atTop, ∀ t : ℝ, |t| ≤ (N : ℝ) →
K ≤ squaredDistance f (characterTwist χ t) N
end TwoPointCorrelations
namespace OrdinaryTwoPointCorrelations
open TwoPointCorrelations
theorem liouville_log_saving :
∃ c : ℝ, 0 < c ∧ ∀ a₁ a₂ b₁ b₂ : ℕ,
0 < a₁ → 0 < a₂ → a₁ * b₂ ≠ a₂ * b₁ →
∃ C : ℝ, 0 < C ∧ ∀ X : ℝ, 3 ≤ X →
‖affineSum liouville liouville a₁ a₂ b₁ b₂ ⌊X⌋₊‖ ≤
C * X / Real.rpow (Real.log X) c := by
sorry
theorem binary_corrected_elliott :
∀ f₁ f₂ : ℕ → ℂ, Multiplicative f₁ → Multiplicative f₂ →
OneBounded f₁ → OneBounded f₂ →
(UniformlyNonpretentious f₁ ∨ UniformlyNonpretentious f₂) →
∀ h₁ h₂ : ℕ, h₁ ≠ h₂ →
Tendsto (fun N : ℕ => correlationSum f₁ f₂ h₁ h₂ N / (N : ℂ)) atTop (nhds 0) := by
sorry
theorem affine_corrected_elliott :
∀ f₁ f₂ : ℕ → ℂ, Multiplicative f₁ → Multiplicative f₂ →
OneBounded f₁ → OneBounded f₂ →
(UniformlyNonpretentious f₁ ∨ UniformlyNonpretentious f₂) →
∀ a₁ a₂ b₁ b₂ : ℕ, 0 < a₁ → 0 < a₂ → a₁ * b₂ ≠ a₂ * b₁ →
Tendsto (fun N : ℕ => affineSum f₁ f₂ a₁ a₂ b₁ b₂ N / (N : ℂ)) atTop (nhds 0) := by
sorry
end OrdinaryTwoPointCorrelations
end
end OAI

Xet Storage Details

Size:
2.64 kB
·
Xet hash:
1ad6bd7624ad5bcdf2ae3834036885ed35bb348aa2b6a4adcfd3121bcec5701b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.