math / data /lean /OAI /NumberTheory /TwoPoint /Walks /CanonicalComplexPrefix.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
4.1 kB
import OAI.NumberTheory.TwoPoint.Walks.CanonicalComplexTesting
import OAI.NumberTheory.TwoPoint.Bounds.ComplexPrefixBound
namespace OAI
/-! Canonical directed complex prefix estimate with all boundary terms explicit. -/
namespace TwoPointCorrelations
open Finset Filter
open scoped Classical
theorem ModFiveThetaInput.eventually_canonical_complex_prefix
(hprime : ModFiveThetaInput) (hBr : BravermanDepth22Input) :
βˆƒ A : β„•, 1000 ≀ A ∧
βˆ€ (h : β„•) (_hh : 0 < h) (E : Finset β„•)
(hE : βˆ€ p, p.Prime β†’ p ∣ h β†’ p ∈ E) (W : ℝ) (hW : 1 ≀ W),
βˆ€αΆ  L : ℝ in atTop,
βˆ€ (hL : 1 ≀ L) (Ξ· : ℝ), 0 < Ξ· β†’ Ξ· ≀ 1 β†’
βˆ€ eligible : β„• β†’ β„• β†’ Prop,
(βˆ€ d q, eligible d q β†’ PaddingPairEligible L Ξ· d q) β†’
βˆ€ (D : β„€), 0 < D β†’
(βˆ€ d q, eligible d q β†’ D ≀ (h * q * d : β„•) ∧ (h * q * d : β„•) < 2 * D) β†’
let J := primeSupplyCount W L
let P := centeredPrimeBands E (L ^ (199 / 200 : ℝ)) W J
let Qp := paddingPrimeSupply E L
let Q := boundedPaddingDivisors Qp ⌊100 * Real.log LβŒ‹β‚Š
let data := canonicalTraceFamily h E W L eligible hL hW hE
let active := fun d q => (d, q) ∈ data.pairs
let keep := fun z => Β¬ProhibitedSite h ⌊L ^ (1 / 10 : ℝ)βŒ‹β‚Š active z
let M := ⌈Real.exp (103 * L)βŒ‰β‚Š
let K := Real.exp (4 * J)
let R := Real.exp 1 * (2 * (K * (2 * Real.exp 150 * Real.sqrt W) ^ J))
βˆ€ (F G : β„€ β†’ β„‚), (βˆ€ n, β€–F nβ€– ≀ 1) β†’ (βˆ€ n, β€–G nβ€– ≀ 1) β†’
βˆ€ N : β„•, Real.exp (L ^ A / 2) ≀ (N : ℝ) β†’
β€–retainedComplexPrefix P Q Qp actualPaddingCoefficient active L K W
(fun _ => actualPaddingDegreeCut Qp L) h (fun _ _ _ => True) keep F G Nβ€– ≀
(40 * ((3 * R) * (2 * M * paddingTiltNormalizer Qp) +
((M : ℝ) * (2 * K * (8 * W) ^ J) * (5 : ℝ) ^ (400 * Real.log L)) *
Real.exp (-(2 * ⌊LβŒ‹β‚Š : β„•)))) / (L * M) +
((h * ⌊Real.exp (100 * L + 1)βŒ‹β‚Š : β„•) : ℝ) / M *
(K / L * (5 : ℝ) ^ (400 * Real.log L) * (8 * W) ^ J) +
2 * (M : ℝ) / N * (K / L * (5 : ℝ) ^ (400 * Real.log L) * (8 * W) ^ J) := by
obtain ⟨A, hA, hb⟩ := hprime.eventually_canonical_complex_blocks hBr
refine ⟨A, hA, ?_⟩
intro h hh E hE W hW
filter_upwards [hb h hh E hE W hW, hprime.eventually_actual_pool_masses E W hW]
with L hb hmass
intro hL Ξ· hΞ· hΞ·one eligible he D hD hs
dsimp only
let J := primeSupplyCount W L
let P := centeredPrimeBands E (L ^ (199 / 200 : ℝ)) W J
let Qp := paddingPrimeSupply E L
let Q := boundedPaddingDivisors Qp ⌊100 * Real.log LβŒ‹β‚Š
let data := canonicalTraceFamily h E W L eligible hL hW hE
let active := fun d q => (d, q) ∈ data.pairs
let keep := fun z => Β¬ProhibitedSite h ⌊L ^ (1 / 10 : ℝ)βŒ‹β‚Š active z
let M := ⌈Real.exp (103 * L)βŒ‰β‚Š
let K := Real.exp (4 * J)
let R := Real.exp 1 * (2 * (K * (2 * Real.exp 150 * Real.sqrt W) ^ J))
intro F G hF hG N hN
have hNp : 0 < N := by exact_mod_cast (Real.exp_pos _).trans_le hN
have hMp : 0 < M := Nat.one_le_ceil_iff.mpr (Real.exp_pos _)
have hp := centeredPrimeBands_prime E (L ^ (199 / 200 : ℝ)) W J
have hd := centeredPrimeBands_disjoint E (L ^ (199 / 200 : ℝ)) W J
(Real.rpow_nonneg (by linarith) _) (by linarith)
have hstep (e : ((j : Fin J) β†’ P j) Γ— Q) :
retainedPrimeStep active h e ≀ h * ⌊Real.exp (100 * L + 1)βŒ‹β‚Š := by
apply retainedPrimeStep_le h hΞ· hΞ·one
intro d q hmem
exact he d q (canonicalTraceFamily_pair_eligible h E W L eligible hL hW hE d q hmem)
have ht := hb hL Ξ· hΞ· hΞ·one eligible he D hD hs F G hF hG N hN
exact retainedComplexPrefix_bound P hp hd M (h * ⌊Real.exp (100 * L + 1)βŒ‹β‚Š) N
Q Qp actualPaddingCoefficient active L K W (fun _ => actualPaddingDegreeCut Qp L)
h (fun _ _ _ => True) keep F G hF hG hMp hNp (by linarith) (Real.exp_pos _).le
(by linarith) (fun q _ => actualPaddingCoefficient_nonneg q)
(fun j => (hmass.2.1 j).2.1) hstep _ ht
end TwoPointCorrelations
end OAI