Download data/lean/OAI/NumberTheory/Ostmann/Arithmetic/BulkAbsoluteIntegral.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.48 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/Ostmann/Arithmetic/BulkAbsoluteIntegral.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/Ostmann/Arithmetic/BulkAbsoluteIntegral.lean
-
curl -L -o BulkAbsoluteIntegral.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/Ostmann/Arithmetic/BulkAbsoluteIntegral.lean
5.48 kB
| import OAI.NumberTheory.Ostmann.Arithmetic.BulkResidueIntegral | |
| import OAI.NumberTheory.Ostmann.ZeroDensity.BulkHaarDensity | |
| import OAI.NumberTheory.Ostmann.Arithmetic.BulkSeparatedKernelBound | |
| namespace OAI | |
| /-! # Integrating the nonnegative arithmetic norm under the original Page density -/ | |
| namespace Ostmann | |
| open MeasureTheory | |
| open scoped Classical BigOperators | |
| /-- The absolute residue average is integrated with the true harmonic box | |
| volume. The Page factors remain inside the arithmetic norm estimate. -/ | |
| theorem bulk_absolute_integral_bound {J : Type*} [Fintype J] | |
| (P : PublishedProgressionInput) (Q M : β) [NeZero M] | |
| (u v : J β β) (hu : β j, 0 < u j) | |
| (K : BulkIntegrand J) (a : (J β (ZMod M)Λ£) β β) (W A : β) | |
| (hW : 0 β€ W) (hK : β y, βK yβ β€ W) | |
| (hA : β y : J β β, (β j, y j β Set.Ioc (u j) (v j)) β | |
| (Fintype.card (J β (ZMod M)Λ£) : β)β»ΒΉ * | |
| β z, βa z * β j, pageGiantWeight P Q M (z j).val.val (y j)β β€ A) : | |
| ββ z : J β (ZMod M)Λ£, β« y, (K.constMul (a z)) y βMeasure.pi (fun j => | |
| primeGiantMeasure P Q M (z j).val.val (u j) (v j))β β€ | |
| (W * A) * β j, β« x in Set.Ioc (u j) (v j), (x : β)β»ΒΉ := by | |
| let ΞΌ : J β Measure β := fun j => volume.restrict (Set.Ioc (u j) (v j)) | |
| have hi (j : J) : Integrable (fun x : β => xβ»ΒΉ) (ΞΌ j) := by | |
| have hc : ContinuousOn (fun x : β => xβ»ΒΉ) (Set.Icc (u j) (v j)) := | |
| continuousOn_invβ.mono (fun x hx => ne_of_gt (lt_of_lt_of_le (hu j) hx.1)) | |
| exact hc.integrableOn_Icc.mono_set Set.Ioc_subset_Icc_self | |
| have hp : Integrable (fun y : J β β => β j, (y j)β»ΒΉ) (Measure.pi ΞΌ) := | |
| Integrable.fintype_prod hi | |
| rw [bulk_page_residue_integral P Q (fun _ => M) (fun z j => (z j).val.val) u v hu (fun z => K.constMul (a z))] | |
| have hb : βα΅ y βMeasure.pi ΞΌ, | |
| ββ z, (K.constMul (a z)) y * | |
| β j, (selectedPrimeLogDensity P Q M (z j).val.val (y j) : β)β β€ | |
| (W * A) * β j, (y j)β»ΒΉ := by | |
| have hm : βα΅ y βMeasure.pi ΞΌ, β j, y j β Set.Ioc (u j) (v j) := | |
| Filter.eventually_all.mpr (fun j => | |
| (Measure.tendsto_eval_ae_ae (ΞΌ := ΞΌ) (i := j)).eventually (ae_restrict_mem measurableSet_Ioc)) | |
| filter_upwards [hm] with y hy | |
| have hny (j : J) : 0 < y j := (hu j).trans (hy j).1 | |
| have he : (β z, (K.constMul (a z)) y * | |
| β j, (selectedPrimeLogDensity P Q M (z j).val.val (y j) : β)) = | |
| K y * β z, a z * β j, (selectedPrimeLogDensity P Q M (z j).val.val (y j) : β) := by | |
| rw [Finset.mul_sum] | |
| apply Finset.sum_congr rfl | |
| intro z _ | |
| change (a z * K y) * _ = _ | |
| ring | |
| rw [he, bulk_prime_density_haar P Q M y a, norm_mul, norm_mul] | |
| have hmean : β(Fintype.card (J β (ZMod M)Λ£) : β)β»ΒΉ * | |
| β z, a z * β j, pageGiantWeight P Q M (z j).val.val (y j)β β€ A := by | |
| rw [norm_mul, norm_inv, Complex.norm_natCast] | |
| exact (mul_le_mul_of_nonneg_left (norm_sum_le _ _) (by positivity)).trans (hA y hy) | |
| have hprod : ββ j, (y j : β)β»ΒΉβ = β j, (y j)β»ΒΉ := by | |
| rw [norm_prod] | |
| apply Finset.prod_congr rfl | |
| intro j _ | |
| rw [norm_inv, Complex.norm_real, Real.norm_of_nonneg (hny j).le] | |
| rw [hprod, β mul_assoc] | |
| exact mul_le_mul_of_nonneg_right (mul_le_mul (hK y) hmean (norm_nonneg _) hW) | |
| (Finset.prod_nonneg fun j _ => inv_nonneg.mpr (hny j).le) | |
| have hn := norm_integral_le_of_norm_le (hp.const_mul (W * A)) hb | |
| simpa only [integral_const_mul, integral_fintype_prod_eq_prod] using hn | |
| /-- Sum all original boxes with their unchanged reciprocal-prime normalizers. -/ | |
| theorem bulk_absolute_mixture_bound {J C : Type*} [Fintype J] [Fintype C] | |
| (P : PublishedProgressionInput) (Q M : β) [NeZero M] | |
| (u v : J β C β β) (hu : β j c, 0 < u j c) | |
| (Z : J β β) (hZ : β j, 0 β€ Z j) | |
| (hmass : β j, Z j * β c, β« x in Set.Ioc (u j c) (v j c), (x : β)β»ΒΉ β€ 2) | |
| (K : BulkIntegrand J) (a : (J β (ZMod M)Λ£) β β) (W A : β) | |
| (hW : 0 β€ W) (hA0 : 0 β€ A) (hK : β y, βK yβ β€ W) | |
| (hA : β y : J β β, (β j, 0 β€ y j) β | |
| (Fintype.card (J β (ZMod M)Λ£) : β)β»ΒΉ * | |
| β z, βa z * β j, pageGiantWeight P Q M (z j).val.val (y j)β β€ A) : | |
| ββ z : J β (ZMod M)Λ£, β« y, (K.constMul (a z)) y βMeasure.pi (fun j => | |
| bulkCellMixture (Z j) (fun c => primeGiantMeasure P Q M (z j).val.val (u j c) (v j c)))β β€ | |
| (W * A) * 2 ^ Fintype.card J := by | |
| let ΞΌ := fun (z : J β (ZMod M)Λ£) j c => | |
| primeGiantMeasure P Q M (z j).val.val (u j c) (v j c) | |
| let _ : β z j c, IsFiniteMeasure (ΞΌ z j c) := fun z j c => | |
| finite_primeGiantMeasure P Q _ _ _ _ (hu j c) | |
| change ββ z, β« y, (K.constMul (a z)) y βMeasure.pi (fun j => bulkCellMixture (Z j) (ΞΌ z j))β β€ _ | |
| rw [bulk_residue_mixture_integral Z hZ ΞΌ (fun z => K.constMul (a z))] | |
| let H := fun j c => β« x in Set.Ioc (u j c) (v j c), (x : β)β»ΒΉ | |
| have hH (j : J) (c : C) : 0 β€ H j c := by | |
| apply integral_nonneg_of_ae | |
| filter_upwards [ae_restrict_mem measurableSet_Ioc] with x hx | |
| exact inv_nonneg.mpr ((hu j c).trans hx.1).le | |
| apply bulk_box_sum_bound Z hZ H hH hmass (W * A) (mul_nonneg hW hA0) | |
| intro c | |
| exact bulk_absolute_integral_bound P Q M (fun j => u j (c j)) (fun j => v j (c j)) | |
| (fun j => hu j (c j)) K a W A hW hK (fun y hy => hA y (fun j => ((hu j (c j)).trans (hy j).1).le)) | |
| end Ostmann | |
| end OAI | |