Buckets:
| import OAI.NumberTheory.DirichletL.MeanSquare.CanonicalDensity | |
| namespace OAI | |
| noncomputable section | |
| namespace InitialMeanSquare | |
| open scoped BigOperators | |
| open MulChar AddChar | |
| open scoped BigOperators | |
| open Filter Asymptotics MeasureTheory | |
| open scoped Topology | |
| open MeasureTheory Real | |
| open scoped FourierTransform SchwartzMap | |
| open Finset Complex | |
| open scoped Classical | |
| open scoped Classical | |
| open Filter Real Asymptotics | |
| open ActualEisensteinCubic | |
| open Filter | |
| open ActualEisensteinCubic RationalPrimeExtraction ShortDraftLatticeCount | |
| open ActualEisensteinCubic ShortDraftLatticeCount | |
| open Filter | |
| open scoped Topology | |
| open EisensteinEmbedding ConcreteTraceCRT ActualEisensteinCubic | |
| open MulChar AddChar | |
| open Filter Asymptotics | |
| open scoped LSeries.notation ArithmeticFunction.Moebius | |
| open Filter | |
| open MulChar AddChar | |
| open MulChar AddChar | |
| open scoped LSeries.notation ArithmeticFunction.Moebius | |
| open Filter Asymptotics MeasureTheory | |
| open scoped Topology | |
| open Filter Asymptotics | |
| open Ideal NumberField RingOfIntegers UniqueFactorizationMonoid | |
| open Ideal NumberField RingOfIntegers UniqueFactorizationMonoid | |
| open Ideal NumberField RingOfIntegers UniqueFactorizationMonoid | |
| open Ideal NumberField RingOfIntegers UniqueFactorizationMonoid | |
| open Ideal NumberField RingOfIntegers UniqueFactorizationMonoid | |
| open Filter Asymptotics | |
| open Filter Asymptotics MeasureTheory | |
| open scoped Topology | |
| open Filter Asymptotics Ideal NumberField | |
| open Filter | |
| open Filter Asymptotics MeasureTheory | |
| open scoped Topology | |
| open Filter Asymptotics MeasureTheory | |
| open scoped Topology | |
| open Filter Asymptotics MeasureTheory | |
| open scoped Topology | |
| open MeasureTheory Real | |
| open scoped ContDiff FourierTransform SchwartzMap | |
| open scoped BigOperators Classical | |
| open scoped BigOperators Classical | |
| open scoped BigOperators Classical | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open scoped BigOperators Classical | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open scoped BigOperators Classical | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open scoped BigOperators Classical | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open MeasureTheory Set | |
| open scoped BigOperators | |
| open scoped BigOperators Classical | |
| open scoped BigOperators Classical | |
| open ActualEisensteinCubic UniqueFactorizationMonoid | |
| open scoped BigOperators | |
| open scoped BigOperators | |
| open scoped BigOperators Classical SchwartzMap | |
| open scoped BigOperators Classical | |
| section | |
| open scoped BigOperators Classical | |
| open ActualEisensteinCubic SecondPassArithmetic SecondPassIntegration | |
| open FirstPassCubeLabels (primeProductNorm) | |
| lemma initialLogLabel_ge_one (j : SecondLogIndex) : 1 ≤ initialLogLabel j := | |
| one_le_mul_of_one_le_of_one_le | |
| (one_le_mul_of_one_le_of_one_le (normLogScale_ge_one _) (normLogScale_ge_one _)) | |
| (Real.one_le_exp (by norm_num)) | |
| lemma initialLogColumn_pos (Z B : ℝ) (j : SecondLogIndex) (hZ : 0 < Z) (hB : 0 < B) : | |
| 0 < initialLogColumn Z B j := | |
| div_pos hZ (mul_pos (mul_pos (normLogScale_pos _) (normLogScale_pos _)) hB) | |
| lemma initialLogColumn_le (Z B : ℝ) (j : SecondLogIndex) (hZ : 0 ≤ Z) (hB : 1 ≤ B) : | |
| initialLogColumn Z B j ≤ Z := div_le_self hZ | |
| (one_le_mul_of_one_le_of_one_le | |
| (one_le_mul_of_one_le_of_one_le (normLogScale_ge_one _) (normLogScale_ge_one _)) hB) | |
| lemma initialLogLabel_cap (U Kmax : ℝ) (hU : 1 ≤ U) (j : SecondLogIndex) | |
| (hj : j ∈ secondLogBinBox U Kmax) : initialLogLabel j ≤ U^2*Real.exp 2 := by | |
| have hj' : j.1 < normLogBin U+1 ∧ j.2.1 < normLogBin U+1 ∧ j.2.2 < normLogBin Kmax+1 := by | |
| simpa only [secondLogBinBox,Finset.mem_product,Finset.mem_range] using hj | |
| have he : secondLogE j ≤ U := by | |
| apply le_trans _ (normLogBin_scale_bounds U hU).1 | |
| unfold secondLogE normLogScale | |
| apply Real.exp_le_exp.mpr | |
| exact_mod_cast Nat.le_of_lt_succ hj'.1 | |
| have hv : secondLogV j ≤ U := by | |
| apply le_trans _ (normLogBin_scale_bounds U hU).1 | |
| unfold secondLogV normLogScale | |
| apply Real.exp_le_exp.mpr | |
| exact_mod_cast Nat.le_of_lt_succ hj'.2.1 | |
| unfold initialLogLabel | |
| simpa only [pow_two] using mul_le_mul_of_nonneg_right | |
| (mul_le_mul he hv (normLogScale_pos _).le (zero_le_one.trans hU)) (Real.exp_pos 2).le | |
| theorem initial_radial_invariant (Z B c σ θ deltaLoss κ : ℝ) (j : SecondLogIndex) | |
| (hZ : 1 ≤ Z) (hB : 0 < B) (hc : 0 ≤ c) (hcZ : c ≤ Z^deltaLoss) | |
| (hmargin : deltaLoss+θ ≤ σ-κ) | |
| (hrad : initialRadial Z (Z^(1+σ)) B j ≤ Z^θ) : | |
| (secondLogK j*Real.exp 2)*(c*B) ≤ | |
| initialLogColumn Z B j*initialLogLabel j*Z^(-κ) := by | |
| have hZ0 := zero_lt_one.trans_le hZ | |
| have hH : 0 < Z^(1+σ) := Real.rpow_pos_of_pos hZ0 _ | |
| have hm : 0 < initialLogColumn Z B j*initialLogLabel j := by | |
| rw [initial_log_mass Z B hB.ne' j] | |
| positivity | |
| have he : Z/Z^(1+σ)=Z^(-σ) := by | |
| rw [show -σ=(1 : ℝ)-(1+σ) by ring,Real.rpow_sub hZ0,Real.rpow_one] | |
| have hid : (secondLogK j*Real.exp 2)*(c*B)/(initialLogColumn Z B j*initialLogLabel j)= | |
| c*(Z/(Z^(1+σ)))*(Z^(1+σ)*secondLogK j*B^2/Z^2) := by | |
| rw [initial_log_mass Z B hB.ne' j] | |
| have hE := (Real.exp_pos (2 : ℝ)).ne' | |
| have hz := hZ0.ne' | |
| have hh := hH.ne' | |
| field_simp | |
| rw [mul_comm (initialLogColumn Z B j*initialLogLabel j)] | |
| apply (div_le_iff₀ hm).mp | |
| rw [hid,he] | |
| calc | |
| c*Z^(-σ)*(Z^(1+σ)*secondLogK j*B^2/Z^2) ≤ c*Z^(-σ)*Z^θ := | |
| mul_le_mul_of_nonneg_left hrad (mul_nonneg hc (Real.rpow_nonneg hZ0.le _)) | |
| _ ≤ Z^deltaLoss*Z^(-σ)*Z^θ := mul_le_mul_of_nonneg_right | |
| (mul_le_mul_of_nonneg_right hcZ (Real.rpow_nonneg hZ0.le _)) (Real.rpow_nonneg hZ0.le _) | |
| _ = Z^(deltaLoss-σ+θ) := by rw [←Real.rpow_add hZ0,←Real.rpow_add hZ0]; congr 1 | |
| _ ≤ Z^(-κ) := Real.rpow_le_rpow_of_exponent_le hZ (by linarith) | |
| theorem initial_large_threshold (a b c deltaLoss : ℝ) (hc : 1 ≤ c) (hδ : 0 < deltaLoss) : | |
| ∃ Z0 : ℝ,1 ≤ Z0 ∧ ∀ Z : ℝ,Z0 ≤ Z → | |
| Real.exp 2 ≤ Z ∧ c*Real.exp (initialErrorWindow a b) ≤ Z ∧ | |
| initialPolynomialCap a b*Real.exp 2 ≤ Z ∧ | |
| (Real.exp (initialErrorWindow a b))^2*Real.exp 2 ≤ Z ∧ c ≤ Z^deltaLoss := by | |
| let M := initialErrorWindow a b | |
| let Q := initialPolynomialCap a b | |
| let Z0 := 1+Real.exp 2+c*Real.exp M+Q*Real.exp 2+(Real.exp M)^2*Real.exp 2+c^(1/deltaLoss) | |
| have hc0 := (zero_lt_one.trans_le hc).le | |
| have hQ := initialPolynomialCap_ge_one a b | |
| have hQ0 : 0 ≤ Q := zero_le_one.trans hQ | |
| have he2 := Real.exp_pos (2 : ℝ) | |
| have heM := Real.exp_pos M | |
| have hr : 0 ≤ c^(1/deltaLoss) := Real.rpow_nonneg hc0 _ | |
| have hp : 0 ≤ (Real.exp M)^2*Real.exp 2 := by positivity | |
| have hcp : 0 ≤ c*Real.exp M := by positivity | |
| have hqp : 0 ≤ Q*Real.exp 2 := by positivity | |
| have hZ0 : 1 ≤ Z0 := by dsimp [Z0]; linarith | |
| refine ⟨Z0,hZ0,?_⟩ | |
| intro Z hZ | |
| have hzroot : c^(1/deltaLoss) ≤ Z := by dsimp [Z0] at hZ; linarith | |
| have hroot : (c^(1/deltaLoss))^deltaLoss=c := by | |
| rw [←Real.rpow_mul hc0] | |
| have hd : (1/deltaLoss)*deltaLoss=1 := by field_simp | |
| rw [hd,Real.rpow_one] | |
| refine ⟨?_,?_,?_,?_,?_⟩ | |
| · dsimp [Z0] at hZ; linarith | |
| · change c*Real.exp M ≤ Z; dsimp [Z0] at hZ; linarith | |
| · change Q*Real.exp 2 ≤ Z; dsimp [Z0] at hZ; linarith | |
| · change (Real.exp M)^2*Real.exp 2 ≤ Z; dsimp [Z0] at hZ; linarith | |
| · rw [←hroot] | |
| exact Real.rpow_le_rpow hr hzroot hδ.le | |
| theorem initial_large_bin_geometry {ι : Type*} [DecidableEq ι] | |
| (p : ι → ActualEisensteinCubic.O) (hp : ∀ i,p i ≠ 0) [∀ i,(Ideal.span {p i}).IsMaximal] | |
| (F R : Finset ι) (a b Z σ θ deltaLoss c : ℝ) (j : SecondLogIndex) | |
| (hZ : 1 ≤ Z) (hc : 1 ≤ c) | |
| (hR : R ∈ boundedPrimeSupports p F (Z*Real.exp (initialErrorWindow a b))) | |
| (hj : j ∈ secondLogBinBox (Z*Real.exp (initialErrorWindow a b)) | |
| (initialErrorRowBound a b Z (Z^(1+σ)))) | |
| (hσ : 0 ≤ σ) (hmargin : deltaLoss+θ ≤ σ-(1 : ℝ)/20) | |
| (hlarge : Real.exp 2 ≤ Z ∧ c*Real.exp (initialErrorWindow a b) ≤ Z ∧ | |
| initialPolynomialCap a b*Real.exp 2 ≤ Z ∧ | |
| (Real.exp (initialErrorWindow a b))^2*Real.exp 2 ≤ Z ∧ c ≤ Z^deltaLoss) | |
| (hrad : initialRadial Z (Z^(1+σ)) (primeProductNorm p R) j ≤ Z^θ) : | |
| let X := initialLogColumn Z (primeProductNorm p R) j | |
| let lengthScale := initialLogLabel j | |
| let K := secondLogK j*Real.exp 2 | |
| X ≤ Z^20 ∧ lengthScale ≤ Z^20 ∧ K ≤ Z^20 ∧ c*primeProductNorm p R ≤ Z^20 ∧ | |
| X*lengthScale ≤ Z^2 ∧ K*(c*primeProductNorm p R) ≤ X*lengthScale*Z^(-(1 : ℝ)/20) := by | |
| dsimp only | |
| have hZ0 := zero_lt_one.trans_le hZ | |
| have hB := primeProductNorm_ge_one p hp R | |
| have hBp := zero_lt_one.trans_le hB | |
| have hU : 1 ≤ Z*Real.exp (initialErrorWindow a b) := one_le_mul_of_one_le_of_one_le hZ | |
| (Real.one_le_exp (by unfold initialErrorWindow; positivity)) | |
| have hH : 1 ≤ Z^(1+σ) := Real.one_le_rpow hZ (by linarith) | |
| have hKmax := initialErrorRowBound_ge_one a b Z (Z^(1+σ)) hZ hH | |
| have hBcap := (Finset.mem_filter.mp hR).2 | |
| have hKcap := (initial_actual_bin_polynomial_caps a b Z (Z^(1+σ)) hZ hH).2 | |
| have hKbin := initial_bin_row_scale_le (Z*Real.exp (initialErrorWindow a b)) | |
| (initialErrorRowBound a b Z (Z^(1+σ))) hKmax j hj | |
| have hL := initialLogLabel_cap _ _ hU j hj | |
| have hp20 (n : ℕ) (hn : n ≤ 20) : Z^n ≤ Z^20 := pow_le_pow_right₀ hZ hn | |
| have hinv := initial_radial_invariant Z (primeProductNorm p R) c σ θ deltaLoss | |
| ((1 : ℝ)/20) j hZ hBp (zero_le_one.trans hc) hlarge.2.2.2.2 hmargin hrad | |
| rw [show -((1 : ℝ)/20)=(-1 : ℝ)/20 by ring] at hinv | |
| refine ⟨?_,?_,?_,?_,?_,hinv⟩ | |
| · exact (initialLogColumn_le Z _ j hZ0.le hB).trans (by simpa using hp20 1 (by decide)) | |
| · apply hL.trans | |
| calc | |
| _ = ((Real.exp (initialErrorWindow a b))^2*Real.exp 2)*Z^2 := by ring | |
| _ ≤ Z*Z^2 := mul_le_mul_of_nonneg_right hlarge.2.2.2.1 (sq_nonneg Z) | |
| _ ≤ Z^20 := by simpa [pow_succ,mul_comm] using hp20 3 (by decide) | |
| · calc | |
| _ ≤ (initialPolynomialCap a b*Z^17)*Real.exp 2 := | |
| mul_le_mul_of_nonneg_right (hKbin.trans hKcap) (Real.exp_pos _).le | |
| _ = (initialPolynomialCap a b*Real.exp 2)*Z^17 := by ring | |
| _ ≤ Z*Z^17 := mul_le_mul_of_nonneg_right hlarge.2.2.1 (pow_nonneg hZ0.le _) | |
| _ ≤ Z^20 := by simpa [pow_succ,mul_comm] using hp20 18 (by decide) | |
| · calc | |
| _ ≤ c*(Z*Real.exp (initialErrorWindow a b)) := mul_le_mul_of_nonneg_left hBcap (zero_le_one.trans hc) | |
| _ = (c*Real.exp (initialErrorWindow a b))*Z := by ring | |
| _ ≤ Z*Z := mul_le_mul_of_nonneg_right hlarge.2.1 hZ0.le | |
| _ ≤ Z^20 := by simpa [pow_two] using hp20 2 (by decide) | |
| · rw [initial_log_mass Z (primeProductNorm p R) hBp.ne' j] | |
| calc | |
| _ ≤ Z*Real.exp 2 := mul_le_mul_of_nonneg_right (div_le_self hZ0.le hB) (Real.exp_pos _).le | |
| _ ≤ Z^2 := by simpa [pow_two] using mul_le_mul_of_nonneg_left hlarge.1 hZ0.le | |
| end | |
| section | |
| open MeasureTheory | |
| open scoped BigOperators Classical | |
| open ActualEisensteinCubic SecondPassArithmetic SecondPassIntegration JointLogSeparation | |
| open FirstPassCubeLabels (firstLogDensity) | |
| theorem initial_density_elementary_squared_mass {ι : Type*} [DecidableEq ι] | |
| (p : ι → ActualEisensteinCubic.O) (hp : ∀ i,p i ≠ 0) [∀ i,(Ideal.span {p i}).IsMaximal] | |
| (hcop : Pairwise (Function.onFun IsCoprime (fun i => Ideal.span {p i}))) | |
| (hg : ∀ i,lambda ∉ Ideal.span {p i}) | |
| (hc : ∀ i,ringChar (ActualEisensteinCubic.O ⧸ Ideal.span {p i}) ≠ 2) | |
| (hinj : Function.Injective (fun i => Ideal.span {p i})) | |
| (pool : Finset ι) (Ψ₁ Ψ₂ : ActualEisensteinCubic.O →* ℂ) (hΨ₁ : ∀ a,‖Ψ₁ a‖ ≤ 1) (hΨ₂ : ∀ a,‖Ψ₂ a‖ ≤ 1) | |
| (m : ActualEisensteinCubic.O) (T : Finset (Ideal ActualEisensteinCubic.O × ActualEisensteinCubic.O)) (V₁ V₂ : ℝ → ℂ) | |
| (X lengthScale K A Vmax : ℝ) (J : ℕ) (hX : 0 < X) (hL : 1 ≤ lengthScale) (hK : 1 ≤ K) | |
| (hA : 0 ≤ A) (hVmax : 0 ≤ Vmax) | |
| (hV₁ : ∀ t,‖V₁ t‖ ≤ Vmax) (hV₂ : ∀ t,‖V₂ t‖ ≤ Vmax) | |
| (hs₁ : ∀ t,V₁ t ≠ 0 → |t| ≤ A) (hs₂ : ∀ t,V₂ t ≠ 0 → |t| ≤ A) | |
| (hT : ∀ z ∈ T,z.1 ≠ ⊥ ∧ (Ideal.absNorm z.1 : ℝ) ≤ lengthScale ∧ | |
| ‖ConcreteTraceCRT.eisEmbedding z.2‖^2 ≤ K) : | |
| densityChildEnergy p hp hcop hg pool Ψ₁ Ψ₂ m T V₁ V₂ X X (2*J) ≤ | |
| (initialElementaryConstant A Vmax*(∫ t : ℝ,firstLogDensity 0 t)^3)*K*(X*lengthScale)^2 := by | |
| let C := initialElementaryConstant A Vmax*(∫ t : ℝ,firstLogDensity 0 t)^3 | |
| have hI : 0 ≤ ∫ t : ℝ,firstLogDensity 0 t := | |
| integral_nonneg (fun t => FirstPassCubeLabels.firstLogDensity_nonneg 0 t) | |
| have hC : 0 ≤ C := mul_nonneg (initialElementaryConstant_nonneg A Vmax) (pow_nonneg hI _) | |
| have hd := childDensity_elementary_all_scales p hp hcop hg hc hinj pool Ψ₁ Ψ₂ hΨ₁ hΨ₂ | |
| m T V₁ V₂ X lengthScale K A Vmax J hX hL hK hA hVmax hV₁ hV₂ hs₁ hs₂ hT | |
| change _/(X*lengthScale) ≤ C*K*X at hd | |
| have hraw := (div_le_iff₀ (mul_pos hX (zero_lt_one.trans_le hL))).mp hd | |
| have hbase : 0 ≤ (C*K*X)*(X*lengthScale) := by positivity | |
| calc | |
| _ ≤ (C*K*X)*(X*lengthScale) := hraw | |
| _ ≤ ((C*K*X)*(X*lengthScale))*lengthScale := le_mul_of_one_le_right hbase hL | |
| _ = _ := by dsimp only [C]; ring | |
| end | |
| section | |
| open MeasureTheory | |
| open scoped BigOperators Classical ContDiff | |
| open ActualEisensteinCubic ConcretePrimeRowBridge CanonicalQuadraticSieve | |
| open SecondPassArithmetic SecondPassIntegration JointLogSeparation | |
| open FirstPassCubeLabels (primeProductNorm firstLogDensity) | |
| theorem HasInitialCanonicalDensity.retained_density {q : ℕ} (χ : DirichletCharacter ℂ q) | |
| (S : Finset (Ideal ActualEisensteinCubic.O)) (hbad : fixedBadPrimes ⊆ S) | |
| (hcan : HasInitialCanonicalDensity χ S hbad) | |
| (a b σ θ ν η : ℝ) (hσ : 0 ≤ σ) (hν : 0 < ν) (hη : 0 < η) | |
| (hmargin : ν+θ ≤ σ-(1 : ℝ)/20) : | |
| ∃ J : ℕ,∀ V₁ V₂ : ℝ → ℂ,HasCompactSupport V₁ → HasCompactSupport V₂ → | |
| ContDiff ℝ ∞ V₁ → ContDiff ℝ ∞ V₂ → | |
| ∃ (C Cpool : ℝ) (E : ℕ),0 < C ∧ 1 ≤ Cpool ∧ 20 ≤ E ∧ ∀ (D : ℕ) (Z : ℝ) | |
| (R : Finset (OutsidePrimeIndex S D)) (ray : SecondRayIndex) (j : SecondLogIndex) | |
| (T : Finset (Ideal ActualEisensteinCubic.O × ActualEisensteinCubic.O)), | |
| 1 ≤ Z → Cpool*Z^E ≤ D → | |
| R ∈ boundedPrimeSupports (outsidePrime S D) Finset.univ (Z*Real.exp (initialErrorWindow a b)) → | |
| j ∈ secondLogBinBox (Z*Real.exp (initialErrorWindow a b)) (initialErrorRowBound a b Z (Z^(1+σ))) → | |
| initialRadial Z (Z^(1+σ)) (primeProductNorm (outsidePrime S D) R) j ≤ Z^θ → | |
| (∀ z ∈ T,Admissible z.1 ∧ (Ideal.absNorm z.1 : ℝ) ≤ initialLogLabel j ∧ | |
| z.2 ≠ 0 ∧ ‖ConcreteTraceCRT.eisEmbedding z.2‖^2 ≤ secondLogK j*Real.exp 2) → | |
| outsideCanonicalDensity χ S hbad D ray R T V₁ V₂ | |
| (initialLogColumn Z (primeProductNorm (outsidePrime S D) R) j) J ≤ | |
| C*Z^η*(initialLogColumn Z (primeProductNorm (outsidePrime S D) R) j*initialLogLabel j)^2 := by | |
| obtain ⟨J,hJ⟩ := hcan η hη 20 | |
| refine ⟨J,?_⟩ | |
| intro V₁ V₂ hVc₁ hVc₂ hVs₁ hVs₂ | |
| obtain ⟨Cc,Cpool,E,hCc,hCpool,hPE,hcanonical⟩ := hJ V₁ V₂ hVc₁ hVc₂ hVs₁ hVs₂ | |
| obtain ⟨A,Vmax,hA,hVmax,hV₁,hV₂,hs₁,hs₂⟩ := | |
| initial_two_windows_bounded V₁ V₂ hVc₁ hVc₂ hVs₁.continuous hVs₂.continuous | |
| obtain ⟨Z0,hZ0,hthreshold⟩ := initial_large_threshold a b (initialExcludedNorm S) ν | |
| (initialExcludedNorm_ge_one S) hν | |
| let Ce := initialElementaryConstant A Vmax*(∫ t : ℝ,firstLogDensity 0 t)^3 | |
| let K0 := initialPolynomialCap a b*Z0^17*Real.exp 2 | |
| let C := Cc+Ce*(K0+1)+1 | |
| have hI : 0 ≤ ∫ t : ℝ,firstLogDensity 0 t := | |
| integral_nonneg (fun t => FirstPassCubeLabels.firstLogDensity_nonneg 0 t) | |
| have hCe : 0 ≤ Ce := mul_nonneg (initialElementaryConstant_nonneg A Vmax) (pow_nonneg hI _) | |
| have hcap := initialPolynomialCap_ge_one a b | |
| have hK0 : 0 ≤ K0 := by dsimp [K0]; positivity | |
| have hC : 0 < C := by dsimp [C]; positivity | |
| have hCcC : Cc ≤ C := by dsimp [C]; nlinarith | |
| have hCeC : Ce ≤ C := by dsimp [C]; nlinarith | |
| have hCeKC : Ce*K0 ≤ C := by dsimp [C]; nlinarith | |
| refine ⟨C,Cpool,E,hC,hCpool,hPE,?_⟩ | |
| intro D Z R ray j T hZ hpool hR hj hrad hT | |
| let p := outsidePrime S D | |
| let hp := outsidePrime_ne_zero S hbad D | |
| let hcop := outsidePrime_coprime S hbad D | |
| let hg := outsidePrime_good S hbad D | |
| let := outsidePrime_maximal S hbad D | |
| let Ψ := conjugateMonoid (normCharacter χ) | |
| let X := initialLogColumn Z (primeProductNorm p R) j | |
| let lengthScale := initialLogLabel j | |
| let Kr := secondLogK j*Real.exp 2 | |
| have hZp := zero_lt_one.trans_le hZ | |
| have hH : 1 ≤ Z^(1+σ) := Real.one_le_rpow hZ (by linarith) | |
| have hB := primeProductNorm_ge_one p hp R | |
| have hBpos := zero_lt_one.trans_le hB | |
| have hX : 0 < X := initialLogColumn_pos Z _ j hZp hBpos | |
| have hL : 1 ≤ lengthScale := initialLogLabel_ge_one j | |
| have hKr : 1 ≤ Kr := one_le_mul_of_one_le_of_one_le | |
| (normLogScale_ge_one _) (Real.one_le_exp (by norm_num)) | |
| have hZη : 1 ≤ Z^η := Real.one_le_rpow hZ hη.le | |
| have hΨ : ∀ z,‖Ψ z‖ ≤ 1 := conjugateMonoid_norm_le_one (normCharacter χ) (normCharacter_norm_le_one χ) | |
| have hΨ₁ : ∀ z,‖secondRayMinus Ψ ray z‖ ≤ 1 := | |
| fun z => (secondRayMinus_norm_le Ψ ray z).trans (hΨ z) | |
| have hΨ₂ : ∀ z,‖secondRayPlus Ψ ray z‖ ≤ 1 := | |
| fun z => (secondRayPlus_norm_le Ψ ray z).trans (hΨ z) | |
| have hTb : ∀ z ∈ T,z.1 ≠ ⊥ ∧ (Ideal.absNorm z.1 : ℝ) ≤ lengthScale ∧ | |
| ‖ConcreteTraceCRT.eisEmbedding z.2‖^2 ≤ Kr := by | |
| intro z hz | |
| exact ⟨(hT z hz).1.1,(hT z hz).2.1,(hT z hz).2.2.2⟩ | |
| have promote (d : ℝ) (hd : d ≤ C) | |
| (he : outsideCanonicalDensity χ S hbad D ray R T V₁ V₂ X J ≤ d*(X*lengthScale)^2) : | |
| outsideCanonicalDensity χ S hbad D ray R T V₁ V₂ X J ≤ C*Z^η*(X*lengthScale)^2 := | |
| he.trans (mul_le_mul_of_nonneg_right (hd.trans (le_mul_of_one_le_right hC.le hZη)) (sq_nonneg _)) | |
| by_cases hzlarge : Z0 ≤ Z | |
| · have hgeom := initial_large_bin_geometry p hp Finset.univ R a b Z σ θ ν (initialExcludedNorm S) | |
| j hZ (initialExcludedNorm_ge_one S) hR hj hσ hmargin (hthreshold Z hzlarge) hrad | |
| dsimp only at hgeom | |
| by_cases hxlarge : 1 ≤ X | |
| · exact (hcanonical D Z X lengthScale Kr R ray T hZ hpool hxlarge hL hKr | |
| hgeom.1 hgeom.2.1 hgeom.2.2.1 hgeom.2.2.2.1 hgeom.2.2.2.2.1 hgeom.2.2.2.2.2 hT).trans | |
| (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hCcC (Real.rpow_nonneg hZp.le _)) (sq_nonneg _)) | |
| · have hKL : Kr ≤ lengthScale := initial_subunit_row_le_label Z X lengthScale Kr | |
| (initialExcludedNorm S*primeProductNorm p R) ((1 : ℝ)/20) hZ (le_of_not_ge hxlarge) | |
| (zero_le_one.trans hL) (zero_le_one.trans hKr) | |
| (one_le_mul_of_one_le_of_one_le (initialExcludedNorm_ge_one S) hB) | |
| (by norm_num) (by simpa only [Kr,X,lengthScale,neg_div] using hgeom.2.2.2.2.2) | |
| apply promote Ce hCeC | |
| exact initial_subunit_density_bound p hp hcop hg (outsidePrime_odd S hbad D) | |
| (outsidePrime_injective S hbad D) Finset.univ (secondRayMinus Ψ ray) (secondRayPlus Ψ ray) | |
| hΨ₁ hΨ₂ _ T V₁ V₂ X lengthScale Kr A Vmax J hX hL hKr hKL hA hVmax hV₁ hV₂ hs₁ hs₂ hTb | |
| · have hKmax := initialErrorRowBound_ge_one a b Z (Z^(1+σ)) hZ hH | |
| have hkr : Kr ≤ K0 := by | |
| have hbin := initial_bin_row_scale_le (Z*Real.exp (initialErrorWindow a b)) | |
| (initialErrorRowBound a b Z (Z^(1+σ))) hKmax j hj | |
| have hcapZ := (initial_actual_bin_polynomial_caps a b Z (Z^(1+σ)) hZ hH).2 | |
| have hpow : Z^17 ≤ Z0^17 := pow_le_pow_left₀ hZp.le (le_of_not_ge hzlarge) 17 | |
| calc | |
| Kr ≤ (initialPolynomialCap a b*Z^17)*Real.exp 2 := | |
| mul_le_mul_of_nonneg_right (hbin.trans hcapZ) (Real.exp_pos _).le | |
| _ ≤ K0 := mul_le_mul_of_nonneg_right | |
| (mul_le_mul_of_nonneg_left hpow (zero_le_one.trans hcap)) (Real.exp_pos _).le | |
| apply promote (Ce*Kr) ((mul_le_mul_of_nonneg_left hkr hCe).trans hCeKC) | |
| exact initial_density_elementary_squared_mass p hp hcop hg (outsidePrime_odd S hbad D) | |
| (outsidePrime_injective S hbad D) Finset.univ (secondRayMinus Ψ ray) (secondRayPlus Ψ ray) | |
| hΨ₁ hΨ₂ _ T V₁ V₂ X lengthScale Kr A Vmax J hX hL hKr hA hVmax hV₁ hV₂ hs₁ hs₂ hTb | |
| end | |
| section | |
| open scoped BigOperators Classical | |
| open SecondPassArithmetic | |
| theorem initial_log_harmonic_small_power (η : ℝ) (hη : 0 < η) : | |
| ∃ C : ℝ,0 < C ∧ ∀ (Y U Kmax : ℝ),1 ≤ Y → 0 < U → 0 < Kmax → U ≤ Y → Kmax ≤ Y → | |
| ((secondLogBinBox U Kmax).card : ℝ)*(128*Real.exp 1*(normLogBin U+1 : ℝ)) ≤ C*Y^η := by | |
| obtain ⟨C,hC,hbound⟩ := globalLogFactor_small_power η hη | |
| refine ⟨128*Real.exp 1*C,by positivity,?_⟩ | |
| intro Y U Kmax hY hU hK hUY hKY | |
| let B := 1+Real.log 27+22*Real.log Y | |
| have hlog := Real.log_nonneg hY | |
| have h27 : 0 ≤ Real.log 27 := Real.log_nonneg (by norm_num) | |
| have hB : 1 ≤ B := by dsimp [B]; linarith | |
| have hu := normLogBin_le_log_upper U Y hU hUY hY | |
| have hk := normLogBin_le_log_upper Kmax Y hK hKY hY | |
| have huB : (normLogBin U : ℝ)+1 ≤ B := by dsimp [B]; linarith | |
| have hkB : (normLogBin Kmax : ℝ)+1 ≤ B := by dsimp [B]; linarith | |
| have hcard : ((secondLogBinBox U Kmax).card : ℝ) ≤ B^3 := by | |
| rw [secondLogBinBox_card,Nat.cast_mul,Nat.cast_pow,Nat.cast_add,Nat.cast_add,Nat.cast_one] | |
| calc | |
| _ ≤ B^2*B := mul_le_mul (pow_le_pow_left₀ (by positivity) huB 2) hkB (by positivity) (sq_nonneg B) | |
| _ = _ := by ring | |
| have hh : 128*Real.exp 1*(normLogBin U+1 : ℝ) ≤ 128*Real.exp 1*B := | |
| mul_le_mul_of_nonneg_left huB (by positivity) | |
| calc | |
| _ ≤ B^3*(128*Real.exp 1*B) := mul_le_mul hcard hh (by positivity) (pow_nonneg (zero_le_one.trans hB) _) | |
| _ = 128*Real.exp 1*B^4 := by ring | |
| _ ≤ 128*Real.exp 1*B^10 := mul_le_mul_of_nonneg_left | |
| (pow_le_pow_right₀ hB (by decide)) (by positivity) | |
| _ ≤ 128*Real.exp 1*(C*Y^η) := mul_le_mul_of_nonneg_left (hbound Y hY) (by positivity) | |
| _ = _ := by ring | |
| theorem initial_row_log_budget (η Ccap : ℝ) (hη : 0 < η) (hcap : 1 ≤ Ccap) : | |
| ∃ C : ℝ,0 < C ∧ ∀ (Z U Kmax : ℝ),1 ≤ Z → 0 < U → 0 < Kmax → | |
| U ≤ Ccap*Z^17 → Kmax ≤ Ccap*Z^17 → | |
| (Kmax*Real.exp 2)^η*((secondLogBinBox U Kmax).card : ℝ)* | |
| (128*Real.exp 1*(normLogBin U+1 : ℝ)) ≤ C*Z^(34*η) := by | |
| obtain ⟨C,hC,hlog⟩ := initial_log_harmonic_small_power η hη | |
| refine ⟨C*(Real.exp 2)^η*Ccap^(2*η),by positivity,?_⟩ | |
| intro Z U Kmax hZ hU hK hUY hKY | |
| have hZ0 := zero_lt_one.trans_le hZ | |
| have hcap0 := zero_lt_one.trans_le hcap | |
| let Y := Ccap*Z^17 | |
| have hY : 1 ≤ Y := one_le_mul_of_one_le_of_one_le hcap (one_le_pow₀ hZ) | |
| have hlogs := hlog Y U Kmax hY hU hK hUY hKY | |
| have hrow : (Kmax*Real.exp 2)^η ≤ (Y*Real.exp 2)^η := Real.rpow_le_rpow | |
| (mul_pos hK (Real.exp_pos _)).le (mul_le_mul_of_nonneg_right hKY (Real.exp_pos _).le) hη.le | |
| calc | |
| _ = (Kmax*Real.exp 2)^η*(((secondLogBinBox U Kmax).card : ℝ)* | |
| (128*Real.exp 1*(normLogBin U+1 : ℝ))) := by ring | |
| _ ≤ (Y*Real.exp 2)^η*(C*Y^η) := mul_le_mul hrow hlogs (by positivity) (by positivity) | |
| _ = C*(Real.exp 2)^η*Y^(2*η) := by | |
| rw [Real.mul_rpow (zero_le_one.trans hY) (Real.exp_pos _).le] | |
| rw [show 2*η=η+η by ring,Real.rpow_add (zero_lt_one.trans_le hY)] | |
| ring | |
| _ = (C*(Real.exp 2)^η*Ccap^(2*η))*Z^(34*η) := by | |
| dsimp [Y] | |
| rw [Real.mul_rpow hcap0.le (pow_nonneg hZ0.le _),←Real.rpow_natCast_mul hZ0.le] | |
| norm_num | |
| ring_nf | |
| end | |
| section | |
| open MeasureTheory | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open ActualEisensteinCubic ConcretePrimeRowBridge CanonicalQuadraticSieve | |
| open SecondPassArithmetic SecondPassIntegration JointLogSeparation | |
| open FirstPassCubeLabels (primeProductNorm firstLogDensity normalizedColumn columnLog) | |
| theorem HasInitialCanonicalDensity.retained_source {q : ℕ} (χ : DirichletCharacter ℂ q) | |
| (S : Finset (Ideal ActualEisensteinCubic.O)) (hbad : fixedBadPrimes ⊆ S) | |
| (hcan : HasInitialCanonicalDensity χ S hbad) | |
| (U : ℝ → ℂ) (hUc : HasCompactSupport U) (hUs : ContDiff ℝ ∞ U) | |
| (g W : 𝓢(ℝ,ℂ)) (a b σ θ ν η : ℝ) | |
| (hU : ∀ t,g t ≠ 0 → U t=1) | |
| (hgs : ∀ t,g t ≠ 0 → |t| ≤ initialErrorWindow a b) | |
| (hσ : 0 ≤ σ) (hν : 0 < ν) (hη : 0 < η) | |
| (hmargin : ν+θ ≤ σ-(1 : ℝ)/20) : | |
| ∃ (C Cpool : ℝ) (E : ℕ),0 < C ∧ 1 ≤ Cpool ∧ 20 ≤ E ∧ | |
| ∀ (D : ℕ) (Z : ℝ),1 ≤ Z → Cpool*Z^E ≤ D → | |
| let p := outsidePrime S D | |
| let hp := outsidePrime_ne_zero S hbad D | |
| let hcop := outsidePrime_coprime S hbad D | |
| let hg := outsidePrime_good S hbad D | |
| letI := outsidePrime_maximal S hbad D | |
| let Ψ := conjugateMonoid (normCharacter χ) | |
| let H := Z^(1+σ) | |
| let G := fun V => normalizedColumn p (fun T => g (columnLog p Z T)) V | |
| let K := fun (_ _ : Finset (OutsidePrimeIndex S D)) => initialErrorCutoff a b Z H | |
| (∑ ray : SecondRayIndex,∑ R ∈ boundedPrimeSupports p Finset.univ (Z*Real.exp (initialErrorWindow a b)), | |
| ∑ j ∈ secondLogBinBox (Z*Real.exp (initialErrorWindow a b)) (initialErrorRowBound a b Z H), | |
| if initialRadial Z H (primeProductNorm p R) j ≤ Z^θ then | |
| ‖secondExpansionSource p hp hcop hg Finset.univ Ψ 1 1 1 ray | |
| (initialSquarefreeSector p (secondLogSector p ∅ Finset.univ K R Z (initialErrorWindow a b) j)) | |
| G G W H‖ else 0) ≤ C*H*Z^(35*η) := by | |
| obtain ⟨J,hJ⟩ := HasInitialCanonicalDensity.retained_density χ S hbad hcan a b σ θ ν η hσ hν hη hmargin | |
| have hM : 0 ≤ initialErrorWindow a b := by unfold initialErrorWindow; positivity | |
| obtain ⟨windows,Ct,Cs,hCt,hCs,hwc,hws,ht⟩ := | |
| initial_subbin_transfer U hUc hUs g W (initialErrorWindow a b) hM hU hgs η hη 0 (2*J) | |
| obtain ⟨Ce,Cpool,E,hCe,hCpool,hPE,henergy⟩ := hJ (windows 5) (windows 6) (hwc 5) (hwc 6) (hws 5) (hws 6) | |
| obtain ⟨Cl,hCl,hlog⟩ := initial_row_log_budget η (initialPolynomialCap a b) hη (initialPolynomialCap_ge_one a b) | |
| let C0 := Ct*Real.exp 4*Ce*Cs*initialRayMass*Cl | |
| have hray := initialRayMass_nonneg | |
| have hC0 : 0 ≤ C0 := by dsimp [C0]; positivity | |
| refine ⟨C0+1,Cpool,E,by linarith,hCpool,hPE,?_⟩ | |
| intro D Z hZ hpool | |
| dsimp only | |
| let p := outsidePrime S D | |
| let hp := outsidePrime_ne_zero S hbad D | |
| let hcop := outsidePrime_coprime S hbad D | |
| let hg := outsidePrime_good S hbad D | |
| let := outsidePrime_maximal S hbad D | |
| let Ψ := conjugateMonoid (normCharacter χ) | |
| let H := Z^(1+σ) | |
| let M := initialErrorWindow a b | |
| let K := fun (_ _ : Finset (OutsidePrimeIndex S D)) => initialErrorCutoff a b Z H | |
| let Kmax := initialErrorRowBound a b Z H | |
| let G := fun V => normalizedColumn p (fun T => g (columnLog p Z T)) V | |
| let s := fun (R : Finset (OutsidePrimeIndex S D)) (j : SecondLogIndex) => | |
| initialSquarefreeSector p (secondLogSector p ∅ Finset.univ K R Z M j) | |
| have hZp := zero_lt_one.trans_le hZ | |
| have hH : 1 ≤ H := Real.one_le_rpow hZ (by linarith) | |
| have hHp := zero_lt_one.trans_le hH | |
| have hΨ : ∀ z,‖Ψ z‖ ≤ 1 := conjugateMonoid_norm_le_one (normCharacter χ) (normCharacter_norm_le_one χ) | |
| have hKmax : 1 ≤ Kmax := initialErrorRowBound_ge_one a b Z H hZ hH | |
| let B : SecondRayIndex → Finset (OutsidePrimeIndex S D) → SecondLogIndex → Frequency → ℝ := | |
| fun ray R j => Classical.choose | |
| (ht p hp hcop hg (outsidePrime_injective S hbad D) (outsidePrime_odd S hbad D) | |
| (outsidePrime_primary S hbad D) Finset.univ R Ψ 1 ray K Z H M j (s R j) | |
| hZp hHp hΨ (Finset.filter_subset _ _)) | |
| have hB (ray : SecondRayIndex) (R : Finset (OutsidePrimeIndex S D)) (j : SecondLogIndex) := | |
| Classical.choose_spec | |
| (ht p hp hcop hg (outsidePrime_injective S hbad D) (outsidePrime_odd S hbad D) | |
| (outsidePrime_primary S hbad D) Finset.univ R Ψ 1 ray K Z H M j (s R j) | |
| hZp hHp hΨ (Finset.filter_subset _ _)) | |
| let d := H*Real.exp 4*(Ce*Z^η)*Cs*(Kmax*Real.exp 2)^η | |
| have hd : 0 ≤ d := by dsimp [d]; positivity | |
| have hterm (ray : SecondRayIndex) (R : Finset (OutsidePrimeIndex S D)) | |
| (hR : R ∈ boundedPrimeSupports p Finset.univ (Z*Real.exp M)) | |
| (j : SecondLogIndex) (hj : j ∈ secondLogBinBox (Z*Real.exp M) Kmax) | |
| (hlow : initialRadial Z H (primeProductNorm p R) j ≤ Z^θ) : | |
| initialSquarefreeBinCost p hp hcop hg Finset.univ R Ψ 1 ray K Z H M η j windows (B ray R j) ≤ | |
| d/primeProductNorm p R*‖secondRayCoefficient ray‖ := by | |
| have hT := initial_squarefree_target_geometry p hp hg (outsidePrime_odd S hbad D) | |
| Finset.univ R K Z M j | |
| have hTe : ∀ z ∈ sourceIdealTarget ((s R j).image (sourceObservation p)), | |
| Admissible z.1 ∧ (Ideal.absNorm z.1 : ℝ) ≤ initialLogLabel j ∧ z.2 ≠ 0 ∧ | |
| ‖ConcreteTraceCRT.eisEmbedding z.2‖^2 ≤ secondLogK j*Real.exp 2 := by | |
| intro z hz | |
| exact ⟨(hT z hz).1,(hT z hz).2.1,(hT z hz).2.2.1,(hT z hz).2.2.2.trans | |
| (mul_le_mul_of_nonneg_left (Real.exp_le_exp.mpr (by norm_num)) (normLogScale_pos _).le)⟩ | |
| have he := henergy D Z R ray j _ hZ hpool hR hj hlow hTe | |
| have he' : | |
| densityChildEnergy p hp hcop hg Finset.univ (secondRayMinus Ψ ray) (secondRayPlus Ψ ray) | |
| (1*primeSubsetGenerator (fun i => Ideal.span {p i}) R) | |
| (sourceIdealTarget ((s R j).image (sourceObservation p))) | |
| (windows 5) (windows 6) (initialLogColumn Z (primeProductNorm p R) j) | |
| (initialLogColumn Z (primeProductNorm p R) j) (2*J) ≤ | |
| (Ce*Z^η)*(initialLogColumn Z (primeProductNorm p R) j*initialLogLabel j)^2 := by | |
| simpa only [outsideCanonicalDensity,one_mul] using he | |
| exact initial_bin_cost_uniform p hp hcop hg Finset.univ R Ψ 1 ray K Z H M Kmax η Cs | |
| (Ce*Z^η) hZp hHp hKmax hη.le hCs (by positivity) j hj windows (B ray R j) (2*J) 0 | |
| (hB ray R j).1 (hB ray R j).2.1 he' | |
| have hsum : | |
| (∑ ray : SecondRayIndex,∑ R ∈ boundedPrimeSupports p Finset.univ (Z*Real.exp M), | |
| ∑ j ∈ secondLogBinBox (Z*Real.exp M) Kmax, | |
| if initialRadial Z H (primeProductNorm p R) j ≤ Z^θ then | |
| ‖secondExpansionSource p hp hcop hg Finset.univ Ψ 1 1 1 ray (s R j) G G W H‖ else 0) ≤ | |
| Ct*(d*initialRayMass*((secondLogBinBox (Z*Real.exp M) Kmax).card : ℝ)* | |
| (128*Real.exp 1*(normLogBin (Z*Real.exp M)+1 : ℝ))) := by | |
| apply le_trans _ (mul_le_mul_of_nonneg_left | |
| (initial_harmonic_aggregation p (outsidePrime_injective S hbad D) Finset.univ | |
| (Z*Real.exp M) Kmax d hd | |
| (fun ray R j => if initialRadial Z H (primeProductNorm p R) j ≤ Z^θ then | |
| initialSquarefreeBinCost p hp hcop hg Finset.univ R Ψ 1 ray K Z H M η j windows (B ray R j) | |
| else 0) (by | |
| intro ray R hR j hj | |
| split_ifs with hlow | |
| · exact hterm ray R hR j hj hlow | |
| · have hRp := FirstPassCubeLabels.primeProductNorm_pos p hp R | |
| positivity)) hCt) | |
| simp only [Finset.mul_sum] | |
| apply Finset.sum_le_sum | |
| intro ray hray | |
| apply Finset.sum_le_sum | |
| intro R hR | |
| apply Finset.sum_le_sum | |
| intro j hj | |
| split_ifs with hlow | |
| · convert (hB ray R j).2.2 using 1 ; | |
| dsimp only [initialSquarefreeBinCost,s,G,B] ; ring | |
| · simp | |
| have hlogBound := hlog Z (Z*Real.exp M) Kmax hZ (by positivity) (zero_lt_one.trans_le hKmax) | |
| (initial_actual_bin_polynomial_caps a b Z H hZ hH).1 | |
| (initial_actual_bin_polynomial_caps a b Z H hZ hH).2 | |
| calc | |
| _ ≤ Ct*(d*initialRayMass*((secondLogBinBox (Z*Real.exp M) Kmax).card : ℝ)* | |
| (128*Real.exp 1*(normLogBin (Z*Real.exp M)+1 : ℝ))) := hsum | |
| _ = (Ct*Real.exp 4*Ce*Cs*initialRayMass)*H*Z^η* | |
| ((Kmax*Real.exp 2)^η*((secondLogBinBox (Z*Real.exp M) Kmax).card : ℝ)* | |
| (128*Real.exp 1*(normLogBin (Z*Real.exp M)+1 : ℝ))) := by dsimp [d]; ring | |
| _ ≤ (Ct*Real.exp 4*Ce*Cs*initialRayMass)*H*Z^η*(Cl*Z^(34*η)) := | |
| mul_le_mul_of_nonneg_left hlogBound (by positivity) | |
| _ = C0*H*Z^(35*η) := by | |
| rw [show 35*η=η+34*η by ring,Real.rpow_add hZp] | |
| dsimp [C0] | |
| ring | |
| _ ≤ (C0+1)*H*Z^(35*η) := by | |
| gcongr | |
| linarith | |
| end | |
| open MeasureTheory | |
| open scoped BigOperators Classical SchwartzMap ContDiff | |
| open ActualEisensteinCubic ConcretePrimeRowBridge CanonicalQuadraticSieve | |
| open SecondPassArithmetic SecondPassIntegration JointLogSeparation | |
| open FirstPassCubeLabels (primeProductNorm normalizedColumn columnLog) | |
| theorem HasInitialCanonicalDensity.nonzero_source_bound {q : ℕ} (χ : DirichletCharacter ℂ q) | |
| (S : Finset (Ideal ActualEisensteinCubic.O)) (hbad : fixedBadPrimes ⊆ S) | |
| (hcan : HasInitialCanonicalDensity χ S hbad) | |
| (U : ℝ → ℂ) (hUc : HasCompactSupport U) (hUs : ContDiff ℝ ∞ U) | |
| (g W : 𝓢(ℝ,ℂ)) (a b σ ε : ℝ) | |
| (hU : ∀ t,g t ≠ 0 → U t=1) | |
| (hgs : ∀ t,g t ≠ 0 → |t| ≤ initialErrorWindow a b) | |
| (hσ : (1 : ℝ)/20 < σ) (hε : 0 < ε) : | |
| ∃ (C Cpool : ℝ) (E : ℕ),0 < C ∧ 1 ≤ Cpool ∧ 20 ≤ E ∧ | |
| ∀ (D : ℕ) (Z : ℝ),1 ≤ Z → Cpool*Z^E ≤ D → | |
| let p := outsidePrime S D | |
| let hp := outsidePrime_ne_zero S hbad D | |
| let hg := outsidePrime_good S hbad D | |
| let hinj := outsidePrime_injective S hbad D | |
| letI := outsidePrime_maximal S hbad D | |
| let Ψ := conjugateMonoid (normCharacter χ) | |
| let H := Z^(1+σ) | |
| ‖truncatedSecondSource p hp hg hinj Finset.univ Ψ 1 1 1 | |
| (fun V => normalizedColumn p (fun T => g (columnLog p Z T)) V) | |
| W H (fun _ _ => (initialErrorCutoff a b Z H).erase 0)‖ ≤ C*H*Z^ε := by | |
| let η := min 1 (ε/100) | |
| let ν := (σ-(1 : ℝ)/20)/3 | |
| have hη : 0 < η := lt_min zero_lt_one (by positivity) | |
| have hη1 : η ≤ 1 := min_le_left _ _ | |
| have hηε : 35*η ≤ ε := by | |
| have hh : η ≤ ε/100 := min_le_right _ _ | |
| linarith | |
| have hν : 0 < ν := by dsimp [ν]; linarith | |
| have hσ0 : 0 ≤ σ := by linarith | |
| have hmargin : ν+ν ≤ σ-(1 : ℝ)/20 := by dsimp [ν]; linarith | |
| obtain ⟨Cl,Cpool,E,hCl,hCpool,hPE,hlow⟩ := HasInitialCanonicalDensity.retained_source χ S hbad hcan U hUc hUs g W | |
| a b σ ν ν η hU hgs hσ0 hν hη hmargin | |
| obtain ⟨Ch,hCh,hhigh⟩ := initial_high_radial_source U hUc hUs g W a b ν 1 η hU hgs hν hη hη1 | |
| refine ⟨Cl+Ch,Cpool,E,by positivity,hCpool,hPE,?_⟩ | |
| intro D Z hZ hpool | |
| dsimp only | |
| let p := outsidePrime S D | |
| let hp := outsidePrime_ne_zero S hbad D | |
| let hcop := outsidePrime_coprime S hbad D | |
| let hg := outsidePrime_good S hbad D | |
| let hinj := outsidePrime_injective S hbad D | |
| let := outsidePrime_maximal S hbad D | |
| let Ψ := conjugateMonoid (normCharacter χ) | |
| let H := Z^(1+σ) | |
| let M := initialErrorWindow a b | |
| let K := fun (_ _ : Finset (OutsidePrimeIndex S D)) => initialErrorCutoff a b Z H | |
| let Kmax := initialErrorRowBound a b Z H | |
| let G := fun V => normalizedColumn p (fun T => g (columnLog p Z T)) V | |
| let s := fun (R : Finset (OutsidePrimeIndex S D)) (j : SecondLogIndex) => | |
| initialSquarefreeSector p (secondLogSector p ∅ Finset.univ K R Z M j) | |
| let f := fun (ray : SecondRayIndex) (R : Finset (OutsidePrimeIndex S D)) (j : SecondLogIndex) => | |
| ‖secondExpansionSource p hp hcop hg Finset.univ Ψ 1 1 1 ray (s R j) G G W H‖ | |
| let Lsum := ∑ ray : SecondRayIndex,∑ R ∈ boundedPrimeSupports p Finset.univ (Z*Real.exp M), | |
| ∑ j ∈ secondLogBinBox (Z*Real.exp M) Kmax, | |
| if initialRadial Z H (primeProductNorm p R) j ≤ Z^ν then f ray R j else 0 | |
| let Hsum := ∑ ray : SecondRayIndex,∑ R ∈ boundedPrimeSupports p Finset.univ (Z*Real.exp M), | |
| ∑ j ∈ secondLogBinBox (Z*Real.exp M) Kmax, | |
| if Z^ν < initialRadial Z H (primeProductNorm p R) j then f ray R j else 0 | |
| have hZp := zero_lt_one.trans_le hZ | |
| have hH : 1 ≤ H := Real.one_le_rpow hZ (by linarith) | |
| have hHp := zero_lt_one.trans_le hH | |
| have hΨ : ∀ z,‖Ψ z‖ ≤ 1 := conjugateMonoid_norm_le_one (normCharacter χ) (normCharacter_norm_le_one χ) | |
| have hL : Lsum ≤ Cl*H*Z^(35*η) := hlow D Z hZ hpool | |
| have hHi : Hsum ≤ Ch*Z^(-(1 : ℝ)) := | |
| hhigh p hp hcop hg hinj (outsidePrime_odd S hbad D) (outsidePrime_primary S hbad D) | |
| Finset.univ Ψ 1 Z H hZ hH hΨ (fun _ R j => s R j) (fun _ _ _ => Finset.filter_subset _ _) | |
| have hrow : ∀ R ∈ (Finset.univ : Finset (OutsidePrimeIndex S D)).powerset, | |
| ∀ x ∈ secondSupportedSector p Finset.univ K R Z M,elementNorm (sourceObservation p x).1 ≤ Kmax := by | |
| intro R hR x hx | |
| exact initialErrorRowBound_valid p hp Finset.univ R a b Z H hZp hHp x hx | |
| have htotal := initial_nonzero_source_norm_le_squarefree_bins p hp hcop hg hinj | |
| (outsidePrime_odd S hbad D) (outsidePrime_primary S hbad D) Finset.univ Ψ 1 g W | |
| Z H M Kmax hZp hgs K hrow | |
| have hpart : (∑ ray : SecondRayIndex,∑ R ∈ boundedPrimeSupports p Finset.univ (Z*Real.exp M), | |
| ∑ j ∈ secondLogBinBox (Z*Real.exp M) Kmax,f ray R j)=Lsum+Hsum := by | |
| dsimp only [Lsum,Hsum] | |
| simp only [←Finset.sum_add_distrib] | |
| apply Finset.sum_congr rfl | |
| intro ray hray | |
| apply Finset.sum_congr rfl | |
| intro R hR | |
| apply Finset.sum_congr rfl | |
| intro j hj | |
| by_cases hh : initialRadial Z H (primeProductNorm p R) j ≤ Z^ν | |
| · rw [ite_eq_left hh,ite_eq_right (not_lt.mpr hh),add_zero] | |
| · rw [ite_eq_right hh,ite_eq_left (lt_of_not_ge hh),zero_add] | |
| have hpower : Z^(35*η) ≤ Z^ε := Real.rpow_le_rpow_of_exponent_le hZ hηε | |
| have hsmall : Z^(-(1 : ℝ)) ≤ H*Z^ε := by | |
| have h1 : Z^(-(1 : ℝ)) ≤ 1 := Real.rpow_le_one_of_one_le_of_nonpos hZ (by norm_num) | |
| exact h1.trans (one_le_mul_of_one_le_of_one_le hH (Real.one_le_rpow hZ hε.le)) | |
| calc | |
| _ ≤ ∑ ray : SecondRayIndex,∑ R ∈ boundedPrimeSupports p Finset.univ (Z*Real.exp M), | |
| ∑ j ∈ secondLogBinBox (Z*Real.exp M) Kmax,f ray R j := htotal | |
| _ = Lsum+Hsum := hpart | |
| _ ≤ Cl*H*Z^(35*η)+Ch*Z^(-(1 : ℝ)) := add_le_add hL hHi | |
| _ ≤ Cl*H*Z^ε+Ch*(H*Z^ε) := add_le_add | |
| (mul_le_mul_of_nonneg_left hpower (mul_nonneg hCl.le hHp.le)) | |
| (mul_le_mul_of_nonneg_left hsmall hCh.le) | |
| _ = (Cl+Ch)*H*Z^ε := by ring | |
| end InitialMeanSquare | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 38.5 kB
- Xet hash:
- 361ad32b664dc48116bb51c5e80a78fbd7f1c1aed735491dcfa57f8e4000f1ad
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.