cfahlgren1/math / lean /OAI /NumberTheory /DirichletL /Detector /FinalAssemblyHigh.lean
cfahlgren1's picture
download
raw
10.4 kB
import OAI.NumberTheory.DirichletL.PrimeRows.HighFromMoments
import OAI.NumberTheory.DirichletL.Detector.FinalAssemblyCollected
namespace OAI
noncomputable section
open scoped Classical BigOperators Topology ContDiff
open Filter Set
namespace SevenEighths.ProbeFinalAssembly
open ProbeHighRowFamily
open HeckeFamily HeckeInverseAmplification ProbePhysical ProbeMellinBoundary
open ProbeRaySlots HeckeDetectorPhysicalSelection HeckeDetectorAmplitudeFirst HeckeDetectorFiberPartition
open PrincipalMellinResidues PrincipalSignalComparison ProbePrincipalResidueActual
local notation "O" => HeckeFamily.O
variable (M : Ideal O) [NeZero M]
local instance : Finite (O ⧸ M) := Ring.HasFiniteQuotients.finiteQuotient (NeZero.ne M)
variable (H : Subgroup (O ⧸ M)ˣ) (hH : RayOrthogonality.globalUnits M≤H)
theorem actual_high_probe_from_raw_moments (N : ℕ) (e eps c b A R dmin dmax rmin τ ε κ cost mesh margin loss : ℝ)
(he : 0<e) (he1 : e<1/1000) (heps : 0<eps) (hc : 0<c) (hcb : c≤b) (hA : 0≤A)
(hR : 0≤R) (hdmin : 0<dmin) (hdmax : 0≤dmax) (hdRange : dmin≤dmax) (hrmin : 0<rmin)
(hτ : 0<τ) (hε : 0<ε) (hκ : 0<κ) (hcost : 0≤cost) (hmesh : 0<mesh)
(hbudget : 8*e*R+κ≤ε) (hgap : ε<rmin*mesh) (hmargin : 0<margin)
(hheight : 2*τ<dmin*cost) (hloss : τ*(2+4*eps)<loss)
(S : Finset (Ideal O)) (hS : SourceExclusions S) (hfirst : FirstTail (4*e) S)
(hmax : ∀P∈S,P.IsMaximal)
(ell : Fin N→ℝ) (hell : Function.Injective ell)
(hello : ∀j,dmax*rmin≤ell j) (hellhi : ∀j,ell j≤dmin*R)
(W : Fin N→ℝ→ℝ)
(hWs : ∀j,Function.support (W j)⊆Ioo c b) (hW : ∀j,ContDiff ℝ ∞ (W j)) (hWB : ∀j t,0≤W j t ∧ W j t≤A)
(hcompact : ∀j,HasCompactSupport (W j)) (hne : ∀j,W j≠0)
(hellsum : ∑j,ell j=1/6)
(hdtop : dmax≤37/42) (hε1 : ε≤1/1000) (hκ1 : κ≤1)
(hτzero : τ<dmin/2) (hτheight : 4*τ<dmin*cost)
(hwbudget : 12*e*((22:ℝ)+2)+8*κ+2*cost≤ε/2)
(φ : ℝ→ℝ) (hφ : ContDiff ℝ ∞ φ) (hφc : HasCompactSupport φ)
(hφp : tsupport φ⊆Ioi 0) (hφ0 : ∀y,0≤φ y) (hφne : φ≠0)
(a₀ b₀ B₀ : ℝ) (ha₀ : 0<a₀) (hab₀ : a₀≤b₀) (hB₀ : 0<B₀)
(hφs : Function.support φ⊆Ioo a₀ b₀) (hφB : ∀y,φ y≤B₀)
(εm ν logCost heightCost momentCost : ℝ)
(hεm : 0<εm) (hν : 0<ν)
(hlog : 0<logCost) (hMomentHeight : τ<heightCost)
(ζ μ saving : ℝ) (hζ : 0<ζ) (hζ1 : ζ≤1/48) (hμ : 0≤μ)
(hcount : 159*ε+εm+R+7*ν≤1/32)
(hfinal : (13/16)*(159*ε+εm+R+7*ν)+2*ζ+(3/2)*μ+
(26*e+(N+8)*eps+loss+mesh/6)+(logCost+heightCost+momentCost)+saving≤49/440640)
(W0 W1 : SchwartzMap ℝ ℂ) (a0 b0 a1 b1 : ℝ) (ha0 : 0<a0) (ha1 : 0<a1)
(hW0 : Function.support W0⊆Icc a0 b0) (hW1 : Function.support W1⊆Icc a1 b1)
(hr0 : ∀y,(W0 y).im=0) (hr1 : ∀y,(W1 y).im=0)
(hp0 : ∀y,0≤(W0 y).re) (hp1 : ∀y,0≤(W1 y).re) (hn0 : W0≠0) (hn1 : W1≠0)
(nu : ℝ) (hnu : 0<nu)
(dyadCost : ℝ) (hdyadCost : 0<dyadCost)
(hdmin1 : dmin<1/100) (hconductor : 13/16+ζ+2*margin≤dmax)
(hmuMargin : 2*margin≤μ)
(hβ : (7/8:ℝ)≤HeckeZeroSupremum.beta)
(sigma : ℝ) (hsigma : 0<sigma)
(hgeometric : sigma+8*e+nu≤63/800) (hprincipal : sigma+nu≤17/48000)
(hwindow : sigma+e≤(7/8)*(dmax*rmin))
(hfloorbudget : 2*ζ+26*e+(N+8)*eps+loss+mesh/6+nu+sigma≤7/1200)
(hcentral : sigma+nu+dyadCost≤saving) (counts : CountParameters M H εm) :
letI : NeZero (∏P∈S,P) := ⟨fixedPrimeProduct_ne_zero S hS.prime⟩
∃n : ℕ,0<n ∧ ∃C : ℝ,
0<C ∧
∀η : Character,∃Ct : ℝ,0<Ct ∧ ∀ᶠZ : ℝ in atTop,
let Yp := fun j=>Z^(ell j)
let T := fun j=>pool (RayQuotient.identityClass M H) S c b (Yp j)
let _hT := nonfloorPoolOutside M H S N c b Yp
let WC : Fin N→ℝ→ℂ := fun j y=>(W j y:ℂ)
let normer := sourceResidueConstant W0 W1 (∏P∈S,P)*
(Probe.principalScalar Finset.univ Z (1/6) (slotMass T (residueWeights W Yp)) : ℂ)
normer≠0 ∧ ∃idx grid : FreeRow→ℕ,
(∀u,1 ≤ idx u ∧ idx u ≤ n ∧ grid u ≤ ⌊(49/100:ℝ)/e⌋₊ ∧
((3*idx u+1:ℕ):ℝ)*Z^τ+Z^τ/2≤(3*idx u+2:ℕ)*Z^τ) ∧
(∀u, let a : ℝ := 51/100+e*grid u
(51/100:ℝ)≤a ∧ a≤1 ∧
a≤detectorMaximum (sourceDetectorFamily S hS.prime η u (rayCubeFamily M H hH u)) (3*idx u*Z^τ) ∧
detectorMaximum (sourceDetectorFamily S hS.prime η u (rayCubeFamily M H hH u)) (3*idx u*Z^τ)<a+e ∧
detectorMaximum (sourceDetectorFamily S hS.prime η u (rayCubeFamily M H hH u)) (3*(idx u+1:ℕ)*Z^τ)<a+2*e ∧
(51/100<a → ∃j s,LFunction (sourceDetectorFamily S hS.prime η u (rayCubeFamily M H hH u) j) s=0 ∧
¬((sourceDetectorFamily S hS.prime η u (rayCubeFamily M H hH u) j).residue=1 ∧ s=1) ∧
a≤s.re ∧ s.re<a+e ∧ |s.im|≤3*idx u*Z^τ)) ∧
(∀u∈rowBand (Z^(1/100:ℝ)) (Z^((13/16:ℝ)+ζ)),
(calibrationForSet S hmax).residueMonoid u.val≠0 →
(∀θ,(rayCubeFamily M H hH u θ).residue≠1) ∧
(∀θ,(rayCubeFamily M H hH u θ).modulus.absNorm≤
conductorConstant*M.absNorm*(Ideal.span {u.val}:Ideal O).absNorm) ∧
∀hnp : ∀θ,(rayCubeFamily M H hH u θ).residue≠1,
HeckeDetectorZeros.zeroMaximum (rayCubeFamily M H hH u) hnp
(3*(idx u+1:ℕ)*Z^τ)<(51/100:ℝ)+e*grid u+2*e) ∧
let rows := supportedNonfloorRows S hmax (rowBand (Z^(1/100:ℝ)) (Z^((13/16:ℝ)+ζ))) grid
∀C0 : ℝ,0≤C0 →
(∀k∈smallDyadicIndices (Z^(13/16+ζ)),∀i∈Finset.range (n+1),∀j∈Finset.range (⌊(49/100:ℝ)/e⌋₊+1),
let rows' := cubeBinRows (rows∩dyadicRows 1 k) idx grid i j
rows'.Nonempty → ∀t : HeightSpace,
((|t.1.1|≤(3*i+1:ℕ)*Z^τ ∧ |t.2|≤(3*i+1:ℕ)*Z^τ) ∧ |t.1.2|≤(3*i+1:ℕ)*Z^τ) →
SourceMomentsAt M H hH S hS.prime η rows' ell WC Z
(sourceDyadConductor Z margin k) (51/100+e*j) ε τ dmax b R mesh i
((17/50:ℂ)+t.1.2*Complex.I) (HeckeZeroSupremum.beta-7/8)
(if 2*(51/100+e*j)-1≤5/6 then counts.cB else counts.cH)
(if 2*(51/100+e*j)-1≤5/6 then counts.kB else counts.kH)
(C0*Z^momentCost) (Z^heightCost) εm) →
‖compensatedPhysicalProbe η (calibrationForSet S hmax) W0 W1
(fun j=>canonicalSlotSupport (T j)) WC Yp (Z^(17/48:ℝ)) (Z^(23/48:ℝ)) Z/normer-
HeckeSignal.signal (η.excludePrimes S hS.prime) (sourceCorrection η S) (-11/16) Z‖≤
(Ct+C*C0*(η.modulus.absNorm:ℝ)^(2*eps))*Z^(HeckeZeroSupremum.beta-11/16-sigma) := by
let : NeZero (∏P∈S,P) := ⟨fixedPrimeProduct_ne_zero S hS.prime⟩
have hmin : 0<dmax*rmin := mul_pos (hdmin.trans_le hdRange) hrmin
obtain ⟨n,hn,htransport⟩ := actual_nonfloor_probe_transport M H hH N e (1/4) c b A ζ 1 τ (dmax*rmin) nu
he he1 (by norm_num) (by norm_num) hζ hζ1 hτ hc hcb hA hmin hnu hβ S hS hmax hfirst
ell hello hell hellsum W hW hcompact hWs hWB hne W0 W1 a0 b0 a1 b1 ha0 ha1 hW0 hW1
hr0 hr1 hp0 hp1 hn0 hn1 sigma hsigma hgeometric hprincipal hwindow (by linarith)
eps R dmin dmax rmin ε κ cost mesh margin loss heps hR hdmin hdmax hdRange hrmin hε hκ hcost hmesh hmargin
hbudget hgap hheight hloss (by linarith) hello hellhi hfloorbudget
have hΔ : 0≤HeckeZeroSupremum.beta-7/8 := by linarith
have hΔ1 : HeckeZeroSupremum.beta-7/8≤1/8 := by linarith [HeckeZeroSupremum.beta_le_one]
obtain ⟨C,hC,hbound⟩ :=
actual_nonfloor_rows_saving M H hH N n e eps c b A R dmin dmax rmin τ ε κ cost mesh margin loss
he he1 heps hc hcb hA hR hdmin hdmax hdRange hrmin hτ hε hκ hcost hmesh
hbudget hgap hmargin hheight hloss S hS hfirst hmax ell hell hello hellhi W hWs hW hWB hcompact hne hellsum
hdtop hε1 hκ1 hτzero hτheight hwbudget
φ hφ hφc hφp hφ0 hφne a₀ b₀ B₀ ha₀ hab₀ hB₀ hφs hφB
εm (HeckeZeroSupremum.beta-7/8) ν logCost heightCost momentCost hεm hΔ hΔ1 hν hlog hMomentHeight
ζ μ saving hζ.le (by linarith) hμ hcount hfinal W0 W1 a0 b0 a1 b1 ha0 ha1 hW0 hW1
hr0 hr1 hp0 hp1 hn0 hn1 nu hnu ⌊(49/100:ℝ)/e⌋₊ dyadCost hdyadCost hdmin1 hconductor hmuMargin counts
refine ⟨n,hn,C,hC,?_⟩
intro η
obtain ⟨Ct,hCt,htransport⟩ := htransport η
refine ⟨Ct,hCt,?_⟩
filter_upwards [htransport,hbound η,eventually_ge_atTop (1:ℝ)] with Z ht hb hZ
dsimp only at ht ⊢
obtain ⟨hnorm,idx,grid,hlabels,hbins,hray,herror⟩ := ht
refine ⟨hnorm,idx,grid,hlabels,hbins,hray,?_⟩
intro C0 hC0 hmom
let rows := supportedNonfloorRows S hmax (rowBand (Z^(1/100:ℝ)) (Z^((13/16:ℝ)+ζ))) grid
have hrows : ∀u∈rows,u.val≠1 ∧ Z^(1/100:ℝ)≤rowNorm u ∧
(calibrationForSet S hmax).residueMonoid u.val≠0 ∧ rowNorm u≤Z^(13/16+ζ) := by
intro u hu
rcases (mem_supportedNonfloorRows S hmax _ grid u).mp hu with ⟨hur,hcal,hg⟩
have hh := mem_rowBand.mp hur
exact ⟨hh.1,hh.2.1,hcal,hh.2.2.le⟩
have hlabel : ∀u∈rows,idx u≤n ∧ grid u≤⌊(49/100:ℝ)/e⌋₊ ∧ grid u≠0 ∧ 51/100+e*grid u≤1 := by
intro u hu
exact ⟨(hlabels u).2.1,(hlabels u).2.2.1,
((mem_supportedNonfloorRows S hmax _ grid u).mp hu).2.2,(hbins u).2.1⟩
have hnext : ∀u∈rows,detectorMaximum (sourceDetectorFamily S hS.prime η u (rayCubeFamily M H hH u))
(3*(idx u+1:ℕ)*Z^τ)<51/100+e*grid u+2*e := fun u _=>(hbins u).2.2.2.2.1
have hcurrent : ∀u∈rows,51/100+e*grid u≤detectorMaximum
(sourceDetectorFamily S hS.prime η u (rayCubeFamily M H hH u)) ((3*idx u:ℕ)*Z^τ) := by
intro u hu
simpa only [Nat.cast_mul,Nat.cast_ofNat] using (hbins u).2.2.1
have hglobal := (hb C0 hC0 rows hrows idx grid hlabel hnext hcurrent hmom).2
have hexp : Z^(3/16+(HeckeZeroSupremum.beta-7/8)-saving+nu+dyadCost)≤
Z^(HeckeZeroSupremum.beta-11/16-sigma) :=
Real.rpow_le_rpow_of_exponent_le hZ (by linarith)
have hcentral' := hglobal.trans (mul_le_mul_of_nonneg_left hexp (by positivity))
have hsum := (norm_add_le _ _).trans (add_le_add herror hcentral')
simpa only [rows,sub_add_cancel,add_mul] using hsum
end SevenEighths.ProbeFinalAssembly
end
end OAI

Xet Storage Details

Size:
10.4 kB
·
Xet hash:
5fcc332290f34a044b327d40972b6d97075fc04192351d6d66e2857d421ed088

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