Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

Start from https://github.com/leanprover-community/riemann-hypothesis at 630d1e43b442cab27717c3ebf94d218dea608374
Browse filesIts tree as it is at that commit, without its history; the problem's own files follow. Left out, not being the proof, its build or its licences (30): - .github/workflows/batch-building.yml - .github/workflows/batch-pushed.yml - .github/workflows/build.yml - .github/workflows/challenge-files.yml - .github/workflows/inbox-review.yml - .github/workflows/inbox.yml - .github/workflows/label-pr.yml - .github/workflows/publish-ci-cache.yml - .github/workflows/review-commands.yml - .github/workflows/technical-debt.yml - CACHE.md - CONTRIBUTORS.md - scripts/batch-building.py - scripts/batch-labels.py - scripts/ci-cache-stage.py - scripts/ci-github.py - scripts/contributors.py - scripts/github-rest.py - scripts/inbox-sync.py - scripts/publish-ci-cache.py - scripts/runner/job-started.sh - scripts/runner/loop.sh - scripts/runner/mint-jit.sh - scripts/runner/setup-host.sh - scripts/technical-debt-metrics.py - scripts/tests/test_batch_building.py - scripts/tests/test_ci_cache_baseline.py - scripts/tests/test_inbox_sync.py - scripts/tests/test_label_names.py - scripts/tests/test_technical_debt_metrics.py
+4 −0 .gitignore added View file
| @@ -0,0 +1,4 @@ | ||
| 1 | +/.lake/ | |
| 2 | +*.olean | |
| 3 | +*.ilean | |
| 4 | +__pycache__/ | |
+62 −0 AGENTS.md added View file
| @@ -0,0 +1,62 @@ | ||
| 1 | +# AGENTS.md | |
| 2 | + | |
| 3 | +Read [README.md](README.md) and [GUIDE.md](GUIDE.md) first. `main` is the readable edition of the | |
| 4 | +proof, and what we want now is a proof that people can read. A change that makes the code shorter | |
| 5 | +or faster but harder to read is not welcome. | |
| 6 | + | |
| 7 | +If you have agent time to spare and no particular change in mind, work on the GRH roadmap of | |
| 8 | +[Tau Ceti](https://github.com/TauCetiProject/TauCeti) instead. | |
| 9 | + | |
| 10 | +## Changes we want | |
| 11 | + | |
| 12 | +- Using a result from Mathlib or Tau Ceti in place of our own proof of it, and deleting ours. | |
| 13 | + Check that the statements agree, hypotheses included. If the library states it in another form, | |
| 14 | + keep our lemma as a short wrapper rather than adding a conversion at every caller. | |
| 15 | +- Deleting declarations that nothing uses. | |
| 16 | +- Proving once, as a lemma, an argument that appears several times, and using it everywhere. | |
| 17 | +- Splitting a long proof into lemmas with names and docstrings. A comment that explains a step | |
| 18 | + moves with it. | |
| 19 | +- A more general lemma in place of an old one, if its proof is about as easy. Move the callers to | |
| 20 | + it and delete the old one. | |
| 21 | +- Fixing linter warnings, wrong docstrings and open issues. A docstring says what its declaration | |
| 22 | + states, including both directions of an `iff`. | |
| 23 | + | |
| 24 | +## Changes we don't want | |
| 25 | + | |
| 26 | +- Inlining a lemma into its only caller, or folding helper lemmas or named `have` steps into one | |
| 27 | + long proof. A step with a name still tells the reader what it proves. | |
| 28 | +- Cutting an `iff` down to one direction, or dropping conclusions from a lemma, because no caller | |
| 29 | + needs them. | |
| 30 | +- Replacing `simp` with a long `simp only [...]` list, or expanding a tactic into many | |
| 31 | + hand-written steps, to save a second or a few lines. | |
| 32 | +- A `simp` or other flexible tactic followed by steps that depend on the exact form it leaves. | |
| 33 | + Make it the last step, or use `simp only`. | |
| 34 | +- A new or wider `seal` without a timing that shows it is needed. | |
| 35 | +- Adding or changing a reference to the literature without checking it against the source. Say | |
| 36 | + which edition you checked and give the theorem number. | |
| 37 | + | |
| 38 | +## Pull requests | |
| 39 | + | |
| 40 | +Keep each pull request to one change; fixing linter warnings in the files you edit doesn't count | |
| 41 | +as a second one. Check that it compiles (`lake exe cache get`, then `lake build`) before you open | |
| 42 | +it, but don't write in it that it builds or that nothing else changed: CI checks the build. Titles | |
| 43 | +follow [Mathlib's convention](https://leanprover-community.github.io/contribute/commit.html). In | |
| 44 | +the description, say in two or three sentences what the change does and why it makes the proof | |
| 45 | +easier to read, and keep the title and description in step with the diff when you push more | |
| 46 | +commits. Leave out timings and heartbeat counts unless speed is the reason for the change; then | |
| 47 | +give the few numbers a maintainer needs to decide, per declaration where you can, and say how you | |
| 48 | +measured them. | |
| 49 | + | |
| 50 | +If you want to make the same kind of change in many places, open one pull request first and wait | |
| 51 | +for a maintainer to say we want it before you open the others. | |
| 52 | + | |
| 53 | +A pull request is merged only after a reviewer (Triage role or more) has approved its current head | |
| 54 | +commit. When a reviewer hands it back to you with the `awaiting-author` label, make the changes | |
| 55 | +and then comment `ready`, with nothing else in the comment. | |
| 56 | + | |
| 57 | +## Batches | |
| 58 | + | |
| 59 | +A batch takes only pull requests that a reviewer has approved on their current head commit, and | |
| 60 | +none labelled `awaiting-author` or held by a maintainer. Merge each with its own merge commit. To | |
| 61 | +take one out, rebuild the batch without it and force-push; don't revert its merge commit. List the | |
| 62 | +pull requests you left out in the batch's description, with the reason for each. | |
+234 −0 ATTRIBUTION.md added View file
| @@ -0,0 +1,234 @@ | ||
| 1 | +# Attribution | |
| 2 | + | |
| 3 | +Each declaration below adapts or closely follows, in whole or in part and with changes, a definition, statement or proof from Mathlib (Apache License, Version 2.0). Names may omit a namespace. Mathlib names and files are those of commit 56a005855ea17e0b0958f73ec801ae140b0a1679 (the names also occur, in the same files, at 0df444a360eaa60ab8c11dca51a86af692955474). | |
| 4 | + | |
| 5 | +| file | declaration | Mathlib declaration | Mathlib file | | |
| 6 | +|---|---|---|---| | |
| 7 | +| `src/Lib/Adelic/Adeles/Basic.lean` | `DenseRange.eq` | `DenseRange.equalizer` | `Mathlib/Topology/DenseEmbedding.lean` | | |
| 8 | +| `src/Lib/Adelic/Adeles/IdeleModulus.lean` | `New.adeleBasis_repr_algebraMap` | `Subalgebra.LinearDisjoint.algebraMap_basisOfBasisRight_repr_apply` (statement) | `Mathlib/RingTheory/LinearDisjoint.lean` | | |
| 9 | +| `src/Lib/Adelic/Adeles/IdeleModulus.lean` | `New.adeleNorm_algebraMap` | `Subalgebra.LinearDisjoint.norm_algebraMap` (statement) | `Mathlib/RingTheory/LinearDisjoint.lean` | | |
| 10 | +| `src/Lib/Adelic/Adeles/StrongApproximation.lean` | `New.one_le_prod_norm_Φ` | `NumberField.InfinitePlace.one_le_of_lt_one` | `Mathlib/NumberTheory/NumberField/InfinitePlace/Basic.lean` | | |
| 11 | +| `src/Lib/Adelic/Hecke/Basic.lean` | `New.levelSpace` | `Representation.invariants` | `Mathlib/RepresentationTheory/Invariants.lean` | | |
| 12 | +| `src/Lib/Adelic/QuotientMeasure/MovingTheQuotient.lean` | `New.integrable_mul_comp_inv_mul` | `MeasureTheory.measurePreserving_prod_mul` | `Mathlib/MeasureTheory/Group/Prod.lean` | | |
| 13 | +| `src/Lib/Adelic/TraceFormula/LineCount.lean` | `New.KeepsLine.rootMultiplicity_charpoly` | `Matrix.charmatrix_toSquareBlock` | `Mathlib/LinearAlgebra/Matrix/Charpoly/Basic.lean` | | |
| 14 | +| `src/Lib/Adelic/TraceFormula/LineDeterminant.lean` | `New.trace_pow_mul_eq_sum` | `LinearMap.trace_comp_eq_zero_of_commute_of_trace_restrict_eq_zero` | `Mathlib/Algebra/DirectSum/LinearMap.lean` | | |
| 15 | +| `src/Lib/Adelic/TraceFormula/LineDeterminant.lean` | `New.trace_restrictGenEigenspace_mul` | `LinearMap.trace_comp_eq_zero_of_commute_of_trace_restrict_eq_zero` | `Mathlib/Algebra/DirectSum/LinearMap.lean` | | |
| 16 | +| `src/Lib/Adelic/TraceFormula/TestFunction.lean` | `New.exists_eq_pow_of_monic_of_map_eq_pow` | `Polynomial.Monic.irreducible_iff_irreducible_map_fraction_map` | `Mathlib/RingTheory/Polynomial/GaussLemma.lean` | | |
| 17 | +| `src/Lib/Adelic/TraceFormula/TestFunction.lean` | `TestFunction.translate` | `Representation.coind` | `Mathlib/RepresentationTheory/Coinduced.lean` | | |
| 18 | +| `src/Lib/Analytic/EntireLFunction.lean` | `New.LSeriesHasSum_mul_vonMangoldt` | `ArithmeticFunction.vonMangoldt.eqOn_LFunctionResidueClassAux` | `Mathlib/NumberTheory/LSeries/PrimesInAP.lean` | | |
| 19 | +| `src/Lib/Analytic/EntireLFunction.lean` | `New.entireL_ne_zero` | `DirichletCharacter.continuousOn_neg_logDeriv_LFunctionTrivChar₁` | `Mathlib/NumberTheory/LSeries/DirichletContinuation.lean` | | |
| 20 | +| `src/Lib/Analytic/EntireLFunction.lean` | `New.tendsto_sub_mul_logDeriv_entireL_analyticOrderNatAt` | `AnalyticAt.tendsto_mul_logDeriv_simple_zero` | `Mathlib/Analysis/Calculus/LogDeriv.lean` | | |
| 21 | +| `src/Lib/Analytic/PolyaVinogradov.lean` | `New.filter_dvd_Ioc_eq_image_mul` | `Int.Ioc_filter_dvd_eq` | `Mathlib/Data/Int/CardIntervalMod.lean` | | |
| 22 | +| `src/Lib/Analytic/PrimeNumberTheorem/LFunctionGrowth.lean` | `norm_regularL_le_linear` | `LSeries_tendsto_sub_mul_nhds_one_of_tendsto_sum_div_aux₃` | `Mathlib/NumberTheory/LSeries/SumCoeff.lean` | | |
| 23 | +| `src/Lib/Analytic/Primes.lean` | `New.hasSum_residueClass_one` | `ArithmeticFunction.vonMangoldt.residueClass_eq`, `ArithmeticFunction.vonMangoldt.LSeries_residueClass_eq` | `Mathlib/NumberTheory/LSeries/PrimesInAP.lean` | | |
| 24 | +| `src/Lib/CM/Integrality/LogTheta.lean` | `New.CMLattice.subst_mem_multiSeriesRing` | `PowerSeries.subst_toMvPowerSeries` | `Mathlib/RingTheory/MvPowerSeries/Equiv.lean` | | |
| 25 | +| `src/Lib/ClassField/GaloisCohomology/ContinuousCocycles.lean` | `New.DiscreteModule.quotient` | `Submodule.continuousSMul_quotient` | `Mathlib/Topology/Algebra/Module/Basic.lean` | | |
| 26 | +| `src/Lib/ClassField/Global/AlbertBrauerHasseNoether.lean` | `New.albert_brauer_hasse_noether` | `IsTopologicalGroup.exist_openNormalSubgroup_sub_clopen_nhds_of_one` | `Mathlib/Topology/Algebra/ClopenNhdofOne.lean` | | |
| 27 | +| `src/Lib/ClassField/Global/ArtinReciprocity.lean` | `New.exists_prime_dvd_orderOf` | `Nat.exists_prime_gt_modEq_one` | `Mathlib/NumberTheory/PrimesCongruentOne.lean` | | |
| 28 | +| `src/Lib/ClassField/GreenbergWiles/SplitPrimeReciprocity.lean` | `out_inv_mul_mul_out_mem` | `QuotientGroup.out_conj_pow_minimalPeriod_mem` | `Mathlib/GroupTheory/GroupAction/Quotient.lean` | | |
| 29 | +| `src/Lib/ClassField/Grunwald.lean` | `New.exists_mem_ker_cyclotomicCharMod_smul_ne_of_forall_pow_ne` | `X_pow_sub_C_irreducible_of_prime` | `Mathlib/FieldTheory/KummerPolynomial.lean` | | |
| 30 | +| `src/Lib/ClassField/Places/DecompositionCyclotomic.lean` | `New.cyclotomicCharMod_eq_of_isPrimitiveRoot` | `IsPrimitiveRoot.autToPow_eq_modularCyclotomicCharacter` | `Mathlib/NumberTheory/Cyclotomic/CyclotomicCharacter.lean` | | |
| 31 | +| `src/Lib/ClassField/Places/ValuationSubrings.lean` | `New.FinPlace.ncard_mul_ramificationIdx_mul_inertiaDeg` | `Ideal.ncard_primesOver_mul_ramificationIdxIn_mul_inertiaDegIn` | `Mathlib/NumberTheory/RamificationInertia/Galois.lean` | | |
| 32 | +| `src/Lib/Cohomology/Etale/Basic.lean` | `New.Variety.H.dimension_shift_induction` | `CategoryTheory.hasExt_of_enoughInjectives` | `Mathlib/Algebra/Homology/DerivedCategory/Ext/EnoughInjectives.lean` | | |
| 33 | +| `src/Lib/Cohomology/Etale/Basic.lean` | `homReprEquiv` | `CategoryTheory.uliftCoyonedaEquiv` | `Mathlib/CategoryTheory/Yoneda.lean` | | |
| 34 | +| `src/Lib/Cohomology/Etale/Basic.lean` | `restrictAlg` | `Algebra.restrictScalars`, `Algebra.compHom` | `Mathlib/Algebra/Algebra/RestrictScalars.lean`, `Mathlib/Algebra/Algebra/Defs.lean` | | |
| 35 | +| `src/Lib/Cohomology/Etale/DenseSubfunctors.lean` | `New.Variety.mayer_vietoris_shortExact` | `CategoryTheory.CommSq.shortComplex` | `Mathlib/Algebra/Homology/CommSq.lean` | | |
| 36 | +| `src/Lib/Cohomology/Hodge/Site.lean` | `New.Variety.exteriorMap_iotaMulti` | `ExteriorAlgebra.map_apply_ιMulti` | `Mathlib/LinearAlgebra/ExteriorAlgebra/Basic.lean` | | |
| 37 | +| `src/Lib/Cohomology/ProperBaseChange/SubringSplitting.lean` | `New.Variety.absIntegrallyClosedSubrings.exists_valuationSubring_mem_range_comap` | `Ideal.image_subset_nonunits_valuationSubring` | `Mathlib/RingTheory/Valuation/LocalSubring.lean` | | |
| 38 | +| `src/Lib/Cyclotomic/Stickelberger.lean` | `New.OddPart.isOfFinOrder_of_norm_eq_one` | `Polynomial.pow_eq_one_of_mahlerMeasure_eq_one` | `Mathlib/NumberTheory/MahlerMeasure.lean` | | |
| 39 | +| `src/Lib/Cyclotomic/Voronoi.lean` | `New.OddPart.exists_isStickelbergerBound` | `Matrix.det_eq_zero_of_mulVec_eq_zero_of_mem_nonZeroDivisors` | `Mathlib/LinearAlgebra/Matrix/Adjugate.lean` | | |
| 40 | +| `src/Lib/DiscreteSeries/FlenstedJensen/SquareIntegrability.lean` | `New.sq_le_norm_det_blockDiagPart` | `Matrix.IsHermitian.det_abs` | `Mathlib/Analysis/Matrix/Order.lean` | | |
| 41 | +| `src/Lib/DiscreteSeries/Haar/CayleyChart.lean` | `New.Haar.det_eq_mul_of_fst_eq_of_snd_eq` | `LinearMap.det_prodMap` | `Mathlib/LinearAlgebra/Determinant.lean` | | |
| 42 | +| `src/Lib/DiscreteSeries/Haar/TotalMass.lean` | `IsProperMap.monoidHom_id` | `isProperMap_id` | `Mathlib/Topology/Maps/Proper/Basic.lean` | | |
| 43 | +| `src/Lib/DiscreteSeries/Haar/TotalMass.lean` | `New.measurePreserving_normSq_sphereDensity` | `MeasureTheory.Measure.volumeIoiPow_apply_Iio` | `Mathlib/MeasureTheory/Constructions/HaarToSphere.lean` | | |
| 44 | +| `src/Lib/GaloisRep/KillingPolynomials.lean` | `New.powMinor_diagonal_X_mul_eq_zero` | `Matrix.charpoly.optionEquivLeft_symm_univ_isHomogeneous` | `Mathlib/LinearAlgebra/Matrix/Charpoly/Univ.lean` | | |
| 45 | +| `src/Lib/GaloisRep/Pseudocharacter/SemisimpleRepresentations.lean` | `New.blockDiagonalAlgHom` | `Matrix.blockDiagonal'RingHom` | `Mathlib/Data/Matrix/Block.lean` | | |
| 46 | +| `src/Lib/GaloisRep/Pseudocharacter/SemisimpleRepresentations.lean` | `New.trace_of_idempotent` | `LinearMap.IsIdempotentElem.trace_eq_zero_iff` | `Mathlib/LinearAlgebra/Trace.lean` | | |
| 47 | +| `src/Lib/General/Algebra/ComplexEmbeddings.lean` | `New.exists_ringEquiv_extend` | `TauCeti.Complex.nonempty_algEquiv` | `TauCeti/Analysis/Complex/FieldEmbedding.lean` | | |
| 48 | +| `src/Lib/General/Algebra/FittingIdealsAndLengths.lean` | `New.exists_matrix_addVal_det_le_length` | `Submodule.finiteQuotient_iff` | `Mathlib/LinearAlgebra/FreeModule/Finite/Quotient.lean` | | |
| 49 | +| `src/Lib/General/Algebra/IntegralPowerSeries.lean` | `New.jet_subst_linearSeries` | `MvPowerSeries.constantCoeff_subst_eq_zero` | `Mathlib/RingTheory/MvPowerSeries/Substitution.lean` | | |
| 50 | +| `src/Lib/General/Algebra/LongExactSequences.lean` | `New.Variety.H.sigma_bijective` | `CategoryTheory.Functor.mapExt_bijective_of_preservesInjectiveObjects`, `CategoryTheory.hasExt_of_enoughInjectives` | `Mathlib/Algebra/Homology/DerivedCategory/Ext/EnoughInjectives.lean`, `Mathlib/Algebra/Homology/DerivedCategory/Ext/MapBijective.lean` | | |
| 51 | +| `src/Lib/General/Algebra/MultivariatePolynomials.lean` | `New.Variety.IsAbsIntegrallyClosedLocal.multivariate_hensel` | the `Algebra.Etale` instance | `Mathlib/RingTheory/Polynomial/UniversalFactorizationRing.lean` | | |
| 52 | +| `src/Lib/General/Algebra/MultivariatePolynomials.lean` | `New.nullstellensatz_exists_le_ker` | `finite_of_algHom_finiteType_of_isJacobsonRing`, `MvPolynomial.eq_vanishingIdeal_singleton_of_isMaximal` | `Mathlib/RingTheory/Jacobson/Ring.lean`, `Mathlib/RingTheory/Nullstellensatz.lean` | | |
| 53 | +| `src/Lib/General/Algebra/SharpMinors.lean` | `New.Selmer.exists_span_row_eq_rowLattice` | `Submodule.finiteQuotient_iff` | `Mathlib/LinearAlgebra/FreeModule/Finite/Quotient.lean` | | |
| 54 | +| `src/Lib/General/Algebra/ValuativeIntegrality.lean` | `RingHom.isIntegralElem_iff_forall_valuationSubring` | `Subring.eq_iInf_of_isIntegrallyClosedIn`, `iInf_valuationSubring_superset` | `Mathlib/RingTheory/Valuation/LocalSubring.lean` | | |
| 55 | +| `src/Lib/General/Analysis/FourierTransforms.lean` | `New.IsDualFamily.fourier_inversion` | `UnitAddTorus.hasSum_mFourier_series_of_summable` | `Mathlib/Analysis/Fourier/AddCircleMulti.lean` | | |
| 56 | +| `src/Lib/General/Analysis/HolomorphicIntegrals.lean` | `New.analyticAt_integral` | `hasFDerivAt_integral_of_dominated_loc_of_lip` | `Mathlib/Analysis/Calculus/ParametricIntegral.lean` | | |
| 57 | +| `src/Lib/General/Analysis/PackingAndSobolev.lean` | `New.encard_le_of_separated` | `Besicovitch.card_le_of_separated` | `Mathlib/MeasureTheory/Covering/BesicovitchVectorSpace.lean` | | |
| 58 | +| `src/Lib/General/Combinatorics.lean` | `rootCoeffEval_map` | `WittVector.IsPoly.map` | `Mathlib/RingTheory/WittVector/IsPoly.lean` | | |
| 59 | +| `src/Lib/General/Geometry/DenseComplexPoints.lean` | `New.exists_valuation_le_pow_of_maximalIdeal_le` | `ringKrullDim_eq_one_iff_of_isLocalRing_isDomain` | `Mathlib/RingTheory/KrullDimension/LocalRing.lean` | | |
| 60 | +| `src/Lib/General/Geometry/DenseComplexPoints.lean` | `New.exists_valuative_arc_of_isDenseFamily` | `AlgebraicGeometry.ValuativeCriterion.Existence.specializingMap` | `Mathlib/AlgebraicGeometry/ValuativeCriterion.lean` | | |
| 61 | +| `src/Lib/General/Geometry/DenseComplexPoints.lean` | `New.height_map_C_le_one` | `Ideal.map_height_le_one_of_mem_minimalPrimes` | `Mathlib/RingTheory/Ideal/KrullsHeightTheorem.lean` | | |
| 62 | +| `src/Lib/General/Geometry/GaloisCovers.lean` | `New.Variety.IsGaloisCovering.etale_of_isPullback` | `Algebra.FormallyEtale.equivPiOfIsSepClosed` | `Mathlib/RingTheory/Etale/Field.lean` | | |
| 63 | +| `src/Lib/General/Geometry/GeometricPoints.lean` | `New.dense_smoothLocus_of_isDenseFamily` | `AlgebraicGeometry.Scheme.Hom.genericPoint_mem_smoothLocus_of_perfectField` | `Mathlib/AlgebraicGeometry/Morphisms/Smooth.lean` | | |
| 64 | +| `src/Lib/General/Geometry/GeometricPoints.lean` | `New.stalkMap_injective_of_flat` | `AlgebraicGeometry.Flat.epi_of_flat_of_surjective` | `Mathlib/AlgebraicGeometry/Morphisms/Flat.lean` | | |
| 65 | +| `src/Lib/General/Geometry/GeometricPoints.lean` | instance `Flat (fromSpecStalk Z s)` | `AlgebraicGeometry.IsAffineOpen.fromSpecStalk_isPreimmersion` | `Mathlib/AlgebraicGeometry/Stalk.lean` | | |
| 66 | +| `src/Lib/General/Geometry/PointsOfProperSchemes.lean` | `New.Variety.isProperOver_pointsToBase` | `AlgebraicGeometry.IsSeparated.hasAffineProperty` | `Mathlib/AlgebraicGeometry/Morphisms/Separated.lean` | | |
| 67 | +| `src/Lib/General/Geometry/PointsOfProperSchemes.lean` | `le_ker_iff_factors` | `AlgebraicGeometry.eq_bot_of_comp_quotientMk_eq_sigmaSpec` | `Mathlib/AlgebraicGeometry/PointsPi.lean` | | |
| 68 | +| `src/Lib/General/Groups/IndexOfProduct.lean` | `New.Seesaw.index_pi_univ` | `Subgroup.index_pi` | `Mathlib/GroupTheory/Index.lean` | | |
| 69 | +| `src/Lib/General/LinearAlgebra/PolarDecomposition.lean` | `New.exists_orthonormal_mul` | `LDL.lowerInv`, `IsWellFounded.wellOrderExtension` | `Mathlib/Analysis/Matrix/LDL.lean`, `Mathlib/Order/Extension/Well.lean` | | |
| 70 | +| `src/Lib/General/Measure/IntegralOperators.lean` | `New.IsL2Contraction.pi_fin` | `MeasureTheory.Integrable.fin_nat_prod`, `MeasureTheory.integral_fin_nat_prod_eq_prod` | `Mathlib/MeasureTheory/Integral/Pi.lean` | | |
| 71 | +| `src/Lib/General/Measure/IntegralOperators.lean` | `New.IsL2Contraction.pi` | `MeasureTheory.integral_fintype_prod_eq_prod` | `Mathlib/MeasureTheory/Integral/Pi.lean` | | |
| 72 | +| `src/Lib/General/Measure/IntegralOperators.lean` | `New.measurePreserving_sigma` | `MeasureTheory.measurePreserving_piEquivPiSubtypeProd`, `MeasureTheory.Measure.infinitePi_map_piCurry` | `Mathlib/MeasureTheory/Constructions/Pi.lean`, `Mathlib/Probability/ProductMeasure.lean` | | |
| 73 | +| `src/Lib/General/Measure/QuadricDisintegration.lean` | `New.Floors.continuous_lintegral_and_lt_top` | `continuousOn_integral_of_compact_support` | `Mathlib/MeasureTheory/Integral/Bochner/Set.lean` | | |
| 74 | +| `src/Lib/General/Measure/QuadricDisintegration.lean` | `New.Floors.continuous_lintegral_of_compact_support` | `continuousOn_integral_of_compact_support` | `Mathlib/MeasureTheory/Integral/Bochner/Set.lean` | | |
| 75 | +| `src/Lib/General/NumberTheory/CMFields.lean` | `New.isCMField_of_forall_exists_conj` | `NumberField.IsCMField.of_forall_isConj` | `Mathlib/NumberTheory/NumberField/CMField.lean` | | |
| 76 | +| `src/Lib/General/NumberTheory/ImaginaryQuadraticField.lean` | `totient_mul_totient_le_finrank` | `IsPrimitiveRoot.lcm_totient_le_finrank` | `Mathlib/NumberTheory/Cyclotomic/PrimitiveRoots.lean` | | |
| 77 | +| `src/Lib/General/NumberTheory/LatticeCovolumes.lean` | `New.exists_isAddFundamentalDomain_of_integral` | `IsZLattice.basis` | `Mathlib/Algebra/Module/ZLattice/Basic.lean` | | |
| 78 | +| `src/Lib/General/NumberTheory/SUnitsAndClassNumber.lean` | `New.SUnit.dirichlet_unit_theorem` | `IsDedekindDomain.selmerGroup.valuation_ker_eq` | `Mathlib/RingTheory/DedekindDomain/SelmerGroup.lean` | | |
| 79 | +| `src/Lib/LocalGL/Green/HallAlgebra.lean` | `New.Hall.charpoly_endOnSub_mul_endOnQuot` | `LinearMap.det_eq_det_mul_det` | `Mathlib/LinearAlgebra/Determinant.lean` | | |
| 80 | +| `src/Lib/PadicComparison/Completion.lean` | `New.Variety.IsSMulDivisible` | `IsSMulRegular` | `Mathlib/Algebra/Regular/SMul.lean` | | |
| 81 | +| `src/Lib/PadicComparison/Descent/TestCategory.lean` | `New.Variety.isSMulRegular_tensor_of_flat_mod` | `Module.Flat.trans`, `IsSMulRegular.lTensor` | `Mathlib/RingTheory/Regular/IsSMulRegular.lean`, `Mathlib/RingTheory/Flat/Stability.lean` | | |
| 82 | +| `src/Lib/PadicComparison/HodgeTate/GenericFibre.lean` | `New.Variety.PadicTest.thetaGeneric` | `fontaineThetaInvertP` | `Mathlib/RingTheory/Perfectoid/BDeRham.lean` | | |
| 83 | +| `src/Lib/PadicHodge/Crystalline/HodgeTateJumps.lean` | `Matrix.det_eq_mul_det_updateCol_of_mulVec_eq_smul_of_apply_eq_one` | `Matrix.mulVec_cramer` | `Mathlib/LinearAlgebra/Matrix/Adjugate.lean` | | |
| 84 | +| `src/Lib/PadicHodge/Kisin/Modules.lean` | `New.Lift.KummerChart.JumpLattice.ainfLattice_eq_span_basis` | `Module.Basis.ofZLatticeBasis` | `Mathlib/Algebra/Module/ZLattice/Basic.lean` | | |
| 85 | +| `src/Lib/PadicHodge/PeriodRings/Ainf.lean` | `New.Period.smul_frobEnd` | `MulAction.prodEquiv` | `Mathlib/Algebra/Group/Action/Prod.lean` | | |
| 86 | +| `src/Lib/PadicHodge/PeriodRings/AxTheorem.lean` | `New.Period.norm_zeta_sub_one_pow` | `IsCyclotomicExtension.Rat.associated_zeta_sub_one_pow_prime` | `Mathlib/NumberTheory/NumberField/Cyclotomic/Ideal.lean` | | |
| 87 | +| `src/Lib/PadicHodge/PeriodRings/AxTheorem.lean` | `New.Variety.wittVector_ringHom_ext_of_teichmuller` | `WittVector.eq_of_apply_teichmuller_eq` | `Mathlib/RingTheory/WittVector/TeichmullerSeries.lean` | | |
| 88 | +| `src/Lib/PadicHodge/PeriodRings/AxTheorem.lean` | `intQpBar` | `PadicComplexInt` | `Mathlib/NumberTheory/Padics/Complex.lean` | | |
| 89 | +| `src/Lib/PadicHodge/PeriodRings/AxTheorem.lean` | instance `IsDomain (PreTilt R p)` | `PreTilt.isDomain` | `Mathlib/RingTheory/Perfection.lean` | | |
| 90 | +| `src/Lib/Shimura/AbelianScheme/Basic.lean` | `New.AddObj` | `CategoryTheory.CommGrpObj` | `Mathlib/CategoryTheory/Monoidal/Cartesian/CommGrp_.lean` | | |
| 91 | +| `src/Lib/Shimura/AbelianScheme/Basic.lean` | `New.pullbackAddObj` | `CategoryTheory.Functor.isCommMonObj_obj` | `Mathlib/CategoryTheory/Monoidal/CommMon_.lean` | | |
| 92 | +| `src/Lib/Shimura/AbelianScheme/IsogenyFlatness.lean` | `Ideal.map_maximalIdeal_eq_maximalIdeal_of_mem_minimalPrimes` | `isDedekindDomainDvr.of_formallyUnramified` | `Mathlib/RingTheory/Unramified/Dedekind.lean` | | |
| 93 | +| `src/Lib/Shimura/ComplexTheta/AppellHumbertData.lean` | `New.coe_fourierChar_eq_exp` | `Real.fourierChar_apply` | `Mathlib/Analysis/Complex/Circle.lean` | | |
| 94 | +| `src/Lib/Shimura/Eigenspace.lean` | `exists_isEigenQuotient` | `PiTensorProduct.submodule_span_eq_top` | `Mathlib/LinearAlgebra/PiTensorProduct/Generators.lean` | | |
| 95 | +| `src/Lib/Shimura/HeckeTower/Model.lean` | `New.card_torsionBySet_adelicTorsion` | `NumberField.absNorm_differentIdeal` | `Mathlib/NumberTheory/NumberField/Discriminant/Different.lean` | | |
| 96 | +| `src/Lib/Shimura/HeckeTower/Model.lean` | `entryConj` | `MonoidHom.restrict` | `Mathlib/Algebra/Group/Submonoid/Operations.lean` | | |
| 97 | +| `src/Lib/Shimura/ThetaModuli/FamilyFromPoints.lean` | `New.smooth_of_allSpecializeTo_isReduced` | `AlgebraicGeometry.Smooth.of_smooth_fiberToSpecResidueField` | `Mathlib/AlgebraicGeometry/Morphisms/SmoothFiber.lean` | | |
| 98 | +| `src/Lib/Shimura/ThetaNormality/NormalGeneration.lean` | `New.ThetaTori.map_homogeneousSubmodule_eq_formSpan` | `Ideal.span_pow_eq_map_homogeneousSubmodule` | `Mathlib/RingTheory/MvPolynomial/Homogeneous.lean` | | |
| 99 | +| `src/Lib/Shimura/Uniformisation/HolomorphicFamilies.lean` | `New.relIndex_comap_eq_det_mul_conj_det` | `ZLattice.covolume_div_covolume_eq_relIndex` | `Mathlib/Algebra/Module/ZLattice/Covolume.lean` | | |
| 100 | +| `src/Lib/SiegelWeil/Tower/LineGaussSums.lean` | `New.Exchange.stdColDatum_one_mul_mul` | `Matrix.det_conj_of_mul_eq_one` | `Mathlib/LinearAlgebra/Determinant.lean` | | |
| 101 | +| `src/Lib/Weil/Construction/FourierInversion.lean` | `New.relIndex_map_nsmul_toAddSubgroup` | `AddSubgroup.relIndex_map_nsmul` | `Mathlib/GroupTheory/IndexNSmul.lean` | | |
| 102 | +| `src/Lib/Weil/Unramified/HeckeGL.lean` | `New.eventually_localCongruence_subset` | `Valued.tendsto_zero_pow_of_v_lt_one` | `Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean` | | |
| 103 | +| `src/New/Congruences/FirstOrder/OnePrime.lean` | `New.Patching.commutingProd` | `Subgroup.noncommPiCoprod` | `Mathlib/GroupTheory/NoncommPiCoprod.lean` | | |
| 104 | +| `src/New/Congruences/FirstOrder/OnePrime.lean` | `New.Patching.transfer_eq_prod_cosetComponent` | `MonoidHom.transfer_def`, `Subgroup.leftTransversals.diff` | `Mathlib/GroupTheory/Transfer.lean` | | |
| 105 | +| `src/New/Congruences/Lifting/CupOrthogonalityBounds.lean` | `New.Lift.length_quotient_mul_length_residueField` | `Ideal.sum_ramification_inertia_eq_finrank_fiber` | `Mathlib/RingTheory/RamificationInertia/Basic.lean` | | |
| 106 | +| `src/New/Congruences/Selmer/AuxiliaryPrimes.lean` | `pointChar` | `AddChar.zmodChar` | `Mathlib/NumberTheory/LegendreSymbol/AddCharacter.lean` | | |
| 107 | +| `src/New/Congruences/Selmer/Mirror.lean` | `New.Selmer.SelmerDatum.exists_linearMap_apply_eq_dualSelmer_conj` | `Module.FinitePresentation.exists_lift_of_isLocalizedModule` | `Mathlib/Algebra/Module/FinitePresentation.lean` | | |
| 108 | +| `src/New/Derivatives/Field/WeilData.lean` | `New.Parameters.norm_zeta_sub_one_eq_one` | `IsPrimitiveRoot.norm_toInteger_sub_one_eq_one` | `Mathlib/NumberTheory/NumberField/Cyclotomic/Basic.lean` | | |
| 109 | +| `src/New/Spanning/Bessel/GramSection.lean` | `IsBoundedInCell.isUnit_det_and_norm_inv_le` | `Units.add` | `Mathlib/Analysis/Normed/Ring/Units.lean` | | |
| 110 | +| `src/New/Spanning/Bessel/GramSection.lean` | `New.RealPlace.norm_fderiv_sectionMatrix_le` | `Complex.norm_fderiv_le_div_of_mapsTo_ball` | `Mathlib/Analysis/Complex/Schwarz.lean` | | |
| 111 | +| `src/New/Spanning/RemainingTerms/OneRealPlace.lean` | `New.RealPlace.norm_det_subframeBlock` | `Matrix.mulVec_cramer` | `Mathlib/LinearAlgebra/Matrix/Adjugate.lean` | | |
| 112 | +| `src/New/Spanning/SecondMoment/PositiveType.lean` | `New.card_mul_sum_det_eq_zero_le` | `AddChar.expect_eq_ite` | `Mathlib/Analysis/Fourier/FiniteAbelian/Orthogonality.lean` | | |
| 113 | +| `src/New/UpperBound/Seesaw/IntegralAsCosetSum.lean` | `New.Seesaw.exists_index_dvd_pow_of_pow_mem` | `IsPGroup.index` | `Mathlib/GroupTheory/PGroup.lean` | | |
| 114 | + | |
| 115 | +## Copyright and author lines of these Mathlib files | |
| 116 | + | |
| 117 | +| Mathlib file | copyright | authors | | |
| 118 | +|---|---|---| | |
| 119 | +| `Mathlib/Algebra/Algebra/Defs.lean` | Copyright (c) 2018 Kenny Lau. All rights reserved. | Authors: Kenny Lau, Yury Kudryashov | | |
| 120 | +| `Mathlib/Algebra/Algebra/RestrictScalars.lean` | Copyright (c) 2018 Kenny Lau. All rights reserved. | Authors: Kenny Lau, Yury Kudryashov | | |
| 121 | +| `Mathlib/Algebra/DirectSum/LinearMap.lean` | Copyright (c) 2023 Oliver Nash. All rights reserved. | Authors: Oliver Nash | | |
| 122 | +| `Mathlib/Algebra/Group/Action/Prod.lean` | Copyright (c) 2018 Simon Hudon. All rights reserved. | Authors: Simon Hudon, Patrick Massot, Eric Wieser | | |
| 123 | +| `Mathlib/Algebra/Group/Submonoid/Operations.lean` | Copyright (c) 2018 Johannes Hölzl. All rights reserved. | Authors: Johannes Hölzl, Kenny Lau, Johan Commelin, Mario Carneiro, Kevin Buzzard, Amelia Livingston, Yury Kudryashov | | |
| 124 | +| `Mathlib/Algebra/Homology/CommSq.lean` | Copyright (c) 2024 Joël Riou. All rights reserved. | Authors: Joël Riou | | |
| 125 | +| `Mathlib/Algebra/Homology/DerivedCategory/Ext/EnoughInjectives.lean` | Copyright (c) 2025 Joël Riou. All rights reserved. | Authors: Joël Riou | | |
| 126 | +| `Mathlib/Algebra/Homology/DerivedCategory/Ext/MapBijective.lean` | Copyright (c) 2025 Nailin Guan. All rights reserved. | Authors: Nailin Guan | | |
| 127 | +| `Mathlib/Algebra/Module/FinitePresentation.lean` | Copyright (c) 2024 Andrew Yang. All rights reserved. | Authors: Andrew Yang | | |
| 128 | +| `Mathlib/Algebra/Module/ZLattice/Basic.lean` | Copyright (c) 2023 Xavier Roblot. All rights reserved. | Authors: Xavier Roblot | | |
| 129 | +| `Mathlib/Algebra/Module/ZLattice/Covolume.lean` | Copyright (c) 2024 Xavier Roblot. All rights reserved. | Authors: Xavier Roblot | | |
| 130 | +| `Mathlib/Algebra/Regular/SMul.lean` | Copyright (c) 2021 Damiano Testa. All rights reserved. | Authors: Damiano Testa | | |
| 131 | +| `Mathlib/AlgebraicGeometry/Group/Smooth.lean` | Copyright (c) 2026 Andrew Yang. All rights reserved. | Authors: Andrew Yang | | |
| 132 | +| `Mathlib/AlgebraicGeometry/Morphisms/Flat.lean` | Copyright (c) 2024 Christian Merten. All rights reserved. | Authors: Christian Merten, Andrew Yang | | |
| 133 | +| `Mathlib/AlgebraicGeometry/Morphisms/Separated.lean` | Copyright (c) 2024 Christian Merten. All rights reserved. | Authors: Christian Merten, Andrew Yang | | |
| 134 | +| `Mathlib/AlgebraicGeometry/Morphisms/Smooth.lean` | Copyright (c) 2024 Christian Merten. All rights reserved. | Authors: Christian Merten | | |
| 135 | +| `Mathlib/AlgebraicGeometry/Morphisms/SmoothFiber.lean` | Copyright (c) 2026 Christian Merten. All rights reserved. | Authors: Christian Merten | | |
| 136 | +| `Mathlib/AlgebraicGeometry/PointsPi.lean` | Copyright (c) 2024 Andrew Yang. All rights reserved. | Authors: Andrew Yang | | |
| 137 | +| `Mathlib/AlgebraicGeometry/Stalk.lean` | Copyright (c) 2024 Andrew Yang. All rights reserved. | Authors: Andrew Yang, Fangming Li | | |
| 138 | +| `Mathlib/AlgebraicGeometry/ValuativeCriterion.lean` | Copyright (c) 2024 Andrew Yang, Qi Ge, Christian Merten. All rights reserved. | Authors: Andrew Yang, Qi Ge, Christian Merten | | |
| 139 | +| `Mathlib/Analysis/Calculus/LogDeriv.lean` | Copyright (c) 2024 Chris Birkbeck. All rights reserved. | Authors: Chris Birkbeck | | |
| 140 | +| `Mathlib/Analysis/Calculus/ParametricIntegral.lean` | Copyright (c) 2021 Patrick Massot. All rights reserved. | Authors: Patrick Massot | | |
| 141 | +| `Mathlib/Analysis/Complex/Circle.lean` | Copyright (c) 2021 Heather Macbeth. All rights reserved. | Authors: Heather Macbeth | | |
| 142 | +| `Mathlib/Analysis/Complex/Schwarz.lean` | Copyright (c) 2022 Yury Kudryashov. All rights reserved. | Authors: Yury Kudryashov | | |
| 143 | +| `Mathlib/Analysis/Fourier/AddCircleMulti.lean` | Copyright (c) 2023 David Loeffler. All rights reserved. | Authors: David Loeffler | | |
| 144 | +| `Mathlib/Analysis/Fourier/FiniteAbelian/Orthogonality.lean` | Copyright (c) 2023 Yaël Dillies, Bhavik Mehta. All rights reserved. | Authors: Yaël Dillies, Bhavik Mehta | | |
| 145 | +| `Mathlib/Analysis/Matrix/LDL.lean` | Copyright (c) 2022 Alexander Bentkamp. All rights reserved. | Authors: Alexander Bentkamp | | |
| 146 | +| `Mathlib/Analysis/Matrix/Order.lean` | Copyright (c) 2025 Monica Omar. All rights reserved. | Authors: Monica Omar | | |
| 147 | +| `Mathlib/Analysis/Normed/Ring/Units.lean` | Copyright (c) 2020 Heather Macbeth. All rights reserved. | Authors: Heather Macbeth | | |
| 148 | +| `Mathlib/CategoryTheory/Monoidal/Cartesian/CommGrp_.lean` | Copyright (c) 2025 Yaël Dillies. All rights reserved. | Authors: Yaël Dillies | | |
| 149 | +| `Mathlib/CategoryTheory/Monoidal/CommMon_.lean` | Copyright (c) 2020 Kim Morrison. All rights reserved. | Authors: Kim Morrison | | |
| 150 | +| `Mathlib/CategoryTheory/Yoneda.lean` | Copyright (c) 2017 Kim Morrison. All rights reserved. | Authors: Kim Morrison | | |
| 151 | +| `Mathlib/Data/Int/CardIntervalMod.lean` | Copyright (c) 2024 Jeremy Tan. All rights reserved. | Authors: Jeremy Tan | | |
| 152 | +| `Mathlib/Data/Matrix/Block.lean` | Copyright (c) 2018 Ellen Arlt. All rights reserved. | Authors: Ellen Arlt, Blair Shi, Sean Leather, Mario Carneiro, Johan Commelin | | |
| 153 | +| `Mathlib/Data/Matrix/Composition.lean` | Copyright (c) 2024 Yunzhou Xie. All rights reserved. | Authors: Kevin Buzzard, Yunzhou Xie, Eric Wieser | | |
| 154 | +| `Mathlib/FieldTheory/IsAlgClosed/Classification.lean` | Copyright (c) 2022 Chris Hughes. All rights reserved. | Authors: Chris Hughes | | |
| 155 | +| `Mathlib/FieldTheory/KummerPolynomial.lean` | Copyright (c) 2023 Andrew Yang, Patrick Lutz. All rights reserved. | Authors: Andrew Yang | | |
| 156 | +| `Mathlib/Geometry/Manifold/BumpFunction.lean` | Copyright (c) 2021 Yury Kudryashov. All rights reserved. | Authors: Yury Kudryashov | | |
| 157 | +| `Mathlib/Geometry/Manifold/PartitionOfUnity.lean` | Copyright (c) 2021 Yury Kudryashov. All rights reserved. | Authors: Yury Kudryashov | | |
| 158 | +| `Mathlib/GroupTheory/GroupAction/Quotient.lean` | Copyright (c) 2018 Chris Hughes. All rights reserved. | Authors: Chris Hughes, Thomas Browning | | |
| 159 | +| `Mathlib/GroupTheory/Index.lean` | Copyright (c) 2021 Thomas Browning. All rights reserved. | Authors: Thomas Browning | | |
| 160 | +| `Mathlib/GroupTheory/IndexNSmul.lean` | Copyright (c) 2026 Michael Stoll. All rights reserved. | Authors: Michael Stoll | | |
| 161 | +| `Mathlib/GroupTheory/NoncommPiCoprod.lean` | Copyright (c) 2022 Joachim Breitner. All rights reserved. | Authors: Joachim Breitner | | |
| 162 | +| `Mathlib/GroupTheory/PGroup.lean` | Copyright (c) 2018 Chris Hughes. All rights reserved. | Authors: Chris Hughes, Thomas Browning, Snir Broshi | | |
| 163 | +| `Mathlib/GroupTheory/Perm/Fin.lean` | Copyright (c) 2021 Eric Wieser. All rights reserved. | Authors: Eric Wieser, Yi Yuan | | |
| 164 | +| `Mathlib/GroupTheory/Transfer.lean` | Copyright (c) 2022 Thomas Browning. All rights reserved. | Authors: Thomas Browning | | |
| 165 | +| `Mathlib/LinearAlgebra/Determinant.lean` | Copyright (c) 2019 Johannes Hölzl. All rights reserved. | Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen | | |
| 166 | +| `Mathlib/LinearAlgebra/ExteriorAlgebra/Basic.lean` | Copyright (c) 2020 Adam Topaz. All rights reserved. | Authors: Zhangir Azerbayev, Adam Topaz, Eric Wieser | | |
| 167 | +| `Mathlib/LinearAlgebra/FreeModule/Finite/Quotient.lean` | Copyright (c) 2025 Xavier Roblot. All rights reserved. | Authors: Anne Baanen, Xavier Roblot | | |
| 168 | +| `Mathlib/LinearAlgebra/Matrix/Adjugate.lean` | Copyright (c) 2019 Anne Baanen. All rights reserved. | Authors: Anne Baanen | | |
| 169 | +| `Mathlib/LinearAlgebra/Matrix/Charpoly/Basic.lean` | Copyright (c) 2020 Kim Morrison. All rights reserved. | Authors: Kim Morrison | | |
| 170 | +| `Mathlib/LinearAlgebra/Matrix/Charpoly/Univ.lean` | Copyright (c) 2024 Johan Commelin. All rights reserved. | Authors: Johan Commelin | | |
| 171 | +| `Mathlib/LinearAlgebra/Matrix/GeneralLinearGroup/Defs.lean` | Copyright (c) 2021 Chris Birkbeck. All rights reserved. | Authors: Chris Birkbeck | | |
| 172 | +| `Mathlib/LinearAlgebra/PiTensorProduct/Generators.lean` | Copyright (c) 2026 Joël Riou. All rights reserved. | Authors: Joël Riou | | |
| 173 | +| `Mathlib/LinearAlgebra/Trace.lean` | Copyright (c) 2019 Johannes Hölzl. All rights reserved. | Authors: Johannes Hölzl, Patrick Massot, Casper Putz, Anne Baanen, Antoine Labelle | | |
| 174 | +| `Mathlib/MeasureTheory/Constructions/HaarToSphere.lean` | Copyright (c) 2023 Yury Kudryashov. All rights reserved. | Authors: Yury Kudryashov | | |
| 175 | +| `Mathlib/MeasureTheory/Constructions/Pi.lean` | Copyright (c) 2020 Floris van Doorn. All rights reserved. | Authors: Floris van Doorn | | |
| 176 | +| `Mathlib/MeasureTheory/Covering/BesicovitchVectorSpace.lean` | Copyright (c) 2021 Sébastien Gouëzel. All rights reserved. | Authors: Sébastien Gouëzel | | |
| 177 | +| `Mathlib/MeasureTheory/Group/Prod.lean` | Copyright (c) 2021 Floris van Doorn. All rights reserved. | Authors: Floris van Doorn | | |
| 178 | +| `Mathlib/MeasureTheory/Integral/Bochner/Set.lean` | Copyright (c) 2020 Zhouhang Zhou. All rights reserved. | Authors: Zhouhang Zhou, Yury Kudryashov | | |
| 179 | +| `Mathlib/MeasureTheory/Integral/Pi.lean` | Copyright (c) 2023 Xavier Roblot. All rights reserved. | Authors: Xavier Roblot | | |
| 180 | +| `Mathlib/MeasureTheory/Measure/Typeclasses/Finite.lean` | Copyright (c) 2017 Johannes Hölzl. All rights reserved. | Authors: Johannes Hölzl, Mario Carneiro | | |
| 181 | +| `Mathlib/NumberTheory/Cyclotomic/CyclotomicCharacter.lean` | Copyright (c) 2023 Hanneke Wiersema. All rights reserved. | Authors: Kevin Buzzard, Hanneke Wiersema, Andrew Yang | | |
| 182 | +| `Mathlib/NumberTheory/Cyclotomic/PrimitiveRoots.lean` | Copyright (c) 2022 Riccardo Brasca. All rights reserved. | Authors: Alex J. Best, Riccardo Brasca, Eric Rodriguez | | |
| 183 | +| `Mathlib/NumberTheory/LSeries/DirichletContinuation.lean` | Copyright (c) 2024 David Loeffler. All rights reserved. | Authors: David Loeffler, Michael Stoll | | |
| 184 | +| `Mathlib/NumberTheory/LSeries/PrimesInAP.lean` | Copyright (c) 2024 Michael Stoll. All rights reserved. | Authors: Michael Stoll | | |
| 185 | +| `Mathlib/NumberTheory/LSeries/SumCoeff.lean` | Copyright (c) 2025 Xavier Roblot. All rights reserved. | Authors: Xavier Roblot | | |
| 186 | +| `Mathlib/NumberTheory/LegendreSymbol/AddCharacter.lean` | Copyright (c) 2022 Michael Stoll. All rights reserved. | Authors: Michael Stoll | | |
| 187 | +| `Mathlib/NumberTheory/MahlerMeasure.lean` | Copyright (c) 2025 Fabrizio Barroero. All rights reserved. | Authors: Fabrizio Barroero | | |
| 188 | +| `Mathlib/NumberTheory/ModularForms/EisensteinSeries/IsBoundedAtImInfty.lean` | Copyright (c) 2024 Chris Birkbeck. All rights reserved. | Authors: Chris Birkbeck | | |
| 189 | +| `Mathlib/NumberTheory/ModularForms/LevelOne/DimensionFormula.lean` | Copyright (c) 2026 Chris Birkbeck. All rights reserved. | Authors: Chris Birkbeck | | |
| 190 | +| `Mathlib/NumberTheory/ModularForms/QExpansion.lean` | Copyright (c) 2024 David Loeffler. All rights reserved. | Authors: David Loeffler | | |
| 191 | +| `Mathlib/NumberTheory/NumberField/CMField.lean` | Copyright (c) 2025 X. Roblot. All rights reserved. | Authors: Xavier Roblot | | |
| 192 | +| `Mathlib/NumberTheory/NumberField/Cyclotomic/Basic.lean` | Copyright (c) 2022 Riccardo Brasca. All rights reserved. | Authors: Riccardo Brasca | | |
| 193 | +| `Mathlib/NumberTheory/NumberField/Cyclotomic/Ideal.lean` | Copyright (c) 2025 Xavier Roblot. All rights reserved. | Authors: Xavier Roblot | | |
| 194 | +| `Mathlib/NumberTheory/NumberField/Discriminant/Different.lean` | Copyright (c) 2025 Andrew Yang. All rights reserved. | Authors: Andrew Yang | | |
| 195 | +| `Mathlib/NumberTheory/NumberField/InfinitePlace/Basic.lean` | Copyright (c) 2022 Xavier Roblot. All rights reserved. | Authors: Xavier Roblot | | |
| 196 | +| `Mathlib/NumberTheory/Padics/Complex.lean` | Copyright (c) 2025 María Inés de Frutos-Fernández. All rights reserved. | Authors: María Inés de Frutos-Fernández | | |
| 197 | +| `Mathlib/NumberTheory/Padics/PadicNumbers.lean` | Copyright (c) 2018 Robert Y. Lewis. All rights reserved. | Authors: Robert Y. Lewis | | |
| 198 | +| `Mathlib/NumberTheory/PrimesCongruentOne.lean` | Copyright (c) 2020 Riccardo Brasca. All rights reserved. | Authors: Riccardo Brasca | | |
| 199 | +| `Mathlib/NumberTheory/RamificationInertia/Basic.lean` | Copyright (c) 2022 Anne Baanen. All rights reserved. | Authors: Anne Baanen | | |
| 200 | +| `Mathlib/NumberTheory/RamificationInertia/Galois.lean` | Copyright (c) 2024 Yongle Hu. All rights reserved. | Authors: Yongle Hu, Jiedong Jiang | | |
| 201 | +| `Mathlib/Order/Extension/Well.lean` | Copyright (c) 2022 Yaël Dillies, Junyan Xu. All rights reserved. | Authors: Yaël Dillies, Junyan Xu | | |
| 202 | +| `Mathlib/Order/Northcott.lean` | Copyright (c) 2026 Thomas Browning. All rights reserved. | Authors: Thomas Browning | | |
| 203 | +| `Mathlib/Probability/ProductMeasure.lean` | Copyright (c) 2025 Etienne Marion. All rights reserved. | Authors: Etienne Marion | | |
| 204 | +| `Mathlib/RepresentationTheory/Coinduced.lean` | Copyright (c) 2025 Amelia Livingston. All rights reserved. | Authors: Amelia Livingston | | |
| 205 | +| `Mathlib/RepresentationTheory/Invariants.lean` | Copyright (c) 2022 Antoine Labelle. All rights reserved. | Authors: Antoine Labelle | | |
| 206 | +| `Mathlib/RingTheory/DedekindDomain/Different.lean` | Copyright (c) 2023 Andrew Yang. All rights reserved. | Authors: Andrew Yang | | |
| 207 | +| `Mathlib/RingTheory/DedekindDomain/SelmerGroup.lean` | Copyright (c) 2022 David Kurniadi Angdinata. All rights reserved. | Authors: David Kurniadi Angdinata | | |
| 208 | +| `Mathlib/RingTheory/Etale/Field.lean` | Copyright (c) 2024 Andrew Yang. All rights reserved. | Authors: Andrew Yang | | |
| 209 | +| `Mathlib/RingTheory/Flat/Stability.lean` | Copyright (c) 2024 Christian Merten. All rights reserved. | Authors: Christian Merten | | |
| 210 | +| `Mathlib/RingTheory/Ideal/KrullsHeightTheorem.lean` | Copyright (c) 2025 Andrew Yang. All rights reserved. | Authors: Wanyi He, Jiedong Jiang, Christian Merten, Jingting Wang, Andrew Yang, Shouxin Zhang | | |
| 211 | +| `Mathlib/RingTheory/Jacobson/Ring.lean` | Copyright (c) 2020 Devon Tuma. All rights reserved. | Authors: Devon Tuma | | |
| 212 | +| `Mathlib/RingTheory/KrullDimension/LocalRing.lean` | Copyright (c) 2025 Jingting Wang. All rights reserved. | Authors: Jingting Wang | | |
| 213 | +| `Mathlib/RingTheory/LinearDisjoint.lean` | Copyright (c) 2024 Jz Pan. All rights reserved. | Authors: Jz Pan | | |
| 214 | +| `Mathlib/RingTheory/MvPolynomial/Homogeneous.lean` | Copyright (c) 2020 Johan Commelin. All rights reserved. | Authors: Johan Commelin, Eric Wieser | | |
| 215 | +| `Mathlib/RingTheory/MvPowerSeries/Equiv.lean` | Copyright (c) 2026 Bingyu Xia. All rights reserved. | Authors: Bingyu Xia, Wenrong Zou | | |
| 216 | +| `Mathlib/RingTheory/MvPowerSeries/Substitution.lean` | Copyright (c) 2024 Antoine Chambert-Loir, María Inés de Frutos Fernández. All rights reserved. | Authors: Antoine Chambert-Loir, María Inés de Frutos Fernández | | |
| 217 | +| `Mathlib/RingTheory/Nullstellensatz.lean` | Copyright (c) 2021 Devon Tuma. All rights reserved. | Authors: Devon Tuma | | |
| 218 | +| `Mathlib/RingTheory/Perfection.lean` | Copyright (c) 2020 Kenny Lau. All rights reserved. | Authors: Kenny Lau | | |
| 219 | +| `Mathlib/RingTheory/Perfectoid/BDeRham.lean` | Copyright (c) 2025 Jiedong Jiang. All rights reserved. | Authors: Jiedong Jiang | | |
| 220 | +| `Mathlib/RingTheory/Polynomial/GaussLemma.lean` | Copyright (c) 2020 Aaron Anderson. All rights reserved. | Authors: Aaron Anderson | | |
| 221 | +| `Mathlib/RingTheory/Polynomial/UniversalFactorizationRing.lean` | Copyright (c) 2025 Andrew Yang. All rights reserved. | Authors: Andrew Yang | | |
| 222 | +| `Mathlib/RingTheory/PowerSeries/Derivative.lean` | Copyright (c) 2023 Richard M. Hill. All rights reserved. | Authors: Richard M. Hill, Ralf Stephan | | |
| 223 | +| `Mathlib/RingTheory/RamificationInertia/Basic.lean` | Copyright (c) 2026 Thomas Browning. All rights reserved. | Authors: Thomas Browning | | |
| 224 | +| `Mathlib/RingTheory/Regular/IsSMulRegular.lean` | Copyright (c) 2024 Brendan Murphy. All rights reserved. | Authors: Brendan Murphy | | |
| 225 | +| `Mathlib/RingTheory/Unramified/Dedekind.lean` | Copyright (c) 2026 Thomas Browning. All rights reserved. | Authors: Thomas Browning | | |
| 226 | +| `Mathlib/RingTheory/Valuation/LocalSubring.lean` | Copyright (c) 2024 Andrew Yang, Yaël Dillies, Javier López-Contreras, Daniel Funck, Junyan Xu. All rights reserved. | Authors: Andrew Yang, Yaël Dillies, Javier López-Contreras, Daniel Funck, Junyan Xu | | |
| 227 | +| `Mathlib/RingTheory/WittVector/IsPoly.lean` | Copyright (c) 2020 Johan Commelin. All rights reserved. | Authors: Johan Commelin, Robert Y. Lewis | | |
| 228 | +| `Mathlib/RingTheory/WittVector/TeichmullerSeries.lean` | Copyright (c) 2025 Jiedong Jiang. All rights reserved. | Authors: Jiedong Jiang | | |
| 229 | +| `Mathlib/Topology/Algebra/ClopenNhdofOne.lean` | Copyright (c) 2024 Nailin Guan. All rights reserved. | Authors: Nailin Guan, Yi Song, Xuchun Li, Bryan Wang | | |
| 230 | +| `Mathlib/Topology/Algebra/Module/Basic.lean` | Copyright (c) 2019 Sébastien Gouëzel. All rights reserved. | Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo, Yury Kudryashov, Frédéric Dupuis, Heather Macbeth | | |
| 231 | +| `Mathlib/Topology/Algebra/Valued/WithZeroMulInt.lean` | Copyright (c) 2025 Salvatore Mercuri. All rights reserved. | Authors: Salvatore Mercuri | | |
| 232 | +| `Mathlib/Topology/Compactness/SigmaCompact.lean` | Copyright (c) 2017 Johannes Hölzl. All rights reserved. | Authors: Johannes Hölzl, Mario Carneiro, Yury Kudryashov | | |
| 233 | +| `Mathlib/Topology/DenseEmbedding.lean` | Copyright (c) 2019 Reid Barton. All rights reserved. | Authors: Johannes Hölzl, Mario Carneiro, Patrick Massot | | |
| 234 | +| `Mathlib/Topology/Maps/Proper/Basic.lean` | Copyright (c) 2023 Anatole Dedecker. All rights reserved. | Authors: Anatole Dedecker, Etienne Marion | | |
+1241 −0 CONTENTS.md added View file
| @@ -0,0 +1,1241 @@ | ||
| 1 | +# Contents | |
| 2 | + | |
| 3 | +`New` is listed in the order of the argument, `Lib` by subject. Inside a folder, a file comes after the files it imports. The number is the count of code lines. | |
| 4 | + | |
| 5 | +The heads of these files give an overview of a theory: `Lib/ClassField/Global/ArtinReciprocity`, `Lib/PadicHodge/Limit/TraceLimit`, `Lib/Cyclotomic/OddSha`, `Lib/PadicHodge/Kisin/FrameTheorem`, `Lib/Cohomology/WoodsHole`, `Lib/PadicComparison/CrystallineFrobenius`, `Lib/Shimura/Eigenspace`, `Lib/GaloisRep/Main/AllRanks`. | |
| 6 | + | |
| 7 | +## New | |
| 8 | + | |
| 9 | +### The theorem and its reduction | |
| 10 | + | |
| 11 | +**From a one-sided bound to the zeros** | |
| 12 | + | |
| 13 | +- `New/Reduction/Zeros/PrimeError` (293): A weighted prime-counting error term and its poles at zeros of L-functions | |
| 14 | +- `New/Reduction/Zeros/Criterion` (53): The one-sided criterion for a zero-free half-plane | |
| 15 | +- `New/Reduction/Zeros/PrimeNumberTheorem` (151): The prime number theorem for the remainders `R_q` | |
| 16 | + | |
| 17 | +**Lattices, colength and heights** | |
| 18 | + | |
| 19 | +- `New/Reduction/Lattices/Colength` (147): Colength of modules, and endomorphisms surjective up to a bounded colength | |
| 20 | +- `New/Reduction/Lattices/Heights` (108): Height bounds for families over pairs | |
| 21 | +- `New/Reduction/Lattices/TwistedLattice` (291): Twisted lattices | |
| 22 | + | |
| 23 | +**The data** | |
| 24 | + | |
| 25 | +- `New/Reduction/Data/FieldsAndPlaces` (267): The parameters q₀ and d, the field E = K(ζ), its infinite places and its roots of unity | |
| 26 | +- `New/Reduction/Data/AdmissibleData` (162): Admissible data | |
| 27 | +- `New/Reduction/Data/Magnitudes` (332): Logarithmic bounds for the sizes of the data | |
| 28 | +- `New/Reduction/Data/Existence` (640): Admissible data exist at every large x | |
| 29 | +- `New/Reduction/Data/LevelAndTwists` (177): Weight bounds, the level N, and twists and m-fold twists for chains of lifts | |
| 30 | +- `New/Reduction/Data/Sizes` (113): Sizes of the data | |
| 31 | + | |
| 32 | +**Three theorems and the main inequality** | |
| 33 | + | |
| 34 | +- `New/Reduction/PrimeSums` (185): Prime sums: main amount, expected value and total remainder | |
| 35 | +- `New/Reduction/IntegralTargetForms` (51): The target forms as a twisted lattice | |
| 36 | +- `New/Reduction/ShortAndEnough` (273): Theorem A (short forms) and Theorem B (enough forms) | |
| 37 | +- `New/Reduction/MainInequality` (65): The main inequality | |
| 38 | +- `New/Reduction/OneSidedBound` (199): The one-sided bound, and the theorem in half-plane form | |
| 39 | + | |
| 40 | +### Derivatives of theta functions | |
| 41 | + | |
| 42 | +**Derivatives that count primes** | |
| 43 | + | |
| 44 | +- `New/Derivatives/Divisibility/NullFrames` (297): The change of directions | |
| 45 | +- `New/Derivatives/Divisibility/NormalForm` (280): Couplings and the normal form | |
| 46 | +- `New/Derivatives/Divisibility/Count` (522): Divisibility of the jets of a series with the normal form along products of minors | |
| 47 | + | |
| 48 | +**The field and its characters** | |
| 49 | + | |
| 50 | +- `New/Derivatives/Field/PrimeDecomposition` (533): Different and prime decomposition of the CM field E = K(ζ) | |
| 51 | +- `New/Derivatives/Field/WeilData` (332): Weil data of the CM field E = K(ζ) and the number s₀ | |
| 52 | +- `New/Derivatives/Field/ChosenPlaces` (236): Chosen places, characters of given weight, finiteness of pairs and sizes of the different | |
| 53 | + | |
| 54 | +**The formal group and the exponential factor** | |
| 55 | + | |
| 56 | +- `New/Derivatives/FormalGroup/FrobeniusCongruence` (294): Frobenius congruence for `θ` and the coefficient of `z ^ (p - 1)` in `x` | |
| 57 | +- `New/Derivatives/FormalGroup/Exponent` (517): The exponent on one curve | |
| 58 | +- `New/Derivatives/FormalGroup/Resolution` (127): Resolutions of the identity and power series in the compositions `y(μ_i z)` | |
| 59 | +- `New/Derivatives/FormalGroup/ThetaProducts` (300): The normal form of theta products at non-split primes | |
| 60 | + | |
| 61 | +**The integral vacuum** | |
| 62 | + | |
| 63 | +- `New/Derivatives/Vacuum/TightFrames` (558): Scale of theta Taylor series, tight frames, jet series along lines | |
| 64 | +- `New/Derivatives/Vacuum/IntegralVacuum` (357): The integral vacuum θ°: integrality and bounds of its values, standard data at p | |
| 65 | +- `New/Derivatives/Vacuum/JetIntegrality` (191): Integrality of jets of theta products and stability of standard data | |
| 66 | +- `New/Derivatives/Vacuum/Scale` (77): The scale of the Taylor series of a vector | |
| 67 | +- `New/Derivatives/Vacuum/ShortVectors` (538): Tight frames in `𝔞₀` | |
| 68 | +- `New/Derivatives/Vacuum/StandardDataProducts` (355): Standard data as products of theta functions of the curve | |
| 69 | +- `New/Derivatives/Vacuum/Divisibility` (133): Integrality and divisibility of the derivatives of standard data | |
| 70 | + | |
| 71 | +**The bound is attained** | |
| 72 | + | |
| 73 | +- `New/Derivatives/Sharpness/OneCurve` (231): Derivatives of integral expansions | |
| 74 | +- `New/Derivatives/Sharpness/LeastValuation` (386): Least valuations of coefficients of theta products | |
| 75 | +- `New/Derivatives/Sharpness/Couplings` (404): Least valuations along couplings | |
| 76 | +- `New/Derivatives/Sharpness/NearPairs` (275): Near pairs of `b`-places and the losses in the sharpness bound | |
| 77 | +- `New/Derivatives/Sharpness/Cases` (443): The valuation bound `v(l!) + val₁₂(l) ≤ S_p + 2 ∑ v(B_τ)` for every prime | |
| 78 | +- `New/Derivatives/Sharpness/BoundAttained` (283): Sharpness of the valuation bound | |
| 79 | + | |
| 80 | +### Upper bound: a composite lift | |
| 81 | + | |
| 82 | +**Theta kernels between definite spaces** | |
| 83 | + | |
| 84 | +- `New/UpperBound/Kernels/JetConjugatesAndBounds` (550): Galois conjugates of jets of theta functions and archimedean bounds for jets | |
| 85 | +- `New/UpperBound/Kernels/ThetaLiftGauge` (326): p-adic gauge bounds for one theta lift and data from functions modulo an ideal | |
| 86 | +- `New/UpperBound/Kernels/DefiniteKernelSize` (222): Rational equivariance, integrality and size of definite theta kernels | |
| 87 | + | |
| 88 | +**Source forms, target forms and chains of lifts** | |
| 89 | + | |
| 90 | +- `New/UpperBound/Objects/InsertBlock` (194): Inserting a block into a parameter | |
| 91 | +- `New/UpperBound/Objects/LiftLawsModuloN` (570): Direct and mirror data modulo `N`, and the operator `Up` | |
| 92 | +- `New/UpperBound/Objects/AuxiliaryPair` (633): Descent pairs: descent data for theta lifts to definite unitary groups | |
| 93 | +- `New/UpperBound/Objects/LabelsAndIndexTypes` (202): Good labels, index types of hermitian spaces, the group 𝖦 and idempotent e₀ | |
| 94 | +- `New/UpperBound/Objects/Weights` (384): Harish-Chandra parameters, weights and lift diagrams of the definite spaces | |
| 95 | +- `New/UpperBound/Objects/LiftChains` (361): Chains of theta lifts, jointly invariant combinations, and free levels | |
| 96 | +- `New/UpperBound/Objects/Parameters` (669): Index sets, signs and parameters of the grids; the parameters of every step correspond | |
| 97 | +- `New/UpperBound/Objects/Columns` (566): Levels of the chain, chain data, and the composite lift | |
| 98 | +- `New/UpperBound/Objects/Rows` (549): Spaces Y_j and W_j, the forms on them, and the target parameter | |
| 99 | +- `New/UpperBound/Objects/RowChain` (290): The chain of theta lifts ι_μ along the spaces Y_j: level, character and 𝖦-equivariance | |
| 100 | +- `New/UpperBound/Objects/PoincareMap` (157): The Poincaré map | |
| 101 | +- `New/UpperBound/Objects/CharactersAtLevel` (102): Characters of the lifts of the chain above the level N | |
| 102 | + | |
| 103 | +**The seesaw identity** | |
| 104 | + | |
| 105 | +- `New/UpperBound/Seesaw/IntegralAsCosetSum` (280): Integrals over a quotient as finite sums over cosets with controlled multiplicity | |
| 106 | +- `New/UpperBound/Seesaw/AdmissibleCombinations` (529): Graded lattices, integrality away from q and admissible combinations of translates | |
| 107 | +- `New/UpperBound/Seesaw/StandardLines` (370): The standard lattice of a graded space, line by line | |
| 108 | +- `New/UpperBound/Seesaw/GluedLevel` (88): Congruence levels inside the stabilizer of a glued lattice | |
| 109 | +- `New/UpperBound/Seesaw/Sandwich` (163): Bounds for the lattices of points on graded spaces | |
| 110 | +- `New/UpperBound/Seesaw/EdgePairEvaluation` (743): Finite zero terms and the evaluation of pairs of edges in the tower of spaces `Y_k` | |
| 111 | +- `New/UpperBound/Seesaw/Frequency` (211): The shift at a nonzero constant term maps lattices into lattices | |
| 112 | +- `New/UpperBound/Seesaw/LevelIdeles` (76): Valuations of the chosen ideles, and lattices and levels at the chosen places | |
| 113 | +- `New/UpperBound/Seesaw/NeighbourLattice` (665): The neighbour lattice of a pair of edges | |
| 114 | +- `New/UpperBound/Seesaw/NeighbourVacuum` (227): The vacuum of the neighbour lattice | |
| 115 | +- `New/UpperBound/Seesaw/AdmissibleEvaluation` (479): Finite evaluation of edge pairs takes translates of the vacuum to admissible combinations | |
| 116 | +- `New/UpperBound/Seesaw/GoodDatum` (373): Evaluated data as admissible combinations of glued translates of the vacuum | |
| 117 | +- `New/UpperBound/Seesaw/UnfoldingStages` (781): Unfolding the chain of lifts: double lifts and the functions of the unfolding | |
| 118 | +- `New/UpperBound/Seesaw/Cut` (226): The outer variables: finitely many classes, with weights | |
| 119 | +- `New/UpperBound/Seesaw/SeesawIdentity` (413): The seesaw identity and the top of the chain | |
| 120 | + | |
| 121 | +**Divisibility of the composite lift** | |
| 122 | + | |
| 123 | +- `New/UpperBound/Divisibility/JetExponent` (369): A lower bound for the divisibility bound by the gain | |
| 124 | +- `New/UpperBound/Divisibility/MarkedPrimes` (294): Marked primes above `p`, full marks and the scaled Hecke operator | |
| 125 | +- `New/UpperBound/Divisibility/ChainValuation` (261): p-adic gauge bounds for chains of theta lifts and restrictions to `Y_m` | |
| 126 | +- `New/UpperBound/Divisibility/ValuationAtNonSplitPrimes` (702): Valuations of lifts at non-split primes | |
| 127 | +- `New/UpperBound/Divisibility/HeckeEdges` (575): Elementary divisor bound for the scaled Hecke operator via edges | |
| 128 | +- `New/UpperBound/Divisibility/MarkOperator` (296): Elementary divisors of one scaled Hecke operator on the integral source forms | |
| 129 | +- `New/UpperBound/Divisibility/SetupAtLevel` (205): The places `Σ_N` above N and the set-up at p = N | |
| 130 | +- `New/UpperBound/Divisibility/ChainDatumExpansion` (272): Two invariant sums of translates attached to a chain datum | |
| 131 | +- `New/UpperBound/Divisibility/ValuationAtLevel` (342): N-adic valuation of the lifts between the X_j at the level prime N | |
| 132 | +- `New/UpperBound/Divisibility/ColengthAtLevel` (193): The colength of source forms at p = N | |
| 133 | +- `New/UpperBound/Divisibility/LocalDivisibility` (312): The divisibility of the composite lift at each prime | |
| 134 | + | |
| 135 | +**Size of the composite lift; short source forms** | |
| 136 | + | |
| 137 | +- `New/UpperBound/Size/ShortColumns` (626): Prime-by-prime divisibility measures; short forms span the ramified source forms | |
| 138 | +- `New/UpperBound/Size/ClassCount` (127): Explicit bound for the number of classes in the genus | |
| 139 | +- `New/UpperBound/Size/Estimates` (244): Numerical inequalities between the parameters of the data | |
| 140 | +- `New/UpperBound/Size/ArchimedeanSize` (321): Archimedean size of the composite lift, and passage to target forms by the good projection | |
| 141 | + | |
| 142 | +**Elementary divisors of a Hecke operator** | |
| 143 | + | |
| 144 | +- `New/UpperBound/ElementaryDivisors/TwistingData` (238): Frobenius cycles, the twisted action of GL_k(W), depth and defect | |
| 145 | +- `New/UpperBound/ElementaryDivisors/RootLemma` (655): Gauss filtrations, Stepanov's count and the root lemma | |
| 146 | +- `New/UpperBound/ElementaryDivisors/InvariantAverage` (614): An average on polynomials in the entries of a matrix | |
| 147 | +- `New/UpperBound/ElementaryDivisors/Edges` (492): Edges, halfway lattices and duality | |
| 148 | +- `New/UpperBound/ElementaryDivisors/Depth` (502): Few forms have only deep translates | |
| 149 | +- `New/UpperBound/ElementaryDivisors/FrobeniusFactors` (516): The substitution by Frobenius powers of generic matrices; weight and defect | |
| 150 | +- `New/UpperBound/ElementaryDivisors/AveragingMap` (365): Averaging: removing the terms of large defect in all Levi translates at once | |
| 151 | +- `New/UpperBound/ElementaryDivisors/DefectCount` (635): The dimension of the forms of bounded defect | |
| 152 | +- `New/UpperBound/ElementaryDivisors/ElementaryDivisorTheorem` (818): Elementary divisors of the edge Hecke operator | |
| 153 | + | |
| 154 | +### Spanning: a second moment | |
| 155 | + | |
| 156 | +**The second moment and the spanning theorem** | |
| 157 | + | |
| 158 | +- `New/Spanning/SecondMoment/PositiveType` (31): Functions of positive type and singular minors | |
| 159 | +- `New/Spanning/SecondMoment/FewTranslates` (147): Few translates fill | |
| 160 | +- `New/Spanning/SecondMoment/SpanningTheorem` (202): The dimension of the target and one good translate of the Poincaré map | |
| 161 | + | |
| 162 | +**Equality of multiplicities** | |
| 163 | + | |
| 164 | +- `New/Spanning/Multiplicities/HeckeEigensystems` (283): Spherical Hecke operators away from the level, and eigensystems | |
| 165 | +- `New/Spanning/Multiplicities/EqualMultiplicities` (267): Equality of multiplicities | |
| 166 | + | |
| 167 | +**Measures and Bessel functions** | |
| 168 | + | |
| 169 | +- `New/Spanning/Bessel/Basic` (610): Bessel systems at a real place: length and norm bounds, lattice basis, discriminant | |
| 170 | +- `New/Spanning/Bessel/GramSection` (437): The Gram section γ_Z of the frame Gram matrix map on the unitary group G₁ | |
| 171 | +- `New/Spanning/Bessel/Orthonormality` (142): Normalisation of a Bessel function and of its cut | |
| 172 | +- `New/Spanning/Bessel/MeanValue` (391): The mean value inequality over the Gram matrix of two frames | |
| 173 | +- `New/Spanning/Bessel/SobolevBound` (454): Unfolding bounds over G₁ and the L² bound at the section γ_Z via Sobolev | |
| 174 | +- `New/Spanning/Bessel/Average` (89): The group of the Bessel period at a real place | |
| 175 | +- `New/Spanning/Bessel/OpenCellBound` (459): Bounds near a point of Ω and the open cell bound for a Bessel system | |
| 176 | +- `New/Spanning/Bessel/OpenCellPairing` (170): One pairing on the open cell, at all places together | |
| 177 | +- `New/Spanning/Bessel/LargeFunction` (501): Bessel systems of discrete series type and a Bessel function large at a point | |
| 178 | +- `New/Spanning/Bessel/CutTailBound` (308): The Bessel function at a real place: decay and cut | |
| 179 | +- `New/Spanning/Bessel/SchurBound` (208): Schur's bound for a Bessel function and its derivatives | |
| 180 | +- `New/Spanning/Bessel/FillingData` (370): Filling data from admissible data, with Bessel systems at the real places | |
| 181 | + | |
| 182 | +**Unfolding, and the proof of the moments** | |
| 183 | + | |
| 184 | +- `New/Spanning/Unfolding/Setup` (336): The data, standing hypotheses and amplitudes of the filling theorem | |
| 185 | +- `New/Spanning/Unfolding/BesselLevelStructure` (560): Bessel data: level subgroup, Eichler maps and strong approximation for the unipotent group | |
| 186 | +- `New/Spanning/Unfolding/Terms` (360): Near terms in the filling theorem: frames, cell ranks, nearness and integrality | |
| 187 | +- `New/Spanning/Unfolding/Link` (571): Links of isometries, the link isometry Υ_γ, and invariance under `besselU` | |
| 188 | +- `New/Spanning/Unfolding/ReducedPoints` (475): Eichler-type unipotent elements, colouring bounds and reduced points | |
| 189 | +- `New/Spanning/Unfolding/Packing` (377): Class cutoffs and counting frames in boxes | |
| 190 | +- `New/Spanning/Unfolding/CutoffIntegral` (480): The Bessel kernel and the integral of a class cutoff over the real unipotent group | |
| 191 | +- `New/Spanning/Unfolding/AmplitudeSums` (631): Sums of amplitudes over blocks | |
| 192 | +- `New/Spanning/Unfolding/Climbing` (789): Residue lifts, lattice charts and common flag vectors: which filling terms contribute | |
| 193 | +- `New/Spanning/Unfolding/ReducedGroups` (421): The finite groups `Ū`, `H̄` and `R̄` | |
| 194 | +- `New/Spanning/Unfolding/TermStructure` (566): The structure of a term | |
| 195 | +- `New/Spanning/Unfolding/SquareExpansion` (474): The expansion of the squares and the second moment near the Bessel subgroup | |
| 196 | +- `New/Spanning/Unfolding/MomentBounds` (376): The second moment over the whole group | |
| 197 | +- `New/Spanning/Unfolding/Moments` (746): The second moments of the operators `P* s P`, and good forms | |
| 198 | +- `New/Spanning/Unfolding/PoincareSeries` (620): Poincaré series of fitting spaces, unfolding, Petersson products and source form coordinates | |
| 199 | +- `New/Spanning/Unfolding/BesselFormula` (236): The Bessel function as an integral over `R(F_∞)` | |
| 200 | +- `New/Spanning/Unfolding/FrameMass` (239): Masses of spheres and of frames | |
| 201 | +- `New/Spanning/Unfolding/FillingAdmissible` (529): Filling data for admissible data: fit to Y₀, Bessel bounds, standing hypotheses | |
| 202 | +- `New/Spanning/Unfolding/SeriesPeriod` (503): The Poincaré map as a Poincaré series of the Bessel function | |
| 203 | + | |
| 204 | +**The remaining terms** | |
| 205 | + | |
| 206 | +- `New/Spanning/RemainingTerms/SiegelLemma` (451): Discriminants of sublattices, Siegel's lemma and a height zeta function of subspaces | |
| 207 | +- `New/Spanning/RemainingTerms/Box` (218): The box | |
| 208 | +- `New/Spanning/RemainingTerms/BorderedDeterminant` (417): Links, lifts and gauges of a term | |
| 209 | +- `New/Spanning/RemainingTerms/FrameCount` (496): Frames of near terms: short shared vectors and moves between frames | |
| 210 | +- `New/Spanning/RemainingTerms/ColumnLattice` (186): The covolume of the lattice of columns | |
| 211 | +- `New/Spanning/RemainingTerms/OneRealPlace` (712): The weight of Schur's test at one real place | |
| 212 | +- `New/Spanning/RemainingTerms/SchurTest` (212): Schur's test: Cauchy–Schwarz and integration in stages | |
| 213 | +- `New/Spanning/RemainingTerms/Discriminants` (505): Discriminants of lattices and sums over sublattices | |
| 214 | +- `New/Spanning/RemainingTerms/OrbitSize` (272): Near terms in the filling theorem: the bound for an orbit, the tail and the open-cell term | |
| 215 | +- `New/Spanning/RemainingTerms/Data` (61): The data of a term and of a pair of terms | |
| 216 | +- `New/Spanning/RemainingTerms/OrthogonalLifts` (354): Orthogonal lifts and the two isotropic lists of a link | |
| 217 | +- `New/Spanning/RemainingTerms/LinkLattice` (626): The lattice of a link | |
| 218 | +- `New/Spanning/RemainingTerms/FrameParts` (464): The part in `X₀` of a frame, moves, and lifts of a lattice | |
| 219 | +- `New/Spanning/RemainingTerms/FramesOverLattice` (424): Counting frames over a lattice of small discriminant | |
| 220 | +- `New/Spanning/RemainingTerms/LatticesOfCorank` (582): Sums over lattices of given corank and small discriminant | |
| 221 | +- `New/Spanning/RemainingTerms/SchurOrbit` (741): Schur's test for one orbit | |
| 222 | +- `New/Spanning/RemainingTerms/LinkVectors` (305): The vectors `z⁺` and `Υ_γ⁻¹ z⁺` | |
| 223 | +- `New/Spanning/RemainingTerms/Size` (541): The orbit bound: a bound for a block of amplitudes; the second moment of a set of terms | |
| 224 | +- `New/Spanning/RemainingTerms/Cut` (504): The cut: from the lattice of a link to the vectors common to two links | |
| 225 | +- `New/Spanning/RemainingTerms/Gain` (682): The gain: a discriminant bound for the common lattice of two terms over one block | |
| 226 | +- `New/Spanning/RemainingTerms/Count` (129): The sum over pairs of near terms | |
| 227 | +- `New/Spanning/RemainingTerms/Sum` (612): The remaining terms: a bound for their sum | |
| 228 | + | |
| 229 | +**The main term** | |
| 230 | + | |
| 231 | +- `New/Spanning/MainTerm/SieveSystem` (202): Sieve systems over places: products, positivity and lower semicontinuity | |
| 232 | +- `New/Spanning/MainTerm/KloostermanSum` (148): The orbital integral at the finite places is a Kloosterman sum | |
| 233 | +- `New/Spanning/MainTerm/GlobalSieve` (811): One-sided Poisson summation, sums over frequencies, and the sieve over all places | |
| 234 | +- `New/Spanning/MainTerm/FillingLevel` (380): The place and level of a set of primes, orbit sums and the set of entries | |
| 235 | +- `New/Spanning/MainTerm/GlobalToLocal` (599): Class sums as orbit sums, and unfolding at a set of primes | |
| 236 | +- `New/Spanning/MainTerm/SiegelTopBound` (670): Siegel's formula as an upper bound, and domination of class sums by the density at the last entry | |
| 237 | +- `New/Spanning/MainTerm/FiniteSieveSystem` (202): The sieve system at the finite places | |
| 238 | +- `New/Spanning/MainTerm/EnergyEstimate` (475): Main-term bound for the second moment over open reductions fixing given vectors | |
| 239 | +- `New/Spanning/MainTerm/BadTypes` (197): The share of non-allowed polynomials and the bad share | |
| 240 | + | |
| 241 | +**Two frames at one place** | |
| 242 | + | |
| 243 | +- `New/Spanning/Frames/Lengths` (338): Sizes, lengths and balanced frames | |
| 244 | +- `New/Spanning/Frames/TwoGauges` (307): Comparing the lengths at two points; minors and heads | |
| 245 | +- `New/Spanning/Frames/Levels` (540): Place data, floor measures and depth | |
| 246 | +- `New/Spanning/Frames/Correlations` (340): The scale, near points and partial correlations | |
| 247 | +- `New/Spanning/Frames/QuadricVolumes` (392): Volumes on quadrics and on sections | |
| 248 | +- `New/Spanning/Frames/QuadricPlancherel` (295): Plancherel's formula on quadrics | |
| 249 | +- `New/Spanning/Frames/Depth` (644): Depth | |
| 250 | +- `New/Spanning/Frames/Densities` (481): The densities as integrals over pairs of frames | |
| 251 | +- `New/Spanning/Frames/OneFrame` (552): One frame | |
| 252 | +- `New/Spanning/Frames/Gains` (777): Two frames: separation and the gains at one position | |
| 253 | +- `New/Spanning/Frames/Shells` (192): The sum over the shells | |
| 254 | +- `New/Spanning/Frames/RealPlaceGauge` (989): Floor measures at the complex place: Haar measure, place datum and gauge | |
| 255 | +- `New/Spanning/Frames/RealShells` (523): Cut Bessel functions at ℂ: integration of the local estimates over shells | |
| 256 | +- `New/Spanning/Frames/RealBandLimits` (540): The normalized cell integral Ξ and the local bounds at ℂ for cut Bessel functions | |
| 257 | +- `New/Spanning/Frames/StandardLevel` (717): Place data and gauges at a finite place from the lattice of integral vectors | |
| 258 | +- `New/Spanning/Frames/BesselVector` (463): The Bessel vector at the finite places | |
| 259 | +- `New/Spanning/Frames/FiniteDepth` (394): Depth, heads and far positions at the finite places | |
| 260 | +- `New/Spanning/Frames/FiniteShells` (529): Shells, decay and mass at the finite places | |
| 261 | +- `New/Spanning/Frames/FiberMeasures` (366): Fiber measures of the standard form, and the top quadric by its last entry | |
| 262 | +- `New/Spanning/Frames/TopCorrelation` (550): Scaled orbital integrals of the finite Bessel vector on the floor group | |
| 263 | +- `New/Spanning/Frames/TopFloor` (536): The density at the last entry | |
| 264 | +- `New/Spanning/Frames/FixedLines` (632): Groups that fix given vectors at chosen places have a small mass integral | |
| 265 | + | |
| 266 | +### Lower bound: the determinant | |
| 267 | + | |
| 268 | +**A twist for each prime** | |
| 269 | + | |
| 270 | +- `New/Determinant/Twist/FitTwists` (76): The ratio of twisted to untwisted Hecke L-values, main pairs and regular families of twists | |
| 271 | +- `New/Determinant/Twist/LongForms` (151): Theorem C: integral forms are long | |
| 272 | + | |
| 273 | +**Norms of theta lifts** | |
| 274 | + | |
| 275 | +- `New/Determinant/Norms/VectorKernel` (79): The theta kernel of a descent pair with values in the weight representation | |
| 276 | +- `New/Determinant/Norms/AdjointThetaLift` (662): The lift Θ_W, its adjoint and its norm | |
| 277 | + | |
| 278 | +**The exchange identity** | |
| 279 | + | |
| 280 | +- `New/Determinant/Exchange/NegativeIndices` (357): Theta coefficients vanish off negative forms | |
| 281 | +- `New/Determinant/Exchange/MatchingPartners` (413): Matched functions, sections over GL cosets and same-section pairs of matrix functions | |
| 282 | +- `New/Determinant/Exchange/EquivariantDifference` (223): The difference in the exchange identity as an equivariant lift | |
| 283 | +- `New/Determinant/Exchange/StableSpacesStandardData` (563): Criteria for a function with a matched function to lie in a stable space; vanishing of lifts | |
| 284 | +- `New/Determinant/Exchange/ConeImage` (319): The image of the cone integral | |
| 285 | +- `New/Determinant/Exchange/LargeTriple` (763): Parabolic theta terms, equal ranks, and the exchange identity for the large triple | |
| 286 | +- `New/Determinant/Exchange/RealVectors` (539): Smooth local Witt theorem and the exchange identity for `V' ⊕ W₁` and `V'` | |
| 287 | +- `New/Determinant/Exchange/RemovingPlanes` (434): Change of point and sign, and descent of the exchange identity by removing hyperbolic planes | |
| 288 | +- `New/Determinant/Exchange/VanishingDescends` (105): Vanishing of theta integrals descends along hyperbolic planes | |
| 289 | +- `New/Determinant/Exchange/TheoremForPartners` (720): Exchange of theta integrals for matched functions and for data modulo an ideal | |
| 290 | +- `New/Determinant/Exchange/OneSquare` (679): One square: up then down against down then up | |
| 291 | +- `New/Determinant/Exchange/ExplicitMatching` (603): Explicit real data: the exchange identity for a definite space with determinant data | |
| 292 | + | |
| 293 | +**The norm of a chain of lifts** | |
| 294 | + | |
| 295 | +- `New/Determinant/Chain/SquareLaw` (310): The finite square law for theta lifts: special data, matched functions and Fourier form | |
| 296 | +- `New/Determinant/Chain/TriangleNorms` (301): Orders of block triangular groups and commutation along chains | |
| 297 | +- `New/Determinant/Chain/Moduli` (266): Ratios of Hecke values and heights of functions of the twist | |
| 298 | +- `New/Determinant/Chain/TriangleLifts` (387): Theta lifts as a triangle of arrows: spaces, lifts, descents and the first lift | |
| 299 | +- `New/Determinant/Chain/ChainNorms` (523): Norms along the chain of theta lifts and injectivity of ι_ϑ | |
| 300 | +- `New/Determinant/Chain/NormOfChain` (292): The volume of ι on the target forms as a product of volumes of theta lifts | |
| 301 | + | |
| 302 | +**Auxiliary forms** | |
| 303 | + | |
| 304 | +- `New/Determinant/AuxiliaryForms/GridPaths` (218): Monotone paths through two square grids, and their turns | |
| 305 | +- `New/Determinant/AuxiliaryForms/RegularParameters` (98): Weights of regular parameters and bounds on boxes | |
| 306 | +- `New/Determinant/AuxiliaryForms/DeepLevelPoincarePeriod` (537): Steep parameters of Y₀ and Ỹ^0_0; periods of Poincaré series of deep level | |
| 307 | +- `New/Determinant/AuxiliaryForms/PathData` (454): Moduli, spaces, moves, path data and periods on the two grids | |
| 308 | +- `New/Determinant/AuxiliaryForms/DeepLevelVanishing` (529): Vanishing of forms on Y₀ orthogonal to the deep level on Ỹ^0_0 | |
| 309 | +- `New/Determinant/AuxiliaryForms/GridFirstColumns` (520): Periods on the diagonal and path data on the first path | |
| 310 | +- `New/Determinant/AuxiliaryForms/Turns` (643): Turning path data, and turns off the diagonal | |
| 311 | +- `New/Determinant/AuxiliaryForms/DiagonalTurns` (459): Turns on the diagonal, and the transfer of periods from the first path to the last | |
| 312 | +- `New/Determinant/AuxiliaryForms/FirstPath` (262): The maps `Θ^♭` and `res^♭`, and the first path | |
| 313 | +- `New/Determinant/AuxiliaryForms/LastPath` (743): The branching pairing and the periods on the last path | |
| 314 | +- `New/Determinant/AuxiliaryForms/SpanningForms` (531): Denominators and sizes on the last path, and the auxiliary forms | |
| 315 | + | |
| 316 | +### Lower bound: one lift | |
| 317 | + | |
| 318 | +**One lift and Hecke values** | |
| 319 | + | |
| 320 | +- `New/OneLift/TestedForms` (350): Point forms, Hecke adjoints and false lifts on the definite space of a descent pair | |
| 321 | +- `New/OneLift/LiftVolumeHeight` (528): The cost of one lift: a height bound for Z_j(1)/Z_j(ξ^j) | |
| 322 | + | |
| 323 | +**The comparison operator** | |
| 324 | + | |
| 325 | +- `New/OneLift/ComparisonOperator/OneExchange` (352): One exchange, and class sums at the level of a row stabilizer | |
| 326 | +- `New/OneLift/ComparisonOperator/GluedLattices` (514): Gluing: residue rings, divided lattices, the congruence group and glued lattices | |
| 327 | +- `New/OneLift/ComparisonOperator/GluedForms` (370): Gluing: the descent of product forms and the denominators | |
| 328 | +- `New/OneLift/ComparisonOperator/ExchangeData` (388): Data of the three exchanges: the carrier, the choices and the functions 𝖥_i | |
| 329 | +- `New/OneLift/ComparisonOperator/DeterminantProducts` (97): Products of determinants and first-column coordinates under substitution | |
| 330 | +- `New/OneLift/ComparisonOperator/ThetaKernelEstimates` (681): Decay of Fock matrix coefficients, sparse theta sums and the isolation estimate | |
| 331 | +- `New/OneLift/ComparisonOperator/LineCoordinates` (469): The polynomial map ζ, the datum Ψ^add and the series Υ; norm, degree and denominator of ζ | |
| 332 | +- `New/OneLift/ComparisonOperator/FirstFactors` (509): The first factors: P_V along W_j and W^add, integrality and size | |
| 333 | +- `New/OneLift/ComparisonOperator/ThreeExchanges` (562): Three exchanges: the carrier, the third exchange and its left side as a theta series | |
| 334 | +- `New/OneLift/ComparisonOperator/ProductsSpan` (595): Products span | |
| 335 | +- `New/OneLift/ComparisonOperator/GluingMaps` (703): The first factors and the gluing maps | |
| 336 | + | |
| 337 | +**Periods of false lifts** | |
| 338 | + | |
| 339 | +- `New/OneLift/FalseLifts/BottomOfTower` (1002): The bottom of the tower: from the block datum to all data | |
| 340 | +- `New/OneLift/FalseLifts/HyperbolicPlaneStep` (323): Vanishing of theta descents from W to W plus hyperbolic planes | |
| 341 | +- `New/OneLift/FalseLifts/PeriodsOfFalseLifts` (508): The tower of descents and the periods of false lifts | |
| 342 | + | |
| 343 | +**Hecke L-values as squared norms, and their valuations** | |
| 344 | + | |
| 345 | +- `New/OneLift/HeckeValues/CharacterLift` (455): The lift of a character from U(1): kernel, descent and Galois conjugates | |
| 346 | +- `New/OneLift/HeckeValues/CharacterLiftNorm` (325): The lift of a character and its squared norm as a Hecke L-value | |
| 347 | +- `New/OneLift/HeckeValues/TwistedRatio` (229): The algebraic part as a Hecke L-value, and products of L-values of twists | |
| 348 | +- `New/OneLift/HeckeValues/AlgebraicPartIntegrality` (192): The lift of a character: denominators, and one group ring element for all twists | |
| 349 | +- `New/OneLift/HeckeValues/AlgebraicPartSize` (357): Archimedean bounds and heights of squared norms of rank-one theta lifts | |
| 350 | +- `New/OneLift/HeckeValues/CentralAction` (217): Central action on lifts from U(1) and a rank-one denominator bound | |
| 351 | +- `New/OneLift/HeckeValues/TwistedValueHeights` (783): Heights of ratios of twisted to untwisted Hecke values via rank-one theta lifts | |
| 352 | +- `New/OneLift/HeckeValues/PeriodAtOne` (172): The period of a determinant theta kernel (used in rank two for the L-value at z = 1) | |
| 353 | + | |
| 354 | +### Lower bound: congruences | |
| 355 | + | |
| 356 | +**Congruences and the choice of twists** | |
| 357 | + | |
| 358 | +- `New/Congruences/FitTwistsExist` (333): All data have regular families of m-fold twists | |
| 359 | + | |
| 360 | +**Congruences and Galois representations** | |
| 361 | + | |
| 362 | +- `New/Congruences/GaloisRepresentations/SelmerHypotheses` (372): Bad places, ℓ-adic avatars and hypotheses on conjugate self-dual representations | |
| 363 | +- `New/Congruences/GaloisRepresentations/AttachedRepresentations` (440): Lift settings and conjugate self-duality of attached Galois representations | |
| 364 | +- `New/Congruences/GaloisRepresentations/RowsAndColumnsFromLabels` (490): Main summands and conjugate self-dual representations from type polynomials | |
| 365 | +- `New/Congruences/GaloisRepresentations/BaseLevelOfLabel` (415): Base data whose forms contain those with given labels in a lift setting | |
| 366 | +- `New/Congruences/GaloisRepresentations/RowsFromEigensystems` (358): Main summand conditions on Hodge–Tate jumps and existence of main summands for Hecke eigensystems | |
| 367 | + | |
| 368 | +**Congruences to first order** | |
| 369 | + | |
| 370 | +- `New/Congruences/FirstOrder/RibetMethod` (433): Amitsur's formula and Ribet's method for matrices over an algebra | |
| 371 | +- `New/Congruences/FirstOrder/FittingBlock` (526): Modules of functions, Fitting ideals and trace ideals for Ribet's method | |
| 372 | +- `New/Congruences/FirstOrder/RibetMatrices` (691): Tied rows and the matrices of Ribet's method to first order | |
| 373 | +- `New/Congruences/FirstOrder/RibetLemma` (476): Ribet's method to first order over a discrete valuation ring | |
| 374 | +- `New/Congruences/FirstOrder/OnePrime` (551): Norms, logarithms and first-order deformations of the norm | |
| 375 | +- `New/Congruences/FirstOrder/EvenClasses` (132): Even classes and auxiliary places for Selmer cocycles | |
| 376 | +- `New/Congruences/FirstOrder/KummerMaps` (579): Kummer maps | |
| 377 | +- `New/Congruences/FirstOrder/TateTwistCocycles` (187): Cocycles of Tate twists: the even part and the triangle cost | |
| 378 | +- `New/Congruences/FirstOrder/TiedTraces` (530): Tied traces and the dictionary at one auxiliary place | |
| 379 | +- `New/Congruences/FirstOrder/TrianglePrimes` (456): Taylor–Wiles places in a triangle for the even classes, with prescribed Frobenii | |
| 380 | +- `New/Congruences/FirstOrder/AuxiliaryPrimeTie` (500): The family of operators at the auxiliary places | |
| 381 | +- `New/Congruences/FirstOrder/HeckeStrings` (309): Chains of roots for weak lifts, and Hecke-stable subspaces of forms | |
| 382 | +- `New/Congruences/FirstOrder/TraceRelations` (688): Constants, trace relations, lattices and local defects for Ribet's method | |
| 383 | +- `New/Congruences/FirstOrder/RibetElement` (263): Ribet's element for conjugate self-dual representations | |
| 384 | +- `New/Congruences/FirstOrder/DenominatorBound` (945): The bound for denominators | |
| 385 | + | |
| 386 | +**Anticyclotomic twists with small Selmer groups** | |
| 387 | + | |
| 388 | +- `New/Congruences/Selmer/AuxiliaryPrimes` (307): Auxiliary primes, anticyclotomic characters, slopes and ties | |
| 389 | +- `New/Congruences/Selmer/SelmerData` (421): Selmer data, tied Selmer groups and classes as functions | |
| 390 | +- `New/Congruences/Selmer/Count` (382): The dual of a tied Selmer group and the count | |
| 391 | +- `New/Congruences/Selmer/TiedClasses` (99): The tied Selmer group as a group of cohomology classes | |
| 392 | +- `New/Congruences/Selmer/Mirror` (497): Reciprocity at conjugate primes | |
| 393 | +- `New/Congruences/Selmer/OneSystem` (290): The universal twist and one system of equations for all twists | |
| 394 | +- `New/Congruences/Selmer/Descent` (428): The descent | |
| 395 | +- `New/Congruences/Selmer/Untied` (364): The failure to be tied | |
| 396 | +- `New/Congruences/Selmer/StickelbergerSystems` (162): Stickelberger systems | |
| 397 | +- `New/Congruences/Selmer/StickelbergerLine` (383): Stickelberger systems on a line | |
| 398 | +- `New/Congruences/Selmer/Line` (421): Restriction to a line | |
| 399 | +- `New/Congruences/Selmer/TiedClassCounts` (90): The descent bounds for tied Selmer groups, stated for classes | |
| 400 | +- `New/Congruences/Selmer/RootsOfUnity` (353): Roots of unity `ζ` with polynomials hardly more divisible at `ζ - 1` than at given points | |
| 401 | +- `New/Congruences/Selmer/GeneralTheorem` (279): Twisting, general form | |
| 402 | +- `New/Congruences/Selmer/MainSummands` (230): Main summands are Selmer data | |
| 403 | +- `New/Congruences/Selmer/ClassSums` (292): L-values of a pair as integral measures, and avatars of tame characters | |
| 404 | +- `New/Congruences/Selmer/LValueSystems` (249): The Stickelberger systems of the L-values | |
| 405 | +- `New/Congruences/Selmer/TwistingTheorem` (291): The twisting theorem | |
| 406 | + | |
| 407 | +**The local loss** | |
| 408 | + | |
| 409 | +- `New/Congruences/LocalLoss/Basic` (359): Local loss above ℓ: main summand weights, b-places, crystalline relations and crystalline colength | |
| 410 | +- `New/Congruences/LocalLoss/CrystallineCocycles` (391): Crystalline cocycles and the defect of a crystalline lattice at a place above ℓ | |
| 411 | +- `New/Congruences/LocalLoss/CrystallineDefect` (416): The defect of the dual of a summand at a place above ℓ | |
| 412 | +- `New/Congruences/LocalLoss/TateDualBound` (153): A bound for non-crystalline cocycles modulo `ℓ ^ m` by the Tate dual lattice | |
| 413 | +- `New/Congruences/LocalLoss/LocalLattices` (147): Tame classes from roots of unity and lattices read at a place above ℓ | |
| 414 | + | |
| 415 | +**Lifting crystalline extension classes in large weight** | |
| 416 | + | |
| 417 | +- `New/Congruences/Lifting/ExponentLattices` (725): Lattices with prescribed orders, depth steps and the depth lemma | |
| 418 | +- `New/Congruences/Lifting/HodgeExpansion` (496): Exponents of lattice elements in a Hodge basis and the length of one step on a line | |
| 419 | +- `New/Congruences/Lifting/CupProductBound` (830): Sides of a pairing, cokernel killers and the pairing lemma for cup products | |
| 420 | +- `New/Congruences/Lifting/SidePoints` (504): Jump windows, the gap condition and points of the sides of a Kummer chart | |
| 421 | +- `New/Congruences/Lifting/TameCharts` (427): Tame Kummer charts and the power of p that kills cokernels of Kisin modules | |
| 422 | +- `New/Congruences/Lifting/LongGap` (307): The long gap lemma for a side of a Kummer chart, by expansion in powers of E | |
| 423 | +- `New/Congruences/Lifting/SafeMoves` (506): Safe moves and the walk for pairings of sides of a Kummer chart | |
| 424 | +- `New/Congruences/Lifting/CutExponentBounds` (683): Exponent bounds by cuts for paired sides of a Kummer chart: sparse thick letters, two sizes | |
| 425 | +- `New/Congruences/Lifting/DeepPoints` (247): Deep points and scaled cup coboundaries for a gap below zero or nonpositive jumps | |
| 426 | +- `New/Congruences/Lifting/FewLowJumps` (706): Few low jumps: length lost to depth and a submodule cupping to zero | |
| 427 | +- `New/Congruences/Lifting/CupOrthogonalityBounds` (363): From sides to lattices: few low jumps, b-letters and tame types | |
| 428 | + | |
| 429 | +### Supplement | |
| 430 | + | |
| 431 | +**Discrete series with a large gap** | |
| 432 | + | |
| 433 | +- `New/Appendix/DiscreteSeries/SteepParameters` (49): Steep parameters and the setting of Laplace's method | |
| 434 | +- `New/Appendix/DiscreteSeries/Localization` (497): Localizing products of discrete series coefficients near the compact subgroups | |
| 435 | +- `New/Appendix/DiscreteSeries/MinorSecondOrder` (410): One minor of a product of three exponentials, to second order | |
| 436 | +- `New/Appendix/DiscreteSeries/Positions` (306): Positions of a smaller unitary group, and the two traces | |
| 437 | +- `New/Appendix/DiscreteSeries/StationaryPosition` (501): The stationary position | |
| 438 | +- `New/Appendix/DiscreteSeries/OneMinor` (429): One minor near the identity | |
| 439 | +- `New/Appendix/DiscreteSeries/GaussianShape` (271): The Gaussian shape of the coefficient | |
| 440 | +- `New/Appendix/DiscreteSeries/Periods` (366): Lower bounds for periods by Laplace's method | |
| 441 | +- `New/Appendix/DiscreteSeries/PositionGroup` (499): The group of a position | |
| 442 | + | |
| 443 | +### The last file | |
| 444 | + | |
| 445 | +- `New/Main` (32): From non-vanishing in Re s > 1/2 to zeros on the critical line | |
| 446 | + | |
| 447 | +## Lib | |
| 448 | + | |
| 449 | +- `Lib/Speed` (23): Speed settings | |
| 450 | +- `Lib/Base` (7): The adjoint of a matrix for the Hermitian dot product | |
| 451 | + | |
| 452 | +### Adelic: Adeles, unitary groups and automorphic forms | |
| 453 | + | |
| 454 | +- `Lib/Adelic/Landherr` (387): Sums of two squares, Landherr's theorem and the Hasse principle for unitary cocycles | |
| 455 | + | |
| 456 | +**Adeles**: Adeles of number fields, characters and approximation | |
| 457 | + | |
| 458 | +- `Lib/Adelic/Adeles/Basic` (663): Finite adeles of number fields: topology, idempotents, functoriality and base change | |
| 459 | +- `Lib/Adelic/Adeles/AdditiveCharacter` (269): The additive character, Haar measures and the rational lattice in the adeles | |
| 460 | +- `Lib/Adelic/Adeles/StrongApproximation` (437): Standard character, self-duality, strong approximation and one-sided Poisson summation | |
| 461 | +- `Lib/Adelic/Adeles/IdeleModulus` (311): The module of an idele, Haar measure scaling and the norm map on finite adeles | |
| 462 | +- `Lib/Adelic/Adeles/LocalFactors` (254): Idelic generators of ideals, semilocal fields and tame local characters | |
| 463 | +- `Lib/Adelic/Adeles/SemilocalProducts` (254): Products of completions at finite sets of places and approximation of adeles by elements of E | |
| 464 | + | |
| 465 | +**AutomorphicForms**: Automorphic, cuspidal and algebraic forms | |
| 466 | + | |
| 467 | +- `Lib/Adelic/AutomorphicForms/Basic` (254): Automorphic forms on adelic unitary groups, the Petersson product and rapid decay | |
| 468 | +- `Lib/Adelic/AutomorphicForms/RealConvolution` (367): Convolution over real points, cusp kernels, the Petersson product and Poincaré series | |
| 469 | +- `Lib/Adelic/AutomorphicForms/UnipotentRadical` (302): The mean along a unipotent radical vanishes; reduction in the radical | |
| 470 | +- `Lib/Adelic/AutomorphicForms/Cuspidality` (613): Cuspidality bounds, unipotent reduction, rapid decay and finite dimension of forms | |
| 471 | +- `Lib/Adelic/AutomorphicForms/SmoothAlgebraicForms` (278): Algebraic forms on definite unitary groups, their pairing and Harish-Chandra parameters | |
| 472 | +- `Lib/Adelic/AutomorphicForms/AutomorphicAsAlgebraic` (248): Automorphic forms on standard definite spaces as algebraic forms | |
| 473 | +- `Lib/Adelic/AutomorphicForms/HeckeEigenforms` (278): Algebraic modular forms: delta forms, unitary translation and spanning by Hecke eigenforms | |
| 474 | +- `Lib/Adelic/AutomorphicForms/BlockPeriods` (126): Periods of algebraic forms over a block subgroup as class sums via branching | |
| 475 | +- `Lib/Adelic/AutomorphicForms/PAdicGauge` (507): The p-adic gauge of algebraic forms, class sums, and integral forms of a level | |
| 476 | + | |
| 477 | +**Hecke**: Hecke operators and class sums | |
| 478 | + | |
| 479 | +- `Lib/Adelic/Hecke/Basic` (241): Level spaces, Hecke operators, stabilisers and class sums | |
| 480 | +- `Lib/Adelic/Hecke/ClassSums` (482): Class sums as integrals over Γ\G, orbit unfolding and means over compact subgroups | |
| 481 | + | |
| 482 | +**QuotientMeasure**: Measures on quotients and unfolding | |
| 483 | + | |
| 484 | +- `Lib/Adelic/QuotientMeasure/Basic` (482): Quotient measures via cutoffs: unfolding, covolume, unimodularity, periodic means | |
| 485 | +- `Lib/Adelic/QuotientMeasure/IwasawaUnfolding` (462): Unfolding over orbits and integration in Iwasawa coordinates | |
| 486 | +- `Lib/Adelic/QuotientMeasure/MovingTheQuotient` (58): Moving a quotient from one variable to another | |
| 487 | +- `Lib/Adelic/QuotientMeasure/UnfoldingInStages` (255): Pushing forward quotient measures, unfolding in stages and vanishing criteria | |
| 488 | + | |
| 489 | +**Reduction**: Reduction theory for adelic unitary groups | |
| 490 | + | |
| 491 | +- `Lib/Adelic/Reduction/FirstMinimumShortBases` (583): Transference, first minima and short bases of lattices of hermitian spaces | |
| 492 | +- `Lib/Adelic/Reduction/MinkowskiTheorems` (484): Adelic Minkowski theorems and counts of rational points in boxes | |
| 493 | +- `Lib/Adelic/Reduction/FiniteVolume` (494): Adelic reduction theory, Mahler's criterion and finite volume of the arithmetic quotient | |
| 494 | +- `Lib/Adelic/Reduction/DefiniteClassSums` (221): Mahler's criterion for hermitian spaces and class sums for definite spaces | |
| 495 | + | |
| 496 | +**TraceFormula**: Trace formula for unitary groups of hermitian spaces | |
| 497 | + | |
| 498 | +- `Lib/Adelic/TraceFormula/LineDeterminant` (243): Traces on the range of an idempotent from traces of a raising operator | |
| 499 | +- `Lib/Adelic/TraceFormula/LevelAlgebra` (60): The elements of a group algebra that keep a level | |
| 500 | +- `Lib/Adelic/TraceFormula/LineCount` (209): Lines and hyperplanes over a field | |
| 501 | +- `Lib/Adelic/TraceFormula/TestFunction` (150): Test functions and the two local conditions of the comparison of traces | |
| 502 | +- `Lib/Adelic/TraceFormula/CuspidalType` (177): An irreducible label in a tuple gives a cuspidal test function | |
| 503 | +- `Lib/Adelic/TraceFormula/FibreIntegral` (375): Integration over the fibres of a conjugation map | |
| 504 | +- `Lib/Adelic/TraceFormula/IsotropicStabiliser` (149): The stabiliser of an isotropic subspace | |
| 505 | +- `Lib/Adelic/TraceFormula/LineStabiliser` (547): The stabiliser of a line at a finite place | |
| 506 | +- `Lib/Adelic/TraceFormula/OffPlace` (81): Test functions with a deeper level at an auxiliary place | |
| 507 | +- `Lib/Adelic/TraceFormula/Stretch` (61): Rational points that pair short lattice vectors non-trivially | |
| 508 | +- `Lib/Adelic/TraceFormula/CoprimeFactors` (568): Coprime factors | |
| 509 | +- `Lib/Adelic/TraceFormula/LevelCut` (243): Passage to the stabiliser of a line at an auxiliary place | |
| 510 | +- `Lib/Adelic/TraceFormula/ChangingSigns` (279): Types of frames with a similitude, and the permutation of orbits that changes signs | |
| 511 | +- `Lib/Adelic/TraceFormula/KernelBound` (242): The sum of a majorant over the rational points | |
| 512 | +- `Lib/Adelic/TraceFormula/Convergence` (322): Convergence of the geometric side | |
| 513 | +- `Lib/Adelic/TraceFormula/ReduciblePolynomials` (160): The geometric side, polynomial by polynomial | |
| 514 | +- `Lib/Adelic/TraceFormula/OrbitalUnfolding` (429): Kernels of levels as forms, and unfolding of orbital integrals | |
| 515 | +- `Lib/Adelic/TraceFormula/TraceComparison` (492): Comparison of traces of operators on forms for different spaces and signs | |
| 516 | +- `Lib/Adelic/TraceFormula/CuspidalComparison` (67): Comparison of traces for a cuspidal test function | |
| 517 | + | |
| 518 | +**Unitary**: Adelic unitary groups and hermitian spaces | |
| 519 | + | |
| 520 | +- `Lib/Adelic/Unitary/Defs` (291): Adelic unitary groups over a CM field: levels, hermitian spaces, lattices and mass | |
| 521 | +- `Lib/Adelic/Unitary/ComponentsAndBlockSums` (297): Components of unitary adelic points at places; sums and moves of hermitian spaces | |
| 522 | +- `Lib/Adelic/Unitary/CongruenceLevels` (295): Principal levels and levels defined by reductions in the finite adelic unitary group | |
| 523 | +- `Lib/Adelic/Unitary/GramMatrix` (71): The Gram matrix of a space is invertible and hermitian; group elements from isometries | |
| 524 | +- `Lib/Adelic/Unitary/WeakApproximation` (246): Closed matrix embedding of adelic unitary groups, discrete rational points, weak approximation | |
| 525 | +- `Lib/Adelic/Unitary/RationalPoints` (128): Rational points and vectors of spaces under sums, moves and block embeddings | |
| 526 | + | |
| 527 | +**Witt**: Witt's theorem, Eichler maps and Iwasawa decomposition | |
| 528 | + | |
| 529 | +- `Lib/Adelic/Witt/WittTheorem` (461): Witt's theorem over fields and over Ô; quasi-reflections, Eichler maps, frames | |
| 530 | +- `Lib/Adelic/Witt/SmoothWitt` (73): Smooth families of isometries that carry an isotropic vector to its neighbours | |
| 531 | +- `Lib/Adelic/Witt/IwasawaDecomposition` (439): Maximal compact subgroup, splittings of isotropic frames and the Iwasawa decomposition | |
| 532 | + | |
| 533 | +### Analytic: Analytic number theory | |
| 534 | + | |
| 535 | +- `Lib/Analytic/ZeroSymmetry` (16): Dirichlet characters and the primitive characters that induce them | |
| 536 | +- `Lib/Analytic/PolyaVinogradov` (146): Gauss sums of primitive characters and the Pólya–Vinogradov bound | |
| 537 | +- `Lib/Analytic/DirichletTheta` (373): Theta series of Dirichlet characters, Poisson summation, and `L(s, χ)` as a Mellin transform | |
| 538 | +- `Lib/Analytic/EntireLFunction` (123): Quadratic twists, polar functions and logarithmic derivatives of Dirichlet L-functions | |
| 539 | +- `Lib/Analytic/Landau` (179): Landau's lemma | |
| 540 | +- `Lib/Analytic/QuadraticTwist` (620): A prime `d` in a class whose quadratic twists have no zero in a box | |
| 541 | +- `Lib/Analytic/Primes` (333): Primes congruent to `1` modulo `M ^ k` with logarithm in a prescribed window | |
| 542 | + | |
| 543 | +**PrimeNumberTheorem**: The prime number theorem in progressions | |
| 544 | + | |
| 545 | +- `Lib/Analytic/PrimeNumberTheorem/LFunctionGrowth` (293): Growth of Dirichlet L-functions near the line `re s = 1` | |
| 546 | +- `Lib/Analytic/PrimeNumberTheorem/Tauberian` (291): A Tauberian theorem with a power of the logarithm | |
| 547 | +- `Lib/Analytic/PrimeNumberTheorem/ZeroFreeRegion` (150): A zero-free region for Dirichlet L-functions | |
| 548 | + | |
| 549 | +### CM: Complex multiplication | |
| 550 | + | |
| 551 | +- `Lib/CM/KroneckerLimit` (283): Kronecker's first limit formula | |
| 552 | +- `Lib/CM/GoodReduction` (541): CM lattices as multiples of fractional ideals, and good reduction of CM curves | |
| 553 | +- `Lib/CM/ConjugateCurve` (488): Galois conjugates of CM curves: conjugate sections, isogenies and translates of θ | |
| 554 | +- `Lib/CM/FiniteLattices` (114): Finitely many CM lattices | |
| 555 | +- `Lib/CM/ChowlaSelberg` (510): Odd class number, ζ_K = ζ·L(s, χ), theta functions with CM and Chowla–Selberg | |
| 556 | + | |
| 557 | +**FormalGroup**: The formal group of a CM curve | |
| 558 | + | |
| 559 | +- `Lib/CM/FormalGroup/IntegralParameter` (429): Integral series rings 𝔬[[T]], congruence parts of power series, a functional equation | |
| 560 | +- `Lib/CM/FormalGroup/PrimeNotation` (240): Notation at a prime, and elements of prime-power norm at split primes | |
| 561 | +- `Lib/CM/FormalGroup/InseparableDegree` (258): The inseparable degree | |
| 562 | +- `Lib/CM/FormalGroup/FormalParameter` (201): The formal parameter | |
| 563 | + | |
| 564 | +**Integrality**: Integrality of expansions of theta functions | |
| 565 | + | |
| 566 | +- `Lib/CM/Integrality/Doubling` (218): Doubling formulas for θ and σ and the quartic forms of doubling | |
| 567 | +- `Lib/CM/Integrality/TorsionValues` (261): Integrality of values of sections at torsion points | |
| 568 | +- `Lib/CM/Integrality/IntegralSections` (342): The integrality principle in one variable | |
| 569 | +- `Lib/CM/Integrality/IsogenyIntegrality` (81): Isogenies and translates act integrally on expansions | |
| 570 | +- `Lib/CM/Integrality/LogTheta` (445): The logarithm of the theta function of a CM lattice and the integral group law | |
| 571 | + | |
| 572 | +**Sigma**: Sigma, theta and Weierstrass functions of lattices | |
| 573 | + | |
| 574 | +- `Lib/CM/Sigma/Basic` (596): Sigma and Weierstrass functions, lattice invariants and lattices with complex multiplication | |
| 575 | +- `Lib/CM/Sigma/ThetaSections` (559): Theta functions of a CM elliptic curve: Weierstrass equation and spanning monomials | |
| 576 | + | |
| 577 | +### ClassField: Class field theory and Galois cohomology | |
| 578 | + | |
| 579 | +- `Lib/ClassField/Grunwald` (599): Grunwald's theorem in prime degree and CM steps with prescribed local behaviour | |
| 580 | + | |
| 581 | +**Avatar**: ℓ-adic avatars of algebraic Hecke characters | |
| 582 | + | |
| 583 | +- `Lib/ClassField/Avatar/HeckeBaseChange` (263): Base change of U(1) and Hecke characters, their L-functions and parallel twists | |
| 584 | +- `Lib/ClassField/Avatar/LocalGlobalCompatibility` (136): Local-global compatibility for the ℓ-adic avatar of an algebraic Hecke character | |
| 585 | + | |
| 586 | +**GaloisCohomology**: Continuous Galois cohomology | |
| 587 | + | |
| 588 | +- `Lib/ClassField/GaloisCohomology/ContinuousCocycles` (340): Continuous cohomology of discrete modules: cocycles, H², cyclic classes, local Artin map | |
| 589 | +- `Lib/ClassField/GaloisCohomology/ClassCounts` (178): Counting cocycles through their cohomology classes | |
| 590 | +- `Lib/ClassField/GaloisCohomology/Cohomology` (170): The cohomology of a discrete module as Mathlib's continuous cohomology, with its R-module structure and low-degree API | |
| 591 | +- `Lib/ClassField/GaloisCohomology/ShapiroCorestriction` (230): Shapiro's lemma, corestriction and reduction of H² statements to steps of prime index | |
| 592 | +- `Lib/ClassField/GaloisCohomology/TateIndexFormula` (311): Coker/ker indices and Tate's index formula for cyclic actions of prime order | |
| 593 | +- `Lib/ClassField/GaloisCohomology/KummerCyclicClasses` (437): Cup products, Hilbert 90, Kummer cocycles and cyclic symbols in Galois cohomology | |
| 594 | +- `Lib/ClassField/GaloisCohomology/TameSelmerCocycles` (170): Selmer groups unramified outside a set and cocycles of tamely ramified actions | |
| 595 | + | |
| 596 | +**Global**: Global class field theory | |
| 597 | + | |
| 598 | +- `Lib/ClassField/Global/ArtinMap` (181): The global Artin map: product of local symbols, continuity, splitting and norms | |
| 599 | +- `Lib/ClassField/Global/AlbertBrauerHasseNoether` (472): Real place symbols, the second inequality and Albert–Brauer–Hasse–Noether | |
| 600 | +- `Lib/ClassField/Global/ArtinReciprocity` (366): Artin's reciprocity law and the sign law. Its head has an overview of the theory. | |
| 601 | +- `Lib/ClassField/Global/NormTheorems` (143): Surjectivity of the Artin map, Hasse's norm theorem and norm groups of cyclic extensions | |
| 602 | +- `Lib/ClassField/Global/CMSplittingCharacters` (593): CM fields: complex conjugation, invariant ideles and splitting characters | |
| 603 | +- `Lib/ClassField/Global/Chebotarev` (64): Chebotarev: Frobenii at primes of degree one in every nonempty open set | |
| 604 | +- `Lib/ClassField/Global/ExistenceTheorem` (706): Kummer characters, power indices and the existence theorem for totally complex fields | |
| 605 | + | |
| 606 | +**GreenbergWiles**: Greenberg–Wiles counting of Selmer groups | |
| 607 | + | |
| 608 | +- `Lib/ClassField/GreenbergWiles/SelmerLevels` (403): Selmer cocycles, N-units, split places and the equivariant S-unit theorem | |
| 609 | +- `Lib/ClassField/GreenbergWiles/SplitPrimeReciprocity` (670): Trivialised cocycles and power residue relations at split primes | |
| 610 | +- `Lib/ClassField/GreenbergWiles/CocycleCounts` (539): Counts of trivialised Galois cocycles for projective modules and central scalars | |
| 611 | +- `Lib/ClassField/GreenbergWiles/SelmerRelations` (343): Relations at split primes and their number (Greenberg–Wiles) | |
| 612 | +- `Lib/ClassField/GreenbergWiles/Relations` (414): Relations at split primes | |
| 613 | +- `Lib/ClassField/GreenbergWiles/SelmerClasses` (190): Selmer groups of cohomology classes and the Greenberg–Wiles bound for them | |
| 614 | +- `Lib/ClassField/GreenbergWiles/RelationClasses` (50): The Greenberg–Wiles bound for classes in a relation setting | |
| 615 | +- `Lib/ClassField/GreenbergWiles/RelationsModL` (319): Relations modulo ℓ | |
| 616 | + | |
| 617 | +**HeckeCharacter**: Hecke characters and characters of U(1) | |
| 618 | + | |
| 619 | +- `Lib/ClassField/HeckeCharacter/Basic` (513): Characters of U(1) of a CM field: existence, weights and conjugates | |
| 620 | +- `Lib/ClassField/HeckeCharacter/AlgebraicValues` (291): Values of algebraic Hecke characters | |
| 621 | +- `Lib/ClassField/HeckeCharacter/SplitTameCharacters` (230): Splitting character on U(1), characters tamely ramified at split places, theta integrals | |
| 622 | +- `Lib/ClassField/HeckeCharacter/SplittingCharacters` (102): Splitting characters | |
| 623 | +- `Lib/ClassField/HeckeCharacter/TameModulus` (222): Characters on determinants, local values and characters tame for a modulus | |
| 624 | + | |
| 625 | +**HeckeL**: Hecke L-functions | |
| 626 | + | |
| 627 | +- `Lib/ClassField/HeckeL/EulerProduct` (420): Euler products over primes of a number field and densities at primes of degree one | |
| 628 | +- `Lib/ClassField/HeckeL/IdelicThetaSum` (301): Idelic theta sums over principal ideles as Riemann sums | |
| 629 | +- `Lib/ClassField/HeckeL/ContinuationAtOne` (657): Analyticity at 1 of L-functions of nontrivial Hecke characters | |
| 630 | + | |
| 631 | +**Local**: Local class field theory: invariant map and Artin map | |
| 632 | + | |
| 633 | +- `Lib/ClassField/Local/InvariantMap` (203): The local invariant Br(k) ≅ Q/Z and its behaviour under restriction and maps of local fields | |
| 634 | +- `Lib/ClassField/Local/ArtinMap` (682): Local and global Artin maps, algebraic Hecke characters and tame inertia | |
| 635 | + | |
| 636 | +**LocalDuality**: Local Tate duality and finiteness of local cohomology | |
| 637 | + | |
| 638 | +- `Lib/ClassField/LocalDuality/KummerFiniteness` (235): Index of l-th powers in a local field and finiteness of Kummer 1-cocycles | |
| 639 | +- `Lib/ClassField/LocalDuality/DualityInequality` (251): The inequality of local Tate duality for orthogonal groups of cocycles | |
| 640 | +- `Lib/ClassField/LocalDuality/CrystallineDuality` (518): Classes of Galois lattices, pairings and local duality for crystalline cocycles | |
| 641 | + | |
| 642 | +**Places**: Places, Galois groups, decomposition groups and ideles | |
| 643 | + | |
| 644 | +- `Lib/ClassField/Places/GaloisDefs` (126): Vocabulary of Galois theory: places, decomposition, Frobenius elements and inertia | |
| 645 | +- `Lib/ClassField/Places/ProfiniteGalois` (135): Profinite Galois groups: continuity, restriction maps and the Galois correspondence | |
| 646 | +- `Lib/ClassField/Places/DecompositionCyclotomic` (199): Decomposition and inertia groups, and cyclotomic characters at Frobenii and inertia | |
| 647 | +- `Lib/ClassField/Places/ValuationSubrings` (341): Valuation subrings over primes, primes from p-adic embeddings, and the efg formula | |
| 648 | +- `Lib/ClassField/Places/AbsoluteValues` (62): Places as valuation subrings and as absolute values | |
| 649 | +- `Lib/ClassField/Places/LocalFields` (445): Local fields: Frobenius, uniformisers, normalised valuation, extensions, unramified characters | |
| 650 | +- `Lib/ClassField/Places/DecompositionCompletion` (497): Decomposition groups of places above p as Galois groups of local fields in ℚ̄_p | |
| 651 | +- `Lib/ClassField/Places/Ideles` (237): Finite ideles, principal ideles and the class group; finite index of open subgroups | |
| 652 | +- `Lib/ClassField/Places/TameInertia` (269): Tame inertia, Frobenius on roots of unity over ℚ_p, the cyclotomic character, Weil pairs | |
| 653 | + | |
| 654 | +### Cohomology: Cohomology of schemes | |
| 655 | + | |
| 656 | +- `Lib/Cohomology/LerayHirsch` (204): The Leray–Hirsch map as a map of δ-functors, and dévissage from representable functors | |
| 657 | +- `Lib/Cohomology/TorsionTheories` (573): Tensoring degree-two classes; cohomology theories with ℓ-torsion coefficients | |
| 658 | +- `Lib/Cohomology/SmoothBaseChange` (187): Charted varieties, and smooth base change from a valuation ring to its fraction field | |
| 659 | +- `Lib/Cohomology/WoodsHole` (151): Woods Hole (half of Atiyah–Bott): maps killed under λ_h on Hodge classes are h-null. Its head has an overview of the theory. | |
| 660 | + | |
| 661 | +**Etale**: Étale-type cohomology of functors of points | |
| 662 | + | |
| 663 | +- `Lib/Cohomology/Etale/Basic` (581): Cohomology of functors as Ext: test rings, points, functoriality, coefficients | |
| 664 | +- `Lib/Cohomology/Etale/BijectiveComparisons` (545): Criteria for comparison maps of Ext cohomology of functors of points to be bijective | |
| 665 | +- `Lib/Cohomology/Etale/DenseSubfunctors` (344): Dense subfunctors, Mayer–Vietoris and partitions along idempotents | |
| 666 | +- `Lib/Cohomology/Etale/FilteredLimits` (542): Continuity of cohomology along filtered limits, via test rings and relatively affine maps | |
| 667 | +- `Lib/Cohomology/Etale/RelativeChains` (300): Relative chains ℤ[V]/ℤ[U]: local isomorphisms, transfer, excision and gluing | |
| 668 | +- `Lib/Cohomology/Etale/EllAdicCohomology` (117): ℓ-adic cohomology with its Galois action; finiteness and bijectivity from coefficients mod ℓ | |
| 669 | +- `Lib/Cohomology/Etale/ProperFunctors` (647): Local-to-global principle, density criteria and proper functors for cohomology on test rings | |
| 670 | + | |
| 671 | +**Hodge**: Hodge cohomology, symbols and the fixed point formula | |
| 672 | + | |
| 673 | +- `Lib/Cohomology/Hodge/CupProduct` (342): Pointwise tensor product of functors, total Ext with Yoneda composition, external products | |
| 674 | +- `Lib/Cohomology/Hodge/Site` (224): Hodge cohomology on algebras with free modules; universal points of charts | |
| 675 | +- `Lib/Cohomology/Hodge/DepthVanishing` (216): Vanishing of Hodge cohomology with supports below the depth, and Zariski descent | |
| 676 | +- `Lib/Cohomology/Hodge/GrothendieckSymbol` (679): Grothendieck's symbol [dT/T], cut-out loci and Hodge classes of points | |
| 677 | +- `Lib/Cohomology/Hodge/Kunneth` (250): Künneth formula: Hodge classes on X × X are sums of external products | |
| 678 | +- `Lib/Cohomology/Hodge/DiagonalClass` (181): The Hodge class of the diagonal of a variety with an atlas, with its local description | |
| 679 | +- `Lib/Cohomology/Hodge/FixedPointFormula` (694): Reduced coincidences and the fixed point formula in Hodge cohomology | |
| 680 | + | |
| 681 | +**PointClass**: Hodge–Tate images of classes of points | |
| 682 | + | |
| 683 | +- `Lib/Cohomology/PointClass/NoetherNormalization` (529): Projective Noether normalisation and homogeneous coordinates of embedded points | |
| 684 | +- `Lib/Cohomology/PointClass/ProjectiveSpace` (409): Projective space as a functor, and injective pull-back along Noether normalisation | |
| 685 | +- `Lib/Cohomology/PointClass/ProjectiveNonvanishing` (641): The Hodge–Tate map does not kill point classes of the projective line and space | |
| 686 | +- `Lib/Cohomology/PointClass/LinearIndependence` (449): The Hodge–Tate map keeps classes of points on a projective variety linearly independent | |
| 687 | + | |
| 688 | +**ProjectiveLine**: The projective line formula and Chern class of O(1) | |
| 689 | + | |
| 690 | +- `Lib/Cohomology/ProjectiveLine/ChernClass` (678): Tate module, Kummer sequence and the first Chern class of O(1) on the projective line | |
| 691 | +- `Lib/Cohomology/ProjectiveLine/PerfectLine` (318): The perfect projective line glued from two perfect discs has the cohomology of a point | |
| 692 | +- `Lib/Cohomology/ProjectiveLine/TiltedLineFormula` (721): Leray–Hirsch bases and the projective line formula for the tilted theory | |
| 693 | +- `Lib/Cohomology/ProjectiveLine/ConstantLineFormula` (315): The projective line formula for locally constant ℤ/ℓ coefficients | |
| 694 | + | |
| 695 | +**ProperBaseChange**: Proper base change for ℤ/ℓ-cohomology on test rings | |
| 696 | + | |
| 697 | +- `Lib/Cohomology/ProperBaseChange/LineCharts` (459): Mayer–Vietoris for two charts of a line modulo an ideal | |
| 698 | +- `Lib/Cohomology/ProperBaseChange/PlaceSpace` (344): The space of places of residue fields and its properness over the base | |
| 699 | +- `Lib/Cohomology/ProperBaseChange/SubringSplitting` (349): Splitting absolutely integrally closed subrings with a Mayer–Vietoris sequence | |
| 700 | +- `Lib/Cohomology/ProperBaseChange/Theorem` (791): Proper base change over AIC valuation rings and its consequences for ℤ/ℓ-cohomology | |
| 701 | + | |
| 702 | +### Cyclotomic: Cyclotomic fields | |
| 703 | + | |
| 704 | +- `Lib/Cyclotomic/Voronoi` (324): A small nonzero integer in all Stickelberger ideals via Voronoi's congruence | |
| 705 | +- `Lib/Cyclotomic/Stickelberger` (261): A weak form of Stickelberger's theorem for Gauss sums, and a family of Jacobi-type quotients | |
| 706 | +- `Lib/Cyclotomic/OddSha` (427): Detecting unramified cocycles and a uniform bound for a model of the odd part of Ш. Its head has an overview of the theory. | |
| 707 | + | |
| 708 | +**Kolyvagin**: Kolyvagin cocycles, reciprocity laws and class bounds | |
| 709 | + | |
| 710 | +- `Lib/Cyclotomic/Kolyvagin/DerivativeCocycles` (712): Kolyvagin's derivative cocycles from Gauss sums, for one set of primes | |
| 711 | +- `Lib/Cyclotomic/Kolyvagin/ReciprocityComponentBounds` (798): Reciprocity laws and Stickelberger and Kolyvagin bounds for odd-part cocycles | |
| 712 | + | |
| 713 | +### DiscreteSeries: Discrete series of U(p,q) | |
| 714 | + | |
| 715 | +- `Lib/DiscreteSeries/CuspKernel` (263): Kernels kill bounded radical-invariant functions; dilations along isotropic subspaces | |
| 716 | + | |
| 717 | +**Bessel**: Bessel models of the real unitary group | |
| 718 | + | |
| 719 | +- `Lib/DiscreteSeries/Bessel/Basic` (344): The real unitary group G₁, unipotent coordinates and Bessel functions | |
| 720 | +- `Lib/DiscreteSeries/Bessel/SchurBound` (444): Traces and L² bounds for Bessel functions | |
| 721 | +- `Lib/DiscreteSeries/Bessel/UnipotentHaarMeasure` (627): Haar measures on the Bessel unipotent groups 𝖴⁰ ⊆ 𝖴 and σ-finiteness on G₁ | |
| 722 | +- `Lib/DiscreteSeries/Bessel/FrameFibre` (199): Haar measure of G₁ and the fibre measure on frames | |
| 723 | + | |
| 724 | +**Bruhat**: Floors and Bruhat decomposition of unitary groups | |
| 725 | + | |
| 726 | +- `Lib/DiscreteSeries/Bruhat/FloorGroups` (630): Floor groups, Weyl elements and the Bessel subgroup of a split unitary group | |
| 727 | +- `Lib/DiscreteSeries/Bruhat/FloorMeasures` (760): Heisenberg elements, measures of the floors, hyperbolic bases and Plancherel at a place | |
| 728 | +- `Lib/DiscreteSeries/Bruhat/QuadricBlocks` (186): Solving the equation of a quadric in a block of coordinates | |
| 729 | +- `Lib/DiscreteSeries/Bruhat/BigCell` (260): The big cell: Bruhat decomposition of terms with non-zero leading minors, and its freeness | |
| 730 | +- `Lib/DiscreteSeries/Bruhat/FourierKernels` (382): Fourier kernels between solved measures | |
| 731 | +- `Lib/DiscreteSeries/Bruhat/ComplexPlace` (285): The place ℂ: polar coordinates, Cartan decomposition and the measure of the hyperboloid | |
| 732 | +- `Lib/DiscreteSeries/Bruhat/FloorFibre` (322): Measures of a floor below fibre measures, at the place ℂ | |
| 733 | +- `Lib/DiscreteSeries/Bruhat/SphereFibres` (94): The spheres of ℂ^κ as fibres of the standard form | |
| 734 | + | |
| 735 | +**Character**: Characters and orbital integrals of discrete series | |
| 736 | + | |
| 737 | +- `Lib/DiscreteSeries/Character/WeylCharacterFormula` (644): Laurent polynomials on the torus and Weyl's character and dimension formulas | |
| 738 | +- `Lib/DiscreteSeries/Character/MultiplicityOrbitalIntegral` (589): K-type multiplicities of the discrete series and orbital integrals as Laurent polynomials | |
| 739 | +- `Lib/DiscreteSeries/Character/OpenOrbitIntegral` (408): Orbital integrals of discrete series coefficients and Weyl characters of U(n) | |
| 740 | +- `Lib/DiscreteSeries/Character/FormalDegree` (391): Harish-Chandra's formula for formal degrees and stable orbital integrals | |
| 741 | + | |
| 742 | +**FlenstedJensen**: Flensted-Jensen's construction of discrete series | |
| 743 | + | |
| 744 | +- `Lib/DiscreteSeries/FlenstedJensen/Defs` (172): Harish-Chandra parameters, c_λ, deg_λ, e_λ and holomorphic discrete series | |
| 745 | +- `Lib/DiscreteSeries/FlenstedJensen/RightDerivatives` (308): Right derivatives and bump convolution for smooth functions on U(p,q) | |
| 746 | +- `Lib/DiscreteSeries/FlenstedJensen/FlagDensities` (528): Integrals of densities over unitary groups and over the flag variety of `K_ℂ` | |
| 747 | +- `Lib/DiscreteSeries/FlenstedJensen/CasimirEigenfunction` (513): Flensted-Jensen's integral, analyticity of c_λ and its Casimir eigenvalue | |
| 748 | +- `Lib/DiscreteSeries/FlenstedJensen/PsiKTypes` (310): First properties of c_λ and its K-types | |
| 749 | +- `Lib/DiscreteSeries/FlenstedJensen/SquareIntegrability` (560): Decay, tail bounds and the L² model of the discrete series coefficient c_λ | |
| 750 | + | |
| 751 | +**Haar**: Haar measure on unitary groups | |
| 752 | + | |
| 753 | +- `Lib/DiscreteSeries/Haar/CayleyChart` (508): Cayley chart and an explicit Haar measure on the unitary group U(J) | |
| 754 | +- `Lib/DiscreteSeries/Haar/GramCoordinates` (300): Coordinates for the Gram map | |
| 755 | +- `Lib/DiscreteSeries/Haar/GramPolar` (302): The polar formula for the Gram map on bases | |
| 756 | +- `Lib/DiscreteSeries/Haar/TotalMass` (323): Haar measure on U(J): U(n) has mass one, covering bounds for norm balls | |
| 757 | +- `Lib/DiscreteSeries/Haar/GramFibre` (261): The fibre measure of the Gram map | |
| 758 | + | |
| 759 | +**Holomorphic**: Holomorphic discrete series and holomorphic forms | |
| 760 | + | |
| 761 | +- `Lib/DiscreteSeries/Holomorphic/MaximalCompactMinors` (170): Maximal compact subgroup, block diagonal matrices and equivariance of minors | |
| 762 | +- `Lib/DiscreteSeries/Holomorphic/HighestVectorExtension` (532): Exponentials in U(diag ε) and holomorphic extension of coefficients of highest vectors | |
| 763 | +- `Lib/DiscreteSeries/Holomorphic/ModelFunction` (459): The holomorphic model function and discrete series coefficients in the holomorphic chamber | |
| 764 | +- `Lib/DiscreteSeries/Holomorphic/PeaksAwayFromCusp` (441): The peaks of a bounded holomorphic form lie away from the cusps | |
| 765 | + | |
| 766 | +**Rigidity**: Rigidity of highest vectors in the discrete series | |
| 767 | + | |
| 768 | +- `Lib/DiscreteSeries/Rigidity/RepresentationsAndCasimirs` (246): gl_n-modules, unitary representations of U(J) and a Casimir bound on K-highest vectors | |
| 769 | +- `Lib/DiscreteSeries/Rigidity/HighestVectorsAndFiltration` (618): K-highest vectors, norm bounds, Casimir growth on the filtration, and analytic vectors | |
| 770 | +- `Lib/DiscreteSeries/Rigidity/KernelFixes` (421): The idempotent e_λ, the operator π(e_λ), and rigidity of highest vectors of type Λ | |
| 771 | + | |
| 772 | +**Theta**: Local theta correspondence for unitary dual pairs | |
| 773 | + | |
| 774 | +- `Lib/DiscreteSeries/Theta/FockDualPair` (398): Fock space oscillator actions, joint harmonics and Fischer decomposition | |
| 775 | +- `Lib/DiscreteSeries/Theta/BlockRule` (298): The block rule for corresponding parameters | |
| 776 | +- `Lib/DiscreteSeries/Theta/FockJointHarmonics` (442): Weights of matched pairs and uniqueness of joint harmonics in Fock space | |
| 777 | +- `Lib/DiscreteSeries/Theta/CasimirComparison` (289): The Casimir elements of an oscillator pair | |
| 778 | +- `Lib/DiscreteSeries/Theta/LocalCorrespondence` (499): Existence of joint harmonics, Howe's argument and the local theta correspondence | |
| 779 | + | |
| 780 | +### GLn: Polynomial representations of GL(n) | |
| 781 | + | |
| 782 | +- `Lib/GLn/Branching/NormBound` (488): Branching from GL(n+1) to GL(n) × GL(1): the branching vector and the norm bound | |
| 783 | +- `Lib/GLn/Branching/IntegralMap` (328): Branching from GL(n+1) to GL(n) × GL(1): integral equivariant branching maps | |
| 784 | +- `Lib/GLn/Dual` (726): Duality of integral GL(n) representations, mixed weights and the Cartan product | |
| 785 | + | |
| 786 | +**SchurModule**: Schur modules and representations of GL(n) | |
| 787 | + | |
| 788 | +- `Lib/GLn/SchurModule/Basic` (407): Schur modules: semi-invariants, minors, Fock pairing, Schur and Gram matrices | |
| 789 | +- `Lib/GLn/SchurModule/MinorBasis` (554): A basis of minor products for Borel semi-invariants over any ring, by induction on rows | |
| 790 | +- `Lib/GLn/SchurModule/SchurMatrix` (602): Schur matrices, the standard basis of ∇, its weights and the highest vector | |
| 791 | +- `Lib/GLn/SchurModule/TensorModel` (195): The Weyl module inside the tensors of its diagram | |
| 792 | +- `Lib/GLn/SchurModule/WeylKernel` (408): The Weyl kernel and its Gram matrix: the hook number bound, positivity, Schur's lemma | |
| 793 | +- `Lib/GLn/SchurModule/GramMatrix` (438): Fock pairing, Hermitian norm and Cartan products for the Gram matrix of the Weyl kernel | |
| 794 | +- `Lib/GLn/SchurModule/LeadingRows` (320): Fillings whose columns begin with the leading rows | |
| 795 | +- `Lib/GLn/SchurModule/SchurOrthogonality` (173): Algebraic representations of GL(n) on unitary groups: Schur orthogonality | |
| 796 | +- `Lib/GLn/SchurModule/Polarisation` (197): Irreducibility under U(n)^Φ, polarisation and averaging of determinant polynomials | |
| 797 | +- `Lib/GLn/SchurModule/SchurNorm` (227): Norm bound for Schur matrices and basic facts on the weight representations | |
| 798 | + | |
| 799 | +### GaloisRep: Galois representations | |
| 800 | + | |
| 801 | +- `Lib/GaloisRep/Hilbert90/TameActions` (500): Hilbert 90 for GL_n and units under tame actions on Artinian, finite or profinite rings | |
| 802 | +- `Lib/GaloisRep/Hilbert90/UnitaryGroups` (348): Hilbert 90 for unitary groups over profinite rings and for finite ideles | |
| 803 | +- `Lib/GaloisRep/Pseudocharacter/SemisimpleRepresentations` (410): Semisimple representations: conjugacy, continuity, cancellation and stable lattices | |
| 804 | +- `Lib/GaloisRep/Pseudocharacter/Pseudorepresentations` (464): Spanning criteria, limits of traces and pseudorepresentations | |
| 805 | +- `Lib/GaloisRep/KillingPolynomials` (317): Free cocharacter weights force rank n and identify killing polynomials | |
| 806 | +- `Lib/GaloisRep/WeightCongruence` (477): ℓ-adic models of algebraic forms and congruences that change the weight | |
| 807 | +- `Lib/GaloisRep/TaylorWiles` (505): Auxiliary places, base level, integral Hecke algebra and operators at the auxiliary places | |
| 808 | + | |
| 809 | +**BaseChange**: Cyclic base change for definite unitary groups | |
| 810 | + | |
| 811 | +- `Lib/GaloisRep/BaseChange/Defs` (101): Twisted norms, matching pairs and base change maps for unitary groups | |
| 812 | +- `Lib/GaloisRep/BaseChange/CommutingHeckeFamilies` (376): Steps E'/E of base change and commuting families of Hecke operators | |
| 813 | +- `Lib/GaloisRep/BaseChange/StepMatchingPairs` (432): Hecke-stable matching pairs for a step E'/E at split matched places | |
| 814 | +- `Lib/GaloisRep/BaseChange/GlobalRoot` (756): Idele Hasse principle, unitary roots and rationality of adelic roots up to coboundary | |
| 815 | +- `Lib/GaloisRep/BaseChange/CongruenceLevelMatching` (613): Matching unit pairs at congruence levels and at unramified places of a step | |
| 816 | +- `Lib/GaloisRep/BaseChange/TwistedTraceIdentity` (735): Twisted trace identity for a step E'/E of CM fields of prime degree | |
| 817 | +- `Lib/GaloisRep/BaseChange/PrimeDegreeTransfer` (655): Base change in prime degree for definite U(n): a weak base change eigenform | |
| 818 | +- `Lib/GaloisRep/BaseChange/IwahoriEigenforms` (556): Hilbert 90 for the pro-p Iwahori group and base change of Iwahori eigenforms | |
| 819 | +- `Lib/GaloisRep/BaseChange/ShintaniLift` (286): Base change at an inert place carries a label to its Shintani lift | |
| 820 | + | |
| 821 | +**LocalGlobal**: Local-global compatibility at split places | |
| 822 | + | |
| 823 | +- `Lib/GaloisRep/LocalGlobal/LocalFormTypes` (227): Local GL_N(E_w)-action on forms, parahoric types and labels at a split place | |
| 824 | +- `Lib/GaloisRep/LocalGlobal/IwahoriCompatibility` (488): Local-global compatibility at split places for Iwahori eigencharacters and parahoric types | |
| 825 | +- `Lib/GaloisRep/LocalGlobal/LabelCompatibility` (322): Tame exponents of inertia and local-global compatibility for labelled forms | |
| 826 | + | |
| 827 | +**Main**: Galois representations for definite unitary eigenforms | |
| 828 | + | |
| 829 | +- `Lib/GaloisRep/Main/SelmerModules` (138): Selmer modules, Tate twists, components of cocycles and places above a prime | |
| 830 | +- `Lib/GaloisRep/Main/DivisibleSelmerModules` (90): Selmer modules with divisible coefficients | |
| 831 | +- `Lib/GaloisRep/Main/Defs` (156): Weights, Hecke polynomials, eigenforms and the filter of most Frobenii | |
| 832 | +- `Lib/GaloisRep/Main/LocalConditions` (279): Local conditions on ℓ-adic Galois representations and their passage to retracts | |
| 833 | +- `Lib/GaloisRep/Main/QuadraticStep` (378): Split places over ℚ(√−d) and quadratic steps with prescribed splitting | |
| 834 | +- `Lib/GaloisRep/Main/CuspidalTypes` (370): Cuspidal types, multiplicity-free sums and the Hodge–Tate cocharacter | |
| 835 | +- `Lib/GaloisRep/Main/AttachedRepresentations` (225): Attached Galois representations: traces, characteristic polynomials and rank one | |
| 836 | +- `Lib/GaloisRep/Main/SeedRepresentation` (634): Seed representations: odd rank, a cuspidal type and free jumps | |
| 837 | +- `Lib/GaloisRep/Main/SplitCase` (478): Attached Galois representations in odd rank: the split case | |
| 838 | +- `Lib/GaloisRep/Main/OddRank` (328): Attached Galois representations in odd rank and their descent along weak base change | |
| 839 | +- `Lib/GaloisRep/Main/ThetaLift` (324): Theta lift of an algebraic form to a larger definite unitary group and its Hecke polynomials | |
| 840 | +- `Lib/GaloisRep/Main/AllRanks` (478): Isotypic spaces of eigenforms and attached Galois representations in every positive rank. Its head has an overview of the theory. | |
| 841 | + | |
| 842 | +### General: General lemmas | |
| 843 | + | |
| 844 | +- `Lib/General/Combinatorics` (257): The q-binomial theorem, fibre sums, and Schur polynomials in the coefficients | |
| 845 | +- `Lib/General/Topology` (114): Open subgroups, a tube lemma, and procyclic images of ℓ-adic characters | |
| 846 | + | |
| 847 | +**Algebra**: Commutative algebra, cohomology and p-adic algebra | |
| 848 | + | |
| 849 | +- `Lib/General/Algebra/AbsIntegrallyClosed` (82): Absolutely integrally closed rings and their stability properties; Frobenius powers | |
| 850 | +- `Lib/General/Algebra/AdicCompletion` (414): Adic completeness: p-adic tools, extension by continuity, topological bases | |
| 851 | +- `Lib/General/Algebra/SeriesCongruences` (264): Power series with prime power exponents, congruences and convergent sums | |
| 852 | +- `Lib/General/Algebra/CartanMap` (423): Higman's criterion, dévissage and multiplicative functions on finite modules (Cartan map) | |
| 853 | +- `Lib/General/Algebra/LongExactSequences` (328): Long exact sequences, four and five lemmas, and Ext with disjoint unions and products | |
| 854 | +- `Lib/General/Algebra/MultivariatePolynomials` (286): Multivariate polynomials: cost of vanishing, homogenization, Nullstellensatz, Hensel | |
| 855 | +- `Lib/General/Algebra/ResidueSums` (58): Sums of residues at simple real poles | |
| 856 | +- `Lib/General/Algebra/ComplexEmbeddings` (64): Extending embeddings of countable rings into ℂ | |
| 857 | +- `Lib/General/Algebra/CohomologyBaseChange` (158): Flat base change in functor cohomology, and the base change adjunction for algebras | |
| 858 | +- `Lib/General/Algebra/IntegralPowerSeries` (169): Integral power series over ℂ_p: jets, the chain rule and the exponential | |
| 859 | +- `Lib/General/Algebra/PerfectAlgebras` (350): Perfect algebras, étale algebras over perfect rings, and constant Laurent polynomials | |
| 860 | +- `Lib/General/Algebra/FittingIdealsAndLengths` (424): Relations, relative lengths and Fitting ideals for Selmer group estimates | |
| 861 | +- `Lib/General/Algebra/BlockFittingBound` (115): A matrix of relations with small block determinant valuation | |
| 862 | +- `Lib/General/Algebra/SeriesBounds` (271): Integrality of exponentials, logarithms and roots of power series | |
| 863 | +- `Lib/General/Algebra/SharpMinors` (181): Maximal minors and lengths | |
| 864 | +- `Lib/General/Algebra/LevelModulus` (229): Level moduli, residue data as Schwartz–Bruhat functions, and descent in positive degree | |
| 865 | +- `Lib/General/Algebra/ValuativeIntegrality` (18): The valuative criterion for integrality | |
| 866 | +- `Lib/General/Algebra/IntegerPowerProducts` (20): Products of integer powers of a nonzero field element | |
| 867 | + | |
| 868 | +**Analysis**: Real and complex analysis | |
| 869 | + | |
| 870 | +- `Lib/General/Analysis/FiniteFourier` (148): Orthogonality, Fourier inversion and matrix Gauss sums over a finite ring | |
| 871 | +- `Lib/General/Analysis/GaussianIntegral` (146): Matrix norm estimates and the complex Gaussian integral | |
| 872 | +- `Lib/General/Analysis/FourierTransforms` (207): Fourier inversion for periodic functions and decay of Fourier transforms | |
| 873 | +- `Lib/General/Analysis/HolomorphicIntegrals` (456): Strong operator integrals, analyticity of parameter integrals, and Hua's integral bound | |
| 874 | +- `Lib/General/Analysis/PackingAndSobolev` (173): Packing bounds for separated points and Sobolev trace inequalities | |
| 875 | +- `Lib/General/Analysis/MeanValueAndTaylor` (141): Circle means, Taylor series at zero, a power bound, and smooth matrix operations | |
| 876 | + | |
| 877 | +**Geometry**: Schemes through points, line bundles and charts | |
| 878 | + | |
| 879 | +- `Lib/General/Geometry/LineBundles` (618): Line bundles on schemes via ring-valued points: descent and the Picard group | |
| 880 | +- `Lib/General/Geometry/ProjectiveSpace` (529): Projective space, linear systems and projective embeddings, with Segre and Veronese | |
| 881 | +- `Lib/General/Geometry/DenseComplexPoints` (280): Dense families of complex points: reduced closures, separation of maps, and arcs | |
| 882 | +- `Lib/General/Geometry/GeometricPoints` (287): Geometric points, specialisation, separating products and integral abelian varieties | |
| 883 | +- `Lib/General/Geometry/EtaleCharts` (632): Functors of points on algebras: open subfunctors, étale charts, atlases, charted schemes | |
| 884 | +- `Lib/General/Geometry/PointsOfProperSchemes` (342): Functors of points of proper schemes: closed loci, atlases and descent of relations | |
| 885 | +- `Lib/General/Geometry/SerreTheorem` (248): Absolute Frobenius, Serre's theorem on sections of powers, and projective embeddings | |
| 886 | +- `Lib/General/Geometry/GaloisCovers` (494): Complex points over countable rings, Zariski generic members and Galois coverings | |
| 887 | +- `Lib/General/Geometry/SmoothnessCriterion` (337): Smoothness near an arc from an immersive generic family and a bound on the tangent space | |
| 888 | + | |
| 889 | +**Groups**: Matrix groups, characters and group algebras | |
| 890 | + | |
| 891 | +- `Lib/General/Groups/CongruenceSubgroups` (254): Integral, congruence and unitary matrix groups over a ring, with their topology | |
| 892 | +- `Lib/General/Groups/IndexOfProduct` (9): The index of a product of subgroups is the product of the indices | |
| 893 | +- `Lib/General/Groups/BesselGroups` (143): Block triangular groups, unipotent Bessel groups, Levi and parahoric subgroups | |
| 894 | +- `Lib/General/Groups/ProfiniteCharacters` (234): ℚ/ℤ, characters of profinite groups, and extension of homomorphisms | |
| 895 | +- `Lib/General/Groups/CharacterTheory` (495): Characters of finite groups: averages, virtual characters and central projections | |
| 896 | + | |
| 897 | +**LinearAlgebra**: Linear algebra and matrix analysis | |
| 898 | + | |
| 899 | +- `Lib/General/LinearAlgebra/TensorChains` (173): Chains of linear maps, tensor products of their data, and separation by forms | |
| 900 | +- `Lib/General/LinearAlgebra/Eigenvalues` (507): Eigenvalues: traces of powers, common eigenvectors, Amitsur's theorem, Sylvester's law | |
| 901 | +- `Lib/General/LinearAlgebra/HermitianMatrices` (216): Determinants of positive semidefinite matrices, principal minors and hermitian involutions | |
| 902 | +- `Lib/General/LinearAlgebra/IntegralLattices` (455): Integral matrices over subrings: Smith normal form, Gelfand's condition and lattices | |
| 903 | +- `Lib/General/LinearAlgebra/MatricesNearIdentity` (262): Matrices near the identity: Jacobi's formula and norm estimates | |
| 904 | +- `Lib/General/LinearAlgebra/MinorProducts` (296): Products of principal minors, Fischer's inequality and the Cauchy–Binet formula | |
| 905 | +- `Lib/General/LinearAlgebra/GramDeterminant` (78): Gram determinants | |
| 906 | +- `Lib/General/LinearAlgebra/MatrixPolynomials` (125): Minors, polynomials of matrices and twisted norms | |
| 907 | +- `Lib/General/LinearAlgebra/IdempotentRadical` (123): The unipotent radical attached to an idempotent matrix | |
| 908 | +- `Lib/General/LinearAlgebra/HermiteForm` (139): Hermite forms over valuation pairs and integral matrices over valued fields | |
| 909 | +- `Lib/General/LinearAlgebra/MatrixNormBounds` (80): Auerbach's lemma, ultrametric matrix bounds and Gram norms | |
| 910 | +- `Lib/General/LinearAlgebra/PartnerAlgebra` (207): Rows and columns of integral matrices, primitive matrices and the law of partners | |
| 911 | +- `Lib/General/LinearAlgebra/PolarDecomposition` (122): Gram–Schmidt, tight frames, polar decomposition in U(p,q), forms representing one | |
| 912 | +- `Lib/General/LinearAlgebra/BlockEmbeddings` (241): Extending columns, block matrices and block embeddings | |
| 913 | + | |
| 914 | +**Measure**: Measure theory, Haar measures and integration | |
| 915 | + | |
| 916 | +- `Lib/General/Measure/FibreMeasure` (149): Measures below a fibre measure | |
| 917 | +- `Lib/General/Measure/IdempotentKernel` (121): Fubini and convolution lemmas; idempotent kernels | |
| 918 | +- `Lib/General/Measure/HaarNormalisation` (126): Uniqueness of Haar measure, integrals over subgroups and Gaussian normalisation of volumes | |
| 919 | +- `Lib/General/Measure/IntegralOperators` (293): Product measures, layer cake bounds, cocompact subgroups and L² bounds of integral operators | |
| 920 | +- `Lib/General/Measure/Group` (18): Right invariance of pushforward measures | |
| 921 | +- `Lib/General/Measure/HaarModulus` (275): Pushforward of Haar measures, the modulus of GL_n and the generalised index | |
| 922 | +- `Lib/General/Measure/QuadricDisintegration` (408): Measures on hermitian quadrics: existence and uniqueness of disintegrations | |
| 923 | + | |
| 924 | +**NumberTheory**: Number fields, local fields, adeles and lattices | |
| 925 | + | |
| 926 | +- `Lib/General/NumberTheory/FrobeniusOrbits` (146): Frobenius orbits of roots over finite fields and residue fields at self-conjugate places | |
| 927 | +- `Lib/General/NumberTheory/EmbeddingsAndDifferent` (158): Embeddings, differents and the maximal real subfield of a CM field | |
| 928 | +- `Lib/General/NumberTheory/ImaginaryQuadraticField` (341): The imaginary quadratic field ℚ(√−d): characters, Frobenius and splitting of primes | |
| 929 | +- `Lib/General/NumberTheory/SUnitsAndClassNumber` (157): Principal ideal powers, S-units and a class number bound | |
| 930 | +- `Lib/General/NumberTheory/CMFields` (115): Criteria for CM fields | |
| 931 | +- `Lib/General/NumberTheory/CoefficientRings` (119): Coefficient rings of ℓ-adic lattices, and length versus cardinality of modules | |
| 932 | +- `Lib/General/NumberTheory/LatticeCovolumes` (532): Lattice indices, primitive matrices, Jacobi's identity and covolumes of fundamental domains | |
| 933 | +- `Lib/General/NumberTheory/PadicLimitsValuation` (202): Roots of unity as limits and the ℓ-adic valuation | |
| 934 | +- `Lib/General/NumberTheory/GaussValuation` (325): The Gauss valuation of a polynomial over the ring of integers of ℚ̄_ℓ | |
| 935 | +- `Lib/General/NumberTheory/LargeResidueField` (113): Coefficient rings with a large residue field | |
| 936 | +- `Lib/General/NumberTheory/CoefficientInclusion` (52): Coefficient rings inside the ring of all integral elements | |
| 937 | + | |
| 938 | +### LocalGL: GL(n) over finite and local fields | |
| 939 | + | |
| 940 | +- `Lib/LocalGL/SphericalChainLemma` (446): Chains of roots of the Hecke polynomial of a spherical vector | |
| 941 | + | |
| 942 | +**Green**: Green's characters of general linear groups over finite fields | |
| 943 | + | |
| 944 | +- `Lib/LocalGL/Green/FaithfulCharacter` (56): A faithful complex character over a finite field | |
| 945 | +- `Lib/LocalGL/Green/HallAlgebra` (659): Hall algebra of class functions: induction product, Mackey formula, Frobenius reciprocity | |
| 946 | +- `Lib/LocalGL/Green/CuspidalFunctions` (473): Cuspidal class functions on GL_n over a finite field: μ, supports, values, inner products | |
| 947 | +- `Lib/LocalGL/Green/TauFunctions` (474): Green's characters of GL_n over a finite field: θ_x, τ_P, labels and their degrees | |
| 948 | +- `Lib/LocalGL/Green/LabelCharacters` (393): Label characters Ξ_c: orthonormality, central idempotents and twisting by χ∘det | |
| 949 | + | |
| 950 | +**Iwahori**: Iwahori subgroups, Hecke operators and exponents | |
| 951 | + | |
| 952 | +- `Lib/LocalGL/Iwahori/ParahoricStructure` (478): Parahoric and pro-p Iwahori subgroups of GL_n over a local field and U_t operators | |
| 953 | +- `Lib/LocalGL/Iwahori/QuadraticRelation` (294): Quadratic relation and injectivity of U_t at pro-p Iwahori level | |
| 954 | +- `Lib/LocalGL/Iwahori/HeckeDegrees` (435): Iwahori degrees, partial Hecke sums and Satake's formula | |
| 955 | +- `Lib/LocalGL/Iwahori/SortedExponents` (602): Sorted exponents at pro-p Iwahori level | |
| 956 | +- `Lib/LocalGL/Iwahori/SphericalExponents` (397): Exponents that survive on spherical vectors, and a Hecke operator on parahoric eigenvectors | |
| 957 | + | |
| 958 | +**Shintani**: Shintani descent and lifting over finite fields | |
| 959 | + | |
| 960 | +- `Lib/LocalGL/Shintani/CosetRootChoice` (351): Root choices in a coset, induction, and extension of invariant characters | |
| 961 | +- `Lib/LocalGL/Shintani/CosetDescent` (525): Descent of class functions along a coset and lifts from GL_n(k') ⋊ Gal(k'/k) | |
| 962 | +- `Lib/LocalGL/Shintani/LiftingGreenCharacters` (498): Shintani lifting of Green's characters along extensions of prime degree | |
| 963 | + | |
| 964 | +### PadicComparison: p-adic comparison theorems | |
| 965 | + | |
| 966 | +- `Lib/PadicComparison/Completion` (317): Derived completeness, adic approximation of comparisons and completed base change | |
| 967 | +- `Lib/PadicComparison/ToricTower` (508): Wang sequence on C × Bℕ, lines, and root systems of units via periodic sequences | |
| 968 | +- `Lib/PadicComparison/CrystallineFrobenius` (539): Crystallinity of p-adic cohomology of charted proper schemes and Frobenius congruences. Its head has an overview of the theory. | |
| 969 | + | |
| 970 | +**Crystalline**: The crystalline comparison theorem | |
| 971 | + | |
| 972 | +- `Lib/PadicComparison/Crystalline/DividedPowerEnvelope` (385): Divided power envelopes, lifts modulo divided powers, and one divided power variable | |
| 973 | +- `Lib/PadicComparison/Crystalline/ComparisonMap` (793): Crystalline comparison: bijectivity on étale charts and spanning of period cohomology | |
| 974 | + | |
| 975 | +**Descent**: p-adic tests and almost v-descent | |
| 976 | + | |
| 977 | +- `Lib/PadicComparison/Descent/TestCategory` (356): Divided power ideal, p-adic test rings, tilt, Witt vectors and reduction modulo p | |
| 978 | +- `Lib/PadicComparison/Descent/TestCovers` (362): p-adic tests: tilts, Fontaine's map, covers by tests and flat base change | |
| 979 | +- `Lib/PadicComparison/Descent/AlmostDescent` (594): Almost coefficients, v-descent for perfect algebras and acyclicity of tilt points | |
| 980 | + | |
| 981 | +**Duality**: Duality and good pairs for compared theories | |
| 982 | + | |
| 983 | +- `Lib/PadicComparison/Duality/LineIntegration` (605): Integration over ℙ¹, compared cohomology theories, and moving kernel classes in (ℙ¹)^d | |
| 984 | +- `Lib/PadicComparison/Duality/GoodPairs` (480): Good pairs: excision, Thom retraction and Alexander duality for principal opens | |
| 985 | + | |
| 986 | +**HodgeTate**: The Hodge–Tate map and Hodge–Tate weights | |
| 987 | + | |
| 988 | +- `Lib/PadicComparison/HodgeTate/ExtCocycles` (204): Ext¹ classes of cocycles of functors, and contraction on exterior algebras | |
| 989 | +- `Lib/PadicComparison/HodgeTate/GenericFibre` (283): The ring R[1/p] of a p-adic test and the square-zero extension W(R♭)[1/p]/(ker θ)² | |
| 990 | +- `Lib/PadicComparison/HodgeTate/Map` (506): The Hodge–Tate maps λ_h on pairs (S, M): construction, properties and restriction | |
| 991 | +- `Lib/PadicComparison/HodgeTate/GaloisWeight` (145): Galois twists and the weight of the Hodge–Tate map | |
| 992 | +- `Lib/PadicComparison/HodgeTate/PeriodMap` (219): The period map for ℓ-adic cohomology on p-adic tests, and Hodge–Tate weights | |
| 993 | + | |
| 994 | +**Primitive**: The primitive comparison theorem | |
| 995 | + | |
| 996 | +- `Lib/PadicComparison/Primitive/PeriodCoefficients` (417): Tilts and period coefficients of p-adic tests: products, comparisons, theories | |
| 997 | +- `Lib/PadicComparison/Primitive/Periods` (200): The primitive comparison with period coefficients | |
| 998 | +- `Lib/PadicComparison/Primitive/ComparisonTheorem` (251): The primitive comparison theorem and finiteness of p-adic cohomology | |
| 999 | + | |
| 1000 | +### PadicHodge: p-adic Hodge theory | |
| 1001 | + | |
| 1002 | +- `Lib/PadicHodge/TateSen` (356): Tate's vanishing theorem, Hodge–Tate elimination and the filtration of B_dR | |
| 1003 | +- `Lib/PadicHodge/ArtinSchreierSequence` (300): W(𝔪^♭), the diagonal tensor module W(C^♭) ⊗ T and the Artin–Schreier sequence | |
| 1004 | +- `Lib/PadicHodge/BlochKato` (567): Bloch–Kato crystalline cocycles: reduction modulo p^m, rank and vanishing | |
| 1005 | +- `Lib/PadicHodge/RadiusLemma` (367): The radius lemma: after Frobenius a frame is a constant basis times a unit over A | |
| 1006 | +- `Lib/PadicHodge/Characters` (650): p-adic avatars of Hecke characters and local conditions for twists and characters | |
| 1007 | + | |
| 1008 | +**Crystalline**: Crystalline representations and Hodge–Tate jumps | |
| 1009 | + | |
| 1010 | +- `Lib/PadicHodge/Crystalline/Basic` (330): Crystalline and potentially crystalline representations and admissibility | |
| 1011 | +- `Lib/PadicHodge/Crystalline/HodgeTateForms` (103): Semilinear forms of given weight: independence, finiteness, and jumps read off a basis | |
| 1012 | +- `Lib/PadicHodge/Crystalline/HodgeTateJumps` (552): Hodge frames and Hodge–Tate jumps under operations on representations | |
| 1013 | +- `Lib/PadicHodge/Crystalline/FixedRatios` (258): Bounded poles, φ-fixed elements of B_max, and ratios of periods fixed near 1 | |
| 1014 | +- `Lib/PadicHodge/Crystalline/Regularity` (470): Regularity of B_max, closure of admissibility, and crystalline descent from inertia | |
| 1015 | + | |
| 1016 | +**Kisin**: Charts, period matrices and Kisin modules | |
| 1017 | + | |
| 1018 | +- `Lib/PadicHodge/Kisin/Charts` (477): Power series charts Λ⟦z⟧ in A_inf: Weierstrass division and fixed elements | |
| 1019 | +- `Lib/PadicHodge/Kisin/Bicommutant` (360): The ring S_B of a chart and extension of S-linear maps of A_inf to B^+ | |
| 1020 | +- `Lib/PadicHodge/Kisin/KummerChartExistence` (260): Witt coefficients, the Frobenius group action and existence of Kummer charts | |
| 1021 | +- `Lib/PadicHodge/Kisin/PeriodMatrixBasis` (704): Period matrices over a chart: lattice bases and existence for crystalline lattices | |
| 1022 | +- `Lib/PadicHodge/Kisin/KummerChartDeRham` (293): Kummer charts: the different, the primes φ^a E of A_inf and their images in B_dR | |
| 1023 | +- `Lib/PadicHodge/Kisin/PeriodMatrixFrame` (335): The frame theorem for a period matrix, with Frobenius and Galois action on the frame | |
| 1024 | +- `Lib/PadicHodge/Kisin/Modules` (368): Kisin modules of Kummer charts: lattices with jump sets, letter projectors, invariant forms | |
| 1025 | +- `Lib/PadicHodge/Kisin/FrameTheorem` (666): The frame theorem for Kisin modules and stability under normalising Galois elements. Its head has an overview of the theory. | |
| 1026 | + | |
| 1027 | +**Limit**: Limits of crystalline and Galois representations | |
| 1028 | + | |
| 1029 | +- `Lib/PadicHodge/Limit/CrystallineLimit` (459): Uniform period bounds and limits of crystalline lattices with bounded jumps | |
| 1030 | +- `Lib/PadicHodge/Limit/TraceLimit` (606): Hodge–Tate jumps with bounded denominators and local conditions at limits of traces. Its head has an overview of the theory. | |
| 1031 | + | |
| 1032 | +**PeriodRings**: Fontaine's period rings A_inf, A, B and B_dR | |
| 1033 | + | |
| 1034 | +- `Lib/PadicHodge/PeriodRings/AxTheorem` (309): Tilting, Fontaine's θ, the ring O_C and Ax's theorem on Galois invariants in ℂ_p | |
| 1035 | +- `Lib/PadicHodge/PeriodRings/Ainf` (605): The ring A_inf, the elements ε, μ, τ, ξ, the kernel of θ and adic completeness | |
| 1036 | +- `Lib/PadicHodge/PeriodRings/CrystallineRings` (689): The period rings A, B⁺, B and B_dR⁺: θ, Frobenius, domains and contraction | |
| 1037 | +- `Lib/PadicHodge/PeriodRings/DeRhamPeriods` (242): The cyclotomic action on μ, the period t, and the de Rham field B_dR | |
| 1038 | + | |
| 1039 | +### Shimura: Moduli of abelian varieties | |
| 1040 | + | |
| 1041 | +- `Lib/Shimura/ComplexTheta/AppellHumbertData` (453): Theta functions on complex tori: Appell–Humbert data and factors of automorphy | |
| 1042 | +- `Lib/Shimura/ComplexTheta/DimensionFormula` (510): Theta functions on complex tori: dimension formula, base points, multipliers | |
| 1043 | +- `Lib/Shimura/ThetaGroup` (314): Lifts of morphisms to sections of line bundles, and theta structures on abelian schemes | |
| 1044 | +- `Lib/Shimura/ArcExtension` (387): Uniformisations over an arc: theta coordinates, Weil pairing and extension of maps | |
| 1045 | +- `Lib/Shimura/Eigenspace` (504): Eigenquotients for Hecke eigensystems and the Galois representations they cut out. Its head has an overview of the theory. | |
| 1046 | + | |
| 1047 | +**AbelianScheme**: Abelian schemes over a base and their isogenies | |
| 1048 | + | |
| 1049 | +- `Lib/Shimura/AbelianScheme/Basic` (267): Abelian schemes: base change, finite kernels and constant functions | |
| 1050 | +- `Lib/Shimura/AbelianScheme/Pairings` (238): Pairings of line bundle classes on abelian schemes and their fpqc descent | |
| 1051 | +- `Lib/Shimura/AbelianScheme/IsogenyFlatness` (187): Isogenies: factorisation of homomorphisms, finiteness and flatness | |
| 1052 | +- `Lib/Shimura/AbelianScheme/TangentCoordinates` (351): Étale coordinates at zero, infinitesimal points and unramified torsion | |
| 1053 | + | |
| 1054 | +**CongruenceRelation**: The congruence relation at split places | |
| 1055 | + | |
| 1056 | +- `Lib/Shimura/CongruenceRelation/KernelReduction` (580): Reduction of isogeny kernels: Cartier density, the tangent line and torsion sections | |
| 1057 | +- `Lib/Shimura/CongruenceRelation/EichlerShimura` (125): The congruence relation and the trivial action of inertia on ℓ-adic cohomology | |
| 1058 | +- `Lib/Shimura/CongruenceRelation/HeckeNeighbours` (741): Hecke elements on adelic torsion and reductions of Frobenius twists of Hecke neighbours | |
| 1059 | + | |
| 1060 | +**Deformation**: First-order deformations and the tangent space bound | |
| 1061 | + | |
| 1062 | +- `Lib/Shimura/Deformation/TangentCount` (368): Counting w-torsion points bounds a space of natural semilinear functions by n − 1 | |
| 1063 | +- `Lib/Shimura/Deformation/TangentBound` (572): Drinfeld lifting over k[ε] and a bound on the tangent space of the moduli scheme | |
| 1064 | + | |
| 1065 | +**GoodReduction**: Good reduction of theta tori | |
| 1066 | + | |
| 1067 | +- `Lib/Shimura/GoodReduction/TorsionSizes` (295): Sizes of theta functions at torsion points: products, bounds and shift bounds | |
| 1068 | +- `Lib/Shimura/GoodReduction/GaussSums` (265): Hermitian tori with multiplications, Gauss sums and unfolding of the Poincaré kernel | |
| 1069 | +- `Lib/Shimura/GoodReduction/MultiplicativeNorm` (694): Good reduction of theta tori from shift bounds on kernels of multiplications | |
| 1070 | + | |
| 1071 | +**HeckeTower**: Hecke operators on a tower of Kuga–Sato varieties | |
| 1072 | + | |
| 1073 | +- `Lib/Shimura/HeckeTower/HeckeData` (576): Hecke elements in group rings, marked triples, local terms and neat levels | |
| 1074 | +- `Lib/Shimura/HeckeTower/Model` (562): Properties of a Kuga–Sato tower, Hecke operators at split places, torsion counts and levels | |
| 1075 | + | |
| 1076 | +**IntegralModel**: Construction of the integral model of the moduli tower | |
| 1077 | + | |
| 1078 | +- `Lib/Shimura/IntegralModel/PELDataExistence` (334): Existence of PEL data at levels good at all safe places, with the form ξ and a Lagrangian | |
| 1079 | +- `Lib/Shimura/IntegralModel/UniversalFamily` (680): The universal family: models along arcs, rigid fibres and points of linear data | |
| 1080 | +- `Lib/Shimura/IntegralModel/BallImmersion` (324): Balls immerse; holomorphy, arcs and complex points of the covers | |
| 1081 | +- `Lib/Shimura/IntegralModel/TowerExistence` (321): Existence of the model: the tower of Kuga–Sato covers with its congruence relation | |
| 1082 | + | |
| 1083 | +**ThetaModuli**: Moduli of abelian schemes embedded by theta coordinates | |
| 1084 | + | |
| 1085 | +- `Lib/Shimura/ThetaModuli/FlatClosure` (639): Flat families of ideals cut out by points and the flat closure of theta points | |
| 1086 | +- `Lib/Shimura/ThetaModuli/PELThetaTori` (677): PEL data, the adelic Riemann form and theta coordinates of polarised period maps | |
| 1087 | +- `Lib/Shimura/ThetaModuli/ThetaFamilyRigidity` (346): Theta objects of PEL moduli problems, their pull-backs, and rigidity over local rings | |
| 1088 | +- `Lib/Shimura/ThetaModuli/FamilyFromPoints` (805): Linear systems and theta families from dense complex points carrying theta tori | |
| 1089 | +- `Lib/Shimura/ThetaModuli/UniversalFamily` (331): Existence of the universal theta family over a smooth projective base | |
| 1090 | + | |
| 1091 | +**ThetaNormality**: Integral theta functions and their good reduction | |
| 1092 | + | |
| 1093 | +- `Lib/Shimura/ThetaNormality/NormalGeneration` (444): Orthogonality of theta translates and balls of integral theta functions | |
| 1094 | +- `Lib/Shimura/ThetaNormality/RiemannRelation` (494): Riemann's theta relation and the reduction of theta functions at a valuation | |
| 1095 | + | |
| 1096 | +**TraceFormula**: Trace formula on the definite side and its comparison | |
| 1097 | + | |
| 1098 | +- `Lib/Shimura/TraceFormula/TestFunction` (257): Test vectors, and the regular Hecke element that does not kill them | |
| 1099 | +- `Lib/Shimura/TraceFormula/DefiniteTrace` (374): Trace formula for algebraic forms, finiteness of signed frame classes, the definite side | |
| 1100 | +- `Lib/Shimura/TraceFormula/MarkedDefiniteSums` (552): For a function with a cuspidal type at one place, marked and definite orbit sums agree | |
| 1101 | + | |
| 1102 | +**Transfer**: Transfer of Hecke eigensystems via the Lefschetz formula | |
| 1103 | + | |
| 1104 | +- `Lib/Shimura/Transfer/MarkedPairs` (124): Eigenline reflections of a separable matrix, and the term of the count at a marked triple | |
| 1105 | +- `Lib/Shimura/Transfer/Lefschetz` (371): h-null Hecke elements and the Lefschetz formula as a sum over marked pairs | |
| 1106 | +- `Lib/Shimura/Transfer/WeightOccurs` (493): Coefficient systems from weights and the degrees where Hecke eigensystems occur | |
| 1107 | + | |
| 1108 | +**Uniformisation**: Complex uniformisation of abelian varieties and moduli points | |
| 1109 | + | |
| 1110 | +- `Lib/Shimura/Uniformisation/AdelicFrames` (327): Adelic frames over a CM field, torsion classes, period lattices and period maps | |
| 1111 | +- `Lib/Shimura/Uniformisation/HolomorphicFamilies` (590): Holomorphic families of complex points, jets, uniformisations and theta coordinates | |
| 1112 | +- `Lib/Shimura/Uniformisation/AppellHumbert` (348): Existence in Appell–Humbert: projective embeddings are given by theta functions | |
| 1113 | +- `Lib/Shimura/Uniformisation/LieExponential` (570): Exponential of compact commutative Lie groups and uniformisation of abelian varieties | |
| 1114 | +- `Lib/Shimura/Uniformisation/BallModel` (671): Period signatures, analytic families of theta tori and the ball chart of moduli points | |
| 1115 | +- `Lib/Shimura/Uniformisation/TorusModel` (514): Objects modelled on complex tori and their homomorphisms as rational matrices | |
| 1116 | +- `Lib/Shimura/Uniformisation/ModelExists` (314): Every full complex object is modelled on a point (g, ℓ) | |
| 1117 | + | |
| 1118 | +### SiegelWeil: Siegel–Weil and Rallis formulas | |
| 1119 | + | |
| 1120 | +- `Lib/SiegelWeil/NeighbourLattices` (472): Neighbours of the standard lattice | |
| 1121 | +- `Lib/SiegelWeil/Mass` (292): Masses of definite hermitian lattices and ideal zeta bounds for adelic Gauss sums | |
| 1122 | +- `Lib/SiegelWeil/UnramifiedSeries/VacuumCoefficients` (447): Vacuum coefficients, coset representatives and the weight of steps through neighbours | |
| 1123 | +- `Lib/SiegelWeil/UnramifiedSeries/RallisSeries` (429): The series of translates weighted by the coefficients of the vacuum | |
| 1124 | +- `Lib/SiegelWeil/RallisInner/Doubling` (435): Doubling: clean data, the doubling identity and the inner product formula | |
| 1125 | +- `Lib/SiegelWeil/RallisInner/SharpData` (641): Rallis' inner product formula for sharp data and injectivity of the theta lift | |
| 1126 | +- `Lib/SiegelWeil/Reproduction` (288): Holomorphic Fock vectors and a reproducing formula by theta lifts | |
| 1127 | + | |
| 1128 | +**Formula**: The Siegel–Weil formula for split hermitian spaces | |
| 1129 | + | |
| 1130 | +- `Lib/SiegelWeil/Formula/LagrangianZeroTerms` (622): Lagrangians, zero terms of the Weil representation and vanishing of dominated functionals | |
| 1131 | +- `Lib/SiegelWeil/Formula/StrongApproximation` (125): Strong approximation and constancy of automorphic functions in equal rank | |
| 1132 | +- `Lib/SiegelWeil/Formula/WeilRange` (571): Siegel sets and the Siegel–Weil formula in Weil's range | |
| 1133 | + | |
| 1134 | +**OneVector**: Siegel's formula for representation numbers | |
| 1135 | + | |
| 1136 | +- `Lib/SiegelWeil/OneVector/FinitePlaceDensity` (489): Local measure bounds and local densities at a finite place | |
| 1137 | +- `Lib/SiegelWeil/OneVector/ResidueClasses` (42): Classes modulo a lattice at a finite place | |
| 1138 | +- `Lib/SiegelWeil/OneVector/ClassGaussSums` (172): Gauss sums of classes modulo a lattice at a finite place | |
| 1139 | +- `Lib/SiegelWeil/OneVector/SemilocalDensityBounds` (156): Bounds for local densities at finitely many finite places | |
| 1140 | +- `Lib/SiegelWeil/OneVector/StandardQuadrics` (114): The quadrics of the standard form at a finite place | |
| 1141 | +- `Lib/SiegelWeil/OneVector/SiegelClassSum` (649): Siegel–Weil for one vector, Siegel's class sum formula and the ratio of masses | |
| 1142 | + | |
| 1143 | +**SingularForms**: Fourier coefficients and singular automorphic forms | |
| 1144 | + | |
| 1145 | +- `Lib/SiegelWeil/SingularForms/CentreCoefficients` (514): Fourier coefficients along the centre of a unipotent radical and their partial means | |
| 1146 | +- `Lib/SiegelWeil/SingularForms/UnimodularCoefficients` (539): Singular forms governed by unimodular coefficients | |
| 1147 | + | |
| 1148 | +**Tower**: The theta tower and constant terms of theta integrals | |
| 1149 | + | |
| 1150 | +- `Lib/SiegelWeil/Tower/PrincipalIdeles` (56): Principal ideles and a majorant on the complex torus | |
| 1151 | +- `Lib/SiegelWeil/Tower/LineTerms` (205): Coordinates on a line parabolic and Poisson's formula for terms along lines | |
| 1152 | +- `Lib/SiegelWeil/Tower/ConstantTerm` (482): The constant term of a theta integral, unfolded along isotropic lines | |
| 1153 | +- `Lib/SiegelWeil/Tower/LineGaussSums` (408): Standard partners, shear invariance, Gauss sums along lines and coefficients of lifts | |
| 1154 | +- `Lib/SiegelWeil/Tower/RealConeIntegral` (161): The real cone integral | |
| 1155 | +- `Lib/SiegelWeil/Tower/FiniteTateIntegral` (226): Products of `L`-values and Tate's integral at the finite places | |
| 1156 | +- `Lib/SiegelWeil/Tower/TestVector` (261): The test vector of the zeta integral | |
| 1157 | +- `Lib/SiegelWeil/Tower/LargeSideConstantTerm` (609): Removing a plane: the constant term on the side of the large space | |
| 1158 | +- `Lib/SiegelWeil/Tower/FunctionalEquation` (302): The functional equation of the `L`-function of a tamely ramified character | |
| 1159 | + | |
| 1160 | +### Weil: The Weil representation and theta lifts | |
| 1161 | + | |
| 1162 | +- `Lib/Weil/TameGaussSum` (165): Tame local characters, integral frames and the local Gauss sum | |
| 1163 | +- `Lib/Weil/Lift` (609): Theta lifts of forms: products of minors, edges, arrows between spaces of forms | |
| 1164 | +- `Lib/Weil/Seesaw` (446): Theta lifts for families of characters over a real edge and the seesaw of periods | |
| 1165 | + | |
| 1166 | +**CompactLift**: Theta lifts between definite unitary groups | |
| 1167 | + | |
| 1168 | +- `Lib/Weil/CompactLift/ThetaKernelDefs` (255): The jet matrix of a definite pair is a kernel for algebraic forms | |
| 1169 | +- `Lib/Weil/CompactLift/DefiniteThetaLift` (220): Theta lifts between definite unitary groups and algebraic lifts by jets | |
| 1170 | + | |
| 1171 | +**Construction**: Construction of the adelic Weil representation | |
| 1172 | + | |
| 1173 | +- `Lib/Weil/Construction/HeisenbergModel` (425): Heisenberg cocycles, vacua, the reproducing model and Schur's lemma | |
| 1174 | +- `Lib/Weil/Construction/WeilOperators` (541): Weil operators, orthogonal sums and transport of the reproducing model | |
| 1175 | +- `Lib/Weil/Construction/WeilData` (87): Splitting characters, Weil data, and the adelic Heisenberg cocycle and vacuum | |
| 1176 | +- `Lib/Weil/Construction/FiniteMultiplier` (600): Finite Heisenberg datum, its lattice vacuum and the finite multiplier | |
| 1177 | +- `Lib/Weil/Construction/FiniteCocycle` (300): The finite cocycle as a finite Gauss sum, and its triviality | |
| 1178 | +- `Lib/Weil/Construction/AdelicRepresentation` (565): The adelic Weil representation on 𝒮(V) and its theta functional | |
| 1179 | +- `Lib/Weil/Construction/VacuumProjections` (594): Vacuum projections and the finite part of the Weil representation | |
| 1180 | +- `Lib/Weil/Construction/ProductsAndTransport` (206): Products of data along a splitting of coordinates, and changes of coordinates | |
| 1181 | +- `Lib/Weil/Construction/ThetaJets` (149): Jet series of theta functions and translation by rational vectors | |
| 1182 | +- `Lib/Weil/Construction/CanonicalTheta` (123): Independence of the theta functional of the chosen group element; transport and sums | |
| 1183 | +- `Lib/Weil/Construction/ThetaDictionary` (378): The dictionary between vectors and theta functions | |
| 1184 | +- `Lib/Weil/Construction/FourierInversion` (302): Fourier inversion for theta functions | |
| 1185 | + | |
| 1186 | +**DualPair**: Dual pairs of unitary groups and their theta kernels | |
| 1187 | + | |
| 1188 | +- `Lib/Weil/DualPair/Kronecker` (25): The action x ↦ hxg⁻¹ on matrices as a map of unitary groups | |
| 1189 | +- `Lib/Weil/DualPair/Defs` (362): Hom(S,T), the Weil representation and theta kernel of a pair, and data modulo an ideal | |
| 1190 | +- `Lib/Weil/DualPair/ShortIsotropicVectors` (406): Short isotropic vectors and means of theta functionals over isotropic subspaces | |
| 1191 | +- `Lib/Weil/DualPair/WeilAction` (470): Laws of the Weil action of a pair: translations, real points, levels, rational maps | |
| 1192 | +- `Lib/Weil/DualPair/FiniteAction` (297): Weil representation of unitary pairs: finite action, sums, negation and change of point | |
| 1193 | +- `Lib/Weil/DualPair/MixedModel` (274): Mixed models and zero terms of a pair with one split space: Levi and radical laws | |
| 1194 | +- `Lib/Weil/DualPair/ThetaLiftConvergence` (352): Growth of theta kernels and convergence of theta lifts | |
| 1195 | +- `Lib/Weil/DualPair/GaloisLaw` (243): Semilinear maps intertwining the Weil action up to σΔ/Δ | |
| 1196 | +- `Lib/Weil/DualPair/KernelDecay` (403): Rapid decay of theta kernels of unitary dual pairs under support conditions | |
| 1197 | +- `Lib/Weil/DualPair/KernelLaws` (355): Theta kernels of unitary pairs modulo an ideal: formal laws and seesaw identities | |
| 1198 | +- `Lib/Weil/DualPair/Flip` (362): Flipping a dual pair by adjoints: Weil actions and theta kernels modulo ideals | |
| 1199 | +- `Lib/Weil/DualPair/ThetaIntegrals` (302): Terms of theta kernels at rational matrices and basic laws of theta integrals | |
| 1200 | +- `Lib/Weil/DualPair/HolomorphicData` (172): Holomorphic data, functions of a level, and theta kernels modulo 𝔪 as level multipliers | |
| 1201 | +- `Lib/Weil/DualPair/TwoEdges` (170): Two edges V → V′ → V″ joined into one datum of the pair (V′, V⁻ ⊕ V″) | |
| 1202 | + | |
| 1203 | +**Fock**: The Fock model of the real Weil representation | |
| 1204 | + | |
| 1205 | +- `Lib/Weil/Fock/Basic` (548): The Fock model of the Weil representation of U(ε) at a real place | |
| 1206 | +- `Lib/Weil/Fock/WeightedNorms` (406): Moments on Fock space, approximation by polynomial vectors, bounds for functionals | |
| 1207 | +- `Lib/Weil/Fock/PolynomialVectors` (280): Polynomial vectors in Fock space: inner product, density and Weil derivative | |
| 1208 | +- `Lib/Weil/Fock/OscillatorPair` (363): Harmonic matrix coefficients of the Weil representation and oscillator pairs on matrices | |
| 1209 | + | |
| 1210 | +**MixedModel**: Mixed Schrödinger models, zero terms and named data | |
| 1211 | + | |
| 1212 | +- `Lib/Weil/MixedModel/FockSections` (269): Mixed Schrödinger–Fock models and rapid sections with prescribed values | |
| 1213 | +- `Lib/Weil/MixedModel/SchwartzBruhat` (404): Schwartz–Bruhat functions on a set of places and the Schrödinger model there | |
| 1214 | +- `Lib/Weil/MixedModel/IsotropicSplitting` (719): Hyperbolic space and splittings of a hermitian space along isotropic subspaces | |
| 1215 | +- `Lib/Weil/MixedModel/NamedData` (353): Data named by Schwartz–Bruhat functions: Heisenberg laws, transport, Weil action | |
| 1216 | +- `Lib/Weil/MixedModel/RealTheta` (355): Real data, the entire theta function, and the real vacuum in the mixed model | |
| 1217 | +- `Lib/Weil/MixedModel/ZeroTerm` (502): Zero term and mixed model of the Weil representation: slices and θ as a sum of slices | |
| 1218 | +- `Lib/Weil/MixedModel/ThetaInvariance` (407): Mixed model of the Weil representation: Levi intertwining and invariance of θ | |
| 1219 | +- `Lib/Weil/MixedModel/AdaptedSplitting` (177): Adapted splittings: hyperbolic polarisation, Hom spaces, composition and stages | |
| 1220 | +- `Lib/Weil/MixedModel/Slices` (404): Real, named and finite slices of data in the mixed model of an adapted splitting | |
| 1221 | +- `Lib/Weil/MixedModel/TargetZeroTerm` (224): Zero terms of the mixed models of the Weil representation at the real places | |
| 1222 | + | |
| 1223 | +**Periods**: Bessel periods and unfolding of theta integrals | |
| 1224 | + | |
| 1225 | +- `Lib/Weil/Periods/Grading` (495): Graded hermitian spaces X ⊕ J_s, Bessel subgroups, the map T, and c_λ in a frame | |
| 1226 | +- `Lib/Weil/Periods/PointLattice` (286): The lattice of a finite point of a graded space | |
| 1227 | +- `Lib/Weil/Periods/GradedLattice` (220): Iwasawa decomposition for the flag of the grades | |
| 1228 | +- `Lib/Weil/Periods/LatticeBounds` (130): Finitely many orbits of lattices satisfy the bounds | |
| 1229 | +- `Lib/Weil/Periods/StringPowers` (186): The string of a graded space as the powers `𝔢 ^ i` | |
| 1230 | +- `Lib/Weil/Periods/BesselIntegral` (557): Integrals over the Bessel subgroup and the orbits surviving unipotent twists | |
| 1231 | +- `Lib/Weil/Periods/Equivariant` (261): The character `ψ_U` and the function `𝒲_φ` | |
| 1232 | +- `Lib/Weil/Periods/ConstantTerm` (565): Constant terms of Weil functions along maps of positive degree | |
| 1233 | +- `Lib/Weil/Periods/RealAndFinitePoints` (118): Real and finite points of the Bessel group | |
| 1234 | +- `Lib/Weil/Periods/DescentVanishing` (653): Vanishing theta descents for unitary groups: Fourier coefficients and periods | |
| 1235 | +- `Lib/Weil/Periods/Unfolding` (409): One step of the seesaw unfolding of the theta integral over the Bessel group | |
| 1236 | + | |
| 1237 | +**Unramified**: Hecke operators at unramified places and theta lifts | |
| 1238 | + | |
| 1239 | +- `Lib/Weil/Unramified/HeckeGL` (402): Hecke operators of GL_n at a finite place and local criteria for principal level | |
| 1240 | +- `Lib/Weil/Unramified/SplitHecke` (315): Hecke operators and Hecke polynomials at split places; spherical eigenvectors | |
| 1241 | +- `Lib/Weil/Unramified/HeckeTransfer` (478): Hecke polynomials pass through a theta lift | |
+20 −0 Challenge.lean added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +import Statements | |
| 2 | + | |
| 3 | +/-! The five theorems of `src/Main.lean`, with `sorry` in place of their proofs, for the tool | |
| 4 | +Comparator. This file imports only `src/Statements.lean`, which imports only Mathlib. Nothing | |
| 5 | +imports this file. -/ | |
| 6 | + | |
| 7 | +theorem riemannHypothesis : RiemannHypothesis := by | |
| 8 | + sorry | |
| 9 | + | |
| 10 | +theorem riemannZeta_eq_zero_re : RiemannZetaZerosOnLine := by | |
| 11 | + sorry | |
| 12 | + | |
| 13 | +theorem LFunction_ne_zero_of_half_lt_re : DirichletLNonvanishingRightOfHalf := by | |
| 14 | + sorry | |
| 15 | + | |
| 16 | +theorem LFunction_eq_zero_re : DirichletLZerosOnLine := by | |
| 17 | + sorry | |
| 18 | + | |
| 19 | +theorem LFunction_eq_zero_re_of_isPrimitive : PrimitiveDirichletLZerosOnLine := by | |
| 20 | + sorry | |
+183 −0 GUIDE.md added View file
| @@ -0,0 +1,183 @@ | ||
| 1 | +# Reading guide | |
| 2 | + | |
| 3 | +Names below omit the prefix `New.`. Throughout, `P : Parameters` and `D : Data P`. So `D.targetForms` is the space of target forms of the data `D`. | |
| 4 | + | |
| 5 | +## 1. Where to start | |
| 6 | + | |
| 7 | +To trust the result, read `Statements.lean`, the five statements of `Main.lean` and the list of axioms that `#print axioms` gives. All other definitions occur only inside the proof. The rest of this guide is for reading the proof. | |
| 8 | + | |
| 9 | +`Statements.lean` states the theorems in Mathlib's terms. `Main.lean` derives them from `grh` (no Dirichlet L-function vanishes in re s > 1/2, the pole excepted), with the two lemmas of `New/Main`. First read the files that fix the data: `New/Reduction/Data/FieldsAndPlaces`, `New/Reduction/Data/AdmissibleData` (a table near its top translates letters into names), `New/Reduction/Data/LevelAndTwists` and `New/Reduction/Data/Sizes`. Then read `New/Reduction/Lattices/Heights` for heights, `New/Reduction/Lattices/TwistedLattice` for index and covolume, `New/Reduction/PrimeSums` and `New/Reduction/IntegralTargetForms` for the quantities compared, `New/Reduction/ShortAndEnough` for Theorems A and B (named below), `New/Determinant/Twist/LongForms` for Theorem C, and `New/Reduction/MainInequality`. Its head lists the inputs, what cancels and the errors. `New/Reduction/OneSidedBound` ends with `grh`. | |
| 10 | + | |
| 11 | +The spaces and maps, with ranks (words and letters: sections 2 and 3): source forms on X₀ (k) go by the Poincaré series to forms of principal level on Y₀ (r), which `D.e₀` projects to the target forms, and from Y₀ by m lifts to Y_m (r + mt). Source forms also go by m lifts to X_m (r + mt + 1) and by restriction to Y_m. The single lifts are W_j (r) → V_j (r + t). | |
| 12 | + | |
| 13 | +The three main theorems are A, short forms (`D.span_short_integralRamified_eq_top`, `D.indexLe_normalizedPoincare`), B, enough forms (`D.enough_forms`), and C, integral forms are long (`D.integral_forms_long`). The main inequality `star_inequality` combines them. The first table of `INDEX.md` says each in a line. | |
| 14 | + | |
| 15 | +`New/UpperBound/Objects/LabelsAndIndexTypes`, `New/UpperBound/Objects/Rows` (target forms), `New/UpperBound/Objects/Columns` (source forms, chain data, composite lift), `New/UpperBound/Objects/RowChain` (the chain Y₀ → Y_m) and `New/UpperBound/Objects/PoincareMap` define the main objects. Ramified source forms, local prime sums, gains and exceptional primes are in `New/UpperBound/Size/ShortColumns`. `New/Determinant/Chain/NormOfChain` defines the two determinants. `New/Determinant/Twist/FitTwists` defines regular families of twists. | |
| 16 | + | |
| 17 | +The folders of `New` follow the order of the argument. The background results that it uses are in `Lib`. Folders are not layers: files of different folders import each other in both directions. `CONTENTS.md` lists every file with its title. | |
| 18 | + | |
| 19 | +| Topic | Folder | Subfolders and files, in order | | |
| 20 | +|---|---|---| | |
| 21 | +| The theorem and its reduction | `New/Reduction` | From a one-sided bound to the zeros (`Zeros`); Lattices, colength and heights (`Lattices`); The data (`Data`); Three theorems and the main inequality (`PrimeSums`, `IntegralTargetForms`, `ShortAndEnough`, `MainInequality`, `OneSidedBound`) | | |
| 22 | +| Derivatives of theta functions | `New/Derivatives` | Derivatives that count primes (`Divisibility`); The field and its characters (`Field`); The formal group and the exponential factor (`FormalGroup`); The integral vacuum (`Vacuum`); The bound is attained (`Sharpness`) | | |
| 23 | +| Upper bound: a composite lift | `New/UpperBound` | Theta kernels between definite spaces (`Kernels`); Source forms, target forms and chains of lifts (`Objects`); The seesaw identity (`Seesaw`); Divisibility of the composite lift (`Divisibility`); Size of the composite lift; short source forms (`Size`); Elementary divisors of a Hecke operator (`ElementaryDivisors`) | | |
| 24 | +| Spanning: a second moment | `New/Spanning` | The second moment and the spanning theorem (`SecondMoment`); Equality of multiplicities (`Multiplicities`); Measures and Bessel functions (`Bessel`); Unfolding, and the proof of the moments (`Unfolding`); The remaining terms (`RemainingTerms`); The main term (`MainTerm`); Two frames at one place (`Frames`) | | |
| 25 | +| Lower bound: the determinant | `New/Determinant` | A twist for each prime (`Twist`); Norms of theta lifts (`Norms`); The exchange identity (`Exchange`); The norm of a chain of lifts (`Chain`); Auxiliary forms (`AuxiliaryForms`) | | |
| 26 | +| Lower bound: one lift | `New/OneLift` | One lift and Hecke values (`TestedForms`, `LiftVolumeHeight`); The comparison operator (`ComparisonOperator`); Periods of false lifts (`FalseLifts`); Hecke L-values as squared norms, and their valuations (`HeckeValues`) | | |
| 27 | +| Lower bound: congruences | `New/Congruences` | Congruences and the choice of twists (`FitTwistsExist`); Congruences and Galois representations (`GaloisRepresentations`); Congruences to first order (`FirstOrder`); Anticyclotomic twists with small Selmer groups (`Selmer`); The local loss (`LocalLoss`); Lifting crystalline extension classes in large weight (`Lifting`) | | |
| 28 | +| Supplement | `New/Appendix` | Discrete series with a large gap (`DiscreteSeries`) | | |
| 29 | + | |
| 30 | +For the exceptional-prime divisibility step, start with | |
| 31 | +[`HeckeEdges`](src/New/UpperBound/Divisibility/HeckeEdges.lean): | |
| 32 | +`isOntoUpToColength_scaledHeckeOperator_of_frobeniusCycle` transfers the edge bound to a | |
| 33 | +single scaled Hecke operator, given a compatible Frobenius cycle. | |
| 34 | +[`MarkOperator`](src/New/UpperBound/Divisibility/MarkOperator.lean) constructs that cycle. | |
| 35 | +For the lattice `M` and operator `y`, “onto up to colength” says that `y` preserves `M` | |
| 36 | +and that, for some natural number `i ≤ c`, `y(M) + p^j₀ M` has index dividing `p^i` in `M`, | |
| 37 | +in the sense of [`ColengthDvd`](src/New/Reduction/Lattices/Colength.lean). | |
| 38 | +[`LocalDivisibility`](src/New/UpperBound/Divisibility/LocalDivisibility.lean) applies the bound | |
| 39 | +to the product of the marked operators raised to the number of lifts, and combines it | |
| 40 | +with the valuation estimate in `exists_colengthDvd_gaugeLe_compositeLift`. | |
| 41 | +[`ShortAndEnough`](src/New/Reduction/ShortAndEnough.lean) uses the resulting sublattice | |
| 42 | +to bound the index in Theorem A(b). | |
| 43 | + | |
| 44 | +For the count of lattices of corank `l` in the spanning argument, start with | |
| 45 | +[`SiegelLemma`](src/New/Spanning/RemainingTerms/SiegelLemma.lean). For a subspace `V`, | |
| 46 | +`sublatticeBasis` chooses a matrix `m` such that `u⁻¹ m` is integral with an integral left inverse. | |
| 47 | +In [`LatticesOfCorank`](src/New/Spanning/RemainingTerms/LatticesOfCorank.lean), | |
| 48 | +`encard_rowVanishesModPiN_le` uses this primitivity to count stabilizer cosets whose row vanishes | |
| 49 | +modulo `S.piN` on a lattice with basis `m A`. The determinant index of `A` is the index `i` of | |
| 50 | +the lattice in its saturation. At most `i (N ^ f) ^ l` cosets contribute, where `f` is the number | |
| 51 | +of infinite places. In `exists_sum_discWeightIfRowVanishes_le`, each contributes `(d i) ^ (-k)`, | |
| 52 | +where `d` is the discriminant of the saturation and `k` is the ambient rank. | |
| 53 | + | |
| 54 | +`Lib` proves parts of several standard theories, often in a weaker form that suffices here and with its own definitions. For example, Galois representations match the Hecke polynomials for most Frobenii only, up to each η > 0 (`GaloisRep.Attached`), local polynomials only kill and need not be characteristic, and no Weil–Deligne representation is built. Each has an overview in the head of the file that holds the theorem named here: class field theory and duality, `artin_reciprocity`; ℓ-adic and Hodge cohomology, `Variety.ellAdicCohom.woods_hole`; odd classes over cyclotomic fields, `exists_length_shaOdd_le`; Galois representations of eigenforms, `GaloisRep.sphericalCompat_std`; p-adic comparison, `Variety.ellAdicCohom.isCrystalline_and_linearFrob_rel`; p-adic Hodge theory, `GaloisRep.local_clauses_of_trace_limit`; Kisin modules, `Lift.KummerChart.JumpLattice.frame_theorem`; Shimura varieties, `Variety.Model.exists_galois_rep`. Other inputs: the Siegel–Weil and Rallis formulas in `Lib/SiegelWeil`, a simple trace formula in `Lib/Adelic/TraceFormula`, a Chowla–Selberg formula in `Lib/CM/ChowlaSelberg`, primes in progressions in `Lib/Analytic/PrimeNumberTheorem`, and the choice of d, a zero-density count from Pólya–Vinogradov, in `Lib/Analytic/QuadraticTwist`. | |
| 55 | + | |
| 56 | +## 2. Glossary | |
| 57 | + | |
| 58 | +The parameters are a multiple q₀ of 18480 and a prime d ≡ q₀/2 − 1 mod q₀. E = `D.E` is K(ζ) with K = ℚ(√−d) and ζ of order q₁; χ_K is the quadratic character of K. X_j (rank `D.n j`) and V_j (rank r + t) are definite hermitian spaces over E. Y_j = `D.spaceY j` has rank r + jt. W_j = `D.spaceW j` has rank r and m − j minus signs. It differs from Y₀ only in the signs at the real places, and each eigensystem of the Hecke operators at split places away from M has the same multiplicity in the good forms on both (`D.finrank_goodForms_inf_eigenPart_eq`). Y_m ⊂ X_m is definite, of rank n_m − 1. | |
| 59 | + | |
| 60 | +| Word | Lean | Meaning, standard counterpart | | |
| 61 | +|---|---|---| | |
| 62 | +| a-place | `D.aPlaces` | infinite place of E, read in (ℤ/q₁)ˣ, that is ≡ 1 mod q₀ | | |
| 63 | +| b-place, weight | `D.bPlaces`, `D.weight` | b-places are ≡ −1 mod q₀, form a sparse set (`Parameters.IsSparse`, built after Behrend: for primes ℓ ≤ kt and 0 < i < j < l₀, no σ, ±ℓ^i σ, ±ℓ^j σ all lie in it, modulo the part of q₁ prime to ℓ) and have weight b = a/x; all other places have weight a/x₁ | | |
| 64 | +| chosen place | `D.IsChosen` | prime dividing `D.piM`, half of those above M = p₀p₁ | | |
| 65 | +| twist | `D.Twist`, `D.MFoldTwist` | automorphic character of U(1) of weight 0 (anticyclotomic), tamely ramified on a set `Q` of places prime to MN that is disjoint from its conjugate; m-fold if its first m powers still ramify at every place of `Q` | | |
| 66 | +| height bound | `HeightLe` | a family y with one number for each ι : ℂ ≃ ℚ̄_ℓ (`PrimePadicIso`) has height at most c if some H ≠ 0, α and h_ℓ ≥ 0 have log ‖σH‖ ≤ α for all automorphisms σ of ℂ, ‖ι(H·y_ι)‖ ≤ ℓ^(h_ℓ) for all ι, and α + ∑ h_ℓ log ℓ ≤ c. Heights add in products and may be negative; for the constant family 1 the product formula gives c ≥ 0 (`HeightLe.nonneg_of_one`) | | |
| 67 | +| twisted lattice | `TwistedLattice`, `D.targetLattice` | maps from one space to inner product spaces with integral vectors, one map for each twist; the target forms with the chains `D.Θ` | | |
| 68 | +| index, covolume | `TwistedLattice.IndexLe`, `TwistedLattice.CovolumeLe` | index at most ∑ δ_ℓ log ℓ: at each ι one integral matrix, the same for all twists of modulus prime to ℓ, with determinant of valuation at most δ_ℓ, makes the lifts of the family integral (`TwistedLattice.integralVectors`); covolume: a bound for the logarithm of the Gram determinant of the untwisted lifts at every conjugate | | |
| 69 | +| main amount, remainder | `D.mainAmount`, `D.totalRemainder` | m·k times the cost `D.directionAmount` of one direction; the prime sums at the a-places less their expected value | | |
| 70 | +| prime sum, gain | `D.primeSum`, `D.localPrimeSum`, `D.gain` | the sum of Λ(ν)(1 − χ_K(ν))·(y/ν − κ(−νσ))₊ over 1 ≤ ν ≤ a, at an order y and a place σ; its part at p divided by 2 log p, and the exponent of p asked to divide the composite lift | | |
| 71 | +| error unit, budget | `D.errorUnit`, `D.denominatorBudget`, `Selmer.clearingBound` | unit f·a·(log b)³ of the errors; that unit divided by m·k, which bounds the sum over ℓ of the numbers β_ℓ, where a determinant of ℓ-adic size at least exp(−dim·r·β_ℓ) clears the denominators of one lift (`D.ClearsProjection`); the share of one ℓ, as an exponent of ℓ | | |
| 72 | +| source form | `D.SourceForm`, `D.ramifiedSourceForms` | algebraic modular form on U(X₀), of weight (a, 0, …, 0) at the a-places and 0 elsewhere, of level principal at the chosen places with last row ≡ (0, …, 0, 1) mod π_N (`D.levelX`); ramified if its mean under the scalings at each prime dividing `D.piN` is 0 | | |
| 73 | +| target form | `D.targetForms` | good form on U(Y₀): parameter `D.targetParameter` at infinity, level principal at the chosen places only, so no level at N or at the twist (`D.principalForms`) | | |
| 74 | +| label | `IsLabel`, `labelIdem` | monic squarefree polynomial of degree r over a residue field, nonzero at 0, naming one of Green's characters of GL_r and its idempotent | | |
| 75 | +| good form | `D.goodForms`, `D.e₀` | image of the sum of the idempotents of good families of labels (`D.goodTupleFamilies`) in the forms of principal level. Good: no label has a root in its residue field that is a q₂-th root of unity, and above each of p₀, p₁ at least one label is primitive (`IsPrimitivePolynomial`: irreducible, with a root that generates the units of the extension of degree r) | | |
| 76 | +| setting of a lift | `Selmer.IsLiftSetting` | labels at the chosen places of a `DescentPair` to which the Selmer bounds of `New/Congruences` apply | | |
| 77 | +| cut | `Floors.PlaceData.IsCut` | truncated Bessel function | | |
| 78 | +| lift | `Space.lift`, `Kernel.lift`, `D.lowerChain`, `D.goodLift` | theta lift: adelic, by class sums, the chain Y₀ → Y_m, and W_j → V_j. The folder `New/Congruences/Lifting` is p-adic Hodge theory, and the predicate `Lift` is Shintani lifting | | |
| 79 | +| string | `Grading`, `Selmer.HasLiftTrace` | the m − 1 − j vectors added to X_j to give Y_j, j < m: hyperbolic pairs, and a middle vector if their number is odd. Also the sum of consecutive powers of the inverse cyclotomic character in the representation of a lift | | |
| 80 | +| jet | `MvPolynomial.jetPairing`, `schurJet` | P(∂)F(0) for a theta series F. For a monomial P = X^α, this is α! times the coefficient of X^α in F, where α! is the product of the factorials of the exponents. | | |
| 81 | +| seesaw | `D.seesaw_identity` | on ramified source forms, `D.lowerChain` ∘ (Poincaré series) is c times `D.compositeLift` for a chain datum of the twist, with one c ≠ 0 for all twists; the right side is a finite combination of chains X₀ → X_m restricted to Y_m, and the theorem does not say that it is nonzero; an iterated seesaw identity | | |
| 82 | +| filling | `Filling`, `D.isSpread_goodPoincare` | translates of Poincaré series (`D.poincare`) spread over the target forms; a Petersson-type second moment | | |
| 83 | +| floor | `Shape.Form.floorGroup` | step of the tower of subgroups fixing the first hyperbolic pairs | | |
| 84 | +| exchange | `Exchange.exchange_identity` | for matched ramified data, a given real vector for V′ and a real vector for V that is only shown to exist (it is fixed before the modulus and the character), theta integrals over U(V), U(V′) of complementary rank agree up to a number c ≠ 0 that depends on the modulus and the character, where ‖c‖² is a fixed number times residue cardinalities and squared partial L-values; of Siegel–Weil type | | |
| 85 | +| square | `Exchange.one_square_identity_of_isEdgeFamily` | lift and transposed lift commute around a square after summing over matched data modulo the modulus, up to a factor κ/c, with c depending on the character and the modulus: κ does not depend on the character, the modulus or the forms, is not computed and is not shown nonzero here; ‖c‖² is a fixed number times residue cardinalities and squared partial L-values | | |
| 86 | +| grid, path, turn | `D.gridSpace`, `TwoGridPath`, `TwoGridPath.Turn` | spaces joined by lifts and transposed lifts; a monotone path through two grids; the move of a path across one square. The first path becomes the last by m² turns (`D.exists_transfersPeriods_first_last`) | | |
| 87 | +| auxiliary form | `D.IsAuxiliaryForm` | target form that completes a family to a basis in the lower bound | | |
| 88 | +| descent pair | `DescentPair` | the data of one lift W → V, with V definite, and of its descent | | |
| 89 | +| false lift | `DescentPair.falseLiftsAt` | form on V_j in the image of `D.e₀` that is orthogonal to the lifts and, like them, is killed by a Hecke polynomial operator at a split place off the level | | |
| 90 | +| type | `typeKernel`, `Space.IsForm` | kernel at infinity that reproduces a form (its discrete series). Also local types (`HasParahoricType`) | | |
| 91 | +| gauge | `weylGauge`, `GaugeLe` | p-adic norm of the values of a form; integral means gauge ≤ 1. Unrelated: `Floors.Gauge`, `Filling.maxGauge` | | |
| 92 | +| denominator, regular | `Selmer.DenominatorLe`, `D.IsRegularFamily` | ℓ-adic size of the projections to the lifts of integral forms orthogonal to the false lifts (a congruence number); twists of modulus prime to ℓ whose j-th power makes it small for W_j → V_j and for the lifts from U(1) of the main pairs for j (`D.HasDenominatorsLe`), and whose first m powers and their inverses have, for ramified pairs, inverse ratios of L-values of height at most x₁ (`D.HasSmallRatios`) | | |
| 93 | +| size | `D.jetSize`, `LevelPlaces.LevelForm.normSqAt` | A derivative of order j has logarithmic cost s_∞(j) = log(j!) + j log(M/Ω). A logarithmic size bound B for a form φ means its squared norm satisfies `φ.normSqAt σ ≤ exp B` at every conjugate σ. | | |
| 94 | +| pair, ramified pair, main pair | `D.CriticalPair`, `Data.CriticalPair.ratio` | a point 1 ≤ z ≤ t and a character ν of U(1) of weight −c, z ≤ c ≤ 4b; its ratio is ‖L(z, (νϑ)⁻¹)‖ / ‖L(z, ν⁻¹)‖. Both terms omit the Euler factors at the chosen places and their conjugates. The numerator also omits those at the twist places `ϑ.Q` and their conjugates. Ramified: exactly at the chosen places; main for j: m < z ≤ r, tame part that of lift j, weight near κ_j | | |
| 95 | +| normalisation | `D.invGainFactor`, `D.normalizedPoincare` | c_B = ∏ ℓ^(−g_ℓ) with g_ℓ = ⌊gain − error⌋ (`D.gainExponent`); 𝔭 = c_B c_ss⁻¹ #Ḡ·e₀𝒫 with Ḡ = `D.chosenGL` and 𝒫 = `D.poincare` | | |
| 96 | +| determinant | `D.chainDeterminant`, `D.liftDeterminant` | det(u*u), for the chain u on the target forms, or for the lift W_j → V_j on the good forms; `D.liftDeterminant ϑ j` takes the twist ϑ^j | | |
| 97 | +| composite lift, chain datum | `D.compositeLift`, `D.IsChainDatum`, `D.restrictedChain` | finite combination of chains of m lifts between the definite spaces X₀, …, X_m, glued in pairs of lifts (`D.gluedTensor`), then restricted to Y_m and multiplied by a product of powers of the conjugates of π̄_N (`D.restrictToY`); its coefficients, integral away from the modulus of the twist and bounded in size only for the empty modulus; its expansion in translates of the vacuum (`New/Derivatives/Vacuum`), used for sizes and at primes p ≠ N (`D.IsChainDatum.exists_isWeakChainDatum_compositeLift_eq`) | | |
| 98 | +| idle direction | `D.directionAmount` | one of the about k further directions in which a lift differentiates; each is charged the upper bound for its size less its guaranteed divisibility, and `D.heightLe_liftDeterminant_ratio` repays it | | |
| 99 | +| exceptional, marked | `D.IsExceptional`, `D.IsMarked`, `D.IsFullMark` | an inert prime p ≢ ±1 mod m for which the place −p^e is an a-place for some odd e with p^(e−1) < m; a set of primes above p, induced by a-places, with at most one of each conjugate pair for an exceptional p below x₁; full if it meets the pair induced by every a-place | | |
| 100 | +| stably unramified | `HasPrimitiveRoot5040` | CM field that contains a primitive root of unity of order 5040; then E/E⁺ is unramified at the finite places | | |
| 101 | +| polar | `IsPolar` | function E = O(e^v) whose transform ∫₀^∞ E(v) e^((1−s)v) dv is meromorphic, with at most simple poles, of given residues, in re s > 0 | | |
| 102 | +| rapid | `Space.IsRapid` | decaying faster than every power of `Space.height`, which measures the distance into the cusp | | |
| 103 | +| edge, arrow | `IsEdge`, `IsArrow` | edge: real theta datum that lifts forms of one type to another, in both directions; arrow: adelic datum that does so in one direction, from rapid forms | | |
| 104 | +| carrier | `Rows.carrierForm` | one theta lift of the constant function 1, the same for all twists | | |
| 105 | +| tie | `Selmer.tieRelations` | linear relation between the values of a cocycle at a tame generator and at a Frobenius element of an auxiliary place | | |
| 106 | +| even class, odd class | `Selmer.evenClasses`, `Selmer.shaOdd` | cocycle modulo ℓ^ν in a Tate twist, with local conditions above ℓ, unramified off ℓ (even classes: and off the added places), even or odd under complex conjugation; for the twist 0 odd classes have no parity condition | | |
| 107 | +| most Frobenii | `mostFrobenii` | filter on Frobenius data; a property that holds for most of them holds on a dense set | | |
| 108 | + | |
| 109 | +Letters used in comments, and their names in Lean: | |
| 110 | + | |
| 111 | +| Letter | Lean | | |
| 112 | +|---|---| | |
| 113 | +| q₀, q₁, q₂ | `P.q₀`, `D.q₁`, `P.q₂` | | |
| 114 | +| Φ_a, Φ_b | `D.aPlaces`, `D.bPlaces` | | |
| 115 | +| κ(τ), κ_j, κ̄ | `D.weight`, `D.liftWeight`, the geometric mean of the κ(τ) | | |
| 116 | +| p₀, p₁, M | `D.levelPrime`, `D.M` | | |
| 117 | +| π_M, π_N | `D.piM`, `D.piN`; π_N is an integer of E with π_N π̄_N = N | | |
| 118 | +| Δ, Δ/2 | `D.gap`, `D.halfGap` | | |
| 119 | +| Ω, rd_E | `P.bigOmega`, `D.rootDisc` (root discriminant of E); in Galois theory Ω is also the algebraic closure of ℚ | | |
| 120 | +| R_q, c_q | `primeRemainder` (∑ Λ(n)(1 − χ_K(n))(1/n − 1/x) over n ≤ x, n ≡ 1 mod q, less log x/φ(q) and less c_q), the real part of `logDerivMean d q 1`; c₁ is the case q = 1 | | |
| 121 | +| s_∞, s_fin, s_main | `D.jetSize`, `D.primeSum`, `D.mainPrimeSum` | | |
| 122 | +| h_dir, h_main, rem | `D.directionAmount`, `D.mainAmount`, `D.totalRemainder` | | |
| 123 | +| ξ, ξ_ι | a twist, ϑ in the code; the member θ ι of a family | | |
| 124 | +| Θ_ξ, s𝔭 | `D.lowerChain` (on the target forms `D.Θ`), `D.normalizedPoincare s` | | |
| 125 | +| c_B, c_ss | `D.invGainFactor`, `D.seesawConst` | | |
| 126 | +| Z(ξ), Z_j | `D.chainDeterminant`, `D.liftDeterminant` | | |
| 127 | + | |
| 128 | +Some comments, names and file names use other words: column for source form (also a column of a diagram), row for target form (in `New/Congruences` also an ℓ-adic representation that satisfies `Selmer.IsMainSummandLike`), volume for determinant, thick for b-place (or b-letter), fit for regular, and auxiliary pair for descent pair. | |
| 129 | + | |
| 130 | +## 3. Sizes | |
| 131 | + | |
| 132 | +q₀ and d are fixed, and x → ∞; x is the point at which R_{q₀} is bounded above. The numbers q₁ = q₀T, q₂ = (q₀d)^(s+6) and Ω = exp(γ − Re L′/L(1, χ_K))·2π/rd_E depend on x, although `P.q₂` and `P.bigOmega` carry the prefix P. The primes p₀, p₁, N are ≡ 1 mod q₂², and κ_j(τ) = κ(τ) + (j + 1/2)Δ. The scales x, x₁ and b are integers, stored with their logarithms (`D.logX`, `D.logX₁`, `D.logB`). The lemma `D.scale_inequalities` collects five bounds: (log b)¹⁰⁰ ≤ x, x^(10⁶) ≤ x₁, x₁^(10⁶) ≤ b, (log x₁)⁶ ≤ log b and log log b ≥ 10¹²·`P.constantBound`. Here `P.constantBound` bounds the constants that depend on q₀ and d only. With the table below, log b, x, x₁, b, M, N increase in this order. For 0 < ε < 1/100, `eventually_exists_data` takes x₁ = ⌊exp(x^(ε/6))⌋ and log b in [x^ε, x^ε + 1]. | |
| 133 | + | |
| 134 | +| Letter | Role | Size | | |
| 135 | +|---|---|---| | |
| 136 | +| m | number of lifts, a power of 2 | in [√x, 2√x] | | |
| 137 | +| r, k | ranks, r a power of 3, k = r + 1 − m | r in [x⁵, 3x⁵], k in [r/2, r] | | |
| 138 | +| t | the ranks n_j = k + j(t + 1) grow by t + 1 | 5r | | |
| 139 | +| s = `D.towerExp` | exponent of 2 in q₁/q₀, 2^s = m²² | at most 32 log x | | |
| 140 | +| l₀ = `l₀ s` | least power of 3 above 27s | at most 81s | | |
| 141 | +| T = `towerDeg s` | number of a-places, 3·l₀·2^s = q₁/q₀ | in [x¹¹, x¹¹ (log b)^(1/5)] | | |
| 142 | +| f | number of infinite places of E | T φ(q₀) | | |
| 143 | +| Δ | the gap between the weights of consecutive lifts | 2r⁸ | | |
| 144 | +| a | the order of the derivative at the a-places | x·b | | |
| 145 | +| M | product of the primes p₀, p₁ | in [b²⁰, b²²] | | |
| 146 | +| N | level, a prime | log N within √(log b) above log N₋, N₋ = κ̄^m (M rd_E/2π)^(m−1) b^(−15/2) (`P.logLevelMin`); so in [m log b, 30 m log b] | | |
| 147 | +| `D.errorUnit` | unit of the errors | f a log³ b | | |
| 148 | + | |
| 149 | +There are at least T / log b b-places. Y₀ is X₀ plus ϱ = `D.ϱ` hyperbolic planes and one line of norm −N (`D.spaceY_gram_eq`), with m = 2ϱ + 2. | |
| 150 | + | |
| 151 | +Constants. 18480 = 16·3·5·7·11 divides q₀. The parameters ask q₀ ∣ 2(d + 1) and q₀ ∤ d + 1 (`New/Reduction/Data/FieldsAndPlaces`), so 16 ∣ 2(d + 1) and d ≡ 7 mod 8. Primes dividing q₀ split in K, so a prime that does not split is at least 13 (`Parameters.thirteen_le_of_chiK_ne_one`). 5040 = 7!, the order of the root of unity in `HasPrimitiveRoot5040`, divides q₁. For 0 < ε < 1/100 and large integers x, R_{q₀}(x) ≤ (64 φ(q₀) + 3)·x^(−1/2 + 6ε); the exponent comes from log⁶ b / m with log b ≤ 2x^ε (`eventually_primeRemainder_natCast_le`). | |
| 152 | + | |
| 153 | +The class `D.HasLogBound u F l` of `New/Reduction/Data/Magnitudes` states |F| ≤ exp l if `u` is true, and exp l ≤ F if `u` is false (`D.HasLogUpper`, `D.HasLogLower`). The exponent `l` is an output parameter: instance search computes it from the shape of F. Products add exponents. Sums take the maximum, plus 1 for an upper bound. | |
| 154 | + | |
| 155 | +`D.le_of_hasLogBound : F ≤ G` finds an upper exponent of F and a lower exponent of G. Its default argument uses `scale_arith D` to prove the first exponent is strictly smaller than the second. The tactic splits maxima and minima and uses `linarith` with `D.scale_inequalities'` to compare linear expressions in log x, log x₁, log b, log log b, log log x₁ and `P.constantBound`. `D.nat_le_of_hasLogBound` is the version for ℕ, and `Data.HasLogBound.pos` gives positivity. | |
| 156 | + | |
| 157 | +For a product of exponents or a nested maximum, callers can supply `D.le_of_hasLogBound (by scale_grind D)`. This uses `grind` with the smaller coefficients in `D.scale_inequalities_small`, as in [`D.log_classNumber_le`](src/New/Reduction/Data/Sizes.lean). | |
| 158 | + | |
| 159 | +## 4. Conventions | |
| 160 | + | |
| 161 | +- `Lib` holds results classed as known in the literature and missing from Mathlib, with the steps of their proofs. It imports nothing from `New`. `New` holds the set-up, the steps of the argument, and known results stated on the data. This sorting is a working classification. The section "Relation to the literature" in a file's head gives sources or related work, and `INDEX.md` collects them. `REFERENCES.md` lists the citations and says which were compared with their sources. | |
| 162 | +- Both folders use the namespace `New`. The exceptions are `Statements.lean`, `Main.lean`, and some lemmas and definitions in Mathlib's namespaces. The names of the folder and of the namespace make no claim of novelty. Sub-namespaces need not follow folders. | |
| 163 | +- Local `seal`, `attribute` and `set_option` lines steer elaboration and automation. The options set inside files concern the transparency used in unification, the size of instance search, and one warning. Local instances can matter for reading a statement. | |
| 164 | +- Many objects come from `choose` or `epsilon` (`D.spaceY`). The lemmas next to them give their properties. Harish-Chandra parameters mostly appear doubled, so they are integers (`D.targetParameter` is not doubled). | |
| 165 | +- Letters recur. Φ: the group `D.Φ` of infinite places, the CM type `PlaceEmbedding.Φ`, or a theta datum. ι: an isomorphism ℂ ≃ ℚ̄_ℓ, an index type or, in comments, the chain `D.lowerChain`. ϱ: `D.ϱ` or the Heisenberg operator. ψ: the additive character, a tame part, or a discrete series coefficient. θ: a family of twists, the theta functional, or an eigensystem; ϑ is one twist. G: the adelic group `G` or `Filling.G`. κ: column counts of a diagram, the weight `D.weight` in comments, or the index type of X₀. s: the exponent `D.towerExp`, a list of signs, an element of `D.chosenGL`, or the complex variable. d: `P.d` or, in comments, the dimension `D.targetDim`. D: the data or, in comments, a dimension. In comments also: μ_j⁰ for the character `D.untwistedLiftChar j` of lift j, ω for `D.chiMLocal`, w and w_j for κ and κ_j, π for π_N, and N for `D.chosenGroupOrder` in the Selmer bounds. | |
| 166 | + | |
| 167 | +## 5. Global settings | |
| 168 | + | |
| 169 | +`Lib/Speed`, imported through `Lib/Base`, holds the main settings that apply to the whole development. They steer instance search and `simp`. They add no axiom. With `Lib/Speed` emptied, every file still compiled on Lean v4.33.1; on the current toolchain a few files rely on it (see its module note). They can influence which instance a statement inside the development picks up, but not the five theorems: their types are constants of Mathlib and of `Statements.lean`, which does not import the settings. Apart from these, `lakefile.toml` sets options for all files: no automatic implicit variables, `maxHeartbeats`, `maxSynthPendingDepth`, the thread stack and one printing option. | |
| 170 | + | |
| 171 | +| Setting | Effect on what you read | | |
| 172 | +|---|---| | |
| 173 | +| Changed `simp` set | `attribute [simp ←, simp]` tags a list of Mathlib lemmas in both directions, which erases them from the default set of every importing file. A proof names such a lemma when it needs it. | | |
| 174 | +| `IsVoid` | `simp` rewrites `IsEmpty α` to this synonym and stops there. | | |
| 175 | +| Instance priorities | A list of Mathlib instances is tried later. A second, short list is in `Lib/General/NumberTheory/CoefficientRings`, and some instances of the development have low priority. | | |
| 176 | + | |
| 177 | +Besides these, five Mathlib lemmas get the tag `fun_prop` where they are first needed, and some definitions of the development are marked irreducible. Other settings end with their declaration, section or file: `seal … in`, `open scoped Classical in`, `set_option`, a few `attribute [-simp]`, `attribute [-instance]` and `attribute [local simp]` lines, and `attribute [local instance low] Fintype.ofFinite` in files that sum over finite types. A name in an `open` line may switch on scoped instances, coercions or `simp` lemmas of the development. | |
| 178 | + | |
| 179 | +Coercions hide routine maps. A bundled object is read as its type (`DiscreteModule`, `Lift.GalLattice`). A form, a representation, a functor or a valuation subring is applied like a function: `F g`, `ρ g`, `F A`, and `A x` for the valuation of `x`. An element of `U J` is read as a matrix, an element of `E` as an adele, a point of `Gf` (the finite adelic points) as a point of `G`, a polynomial as a vector of Fock space, and a twist as its tame character. | |
| 180 | + | |
| 181 | +Some data are classes, so statements do not name them. `ThePrime p` fixes a prime p. `PadicIso ℓ` fixes ℂ ≃ ℚ̄_ℓ, and `PadicPlace p` fixes ℂ → ℂ_p. `CMType E` fixes the embeddings Φ. `WeilData E` fixes the data of the Weil representation. A statement speaks of the instance in scope. | |
| 182 | + | |
| 183 | +A hypothesis of the form `(h : … := by tac)` is proved by `tac` when the caller omits it. | |
+370 −0 INDEX.md added View file
| @@ -0,0 +1,370 @@ | ||
| 1 | +# Results and sources | |
| 2 | + | |
| 3 | +`src/Lib` holds results classed as known in the literature and missing from Mathlib. It imports nothing from `src/New`. `src/New` holds the steps of the argument, the set-up, and known results stated on the data of this proof. | |
| 4 | + | |
| 5 | +This sorting is a working classification. `REFERENCES.md` lists the citations and says which were compared with their sources. | |
| 6 | + | |
| 7 | +`Lib` has 495 files and 177,492 lines of code. `New`, `Main` and `Statements` have 308 files and 122,410 lines. The tables below are read from the heads of the files. The head of the file in the column "file" has the full note. | |
| 8 | + | |
| 9 | +## The last step | |
| 10 | + | |
| 11 | +Names omit `New.`; `D` is the data. The head of `New/Reduction/MainInequality` gives the errors, and `GUIDE.md` the sizes. | |
| 12 | + | |
| 13 | +| theorem | file | content | | |
| 14 | +|---|---|---| | |
| 15 | +| `D.span_short_integralRamified_eq_top`, `D.indexLe_normalizedPoincare` | `New/Reduction/ShortAndEnough` | Theorem A: a multiple of the projected Poincaré series has short lifts and small index. | | |
| 16 | +| `D.enough_forms` | `New/Reduction/ShortAndEnough` | Theorem B: few translates span almost all of the target forms. | | |
| 17 | +| `TwistedLattice.covolume_add_index_nonneg` | `New/Reduction/Lattices/TwistedLattice` | A twist for each prime: the product formula for a Gram determinant, with sizes read untwisted and valuations twisted. | | |
| 18 | +| `D.integral_forms_long` | `New/Determinant/Twist/LongForms` | Theorem C, the lower bound: covolume and twice the index together are at least about the main amount. | | |
| 19 | +| `star_inequality` | `New/Reduction/MainInequality` | The main inequality: the main amount cancels and the remainder is bounded above. | | |
| 20 | +| `eventually_abs_primeRemainder_exp_le_inv_pow` | `New/Reduction/Zeros/PrimeNumberTheorem` | The prime number theorem for the remainder of the prime sum, used at the second cut-off. | | |
| 21 | +| `eventually_primeRemainder_le_mul_rpow` | `New/Reduction/OneSidedBound` | For each ε > 0 the prime remainder is at most (128 φ(q₀) + 32) x^(−1/2 + ε) for all sufficiently large x. | | |
| 22 | +| `LFunction_ne_zero_of_primeRemainder_le` | `New/Reduction/Zeros/Criterion` | A one-sided bound for each prime d in the prescribed class, with a constant allowed to depend on d, gives a zero-free half-plane. | | |
| 23 | +| `grh` | `New/Reduction/OneSidedBound` | No Dirichlet L-function vanishes in re s > 1/2 (s ≠ 1 for a principal character). | | |
| 24 | + | |
| 25 | +The prime number theorem in this table is known (Montgomery and Vaughan, Multiplicative Number Theory I, 2007, Cor. 11.19). Its proof is in `Lib/Analytic/PrimeNumberTheorem/ZeroFreeRegion` and `Lib/Analytic/PrimeNumberTheorem/Tauberian`. | |
| 26 | + | |
| 27 | +## Steps of the argument | |
| 28 | + | |
| 29 | +| result | file | further files | related work | | |
| 30 | +|---|---|---|---| | |
| 31 | +| A weighted prime-counting error term and its poles at zeros of L-functions | `New/Reduction/Zeros/PrimeError` | | Davenport, Multiplicative Number Theory | | |
| 32 | +| The one-sided criterion for a zero-free half-plane | `New/Reduction/Zeros/Criterion` | | M. Suzuki, On variants of Chebyshev's conjecture, arXiv 2411.07436, 2024; Montgomery–Vaughan, Multiplicative Number Theory I, §15.1–15.2, 2007; Landau, Über einen Satz von Tschebyschef, 1905 | | |
| 33 | +| Height bounds for families over pairs | `New/Reduction/Lattices/Heights` | | Gaudron, Pentes des fibrés vectoriels adéliques sur un corps global (2006 preprint), Def. 4.10, (29). Bombieri–Gubler, Heights in Diophantine Geometry (2006), Prop. 1.4.4. | | |
| 34 | +| Twisted lattices | `New/Reduction/Lattices/TwistedLattice` | | Bost, Algebraic leaves of algebraic foliations over number fields, 2001; Laurent, Linear forms in two logarithms and interpolation determinants, 1994 | | |
| 35 | +| Divisibility of the jets of a series with the normal form along products of minors | `New/Derivatives/Divisibility/Count` | | Katz, Divisibilities, congruences, and Cartier duality, 1981; Chellali, Congruences entre nombres de Bernoulli–Hurwitz dans le cas supersingulier, 1990; Fujiwara, On divisibilities of special values of real analytic Eisenstein series, 1988; Bannai–Kobayashi–Yasuda, Radius of convergence of the p-adic sigma function, 2017 | | |
| 36 | +| Scale of theta Taylor series, tight frames, jet series along lines | `New/Derivatives/Vacuum/TightFrames` | | Conway–Sloane, Low-dimensional lattices V, 1989; Finis, Divisibility of anticyclotomic L-functions and theta functions with CM, 2006; Mumford, On the equations defining abelian varieties I, 1966 | | |
| 37 | +| Sharpness of the valuation bound | `New/Derivatives/Sharpness/BoundAttained` | | Bannai–Kobayashi, Algebraic theta functions and the p-adic interpolation of Eisenstein–Kronecker numbers (arXiv v1), 2006; Bannai–Kobayashi–Yasuda, Radius of convergence of the p-adic sigma function, 2017; Schneider–Teitelbaum, p-adic Fourier theory, 2001; Bannai–Kobayashi, Integral structures on p-adic Fourier theory, 2016 | | |
| 38 | +| Galois conjugates of jets of theta functions and archimedean bounds for jets | `New/UpperBound/Kernels/JetConjugatesAndBounds` | | Bannai–Kobayashi, Algebraic theta functions and the p-adic interpolation of Eisenstein–Kronecker numbers, 2010; Kings–Sprang, Eisenstein–Kronecker classes, integrality of critical values of Hecke L-functions and p-adic interpolation, 2019; Katz, p-adic L-functions for CM fields, 1978. The Galois action on theta functions with complex multiplication and on the finite Weil representation is known; see `Lib.Weil.DualPair.KernelLaws` for sources | | |
| 39 | +| Congruence levels inside the stabilizer of a glued lattice | `New/UpperBound/Seesaw/GluedLevel` | | `Grading.inclXFin_mem_stdLevel` is related to Nikulin's criterion for extending isometries to an overlattice: the congruence on `h` plays the part of the condition that an isometry preserve the gluing | | |
| 40 | +| The seesaw identity and the top of the chain | `New/UpperBound/Seesaw/SeesawIdentity` | `New/UpperBound/Objects/PoincareMap`, `New/UpperBound/Seesaw/IntegralAsCosetSum`, `New/UpperBound/Seesaw/AdmissibleCombinations`, `New/UpperBound/Seesaw/StandardLines`, `New/UpperBound/Seesaw/Sandwich`, `New/UpperBound/Seesaw/EdgePairEvaluation`, `New/UpperBound/Seesaw/Frequency`, `New/UpperBound/Seesaw/NeighbourLattice`, `New/UpperBound/Seesaw/NeighbourVacuum`, `New/UpperBound/Seesaw/AdmissibleEvaluation`, `New/UpperBound/Seesaw/GoodDatum`, `New/UpperBound/Seesaw/UnfoldingStages`, `New/UpperBound/Seesaw/Cut` | B. Wang, Global theta lifting and periods associated to nilpotent orbits, 2025; Gomez–Zhu, Local theta lifting of generalized Whittaker models, 2014; Gan–Ichino, The Gross–Prasad conjecture and local theta correspondence, 2016. Each period in the seesaw unfolding is a constant times a finite sum over cosets of a small level, weighted by reciprocals of stabiliser indices that divide powers of the norm of the twist's conductor. So the coefficients of the definite chain get no new denominators away from the conductor. Related work: Gross, Algebraic modular forms, 1999; Hsieh–Namikawa, Bessel periods and non-vanishing of Yoshida lifts modulo a prime, 2015; X. Zhang, Non-vanishing mod p of theta lifts for (O(2n+1), Mp(4n)), 2022 | | |
| 41 | +| Elementary divisors of one scaled Hecke operator on the integral source forms | `New/UpperBound/Divisibility/MarkOperator` | `New/UpperBound/Divisibility/HeckeEdges` | Arsovski, Limiting measures of supersingularities, 2019; Liu–Truong–Xiao–Zhao, Slopes of modular forms and geometry of eigencurves, 2023; Fakhruddin–Pilloni, Hecke operators and the coherent cohomology of Shimura varieties, 2021 | | |
| 42 | +| N-adic valuation of the lifts between the X_j at the level prime N | `New/UpperBound/Divisibility/ValuationAtLevel` | `New/UpperBound/Objects/CharactersAtLevel`, `New/UpperBound/Divisibility/ValuationAtNonSplitPrimes` | Z. Liu, Test Schwartz functions at p for theta lifts of Hida families, arXiv 2510.21644, 2025; S. Rallis, Langlands' functoriality and the Weil representation, 1982 | | |
| 43 | +| The divisibility of the composite lift at each prime | `New/UpperBound/Divisibility/LocalDivisibility` | `New/UpperBound/Divisibility/ChainDatumExpansion`, `New/UpperBound/Size/Estimates`, `New/UpperBound/ElementaryDivisors/Edges` | X. Zhang, Non-vanishing mod p of theta lifts for (O(2n+1),Mp(4n)), 2022; Berger, Arithmetic properties of similitude theta lifts, 2009; Prasanna, Integrality of a ratio of Petersson norms, 2006. At an inert prime p pairing two a-places, each lift may lose divisibility. Outside a sparse set of such p, the chain regains the predicted power of p, up to about one lift's loss, on the image of scaled Hecke operators above p applied once per lift. Once enlarged by a p-power multiple of all source forms, this image has small colength. Hecke operators passing through theta lifts, p-power scaling by weight and p-adapted lifts at ordinary p are known in the literature. Related work: Rallis, Langlands' functoriality and the Weil representation, 1982; V. Lafforgue, Estimées pour les valuations p-adiques des valeurs propres des opérateurs de Hecke, 2011; Z. Liu, Test Schwartz functions at p for theta lifts of Hida families, arXiv 2510.21644, 2025 | | |
| 44 | +| Numerical inequalities between the parameters of the data | `New/UpperBound/Size/Estimates` | `New/UpperBound/Size/ClassCount` | | | |
| 45 | +| Gauss filtrations, Stepanov's count and the root lemma | `New/UpperBound/ElementaryDivisors/RootLemma` | | Ghate–Jana, Modular representations of GL2(F_q) using calculus, 2025; Imai–Koskivirta, Automorphic vector bundles on the stack of G-zips, 2021; Bombieri, Counting points on curves over finite fields, Sém. Bourbaki 430, 1973 | | |
| 46 | +| Averaging: removing the terms of large defect in all Levi translates at once | `New/UpperBound/ElementaryDivisors/AveragingMap` | | Benson–Doty, Schur–Weyl duality over finite fields, 2009; Green, Polynomial representations of GL_n, 1980; Donkin, On Schur algebras and related algebras I, 1986 | | |
| 47 | +| The dimension of the forms of bounded defect | `New/UpperBound/ElementaryDivisors/DefectCount` | `New/UpperBound/ElementaryDivisors/TwistingData`, `New/UpperBound/ElementaryDivisors/Depth`, Tau Ceti `TauCeti/MeasureTheory/Measure/Lebesgue/PieriCone` | Forrester–Zhang, Corank-1 projections and the randomised Horn problem, 2021 (after Dixon, 1905; Anderson, 1991); Bombieri, Counting points on curves over finite fields, Sém. Bourbaki 430, 1973; Okounkov, Brunn–Minkowski inequality for multiplicities, 1996 | | |
| 48 | +| The dimension of the target and one good translate of the Poincaré map | `New/Spanning/SecondMoment/SpanningTheorem` | | Petersson, Über die Entwicklungskoeffizienten der automorphen Formen, 1932; Benedetto–Fickus, Finite normalized tight frames, 2003; Muić, Spectral decomposition of compactly supported Poincaré series and existence of cusp forms, 2010 | | |
| 49 | +| Equality of multiplicities | `New/Spanning/Multiplicities/EqualMultiplicities` | | Harris–Labesse, Conditional base change for unitary groups, 2004; Labesse, Changement de base CM et séries discrètes, 2011 | | |
| 50 | +| The Bessel function at a real place: decay and cut | `New/Spanning/Bessel/CutTailBound` | `New/Spanning/Bessel/Orthonormality` | Muić, Fourier coefficients of automorphic forms and integrable discrete series, 2015; Miličić, Asymptotic behavior of matrix coefficients of the discrete series, 1977; Wallach, Real Reductive Groups II, 1992 | | |
| 51 | +| Filling data from admissible data, with Bessel systems at the real places | `New/Spanning/Bessel/FillingData` | `New/Spanning/Bessel/MeanValue`, `New/Spanning/Bessel/SobolevBound`, `New/Spanning/Bessel/OpenCellBound`, `New/Spanning/Bessel/OpenCellPairing`, `New/Spanning/Bessel/CutTailBound` | Petersson, Über die Entwicklungskoeffizienten der automorphen Formen, 1932; NIST DLMF §10.22; Baruch, On Bessel distributions for quasi-split groups, 2001, and Bessel distributions for GL(3) over the p-adics, 2004; Comtat et al., Effective Kuznetsov trace formula for GSp(4), 2025 | | |
| 52 | +| Residue lifts, lattice charts and common flag vectors: which filling terms contribute | `New/Spanning/Unfolding/Climbing` | `New/Spanning/Unfolding/TermStructure` | Friedberg, Poincaré series for GL(n), 1987; Y. Liu, Relative trace formulae toward Bessel and Fourier–Jacobi periods, 2014; Furusawa–Shalika, Central critical values of degree four L-functions for GSp(4), Mem. AMS 782, 2003 | | |
| 53 | +| The second moments of the operators `P* s P`, and good forms | `New/Spanning/Unfolding/Moments` | `New/Spanning/SecondMoment/PositiveType` | Herman, Beyond endoscopy for the Rankin–Selberg L-function, 2011; Iwaniec–Li, The orthogonality of Hecke eigenvalues, 2007; Michel–Ramakrishnan–Yang, Bessel periods on U(2,1)×U(1,1), 2023 | | |
| 54 | +| The remaining terms: a bound for their sum | `New/Spanning/RemainingTerms/Sum` | `New/Spanning/RemainingTerms/FrameCount`, `New/Spanning/RemainingTerms/ColumnLattice`, `New/Spanning/RemainingTerms/Size` | Michel–Ramakrishnan–Yang, Bessel periods on U(2,1)×U(1,1), 2023; Kowalski–Saha–Tsimerman, Local spectral equidistribution for Siegel modular forms, 2012; Blomer, Density theorems for GL(n), 2023 | | |
| 55 | +| One-sided Poisson summation, sums over frequencies, and the sieve over all places | `New/Spanning/MainTerm/GlobalSieve` | `New/Spanning/MainTerm/SieveSystem` | Jacquet, Smooth transfer of Kloosterman integrals, 2003; Jacquet, Kloosterman identities over a quadratic extension, 2004; Blomer–Buttcane, Global decomposition of GL(3) Kloosterman sums and the spectral large sieve, 2015; Deshouillers–Iwaniec, Kloosterman sums and Fourier coefficients of cusp forms, 1982 | | |
| 56 | +| Main-term bound for the second moment over open reductions fixing given vectors | `New/Spanning/MainTerm/EnergyEstimate` | `New/Spanning/MainTerm/KloostermanSum`, `New/Spanning/MainTerm/FillingLevel`, `New/Spanning/MainTerm/GlobalToLocal`, `New/Spanning/MainTerm/SiegelTopBound`, `New/Spanning/MainTerm/FiniteSieveSystem`, `New/Spanning/Frames/Lengths`, `New/Spanning/Frames/TwoGauges`, `New/Spanning/Frames/Levels`, `New/Spanning/Frames/Correlations`, `New/Spanning/Frames/QuadricVolumes`, `New/Spanning/Frames/QuadricPlancherel`, `New/Spanning/Frames/Depth`, `New/Spanning/Frames/Densities`, `New/Spanning/Frames/Gains`, `New/Spanning/Frames/StandardLevel`, `New/Spanning/Frames/BesselVector`, `New/Spanning/Frames/FiniteDepth`, `New/Spanning/Frames/FiniteShells`, `New/Spanning/Frames/FiberMeasures`, `New/Spanning/Frames/FixedLines` | Jacquet–Ye, Germs of Kloosterman integrals for GL(3), 1999; Y. Liu, Relative trace formulae toward Bessel and Fourier–Jacobi periods, 2014; Siegel, Über die analytische Theorie der quadratischen Formen, 1935 | | |
| 57 | +| The share of non-allowed polynomials and the bad share | `New/Spanning/MainTerm/BadTypes` | | Green, The characters of the finite general linear groups, 1955; Dudko, Plancherel measures for GL(n,q), arXiv 0806.1345, 2008; Lidl–Niederreiter, Finite Fields, ch. 3, 1983 | | |
| 58 | +| The lift Θ_W, its adjoint and its norm | `New/Determinant/Norms/AdjointThetaLift` | | J.-S. Li, Non-vanishing theorems for the cohomology of certain arithmetic quotients, 1992; Cossutta–Marshall, Theta lifting and cohomology growth in p-adic towers, arXiv 1106.2765, 2011; Rallis, Injectivity properties of liftings associated to Weil representations, 1984; Rallis, L-functions and the oscillator representation, 1987 | | |
| 59 | +| Exchange of theta integrals for matched functions and for data modulo an ideal | `New/Determinant/Exchange/TheoremForPartners` | `New/Determinant/Exchange/NegativeIndices`, `New/Determinant/Exchange/EquivariantDifference`, `New/Determinant/Exchange/ConeImage`, `New/Determinant/Exchange/LargeTriple`, `New/Determinant/Exchange/RealVectors`, `New/Determinant/Exchange/VanishingDescends` | Snitz, Theta correspondence of automorphic characters, J. Number Theory 122 (2007), arXiv math/0509486; Erez, Matchings of theta lifts associated to non-trivial automorphic characters of odd orthogonal groups, arXiv 2401.13469, 2024; Gan–Qiu–Takeda, The regularized Siegel–Weil formula (second term identity) and the Rallis inner product formula, 2014 | | |
| 60 | +| One square: up then down against down then up | `New/Determinant/Exchange/OneSquare` | | Kudla, Seesaw dual reductive pairs, 1984; Chan, Period identities of CM forms on quaternion algebras, 2020; He, Compositions of theta correspondences, 2005 | | |
| 61 | +| Explicit real data: the exchange identity for a definite space with determinant data | `New/Determinant/Exchange/ExplicitMatching` | | Gan–Qiu–Takeda, The regularized Siegel–Weil formula, 2014 (after Kudla–Rallis, 1994; Ichino, 2004); Kashiwara–Vergne, On the Segal–Shale–Weil representations and harmonic polynomials, 1978; Böcherer–Schulze-Pillot, Siegel modular forms and theta series attached to quaternion algebras, 1991 | | |
| 62 | +| Norms along the chain of theta lifts and injectivity of ι_ϑ | `New/Determinant/Chain/ChainNorms` | `New/Determinant/Chain/TriangleLifts`, `New/Determinant/Chain/NormOfChain` | Gan–Qiu–Takeda, Regularized Siegel–Weil formula and Rallis inner product formula (Thm 1.3), 2014; Bruinier–Funke, Injectivity of the Kudla–Millson lift, 2010; He, Compositions of theta correspondences, 2005 | | |
| 63 | +| Vanishing of forms on Y₀ orthogonal to the deep level on Ỹ^0_0 | `New/Determinant/AuxiliaryForms/DeepLevelVanishing` | `New/Determinant/AuxiliaryForms/FirstPath` | Prasad–Schulze-Pillot, Generalised form of a conjecture of Jacquet, 2008; Harris, Testing rationality of coherent cohomology of Shimura varieties, 2014; Muić, Fourier coefficients of automorphic forms and integrable discrete series, 2015 | | |
| 64 | +| The cost of one lift: a height bound for Z_j(1)/Z_j(ξ^j) | `New/OneLift/LiftVolumeHeight` | | Böcherer–Dummigan–Schulze-Pillot, Yoshida lifts and Selmer groups, 2012; X. Zhang, Special L-values and Selmer groups of Siegel modular forms of genus 2, 2018; Hida, Congruences of cusp forms and special values of their zeta functions, 1981 | | |
| 65 | +| The first factors: P_V along W_j and W^add, integrality and size | `New/OneLift/ComparisonOperator/FirstFactors` | `New/OneLift/ComparisonOperator/LineCoordinates` | T. Yang, Theta liftings and Hecke L-functions, 1997; Böcherer–Schmidt, p-adic measures attached to Siegel modular forms, 2000; Harris–Li–Skinner, The Rallis inner product formula and p-adic L-functions, 2005 | | |
| 66 | +| Three exchanges: the carrier, the third exchange and its left side as a theta series | `New/OneLift/ComparisonOperator/ThreeExchanges` | | J.-S. Li, Non-vanishing theorems for the cohomology of certain arithmetic quotients, 1992; Gan–Qiu–Takeda, The regularized Siegel–Weil formula, 2014; T. Yang, Theta liftings and Hecke L-functions, 1997. The theta kernel of two definite unitary groups of the same even rank 2e with determinant data, summed over the classes of one group, is a non-zero constant whose modulus, up to a fixed factor and conductor norms, is a product of Hecke L-values at 1,…,e. This is the first step in turning the twist into a number. It is Rallis's formula at equal rank 2e for a character, whose central value folds by the functional equation into Hecke L-values at 1,…,e and a conductor power, with the ramified local data computed explicitly. Related work: Yamana, L-functions and theta correspondence for classical groups, 2014; C. Li, Geometric and arithmetic theta correspondences (§2.4–2.5), 2024; Yang, Theta liftings and Hecke L-functions, 1997 | | |
| 67 | +| Products span | `New/OneLift/ComparisonOperator/ProductsSpan` | `New/OneLift/ComparisonOperator/ThetaKernelEstimates` | J.-S. Li, Non-vanishing theorems for the cohomology of certain arithmetic quotients, 1992; Poor–Yuen, Linear dependence among Siegel modular forms, 2000; Khuri-Makdisi, Moduli interpretation of Eisenstein series, 2012 | | |
| 68 | +| The first factors and the gluing maps | `New/OneLift/ComparisonOperator/GluingMaps` | | Böcherer–Dummigan–Schulze-Pillot, Yoshida lifts and Selmer groups, 2012; Y.-S. Lee, Hida family of theta lift from U(1) to definite U(2), 2024; Prasanna, Integrality of a ratio of Petersson norms and level-lowering congruences, 2006 | | |
| 69 | +| The tower of descents and the periods of false lifts | `New/OneLift/FalseLifts/PeriodsOfFalseLifts` | `New/OneLift/FalseLifts/HyperbolicPlaneStep` | C. Wu, Poles of Eisenstein series and theta lifts for unitary groups, arXiv 2104.11954, 2021; Ginzburg–Jiang–Soudry, Poles of L-functions and theta liftings for orthogonal groups, 2009; Jiang–Wu, On (χ,b)-factors of cuspidal automorphic representations of unitary groups I, 2016; Rallis, On the Howe duality conjecture, 1984 | | |
| 70 | +| Heights of ratios of twisted to untwisted Hecke values via rank-one theta lifts | `New/OneLift/HeckeValues/TwistedValueHeights` | `New/OneLift/HeckeValues/CentralAction` | Prasanna, Integrality of a ratio of Petersson norms, 2006; Coates–Liang–Sujatha, Tate–Shafarevich group for elliptic curves with CM II, 2010 (after Katz, 1977); Y.-S. Lee, Hida family of theta lift from U(1) to definite U(2), 2024 | | |
| 71 | +| All data have regular families of m-fold twists | `New/Congruences/FitTwistsExist` | `New/Determinant/Twist/FitTwists` | Prasanna, Integrality of a ratio of Petersson norms, 2006 (after Ribet, 1976; Wiles); Klosin, Congruences among modular forms on U(2,2) and the Bloch–Kato conjecture, 2009; Mazur–Rubin, Ranks of twists of elliptic curves, 2010 | | |
| 72 | +| Main summand conditions on Hodge–Tate jumps and existence of main summands for Hecke eigensystems | `New/Congruences/GaloisRepresentations/RowsFromEigensystems` | `New/Congruences/GaloisRepresentations/RowsAndColumnsFromLabels` | Rallis, Langlands' functoriality and the Weil representation, 1982; Khare–Larsen–Savin, Functoriality and the inverse Galois problem, 2008; Arias-de-Reyna–Dieulefait–Shin–Wiese, Compatible systems of symplectic Galois representations III, 2015 | | |
| 73 | +| Taylor–Wiles places in a triangle for the even classes, with prescribed Frobenii | `New/Congruences/FirstOrder/TrianglePrimes` | | Gras–Munnier, Extensions cycliques T-totalement ramifiées, 1998; Hajir–Maire–Ramakrishna, Tame Z/pZ-extensions with prescribed ramification, 2022; Taylor–Wiles, Ring-theoretic properties of certain Hecke algebras, 1995; Darmon–Diamond–Taylor, Fermat's Last Theorem (2.19), 1995; Dotto–Thorne, Residually reducible representations of rank 2, 2026 | | |
| 74 | +| The family of operators at the auxiliary places | `New/Congruences/FirstOrder/AuxiliaryPrimeTie` | `New/Congruences/FirstOrder/TiedTraces` | Wiles, The Iwasawa conjecture for totally real fields, 1990; Lecouturier, Mazur–Tate conjecture for prime conductor, 2019; Dotto–Thorne, Residually reducible representations of rank 2, 2026. At a suitable Frobenius element, the Hecke polynomial of a weak lift is a full chain of roots times a factor that is integral once normalised. With the chain lemma this gives, at each added place, an integral operator on forms under which the tie of inertia to Frobenius holds and weak lifts do not move. In the literature the chain lemma follows from the spherical unitary dual and Jacquet modules. Related work: Tadić, Spherical unitary dual of GL(n), 1986; Casselman, Unramified principal series of p-adic groups I, 1980; Clozel–Harris–Taylor, Automorphy for some l-adic lifts (Lemma 3.1.3, §3.4), 2008 | | |
| 75 | +| Constants, trace relations, lattices and local defects for Ribet's method | `New/Congruences/FirstOrder/TraceRelations` | | Sweeting, Bloch–Kato conjecture for four-dimensional symplectic representations, 2025; Chang–Diamond, Extensions of rank one (φ,Γ)-modules, 2011; T. Liu, Torsion p-adic Galois representations and a conjecture of Fontaine, 2007 | | |
| 76 | +| Ribet's element for conjugate self-dual representations | `New/Congruences/FirstOrder/RibetElement` | `New/Congruences/FirstOrder/TateTwistCocycles`, `New/Congruences/LocalLoss/CrystallineDefect`, `New/Congruences/LocalLoss/TateDualBound`, `New/Congruences/LocalLoss/LocalLattices` | Dasgupta–Kakde–Silliman–Wang, The residually indistinguishable case of Ribet's method for GL2, 2023; Bellaïche–Chenevier, Families of Galois representations and Selmer groups, 2009; Urban, Selmer groups and the Eisenstein–Klingen ideal, 2001 | | |
| 77 | +| The bound for denominators | `New/Congruences/FirstOrder/DenominatorBound` | | Dasgupta–Kakde–Silliman–Wang, The residually indistinguishable case of Ribet's method for GL2, 2023; Dotto–Thorne, Modularity of residually reducible representations of rank 2, 2026; Martin–Wakatsuki, Mass formulas and Eisenstein congruences in higher rank, 2024 | | |
| 78 | +| The descent | `New/Congruences/Selmer/Descent` | `New/Congruences/Selmer/SelmerData`, `New/Congruences/Selmer/Count` | Fakhruddin–Khare–Patrikis, Relative deformation theory, relative Selmer groups, and lifting irreducible Galois representations, 2021; Mazur–Rubin, Diophantine stability, 2018; Darmon–Diamond–Taylor, Fermat's Last Theorem, 1995 | | |
| 79 | +| Roots of unity `ζ` with polynomials hardly more divisible at `ζ - 1` than at given points | `New/Congruences/Selmer/RootsOfUnity` | | Kriz–Nordentoft, Horizontal p-adic L-functions, 2023; Serban, An infinitesimal p-adic multiplicative Manin–Mumford conjecture, 2018; Kurihara, The structure of Selmer groups of elliptic curves and modular symbols, 2014 | | |
| 80 | +| The twisting theorem | `New/Congruences/Selmer/TwistingTheorem` | `New/Congruences/Selmer/OneSystem`, `New/Congruences/Selmer/Untied`, `New/Congruences/Selmer/StickelbergerSystems`, `New/Congruences/Selmer/Line`, `New/Congruences/Selmer/MainSummands`, `New/Congruences/Selmer/LValueSystems` | Mazur–Rubin, Diophantine stability, 2018; Kriz–Nordentoft, Horizontal p-adic L-functions, 2023; Hida, Non-vanishing modulo p of Hecke L-values, 2004 | | |
| 81 | +| The defect of the dual of a summand at a place above ℓ | `New/Congruences/LocalLoss/CrystallineDefect` | `New/Congruences/LocalLoss/CrystallineCocycles` | | | |
| 82 | +| Safe moves and the walk for pairings of sides of a Kummer chart | `New/Congruences/Lifting/SafeMoves` | `New/Congruences/Lifting/ExponentLattices`, `New/Congruences/Lifting/SidePoints` | Čoupek–Gazaki–Marmora, Exactness property of Breuil–Kisin functors and Bloch–Kato Selmer groups, 2026; Gao–Liu, Integral filtered Sen theory and applications, 2024; Chang–Diamond, Extensions of rank one (φ,Γ)-modules and crystalline representations, 2011. The file `New.Congruences.Lifting.CutExponentBounds` applies the walk to two choices of cuts | | |
| 83 | +| Exponent bounds by cuts for paired sides of a Kummer chart: sparse thick letters, two sizes | `New/Congruences/Lifting/CutExponentBounds` | `New/Congruences/Lifting/LongGap` | Gao–Liu, Integral filtered Sen theory and applications, 2024; Iovita–Marmora, Continuity of the finite Bloch–Kato cohomology, 2015; Y. Min, Congruences of first syntomic cohomology groups, 2026 | | |
| 84 | +| Few low jumps: length lost to depth and a submodule cupping to zero | `New/Congruences/Lifting/FewLowJumps` | `New/Congruences/Lifting/DeepPoints` | | | |
| 85 | +| From sides to lattices: few low jumps, b-letters and tame types | `New/Congruences/Lifting/CupOrthogonalityBounds` | `New/Congruences/Lifting/TameCharts` | Iovita–Marmora, Continuity of the finite Bloch–Kato cohomology, 2015; Nekovář, Compatibility of arithmetic and algebraic local constants II, 2018; Le–Le Hung–Levin–Morra, Local models for Galois deformation rings, 2023. Work over unramified p-adic fields with p ≥ 5, where p divides no non-zero integer near 0 or the large weights. There, crystalline classes modulo those cupping to zero with congruent dual lattices have length O(1 + large weight/p) per low weight plus O(rank × (window width + 1)), times the residue degree and the length of O/p, and zero length absent small negative weights. This bounds the loss above p in the Selmer bound. No loss for weights below p−1, exact Breuil–Kisin sequences for weights of one sign, and torsion located by weights modulo p are known in the literature. Related work: Iovita–Marmora, Continuity of the finite Bloch–Kato cohomology, 2015; Čoupek–Gazaki–Marmora, Exactness of Breuil–Kisin functors, 2026; Gao–Liu, Integral filtered Sen theory and applications, 2024 | | |
| 86 | +| Localizing products of discrete series coefficients near the compact subgroups | `New/Appendix/DiscreteSeries/Localization` | `New/Appendix/DiscreteSeries/SteepParameters` | | | |
| 87 | +| Lower bounds for periods by Laplace's method | `New/Appendix/DiscreteSeries/Periods` | `New/Spanning/Bessel/LargeFunction`, `New/Appendix/DiscreteSeries/MinorSecondOrder`, `New/Appendix/DiscreteSeries/OneMinor`, `New/Appendix/DiscreteSeries/GaussianShape` | Nelson–Venkatesh, The orbit method and analysis of automorphic forms, 2021; H. He, On the Gan–Gross–Prasad conjecture for U(p,q), 2017; B. Sun, Matrix coefficients of cohomologically induced representations, 2007 | | |
| 88 | +| Forms of a cusp kernel on adelic unitary groups are cuspidal, decay rapidly, span finite dimension | `Lib/Adelic/AutomorphicForms/Cuspidality` | `Lib/Adelic/AutomorphicForms/UnipotentRadical`, `Lib/Adelic/Reduction/FirstMinimumShortBases` | | | |
| 89 | +| Adelic reduction theory, Mahler-Godement criterion, finite covolume, Weil's convergence criterion | `Lib/Adelic/Reduction/FiniteVolume` | `New/UpperBound/Size/Estimates`, `Lib/Adelic/Reduction/FirstMinimumShortBases`, `Lib/Adelic/Reduction/MinkowskiTheorems`, `Lib/Adelic/Reduction/DefiniteClassSums`, `Lib/Weil/Periods/BesselIntegral` | A. Borel, Some finiteness properties of adele groups over number fields, Publ. IHES 16 (1963), 4.5-5.8; A. Weil, Sur la formule de Siegel dans la théorie des groupes classiques, Acta Math. 113 (1965), Prop. 8; Bombieri-Vaaler, On Siegel's lemma, Invent. Math. 73 (1983) | | |
| 90 | +| Hecke relation T⁺T⁻ = q^(n-2)(1+(q^n-1)e_sph) for the stabiliser of a line in GL_n(𝒪) | `Lib/Adelic/TraceFormula/LineStabiliser` | | | | |
| 91 | +| Simple trace formulas for unitary groups differing only at real places agree | `Lib/Adelic/TraceFormula/TraceComparison` | `Lib/Adelic/TraceFormula/TestFunction`, `Lib/Adelic/TraceFormula/ChangingSigns`, `Lib/Adelic/TraceFormula/OrbitalUnfolding`, `Lib/Adelic/TraceFormula/CuspidalComparison` | Labesse, Changement de base CM et séries discrètes (2011), Thms 5.4, 5.5 and their proofs; Arthur and Clozel (1989), ch. 1, Lemmas 2.4-2.6; Knightly and Li, Traces of Hecke operators (2006); Flicker and Kazhdan (1988) and Harris and Labesse (2004), Prop. 1.10.5 | | |
| 92 | +| Selberg principle: orbital integrals of a cusp idempotent vanish off the elliptic set | `Lib/Adelic/TraceFormula/TraceComparison` | | Harish-Chandra, Discrete series II, Acta Math. 116 (1966), Thm 11; Blanc and Brylinski, Cyclic homology and the Selberg principle, J. Funct. Anal. 109 (1992); Hochs and Wang, Orbital integrals and K-theory classes (2019), Cor 4.8 | | |
| 93 | +| X ∈ 𝔬[[y]] for the CM curve with integral a₁, by Hensel's lemma for the cubic | `Lib/CM/FormalGroup/IntegralParameter` | | | | |
| 94 | +| Upper bound on trivialised Galois cocycles, replacing Greenberg–Wiles, without local duality | `Lib/ClassField/GreenbergWiles/CocycleCounts` | `Lib/ClassField/GaloisCohomology/TateIndexFormula`, `Lib/ClassField/GaloisCohomology/TameSelmerCocycles`, `Lib/ClassField/GreenbergWiles/SelmerLevels`, `Lib/ClassField/GreenbergWiles/SplitPrimeReciprocity`, `Lib/ClassField/GreenbergWiles/SelmerRelations`, `Lib/ClassField/GreenbergWiles/Relations`, `Lib/ClassField/GreenbergWiles/RelationsModL` | | | |
| 95 | +| One explicit integer bounding the length of the odd cocycle module of a CM field at every prime ℓ | `Lib/Cyclotomic/OddSha` | `Lib/GaloisRep/Main/SelmerModules` | B. Mazur, A. Wiles, Class fields of abelian extensions of Q, Invent. Math. 76 (1984); C. Greither, Ann. Inst. Fourier 42 (1992), Thm 3.2 | | |
| 96 | +| Haar measures on the Bessel unipotent groups via coordinates, and σ-finiteness on the unitary group | `Lib/DiscreteSeries/Bessel/UnipotentHaarMeasure` | `New/Spanning/Bessel/Average`, `New/Spanning/Bessel/LargeFunction`, `Lib/DiscreteSeries/Bessel/Basic`, `Lib/DiscreteSeries/Bessel/SchurBound` | H. Xue, Bessel models for real unitary groups: the tempered case, Duke Math. J. 172 (2023) 995-1031; R. Beuzart-Plessis, Astérisque 418 (2020) | | |
| 97 | +| Measure of a quadric solved in a block of coordinates (Tonelli, Haar invariance) | `Lib/DiscreteSeries/Bruhat/QuadricBlocks` | | | | |
| 98 | +| Bounds for the Fourier kernel ψ(ξ⟨v,y⟩) between solved measures (Fubini, Cauchy–Schwarz, Plancherel) | `Lib/DiscreteSeries/Bruhat/FourierKernels` | | | | |
| 99 | +| Volume of ℂ^κ disintegrates along y ↦ y*y into measures on spheres (polar coordinates) | `Lib/DiscreteSeries/Bruhat/SphereFibres` | | | | |
| 100 | +| First properties of c_λ on U(p,q) and its K-types via Flensted-Jensen's integral | `Lib/DiscreteSeries/FlenstedJensen/PsiKTypes` | | M. Flensted-Jensen, Discrete series for semisimple symmetric spaces, Ann. of Math. 111 (1980) 253-311; B. Sun, Matrix coefficients of cohomologically induced representations, Compositio Math. 143 (2007), Thm 1.1 (arXiv math/0403440); A. Knapp, Representation Theory of Semisimple Groups (1986), ch. IX | | |
| 101 | +| Integral GL(n+1)→GL(n) branching map with norm bound, unique up to scalar among unitarily equivariant maps | `Lib/GLn/Branching/IntegralMap` | `Lib/GLn/Branching/NormBound` | Goodman, Wallach 2009, Theorem 8.1.1; Zhelobenko, Compact Lie Groups and their Representations, 1973, ch. X; Molev, Gelfand-Tsetlin bases for classical Lie algebras, arXiv math/0211289 | | |
| 102 | +| Sums of residues of rational functions at simple real poles, via Lagrange interpolation | `Lib/General/Algebra/ResidueSums` | | | | |
| 103 | +| Twisted conjugacy in I₁ t I₁ for GL_n over a local field | `Lib/LocalGL/Iwahori/ParahoricStructure` | | Görtz–Haines–Kottwitz–Reuman, Compositio 146 (2010), Thm 1.1.5 (conjugacy in I t I) | | |
| 104 | +| Frobenius' dimension formula (basis-free) and irreducibility of the theta group | `Lib/Shimura/ComplexTheta/DimensionFormula` | `Lib/Shimura/ComplexTheta/AppellHumbertData`, `Lib/Shimura/ThetaNormality/NormalGeneration` | G. Frobenius, Über die Grundlagen der Theorie der Jacobischen Functionen, Crelle 97 (1884); Birkenhake–Lange, Complex Abelian Varieties, 3.2.7, 4.1.5, 6.4; survey of proofs in D. Bump, A. Pekker, Proc. AMS 130 (2002) 3473–3481 | | |
| 105 | +| Rallis inner product formula by doubling in Weil's range, for rapidly decreasing forms | `Lib/SiegelWeil/RallisInner/Doubling` | | S. Rallis, L-functions and the oscillator representation, LNM 1245 (1987); J.-S. Li, Crelle 428 (1992); the unitary unfolding is written out in Y. Liu (2011) Prop 2.3 and Eischen–Harris–Li–Skinner 4.1.4 | | |
| 106 | +| Rallis inner product formula by doubling for sharp data, unramified integrals as a sum over cosets | `Lib/SiegelWeil/RallisInner/SharpData` | `New/OneLift/HeckeValues/CharacterLift`, `New/OneLift/HeckeValues/CharacterLiftNorm`, `New/OneLift/HeckeValues/TwistedRatio`, `New/OneLift/HeckeValues/AlgebraicPartSize`, `Lib/SiegelWeil/UnramifiedSeries/RallisSeries` | For its sources see `Lib.SiegelWeil.RallisInner.Doubling` | | |
| 107 | +| Non-vanishing of unitary theta lifts when the target rank exceeds twice the source rank, sharp data | `Lib/SiegelWeil/RallisInner/SharpData` | | S. Rallis, Injectivity properties of liftings associated to Weil representations, Compositio 52 (1984); J.-S. Li, Non-vanishing theorems for the cohomology of certain arithmetic quotients, Crelle 428 (1992) | | |
| 108 | +| Constancy of automorphic functions on unitary groups with a hyperbolic plane (weak strong approx.) | `Lib/SiegelWeil/Formula/StrongApproximation` | | | | |
| 109 | +| Product rule of the Weil representation without a Schrödinger model; cocycle trivial by local facts | `Lib/Weil/Construction/WeilOperators` | `Lib/Weil/Construction/HeisenbergModel` | | | |
| 110 | +| Rapid decay of unitary dual pair theta kernels for data supported on full-rank maps at split places | `Lib/Weil/DualPair/KernelDecay` | `Lib/Weil/DualPair/ShortIsotropicVectors`, `Lib/Weil/DualPair/ThetaLiftConvergence` | S. Kudla, Seesaw dual reductive pairs, Progr. Math. 46 (1984); Harris, Kudla, Sweet, Theta dichotomy for unitary groups, J. Amer. Math. Soc. 9 (1996), section 1; Kudla, Rallis, A regularized Siegel-Weil formula: the first term identity, Ann. Math. 140 (1994) | | |
| 111 | +| One unfolding step of Bessel/Fourier–Jacobi periods under unitary theta lift, hook orbits | `Lib/Weil/Periods/Unfolding` | `Lib/Weil/DualPair/WeilAction`, `Lib/Weil/Periods/Grading`, `Lib/Weil/Periods/BesselIntegral`, `Lib/Weil/Periods/Equivariant` | B. Wang Peng Jun, Global theta lifting and automorphic periods associated to nilpotent orbits, J. Number Theory 271 (2025) 122–149, Prop. 3.2 and Thm. 4.5; R. Gomez, C.-B. Zhu, GAFA 24 (2014) 796–853; M. Furusawa, K. Morimoto, Math. Ann. 391 (2025) §3 | | |
| 112 | + | |
| 113 | +## Known results | |
| 114 | + | |
| 115 | +| result | file | further files | sources | | |
| 116 | +|---|---|---|---| | |
| 117 | +| Prime number theorem in arithmetic progressions with an error term that saves every power of the logarithm | `New/Reduction/Zeros/PrimeNumberTheorem` | | Montgomery and Vaughan, Multiplicative Number Theory I, 2007, Cor. 11.19. Form here: the modulus is fixed, and the count is the smoothed sum `∑_{n ≤ y} λ(n) (1/n - 1/y)` over the prime powers `n ≡ 1` mod `q`; for `d ≡ 3` mod `4` the primes that split in `ℚ(√-d)` have weight zero | | |
| 118 | +| The Schur algebra, and that group elements span it in degrees below the size of the field | `New/UpperBound/ElementaryDivisors/InvariantAverage` | | Green, Polynomial representations of GL_n, 1980; Benson–Doty, Schur–Weyl duality over finite fields, 2009 | | |
| 119 | +| Smoothness and Schur's orthogonality relations for vectors of a discrete series representation (Harish-Chandra) | `New/Spanning/Bessel/SchurBound` | | | | |
| 120 | +| Siegel's lemma over number fields (Bombieri–Vaaler) | `New/Spanning/RemainingTerms/SiegelLemma` | `Lib/General/NumberTheory/LatticeCovolumes` | E. Bombieri, J. Vaaler, On Siegel's lemma, Invent. Math. 73 (1983) | | |
| 121 | +| Sah's lemma, by which cocycles vanishing at an element that acts by a scalar `ζ` with `ζ - 1` a unit are detected on commutators | `New/Congruences/Selmer/SelmerData` | | | | |
| 122 | +| Integral group-ring elements interpolating twisted Hecke L-values, with norm relations | `New/Congruences/Selmer/ClassSums` | `New/OneLift/HeckeValues/PeriodAtOne` | N. Katz, p-adic L-functions for CM fields, Invent. Math. 49 (1978); construction as theta elements: Bertolini, Darmon, Invent. Math. 126 (1996), adelic form Chida, Hsieh, J. reine angew. Math. 741 (2018); Euler factor: Tamagawa, Ann. of Math. 77 (1963) | | |
| 123 | +| The passage from the half-plane to the critical line by the functional equation | `New/Main` | | | | |
| 124 | +| Landherr's Hasse principle for hermitian forms | `Lib/Adelic/Landherr` | | W. Landherr, Äquivalenz Hermitescher Formen über einem beliebigen algebraischen Zahlkörper, Abh. Math. Sem. Hamburg 11 (1936) 245-248; M. Kneser, Lectures on Galois cohomology of classical groups, TIFR 47 (1969), §5.5 | | |
| 125 | +| The topology of the finite adeles of a number field, strong approximation and base change | `Lib/Adelic/Adeles/Basic` | `Lib/Adelic/Adeles/SemilocalProducts`, `Lib/General/NumberTheory/LatticeCovolumes`, `Lib/SiegelWeil/OneVector/FinitePlaceDensity` | J. W. S. Cassels, Global Fields, in Cassels-Fröhlich, Algebraic Number Theory, 1967, ch. II §§14-16; A. Weil, Basic Number Theory, ch. IV | | |
| 126 | +| A number field is a cocompact lattice in its adeles, of covolume one for a suitable measure | `Lib/Adelic/Adeles/AdditiveCharacter` | | | | |
| 127 | +| Self-duality of a number field in its adeles, strong approximation and a Poisson inequality | `Lib/Adelic/Adeles/StrongApproximation` | | J. Tate, Fourier analysis in number fields and Hecke's zeta-functions, thesis 1950, in Cassels-Fröhlich ch. XV, Theorem 4.1.4; for strong approximation, Cassels, ch. II §15 | | |
| 128 | +| The module of an idele, the product formula and the scaling of Haar measure | `Lib/Adelic/Adeles/IdeleModulus` | | | | |
| 129 | +| The module of an idele is preserved by the norm map on finite adeles (functoriality, restricted) | `Lib/Adelic/Adeles/IdeleModulus` | | | | |
| 130 | +| Automorphic forms on unitary groups and their rapid decay | `Lib/Adelic/AutomorphicForms/Basic` | | | | |
| 131 | +| Convolution over real points, cusp kernels, the Petersson product and Poincaré series projected to forms, from the theory of cusp forms | `Lib/Adelic/AutomorphicForms/RealConvolution` | | | | |
| 132 | +| Algebraic modular forms on definite unitary groups, their invariant pairing and Harish-Chandra parameters | `Lib/Adelic/AutomorphicForms/SmoothAlgebraicForms` | `Lib/Adelic/AutomorphicForms/PAdicGauge`, `Lib/GaloisRep/Main/AllRanks` | B. Gross, Algebraic modular forms, Israel J. Math. 113 (1999) | | |
| 133 | +| Algebraic modular forms as functions on the adelic group | `Lib/Adelic/AutomorphicForms/AutomorphicAsAlgebraic` | `Lib/Adelic/AutomorphicForms/BlockPeriods` | | | |
| 134 | +| Finite dimension of spaces of algebraic modular forms and the Hecke eigenforms spanning them | `Lib/Adelic/AutomorphicForms/HeckeEigenforms` | | | | |
| 135 | +| Weighted class sums for a pair (G,K), as in the theory of abstract Hecke operators and of algebraic modular forms | `Lib/Adelic/Hecke/ClassSums` | `New/Determinant/Exchange/MatchingPartners`, `Lib/Adelic/AutomorphicForms/PAdicGauge`, `Lib/Adelic/Hecke/Basic`, `Lib/GaloisRep/BaseChange/CommutingHeckeFamilies`, `Lib/GaloisRep/BaseChange/StepMatchingPairs` | G. Shimura, Introduction to the Arithmetic Theory of Automorphic Functions (1971), ch. 3; B. Gross, Algebraic modular forms, Israel J. Math. 113 (1999) 61-93; M. Greenberg and J. Voight, Lattice methods for algebraic modular forms on classical groups, arXiv 1209.2460 | | |
| 136 | +| Invariant integration on a quotient (Weil's formula), unfolding and unimodularity | `Lib/Adelic/QuotientMeasure/Basic` | `Lib/Adelic/QuotientMeasure/UnfoldingInStages`, `Lib/Adelic/Reduction/DefiniteClassSums` | O. Kallenberg, Invariant measures and disintegrations with applications to Palm and related kernels, Probab. Theory Related Fields 139 (2007) 285-310 (as cited in D. Gentner, G. Last, Math. Z. 267 (2011), §2); for the classical form, N. Bourbaki, Intégration VII, 1963 | | |
| 137 | +| The unfolding trick and the integration formula in Iwasawa coordinates on a quotient by a discrete subgroup | `Lib/Adelic/QuotientMeasure/IwasawaUnfolding` | | | | |
| 138 | +| Integral over Λ\(R×G) computed over R×(Λ\G) or (Λ\R)×G, independent of cutoff | `Lib/Adelic/QuotientMeasure/MovingTheQuotient` | | | | |
| 139 | +| Transference theorem for the covering radius of a lattice against its dual's first minimum | `Lib/Adelic/Reduction/FirstMinimumShortBases` | | Lagarias-Lenstra-Schnorr, Korkin-Zolotarev bases and successive minima of a lattice and its reciprocal lattice, Combinatorica 10 (1990); sharp forms in Banaszczyk, Math. Ann. 296 (1993), and Miller-Stephens-Davidowitz, Kissing numbers and transference theorems from generalized tail bounds, SIAM J. Discrete Math. 33 (2019) | | |
| 140 | +| The elements of a group algebra that keep the vectors fixed by a subgroup, and their action on these vectors | `Lib/Adelic/TraceFormula/LevelAlgebra` | | | | |
| 141 | +| Descent of invariant distributions to a slice, after Harish-Chandra | `Lib/Adelic/TraceFormula/FibreIntegral` | | | | |
| 142 | +| Test functions with a deeper level at an auxiliary split place, by removing the components there | `Lib/Adelic/TraceFormula/OffPlace` | | | | |
| 143 | +| Invariant distributions on coprime-factor classes kill test functions cuspidal at a split place | `Lib/Adelic/TraceFormula/CoprimeFactors` | | Deligne and Kazhdan | | |
| 144 | +| Traces of A^l T⁺^m at the line-stabiliser level determine the trace of A at maximal level K | `Lib/Adelic/TraceFormula/LevelCut` | | | | |
| 145 | +| Sum over the rational points of a majorant of a test function, bounded by a power of the height | `Lib/Adelic/TraceFormula/KernelBound` | | | | |
| 146 | +| Congruence subgroups and level structures of adelic groups | `Lib/Adelic/Unitary/CongruenceLevels` | `New/UpperBound/Objects/AuxiliaryPair`, `Lib/GaloisRep/Main/CuspidalTypes`, `Lib/Weil/Unramified/HeckeGL` | V. Platonov, A. Rapinchuk, Algebraic groups and number theory, ch. 3 and 5; B. H. Gross, Algebraic modular forms, Israel J. Math. 113 (1999) 61-93 | | |
| 147 | +| Weak approximation for unitary groups | `Lib/Adelic/Unitary/WeakApproximation` | `Lib/Adelic/Adeles/StrongApproximation`, `Lib/Adelic/Reduction/FiniteVolume`, `Lib/Adelic/Unitary/Defs`, `Lib/Weil/DualPair/Defs`, `Lib/Weil/Periods/Grading` | V. Platonov, A. Rapinchuk, Algebraic Groups and Number Theory, 1994, ch. 7. Here a hermitian space comes with an adelic frame to a fixed diagonal form, and this form is the identity at all finite places, so every space of one signature shares one adelic group | | |
| 148 | +| Witt's theorem for the hermitian form of a space, in matrix form | `Lib/Adelic/Unitary/RationalPoints` | | | | |
| 149 | +| Witt's extension theorem for hermitian forms, here in a smooth local form for isotropic vectors | `Lib/Adelic/Witt/SmoothWitt` | | | | |
| 150 | +| Witt's extension theorem for hermitian forms and unimodular hermitian lattices; Iwasawa decomposition | `Lib/Adelic/Witt/IwasawaDecomposition` | `New/Determinant/Exchange/RealVectors`, `Lib/Adelic/Unitary/Defs`, `Lib/Adelic/Witt/WittTheorem`, `Lib/General/LinearAlgebra/IntegralLattices`, `Lib/SiegelWeil/OneVector/FinitePlaceDensity`, `Lib/Weil/MixedModel/IsotropicSplitting` | U. A. First, Witt's extension theorem for quadratic spaces over semiperfect rings, J. Pure Appl. Algebra 219 (2015), Cor. 4.9 (for fields, Dieudonné, La géométrie des groupes classiques, 1955; for lattices, Jacobowitz, Amer. J. Math. 84 (1962)); J. Tits, Reductive groups over local fields, Proc. Sympos. Pure Math. 33 (1979), part 1, 3.3.2 and 3.8.1 | | |
| 151 | +| The Pólya–Vinogradov inequality for sums of a non-principal Dirichlet character | `Lib/Analytic/PolyaVinogradov` | | Pólya 1918, Vinogradov 1918; Davenport, Multiplicative Number Theory; Montgomery–Vaughan Thm 9.18 | | |
| 152 | +| The transformation formula and the Mellin transform of the theta series of a Dirichlet character | `Lib/Analytic/DirichletTheta` | | Davenport, Multiplicative Number Theory; Montgomery–Vaughan, Multiplicative Number Theory I, ch. 10. Form here: the transformation is proved in absolute value only, so no root number appears | | |
| 153 | +| Landau's lemma on Dirichlet integrals of one sign | `Lib/Analytic/Landau` | `Lib/Analytic/EntireLFunction` | Montgomery and Vaughan, Multiplicative Number Theory I, 2007, Lemma 15.1 (Widder, The Laplace Transform, 1941, II Thm 5b) | | |
| 154 | +| Zero density for quadratic twists by mean values over real characters | `Lib/Analytic/QuadraticTwist` | | Jutila, On mean values of Dirichlet polynomials with real characters, Acta Arith. 27 (1975); Heath-Brown, A mean value estimate for real character sums, Acta Arith. 72 (1995). Form here: a weak density bound for the twists of the characters of a fixed modulus, by a smoothed mean square of Jacobi symbol sums | | |
| 155 | +| Primes congruent to `1` modulo `M ^ k` with logarithm in a prescribed window | `Lib/Analytic/Primes` | | Montgomery and Vaughan, Multiplicative Number Theory I, 2007, Cor. 11.19 | | |
| 156 | +| The bound `L(s, χ) ≪ log (N \|s\|)` near `re s = 1` and away from the pole | `Lib/Analytic/PrimeNumberTheorem/LFunctionGrowth` | | Montgomery and Vaughan, Multiplicative Number Theory I, 2007, Lemma 10.15 | | |
| 157 | +| The passage from a zero-free region to the error term of the prime number theorem | `Lib/Analytic/PrimeNumberTheorem/Tauberian` | | Montgomery and Vaughan, Multiplicative Number Theory I, 2007, Section 6.2, where a contour integral is used in place of the Taylor coefficient | | |
| 158 | +| The classical zero-free region, in the crude form with a power of the logarithm that the 3-4-1 inequality gives directly | `Lib/Analytic/PrimeNumberTheorem/ZeroFreeRegion` | | Montgomery and Vaughan, Multiplicative Number Theory I, 2007, ch. 11 | | |
| 159 | +| Kronecker's first limit formula | `Lib/CM/KroneckerLimit` | | C. L. Siegel, On Advanced Analytic Number Theory, TIFR reprint, Chapter I, §1, Theorem 1, p. 13; for a proof of this shape, F. Chamizo, A simple evaluation of a theta value, the Kronecker limit formula and a formula of Ramanujan, Ramanujan J. 59 (2022), [§3, Proposition 1, p. 949](https://doi.org/10.1007/s11139-022-00586-0) | | |
| 160 | +| Lattices stable under `𝓞 K` are the multiples of fractional ideals | `Lib/CM/GoodReduction` | | Silverman, Advanced topics in the arithmetic of elliptic curves | | |
| 161 | +| Siegel units | `Lib/CM/GoodReduction` | | Kubert, Lang, Modular Units. Up to sign the numbers `s(u)` are the 24-th powers of Weber's functions. Source: Birch, Weber's class invariants, 1969 | | |
| 162 | +| Lattices with complex multiplication by `𝓞_K` up to homothety correspond to the ideal classes | `Lib/CM/FiniteLattices` | | Silverman, Advanced topics in the arithmetic of elliptic curves, Chapter II | | |
| 163 | +| The class number of an imaginary quadratic field of prime discriminant is odd | `Lib/CM/ChowlaSelberg` | `Lib/CM/ConjugateCurve` | C. F. Gauss, Disquisitiones; D. Cox, Primes of the form x²+ny² (1989), §3 and §6 | | |
| 164 | +| The Dedekind zeta function of a quadratic field is the product of the Riemann zeta function and the L-function of its character, and the sum of the zeta functions of its ideal classes | `Lib/CM/ChowlaSelberg` | | J. Neukirch, Algebraic Number Theory (1999), VII.5 and VII.10 | | |
| 165 | +| The formula of Lerch and of Chowla and Selberg for the geometric mean of area · \|disc\|^(1/6) over the ideal classes (`New.CMLattice.sum_kronecker_terms`) | `Lib/CM/ChowlaSelberg` | | A. Selberg, S. Chowla, On Epstein's zeta-function, J. reine angew. Math. 227 (1967) 86-110; B. Gross, On the periods of abelian varieties, arXiv 2005.04194 | | |
| 166 | +| The main theorem of complex multiplication for elliptic curves, without the reciprocity law | `Lib/CM/ChowlaSelberg` | | G. Shimura, Introduction to the Arithmetic Theory of Automorphic Functions (1971), Thm 5.4; J. Milne, Complex Multiplication (2020), 9.17 | | |
| 167 | +| Elementary facts on power series; the induction is that of the functional equation of a Lubin–Tate group | `Lib/CM/FormalGroup/IntegralParameter` | | Lubin–Tate, Formal complex multiplication in local fields | | |
| 168 | +| Decomposition of primes in `ℚ(√-d)` and elements of prime-power norm at split primes | `Lib/CM/FormalGroup/PrimeNotation` | | | | |
| 169 | +| The inseparable degree of the reduction of an isogeny is at most its degree | `Lib/CM/FormalGroup/InseparableDegree` | | Deuring, Die Typen der Multiplikatorenringe elliptischer Funktionenkörper; Blake, A Deuring criterion for abelian varieties, arXiv 1311.5454, Theorem 1.1; Bluher, Formal groups, elliptic curves, and some theorems of Couveignes, ANTS-III, LNCS 1423 (1998), 3.2 and 6.1 (numbering of arXiv math/9708215) | | |
| 170 | +| Multiplication by `π_p` on the formal group of a curve with complex multiplication is an endomorphism in the sense of Lubin and Tate | `Lib/CM/FormalGroup/FormalParameter` | | | | |
| 171 | +| The duplication formulas for theta and sigma functions | `Lib/CM/Integrality/Doubling` | | DLMF, Chapters 20 and 23 | | |
| 172 | +| Good reduction of the duplication map on the `x`-coordinate of an elliptic curve | `Lib/CM/Integrality/Doubling` | | Silverman, *The Arithmetic of Dynamical Systems* (GTM 241, Springer, 2007), Chapters 2 and 6 | | |
| 173 | +| The Weber invariants of discriminant `-d` with `d ≡ 7 mod 8` are integral | `Lib/CM/Integrality/TorsionValues` | | Birch, *Weber's class invariants* | | |
| 174 | +| The integrality of Siegel functions at torsion points | `Lib/CM/Integrality/TorsionValues` | | Kubert and Lang, *Modular Units* | | |
| 175 | +| Integral expansions of theta functions of CM elliptic curves, at ordinary primes `p ≥ 5` | `Lib/CM/Integrality/IntegralSections` | | Bannai and Kobayashi, Algebraic theta functions and the p-adic interpolation of Eisenstein-Kronecker numbers, Duke Math. J. 153 (2010), 229-295, after Norman and Mazur–Tate | | |
| 176 | +| For a lattice with complex multiplication, the value of the Siegel function at a torsion point is a unit if two different prime ideals divide the annihilator of the point | `Lib/CM/Integrality/IntegralSections` | | Ramachandra and Robert; Kubert and Lang, *Modular Units* | | |
| 177 | +| An isogeny of elliptic curves with good reduction acts on the formal groups by an integral power series | `Lib/CM/Integrality/IsogenyIntegrality` | | | | |
| 178 | +| The second logarithmic derivative of a theta function is a Weierstrass function up to a constant | `Lib/CM/Integrality/LogTheta` | | | | |
| 179 | +| The formal group law of a Weierstrass curve has integral coefficients | `Lib/CM/Integrality/LogTheta` | | Silverman, The Arithmetic of Elliptic Curves, IV.1 and IV.2 | | |
| 180 | +| Sigma and theta functions of a lattice, their addition and doubling formulas, and uniformisation | `Lib/CM/Sigma/Basic` | | J. Silverman, The Arithmetic of Elliptic Curves, VI, and Advanced Topics (1994), I.5; A. Weil, Elliptic Functions according to Eisenstein and Kronecker (1976); for uniformisation, A. Sutherland, 18.783 Lecture 15 (2023), Cor. 15.12 | | |
| 181 | +| Addition formula and Weierstrass equation for CM theta functions; monomials span the theta sections | `Lib/CM/Sigma/ThetaSections` | | Lib.CM.Sigma.Basic | | |
| 182 | +| Grunwald–Wang theorem in prime exponent | `Lib/ClassField/Grunwald` | | Artin–Tate, Class Field Theory (1968), ch. X; S. Wang, Grunwald–Wang theorem, an effective version, arXiv 1401.0389 (2014) | | |
| 183 | +| The existence of the ℓ-adic avatar of an algebraic Hecke character and its local behaviour | `Lib/ClassField/Avatar/LocalGlobalCompatibility` | `New/Congruences/GaloisRepresentations/SelmerHypotheses`, `Lib/ClassField/Avatar/HeckeBaseChange`, `Lib/ClassField/Local/ArtinMap`, `Lib/PadicHodge/Characters` | J.-P. Serre, Abelian ℓ-adic representations and elliptic curves, 1968, II–III (locally algebraic = Hodge–Tate, Tate's theorem); B. Conrad, Lifting global representations with local properties, App. B (crystalline case) | | |
| 184 | +| The parts of Galois cohomology in degrees ≤ 2 listed above, namely cup products, Hilbert 90, Kummer cocycles and the symbols of cyclic extensions | `Lib/ClassField/GaloisCohomology/KummerCyclicClasses` | `Lib/ClassField/GaloisCohomology/ContinuousCocycles`, `Lib/ClassField/GaloisCohomology/ShapiroCorestriction`, `Lib/ClassField/GaloisCohomology/TateIndexFormula`, `Lib/ClassField/GaloisCohomology/TameSelmerCocycles`, `Lib/GaloisRep/Main/SelmerModules` | J.-P. Serre, Galois Cohomology (1997); Neukirch–Schmidt–Wingberg, Cohomology of Number Fields (2nd ed. 2008), Ch. I, VI; Atiyah–Wall in Cassels–Fröhlich (1967), IV §8 | | |
| 185 | +| Global class field theory, comprising Albert–Brauer–Hasse–Noether, reciprocity, existence and norms | `Lib/ClassField/Global/AlbertBrauerHasseNoether` | `Lib/ClassField/Global/ArtinMap`, `Lib/ClassField/Global/ArtinReciprocity`, `Lib/ClassField/Global/NormTheorems`, `Lib/ClassField/Global/CMSplittingCharacters`, `Lib/ClassField/Global/ExistenceTheorem` | J. S. Milne, Class Field Theory (v4.03, 2020), VI 4.9, VII 4–9, VIII 4; Tate, Global class field theory, in Cassels–Fröhlich 1967, ch. VII; H. Hasse, Die Struktur der R. Brauerschen Algebrenklassengruppe, Math. Ann. 107 (1933) (reciprocity from the sum formula) | | |
| 186 | +| Type A₀ Hecke characters and extension of a CM field's quadratic character | `Lib/ClassField/Global/CMSplittingCharacters` | `New/UpperBound/Seesaw/AdmissibleCombinations`, `Lib/Adelic/Adeles/LocalFactors`, `Lib/ClassField/Avatar/HeckeBaseChange`, `Lib/ClassField/HeckeCharacter/Basic`, `Lib/ClassField/HeckeCharacter/TameModulus`, `Lib/GaloisRep/Main/SelmerModules`, `Lib/GaloisRep/Main/AllRanks`, `Lib/Weil/Construction/WeilData` | A. Weil, On a certain type of characters of the idèle-class group of an algebraic number-field, Tokyo–Nikko symposium 1955 (1956); exposition A. Raghuram, Notes on the arithmetic of Hecke L-functions, arXiv:2207.03399, §4 | | |
| 187 | +| Chebotarev's density theorem, existence form | `Lib/ClassField/Global/Chebotarev` | `Lib/GaloisRep/Main/Defs` | J. S. Milne, Class Field Theory, VIII 7.4 (Deuring's reduction); Stevenhagen–Lenstra, Chebotarëv and his density theorem, Math. Intelligencer 18 (1996) | | |
| 188 | +| The values of characters of type A₀ | `Lib/ClassField/HeckeCharacter/AlgebraicValues` | | A. Weil, On a certain type of characters of the idèle-class group of an algebraic number-field (1956) | | |
| 189 | +| Splitting character on U(1), characters tamely ramified at split places, and theta integrals | `Lib/ClassField/HeckeCharacter/SplitTameCharacters` | | `Lib.ClassField.Global.CMSplittingCharacters`; `Lib.Weil.MixedModel.ZeroTerm` | | |
| 190 | +| Splitting characters of a CM extension, described through Hilbert's Theorem 90 | `Lib/ClassField/HeckeCharacter/SplittingCharacters` | | Harris–Kudla–Sweet (1996), §1 | | |
| 191 | +| Hecke L-functions with Euler product, continuation to s = 1, non-vanishing and prime densities | `Lib/ClassField/HeckeL/ContinuationAtOne` | `Lib/ClassField/Avatar/HeckeBaseChange`, `Lib/ClassField/Global/AlbertBrauerHasseNoether`, `Lib/ClassField/HeckeL/EulerProduct`, `Lib/ClassField/HeckeL/IdelicThetaSum` | J. Tate, Fourier analysis in number fields and Hecke's zeta-functions, 1950, in Cassels–Fröhlich ch. XV, §4.4–4.5; J. Milne, Class Field Theory, VI 4.8–4.9 (finite order); S. Lang, Algebraic Number Theory (non-vanishing); Titchmarsh, Theory of the Riemann zeta-function, §2.11 (the Riemann-sum continuation is Müntz's formula over ℚ) | | |
| 192 | +| Local class field theory, with Brauer invariant, Artin map, norms and tame symbol | `Lib/ClassField/Local/ArtinMap` | `Lib/ClassField/GaloisCohomology/ContinuousCocycles`, `Lib/ClassField/Local/InvariantMap`, `Lib/GaloisRep/LocalGlobal/LabelCompatibility` | J.-P. Serre, Local Fields (1979), XII–XIV; J. S. Milne, Class Field Theory (v4.03), I and III 2 | | |
| 193 | +| Local Tate duality in degree 1 as an upper bound for orthogonal cocycle groups | `Lib/ClassField/LocalDuality/CrystallineDuality` | `Lib/ClassField/GaloisCohomology/ContinuousCocycles`, `Lib/ClassField/GaloisCohomology/TameSelmerCocycles`, `Lib/ClassField/LocalDuality/KummerFiniteness`, `Lib/ClassField/LocalDuality/DualityInequality` | J.-P. Serre, Galois Cohomology (1997), II §5.2 Thm 2 and §5.7; J. S. Milne, Arithmetic Duality Theorems (2nd ed. 2006), I 2.3, 2.8 | | |
| 194 | +| Hilbert ramification theory for infinite Galois extensions, here for local fields | `Lib/ClassField/Places/LocalFields` | `Lib/ClassField/GaloisCohomology/ContinuousCocycles`, `Lib/ClassField/GaloisCohomology/TameSelmerCocycles`, `Lib/ClassField/Global/AlbertBrauerHasseNoether`, `Lib/ClassField/Global/CMSplittingCharacters`, `Lib/ClassField/GreenbergWiles/SelmerLevels`, `Lib/ClassField/Local/ArtinMap`, `Lib/ClassField/Places/GaloisDefs`, `Lib/ClassField/Places/ProfiniteGalois`, `Lib/ClassField/Places/DecompositionCyclotomic`, `Lib/ClassField/Places/ValuationSubrings`, `Lib/ClassField/Places/DecompositionCompletion`, `Lib/ClassField/Places/Ideles`, `Lib/ClassField/Places/TameInertia`, `Lib/GaloisRep/Main/SelmerModules`, `Lib/GaloisRep/Main/LocalConditions` | J. Neukirch, Algebraic Number Theory, 1999, I §9, II §§7–9, VI §1; J.-P. Serre, Local Fields, 1979, I §7, IV §2; Stacks Project, tag 09EE | | |
| 195 | +| Leray–Hirsch theorem that a local basis of cohomology classes is a global basis | `Lib/Cohomology/LerayHirsch` | | Leray, Hirsch; Hatcher, Algebraic Topology, Thm 4D.1; SGA 5 VII (projective bundle formula) | | |
| 196 | +| Cup product with a degree-two class and closed supports, for mod-ℓ cohomology as Ext | `Lib/Cohomology/TorsionTheories` | | for the setting, Milne, Étale Cohomology, Ch. VI | | |
| 197 | +| Smooth base change, with restriction to the generic fibre bijective on cohomology | `Lib/Cohomology/SmoothBaseChange` | | Artin, SGA 4 Exp. XV 2.1, XVI 1.2 (1973); Stacks Project Tag 0EYQ; for the route through the class of the diagonal, Zavyalov, Poincaré duality in abstract 6-functor formalisms (arXiv 2301.03821) and Li-Reinecke-Zavyalov (arXiv 2410.08200) | | |
| 198 | +| Half of the holomorphic Lefschetz (Woods Hole) formula for h-forms and correspondences | `Lib/Cohomology/WoodsHole` | `Lib/Cohomology/Etale/Basic`, `Lib/Cohomology/Hodge/FixedPointFormula` | M. F. Atiyah, R. Bott, A Lefschetz fixed point formula for elliptic complexes II, Ann. of Math. 88 (1968) 451-491; G. Kondyrev, A. Prikhodko, Holomorphic Atiyah-Bott formula for correspondences, Arnold Math. J. (2022); SGA5 III 6.12 | | |
| 199 | +| Descent of torsion étale cohomology along v-covers, with excision, transfer and limits | `Lib/Cohomology/Etale/FilteredLimits` | `Lib/Cohomology/TorsionTheories`, `Lib/Cohomology/Etale/Basic`, `Lib/Cohomology/Etale/BijectiveComparisons`, `Lib/Cohomology/Etale/DenseSubfunctors`, `Lib/Cohomology/Etale/RelativeChains`, `Lib/Cohomology/Etale/EllAdicCohomology`, `Lib/Cohomology/Etale/ProperFunctors`, `Lib/General/Geometry/EtaleCharts`, `Lib/General/Geometry/PointsOfProperSchemes`, `Lib/PadicComparison/Descent/TestCovers` | Scholze, Berkovich Motives, arXiv 2412.03382 (2024), Thm 4.1 and Lemmas 4.7, 4.8 (descent and limits from finitary functors on test rings); Bhatt, Mathew, The arc-topology, Duke Math. J. 170 (2021), Prop 5.2, Thm 5.4; Stacks project, Tag 09YQ; Scholze, Étale cohomology of diamonds, 7.15-7.16 | | |
| 200 | +| The fixed point formula in Hodge cohomology, with local terms computed by (Grothendieck symbols) | `Lib/Cohomology/Hodge/FixedPointFormula` | `Lib/Cohomology/Etale/BijectiveComparisons`, `Lib/Cohomology/Hodge/CupProduct`, `Lib/Cohomology/Hodge/Site`, `Lib/Cohomology/Hodge/DepthVanishing`, `Lib/Cohomology/Hodge/GrothendieckSymbol`, `Lib/Cohomology/Hodge/Kunneth`, `Lib/Cohomology/Hodge/DiagonalClass` | Stacks Project, tags 0BEC (Künneth) and 0G82 (Gysin maps); A. Chatzistamatiou, K. Rülling, Higher direct images of the structure sheaf in positive characteristic, Algebra & Number Theory 5 (2011) 693-775, sections 2-3; V. Srinivas, Gysin maps and cycle classes for Hodge cohomology, Proc. Indian Acad. Sci. Math. Sci. 103 (1993) 209-247; Hartshorne, Residues and Duality (1966) III.9 for the symbol | | |
| 201 | +| Hodge–Tate images of point classes are non-zero and detect degrees of zero-cycles | `Lib/Cohomology/PointClass/LinearIndependence` | `Lib/Cohomology/Hodge/GrothendieckSymbol`, `Lib/Cohomology/Hodge/FixedPointFormula`, `Lib/Cohomology/PointClass/NoetherNormalization`, `Lib/Cohomology/PointClass/ProjectiveSpace`, `Lib/Cohomology/PointClass/ProjectiveNonvanishing` | Faltings, p-adic Hodge theory, JAMS 1 (1988) (compatibility with traces and cycle classes); for transfer, Suslin–Voevodsky, Singular homology of abstract algebraic varieties, Invent. Math. 123 (1996), §§4–6 | | |
| 202 | +| Künneth formula over a field for mod-ℓ étale cohomology, in Leray–Hirsch form | `Lib/Cohomology/ProjectiveLine/TiltedLineFormula` | | SGA 4 XVII 5.4.3; Milne, Étale Cohomology VI.8 | | |
| 203 | +| The projective line formula for ℤ/ℓ coefficients, where the degree two class is the Chern class of O(1) given by the Kummer sequence | `Lib/Cohomology/ProjectiveLine/ConstantLineFormula` | `Lib/Cohomology/ProjectiveLine/ChernClass`, `Lib/Cohomology/ProjectiveLine/PerfectLine`, `Lib/Cohomology/ProjectiveLine/TiltedLineFormula`, `Lib/Shimura/ThetaModuli/ThetaFamilyRigidity` | SGA 4½ [Cycle]; SGA 5 (Jouanolou); Milne, Étale Cohomology; Scholze, p-adic Hodge theory for rigid-analytic varieties | | |
| 204 | +| Proper base change and invariance under extension of algebraically closed fields | `Lib/Cohomology/ProperBaseChange/Theorem` | `Lib/Cohomology/Etale/FilteredLimits`, `Lib/Cohomology/Etale/ProperFunctors`, `Lib/Cohomology/ProperBaseChange/LineCharts`, `Lib/Cohomology/ProperBaseChange/PlaceSpace`, `Lib/Cohomology/ProperBaseChange/SubringSplitting` | Artin, SGA 4 Exp. XII 5.1, 5.4, 5.5 (1973); Stacks Project Tag 095S; reduction to spaces of places as in Scholze, Étale cohomology of diamonds (2017), Thm 19.2 and Lemma 19.4, after Huber, Math. Ann. 295 (1993) | | |
| 205 | +| Voronoi's congruence for twisted power sums and the trivial zeros of Dirichlet L-functions | `Lib/Cyclotomic/Voronoi` | | K. Ireland, M. Rosen, A Classical Introduction to Modern Number Theory, 2nd ed. 1990; for the untwisted statement also M. Eberl, Kummer's congruence, Archive of Formal Proofs 2024 | | |
| 206 | +| Stickelberger's factorisation of Gauss sums and the Davenport–Hasse product relation | `Lib/Cyclotomic/Stickelberger` | | L. Washington, Introduction to Cyclotomic Fields, 2nd ed. 1997, 6.2 and Thm 15.1; for the product relation, H. Davenport, H. Hasse, J. reine angew. Math. 172 (1935) | | |
| 207 | +| Kolyvagin's derivative classes of the Euler system of Gauss sums | `Lib/Cyclotomic/Kolyvagin/DerivativeCocycles` | | K. Rubin, Kolyvagin's system of Gauss sums, Arithmetic Algebraic Geometry (Texel 1989), Progr. Math. 89, 1991, 309-324; with a Tate twist: G. Banaszak, W. Gajda, Euler systems for higher K-theory of number fields, J. Number Theory 58 (1996) | | |
| 208 | +| Stickelberger annihilation and the Kolyvagin–Rubin bound for odd twisted components | `Lib/Cyclotomic/Kolyvagin/ReciprocityComponentBounds` | `Lib/GaloisRep/Main/SelmerModules` | J. Coates, W. Sinnott, An analogue of Stickelberger's theorem for the higher K-groups, Invent. Math. 24 (1974); K. Rubin, Euler Systems, 2000, III.4, Thm 4.6 | | |
| 209 | +| Coefficients of integrable discrete series are cusp forms | `Lib/DiscreteSeries/CuspKernel` | `Lib/DiscreteSeries/Bessel/SchurBound`, `Lib/DiscreteSeries/FlenstedJensen/SquareIntegrability`, `Lib/Weil/Periods/Grading` | R. Godement, C. R. Acad. Sci. Paris 225 (1947) 521-523, 657-659; N. Wallach, Real Reductive Groups I (1988), ch. 7; the closest to the proof here are B. Barnes, Proc. Edinburgh Math. Soc. 23 (1980), and A. Valette, Math. Ann. 294 (1992) 277-287 | | |
| 210 | +| The fibre measure of the Gram map on tuples of vectors, in terms of Haar measure of the unitary group | `Lib/DiscreteSeries/Bessel/FrameFibre` | | | | |
| 211 | +| Floor groups, Weyl elements and the Bessel subgroup of a split unitary group (for Poincaré series) | `Lib/DiscreteSeries/Bruhat/FloorGroups` | `New/Spanning/Unfolding/BesselLevelStructure`, `New/Spanning/Unfolding/PoincareSeries`, `Lib/Adelic/Witt/WittTheorem`, `Lib/DiscreteSeries/Bessel/Basic`, `Lib/General/Groups/BesselGroups` | A. Borel, Introduction to automorphic forms, Proc. Sympos. Pure Math. 9 (1966); V. Platonov, A. Rapinchuk, Algebraic groups and number theory (1994) §7.1; W. T. Gan, B. Gross, D. Prasad, Astérisque 346 (2012) | | |
| 212 | +| Bruhat decomposition of a unitary group on its big cell | `Lib/DiscreteSeries/Bruhat/BigCell` | | | | |
| 213 | +| Polar coordinates on ℂ^κ, Cartan decomposition of rank-one unitary group, invariant measure of hyperboloid | `Lib/DiscreteSeries/Bruhat/ComplexPlace` | `New/Spanning/Frames/RealPlaceGauge`, `Lib/Adelic/Witt/WittTheorem`, `Lib/DiscreteSeries/Bessel/Basic`, `Lib/DiscreteSeries/Bruhat/FloorMeasures`, `Lib/DiscreteSeries/Bruhat/FloorFibre` | Knapp, Lie Groups Beyond an Introduction; Helgason, Groups and Geometric Analysis, Ch. I §5 | | |
| 214 | +| Weyl character formula for U(n) and products of unitary groups | `Lib/DiscreteSeries/Character/WeylCharacterFormula` | `Lib/GLn/SchurModule/MinorBasis` | H. Weyl, The Classical Groups (1939), ch. VII; Fulton and Harris, Representation Theory (1991), Lectures 24-25 | | |
| 215 | +| Discrete series character on the compact Cartan via orbital integrals, and formal degree | `Lib/DiscreteSeries/Character/FormalDegree` | `Lib/DiscreteSeries/Character/WeylCharacterFormula`, `Lib/DiscreteSeries/Character/MultiplicityOrbitalIntegral`, `Lib/DiscreteSeries/Character/OpenOrbitIntegral`, `Lib/DiscreteSeries/FlenstedJensen/FlagDensities` | Harish-Chandra, Discrete series for semisimple Lie groups II: explicit determination of the characters, Acta Math. 116 (1966), Thm 16 (with part I, Acta Math. 113 (1965), Thm 3); Knapp, Representation Theory of Semisimple Groups (1986), Thm 12.7 | | |
| 216 | +| Flensted-Jensen's function c_λ on U(p,q), classically the coefficient of the lowest K-type of a discrete series, its first properties and its projections to K-types | `Lib/DiscreteSeries/FlenstedJensen/PsiKTypes` | `Lib/DiscreteSeries/FlenstedJensen/FlagDensities`, `Lib/DiscreteSeries/FlenstedJensen/CasimirEigenfunction`, `Lib/DiscreteSeries/FlenstedJensen/SquareIntegrability`, `Lib/DiscreteSeries/Rigidity/KernelFixes` | | | |
| 217 | +| Explicit Haar measure on the unitary group U(J) via the Cayley chart | `Lib/DiscreteSeries/Haar/CayleyChart` | | | | |
| 218 | +| The invariant measure `dY / dT` on tuples of vectors with a given Gram matrix | `Lib/DiscreteSeries/Haar/GramPolar` | | C. L. Siegel, Über die analytische Theorie der quadratischen Formen, Ann. of Math. 36 (1935) | | |
| 219 | +| Volume of U(n), polynomial volume growth of U(J) | `Lib/DiscreteSeries/Haar/TotalMass` | `Lib/General/LinearAlgebra/HermitianMatrices` | L. K. Hua, Harmonic Analysis of Functions of Several Complex Variables in the Classical Domains (1963), ch. III; I. G. Macdonald, The volume of a compact Lie group, Invent. Math. 56 (1980); B. Gross, On the motive of a reductive group, Invent. Math. 130 (1997) | | |
| 220 | +| The invariant measure `dY / dT` on tuples of vectors with a given Gram matrix | `Lib/DiscreteSeries/Haar/GramFibre` | | C. L. Siegel, Über die analytische Theorie der quadratischen Formen, Ann. of Math. 36 (1935) | | |
| 221 | +| The coefficient of the highest vector of a holomorphic discrete series representation and its reproducing property | `Lib/DiscreteSeries/Holomorphic/HighestVectorExtension` | `Lib/DiscreteSeries/Holomorphic/MaximalCompactMinors`, `Lib/DiscreteSeries/Holomorphic/ModelFunction` | Harish-Chandra, Representations of semisimple Lie groups IV-VI, Amer. J. Math. 77 (1955), 78 (1956); A. Knapp (1986); A. Koranyi, A simplified approach to the holomorphic discrete series, arXiv 2312.16350 | | |
| 222 | +| Siegel's argument that a cusp form is large only away from the cusps | `Lib/DiscreteSeries/Holomorphic/PeaksAwayFromCusp` | | C. Poor, D. Yuen, Linear dependence among Siegel modular forms, Math. Ann. 318 (2000) 205-234, Thm 1.3; M. Eichler, Math. Ann. 213 (1975) 281-291; for the factorisation, Gill, Golub, Murray, Saunders, Math. Comp. 28 (1974) 505-535 | | |
| 223 | +| Lowest K-type and Casimir value determine a discrete series coefficient, via analytic vectors | `Lib/DiscreteSeries/Rigidity/HighestVectorsAndFiltration` | `Lib/DiscreteSeries/FlenstedJensen/SquareIntegrability`, `Lib/DiscreteSeries/Rigidity/RepresentationsAndCasimirs`, `Lib/DiscreteSeries/Rigidity/KernelFixes` | R. Parthasarathy, Classification of discrete series by minimal K-type, Represent. Theory 19 (2015) 167-185, Thm 1.1; earlier Hotta-Parthasarathy, Invent. Math. 26 (1974) 133-178; Schmid, Ann. of Math. 102 (1975) 535-564; Vogan-Zuckerman, Compositio 53 (1984) Prop 6.1; Nelson, Analytic vectors, Ann. of Math. 70 (1959) 572-615 | | |
| 224 | +| The shape of the theta correspondence of discrete series parameters | `Lib/DiscreteSeries/Theta/BlockRule` | | J.-S. Li, Theta lifting for unitary representations with nonzero cohomology, Duke Math. J. 61 (1990); A. Paul, First occurrence for the dual pairs (U(p,q), U(r,s)), Canad. J. Math. 51 (1999), 636–657 | | |
| 225 | +| The constant difference of the centred Casimir elements of the two groups of an oscillator pair, a case of the correspondence of infinitesimal characters | `Lib/DiscreteSeries/Theta/CasimirComparison` | | compare A. Paul, First occurrence for the dual pairs (U(p,q), U(r,s)), Canad. J. Math. 51 (1999), Theorem 2.11 | | |
| 226 | +| Theta correspondence of discrete series for real unitary dual pairs, with joint harmonics | `Lib/DiscreteSeries/Theta/LocalCorrespondence` | `Lib/DiscreteSeries/Rigidity/KernelFixes`, `Lib/DiscreteSeries/Theta/FockDualPair`, `Lib/DiscreteSeries/Theta/FockJointHarmonics`, `Lib/DiscreteSeries/Theta/CasimirComparison` | J.-S. Li, Theta lifting for unitary representations with nonzero cohomology, Duke Math. J. 61 (1990) 913-937; R. Howe, Transcending classical invariant theory, J. Amer. Math. Soc. 2 (1989); A. Paul, First occurrence for the dual pairs (U(p,q), U(r,s)), Canad. J. Math. 51 (1999) 636-657, Theorem 2.7 | | |
| 227 | +| Dual of a Weyl module by Jacobi's complementary minors, and the Cartan component | `Lib/GLn/Dual` | `Lib/GLn/SchurModule/WeylKernel`, `Lib/GLn/SchurModule/GramMatrix` | Fulton, Harris, Representation Theory, 1991, section 15.5; Jantzen 2003; for Jacobi's identity, Grinberg, An Introduction to Algebraic Combinatorics, Thm 6.4.48 | | |
| 228 | +| The standard basis theorem for Schur (dual Weyl) modules over any ring, with their character | `Lib/GLn/SchurModule/MinorBasis` | `Lib/GLn/SchurModule/Basic`, `Lib/GLn/SchurModule/SchurMatrix`, `Lib/GLn/SchurModule/SchurOrthogonality` | De Concini, Eisenbud, Procesi, Young diagrams and determinantal varieties, Invent. Math. 56 (1980); Akin, Buchsbaum, Weyman, Schur functors and Schur complexes, Adv. Math. 44 (1982), II.2.16, II.4.11 | | |
| 229 | +| The Weyl module over `ℤ` as a direct summand as a ℤ-module of a tensor product of exterior powers | `Lib/GLn/SchurModule/TensorModel` | | Akin, Buchsbaum and Weyman, Schur functors and Schur complexes | | |
| 230 | +| Branching GL(n+1) to GL(n): leading-row fillings map the smaller Weyl module into the larger one | `Lib/GLn/SchurModule/LeadingRows` | | | | |
| 231 | +| The contravariant form on Weyl's lattice, the Fischer product, and irreducibility under U(n) | `Lib/GLn/SchurModule/SchurNorm` | `Lib/GLn/SchurModule/WeylKernel`, `Lib/GLn/SchurModule/GramMatrix`, `Lib/GLn/SchurModule/SchurOrthogonality`, `Lib/GLn/SchurModule/Polarisation` | Jantzen, Representations of Algebraic Groups, 2nd ed. 2003; Goodman, Wallach, Symmetry, Representations, and Invariants, 2009, ch. 5; Howe, Perspectives on invariant theory, 1995 | | |
| 232 | +| Hilbert 90 for GL_n and norm surjectivity on units, cyclic action, congruence level | `Lib/GaloisRep/Hilbert90/TameActions` | `Lib/GaloisRep/Hilbert90/UnitaryGroups` | A. Speiser 1919; J.-P. Serre, Corps locaux, 1962, Ch. X §1 Prop. 3 and Ch. V §2; S. Chase, D. Harrison, A. Rosenberg, Galois theory and Galois cohomology of commutative rings, Mem. AMS 52, 1965; for the norm on O[γ], P. Scholze, The Langlands-Kottwitz approach for some simple Shimura varieties, 2013, Lemma 2.2 | | |
| 233 | +| A function obeying the trace identities is the trace of a representation (pseudocharacters), and a spanning lattice is unique up to scalars | `Lib/GaloisRep/Pseudocharacter/Pseudorepresentations` | `Lib/GaloisRep/Pseudocharacter/SemisimpleRepresentations` | R. Taylor, Galois representations associated to Siegel modular forms of low weight, Duke Math. J. 63 (1991), Theorem 1; R. Rouquier, Caractérisation des caractères et pseudo-caractères, J. Algebra 180 (1996); K. Conrad, Compact subgroups of GL_n(Qbar_p) (note) | | |
| 234 | +| Rank n and characteristic polynomials from Frobenius polynomial relations | `Lib/GaloisRep/KillingPolynomials` | | Boston–Lenstra–Ribet 1991; Nekovář, Eichler–Shimura relations and semisimplicity, 2018; Fayad–Nekovář 2019; Harris–Taylor 2001, VII.1.8 | | |
| 235 | +| Non-archimedean Stone–Weierstrass theorem for modules (localisation form) | `Lib/GaloisRep/WeightCongruence` | `Lib/GaloisRep/Pseudocharacter/Pseudorepresentations`, `Lib/GaloisRep/Main/CuspidalTypes` | Dieudonné 1944; Kaplansky, The Weierstrass theorem in fields with valuations (1950); module form as in Prolla, Approximation of Vector Valued Functions (1977) and Topics in Functional Analysis over Valued Division Rings (1982) | | |
| 236 | +| Density of algebraic vectors, congruences to supercuspidal types, and limits of eigensystems | `Lib/GaloisRep/WeightCongruence` | | M. Emerton, V. Paškūnas, On the density of supercuspidal points of fixed regular weight, J. Éc. polytech. Math. 7 (2020); J. Fintzen, S. W. Shin, Congruences of algebraic automorphic forms and supercuspidal representations, Camb. J. Math. 9 (2021); Kaplansky, Proc. AMS 1 (1950) | | |
| 237 | +| Taylor–Wiles freeness at auxiliary primes, up to the orders of the stabilisers | `Lib/GaloisRep/TaylorWiles` | | Taylor–Wiles, Ann. Math. 141 (1995); Clozel–Harris–Taylor, Publ. IHES 108 (2008), §3 | | |
| 238 | +| Cyclic base change of prime degree for definite unitary groups (weak lift, local matching) | `Lib/GaloisRep/BaseChange/PrimeDegreeTransfer` | `Lib/GaloisRep/BaseChange/Defs`, `Lib/GaloisRep/BaseChange/CommutingHeckeFamilies`, `Lib/GaloisRep/BaseChange/StepMatchingPairs`, `Lib/GaloisRep/BaseChange/GlobalRoot`, `Lib/GaloisRep/BaseChange/CongruenceLevelMatching`, `Lib/GaloisRep/BaseChange/TwistedTraceIdentity`, `Lib/GaloisRep/BaseChange/IwahoriEigenforms`, `Lib/GaloisRep/BaseChange/ShintaniLift` | J.-P. Labesse, Changement de base CM et séries discrètes, in On the stabilization of the trace formula, 2011, Cor. 5.3, and Cohomologie, stabilisation et changement de base, Astérisque 257, 1999; J. Arthur and L. Clozel, Simple algebras, base change, and the advanced theory of the trace formula, Ann. Math. Studies 120, 1989; local matching after P. Scholze, The Langlands-Kottwitz approach for some simple Shimura varieties, 2013, Prop. 2.1 (norms inverted inside O[γ]) and J.-P. Labesse, Fonctions élémentaires et lemme fondamental pour le changement de base stable, Duke Math. J. 61, 1990 | | |
| 239 | +| Local-global compatibility at tame level, away from ℓ and at ℓ | `Lib/GaloisRep/LocalGlobal/LabelCompatibility` | `Lib/GaloisRep/LocalGlobal/LocalFormTypes`, `Lib/GaloisRep/LocalGlobal/IwahoriCompatibility`, `Lib/GaloisRep/Main/Defs` | Harris, Taylor, The geometry and cohomology of some simple Shimura varieties (2001); Taylor, Yoshida, J. Amer. Math. Soc. 20 (2007); Barnet-Lamb, Gee, Geraghty, Taylor, Local-global compatibility for l = p, II (2014), Thm 1.1 | | |
| 240 | +| Selmer module with O/a coefficients is the a-torsion of the Selmer module with Frac(O)/O coefficients | `Lib/GaloisRep/Main/DivisibleSelmerModules` | | | | |
| 241 | +| The Hodge-Tate cocharacter lies in the algebraic monodromy group | `Lib/GaloisRep/Main/CuspidalTypes` | | Serre, Groupes algébriques associés aux modules de Hodge-Tate, Astérisque 65 (1979), §1; Sen, Ann. of Math. 97 (1973) | | |
| 242 | +| Galois reps for eigenforms on odd-rank definite unitary groups over stably unramified CM fields | `Lib/GaloisRep/Main/OddRank` | `Lib/GaloisRep/KillingPolynomials`, `Lib/GaloisRep/Main/Defs`, `Lib/GaloisRep/Main/LocalConditions`, `Lib/GaloisRep/Main/QuadraticStep`, `Lib/GaloisRep/Main/CuspidalTypes`, `Lib/GaloisRep/Main/AttachedRepresentations`, `Lib/GaloisRep/Main/SeedRepresentation`, `Lib/GaloisRep/Main/SplitCase`, `Lib/GaloisRep/Main/AllRanks` | Chenevier, Harris, Construction of automorphic Galois representations II, Camb. J. Math. 1 (2013), Thm 3.2.3; with Labesse, Changement de base CM et séries discrètes (2011), Cor. 5.3, and Barnet-Lamb, Gee, Geraghty, Taylor, Potential automorphy and change of weight (2014), Thm 2.1.1 | | |
| 243 | +| Theta lift to larger rank, the step that reduces even rank to odd rank | `Lib/GaloisRep/Main/ThetaLift` | | Blasius, Rogawski, Motives for Hilbert modular forms, Invent. Math. 114 (1993) and Shin, Ann. of Math. 173 (2011) for the idea (endoscopic transfer to odd rank); Harris, Soudry, Taylor, Invent. Math. 112 (1993) for theta lifts with a varying character | | |
| 244 | +| Q-binomial theorem over subspaces of a finite vector space; bialternant formula for Schur polynomials | `Lib/General/Combinatorics` | | | | |
| 245 | +| Elementary facts on power series in characteristic `p` | `Lib/General/Algebra/SeriesCongruences` | | | | |
| 246 | +| Elementary facts on formal power series with the topology of coefficientwise convergence | `Lib/General/Algebra/SeriesCongruences` | | Bourbaki, Algebra II, Chapter IV | | |
| 247 | +| The Cartan map has finite cokernel | `Lib/General/Algebra/CartanMap` | | J.-P. Serre, Linear Representations of Finite Groups (1977), Thm 35; for the route by induction from cyclic subgroups in the local Euler characteristic formula, Milne, Arithmetic Duality Theorems, I 2.10-2.12 | | |
| 248 | +| Weighted Combinatorial Nullstellensatz with multiplicity over any field | `Lib/General/Algebra/MultivariatePolynomials` | | Alon, Combinatorial Nullstellensatz (1999); Ball–Serra, Punctured combinatorial Nullstellensätze (2009) | | |
| 249 | +| Flat base change in functor cohomology; base change of algebras is left adjoint to restriction | `Lib/General/Algebra/CohomologyBaseChange` | | | | |
| 250 | +| Chain rule and exponential functional equation for formal power series; Legendre's formula | `Lib/General/Algebra/IntegralPowerSeries` | | | | |
| 251 | +| Fitting ideals: base change, product rule for exact sequences, bound by length (fixed generators) | `Lib/General/Algebra/FittingIdealsAndLengths` | | Stacks Project, Tag 07ZA | | |
| 252 | +| The Gauss norm equals the supremum norm on the unit polydisc over an algebraically closed valued field | `Lib/General/Algebra/SeriesBounds` | | Bosch, Güntzer and Remmert, *Non-Archimedean Analysis* | | |
| 253 | +| The integrality of the `p`-adic exponential and logarithm on series of large enough valuation, and of the binomial series with exponent in `ℤ_p` | `Lib/General/Algebra/SeriesBounds` | | | | |
| 254 | +| Length of a matrix kernel modulo `a` over a discrete valuation ring via maximal minors | `Lib/General/Algebra/SharpMinors` | | | | |
| 255 | +| Extension of embeddings of countable rings into ℂ | `Lib/General/Algebra/ComplexEmbeddings` | | Steinitz's theorem | | |
| 256 | +| The complex Gaussian integral | `Lib/General/Analysis/GaussianIntegral` | | | | |
| 257 | +| Stone–Weierstrass for monoids of functions; Fourier inversion on compact quotients; Fourier decay | `Lib/General/Analysis/FourierTransforms` | | | | |
| 258 | +| An upper bound for Hua's determinant integral | `Lib/General/Analysis/HolomorphicIntegrals` | | Hua, Harmonic Analysis of Functions of Several Complex Variables in the Classical Domains, AMS 1963 | | |
| 259 | +| Mean value property of holomorphic functions; entire function determined by its Taylor series at 0 | `Lib/General/Analysis/MeanValueAndTaylor` | | | | |
| 260 | +| Line bundles and faithfully flat descent via ring-valued points | `Lib/General/Geometry/LineBundles` | | | | |
| 261 | +| A case of the surjectivity half of Serre's theorem on sections of powers of a projective embedding | `Lib/General/Geometry/SerreTheorem` | | | | |
| 262 | +| Zariski generic members and Galois/étale covering criteria | `Lib/General/Geometry/GaloisCovers` | | Chase–Harrison–Rosenberg | | |
| 263 | +| The index of a product of subgroups in a finite product of groups is the product of the indices | `Lib/General/Groups/IndexOfProduct` | | | | |
| 264 | +| Amitsur's theorem that integral characteristic polynomials on a spanning set give them on the whole algebra | `Lib/General/LinearAlgebra/Eigenvalues` | | S. A. Amitsur, On the characteristic polynomial of a sum of matrices, Linear and Multilinear Algebra 8 (1980), no. 3, 177-182; G. Chenevier, The p-adic analytic space of pseudocharacters of a profinite group and pseudorepresentations over arbitrary rings, LMS Lecture Note Ser. 414 (2014), (1.5) | | |
| 265 | +| Commutativity of the spherical Hecke algebra of GL_n | `Lib/General/LinearAlgebra/IntegralLattices` | `Lib/Weil/Unramified/SplitHecke` | J. Tits, Reductive groups over local fields, Corvallis 1979, 3.3.3; T. Tamagawa, On the zeta functions of a division algebra, Ann. Math. 77 (1963) | | |
| 266 | +| Auerbach's lemma, here for a compact family of linear forms | `Lib/General/LinearAlgebra/MatrixNormBounds` | | | | |
| 267 | +| Fibre measures | `Lib/General/Measure/FibreMeasure` | | Weil, Sur la formule de Siegel dans la théorie des groupes classiques, no. 6 | | |
| 268 | +| Dirichlet's S-unit theorem and an explicit class number bound from Minkowski's bound | `Lib/General/NumberTheory/SUnitsAndClassNumber` | | | | |
| 269 | +| Teichmüller representatives as limits of powers | `Lib/General/NumberTheory/PadicLimitsValuation` | | Serre, Local Fields, Chapter II | | |
| 270 | +| Gauss norms and Gauss's lemma for polynomials over the integral elements of ℚ̄_ℓ | `Lib/General/NumberTheory/GaussValuation` | | Bosch, Güntzer, Remmert, Non-Archimedean Analysis | | |
| 271 | +| The Satake parameters of unitary unramified representations of GL_N come in chains | `Lib/LocalGL/SphericalChainLemma` | | Tadić, Classification of unitary representations in irreducible representations of general linear group (non-archimedean case), Ann. ENS 19 (1986); Bernstein, P-invariant distributions on GL(N), LNM 1041 (1983) for the inequality at the ends of segments | | |
| 272 | +| Brauer lift is a virtual character; cuspidal times Steinberg is induced from a torus | `Lib/LocalGL/Green/CuspidalFunctions` | `Lib/LocalGL/Green/HallAlgebra`, `Lib/LocalGL/Shintani/CosetRootChoice`, `Lib/LocalGL/Shintani/CosetDescent` | Green 1955, Thm 1; T. A. Springer, Sém. Bourbaki 441 (1973/74), 1.1-1.7; R. Carter, Finite groups of Lie type (1985), for Steinberg times a torus character; P. Hall's lemma, D. Krasula, arXiv 2403.05656, Lemma 23, and H. Crapo's complementation theorem, for the vanishing of the Möbius number off semisimple modules | | |
| 273 | +| Green's characters of GL_n(F_q) and the parabolic-induction ring | `Lib/LocalGL/Green/TauFunctions` | `Lib/Adelic/TraceFormula/CuspidalType`, `Lib/LocalGL/Green/FaithfulCharacter`, `Lib/LocalGL/Green/HallAlgebra`, `Lib/LocalGL/Green/CuspidalFunctions`, `Lib/LocalGL/Green/LabelCharacters`, `Lib/LocalGL/Shintani/LiftingGreenCharacters` | J. A. Green, The characters of the finite general linear groups, Trans. AMS 80 (1955), Thms 2, 9, 12-14; for the ring on all matrices, Z. Chen, arXiv 2408.06191, Prop. 3.2 | | |
| 274 | +| Iwasawa–Bruhat decomposition of GL_n over a local field, and the Iwahori factorisation | `Lib/LocalGL/Iwahori/ParahoricStructure` | | Iwahori–Matsumoto, Publ. IHES 25 (1965); Casselman, Introduction to admissible representations of p-adic groups: GL_n (notes), §13 | | |
| 275 | +| Iwahori degrees, partial Hecke sums and Satake's formula | `Lib/LocalGL/Iwahori/HeckeDegrees` | `Lib/LocalGL/Iwahori/ParahoricStructure` | | | |
| 276 | +| Exponents, U-operators and spherical vectors at pro-p Iwahori level | `Lib/LocalGL/Iwahori/SphericalExponents` | `Lib/LocalGL/Iwahori/QuadraticRelation`, `Lib/LocalGL/Iwahori/HeckeDegrees`, `Lib/LocalGL/Iwahori/SortedExponents` | Casselman, The unramified principal series of p-adic groups I, Compositio 40 (1980), Prop. 2.4, 2.5, 3.6; Haines–Kottwitz–Prasad, Iwahori–Hecke algebras (arXiv math/0309168) §1 | | |
| 277 | +| Shintani lifting of characters of GL_n(F_q) to an extension field, with the lift identified for Green's characters | `Lib/LocalGL/Shintani/LiftingGreenCharacters` | `Lib/LocalGL/Shintani/CosetRootChoice`, `Lib/LocalGL/Shintani/CosetDescent` | T. Shintani, J. Math. Soc. Japan 28 (1976) 396-414; A. Silberger and E.-W. Zink, J. Algebra 319 (2008) 4147-4176, Thm 5.1; for tensor induction, Gluck-Isaacs, Illinois J. Math. 27 (1983) | | |
| 278 | +| Derived completeness for a principal ideal, covering Nakayama, finiteness and completed base change | `Lib/PadicComparison/Completion` | `Lib/Cohomology/Etale/EllAdicCohomology`, `Lib/General/Algebra/AdicCompletion`, `Lib/PadicComparison/Descent/TestCategory` | Stacks Project 091N, 091P, 0G1U, 09BA, 0CQY; B. Bhatt, Torsion completions are bounded, JPAA (2019); L. Positselski, Contraadjusted modules, contramodules, and reduced cotorsion modules, arXiv 1605.03934 | | |
| 279 | +| Faltings' toric towers and their Koszul complexes | `Lib/PadicComparison/ToricTower` | `Lib/General/Geometry/EtaleCharts` | P. Scholze, p-adic Hodge theory for rigid-analytic varieties, Forum Math. Pi 1 (2013), Lemmas 4.5 and 5.5; Bhatt, Morrow, Scholze 2018, Lemma 7.3; Stacks project, tag 0EBS; G. Faltings, p-adic Hodge theory, J. Amer. Math. Soc. 1 (1988) | | |
| 280 | +| Congruence relation for the crystalline Frobenius | `Lib/PadicComparison/CrystallineFrobenius` | | Scholl, Motives for modular forms, 1990, Invent. Math. 100, §4.2.3, through Katz–Messing, Some consequences of the Riemann hypothesis for varieties over finite fields, 1974, Invent. Math. 23, Thm 2(2); for the ramified base, Berthelot–Ogus, F-isocrystals and de Rham cohomology I, 1983, Invent. Math. 72 | | |
| 281 | +| Crystalline comparison for p-adic étale cohomology with good reduction | `Lib/PadicComparison/Crystalline/ComparisonMap` | `Lib/PadicComparison/Crystalline/DividedPowerEnvelope`, `Lib/PadicComparison/Descent/TestCategory` | Bhatt, Morrow, Scholze, Integral p-adic Hodge theory, 2018, Publ. IHÉS 128, Thm 1.1(i) (first proved in Faltings, Crystalline cohomology and p-adic Galois representations, 1989); for the site, Bhatt, Prismatic F-gauges, 2022, Rem. 2.5.12; for the line lemma, Andreatta–Brinon, Acyclicité géométrique de B_cris, 2013, Comment. Math. Helv. 88 | | |
| 282 | +| Tilting and untilting for products of perfectoid valuation rings over O_C | `Lib/PadicComparison/Descent/TestCovers` | `Lib/PadicComparison/Primitive/PeriodCoefficients` | B. Bhatt, M. Morrow, P. Scholze, Integral p-adic Hodge theory, Publ. Math. IHES 128 (2018), Lemma 3.10; P. Scholze, Perfectoid spaces, Publ. Math. IHES 116 (2012), Theorem 5.2 | | |
| 283 | +| Almost acyclicity of the structure sheaf for the v-topology | `Lib/PadicComparison/Descent/AlmostDescent` | `Lib/General/Algebra/PerfectAlgebras`, `Lib/PadicComparison/Descent/TestCategory`, `Lib/PadicComparison/Descent/TestCovers` | P. Scholze, Étale cohomology of diamonds, arXiv 1709.07343 (2017), Theorem 8.7, Proposition 8.8; for perfect rings B. Bhatt, P. Scholze, Projectivity of the Witt vector affine Grassmannian, Invent. Math. 209 (2017), Theorem 4.1; points argument O. Gabber, S. Kelly, Points in algebraic geometry, J. Pure Appl. Algebra 219 (2015), Theorem 2.3 | | |
| 284 | +| Comparison of cohomology theories by duality, via a diagonal kernel on products of P¹ | `Lib/PadicComparison/Duality/GoodPairs` | `Lib/Cohomology/TorsionTheories`, `Lib/Cohomology/ProjectiveLine/ChernClass`, `Lib/PadicComparison/Duality/LineIntegration` | | | |
| 285 | +| The primitive comparison theorem and the period isomorphism | `Lib/PadicComparison/HodgeTate/PeriodMap` | `Lib/General/Geometry/PointsOfProperSchemes`, `Lib/PadicComparison/Descent/TestCategory`, `Lib/PadicComparison/HodgeTate/ExtCocycles`, `Lib/PadicComparison/HodgeTate/GenericFibre`, `Lib/PadicComparison/HodgeTate/Map`, `Lib/PadicComparison/HodgeTate/GaloisWeight`, `Lib/PadicComparison/Primitive/PeriodCoefficients`, `Lib/PadicComparison/Primitive/Periods`, `Lib/PadicComparison/Primitive/ComparisonTheorem` | P. Scholze, p-adic Hodge theory for rigid-analytic varieties, Forum Math. Pi 1 (2013), Thm 1.3 and 5.1; for the method, B. Zavyalov, Poincaré duality in abstract 6-functor formalisms, arXiv 2301.03821, Thm 3.3.3 and Appl. 1.3.4; Li–Reinecke–Zavyalov, arXiv 2410.08200, §6.4 | | |
| 286 | +| The Hodge–Tate map from Hodge cohomology to p-adic étale cohomology | `Lib/PadicComparison/HodgeTate/PeriodMap` | | Scholze, p-adic Hodge theory for rigid-analytic varieties, Forum Math. Pi 1 (2013), Cor. 1.8; the construction follows Bhatt, The Hodge–Tate decomposition via perfectoid spaces, Arizona Winter School 2017, §3.4 | | |
| 287 | +| Finiteness and Galois continuity of p-adic étale cohomology | `Lib/PadicComparison/Primitive/ComparisonTheorem` | `Lib/Cohomology/Etale/EllAdicCohomology` | SGA 4, Exp. XIV (Artin), finiteness for proper morphisms; Scholze 2013 Thm 1.1; by duality, Zavyalov arXiv 2301.03821 Appl. 1.3.4 | | |
| 288 | +| The Ax–Sen–Tate theorem and Tate's vanishing of the invariants of C_p(i) | `Lib/PadicHodge/TateSen` | `Lib/PadicHodge/PeriodRings/AxTheorem` | J. Ax, Zeros of polynomials over local fields: the Galois action, J. Algebra 15 (1970); J. Tate, p-divisible groups (1967), §3; proofs in Fontaine–Ouyang 3.3-3.5 and Brinon–Conrad §14 | | |
| 289 | +| The Artin–Schreier–Witt resolution over the tilt | `Lib/PadicHodge/ArtinSchreierSequence` | `Lib/ClassField/LocalDuality/CrystallineDuality` | L. Herr, Sur la cohomologie galoisienne des corps p-adiques, Bull. SMF 126 (1998) 563–600 | | |
| 290 | +| Bloch–Kato finite local condition, rank formula | `Lib/PadicHodge/BlochKato` | `New/Congruences/LocalLoss/CrystallineDefect`, `Lib/PadicHodge/Crystalline/Basic` | S. Bloch, K. Kato, L-functions and Tamagawa numbers of motives, Grothendieck Festschrift I (1990), Prop. 3.8, Cor. 3.8.4; J. Bellaïche, An introduction to the conjecture of Bloch and Kato, Clay Summer School notes (2009), Prop. 2.8, Thm 2.1 | | |
| 291 | +| Dwork's trick, giving an integral crystalline comparison with a uniform denominator | `Lib/PadicHodge/RadiusLemma` | `Lib/PadicHodge/Limit/CrystallineLimit` | M. Kisin, Crystalline representations and F-crystals, Progr. Math. 253 (2006), Lemma 1.2.6; M. Kisin, Potentially semi-stable deformation rings, JAMS 21 (2008), Lemma 2.2; B. Bhatt, P. Scholze, Prismatic F-crystals and crystalline Galois representations (2023), proof of Thm 5.6 | | |
| 292 | +| Characters with finite image on inertia are potentially crystalline of weight 0 | `Lib/PadicHodge/Characters` | | B. Conrad, Lifting global representations with local properties (preprint 2011), Appendix B; J.-P. Serre, Abelian l-adic representations (1968), III, Appendix | | |
| 293 | +| Potentially crystalline representations, Hodge–Tate weights and Weil–Deligne Frobenius | `Lib/PadicHodge/Crystalline/Regularity` | `Lib/ClassField/LocalDuality/CrystallineDuality`, `Lib/PadicHodge/TateSen`, `Lib/PadicHodge/Characters`, `Lib/PadicHodge/Crystalline/Basic`, `Lib/PadicHodge/Crystalline/HodgeTateForms`, `Lib/PadicHodge/Crystalline/HodgeTateJumps`, `Lib/PadicHodge/Crystalline/FixedRatios` | J.-M. Fontaine, Représentations p-adiques semi-stables (Exp. III §1, §5) and Représentations l-adiques potentiellement semi-stables (Exp. VIII 2.3), Astérisque 223 (1994); O. Brinon, B. Conrad, CMI Summer School notes on p-adic Hodge theory (2009), 2.3.1, 5.2.1, 6.3, 9.1–9.3 | | |
| 294 | +| Kisin lattice (Breuil–Kisin module) of a crystalline lattice | `Lib/PadicHodge/Kisin/PeriodMatrixFrame` | `New/Congruences/Lifting/ExponentLattices`, `New/Congruences/Lifting/HodgeExpansion`, `Lib/PadicHodge/RadiusLemma`, `Lib/PadicHodge/Crystalline/Basic`, `Lib/PadicHodge/Crystalline/Regularity`, `Lib/PadicHodge/Kisin/Charts`, `Lib/PadicHodge/Kisin/Bicommutant`, `Lib/PadicHodge/Kisin/KummerChartExistence`, `Lib/PadicHodge/Kisin/PeriodMatrixBasis`, `Lib/PadicHodge/Kisin/KummerChartDeRham`, `Lib/PadicHodge/Kisin/Modules`, `Lib/PadicHodge/Kisin/FrameTheorem` | M. Kisin, Crystalline representations and F-crystals, Progr. Math. 253 (2006), 459–496; Bhatt–Morrow–Scholze, Integral p-adic Hodge theory, Publ. IHÉS 128 (2018), 4.26–4.34; Cais–Liu, On F-crystalline representations, Doc. Math. 21 (2016) | | |
| 295 | +| Hodge–Tate weights of Kisin modules | `Lib/PadicHodge/Kisin/Modules` | `Lib/PadicHodge/Kisin/FrameTheorem` | L. Berger, Limites de représentations cristallines, Compositio Math. 140 (2004), 1473–1498, §III; N. Wach, Représentations p-adiques potentiellement cristallines, Bull. SMF 124 (1996), 375–400 | | |
| 296 | +| Limits of crystalline representations with bounded weights are crystalline | `Lib/PadicHodge/Limit/TraceLimit` | `Lib/PadicHodge/Limit/CrystallineLimit` | T. Liu, Torsion p-adic Galois representations and a conjecture of Fontaine, Ann. Sci. ENS 40 (2007) 633–674; L. Berger, Limites de représentations cristallines, Compositio Math. 140 (2004) 1473–1498; for the passage from traces to the image of the group ring, P. Wake, C. Wang-Erickson, Deformation conditions for pseudorepresentations, Forum Math. Sigma 7 (2019) | | |
| 297 | +| Fontaine's period rings and the fundamental exact sequence | `Lib/PadicHodge/PeriodRings/DeRhamPeriods` | `Lib/PadicHodge/TateSen`, `Lib/PadicHodge/Crystalline/Regularity`, `Lib/PadicHodge/Kisin/KummerChartExistence`, `Lib/PadicHodge/PeriodRings/AxTheorem`, `Lib/PadicHodge/PeriodRings/Ainf`, `Lib/PadicHodge/PeriodRings/CrystallineRings` | P. Colmez, Théorie d'Iwasawa des représentations de de Rham d'un corps local, Ann. of Math. 148 (1998), III.2-III.3; J.-M. Fontaine, Le corps des périodes p-adiques, Astérisque 223 (1994); X. Caruso, An introduction to p-adic period rings (2019), §3 | | |
| 298 | +| Homomorphisms and line bundles of abelian schemes extend from the generic fibre | `Lib/Shimura/ArcExtension` | `Lib/Shimura/IntegralModel/UniversalFamily`, `Lib/Shimura/Uniformisation/HolomorphicFamilies` | S. Bosch, W. Lütkebohmert, M. Raynaud, Néron Models (1990), 1.2/8 and 4.4/1; G. Faltings, C.-L. Chai, Degeneration of Abelian Varieties (1990), I.2.7; L. Moret-Bailly, Pinceaux de variétés abéliennes, Astérisque 129 (1985), II.3.5 | | |
| 299 | +| Galois representation cut out of cohomology by a Hecke eigensystem, and the Eichler-Shimura relation | `Lib/Shimura/Eigenspace` | | Deligne, Formes modulaires et représentations l-adiques, Sém. Bourbaki 355 (1969), Thm 4.9; Harris and Taylor, The geometry and cohomology of some simple Shimura varieties (2001), ch. VII; Wedhorn, Congruence relations on some Shimura varieties, J. reine angew. Math. 524 (2000) | | |
| 300 | +| Factorisation through an isogeny, and quasi-finite surjective homomorphisms of abelian schemes are finite flat | `Lib/Shimura/AbelianScheme/IsogenyFlatness` | `Lib/General/Geometry/GeometricPoints`, `Lib/Shimura/AbelianScheme/Basic`, `Lib/Shimura/AbelianScheme/Pairings`, `Lib/Shimura/AbelianScheme/TangentCoordinates`, `Lib/Shimura/CongruenceRelation/KernelReduction`, `Lib/Shimura/HeckeTower/Model` | B. Edixhoven, G. van der Geer, B. Moonen, Abelian Varieties (draft), ch. IV §3; The Stacks project, Section 0BF9; EGA IV and S. Bosch, W. Lütkebohmert, M. Raynaud, Néron Models (1990) 7.3, 8.1 | | |
| 301 | +| Smooth proper reduction gives unramified ℓ-adic cohomology, and Frobenius relations pass to it | `Lib/Shimura/CongruenceRelation/EichlerShimura` | | Stacks project, Tags 0GKD (SGA4 XVI 2.2) and 03SN (SGA5 XV); Deligne, Formes modulaires et représentations ℓ-adiques, Sém. Bourbaki 355 (1969) | | |
| 302 | +| Pointwise step of the Eichler–Shimura congruence relation for GU(1,n−1) at a split place | `Lib/Shimura/CongruenceRelation/HeckeNeighbours` | `Lib/Shimura/CongruenceRelation/KernelReduction` | Wedhorn, Congruence relations on some Shimura varieties, J. reine angew. Math. 524 (2000) 43–71; the method follows Katz–Mazur 1985 ch. 13 and Harris–Taylor 2001 III.4 | | |
| 303 | +| Deformations of the PEL object have at most n - 1 parameters, where n is the size of the index set `D.Index` | `Lib/Shimura/Deformation/TangentBound` | `Lib/Shimura/CongruenceRelation/KernelReduction`, `Lib/Shimura/Deformation/TangentCount` | N. Katz, Serre–Tate local moduli, LNM 868 (1981), §1 (Drinfeld's lemma); J. Lubin, J. Tate, Formal moduli for one-parameter formal Lie groups, Bull. SMF 94 (1966); M. Harris, R. Taylor, The Geometry and Cohomology of Some Simple Shimura Varieties (2001), III.4.1 | | |
| 304 | +| Good reduction of unitary PEL abelian varieties, in analytic form without toric degeneration | `Lib/Shimura/GoodReduction/MultiplicativeNorm` | `Lib/Shimura/GoodReduction/TorsionSizes`, `Lib/Shimura/GoodReduction/GaussSums` | K.-W. Lan, Elevators for degenerations of PEL structures, Math. Res. Lett. 18 (2011); R. Kottwitz, Points on some Shimura varieties over finite fields, J. Amer. Math. Soc. 5 (1992), §5 (division algebra case); for the CM case B. Conrad, Semistable reduction for abelian varieties (notes), Prop. 6.3, after Serre and Tate, Ann. of Math. 88 (1968) | | |
| 305 | +| Hecke algebra of a pair acting by correspondences on the base of a tower | `Lib/Shimura/HeckeTower/Model` | `Lib/Shimura/HeckeTower/HeckeData` | Shimura, Introduction to the arithmetic theory of automorphic functions, 1971, ch. 3 and 7–8 | | |
| 306 | +| The sections of an ample line bundle on an abelian variety are spanned by theta functions | `Lib/Shimura/IntegralModel/UniversalFamily` | `Lib/Shimura/ThetaGroup`, `Lib/Shimura/ArcExtension`, `Lib/Shimura/ThetaModuli/ThetaFamilyRigidity` | D. Mumford, On the equations defining abelian varieties I, Invent. Math. 1 (1966), §§1–2; S. W. Shin, Abelian varieties and Weil representations, Algebra Number Theory 6 (2012), Prop. 2.12 (over a base); M. Bolognesi, A. Massarenti, Comment. Math. Helv. 91 (2016), Lemma 4.1 (odd type) | | |
| 307 | +| Integral Kuga–Sato models for GU(1,n−1) with level covers and the congruence relation | `Lib/Shimura/IntegralModel/TowerExistence` | `Lib/Shimura/HeckeTower/HeckeData`, `Lib/Shimura/HeckeTower/Model`, `Lib/Shimura/IntegralModel/PELDataExistence`, `Lib/Shimura/IntegralModel/UniversalFamily`, `Lib/Shimura/IntegralModel/BallImmersion`, `Lib/Shimura/ThetaModuli/PELThetaTori`, `Lib/Shimura/Uniformisation/AdelicFrames` | Harris, Taylor, The geometry and cohomology of some simple Shimura varieties, 2001, III.4; Kottwitz, Points on some Shimura varieties over finite fields, JAMS 5 (1992), §5 | | |
| 308 | +| Moduli of abelian varieties by theta values via theta-null embedding and universal family | `Lib/Shimura/ThetaModuli/UniversalFamily` | `Lib/Shimura/AbelianScheme/TangentCoordinates`, `Lib/Shimura/CongruenceRelation/KernelReduction`, `Lib/Shimura/IntegralModel/BallImmersion`, `Lib/Shimura/ThetaModuli/FlatClosure`, `Lib/Shimura/ThetaModuli/PELThetaTori`, `Lib/Shimura/ThetaModuli/ThetaFamilyRigidity`, `Lib/Shimura/ThetaModuli/FamilyFromPoints`, `Lib/Shimura/Uniformisation/TorusModel` | D. Mumford, On the equations defining abelian varieties II, Invent. Math. 3 (1967) 75-135; theta groups in part I, Invent. Math. 1 (1966) 287-354 | | |
| 309 | +| Schur orthogonality for the theta group of a polarised complex torus | `Lib/Shimura/ThetaNormality/NormalGeneration` | | | | |
| 310 | +| Normal generation of sections on abelian varieties, kept under good reduction | `Lib/Shimura/ThetaNormality/RiemannRelation` | `Lib/Shimura/ThetaNormality/NormalGeneration` | S. Koizumi, Theta relations and projective normality of abelian varieties, Amer. J. Math. 98 (1976); T. Sekiguchi, J. Math. Soc. Japan 29 (1977) for characteristic p; G. Kempf, Multiplication over abelian varieties, Amer. J. Math. 110 (1988) | | |
| 311 | +| Riemann's theta relations | `Lib/Shimura/ThetaNormality/RiemannRelation` | | C.-L. Chai, Riemann's theta formula (2014), Theorem 1.2; A. Nagano, On Riemann type relations for theta functions on bounded symmetric domains of type I, arXiv 2301.09243 (2023), Theorem 1.1; D. Mumford, On the equations defining abelian varieties I, Invent. Math. 1 (1966) §3; G. Kempf, Linear systems on abelian varieties, Amer. J. Math. 111 (1989) 65–94 | | |
| 312 | +| Simple trace formula on a definite group, with vanishing non-elliptic terms | `Lib/Shimura/TraceFormula/MarkedDefiniteSums` | `Lib/Shimura/TraceFormula/TestFunction`, `Lib/Shimura/TraceFormula/DefiniteTrace`, `Lib/Shimura/Transfer/MarkedPairs` | Dummigan, A simple trace formula for algebraic modular forms, Exp. Math. 22 (2013); Arthur and Clozel, Simple algebras, base change and the advanced theory of the trace formula (1989), ch. 1 §2, after Deligne and Kazhdan | | |
| 313 | +| Transfer of eigensystems between unitary inner forms differing at a real place | `Lib/Shimura/Transfer/WeightOccurs` | `Lib/Shimura/Transfer/MarkedPairs`, `Lib/Shimura/Transfer/Lefschetz` | Harris and Labesse, Conditional base change for unitary groups, Asian J. Math. 8 (2004), Thm 2.1.2; Labesse, Changement de base CM et séries discrètes (2011), Thm 5.4; count as in Goresky and MacPherson, The topological trace formula (2003), and Shimura, On the trace formula for Hecke operators, Acta Math. 132 (1974) | | |
| 314 | +| Appell–Humbert theorem, a step in the complex uniformisation of PEL abelian varieties | `Lib/Shimura/Uniformisation/AppellHumbert` | `Lib/Shimura/ComplexTheta/DimensionFormula`, `Lib/Shimura/ArcExtension`, `Lib/Shimura/HeckeTower/HeckeData`, `Lib/Shimura/HeckeTower/Model`, `Lib/Shimura/ThetaModuli/PELThetaTori`, `Lib/Shimura/TraceFormula/DefiniteTrace`, `Lib/Shimura/Uniformisation/AdelicFrames`, `Lib/Shimura/Uniformisation/HolomorphicFamilies`, `Lib/Shimura/Uniformisation/LieExponential`, `Lib/Shimura/Uniformisation/BallModel`, `Lib/Shimura/Uniformisation/TorusModel`, `Lib/Shimura/Uniformisation/ModelExists` | J. S. Milne, Introduction to Shimura Varieties (2005/2017), Theorem 8.17 and Lemma 5.12; R. Kottwitz, Points on some Shimura varieties over finite fields, J. AMS 5 (1992) §8; G. Shimura, On analytic families of polarized abelian varieties and automorphic functions, Ann. Math. 78 (1963); A. Borel, Some finiteness properties of adele groups over number fields, Publ. IHES 16 (1963); D. Mumford, Abelian Varieties §§1–2; L. Breen, Fonctions thêta et théorème du cube, LNM 980 (1983) | | |
| 315 | +| Kneser's neighbours | `Lib/SiegelWeil/NeighbourLattices` | | M. Greenberg, J. Voight, Lattice methods for algebraic modular forms on classical groups (2014), section 5 | | |
| 316 | +| The series of translates weighted by the coefficients of the vacuum | `Lib/SiegelWeil/UnramifiedSeries/RallisSeries` | `Lib/SiegelWeil/UnramifiedSeries/VacuumCoefficients` | | | |
| 317 | +| Critical Hecke L-values of CM fields as squared norms of theta lifts from U(1) | `Lib/SiegelWeil/RallisInner/SharpData` | | G. Shimura, On some arithmetic properties of modular forms of one and several variables, Ann. of Math. 102 (1975); method: T. Yang, Theta liftings and Hecke L-functions, J. reine angew. Math. 485 (1997); Harris, Li, Skinner, The Rallis inner product formula and p-adic L-functions (2005); Finis, Ann. of Math. 163 (2006) | | |
| 318 | +| Basis problem in the stable range, as a reproducing formula | `Lib/SiegelWeil/Reproduction` | | S. Böcherer, Über die Fourier-Jacobi-Entwicklung Siegelscher Eisensteinreihen, Math. Z. 183 (1983); J.-S. Li, Crelle 428 (1992) | | |
| 319 | +| Siegel–Weil formula in the convergent range for unitary groups over CM fields | `Lib/SiegelWeil/Formula/WeilRange` | `Lib/SiegelWeil/Formula/LagrangianZeroTerms` | A. Weil, Sur la formule de Siegel dans la théorie des groupes classiques, Acta Math. 113 (1965), n° 52 Thm 5; the method of proof follows Andrianov (1979), Harris (1981), and P. Garrett, The Siegel-Weil formula in the convergent range (notes, 2005) | | |
| 320 | +| Reduction theory: existence of Siegel sets for unitary groups | `Lib/SiegelWeil/Formula/WeilRange` | | | | |
| 321 | +| Bounds for local densities of hermitian forms by Gauss sums, part of Siegel's formula for representing a number by a hermitian form | `Lib/SiegelWeil/OneVector/ClassGaussSums` | | | | |
| 322 | +| Bounds for local densities of hermitian forms by Gauss sums, part of Siegel's formula for representing a number by a hermitian form | `Lib/SiegelWeil/OneVector/SemilocalDensityBounds` | | | | |
| 323 | +| A local density bound for hermitian forms | `Lib/SiegelWeil/OneVector/StandardQuadrics` | | | | |
| 324 | +| Siegel's formula for representing a number by a hermitian form | `Lib/SiegelWeil/OneVector/SiegelClassSum` | `Lib/SiegelWeil/Mass`, `Lib/SiegelWeil/OneVector/FinitePlaceDensity` | A. Weil, Acta Math. 113 (1965), Thm 5 for one vector; classically, C. L. Siegel, Ann. of Math. 36 (1935), and H. Braun, Zur Theorie der hermitischen Formen, Abh. Math. Sem. Hamburg 14 (1941) | | |
| 325 | +| Mass formula for unimodular hermitian lattices, as the ratio of consecutive masses | `Lib/SiegelWeil/OneVector/SiegelClassSum` | | W. T. Gan, J. Hanke, J.-K. Yu, On an exact mass formula of Shimura, Duke Math. J. 107 (2001); M. Kirschmer, Definite quadratic and hermitian forms with small class number (2016), 4.2.7, 4.2.9 | | |
| 326 | +| Singular forms are governed by their coefficients at unimodular indices | `Lib/SiegelWeil/SingularForms/UnimodularCoefficients` | `Lib/SiegelWeil/Tower/LineGaussSums` | E. Freitag, Singular Modular Forms and Theta Relations, Lecture Notes in Math. 1487, Springer 1991; see also J.-S. Li, Automorphic forms with degenerate Fourier coefficients, Amer. J. Math. 119 (1997) | | |
| 327 | +| The tower property for the constant term of a theta lift along an isotropic line | `Lib/SiegelWeil/Tower/LargeSideConstantTerm` | `Lib/General/LinearAlgebra/PartnerAlgebra`, `Lib/SiegelWeil/SingularForms/UnimodularCoefficients`, `Lib/SiegelWeil/Tower/LineTerms`, `Lib/SiegelWeil/Tower/ConstantTerm`, `Lib/SiegelWeil/Tower/LineGaussSums`, `Lib/SiegelWeil/Tower/RealConeIntegral`, `Lib/SiegelWeil/Tower/FiniteTateIntegral` | S. Rallis, On the Howe duality conjecture, Compositio Math. 51 (1984), Thm I.1.1; for the unitary case, C. Wu, Irreducibility of theta lifting for unitary groups, J. Number Theory 133 (2013), Prop. 3.1 | | |
| 328 | +| Analytic continuation and functional equation of Hecke `L`-functions | `Lib/SiegelWeil/Tower/FunctionalEquation` | `Lib/SiegelWeil/Tower/TestVector` | J. Tate, Fourier analysis in number fields and Hecke's zeta-functions (thesis, 1950), §2.5 and Main Theorem 4.4.1 | | |
| 329 | +| Gauss sums of a character of the determinant over matrix rings | `Lib/Weil/TameGaussSum` | `Lib/Adelic/Adeles/LocalFactors`, `Lib/General/Analysis/FiniteFourier` | T. Kondo, On Gaussian sums attached to the general linear groups over finite fields, J. Math. Soc. Japan 15 (1963) 244–255; for the scalar case over finite rings, E. Lamprecht, Math. Nachr. 9 (1953), see K. Conrad, Gauss and Jacobi sums on finite fields and Z/mZ, §4; for the local scalar case, Tate's thesis §2.5 | | |
| 330 | +| Joint harmonics and global theta lifts between discrete series types | `Lib/Weil/Lift` | `Lib/Weil/Seesaw` | J.-S. Li, Theta lifting for unitary representations with nonzero cohomology, Duke Math. J. 61 (1990); Howe, JAMS 2 (1989); A. Ichino, arXiv 2002.09148, Lemma 7.8 | | |
| 331 | +| Seesaw identity for periods of theta lifts | `Lib/Weil/Seesaw` | | S. Kudla, Seesaw dual reductive pairs, in Automorphic forms of several variables (Katata 1983), Progr. Math. 46, Birkhäuser 1984, 244–268 | | |
| 332 | +| Theta lift for a definite unitary pair as a class sum on algebraic modular forms | `Lib/Weil/CompactLift/DefiniteThetaLift` | `New/UpperBound/Seesaw/UnfoldingStages`, `Lib/Weil/CompactLift/ThetaKernelDefs`, `Lib/Weil/Construction/ThetaJets`, `Lib/Weil/DualPair/WeilAction` | B. Gross, Algebraic modular forms, Israel J. Math. 113 (1999); Kashiwara–Vergne 1978; R. Howe, Transcending classical invariant theory, JAMS 2 (1989) | | |
| 333 | +| Vacuum projections and the finite part of the Weil representation | `Lib/Weil/Construction/VacuumProjections` | `Lib/Weil/Construction/ProductsAndTransport` | | | |
| 334 | +| The theta functions of the Fock model of the adelic Weil representation | `Lib/Weil/Construction/ThetaJets` | | Weil, Sur certains groupes d'opérateurs unitaires. Part of a known result: Adelic Weil representation of a unitary group and the invariant theta functional. See `Lib.Weil.MixedModel.ZeroTerm` | | |
| 335 | +| The passage between the Fock model of the Weil representation and classical theta functions | `Lib/Weil/Construction/ThetaDictionary` | | Beauville, Theta functions, old and new, Theorem 3.5 | | |
| 336 | +| Theta functions for a sublattice are spanned by translates of the theta function of a principal polarization | `Lib/Weil/Construction/FourierInversion` | | Mumford, Tata lectures on theta I | | |
| 337 | +| Growth of theta kernels and convergence of theta lifts | `Lib/Weil/DualPair/ThetaLiftConvergence` | `New/Determinant/Exchange/RemovingPlanes`, `Lib/Weil/DualPair/Kronecker`, `Lib/Weil/DualPair/Defs`, `Lib/Weil/DualPair/WeilAction`, `Lib/Weil/DualPair/MixedModel`, `Lib/Weil/DualPair/KernelLaws`, `Lib/Weil/DualPair/Flip`, `Lib/Weil/DualPair/ThetaIntegrals`, `Lib/Weil/DualPair/HolomorphicData`, `Lib/Weil/DualPair/TwoEdges` | | | |
| 338 | +| Galois action on CM theta functions and on the finite Weil representation | `Lib/Weil/DualPair/GaloisLaw` | `Lib/Weil/DualPair/FiniteAction`, `Lib/Weil/DualPair/KernelLaws` | G. Shimura, Theta functions with complex multiplication, Duke Math. J. 43 (1976) 673-696; for the rationality of the Weil representation, J. Trias, On the rationality of the Weil representation and the local theta correspondence, arXiv 2601.16141 | | |
| 339 | +| Theta kernels of unitary pairs modulo an ideal: formal laws and seesaw identities | `Lib/Weil/DualPair/KernelLaws` | `New/UpperBound/Kernels/JetConjugatesAndBounds`, `Lib/Weil/Construction/ThetaJets` | | | |
| 340 | +| Harmonic highest vectors for (U(p,q), U(n)) give holomorphic vectors | `Lib/Weil/DualPair/HolomorphicData` | `Lib/SiegelWeil/Reproduction` | M. Kashiwara, M. Vergne, On the Segal–Shale–Weil representations and harmonic polynomials, Invent. Math. 44 (1978) 1–47, III 6.3, 7.2; M. G. Davidson, The harmonic representation of U(p,q) and its connection with the generalized unit disk, Pacific J. Math. 129 (1987) 33–55 | | |
| 341 | +| Bargmann–Fock model of the harmonic (oscillator) representation of U(p,q) | `Lib/Weil/Fock/OscillatorPair` | `Lib/SiegelWeil/Reproduction`, `Lib/Weil/Construction/VacuumProjections`, `Lib/Weil/DualPair/WeilAction`, `Lib/Weil/Fock/Basic`, `Lib/Weil/Fock/WeightedNorms`, `Lib/Weil/Fock/PolynomialVectors`, `Lib/Weil/MixedModel/RealTheta` | M. G. Davidson, The harmonic representation of U(p,q) and its connection with the generalized unit disk, Pacific J. Math. 129 (1987), §1 and Prop. 2.2; G. B. Folland, Harmonic Analysis in Phase Space (1989), ch. 1, 4; H. Reiter, Metaplectic Groups and Segal Algebras, LNM 1382 (1989) | | |
| 342 | +| Zero term and mixed model of the Weil representation: slices and θ as a sum of slices | `Lib/Weil/MixedModel/ZeroTerm` | `New/UpperBound/Seesaw/EdgePairEvaluation`, `Lib/ClassField/Grunwald`, `Lib/General/Algebra/LevelModulus`, `Lib/SiegelWeil/Tower/TestVector`, `Lib/Weil/TameGaussSum`, `Lib/Weil/Construction/WeilOperators`, `Lib/Weil/Construction/WeilData`, `Lib/Weil/Construction/FiniteMultiplier`, `Lib/Weil/Construction/FiniteCocycle`, `Lib/Weil/Construction/AdelicRepresentation`, `Lib/Weil/Construction/VacuumProjections`, `Lib/Weil/Construction/CanonicalTheta`, `Lib/Weil/DualPair/Defs`, `Lib/Weil/MixedModel/FockSections`, `Lib/Weil/MixedModel/SchwartzBruhat`, `Lib/Weil/MixedModel/IsotropicSplitting`, `Lib/Weil/MixedModel/NamedData`, `Lib/Weil/MixedModel/RealTheta`, `Lib/Weil/MixedModel/AdaptedSplitting`, `Lib/Weil/MixedModel/Slices`, `Lib/Weil/MixedModel/TargetZeroTerm`, `Lib/Weil/Periods/ConstantTerm` | | | |
| 343 | +| Schrödinger and mixed models of the Weil representation and the action of parabolic subgroups | `Lib/Weil/MixedModel/ThetaInvariance` | `Lib/Weil/MixedModel/ZeroTerm` | C. Mœglin, M.-F. Vignéras, J.-L. Waldspurger, Correspondances de Howe sur un corps p-adique, LNM 1291, 1987; S. Kudla, Splitting metaplectic covers of dual reductive pairs, Israel J. Math. 87 (1994) 361–401; A. Weil, Acta Math. 111 (1964) n° 16–19, 41 | | |
| 344 | +| Adelic Weil representation of a unitary group and the invariant theta functional | `Lib/Weil/MixedModel/ThetaInvariance` | | A. Weil, Sur certains groupes d'opérateurs unitaires, Acta Math. 111 (1964), n° 16-19 Thm 4, n° 41 Thm 6; S. Kudla, Splitting metaplectic covers of dual reductive pairs, Israel J. Math. 87 (1994) 361-401; H. Reiter, Metaplectic Groups and Segal Algebras, LNM 1382 (1989) (space of data, after H. Feichtinger, On a new Segal algebra, Monatsh. Math. 92 (1981)); E. Zelenov, p-adic Heisenberg group and Maslov index, Comm. Math. Phys. 155 (1993) 489-502, Prop. 4 (cocycle of three lattices); Robinson and Rawnsley, Mem. AMS 410 (1989) (real normalisation) | | |
| 345 | +| Self-dual lattices of finite points: duality of intersection and projection, Witt conjugacy | `Lib/Weil/Periods/PointLattice` | | O'Meara, Introduction to Quadratic Forms; Jacobowitz, Hermitian forms over local fields (1962) | | |
| 346 | +| The Iwasawa decomposition of an unramified unitary group | `Lib/Weil/Periods/GradedLattice` | | J. Tits, Reductive groups over local fields, Proc. Sympos. Pure Math. 33 (1979), 3.3.2 | | |
| 347 | +| There are finitely many lattices between two given ones, and a lattice is determined by its local components | `Lib/Weil/Periods/LatticeBounds` | | O'Meara, Introduction to Quadratic Forms, §81 | | |
| 348 | +| Fourier coefficients of theta lifts as periods over stabilisers | `Lib/Weil/Periods/DescentVanishing` | | P. Walls, The theta correspondence, periods of automorphic forms and special values of standard automorphic L-functions, arXiv 1501.01565 (2015), Prop. 2.1.1; S. Rallis, On the Howe duality conjecture, Compositio Math. 51 (1984) 333–399 | | |
| 349 | +| The decomposition of the double coset of diag(ϖ 1_j, 1) in GL_n(E_w) into single cosets, indexed by the subspaces of dimension j of k_w^n | `Lib/Weil/Unramified/HeckeGL` | | | | |
| 350 | +| The unramified theta correspondence for GL_n, stated for operators | `Lib/Weil/Unramified/HeckeTransfer` | | | | |
| 351 | + | |
| 352 | +## General lemmas | |
| 353 | + | |
| 354 | +| folder | files | | |
| 355 | +|---|---| | |
| 356 | +| `Lib/Adelic/TraceFormula` | `Convergence`, `IsotropicStabiliser`, `LineCount`, `LineDeterminant`, `ReduciblePolynomials`, `Stretch` | | |
| 357 | +| `Lib/Adelic/Unitary` | `ComponentsAndBlockSums`, `GramMatrix` | | |
| 358 | +| `Lib/DiscreteSeries/Haar` | `GramCoordinates` | | |
| 359 | +| `Lib/General` | `Topology` | | |
| 360 | +| `Lib/General/Algebra` | `AbsIntegrallyClosed`, `BlockFittingBound`, `LongExactSequences` | | |
| 361 | +| `Lib/General/Analysis` | `PackingAndSobolev` | | |
| 362 | +| `Lib/General/Geometry` | `DenseComplexPoints`, `ProjectiveSpace`, `SmoothnessCriterion` | | |
| 363 | +| `Lib/General/Groups` | `CharacterTheory`, `CongruenceSubgroups`, `ProfiniteCharacters` | | |
| 364 | +| `Lib/General/LinearAlgebra` | `BlockEmbeddings`, `GramDeterminant`, `IdempotentRadical`, `MatricesNearIdentity`, `MatrixPolynomials`, `MinorProducts`, `PolarDecomposition`, `TensorChains` | | |
| 365 | +| `Lib/General/Measure` | `HaarModulus`, `HaarNormalisation`, `IdempotentKernel`, `IntegralOperators`, `QuadricDisintegration` | | |
| 366 | +| `Lib/General/NumberTheory` | `CMFields`, `CoefficientInclusion`, `CoefficientRings`, `EmbeddingsAndDifferent`, `FrobeniusOrbits`, `ImaginaryQuadraticField`, `LargeResidueField` | | |
| 367 | +| `Lib/SiegelWeil/OneVector` | `ResidueClasses` | | |
| 368 | +| `Lib/SiegelWeil/SingularForms` | `CentreCoefficients` | | |
| 369 | +| `Lib/SiegelWeil/Tower` | `PrincipalIdeles` | | |
| 370 | +| `Lib/Weil/Periods` | `RealAndFinitePoints`, `StringPowers` | | |
+201 −0 LICENSE added View file
| @@ -0,0 +1,201 @@ | ||
| 1 | + Apache License | |
| 2 | + Version 2.0, January 2004 | |
| 3 | + http://www.apache.org/licenses/ | |
| 4 | + | |
| 5 | + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
| 6 | + | |
| 7 | + 1. Definitions. | |
| 8 | + | |
| 9 | + "License" shall mean the terms and conditions for use, reproduction, | |
| 10 | + and distribution as defined by Sections 1 through 9 of this document. | |
| 11 | + | |
| 12 | + "Licensor" shall mean the copyright owner or entity authorized by | |
| 13 | + the copyright owner that is granting the License. | |
| 14 | + | |
| 15 | + "Legal Entity" shall mean the union of the acting entity and all | |
| 16 | + other entities that control, are controlled by, or are under common | |
| 17 | + control with that entity. For the purposes of this definition, | |
| 18 | + "control" means (i) the power, direct or indirect, to cause the | |
| 19 | + direction or management of such entity, whether by contract or | |
| 20 | + otherwise, or (ii) ownership of fifty percent (50%) or more of the | |
| 21 | + outstanding shares, or (iii) beneficial ownership of such entity. | |
| 22 | + | |
| 23 | + "You" (or "Your") shall mean an individual or Legal Entity | |
| 24 | + exercising permissions granted by this License. | |
| 25 | + | |
| 26 | + "Source" form shall mean the preferred form for making modifications, | |
| 27 | + including but not limited to software source code, documentation | |
| 28 | + source, and configuration files. | |
| 29 | + | |
| 30 | + "Object" form shall mean any form resulting from mechanical | |
| 31 | + transformation or translation of a Source form, including but | |
| 32 | + not limited to compiled object code, generated documentation, | |
| 33 | + and conversions to other media types. | |
| 34 | + | |
| 35 | + "Work" shall mean the work of authorship, whether in Source or | |
| 36 | + Object form, made available under the License, as indicated by a | |
| 37 | + copyright notice that is included in or attached to the work | |
| 38 | + (an example is provided in the Appendix below). | |
| 39 | + | |
| 40 | + "Derivative Works" shall mean any work, whether in Source or Object | |
| 41 | + form, that is based on (or derived from) the Work and for which the | |
| 42 | + editorial revisions, annotations, elaborations, or other modifications | |
| 43 | + represent, as a whole, an original work of authorship. For the purposes | |
| 44 | + of this License, Derivative Works shall not include works that remain | |
| 45 | + separable from, or merely link (or bind by name) to the interfaces of, | |
| 46 | + the Work and Derivative Works thereof. | |
| 47 | + | |
| 48 | + "Contribution" shall mean any work of authorship, including | |
| 49 | + the original version of the Work and any modifications or additions | |
| 50 | + to that Work or Derivative Works thereof, that is intentionally | |
| 51 | + submitted to Licensor for inclusion in the Work by the copyright owner | |
| 52 | + or by an individual or Legal Entity authorized to submit on behalf of | |
| 53 | + the copyright owner. For the purposes of this definition, "submitted" | |
| 54 | + means any form of electronic, verbal, or written communication sent | |
| 55 | + to the Licensor or its representatives, including but not limited to | |
| 56 | + communication on electronic mailing lists, source code control systems, | |
| 57 | + and issue tracking systems that are managed by, or on behalf of, the | |
| 58 | + Licensor for the purpose of discussing and improving the Work, but | |
| 59 | + excluding communication that is conspicuously marked or otherwise | |
| 60 | + designated in writing by the copyright owner as "Not a Contribution." | |
| 61 | + | |
| 62 | + "Contributor" shall mean Licensor and any individual or Legal Entity | |
| 63 | + on behalf of whom a Contribution has been received by Licensor and | |
| 64 | + subsequently incorporated within the Work. | |
| 65 | + | |
| 66 | + 2. Grant of Copyright License. Subject to the terms and conditions of | |
| 67 | + this License, each Contributor hereby grants to You a perpetual, | |
| 68 | + worldwide, non-exclusive, no-charge, royalty-free, irrevocable | |
| 69 | + copyright license to reproduce, prepare Derivative Works of, | |
| 70 | + publicly display, publicly perform, sublicense, and distribute the | |
| 71 | + Work and such Derivative Works in Source or Object form. | |
| 72 | + | |
| 73 | + 3. Grant of Patent License. Subject to the terms and conditions of | |
| 74 | + this License, each Contributor hereby grants to You a perpetual, | |
| 75 | + worldwide, non-exclusive, no-charge, royalty-free, irrevocable | |
| 76 | + (except as stated in this section) patent license to make, have made, | |
| 77 | + use, offer to sell, sell, import, and otherwise transfer the Work, | |
| 78 | + where such license applies only to those patent claims licensable | |
| 79 | + by such Contributor that are necessarily infringed by their | |
| 80 | + Contribution(s) alone or by combination of their Contribution(s) | |
| 81 | + with the Work to which such Contribution(s) was submitted. If You | |
| 82 | + institute patent litigation against any entity (including a | |
| 83 | + cross-claim or counterclaim in a lawsuit) alleging that the Work | |
| 84 | + or a Contribution incorporated within the Work constitutes direct | |
| 85 | + or contributory patent infringement, then any patent licenses | |
| 86 | + granted to You under this License for that Work shall terminate | |
| 87 | + as of the date such litigation is filed. | |
| 88 | + | |
| 89 | + 4. Redistribution. You may reproduce and distribute copies of the | |
| 90 | + Work or Derivative Works thereof in any medium, with or without | |
| 91 | + modifications, and in Source or Object form, provided that You | |
| 92 | + meet the following conditions: | |
| 93 | + | |
| 94 | + (a) You must give any other recipients of the Work or | |
| 95 | + Derivative Works a copy of this License; and | |
| 96 | + | |
| 97 | + (b) You must cause any modified files to carry prominent notices | |
| 98 | + stating that You changed the files; and | |
| 99 | + | |
| 100 | + (c) You must retain, in the Source form of any Derivative Works | |
| 101 | + that You distribute, all copyright, patent, trademark, and | |
| 102 | + attribution notices from the Source form of the Work, | |
| 103 | + excluding those notices that do not pertain to any part of | |
| 104 | + the Derivative Works; and | |
| 105 | + | |
| 106 | + (d) If the Work includes a "NOTICE" text file as part of its | |
| 107 | + distribution, then any Derivative Works that You distribute must | |
| 108 | + include a readable copy of the attribution notices contained | |
| 109 | + within such NOTICE file, excluding those notices that do not | |
| 110 | + pertain to any part of the Derivative Works, in at least one | |
| 111 | + of the following places: within a NOTICE text file distributed | |
| 112 | + as part of the Derivative Works; within the Source form or | |
| 113 | + documentation, if provided along with the Derivative Works; or, | |
| 114 | + within a display generated by the Derivative Works, if and | |
| 115 | + wherever such third-party notices normally appear. The contents | |
| 116 | + of the NOTICE file are for informational purposes only and | |
| 117 | + do not modify the License. You may add Your own attribution | |
| 118 | + notices within Derivative Works that You distribute, alongside | |
| 119 | + or as an addendum to the NOTICE text from the Work, provided | |
| 120 | + that such additional attribution notices cannot be construed | |
| 121 | + as modifying the License. | |
| 122 | + | |
| 123 | + You may add Your own copyright statement to Your modifications and | |
| 124 | + may provide additional or different license terms and conditions | |
| 125 | + for use, reproduction, or distribution of Your modifications, or | |
| 126 | + for any such Derivative Works as a whole, provided Your use, | |
| 127 | + reproduction, and distribution of the Work otherwise complies with | |
| 128 | + the conditions stated in this License. | |
| 129 | + | |
| 130 | + 5. Submission of Contributions. Unless You explicitly state otherwise, | |
| 131 | + any Contribution intentionally submitted for inclusion in the Work | |
| 132 | + by You to the Licensor shall be under the terms and conditions of | |
| 133 | + this License, without any additional terms or conditions. | |
| 134 | + Notwithstanding the above, nothing herein shall supersede or modify | |
| 135 | + the terms of any separate license agreement you may have executed | |
| 136 | + with Licensor regarding such Contributions. | |
| 137 | + | |
| 138 | + 6. Trademarks. This License does not grant permission to use the trade | |
| 139 | + names, trademarks, service marks, or product names of the Licensor, | |
| 140 | + except as required for reasonable and customary use in describing the | |
| 141 | + origin of the Work and reproducing the content of the NOTICE file. | |
| 142 | + | |
| 143 | + 7. Disclaimer of Warranty. Unless required by applicable law or | |
| 144 | + agreed to in writing, Licensor provides the Work (and each | |
| 145 | + Contributor provides its Contributions) on an "AS IS" BASIS, | |
| 146 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
| 147 | + implied, including, without limitation, any warranties or conditions | |
| 148 | + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A | |
| 149 | + PARTICULAR PURPOSE. You are solely responsible for determining the | |
| 150 | + appropriateness of using or redistributing the Work and assume any | |
| 151 | + risks associated with Your exercise of permissions under this License. | |
| 152 | + | |
| 153 | + 8. Limitation of Liability. In no event and under no legal theory, | |
| 154 | + whether in tort (including negligence), contract, or otherwise, | |
| 155 | + unless required by applicable law (such as deliberate and grossly | |
| 156 | + negligent acts) or agreed to in writing, shall any Contributor be | |
| 157 | + liable to You for damages, including any direct, indirect, special, | |
| 158 | + incidental, or consequential damages of any character arising as a | |
| 159 | + result of this License or out of the use or inability to use the | |
| 160 | + Work (including but not limited to damages for loss of goodwill, | |
| 161 | + work stoppage, computer failure or malfunction, or any and all | |
| 162 | + other commercial damages or losses), even if such Contributor | |
| 163 | + has been advised of the possibility of such damages. | |
| 164 | + | |
| 165 | + 9. Accepting Warranty or Additional Liability. While redistributing | |
| 166 | + the Work or Derivative Works thereof, You may choose to offer, | |
| 167 | + and charge a fee for, acceptance of support, warranty, indemnity, | |
| 168 | + or other liability obligations and/or rights consistent with this | |
| 169 | + License. However, in accepting such obligations, You may act only | |
| 170 | + on Your own behalf and on Your sole responsibility, not on behalf | |
| 171 | + of any other Contributor, and only if You agree to indemnify, | |
| 172 | + defend, and hold each Contributor harmless for any liability | |
| 173 | + incurred by, or claims asserted against, such Contributor by reason | |
| 174 | + of your accepting any such warranty or additional liability. | |
| 175 | + | |
| 176 | + END OF TERMS AND CONDITIONS | |
| 177 | + | |
| 178 | + APPENDIX: How to apply the Apache License to your work. | |
| 179 | + | |
| 180 | + To apply the Apache License to your work, attach the following | |
| 181 | + boilerplate notice, with the fields enclosed by brackets "[]" | |
| 182 | + replaced with your own identifying information. (Don't include | |
| 183 | + the brackets!) The text should be enclosed in the appropriate | |
| 184 | + comment syntax for the file format. We also recommend that a | |
| 185 | + file or class name and description of purpose be included on the | |
| 186 | + same "printed page" as the copyright notice for easier | |
| 187 | + identification within third-party archives. | |
| 188 | + | |
| 189 | + Copyright [yyyy] [name of copyright owner] | |
| 190 | + | |
| 191 | + Licensed under the Apache License, Version 2.0 (the "License"); | |
| 192 | + you may not use this file except in compliance with the License. | |
| 193 | + You may obtain a copy of the License at | |
| 194 | + | |
| 195 | + http://www.apache.org/licenses/LICENSE-2.0 | |
| 196 | + | |
| 197 | + Unless required by applicable law or agreed to in writing, software | |
| 198 | + distributed under the License is distributed on an "AS IS" BASIS, | |
| 199 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 200 | + See the License for the specific language governing permissions and | |
| 201 | + limitations under the License. | |
+18 −0 NOTICE added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +GRH: a Lean 4 proof of the Generalized Riemann Hypothesis for Dirichlet L-functions (readable edition) | |
| 2 | +Copyright 2026 Anthropic, PBC | |
| 3 | + | |
| 4 | +This product is licensed under the Apache License, Version 2.0 (see LICENSE). | |
| 5 | + | |
| 6 | +This product is a rewriting of Levent Alpöge's Lean proof (see README.md). src/Statements.lean and the names and | |
| 7 | +types of the five theorems in src/Main.lean are taken from that proof unchanged; lakefile.toml is adapted from it. | |
| 8 | + | |
| 9 | +This product depends on, but does not include, Lean 4 (https://github.com/leanprover/lean4) and Mathlib | |
| 10 | +(https://github.com/leanprover-community/mathlib4), both under the Apache License, Version 2.0, and Mathlib's | |
| 11 | +dependencies. The build tool fetches Mathlib and its dependencies from their public repositories at the revisions | |
| 12 | +pinned in lake-manifest.json: batteries, aesop, Qq, ProofWidgets4, import-graph, LeanSearchClient and plausible | |
| 13 | +under the Apache License, Version 2.0, and Cli (leanprover/lean4-cli) under the MIT License (Copyright (c) 2021 | |
| 14 | +mhuisi). | |
| 15 | + | |
| 16 | +Some declarations, or parts of their proofs, adapt definitions, statements and proofs from Mathlib, with changes | |
| 17 | +(copyright the Mathlib authors, Apache License, Version 2.0). | |
| 18 | +See ATTRIBUTION.md. | |
+89 −0 README.md added View file
| @@ -0,0 +1,89 @@ | ||
| 1 | +# riemann-hypothesis | |
| 2 | + | |
| 3 | +A community-led effort to clean up and maintain a Lean formalization of the 2026 proofs of the Riemann Hypothesis and of GRH for Dirichlet L-functions. | |
| 4 | + | |
| 5 | +> [!CAUTION] | |
| 6 | +> This repo recently moved to a highly condensed version on November 25, 2026. Prior progress is preserved on the `alpoge` branch. | |
| 7 | + | |
| 8 | +The purpose of this repo is to create an artifact that is: | |
| 9 | + | |
| 10 | +- **accessible**: we want to improve build performance and modularity to enable researchers to feasibly engage with the proof even without access to massive amounts of compute. | |
| 11 | +- **readable**: we want to improve code quality, aspirationally to Mathlib levels. This includes lemma organization, formatting and idiomatic style, eliminating linter warnings, slop-free documentation, and more. | |
| 12 | +- **integrated with the community**: we would like to add bibliographic references to prior work where appropriate, and rely on existing formalization projects when possible. | |
| 13 | + | |
| 14 | +Please note: we are **not** looking for: | |
| 15 | + | |
| 16 | +- claims about your own machine's builds / comparator run | |
| 17 | +- adding files which are not necessary for the Riemann Hypothesis proof | |
| 18 | + | |
| 19 | +This work is taking place on the `main` branch, which is based on a copy of the readable | |
| 20 | +edition (`grh/`) of https://github.com/lsernau/grh-lean at commit 72fead102f663d5c7a407964a13dc0cf9d977207. | |
| 21 | + | |
| 22 | +The `alpoge` branch retains the progress the community made towards cleaning up the original version of the proof released by Levent Alpöge in the first few days before the aforementioned readable edition was released. | |
| 23 | + | |
| 24 | +The `original` branch preserves the first publicly-released version of the proof retrieved on 2026-11-20 from <https://alpo.ge/remark.pdf>. | |
| 25 | + | |
| 26 | +If you want to open the original proof without compiling it, see the repo | |
| 27 | +[riemann-hypothesis-original](https://github.com/homeowmorphism/riemann-hypothesis-original). | |
| 28 | +It keeps the published Lean source unchanged and provides a prebuilt cache for it. | |
| 29 | + | |
| 30 | +## Theorem Statements | |
| 31 | + | |
| 32 | +[`src/Main.lean`](src/Main.lean) proves the following theorems: | |
| 33 | + | |
| 34 | +| Theorem | Statement | | |
| 35 | +|---|---| | |
| 36 | +| `riemannHypothesis` | Mathlib's `RiemannHypothesis` | | |
| 37 | +| `riemannZeta_eq_zero_re` | the same statement as `riemannHypothesis` but spelled out without Mathlib's definition of the statement | | |
| 38 | +| `LFunction_ne_zero_of_half_lt_re` | L(χ, s) ≠ 0 for Re s > 1/2, for every modulus and every Dirichlet character, except the trivial character at s = 1 | | |
| 39 | +| `LFunction_eq_zero_re` | every zero of L(χ, s) with 0 < Re s < 1 has Re s = 1/2 | | |
| 40 | +| `LFunction_eq_zero_re_of_isPrimitive` | the special case of `LFunction_eq_zero_re` for primitive characters | | |
| 41 | + | |
| 42 | +[`src/Statements.lean`](src/Statements.lean) provides the statements of all of these theorems, and only imports Mathlib to state them. It is imported by both [`src/Main.lean`](src/Main.lean) and [`Challenge.lean`](Challenge.lean) | |
| 43 | + | |
| 44 | +[`Challenge.lean`](Challenge.lean) imports *only* [`src/Statements.lean`](src/Statements.lean), and declares the same five theorems with `sorry` in place of the proofs. | |
| 45 | + | |
| 46 | +Comparator checks that `Main.lean` proves exactly those statements, that it uses no axioms other than `propext`, `Quot.sound` and | |
| 47 | +`Classical.choice`, and that Lean's kernel and nanoda both accept the proof. | |
| 48 | + | |
| 49 | +## Cache | |
| 50 | + | |
| 51 | +``` | |
| 52 | +lake exe cache get | |
| 53 | +lake build | |
| 54 | +``` | |
| 55 | + | |
| 56 | +This needs Python 3.11 or newer and curl 7.71 or newer, with no credentials. The command restores | |
| 57 | +the Mathlib, Tau Ceti, and project caches in that order. Run it before editing the Lean sources | |
| 58 | +or build configuration so it can match the published build inputs. | |
| 59 | +`lake exe mathlib/cache get` fetches Mathlib alone. | |
| 60 | + | |
| 61 | +See [`CACHE.md`](CACHE.md) for details. | |
| 62 | + | |
| 63 | +## Layout | |
| 64 | + | |
| 65 | +*For now, this section is copied from https://github.com/lsernau/grh-lean. It may be out of date and is subject to change.* | |
| 66 | + | |
| 67 | +About 300,000 lines of code; 433,000 non-blank lines with comments; 477,000 lines in all. | |
| 68 | +- `src/Lib` (495 files): background results, classed as known in the literature, that Mathlib lacks, with the steps of their proofs. It imports nothing from `src/New`. | |
| 69 | +- `src/New` (306 files): the set-up and the steps of the argument, in folders that follow its order. The main inequality is in `src/New/Reduction/MainInequality.lean`, the theorem in half-plane form in `src/New/Reduction/OneSidedBound.lean`. | |
| 70 | +- `src/Lib/Speed.lean` holds the main settings that apply to the whole development (instance priorities, `simp` lemmas taken out of the default set, one added `simp` lemma). With the file emptied, everything still compiled on Lean 4.33.1; on the current toolchain a few files rely on it (see its module note). `GUIDE.md` explains them. | |
| 71 | +- `GUIDE.md`: start here. It gives the reading order, a glossary, sizes and conventions. `CONTENTS.md`: every file with its title. `INDEX.md`: the results, with sources or related work and files. | |
| 72 | +- `REFERENCES.md` lists the citations and says which were compared with their sources. | |
| 73 | + | |
| 74 | +## Acknowledgements | |
| 75 | + | |
| 76 | +Thanks to the Lean FRO and BAIF for providing resources to run CI here; others have contributed too, if you'd like acknowledgement here let @kim-em know. | |
| 77 | + | |
| 78 | +[`CONTRIBUTORS.md`](CONTRIBUTORS.md) lists everyone with a merged pull request. | |
| 79 | + | |
| 80 | +## License | |
| 81 | + | |
| 82 | +The proof belongs to its author Levent Alpöge with Claude and was originally published without a license. The repo https://github.com/lsernau/grh-lean uses Apache 2.0, and so does this repo; see [`LICENSE`](LICENSE), [`NOTICE`](NOTICE) and [`ATTRIBUTION.md`](ATTRIBUTION.md). | |
| 83 | + | |
| 84 | +*Soon, we will re-integrate Formal Conjectures. This is out of date.* | |
| 85 | + | |
| 86 | +The declarations in `comparator/` that will be copied from | |
| 87 | +[formal-conjectures](https://github.com/google-deepmind/formal-conjectures) are copyright The Formal | |
| 88 | +Conjectures Authors, under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). | |
| 89 | +The files that hold them carry the notice. | |
+365 −0 REFERENCES.md added View file
| @@ -0,0 +1,365 @@ | ||
| 1 | +# References | |
| 2 | + | |
| 3 | +Only some of the citations were compared with their sources. The table lists the 227 citations that were part of the comparison. A place is a theorem, section or page number; places that were looked for and could not be confirmed were dropped. At second hand means from a table of contents, a catalogue or a citation in another work. | |
| 4 | + | |
| 5 | +- compared, place confirmed: 80 | |
| 6 | +- not compared, no place given: 7 | |
| 7 | +- place confirmed at second hand: 32 | |
| 8 | +- work found, no place given: 108 | |
| 9 | + | |
| 10 | +The citations of 120 other files were not part of this check, nor were further citations in the files below that stand outside the checked paragraphs; 67 of these files give places. They are listed at the end. | |
| 11 | + | |
| 12 | +| citation | state | files | | |
| 13 | +|---|---|---| | |
| 14 | +| A. Borel, Introduction to automorphic forms | work found, no place given | `Lib/DiscreteSeries/Bruhat/FloorGroups` | | |
| 15 | +| A. Borel, Some finiteness properties of adele groups over number fields, Publ. IHES 16 (1963) | compared, place confirmed | `Lib/Adelic/Reduction/FiniteVolume` | | |
| 16 | +| A. Knapp (1986), no title given | not compared, no place given | `Lib/DiscreteSeries/Holomorphic/HighestVectorExtension` | | |
| 17 | +| A. Knapp, Lie Groups Beyond an Introduction | place confirmed at second hand | `Lib/DiscreteSeries/Bruhat/ComplexPlace` | | |
| 18 | +| A. Paul, First occurrence for the dual pairs (U(p,q), U(r,s)) | compared, place confirmed | `Lib/DiscreteSeries/Theta/BlockRule` | | |
| 19 | +| A. Selberg, S. Chowla, On Epstein's zeta-function | place confirmed at second hand | `Lib/CM/ChowlaSelberg` | | |
| 20 | +| A. Weil, Sur la formule de Siegel dans la théorie des groupes classiques | compared, place confirmed | `Lib/General/Measure/FibreMeasure` | | |
| 21 | +| A. Weil, Sur la formule de Siegel dans la théorie des groupes classiques, Acta Math. 113 (1965) | compared, place confirmed | `Lib/Adelic/Reduction/FiniteVolume` | | |
| 22 | +| Akin, Buchsbaum, Weyman, Schur functors and Schur complexes | work found, no place given | `Lib/GLn/SchurModule/TensorModel` | | |
| 23 | +| Arthur and Clozel (1989) | compared, place confirmed | `Lib/Adelic/TraceFormula/TraceComparison` | | |
| 24 | +| Atiyah-Wall in Cassels-Fröhlich (1967) | place confirmed at second hand | `Lib/ClassField/GaloisCohomology/KummerCyclicClasses` | | |
| 25 | +| M. F. Atiyah, R. Bott, A Lefschetz fixed point formula for elliptic complexes II, Ann. of Math. 88 (1968) 451–491, formula (4.9) on p. 458 (self-maps, h-forms; bundle version Thm 4.12, pp. 458–459) | compared, place confirmed | `Lib/Cohomology/WoodsHole` | | |
| 26 | +| B. Conrad, Lifting global representations with local properties | compared, place confirmed | `Lib/ClassField/Avatar/LocalGlobalCompatibility` | | |
| 27 | +| B. Gross, On the periods of abelian varieties | work found, no place given | `Lib/CM/ChowlaSelberg` | | |
| 28 | +| B. Mazur, A. Wiles, Class fields of abelian extensions of Q | work found, no place given | `Lib/Cyclotomic/OddSha` | | |
| 29 | +| B. Wang Peng Jun, Global theta lifting and automorphic periods associated to nilpotent orbits | compared, place confirmed | `Lib/Weil/Periods/Unfolding`, `New/UpperBound/Seesaw/SeesawIdentity` | | |
| 30 | +| Bannai and Kobayashi, no title given | work found, no place given | `New/Derivatives/Divisibility/Count`, `New/UpperBound/Kernels/JetConjugatesAndBounds` | | |
| 31 | +| Bannai–Kobayashi, Algebraic theta functions and the p-adic interpolation of Eisenstein–Kronecker numbers | compared, place confirmed | `New/Derivatives/FormalGroup/Exponent` | | |
| 32 | +| Bannai–Kobayashi, Integral structures on p-adic Fourier theory | work found, no place given | `New/Derivatives/FormalGroup/Exponent` | | |
| 33 | +| Bannai–Kobayashi–Yasuda, The radius of convergence of the p-adic sigma function | work found, no place given | `New/Derivatives/FormalGroup/Exponent` | | |
| 34 | +| Beauville, Theta functions, old and new | compared, place confirmed | `Lib/Weil/Construction/ThetaDictionary` | | |
| 35 | +| Benson–Doty, Schur–Weyl duality over finite fields, 2009 | work found, no place given | `New/UpperBound/ElementaryDivisors/AveragingMap`, `New/UpperBound/ElementaryDivisors/InvariantAverage` | | |
| 36 | +| Bernstein, P-invariant distributions on GL(N), LNM 1041 (1984) | work found, no place given | `Lib/LocalGL/SphericalChainLemma` | | |
| 37 | +| Bhatt, Scholze, Prismatic F-crystals and crystalline Galois representations (2023) | compared, place confirmed | `Lib/PadicHodge/RadiusLemma` | | |
| 38 | +| Birch, Weber's class invariants | work found, no place given | `Lib/CM/Integrality/TorsionValues` | | |
| 39 | +| Birch, Weber's class invariants, 1969 | work found, no place given | `Lib/CM/GoodReduction` | | |
| 40 | +| Blake, A Deuring criterion for abelian varieties | compared, place confirmed | `Lib/CM/FormalGroup/InseparableDegree` | | |
| 41 | +| Bluher, Formal groups, elliptic curves, and some theorems of Couveignes | compared, place confirmed | `Lib/CM/FormalGroup/InseparableDegree` | | |
| 42 | +| Bombieri, Counting points on curves over finite fields, Sém. Bourbaki 430, 1973 | place confirmed at second hand | `New/Reduction/MainInequality` | | |
| 43 | +| Bombieri–Gubler, Heights in Diophantine Geometry (2006), [1.4.3 and Proposition 1.4.4, p. 10](https://assets.cambridge.org/97805218/46158/excerpt/9780521846158_excerpt.pdf#page=10) | compared, place confirmed | `New/Reduction/Lattices/Heights` | | |
| 44 | +| Bombieri–Vaaler, On Siegel's lemma, Invent. Math. 73 (1983) | work found, no place given | `New/Spanning/RemainingTerms/SiegelLemma` | | |
| 45 | +| Borel, Automorphic forms on reductive groups (Park City) | work found, no place given | `Lib/Adelic/AutomorphicForms/Cuspidality` | | |
| 46 | +| Bosch, Güntzer, Remmert, Non-Archimedean Analysis | work found, no place given | `Lib/General/Algebra/SeriesBounds`, `Lib/General/NumberTheory/GaussValuation` | | |
| 47 | +| Bosch, Lütkebohmert, Raynaud, Néron Models (1990) | compared, place confirmed | `Lib/Shimura/AbelianScheme/IsogenyFlatness` | | |
| 48 | +| Bost, Algebraic leaves of algebraic foliations over number fields, 2001 | work found, no place given | `New/Reduction/Lattices/TwistedLattice` | | |
| 49 | +| Bourbaki, Algebra, Chapter IV | work found, no place given | `Lib/General/Algebra/SeriesCongruences` | | |
| 50 | +| Bourbaki, Intégration VII, 1963 | compared, place confirmed | `Lib/Adelic/QuotientMeasure/Basic` | | |
| 51 | +| Böcherer, Über die Fourier-Jacobi-Entwicklung Siegelscher Eisensteinreihen, Math. Z. 183 (1983) | work found, no place given | `Lib/SiegelWeil/Reproduction` | | |
| 52 | +| C. F. Gauss, Disquisitiones Arithmeticae | not compared, no place given | `Lib/CM/ChowlaSelberg` | | |
| 53 | +| C. Greither, Class groups of abelian fields, and the main conjecture | compared, place confirmed | `Lib/Cyclotomic/OddSha` | | |
| 54 | +| C. L. Siegel, [On Advanced Analytic Number Theory](https://mathweb.tifr.res.in/Documents/Publications/Lectures/tifr23.pdf#page=17), TIFR lecture notes 23 (first published 1961), TIFR reprint, Chapter I, §1, Theorem 1, p. 13 | compared, place confirmed | `Lib/CM/KroneckerLimit` | | |
| 55 | +| C. L. Siegel, Über die analytische Theorie der quadratischen Formen | work found, no place given | `Lib/DiscreteSeries/Haar/GramFibre`, `Lib/DiscreteSeries/Haar/GramPolar` | | |
| 56 | +| Carter, Finite groups of Lie type (1985) | work found, no place given | `Lib/LocalGL/Green/CuspidalFunctions` | | |
| 57 | +| Coates–Sinnott, An analogue of Stickelberger's theorem for the higher K-groups, Invent. Math. 24 (1974) | place confirmed at second hand | `Lib/Cyclotomic/Kolyvagin/ReciprocityComponentBounds` | | |
| 58 | +| Crapo, [The Möbius function of a lattice](https://doi.org/10.1016/S0021-9800(66)80009-1), corollary to Theorem 3 | place confirmed at second hand | `Lib/LocalGL/Green/CuspidalFunctions` | | |
| 59 | +| D. Blasius, J. Rogawski, Motives for Hilbert modular forms | work found, no place given | `Lib/GaloisRep/Main/ThetaLift` | | |
| 60 | +| D. Cox, Primes of the form x²+ny² (1989) | place confirmed at second hand | `Lib/CM/ChowlaSelberg` | | |
| 61 | +| D. R. Heath-Brown, A mean value estimate for real character sums, Acta Arith. 72 (1995) | work found, no place given | `Lib/Analytic/QuadraticTwist` | | |
| 62 | +| DLMF, Chapter 20 | place confirmed at second hand | `Lib/CM/Integrality/Doubling` | | |
| 63 | +| DLMF, Chapter 23 | place confirmed at second hand | `Lib/CM/Integrality/Doubling` | | |
| 64 | +| Davenport, Multiplicative Number Theory | compared, place confirmed | `Lib/Analytic/DirichletTheta`, `Lib/Analytic/PolyaVinogradov` | | |
| 65 | +| Davenport, Multiplicative Number Theory | work found, no place given | `New/Reduction/Zeros/PrimeError` | | |
| 66 | +| Davidson 1987 | work found, no place given | `Lib/Weil/DualPair/HolomorphicData` | | |
| 67 | +| Deligne and Kazhdan | work found, no place given | `Lib/Adelic/TraceFormula/CoprimeFactors` | | |
| 68 | +| Deuring, Die Typen der Multiplikatorenringe elliptischer Funktionenkörper | work found, no place given | `Lib/CM/FormalGroup/InseparableDegree` | | |
| 69 | +| Dieudonné, La géométrie des groupes classiques, 1955 | work found, no place given | `Lib/Adelic/Witt/IwasawaDecomposition` | | |
| 70 | +| Dold-Puppe (no title given) | work found, no place given | `Lib/PadicComparison/Duality/GoodPairs` | | |
| 71 | +| Donkin, On Schur algebras and related algebras I, 1986 | work found, no place given | `New/UpperBound/ElementaryDivisors/AveragingMap` | | |
| 72 | +| E. Bombieri and J. Vaaler, On Siegel's lemma, Invent. Math. 73 (1983) | work found, no place given | `Lib/Adelic/Reduction/FiniteVolume` | | |
| 73 | +| Edixhoven, van der Geer, Moonen, Abelian Varieties, (5.1)–(5.2) | compared, place confirmed | `Lib/Shimura/AbelianScheme/IsogenyFlatness` | | |
| 74 | +| Edixhoven, van der Geer, Moonen, Abelian Varieties, ch. VI §1 | compared, place confirmed | `Lib/Shimura/AbelianScheme/IsogenyFlatness` | | |
| 75 | +| Erez, Matchings of theta lifts associated to non-trivial automorphic characters of odd orthogonal groups, arXiv 2401.13469v1, Theorem 1.1 (§1.2) | compared, place confirmed | `New/Determinant/Exchange/TheoremForPartners` | | |
| 76 | +| F. Chamizo, [A simple evaluation of a theta value, the Kronecker limit formula and a formula of Ramanujan](https://doi.org/10.1007/s11139-022-00586-0), Ramanujan J. 59 (2022), §3, Proposition 1, p. 949 | compared, place confirmed | `Lib/CM/KroneckerLimit` | | |
| 77 | +| Faltings, Scholze, primitive comparison (no titles) | work found, no place given | `Lib/PadicComparison/Duality/GoodPairs` | | |
| 78 | +| Faltings, p-adic Hodge theory, JAMS 1 (1988) | work found, no place given | `Lib/Cohomology/PointClass/LinearIndependence` | | |
| 79 | +| Faltings; Scholze; Bhatt-Morrow-Scholze (no titles) | work found, no place given | `Lib/PadicComparison/CrystallineFrobenius` | | |
| 80 | +| First, Witt's extension theorem for quadratic spaces over semiperfect rings, JPAA 219 (2015) | compared, place confirmed | `Lib/Adelic/Witt/IwasawaDecomposition` | | |
| 81 | +| Flicker and Kazhdan | work found, no place given | `Lib/Adelic/TraceFormula/Convergence` | | |
| 82 | +| Flicker and Kazhdan (1988) | work found, no place given | `Lib/Adelic/TraceFormula/TraceComparison` | | |
| 83 | +| Folland, Harmonic Analysis in Phase Space | place confirmed at second hand | `Lib/Weil/DualPair/WeilAction` | | |
| 84 | +| Fujiwara, On divisibilities of special values of real analytic Eisenstein series | work found, no place given | `New/Derivatives/FormalGroup/Exponent` | | |
| 85 | +| Fulton and Harris, Representation Theory (1991) | compared, place confirmed | `Lib/DiscreteSeries/Character/WeylCharacterFormula` | | |
| 86 | +| Fulton, Harris, Representation Theory, 1991 | compared, place confirmed | `Lib/GLn/Dual` | | |
| 87 | +| G. B. Folland, Harmonic analysis in phase space (1989) | place confirmed at second hand | `Lib/Weil/Fock/OscillatorPair` | | |
| 88 | +| G. Banaszak, W. Gajda, Euler systems for higher K-theory of number fields | work found, no place given | `Lib/Cyclotomic/Kolyvagin/DerivativeCocycles` | | |
| 89 | +| G. Chenevier and M. Harris, Construction of automorphic Galois representations, II, Cambridge J. Math. 1 (2013), no. 1, 53–73, Theorem 3.2.3 (pp. 66–67) | compared, place confirmed | `Lib/GaloisRep/Main/AllRanks` | | |
| 90 | +| G. Shimura, Introduction to the Arithmetic Theory of Automorphic Functions (1971) | place confirmed at second hand | `Lib/CM/ChowlaSelberg` | | |
| 91 | +| Gan–Qiu–Takeda, The regularized Siegel–Weil formula (second term identity), 2014 | work found, no place given | `New/Determinant/Exchange/TheoremForPartners` | | |
| 92 | +| Gaudron, Pentes des fibrés vectoriels adéliques sur un corps global (2006 preprint, arXiv v1), [Definition 4.10, equation (29), p. 20](https://arxiv.org/pdf/math/0605408v1#page=20) | compared, place confirmed | `New/Reduction/Lattices/Heights` | | |
| 93 | +| Gentner, Last, Math. Z. 267 (2011) | compared, place confirmed | `Lib/Adelic/QuotientMeasure/Basic` | | |
| 94 | +| Godement, Série de Poincaré et Spitzenformen, exp. 10 | place confirmed at second hand | `Lib/Adelic/AutomorphicForms/Cuspidality` | | |
| 95 | +| Godement, The spectral decomposition of cusp forms, PSPM 9 (1966) 225-234 | place confirmed at second hand | `Lib/Adelic/AutomorphicForms/Cuspidality` | | |
| 96 | +| Goodman, Wallach, Symmetry, Representations, and Invariants, 2009 | compared, place confirmed | `Lib/GLn/SchurModule/SchurNorm` | | |
| 97 | +| Granville–Stark, ABC implies no Siegel zeros, 2000 | work found, no place given | `New/Reduction/MainInequality` | | |
| 98 | +| Green 1955 | compared, place confirmed | `Lib/LocalGL/Green/CuspidalFunctions` | | |
| 99 | +| Green, Polynomial representations of GL_n, 1980 | work found, no place given | `New/UpperBound/ElementaryDivisors/AveragingMap` | | |
| 100 | +| Greenberg, Voight, Lattice methods for algebraic modular forms on classical groups (2014) | compared, place confirmed | `Lib/Adelic/Hecke/ClassSums`, `Lib/SiegelWeil/NeighbourLattices`, `New/UpperBound/Size/ArchimedeanSize` | | |
| 101 | +| Grinberg, An Introduction to Algebraic Combinatorics | compared, place confirmed | `Lib/GLn/Dual` | | |
| 102 | +| Gross, Algebraic modular forms, Israel J. Math. 113 (1999) | work found, no place given | `Lib/Weil/CompactLift/DefiniteThetaLift` | | |
| 103 | +| Gross, Algebraic modular forms, Israel J. Math. 113 (1999) 61–93, (4.1) and Prop. 4.5 (pp. 68–69), (6.2) (p. 71) (forms and pairing; not the Harish-Chandra parameters) | compared, place confirmed | `Lib/Adelic/AutomorphicForms/SmoothAlgebraicForms` | | |
| 104 | +| H. L. Montgomery and R. C. Vaughan, Multiplicative number theory I. Classical theory (2007) | compared, place confirmed | `Lib/Analytic/PrimeNumberTheorem/Tauberian` | | |
| 105 | +| H. Weyl, The Classical Groups (1939) | place confirmed at second hand | `Lib/DiscreteSeries/Character/WeylCharacterFormula` | | |
| 106 | +| Harish-Chandra (no work named) | work found, no place given | `New/Appendix/DiscreteSeries/GaussianShape`, `New/Appendix/DiscreteSeries/OneMinor` | | |
| 107 | +| Harish-Chandra, Representations of semisimple Lie groups IV-VI | work found, no place given | `Lib/DiscreteSeries/Holomorphic/HighestVectorExtension` | | |
| 108 | +| Harish-Chandra, descent of invariant distributions (no title given) | not compared, no place given | `Lib/Adelic/TraceFormula/FibreIntegral` | | |
| 109 | +| Harris and Labesse (2004) | compared, place confirmed | `Lib/Adelic/TraceFormula/TraceComparison` | | |
| 110 | +| Harris, Kudla, Sweet, Theta dichotomy for unitary groups, JAMS 9 (1996) | compared, place confirmed | `Lib/Weil/DualPair/KernelDecay` | | |
| 111 | +| Harris-Kudla-Sweet (1996) | compared, place confirmed | `Lib/ClassField/HeckeCharacter/SplittingCharacters` | | |
| 112 | +| Hatcher, Algebraic Topology | compared, place confirmed | `Lib/Cohomology/LerayHirsch` | | |
| 113 | +| Howe, Perspectives on invariant theory, 1995 | work found, no place given | `Lib/GLn/SchurModule/SchurNorm` | | |
| 114 | +| Howe, Transcending classical invariant theory, JAMS 2 (1989) | work found, no place given | `Lib/Weil/CompactLift/DefiniteThetaLift` | | |
| 115 | +| Howe, θ-series and invariant theory | work found, no place given | `Lib/Weil/Unramified/HeckeTransfer` | | |
| 116 | +| I. Kaplansky, The Weierstrass theorem in fields with valuations | work found, no place given | `Lib/GaloisRep/WeightCongruence` | | |
| 117 | +| J. B. Prolla, Approximation of Vector Valued Functions | work found, no place given | `Lib/GaloisRep/WeightCongruence` | | |
| 118 | +| J. B. Prolla, Topics in Functional Analysis over Valued Division Rings | work found, no place given | `Lib/GaloisRep/WeightCongruence` | | |
| 119 | +| J. C. Lagarias, H. W. Lenstra, C. P. Schnorr, Korkin-Zolotarev bases and successive minima of a lattice and its reciprocal lattice, Combinatorica 10 (1990) | work found, no place given | `Lib/Adelic/Reduction/FirstMinimumShortBases` | | |
| 120 | +| J. Dieudonné 1944 | work found, no place given | `Lib/GaloisRep/WeightCongruence` | | |
| 121 | +| J. Milne, Complex Multiplication (2020) | place confirmed at second hand | `Lib/CM/ChowlaSelberg` | | |
| 122 | +| J. Neukirch, Algebraic Number Theory (1999) | place confirmed at second hand | `Lib/CM/ChowlaSelberg` | | |
| 123 | +| J. Tits, Reductive groups over local fields | compared, place confirmed | `Lib/General/LinearAlgebra/IntegralLattices` | | |
| 124 | +| J.-P. Serre, Linear Representations of Finite Groups (1977) | compared, place confirmed | `Lib/General/Algebra/CartanMap` | | |
| 125 | +| J.-S. Li, Crelle 428 (1992) | work found, no place given | `Lib/SiegelWeil/RallisInner/Doubling`, `Lib/SiegelWeil/Reproduction` | | |
| 126 | +| J.-S. Li, Non-vanishing theorems for the cohomology of certain arithmetic quotients | work found, no place given | `New/Determinant/Norms/AdjointThetaLift`, `New/OneLift/ComparisonOperator/ProductsSpan` | | |
| 127 | +| J.-S. Li, Theta lifting for unitary representations with nonzero cohomology | work found, no place given | `Lib/DiscreteSeries/Theta/BlockRule` | | |
| 128 | +| Jacobowitz, Amer. J. Math. 84 (1962) | work found, no place given | `Lib/Adelic/Witt/IwasawaDecomposition` | | |
| 129 | +| Jacobowitz, Hermitian forms over local fields (1962) | work found, no place given | `Lib/Weil/Periods/PointLattice` | | |
| 130 | +| Jantzen 2003, II.14.20 | work found, no place given | `Lib/GLn/Dual` | | |
| 131 | +| Jantzen 2003, II.2.13 | place confirmed at second hand | `Lib/GLn/Dual` | | |
| 132 | +| Jantzen, Representations of Algebraic Groups, 2nd ed. 2003, II.8.17 | place confirmed at second hand | `Lib/GLn/SchurModule/SchurNorm` | | |
| 133 | +| K. Conrad, Zorn's lemma and some applications II, notes | not compared, no place given | `Lib/Shimura/GoodReduction/MultiplicativeNorm` | | |
| 134 | +| K. Ireland, M. Rosen, A Classical Introduction to Modern Number Theory | work found, no place given | `Lib/Cyclotomic/Voronoi` | | |
| 135 | +| K. Mahler and R. Godement, compactness criterion (no title given) | not compared, no place given | `Lib/Adelic/Reduction/FiniteVolume` | | |
| 136 | +| K. Rubin, Kolyvagin's system of Gauss sums | work found, no place given | `Lib/Cyclotomic/Kolyvagin/DerivativeCocycles` | | |
| 137 | +| Kallenberg, Invariant measures and disintegrations with applications to Palm and related kernels, PTRF 139 (2007) 285-310, §2: Lemma 2.1 and the definition of proper action (pp. 287–288), kernel (1) and Thm 2.4 (p. 289) | compared, place confirmed | `Lib/Adelic/QuotientMeasure/Basic` | | |
| 138 | +| Kashiwara, Vergne, On the Segal–Shale–Weil representations and harmonic polynomials | compared, place confirmed | `Lib/Weil/DualPair/HolomorphicData` | | |
| 139 | +| Kashiwara–Vergne 1978 | work found, no place given | `Lib/Weil/CompactLift/DefiniteThetaLift` | | |
| 140 | +| Katz, Divisibilities, congruences, and Cartier duality | work found, no place given | `New/Derivatives/Sharpness/OneCurve` | | |
| 141 | +| Kisin 2006; Bhatt-Morrow-Scholze 2018 | work found, no place given | `Lib/PadicHodge/Kisin/FrameTheorem` | | |
| 142 | +| Kisin, Crystalline representations and F-crystals, Progr. Math. 253 (2006) | compared, place confirmed | `Lib/PadicHodge/RadiusLemma` | | |
| 143 | +| Kisin, Potentially semi-stable deformation rings, JAMS 21 (2008) | compared, place confirmed | `Lib/PadicHodge/RadiusLemma` | | |
| 144 | +| Knightly and Li, Traces of Hecke operators (2006) | work found, no place given | `Lib/Adelic/TraceFormula/TraceComparison` | | |
| 145 | +| Krasula, arXiv 2403.05656 | compared, place confirmed | `Lib/LocalGL/Green/CuspidalFunctions` | | |
| 146 | +| Kubert and Lang, Modular Units | work found, no place given | `Lib/CM/Integrality/IntegralSections`, `Lib/CM/Integrality/TorsionValues` | | |
| 147 | +| Kubert, Lang, Modular Units | work found, no place given | `Lib/CM/GoodReduction` | | |
| 148 | +| Kudla, On the local theta-correspondence | work found, no place given | `Lib/Weil/Unramified/HeckeTransfer` | | |
| 149 | +| Kudla, Rallis, A regularized Siegel–Weil formula: the first term identity, Ann. Math. 140 (1994) | work found, no place given | `New/Determinant/Exchange/ExplicitMatching` | | |
| 150 | +| Kudla, Seesaw dual reductive pairs, Progr. Math. 46 (1984) | work found, no place given | `Lib/Weil/Seesaw`, `New/Determinant/Exchange/OneSquare` | | |
| 151 | +| L. Clozel, M. Harris, R. Taylor, Automorphy for some l-adic lifts ... | compared, place confirmed | `Lib/GaloisRep/TaylorWiles` | | |
| 152 | +| Labesse, Changement de base CM et séries discrètes (2011) | compared, place confirmed | `Lib/Adelic/TraceFormula/TraceComparison` | | |
| 153 | +| Lang, Algebraic Number Theory | work found, no place given | `Lib/ClassField/HeckeL/ContinuationAtOne` | | |
| 154 | +| Laurent, Linear forms in two logarithms and interpolation determinants, 1994 | work found, no place given | `New/Reduction/Lattices/TwistedLattice` | | |
| 155 | +| Leray, Hirsch (names only) | not compared, no place given | `Lib/Cohomology/LerayHirsch` | | |
| 156 | +| Lubin-Tate, Formal complex multiplication in local fields | work found, no place given | `Lib/CM/FormalGroup/FormalParameter` | | |
| 157 | +| M. Eberl, Kummer's congruence | work found, no place given | `Lib/Cyclotomic/Voronoi` | | |
| 158 | +| M. Harris, D. Soudry, R. Taylor, l-adic representations ... I | work found, no place given | `Lib/GaloisRep/Main/ThetaLift` | | |
| 159 | +| M. Jutila, On mean values of Dirichlet polynomials with real characters, Acta Arith. 27 (1975), Theorem 2, p. 193 | compared, place confirmed | `Lib/Analytic/QuadraticTwist` | | |
| 160 | +| Mazur-Tate, no title given | work found, no place given | `New/Congruences/FirstOrder/AuxiliaryPrimeTie`, `New/Congruences/FitTwistsExist` | | |
| 161 | +| Miller and Schmid, On the rapid decay of cuspidal automorphic forms, Adv. Math. 231 (2012) | work found, no place given | `Lib/Adelic/AutomorphicForms/Cuspidality` | | |
| 162 | +| Milne, Arithmetic Duality Theorems | work found, no place given | `Lib/General/Algebra/CartanMap` | | |
| 163 | +| Milne, Class Field Theory | compared, place confirmed | `Lib/ClassField/HeckeL/ContinuationAtOne` | | |
| 164 | +| Milne, Étale Cohomology | compared, place confirmed | `Lib/Cohomology/TorsionTheories` | | |
| 165 | +| Milne, Étale Cohomology | place confirmed at second hand | `Lib/Cohomology/ProjectiveLine/ConstantLineFormula` | | |
| 166 | +| Milne, Étale Cohomology | work found, no place given | `Lib/Cohomology/ProjectiveLine/TiltedLineFormula` | | |
| 167 | +| Montgomery, Vaughan, Multiplicative Number Theory I | compared, place confirmed | `Lib/Analytic/DirichletTheta`, `Lib/Analytic/PolyaVinogradov` | | |
| 168 | +| Montgomery, Vaughan, Multiplicative Number Theory I, 2007 | compared, place confirmed | `Lib/Analytic/PrimeNumberTheorem/LFunctionGrowth`, `Lib/Analytic/PrimeNumberTheorem/ZeroFreeRegion`, `Lib/Analytic/Primes` | | |
| 169 | +| Montgomery–Vaughan, Multiplicative Number Theory I, 2007 | compared, place confirmed | `New/Reduction/Zeros/PrimeNumberTheorem` | | |
| 170 | +| Muić, Smooth cuspidal automorphic forms and integrable discrete series | work found, no place given | `Lib/Adelic/AutomorphicForms/Cuspidality` | | |
| 171 | +| Mumford, On the equations defining abelian varieties II, Invent. Math. 3 (1967) 75–135 | place confirmed at second hand | `Lib/Shimura/IntegralModel/UniversalFamily`, `Lib/Shimura/ThetaModuli/UniversalFamily` | | |
| 172 | +| Mumford, Tata lectures on theta I | work found, no place given | `Lib/Weil/Construction/FourierInversion` | | |
| 173 | +| Mumford, part I, Invent. Math. 1 (1966) | work found, no place given | `Lib/Shimura/IntegralModel/UniversalFamily`, `Lib/Shimura/ThetaModuli/UniversalFamily` | | |
| 174 | +| N. Alon, Combinatorial Nullstellensatz | work found, no place given | `Lib/General/Algebra/MultivariatePolynomials` | | |
| 175 | +| Neukirch, Algebraic Number Theory, 1999 | compared, place confirmed | `Lib/ClassField/Places/LocalFields` | | |
| 176 | +| Neukirch-Schmidt-Wingberg, Cohomology of Number Fields (2nd ed. 2008) | compared, place confirmed | `Lib/ClassField/GaloisCohomology/KummerCyclicClasses` | | |
| 177 | +| O'Meara, Introduction to Quadratic Forms | compared, place confirmed | `Lib/Weil/Periods/PointLattice` | | |
| 178 | +| O. T. O'Meara, Introduction to quadratic forms | place confirmed at second hand | `Lib/Weil/Periods/PointLattice` | | |
| 179 | +| Pritsker, The Gelfond–Schnirelman method in prime number theory, 2005 | work found, no place given | `New/Reduction/MainInequality` | | |
| 180 | +| Pólya 1918 | work found, no place given | `Lib/Analytic/PolyaVinogradov` | | |
| 181 | +| R. Howe, Transcending classical invariant theory | place confirmed at second hand | `Lib/DiscreteSeries/Theta/LocalCorrespondence` | | |
| 182 | +| R. Taylor, A. Wiles, Ring-theoretic properties of certain Hecke algebras | work found, no place given | `New/Congruences/FirstOrder/TrianglePrimes` | | |
| 183 | +| Raghuram, Notes on the arithmetic of Hecke L-functions, arXiv:2207.03399 | compared, place confirmed | `Lib/ClassField/Global/CMSplittingCharacters` | | |
| 184 | +| Rallis, Injectivity properties of liftings associated to Weil representations | work found, no place given | `New/Determinant/Norms/AdjointThetaLift` | | |
| 185 | +| Rallis, Langlands' functoriality and the Weil representation, Amer. J. Math. 104 (1982) 469–515, §6 I, pp. 500–501 (the homomorphism δ and Kernel(σ) for the pair (GL_r, GL_n)) | compared, place confirmed | `Lib/Weil/Unramified/HeckeTransfer` | | |
| 186 | +| Ramachandra (no title given) | work found, no place given | `Lib/CM/GoodReduction`, `Lib/CM/Integrality/TorsionValues` | | |
| 187 | +| Ramachandra, no title given | work found, no place given | `Lib/CM/GoodReduction`, `Lib/CM/Integrality/TorsionValues` | | |
| 188 | +| Robert (no title given) | work found, no place given | `Lib/CM/GoodReduction`, `Lib/CM/Integrality/TorsionValues` | | |
| 189 | +| Robert, no title given | work found, no place given | `Lib/CM/GoodReduction`, `Lib/CM/Integrality/TorsionValues` | | |
| 190 | +| Rubin, Euler Systems, 2000 | compared, place confirmed | `Lib/Cyclotomic/Kolyvagin/ReciprocityComponentBounds` | | |
| 191 | +| S. Ball, O. Serra, Punctured combinatorial Nullstellensätze | work found, no place given | `Lib/General/Algebra/MultivariatePolynomials` | | |
| 192 | +| S. D. Miller and N. Stephens-Davidowitz, Kissing numbers and transference theorems from generalized tail bounds, SIAM J. Discrete Math. 33 (2019) | work found, no place given | `Lib/Adelic/Reduction/FirstMinimumShortBases` | | |
| 193 | +| S. Helgason, Groups and Geometric Analysis | place confirmed at second hand | `Lib/DiscreteSeries/Bruhat/ComplexPlace` | | |
| 194 | +| S. W. Shin, Galois representations arising from some compact Shimura varieties | work found, no place given | `Lib/GaloisRep/Main/AllRanks` | | |
| 195 | +| SGA 4 XII (proper base change) | compared, place confirmed | `Lib/Cohomology/WoodsHole` | | |
| 196 | +| SGA 4 XVI (smooth base change) | place confirmed at second hand | `Lib/Cohomology/WoodsHole` | | |
| 197 | +| SGA 4 XVII | place confirmed at second hand | `Lib/Cohomology/ProjectiveLine/TiltedLineFormula` | | |
| 198 | +| SGA 4½ [Cycle] | compared, place confirmed | `Lib/Cohomology/ProjectiveLine/ConstantLineFormula` | | |
| 199 | +| SGA 4½, Finitude / Dualité | compared, place confirmed | `Lib/PadicComparison/Duality/GoodPairs` | | |
| 200 | +| SGA 5 (LNM 589, 1977), Exp. VII (Jouanolou), Thm 2.2.1 and Cor. 2.2.4, pp. 287–289 (the ℙ¹ case is r = 1) | compared, place confirmed | `Lib/Cohomology/ProjectiveLine/ConstantLineFormula` | | |
| 201 | +| SGA 5 VII (projective bundle formula) | place confirmed at second hand | `Lib/Cohomology/LerayHirsch` | | |
| 202 | +| Satake, Caractérisation de l'espace des Spitzenformen, Sém. Cartan 10, exp. 9 bis | compared, place confirmed | `Lib/Adelic/AutomorphicForms/Cuspidality` | | |
| 203 | +| Scholze, p-adic Hodge theory for rigid-analytic varieties | work found, no place given | `Lib/Cohomology/ProjectiveLine/ConstantLineFormula` | | |
| 204 | +| Serre, Abelian ℓ-adic representations and elliptic curves, 1968 | compared, place confirmed | `Lib/ClassField/Avatar/LocalGlobalCompatibility` | | |
| 205 | +| Serre, Galois Cohomology (1997) | work found, no place given | `Lib/ClassField/GaloisCohomology/KummerCyclicClasses` | | |
| 206 | +| Serre, Local Fields | compared, place confirmed | `Lib/General/NumberTheory/PadicLimitsValuation` | | |
| 207 | +| Serre, Local Fields, 1979 | compared, place confirmed | `Lib/ClassField/Places/LocalFields` | | |
| 208 | +| Shimura, Introduction to the arithmetic theory of automorphic functions (1971) | place confirmed at second hand | `Lib/CM/ChowlaSelberg` | | |
| 209 | +| Shimura, Theta functions with complex multiplication, Duke 43 (1976) 673–696 | work found, no place given | `Lib/Weil/DualPair/GaloisLaw` | | |
| 210 | +| Siegel, Über die analytische Theorie der quadratischen Formen | work found, no place given | `Lib/DiscreteSeries/Bessel/FrameFibre` | | |
| 211 | +| Siegel, Über die analytische Theorie der quadratischen Formen, Ann. of Math. 36 (1935) | work found, no place given | `New/Spanning/Bessel/MeanValue` | | |
| 212 | +| Silverman, Advanced topics in the arithmetic of elliptic curves | place confirmed at second hand | `Lib/CM/FiniteLattices`, `Lib/CM/GoodReduction` | | |
| 213 | +| Silverman, The Arithmetic of Dynamical Systems | place confirmed at second hand | `Lib/CM/Integrality/Doubling` | | |
| 214 | +| Silverman, The Arithmetic of Elliptic Curves | compared, place confirmed | `Lib/CM/Integrality/IsogenyIntegrality`, `Lib/CM/Integrality/LogTheta` | | |
| 215 | +| Snitz, Theta correspondence of automorphic characters, J. Number Theory 122 (2007), arXiv math/0509486v1, Main Theorem (§1.1) | compared, place confirmed | `New/Determinant/Exchange/TheoremForPartners` | | |
| 216 | +| Springer, Sém. Bourbaki 441 (1973/74) | compared, place confirmed | `Lib/LocalGL/Green/CuspidalFunctions` | | |
| 217 | +| Stacks Project, Tag 07ZA | compared, place confirmed | `Lib/General/Algebra/FittingIdealsAndLengths` | | |
| 218 | +| Stacks Project, tag 09EE | compared, place confirmed | `Lib/ClassField/Places/LocalFields` | | |
| 219 | +| Suslin–Voevodsky, Singular homology of abstract algebraic varieties, Invent. Math. 123 (1996) | compared, place confirmed | `Lib/Cohomology/PointClass/LinearIndependence` | | |
| 220 | +| T. Barnet-Lamb, T. Gee, D. Geraghty, R. Taylor, Potential automorphy and change of weight | work found, no place given | `Lib/GaloisRep/Main/AllRanks` | | |
| 221 | +| T. Tamagawa, On the zeta functions of a division algebra, Ann. Math. 77 (1963) 387–405, §1, Lemma 10 and Theorem 2 (pp. 392–393); commutativity stated at the start of §2 (p. 395) | compared, place confirmed | `Lib/General/LinearAlgebra/IntegralLattices` | | |
| 222 | +| Tadić, Classification of unitary representations in irreducible representations of general linear group, Ann. ENS 19 (1986) | work found, no place given | `Lib/LocalGL/SphericalChainLemma` | | |
| 223 | +| Tate, Fourier analysis in number fields and Hecke's zeta-functions, 1950 | compared, place confirmed | `Lib/ClassField/HeckeL/ContinuationAtOne` | | |
| 224 | +| The Stacks project, Section 0BF9 | compared, place confirmed | `Lib/Shimura/AbelianScheme/IsogenyFlatness` | | |
| 225 | +| Titchmarsh, Theory of the Riemann zeta-function | place confirmed at second hand | `Lib/ClassField/HeckeL/ContinuationAtOne` | | |
| 226 | +| Tits, Reductive groups over local fields, PSPM 33 (1979) | compared, place confirmed | `Lib/Weil/Periods/GradedLattice` | | |
| 227 | +| Tits, Reductive groups over local fields, PSPM 33 (1979), part 1 | compared, place confirmed | `Lib/Adelic/Witt/IwasawaDecomposition` | | |
| 228 | +| V. Bargmann, reproducing formula (no title given) | work found, no place given | `Lib/Weil/Fock/Basic` | | |
| 229 | +| V. Platonov, A. Rapinchuk, Algebraic groups and number theory | place confirmed at second hand | `Lib/DiscreteSeries/Bruhat/FloorGroups` | | |
| 230 | +| Vinogradov 1918 | work found, no place given | `Lib/Analytic/PolyaVinogradov` | | |
| 231 | +| W. Banaszczyk, New bounds in some transference theorems in the geometry of numbers, Math. Ann. 296 (1993) | work found, no place given | `Lib/Adelic/Reduction/FirstMinimumShortBases` | | |
| 232 | +| W. T. Gan, B. Gross, D. Prasad, Astérisque 346 (2012) | work found, no place given | `Lib/DiscreteSeries/Bruhat/FloorGroups` | | |
| 233 | +| Wallach, On the constant term of a square integrable automorphic form, 1984 | work found, no place given | `Lib/Adelic/AutomorphicForms/Cuspidality` | | |
| 234 | +| Weil, On a certain type of characters ..., Proc. Int. Symp. Algebraic Number Theory, Tokyo–Nikko 1955 (1956), p. 4 | compared, place confirmed | `Lib/ClassField/HeckeCharacter/AlgebraicValues` | | |
| 235 | +| Weil, On a certain type of characters of the idèle-class group of an algebraic number-field | work found, no place given | `Lib/ClassField/Global/CMSplittingCharacters` | | |
| 236 | +| Weil, Sur certains groupes d'opérateurs unitaires | work found, no place given | `Lib/Weil/Construction/ThetaJets` | | |
| 237 | +| Welch 1974 | not compared, no place given | `New/Spanning/SecondMoment/FewTranslates` | | |
| 238 | +| Wolsey, Greedy algorithm for the submodular set covering problem, 1982 | work found, no place given | `New/Spanning/SecondMoment/FewTranslates` | | |
| 239 | +| arXiv 2601.16141 | work found, no place given | `Lib/Weil/DualPair/GaloisLaw` | | |
| 240 | +| van Frankenhuijsen, The Riemann hypothesis for function fields over a finite field, 2008 | work found, no place given | `New/Reduction/MainInequality` | | |
| 241 | + | |
| 242 | +## Files whose citations were not part of the check | |
| 243 | + | |
| 244 | +A star marks a file that gives places. | |
| 245 | + | |
| 246 | +- `Lib/Adelic/Adeles/Basic`* | |
| 247 | +- `Lib/Adelic/Adeles/StrongApproximation`* | |
| 248 | +- `Lib/Adelic/Landherr`* | |
| 249 | +- `Lib/Adelic/Unitary/CongruenceLevels`* | |
| 250 | +- `Lib/Adelic/Unitary/WeakApproximation`* | |
| 251 | +- `Lib/Analytic/Landau`* | |
| 252 | +- `Lib/CM/FormalGroup/IntegralParameter` | |
| 253 | +- `Lib/CM/Sigma/Basic`* | |
| 254 | +- `Lib/ClassField/Global/AlbertBrauerHasseNoether`* | |
| 255 | +- `Lib/ClassField/Global/Chebotarev` | |
| 256 | +- `Lib/ClassField/GreenbergWiles/CocycleCounts`* | |
| 257 | +- `Lib/ClassField/GreenbergWiles/Relations`* | |
| 258 | +- `Lib/ClassField/Grunwald`* | |
| 259 | +- `Lib/ClassField/Local/ArtinMap` | |
| 260 | +- `Lib/ClassField/LocalDuality/CrystallineDuality`* | |
| 261 | +- `Lib/Cohomology/Etale/FilteredLimits`* | |
| 262 | +- `Lib/Cohomology/Hodge/FixedPointFormula` | |
| 263 | +- `Lib/Cohomology/ProperBaseChange/Theorem`* | |
| 264 | +- `Lib/Cohomology/SmoothBaseChange`* | |
| 265 | +- `Lib/Cyclotomic/Stickelberger`* | |
| 266 | +- `Lib/DiscreteSeries/Character/FormalDegree`* | |
| 267 | +- `Lib/DiscreteSeries/CuspKernel`* | |
| 268 | +- `Lib/DiscreteSeries/FlenstedJensen/PsiKTypes`* | |
| 269 | +- `Lib/DiscreteSeries/Haar/TotalMass`* | |
| 270 | +- `Lib/DiscreteSeries/Holomorphic/PeaksAwayFromCusp`* | |
| 271 | +- `Lib/DiscreteSeries/Rigidity/HighestVectorsAndFiltration`* | |
| 272 | +- `Lib/DiscreteSeries/Theta/CasimirComparison`* | |
| 273 | +- `Lib/GLn/Branching/IntegralMap`* | |
| 274 | +- `Lib/GLn/SchurModule/MinorBasis` | |
| 275 | +- `Lib/GaloisRep/BaseChange/PrimeDegreeTransfer`* | |
| 276 | +- `Lib/GaloisRep/Hilbert90/TameActions`* | |
| 277 | +- `Lib/GaloisRep/KillingPolynomials` | |
| 278 | +- `Lib/GaloisRep/Main/CuspidalTypes`* | |
| 279 | +- `Lib/GaloisRep/Main/OddRank`* | |
| 280 | +- `Lib/GaloisRep/Pseudocharacter/Pseudorepresentations`* | |
| 281 | +- `Lib/General/Analysis/HolomorphicIntegrals` | |
| 282 | +- `Lib/General/LinearAlgebra/Eigenvalues` | |
| 283 | +- `Lib/LocalGL/Green/TauFunctions`* | |
| 284 | +- `Lib/LocalGL/Iwahori/ParahoricStructure`* | |
| 285 | +- `Lib/LocalGL/Iwahori/SphericalExponents`* | |
| 286 | +- `Lib/LocalGL/Shintani/LiftingGreenCharacters`* | |
| 287 | +- `Lib/PadicComparison/Completion` | |
| 288 | +- `Lib/PadicComparison/Crystalline/ComparisonMap`* | |
| 289 | +- `Lib/PadicComparison/Descent/AlmostDescent`* | |
| 290 | +- `Lib/PadicComparison/Descent/TestCovers`* | |
| 291 | +- `Lib/PadicComparison/HodgeTate/PeriodMap`* | |
| 292 | +- `Lib/PadicComparison/Primitive/ComparisonTheorem`* | |
| 293 | +- `Lib/PadicComparison/ToricTower`* | |
| 294 | +- `Lib/PadicHodge/ArtinSchreierSequence` | |
| 295 | +- `Lib/PadicHodge/BlochKato`* | |
| 296 | +- `Lib/PadicHodge/Characters` | |
| 297 | +- `Lib/PadicHodge/Crystalline/Regularity`* | |
| 298 | +- `Lib/PadicHodge/Kisin/Modules`* | |
| 299 | +- `Lib/PadicHodge/Kisin/PeriodMatrixFrame` | |
| 300 | +- `Lib/PadicHodge/Limit/TraceLimit` | |
| 301 | +- `Lib/PadicHodge/PeriodRings/DeRhamPeriods`* | |
| 302 | +- `Lib/PadicHodge/TateSen`* | |
| 303 | +- `Lib/Shimura/ArcExtension` | |
| 304 | +- `Lib/Shimura/ComplexTheta/DimensionFormula` | |
| 305 | +- `Lib/Shimura/CongruenceRelation/EichlerShimura` | |
| 306 | +- `Lib/Shimura/CongruenceRelation/HeckeNeighbours`* | |
| 307 | +- `Lib/Shimura/Deformation/TangentBound`* | |
| 308 | +- `Lib/Shimura/Eigenspace`* | |
| 309 | +- `Lib/Shimura/HeckeTower/Model`* | |
| 310 | +- `Lib/Shimura/IntegralModel/TowerExistence`* | |
| 311 | +- `Lib/Shimura/ThetaNormality/RiemannRelation`* | |
| 312 | +- `Lib/Shimura/TraceFormula/MarkedDefiniteSums`* | |
| 313 | +- `Lib/Shimura/Transfer/WeightOccurs`* | |
| 314 | +- `Lib/Shimura/Uniformisation/AppellHumbert`* | |
| 315 | +- `Lib/SiegelWeil/Formula/StrongApproximation` | |
| 316 | +- `Lib/SiegelWeil/Formula/WeilRange`* | |
| 317 | +- `Lib/SiegelWeil/OneVector/SiegelClassSum`* | |
| 318 | +- `Lib/SiegelWeil/RallisInner/SharpData` | |
| 319 | +- `Lib/SiegelWeil/SingularForms/UnimodularCoefficients`* | |
| 320 | +- `Lib/SiegelWeil/Tower/FunctionalEquation`* | |
| 321 | +- `Lib/SiegelWeil/Tower/LargeSideConstantTerm`* | |
| 322 | +- `Lib/Weil/Construction/WeilOperators` | |
| 323 | +- `Lib/Weil/Lift`* | |
| 324 | +- `Lib/Weil/MixedModel/ThetaInvariance`* | |
| 325 | +- `Lib/Weil/Periods/DescentVanishing`* | |
| 326 | +- `Lib/Weil/Periods/LatticeBounds`* | |
| 327 | +- `Lib/Weil/TameGaussSum`* | |
| 328 | +- `New/Appendix/DiscreteSeries/Periods` | |
| 329 | +- `New/Congruences/FirstOrder/DenominatorBound` | |
| 330 | +- `New/Congruences/FirstOrder/RibetElement` | |
| 331 | +- `New/Congruences/FirstOrder/TraceRelations` | |
| 332 | +- `New/Congruences/GaloisRepresentations/RowsFromEigensystems` | |
| 333 | +- `New/Congruences/Lifting/CupOrthogonalityBounds` | |
| 334 | +- `New/Congruences/Lifting/CutExponentBounds` | |
| 335 | +- `New/Congruences/Lifting/SafeMoves` | |
| 336 | +- `New/Congruences/Selmer/ClassSums` | |
| 337 | +- `New/Congruences/Selmer/Descent` | |
| 338 | +- `New/Congruences/Selmer/RootsOfUnity` | |
| 339 | +- `New/Congruences/Selmer/TwistingTheorem` | |
| 340 | +- `New/Derivatives/Sharpness/BoundAttained` | |
| 341 | +- `New/Derivatives/Vacuum/TightFrames` | |
| 342 | +- `New/Determinant/AuxiliaryForms/DeepLevelVanishing` | |
| 343 | +- `New/OneLift/ComparisonOperator/FirstFactors` | |
| 344 | +- `New/OneLift/ComparisonOperator/GluingMaps` | |
| 345 | +- `New/OneLift/ComparisonOperator/ThreeExchanges`* | |
| 346 | +- `New/OneLift/HeckeValues/TwistedValueHeights` | |
| 347 | +- `New/OneLift/LiftVolumeHeight` | |
| 348 | +- `New/Reduction/Zeros/Criterion`* | |
| 349 | +- `New/Spanning/Bessel/CutTailBound` | |
| 350 | +- `New/Spanning/Bessel/FillingData`* | |
| 351 | +- `New/Spanning/MainTerm/EnergyEstimate` | |
| 352 | +- `New/Spanning/MainTerm/GlobalSieve` | |
| 353 | +- `New/Spanning/Multiplicities/EqualMultiplicities` | |
| 354 | +- `New/Spanning/RemainingTerms/Sum` | |
| 355 | +- `New/Spanning/SecondMoment/SpanningTheorem` | |
| 356 | +- `New/Spanning/Unfolding/BesselFormula` | |
| 357 | +- `New/Spanning/Unfolding/Climbing` | |
| 358 | +- `New/Spanning/Unfolding/Moments` | |
| 359 | +- `New/UpperBound/Divisibility/LocalDivisibility` | |
| 360 | +- `New/UpperBound/Divisibility/MarkOperator` | |
| 361 | +- `New/UpperBound/Divisibility/ValuationAtLevel` | |
| 362 | +- `New/UpperBound/ElementaryDivisors/DefectCount` | |
| 363 | +- `New/UpperBound/ElementaryDivisors/RootLemma`* | |
| 364 | +- `New/UpperBound/Objects/Columns` | |
| 365 | +- `New/UpperBound/Seesaw/GluedLevel` | |
+18 −0 comparator.json added View file
| @@ -0,0 +1,18 @@ | ||
| 1 | +{ | |
| 2 | + "challenge_module": "Challenge", | |
| 3 | + "solution_module": "Main", | |
| 4 | + "theorem_names": [ | |
| 5 | + "riemannHypothesis", | |
| 6 | + "riemannZeta_eq_zero_re", | |
| 7 | + "LFunction_ne_zero_of_half_lt_re", | |
| 8 | + "LFunction_eq_zero_re", | |
| 9 | + "LFunction_eq_zero_re_of_isPrimitive" | |
| 10 | + ], | |
| 11 | + "definition_names": [], | |
| 12 | + "permitted_axioms": [ | |
| 13 | + "propext", | |
| 14 | + "Quot.sound", | |
| 15 | + "Classical.choice" | |
| 16 | + ], | |
| 17 | + "enable_nanoda": true | |
| 18 | +} | |
+129 −0 lake-manifest.json added View file
| @@ -0,0 +1,129 @@ | ||
| 1 | +{ | |
| 2 | + "version": "1.3.0", | |
| 3 | + "packagesDir": ".lake/packages", | |
| 4 | + "packages": [ | |
| 5 | + { | |
| 6 | + "url": "https://github.com/TauCetiProject/TauCeti", | |
| 7 | + "type": "git", | |
| 8 | + "subDir": null, | |
| 9 | + "scope": "", | |
| 10 | + "rev": "2a9233e5be32675476ae438bef6f6dd4ba93eb64", | |
| 11 | + "name": "TauCeti", | |
| 12 | + "manifestFile": "lake-manifest.json", | |
| 13 | + "inputRev": "2a9233e5be32675476ae438bef6f6dd4ba93eb64", | |
| 14 | + "inherited": false, | |
| 15 | + "configFile": "lakefile.toml" | |
| 16 | + }, | |
| 17 | + { | |
| 18 | + "url": "https://github.com/leanprover-community/mathlib4", | |
| 19 | + "type": "git", | |
| 20 | + "subDir": null, | |
| 21 | + "scope": "", | |
| 22 | + "rev": "31ce06eaadf4a200c0e1407c5f10953cf606b8f8", | |
| 23 | + "name": "mathlib", | |
| 24 | + "manifestFile": "lake-manifest.json", | |
| 25 | + "inputRev": "31ce06eaadf4a200c0e1407c5f10953cf606b8f8", | |
| 26 | + "inherited": false, | |
| 27 | + "configFile": "lakefile.lean" | |
| 28 | + }, | |
| 29 | + { | |
| 30 | + "url": "https://github.com/leanprover-community/plausible", | |
| 31 | + "type": "git", | |
| 32 | + "subDir": null, | |
| 33 | + "scope": "leanprover-community", | |
| 34 | + "rev": "0d8633efc105d6b15b59a8103614ae0291ee8827", | |
| 35 | + "name": "plausible", | |
| 36 | + "manifestFile": "lake-manifest.json", | |
| 37 | + "inputRev": "main", | |
| 38 | + "inherited": true, | |
| 39 | + "configFile": "lakefile.toml" | |
| 40 | + }, | |
| 41 | + { | |
| 42 | + "url": "https://github.com/leanprover-community/LeanSearchClient", | |
| 43 | + "type": "git", | |
| 44 | + "subDir": null, | |
| 45 | + "scope": "leanprover-community", | |
| 46 | + "rev": "146200e1ecbf7397e361475b5c0905adc5fe0670", | |
| 47 | + "name": "LeanSearchClient", | |
| 48 | + "manifestFile": "lake-manifest.json", | |
| 49 | + "inputRev": "main", | |
| 50 | + "inherited": true, | |
| 51 | + "configFile": "lakefile.toml" | |
| 52 | + }, | |
| 53 | + { | |
| 54 | + "url": "https://github.com/leanprover-community/import-graph", | |
| 55 | + "type": "git", | |
| 56 | + "subDir": null, | |
| 57 | + "scope": "leanprover-community", | |
| 58 | + "rev": "cf947504529b8e2ee114e852133d13e4ac923e9b", | |
| 59 | + "name": "importGraph", | |
| 60 | + "manifestFile": "lake-manifest.json", | |
| 61 | + "inputRev": "main", | |
| 62 | + "inherited": true, | |
| 63 | + "configFile": "lakefile.toml" | |
| 64 | + }, | |
| 65 | + { | |
| 66 | + "url": "https://github.com/leanprover-community/ProofWidgets4", | |
| 67 | + "type": "git", | |
| 68 | + "subDir": null, | |
| 69 | + "scope": "leanprover-community", | |
| 70 | + "rev": "197b8bdfd8bbfea6dff6ac04170a710b231c3aaa", | |
| 71 | + "name": "proofwidgets", | |
| 72 | + "manifestFile": "lake-manifest.json", | |
| 73 | + "inputRev": "main", | |
| 74 | + "inherited": true, | |
| 75 | + "configFile": "lakefile.lean" | |
| 76 | + }, | |
| 77 | + { | |
| 78 | + "url": "https://github.com/leanprover-community/aesop", | |
| 79 | + "type": "git", | |
| 80 | + "subDir": null, | |
| 81 | + "scope": "leanprover-community", | |
| 82 | + "rev": "637fdbb8689a3387a82568b07355231f892144d7", | |
| 83 | + "name": "aesop", | |
| 84 | + "manifestFile": "lake-manifest.json", | |
| 85 | + "inputRev": "master", | |
| 86 | + "inherited": true, | |
| 87 | + "configFile": "lakefile.toml" | |
| 88 | + }, | |
| 89 | + { | |
| 90 | + "url": "https://github.com/leanprover-community/quote4", | |
| 91 | + "type": "git", | |
| 92 | + "subDir": null, | |
| 93 | + "scope": "leanprover-community", | |
| 94 | + "rev": "ad0c9f87cfe7b41b93446472004724a1646a22f4", | |
| 95 | + "name": "Qq", | |
| 96 | + "manifestFile": "lake-manifest.json", | |
| 97 | + "inputRev": "master", | |
| 98 | + "inherited": true, | |
| 99 | + "configFile": "lakefile.toml" | |
| 100 | + }, | |
| 101 | + { | |
| 102 | + "url": "https://github.com/leanprover-community/batteries", | |
| 103 | + "type": "git", | |
| 104 | + "subDir": null, | |
| 105 | + "scope": "leanprover-community", | |
| 106 | + "rev": "87486d547af639cb39c01f0d2f8025aa47d7dde1", | |
| 107 | + "name": "batteries", | |
| 108 | + "manifestFile": "lake-manifest.json", | |
| 109 | + "inputRev": "main", | |
| 110 | + "inherited": true, | |
| 111 | + "configFile": "lakefile.toml" | |
| 112 | + }, | |
| 113 | + { | |
| 114 | + "url": "https://github.com/leanprover/lean4-cli", | |
| 115 | + "type": "git", | |
| 116 | + "subDir": null, | |
| 117 | + "scope": "leanprover", | |
| 118 | + "rev": "c830de39b67d5d447d854a4e390fff9bb0a9c897", | |
| 119 | + "name": "Cli", | |
| 120 | + "manifestFile": "lake-manifest.json", | |
| 121 | + "inputRev": "v4.37.0-rc1", | |
| 122 | + "inherited": true, | |
| 123 | + "configFile": "lakefile.toml" | |
| 124 | + } | |
| 125 | + ], | |
| 126 | + "name": "GRH", | |
| 127 | + "lakeDir": ".lake", | |
| 128 | + "fixedToolchain": false | |
| 129 | +} | |
+72 −0 lakefile.toml added View file
| @@ -0,0 +1,72 @@ | ||
| 1 | +# Added for the shared build cache (see ../CACHE.md). The rest of this file, up to the | |
| 2 | +# next such comment, is unchanged from grh-lean commit 72fead1. | |
| 3 | +platformIndependent = true | |
| 4 | + | |
| 5 | +name = "GRH" | |
| 6 | +srcDir = "src" | |
| 7 | +defaultTargets = ["Lib", "New", "Main"] | |
| 8 | +moreLeanArgs = ["--tstack=400000"] | |
| 9 | + | |
| 10 | +[leanOptions] | |
| 11 | +autoImplicit = false | |
| 12 | +relaxedAutoImplicit = false | |
| 13 | +maxSynthPendingDepth = 3 | |
| 14 | +pp.unicode.fun = true | |
| 15 | +maxHeartbeats = 4000000 | |
| 16 | + | |
| 17 | +[[require]] | |
| 18 | +name = "mathlib" | |
| 19 | +git = "https://github.com/leanprover-community/mathlib4" | |
| 20 | +rev = "31ce06eaadf4a200c0e1407c5f10953cf606b8f8" | |
| 21 | + | |
| 22 | +# Added for Tau Ceti (see CACHE.md): https://github.com/TauCetiProject/TauCeti at a commit of its | |
| 23 | +# main branch (2a9233e5, 27 Nov 2026) whose cache Tau Ceti has published, on the same Lean and | |
| 24 | +# Mathlib as its tag v4.37.0-rc1. Its cached oleans are only usable if it was built against the | |
| 25 | +# Mathlib commit above, so the two pins move together; `lake exe cache get` checks this | |
| 26 | +# (scripts/tauceti-cache-get.py). | |
| 27 | +[[require]] | |
| 28 | +name = "TauCeti" | |
| 29 | +git = "https://github.com/TauCetiProject/TauCeti" | |
| 30 | +rev = "2a9233e5be32675476ae438bef6f6dd4ba93eb64" | |
| 31 | + | |
| 32 | +# The rest of this file, up to the next "Added" comment, is unchanged from grh-lean commit 72fead1. | |
| 33 | + | |
| 34 | +[[lean_lib]] | |
| 35 | +name = "Lib" | |
| 36 | +globs = ["Lib.+"] | |
| 37 | + | |
| 38 | +[[lean_lib]] | |
| 39 | +name = "New" | |
| 40 | +globs = ["New.+"] | |
| 41 | + | |
| 42 | +[[lean_lib]] | |
| 43 | +name = "Main" | |
| 44 | +roots = ["Statements", "Main"] | |
| 45 | + | |
| 46 | +[[lean_lib]] | |
| 47 | +name = "Challenge" | |
| 48 | +srcDir = ".." | |
| 49 | + | |
| 50 | +# Added for the shared build cache. It is not part of the original project. | |
| 51 | +[[lean_exe]] | |
| 52 | +name = "cache" | |
| 53 | +root = "scripts.Cache" | |
| 54 | +srcDir = ".." | |
| 55 | + | |
| 56 | +# Stock Lake also reads this file as its cache-service configuration (LAKE_CONFIG). | |
| 57 | +[cache] | |
| 58 | +defaultService = "grh-lean" | |
| 59 | + | |
| 60 | +[[cache.service]] | |
| 61 | +name = "grh-lean" | |
| 62 | +kind = "s3" | |
| 63 | +artifactEndpoint = "https://rh-cache.taucetiproject.org/artifacts" | |
| 64 | +revisionEndpoint = "https://rh-cache.taucetiproject.org/grh-lean/revisions" | |
| 65 | + | |
| 66 | +# Added for Tau Ceti: its public, anonymous artifact cache. `lake exe cache get` fetches from it | |
| 67 | +# the oleans of the Tau Ceti modules imported under src (scripts/tauceti-cache-get.py). | |
| 68 | +[[cache.service]] | |
| 69 | +name = "tauceti-public" | |
| 70 | +kind = "s3" | |
| 71 | +artifactEndpoint = "https://cache.taucetiproject.org/artifacts" | |
| 72 | +revisionEndpoint = "https://cache.taucetiproject.org/revisions" | |
+1 −0 lean-toolchain added View file
| @@ -0,0 +1 @@ | ||
| 1 | +leanprover/lean4:v4.37.0-rc1 | |
+9 −0 scripts/Cache.lean added View file
| @@ -0,0 +1,9 @@ | ||
| 1 | +import Init.System.IO | |
| 2 | + | |
| 3 | +/-- Fetch Mathlib and the project's published artifacts using stock tools. -/ | |
| 4 | +def main (args : List String) : IO UInt32 := do | |
| 5 | + let child ← IO.Process.spawn { | |
| 6 | + cmd := "bash" | |
| 7 | + args := #["scripts/lake-cache-get.sh"] ++ args.toArray | |
| 8 | + } | |
| 9 | + child.wait | |
+7 −0 scripts/PrintAxioms.lean added View file
| @@ -0,0 +1,7 @@ | ||
| 1 | +import Main | |
| 2 | + | |
| 3 | +#print axioms riemannHypothesis | |
| 4 | +#print axioms riemannZeta_eq_zero_re | |
| 5 | +#print axioms LFunction_ne_zero_of_half_lt_re | |
| 6 | +#print axioms LFunction_eq_zero_re | |
| 7 | +#print axioms LFunction_eq_zero_re_of_isPrimitive | |
+8 −0 scripts/cache-baseline.json added View file
| @@ -0,0 +1,8 @@ | ||
| 1 | +{ | |
| 2 | + "source_tree": "55fe9c6cb2e5be421c5871e772b6d736ecb5d164", | |
| 3 | + "build_roots": {}, | |
| 4 | + "lakefile_sha256": "4c3deb95a62f6eb0a8b04d391ed843253c8a960c9279b251a8bde1c37bdb0a88", | |
| 5 | + "manifest_sha256": "1390a02c1729c30db51ee0b19ea7199a129ed899ac571a48956da719573590ae", | |
| 6 | + "toolchain": "leanprover/lean4:v4.35.0", | |
| 7 | + "input_fingerprint": "5b89a4c4b4a5caadaccd2929549d50a168e72e35e599710bdd3bdf3e76150b26" | |
| 8 | +} | |
+585 −0 scripts/ci-cache-get.py added View file
| @@ -0,0 +1,585 @@ | ||
| 1 | +#!/usr/bin/env python3 | |
| 2 | +"""Restore the published build cache for the current clean build inputs of this project. | |
| 3 | + | |
| 4 | +Adapted from scripts/ci-cache-get.py of leanprover-community/riemann-hypothesis (main). The | |
| 5 | +differences are: records, maps, module manifests and artifacts are read from a namespace of | |
| 6 | +their own (grh-lean/grh/ and artifacts/<repo>-grh-lean/grh/), shared with the grh/ project of | |
| 7 | +branch grh-lean-cache and separate from the keys of the earlier main branch; the project may be | |
| 8 | +a subdirectory of its Git repository; and records are looked up by input fingerprint only. | |
| 9 | + | |
| 10 | +With --baseline <ref>, a miss falls back to a baseline: the record of the | |
| 11 | +nearest first-parent ancestor of <ref> that has one, else the record pinned in | |
| 12 | +scripts/cache-baseline.json. Candidates are looked up by their own input fingerprint, computed | |
| 13 | +from Git objects with the same code, and must have the current toolchain and lake-manifest.json | |
| 14 | +(otherwise no module would be reused). The baseline's map and module manifest are checked | |
| 15 | +exactly as for an exact match, but against the baseline's inputs. Its modules are unpacked, and | |
| 16 | +`lake build` then compiles the modules whose inputs differ (Lake compares each module's trace | |
| 17 | +with its current inputs) and keeps the rest. Exit 4 means a baseline was restored. | |
| 18 | + | |
| 19 | +The record's immutable map and module manifest are checked against its SHA-256 values and | |
| 20 | +against each other. Then, at the same time, the map is registered with `lake cache add` in | |
| 21 | +parallel shards and the missing artifacts are downloaded by one 500-way curl process, each | |
| 22 | +checked against the manifest's SHA-256 before it enters the cache (fetch-artifacts.py). Then one | |
| 23 | +stock leantar process unpacks every module (after path checks), and `lake build --no-build` | |
| 24 | +confirms that nothing would have to be compiled. | |
| 25 | + | |
| 26 | +The cache does not verify any proof: it only holds what a build produced for these inputs. | |
| 27 | + | |
| 28 | +Exit 3 means no record for these inputs was found. Other failures must not silently fall back: | |
| 29 | +a matching record with corrupt bytes is an error. | |
| 30 | +""" | |
| 31 | +import argparse | |
| 32 | +import gzip | |
| 33 | +import hashlib | |
| 34 | +import http.client | |
| 35 | +import importlib.util | |
| 36 | +import io | |
| 37 | +import json | |
| 38 | +import os | |
| 39 | +from pathlib import Path | |
| 40 | +import re | |
| 41 | +import subprocess | |
| 42 | +import sys | |
| 43 | +import tempfile | |
| 44 | +import time | |
| 45 | +import tomllib | |
| 46 | +import urllib.error | |
| 47 | +import urllib.request | |
| 48 | + | |
| 49 | +PUBLIC_BASE = "https://rh-cache.taucetiproject.org" | |
| 50 | +PROJECT = "grh" | |
| 51 | +REPOSITORY = "leanprover-community/riemann-hypothesis" | |
| 52 | +SCOPE = f"{REPOSITORY}-grh-lean/{PROJECT}" # artifacts/<SCOPE>/<hash>.art | |
| 53 | +PREFIX = f"grh-lean/{PROJECT}" # records, maps and module manifests | |
| 54 | +FIELDS = ("source_tree", "build_roots", "lakefile_sha256", "manifest_sha256", "toolchain") | |
| 55 | +SHA40 = re.compile(r"[0-9a-f]{40}\Z") | |
| 56 | +SHA256 = re.compile(r"[0-9a-f]{64}\Z") | |
| 57 | +HASH = re.compile(r"[0-9a-f]{16}\Z") | |
| 58 | +ARTIFACT = re.compile(r"[0-9a-f]{16}\.ltar\Z") | |
| 59 | +MODULE = re.compile(r"[\w']+(?:\.[\w']+)*\Z") # Unicode names occur in the tree. | |
| 60 | +SCHEMA = "2026-03-17" | |
| 61 | +USER_AGENT = "RiemannHypothesisCache/1.0" | |
| 62 | +SHARDS = 16 | |
| 63 | +MAX_JSON = 64 * 1024 * 1024 | |
| 64 | +MAX_RECEIPT = 2 * 1024 * 1024 | |
| 65 | +MAX_MODULES = 500000 | |
| 66 | + | |
| 67 | +FETCH_ARTIFACTS = Path(__file__).resolve().with_name("fetch-artifacts.py") | |
| 68 | + | |
| 69 | +def digest(value): | |
| 70 | + return hashlib.sha256(value).hexdigest() | |
| 71 | + | |
| 72 | + | |
| 73 | +def canonical(value): | |
| 74 | + return json.dumps(value, sort_keys=True, separators=(",", ":"), ensure_ascii=True).encode() | |
| 75 | + | |
| 76 | + | |
| 77 | +def fingerprint(identity): | |
| 78 | + return digest(canonical({key: identity[key] for key in FIELDS})) | |
| 79 | + | |
| 80 | + | |
| 81 | +def _pairs(pairs): | |
| 82 | + value = {} | |
| 83 | + for key, item in pairs: | |
| 84 | + if key in value: | |
| 85 | + raise ValueError(f"duplicate JSON field: {key}") | |
| 86 | + value[key] = item | |
| 87 | + return value | |
| 88 | + | |
| 89 | + | |
| 90 | +def decode(value): | |
| 91 | + return json.loads(value, object_pairs_hook=_pairs) | |
| 92 | + | |
| 93 | + | |
| 94 | +def local_path(root, relative, checked): | |
| 95 | + """Reject unsafe parts and symlinks in a path below root, including existing leaves. | |
| 96 | + | |
| 97 | + Populate the ancestor-closed ``checked`` set only through this helper. | |
| 98 | + """ | |
| 99 | + if any(part in ("", ".", "..") or "/" in part or "\\" in part | |
| 100 | + for part in relative.parts): | |
| 101 | + raise ValueError("unsafe module path") | |
| 102 | + path = root / relative | |
| 103 | + pending = [] | |
| 104 | + current = path | |
| 105 | + while current != root and current not in checked: | |
| 106 | + pending.append(current) | |
| 107 | + current = current.parent | |
| 108 | + for current in reversed(pending): | |
| 109 | + if current.is_symlink(): | |
| 110 | + raise ValueError(f"symlink in source/output path: {current}") | |
| 111 | + checked.add(current) | |
| 112 | + return path | |
| 113 | + | |
| 114 | + | |
| 115 | +def git(root, *args, quiet=False): | |
| 116 | + return subprocess.check_output(["git", "-C", str(root), *args], text=True, | |
| 117 | + stderr=subprocess.DEVNULL if quiet else None).strip() | |
| 118 | + | |
| 119 | + | |
| 120 | +def current_identity(root): | |
| 121 | + """Bind actual files and the clean Git src tree, without the initial archive's pins.""" | |
| 122 | + checked = set() | |
| 123 | + files = {} | |
| 124 | + for name in ("lakefile.toml", "lake-manifest.json", "lean-toolchain"): | |
| 125 | + path = local_path(root, Path(name), checked) | |
| 126 | + if not path.is_file() or path.stat().st_size > MAX_JSON: | |
| 127 | + raise ValueError(f"expected a bounded regular input: {name}") | |
| 128 | + files[name] = path.read_bytes() | |
| 129 | + local_path(root, Path("src"), checked) | |
| 130 | + subprocess.run(["git", "-C", str(root), "diff", "--no-ext-diff", "--no-textconv", "--quiet", | |
| 131 | + "HEAD", "--", "src", *files], check=True) | |
| 132 | + if git(root, "ls-files", "--others", "--", "src"): | |
| 133 | + raise ValueError("untracked source files differ from HEAD") | |
| 134 | + config = tomllib.loads(files["lakefile.toml"].decode()) | |
| 135 | + if (config.get("srcDir", ".") != "src" or config.get("extern_lib") | |
| 136 | + or any(key in config for key in ("buildDir", "leanLibDir", "irDir", "packagesDir", "manifestFile")) | |
| 137 | + or any(lib.get("srcDir", ".") != "." for lib in config.get("lean_lib", []) if lib.get("name") != "Challenge")): | |
| 138 | + raise ValueError("public CI restoration currently supports the attested src/default build layout") | |
| 139 | + identity = { | |
| 140 | + "source_tree": git(root, "rev-parse", "HEAD:./src"), "build_roots": {}, | |
| 141 | + "lakefile_sha256": digest(files["lakefile.toml"]), | |
| 142 | + "manifest_sha256": digest(files["lake-manifest.json"]), | |
| 143 | + "toolchain": files["lean-toolchain"].decode().strip(), | |
| 144 | + } | |
| 145 | + if not SHA40.fullmatch(identity["source_tree"]): | |
| 146 | + raise ValueError("invalid current src Git tree") | |
| 147 | + return identity | |
| 148 | + | |
| 149 | + | |
| 150 | +def fetch(key, maximum=MAX_JSON): | |
| 151 | + """GET a public key; None on 404. Retries CDN 5xx and transport errors.""" | |
| 152 | + request = urllib.request.Request( | |
| 153 | + PUBLIC_BASE + "/" + key, | |
| 154 | + headers={"User-Agent": USER_AGENT, "Cache-Control": "no-cache"}) | |
| 155 | + for attempt in range(6): | |
| 156 | + try: | |
| 157 | + with urllib.request.urlopen(request, timeout=60) as response: | |
| 158 | + if response.status != 200: | |
| 159 | + raise ValueError(f"unexpected cache HTTP status: {response.status}") | |
| 160 | + data = response.read(maximum + 1) | |
| 161 | + break | |
| 162 | + except urllib.error.HTTPError as error: | |
| 163 | + if error.code == 404: | |
| 164 | + return None | |
| 165 | + if error.code < 500 or attempt == 5: | |
| 166 | + raise | |
| 167 | + except (urllib.error.URLError, TimeoutError, ConnectionError, http.client.HTTPException) as error: | |
| 168 | + if attempt == 5: | |
| 169 | + raise ValueError(f"could not fetch {key}: {error}") from error | |
| 170 | + time.sleep(2 ** attempt) | |
| 171 | + if len(data) > maximum: | |
| 172 | + raise ValueError(f"public metadata exceeds size limit: {key}") | |
| 173 | + return data | |
| 174 | + | |
| 175 | + | |
| 176 | +def matching_record(data, identity): | |
| 177 | + record = decode(data) | |
| 178 | + if (not isinstance(record, dict) or type(record.get("schema")) is not int or record["schema"] != 1 | |
| 179 | + or record.get("repository") != REPOSITORY or record.get("project") != PROJECT): | |
| 180 | + raise ValueError("unexpected public CI receipt scope/schema") | |
| 181 | + code = record.get("build_exit_code") | |
| 182 | + if type(code) is not int or not 0 <= code <= 255: | |
| 183 | + raise ValueError("invalid CI build exit code") | |
| 184 | + if code != 0 or any(record.get(key) != identity[key] for key in FIELDS): | |
| 185 | + return None | |
| 186 | + if record.get("input_fingerprint") != fingerprint(identity): | |
| 187 | + raise ValueError("successful CI receipt input fingerprint mismatch") | |
| 188 | + for key in ("candidate_head", "candidate_tree"): | |
| 189 | + if not isinstance(record.get(key), str) or not SHA40.fullmatch(record[key]): | |
| 190 | + raise ValueError(f"invalid CI receipt {key}") | |
| 191 | + for field, prefix, suffix in (("map", PREFIX + "/maps/", ".jsonl"), | |
| 192 | + ("module_manifest", PREFIX + "/module-manifests/", ".jsonl.gz")): | |
| 193 | + value = record.get(field + "_sha256") | |
| 194 | + if (not isinstance(value, str) or not SHA256.fullmatch(value) | |
| 195 | + or record.get(field + "_key") != prefix + value + suffix): | |
| 196 | + raise ValueError(f"invalid immutable CI {field} identity") | |
| 197 | + size = record.get("module_manifest_bytes") | |
| 198 | + if type(size) is not int or not 0 < size <= MAX_JSON: | |
| 199 | + raise ValueError("invalid CI module manifest size") | |
| 200 | + nested = record.get("receipt") | |
| 201 | + if nested is not None: | |
| 202 | + if not isinstance(nested, dict) or any(nested.get(key) != record[key] | |
| 203 | + for key in (*FIELDS, "candidate_head", "candidate_tree", "input_fingerprint", "build_exit_code")): | |
| 204 | + raise ValueError("nested CI receipt differs from its public identity") | |
| 205 | + return record | |
| 206 | + | |
| 207 | + | |
| 208 | +def find_record(identity, fetcher=fetch): | |
| 209 | + data = fetcher(f"{PREFIX}/inputs/{fingerprint(identity)}.json", MAX_RECEIPT) | |
| 210 | + return None if data is None else matching_record(data, identity) | |
| 211 | + | |
| 212 | + | |
| 213 | +def blob_sha256(root, revision, name, memo): | |
| 214 | + """SHA-256 and bytes of a file at a revision, memoised by blob id.""" | |
| 215 | + oid = git(root, "rev-parse", "--verify", "--quiet", f"{revision}:{name}", quiet=True) | |
| 216 | + if oid not in memo: | |
| 217 | + if git(root, "cat-file", "-t", oid) != "blob" or int(git(root, "cat-file", "-s", oid)) > MAX_JSON: | |
| 218 | + raise ValueError(f"expected a bounded file: {name} at {revision}") | |
| 219 | + data = subprocess.check_output(["git", "-C", str(root), "cat-file", "blob", oid]) | |
| 220 | + memo[oid] = (digest(data), data) | |
| 221 | + return memo[oid] | |
| 222 | + | |
| 223 | + | |
| 224 | +def identity_at(root, revision, memo): | |
| 225 | + """The build inputs of a commit, from Git objects, in the form of current_identity.""" | |
| 226 | + tree = git(root, "rev-parse", "--verify", "--quiet", f"{revision}:src", quiet=True) | |
| 227 | + if not SHA40.fullmatch(tree): | |
| 228 | + raise ValueError(f"invalid src Git tree at {revision}") | |
| 229 | + return { | |
| 230 | + "source_tree": tree, "build_roots": {}, | |
| 231 | + "lakefile_sha256": blob_sha256(root, revision, "lakefile.toml", memo)[0], | |
| 232 | + "manifest_sha256": blob_sha256(root, revision, "lake-manifest.json", memo)[0], | |
| 233 | + "toolchain": blob_sha256(root, revision, "lean-toolchain", memo)[1].decode().strip(), | |
| 234 | + } | |
| 235 | + | |
| 236 | + | |
| 237 | +BASELINE_FILE = Path(__file__).resolve().with_name("cache-baseline.json") | |
| 238 | + | |
| 239 | + | |
| 240 | +def pinned_identity(path=BASELINE_FILE): | |
| 241 | + """The identity pinned in scripts/cache-baseline.json, checked against its fingerprint.""" | |
| 242 | + pinned = decode(path.read_bytes()) | |
| 243 | + if not isinstance(pinned, dict) or set(pinned) != {*FIELDS, "input_fingerprint"}: | |
| 244 | + raise ValueError(f"unexpected fields in {path.name}") | |
| 245 | + identity = {key: pinned[key] for key in FIELDS} | |
| 246 | + if (not SHA40.fullmatch(str(identity["source_tree"])) or identity["build_roots"] != {} | |
| 247 | + or not all(SHA256.fullmatch(str(identity[key])) for key in ("lakefile_sha256", "manifest_sha256")) | |
| 248 | + or not isinstance(identity["toolchain"], str) | |
| 249 | + or pinned["input_fingerprint"] != fingerprint(identity)): | |
| 250 | + raise ValueError(f"{path.name} is malformed or its input_fingerprint does not match its fields") | |
| 251 | + return identity | |
| 252 | + | |
| 253 | + | |
| 254 | +def baseline_candidates(root, identity, ref, depth): | |
| 255 | + """Identities to try as a baseline, nearest first, each with a description. | |
| 256 | + | |
| 257 | + The first-parent ancestors of ref (as many as are fetched, at most depth), then the pinned | |
| 258 | + identity. Only identities with the current toolchain and lake-manifest.json are useful.""" | |
| 259 | + memo, seen = {}, {fingerprint(identity)} | |
| 260 | + listed = subprocess.run(["git", "-C", str(root), "rev-list", "--first-parent", f"--max-count={depth}", | |
| 261 | + ref, "--"], capture_output=True, text=True) | |
| 262 | + if listed.returncode: | |
| 263 | + print(f"Cannot list the history of {ref}: {listed.stderr.strip()}", flush=True) | |
| 264 | + revisions = listed.stdout.split() if listed.returncode == 0 else [] | |
| 265 | + candidates = ((revision, lambda revision=revision: identity_at(root, revision, memo)) for revision in revisions) | |
| 266 | + for label, compute in (*candidates, (BASELINE_FILE.name, lambda: pinned_identity(BASELINE_FILE))): | |
| 267 | + try: | |
| 268 | + candidate = compute() | |
| 269 | + except subprocess.CalledProcessError: | |
| 270 | + continue # A commit without this project layout (src, lakefile.toml, ...). | |
| 271 | + key = fingerprint(candidate) | |
| 272 | + if (key not in seen and candidate["toolchain"] == identity["toolchain"] | |
| 273 | + and candidate["manifest_sha256"] == identity["manifest_sha256"]): | |
| 274 | + seen.add(key) | |
| 275 | + yield label, candidate | |
| 276 | + | |
| 277 | + | |
| 278 | +def find_baseline(root, identity, ref, depth, fetcher=fetch): | |
| 279 | + tried = 0 | |
| 280 | + for label, candidate in baseline_candidates(root, identity, ref, depth): | |
| 281 | + tried += 1 | |
| 282 | + record = find_record(candidate, fetcher) | |
| 283 | + if record is not None: | |
| 284 | + print(f"Baseline: the record for {label} (input fingerprint {record['input_fingerprint']})," | |
| 285 | + f" found after looking up {tried} distinct build inputs.", flush=True) | |
| 286 | + return record, candidate | |
| 287 | + print(f"No baseline: none of {tried} candidate build inputs with this toolchain and" | |
| 288 | + " lake-manifest.json has a record.", flush=True) | |
| 289 | + return None, None | |
| 290 | + | |
| 291 | + | |
| 292 | +def validated_blobs(record, identity, fetcher=fetch): | |
| 293 | + contents = fetcher(record["map_key"], MAX_JSON) | |
| 294 | + manifest = fetcher(record["module_manifest_key"], MAX_JSON) | |
| 295 | + if contents is None or digest(contents) != record["map_sha256"]: | |
| 296 | + raise ValueError("successful CI receipt's immutable map is missing or corrupt") | |
| 297 | + if (manifest is None or digest(manifest) != record["module_manifest_sha256"] | |
| 298 | + or len(manifest) != record["module_manifest_bytes"]): | |
| 299 | + raise ValueError("successful CI receipt's immutable module manifest is missing or corrupt") | |
| 300 | + lines = contents.splitlines() | |
| 301 | + if not lines or decode(lines[0]) != SCHEMA or not 0 < len(lines) - 1 <= MAX_MODULES: | |
| 302 | + raise ValueError("unsupported or empty CI Lake map") | |
| 303 | + entries = {} | |
| 304 | + for line in lines[1:]: | |
| 305 | + row = decode(line) | |
| 306 | + if (not isinstance(row, list) or len(row) != 2 or not all(isinstance(x, str) for x in row) | |
| 307 | + or not HASH.fullmatch(row[0]) or not ARTIFACT.fullmatch(row[1]) or row[0] in entries): | |
| 308 | + raise ValueError("invalid or duplicate CI map entry") | |
| 309 | + entries[row[0]] = row[1] | |
| 310 | + with gzip.GzipFile(fileobj=io.BytesIO(manifest)) as stream: | |
| 311 | + plain = stream.read(MAX_JSON + 1) | |
| 312 | + if len(plain) > MAX_JSON: | |
| 313 | + raise ValueError("CI module manifest exceeds decompressed size limit") | |
| 314 | + rows = plain.splitlines() | |
| 315 | + header = decode(rows[0]) if rows else None | |
| 316 | + if (not isinstance(header, dict) or type(header.get("schema")) is not int or header["schema"] != 1 | |
| 317 | + or any(header.get(key) != identity[key] for key in FIELDS) | |
| 318 | + or header.get("input_fingerprint") != fingerprint(identity) | |
| 319 | + or header.get("map_sha256") != record["map_sha256"] | |
| 320 | + or type(header.get("modules")) is not int or header["modules"] != len(entries)): | |
| 321 | + raise ValueError("CI module manifest is not bound to the current inputs and immutable map") | |
| 322 | + shas = {} | |
| 323 | + names = set() | |
| 324 | + modules = [] | |
| 325 | + for line in rows[1:]: | |
| 326 | + row = decode(line) | |
| 327 | + if not isinstance(row, list) or len(row) != 4 or not all(isinstance(x, str) for x in row): | |
| 328 | + raise ValueError("invalid CI module record") | |
| 329 | + name, input_hash, artifact, sha256 = row | |
| 330 | + if (not MODULE.fullmatch(name) or name in names or not SHA256.fullmatch(sha256) | |
| 331 | + or entries.pop(input_hash, None) != artifact or shas.setdefault(artifact, sha256) != sha256): | |
| 332 | + raise ValueError("CI module manifest does not uniquely cover its immutable map") | |
| 333 | + names.add(name) | |
| 334 | + modules.append((name, input_hash, artifact)) | |
| 335 | + if entries: | |
| 336 | + raise ValueError("CI module manifest does not completely cover its immutable map") | |
| 337 | + return contents, shas, modules | |
| 338 | + | |
| 339 | + | |
| 340 | +def published(artifact): | |
| 341 | + """True/False if the public cache does/doesn't have the artifact; None if that is unclear.""" | |
| 342 | + request = urllib.request.Request(f"{PUBLIC_BASE}/artifacts/{SCOPE}/{artifact[:-5]}.art", method="HEAD", | |
| 343 | + headers={"User-Agent": USER_AGENT}) | |
| 344 | + try: | |
| 345 | + with urllib.request.urlopen(request, timeout=30): | |
| 346 | + return True | |
| 347 | + except urllib.error.HTTPError as error: | |
| 348 | + return False if error.code == 404 else None | |
| 349 | + except (urllib.error.URLError, TimeoutError, ConnectionError, http.client.HTTPException, ValueError): | |
| 350 | + return None | |
| 351 | + | |
| 352 | + | |
| 353 | +def registered(cache, entries): | |
| 354 | + """Map entries already registered in this cache with the same artifact | |
| 355 | + (outputs/<scope>/<hash>.json naming it). Others are (re)written by `lake cache add`.""" | |
| 356 | + wanted = dict(entries) | |
| 357 | + have = set() | |
| 358 | + for directory, _, files in os.walk(cache / "outputs"): | |
| 359 | + for name in files: | |
| 360 | + input_hash = name[:-5] | |
| 361 | + if name.endswith(".json") and input_hash in wanted and input_hash not in have: | |
| 362 | + try: | |
| 363 | + text = (Path(directory) / name).read_text() | |
| 364 | + except (OSError, UnicodeDecodeError): | |
| 365 | + continue | |
| 366 | + if wanted[input_hash][:-5] in text: | |
| 367 | + have.add(input_hash) | |
| 368 | + return have | |
| 369 | + | |
| 370 | + | |
| 371 | +def write_map(path, items): | |
| 372 | + path.write_text(json.dumps(SCHEMA) + "\n" + "".join(json.dumps(item) + "\n" for item in items)) | |
| 373 | + | |
| 374 | + | |
| 375 | +def register(root, env, service, temporary, items, shards=SHARDS): | |
| 376 | + """`lake cache add` in parallel shards. Lake writes one file per mapping, so shards cannot | |
| 377 | + conflict; a small first shard runs alone so that one process creates the outputs directory.""" | |
| 378 | + command = ["lake", "-q", "cache", "add", "--scope", SCOPE] | |
| 379 | + if service: | |
| 380 | + command += ["--service", service] | |
| 381 | + first, rest = items[:100], items[100:] | |
| 382 | + shards = max(1, min(shards, len(rest) // 2000 or 1)) | |
| 383 | + write_map(temporary / "add-0.jsonl", first) | |
| 384 | + subprocess.run([*command, str(temporary / "add-0.jsonl")], cwd=root, env=env, check=True) | |
| 385 | + processes = [] | |
| 386 | + for index in range(shards): | |
| 387 | + part = rest[index::shards] | |
| 388 | + if part: | |
| 389 | + path = temporary / f"add-{index + 1}.jsonl" | |
| 390 | + write_map(path, part) | |
| 391 | + processes.append(subprocess.Popen([*command, str(path)], cwd=root, env=env)) | |
| 392 | + codes = [process.wait() for process in processes] | |
| 393 | + if any(codes): | |
| 394 | + raise subprocess.CalledProcessError(max(codes), command) | |
| 395 | + | |
| 396 | + | |
| 397 | +def unpack_jobs(root, cache, modules, baseline=False): | |
| 398 | + """leantar jobs for every module, refusing unsafe or symlinked source/output paths. | |
| 399 | + | |
| 400 | + For a baseline, modules without a source now (removed since) are skipped.""" | |
| 401 | + jobs, checked = [], set() | |
| 402 | + for name, input_hash, artifact in modules: | |
| 403 | + module = Path(*name.split(".")) | |
| 404 | + if not local_path(root, Path("src") / module.with_suffix(".lean"), checked).is_file(): | |
| 405 | + if baseline: | |
| 406 | + continue | |
| 407 | + raise ValueError(f"missing source for {name}") | |
| 408 | + archive = cache / "artifacts" / artifact | |
| 409 | + if archive.is_symlink() or not archive.is_file(): | |
| 410 | + raise ValueError(f"missing cached archive: {archive}") | |
| 411 | + bases = [] | |
| 412 | + for directory, suffixes in (("lib/lean", (".trace", ".olean", ".ilean")), ("ir", (".c",))): | |
| 413 | + relative = Path(".lake/build") / directory / module | |
| 414 | + for suffix in suffixes: | |
| 415 | + local_path(root, relative.with_suffix(suffix), checked) | |
| 416 | + bases.append(str(root / relative.parent)) | |
| 417 | + jobs.append({"file": str(archive), "hash": input_hash, "base": bases}) | |
| 418 | + return jobs | |
| 419 | + | |
| 420 | + | |
| 421 | +def clear_output_hashes(root, modules): | |
| 422 | + """Remove Lake's saved hashes of the outputs that leantar is about to replace. | |
| 423 | + | |
| 424 | + Lake reads ``X.hash`` instead of hashing ``X`` unless given ``--rehash``, and | |
| 425 | + leantar replaces ``X`` only. This is the list in Lake's ``Module.clearOutputHashes``. | |
| 426 | + Call it after ``unpack_jobs`` has checked the paths. | |
| 427 | + """ | |
| 428 | + stems_by_directory = {} | |
| 429 | + for name, *_ in modules: | |
| 430 | + *parents, stem = name.split(".") | |
| 431 | + stems_by_directory.setdefault(tuple(parents), set()).add(stem) | |
| 432 | + for directory, suffixes in (("lib/lean", ("olean", "olean.server", "olean.private", "ilean", "ir.sig", "ir")), | |
| 433 | + ("ir", ("c", "bc", "ltar"))): | |
| 434 | + base = root / ".lake/build" / directory | |
| 435 | + hash_suffixes = {suffix + ".hash" for suffix in suffixes} | |
| 436 | + for parents, stems in stems_by_directory.items(): | |
| 437 | + try: | |
| 438 | + entries = os.scandir(base.joinpath(*parents)) | |
| 439 | + except FileNotFoundError: | |
| 440 | + continue | |
| 441 | + with entries: | |
| 442 | + for entry in entries: | |
| 443 | + stem, _, suffix = entry.name.partition(".") | |
| 444 | + if suffix in hash_suffixes and stem in stems: | |
| 445 | + try: | |
| 446 | + os.unlink(entry.path) | |
| 447 | + except FileNotFoundError: | |
| 448 | + pass | |
| 449 | + | |
| 450 | + | |
| 451 | +def download_failure(code, report): | |
| 452 | + """Why fetch-artifacts.py failed, from its --report, and whether rerunning can help.""" | |
| 453 | + if not isinstance(report, dict): | |
| 454 | + return f"the downloader exited {code} without a report (see its output above)" | |
| 455 | + errors = [group for group in report.get("curl_errors") or [] | |
| 456 | + if isinstance(group, list) and len(group) == 2 and type(group[0]) is int and isinstance(group[1], str)] | |
| 457 | + curl, mismatches = report.get("curl_exit"), report.get("sha256_mismatches") | |
| 458 | + parts = [] | |
| 459 | + if curl: | |
| 460 | + shown = "; ".join(line for _, line in errors[:3]) | |
| 461 | + parts.append(f"curl exited {curl}" + (f": {shown}" if shown else "")) | |
| 462 | + if mismatches: | |
| 463 | + parts.append(f"{mismatches} of the downloads did not match the manifest's SHA-256") | |
| 464 | + reason = ", and ".join(parts) or f"the downloader exited {code}" | |
| 465 | + if any(line.endswith(": is unknown") for _, line in errors): | |
| 466 | + advice = "this curl is too old: lake exe cache get needs curl 7.71 or newer" | |
| 467 | + elif curl == 23: | |
| 468 | + advice = "writing the files failed: check free disk space and that .lake/cache is writable" | |
| 469 | + elif mismatches: | |
| 470 | + advice = "please report it: the public copies may be bad" | |
| 471 | + else: | |
| 472 | + advice = "if this was a network problem, rerun lake exe cache get" | |
| 473 | + return f"{reason}. {advice[0].upper()}{advice[1:]}" | |
| 474 | + | |
| 475 | + | |
| 476 | +def consume(root, cache, record, identity, workers=24, fetcher=fetch, baseline=None): | |
| 477 | + """Restore record, built for identity, or for the baseline identity if one is given.""" | |
| 478 | + contents, shas, modules = validated_blobs(record, baseline or identity, fetcher) | |
| 479 | + if current_identity(root) != identity: | |
| 480 | + raise ValueError("project inputs changed during cache lookup") | |
| 481 | + local_path(root, Path(".lake"), set()).mkdir(exist_ok=True) | |
| 482 | + (cache / "artifacts").mkdir(parents=True, exist_ok=True) | |
| 483 | + env = os.environ.copy() | |
| 484 | + for key in list(env): | |
| 485 | + if (key.startswith(("AWS_", "CLOUDFLARE_", "CF_")) | |
| 486 | + or key in ("LAKE_CACHE_KEY", "LAKE_CACHE_ARTIFACT_ENDPOINT", "LAKE_CACHE_REVISION_ENDPOINT", | |
| 487 | + "LAKE_CACHE_SERVICE", "GH_TOKEN", "GITHUB_TOKEN", "HF_TOKEN", | |
| 488 | + # A writable artifact cache would copy every unpacked file into it. | |
| 489 | + "LAKE_ARTIFACT_CACHE")): | |
| 490 | + env.pop(key) | |
| 491 | + env.update(LAKE_CONFIG=str(root / "lakefile.toml"), LAKE_CACHE_DIR=str(cache), | |
| 492 | + LAKE_RESTORE_ARTIFACTS="true", ELAN_TOOLCHAIN=identity["toolchain"]) | |
| 493 | + env["RUST_MIN_STACK"] = str(max(int(env.get("RUST_MIN_STACK", "0")), 8388608)) | |
| 494 | + service = tomllib.loads((root / "lakefile.toml").read_text()).get("cache", {}).get("defaultService") | |
| 495 | + entries = [decode(line) for line in contents.splitlines()[1:]] | |
| 496 | + have = registered(cache, entries) | |
| 497 | + fresh = [entry for entry in entries if entry[0] not in have] | |
| 498 | + print(f"Fetching {PROJECT} build cache {record['candidate_head']} for " | |
| 499 | + f"{'baseline' if baseline else 'current'} build inputs: " | |
| 500 | + f"{len(entries)} modules, {len(fresh)} not yet registered...", flush=True) | |
| 501 | + with tempfile.TemporaryDirectory(prefix="ci-cache-", dir=root / ".lake") as temporary: | |
| 502 | + temporary = Path(temporary) | |
| 503 | + (temporary / "outputs.jsonl").write_bytes(contents) | |
| 504 | + (temporary / "sha256.json").write_text(json.dumps(shas)) | |
| 505 | + downloads = subprocess.Popen( | |
| 506 | + [sys.executable, "-I", str(FETCH_ARTIFACTS), str(temporary / "outputs.jsonl"), str(cache), | |
| 507 | + "--sha256", str(temporary / "sha256.json"), "--verify-existing", | |
| 508 | + "--base-url", f"{PUBLIC_BASE}/artifacts/{SCOPE}/", "--user-agent", USER_AGENT, | |
| 509 | + "--report", str(temporary / "downloads.json")]) | |
| 510 | + try: | |
| 511 | + if fresh: | |
| 512 | + register(root, env, service, temporary, fresh) | |
| 513 | + finally: | |
| 514 | + code = downloads.wait() | |
| 515 | + try: | |
| 516 | + report = json.loads((temporary / "downloads.json").read_text()) | |
| 517 | + except (OSError, ValueError): | |
| 518 | + report = None | |
| 519 | + if code: | |
| 520 | + missing = sorted({artifact for _, artifact in entries if not (cache / "artifacts" / artifact).is_file()}) | |
| 521 | + absent = [artifact for artifact in missing[:20] if published(artifact) is False] | |
| 522 | + shown = ", ".join(missing[:20]) + (f" and {len(missing) - 20} more" if len(missing) > 20 else "") | |
| 523 | + if absent: | |
| 524 | + raise ValueError(f"{len(missing)} artifacts of the selected cache record are not in the public cache" | |
| 525 | + f" (HTTP 404: {', '.join(absent)}); rerunning will not help, please report it." | |
| 526 | + f" Missing or unverified: {shown}") | |
| 527 | + raise ValueError(f"{len(missing)} cached artifacts could not be downloaded and verified ({shown});" | |
| 528 | + f" {download_failure(code, report)}") | |
| 529 | + if current_identity(root) != identity: | |
| 530 | + raise ValueError("project inputs changed before restoration") | |
| 531 | + jobs = unpack_jobs(root, cache, modules, baseline is not None) | |
| 532 | + for directory in dict.fromkeys(base for job in jobs for base in job["base"]): | |
| 533 | + Path(directory).mkdir(parents=True, exist_ok=True) | |
| 534 | + clear_output_hashes(root, modules) | |
| 535 | + lean = Path(subprocess.check_output(["elan", "which", "lean"], cwd=root, env=env, text=True).strip()) | |
| 536 | + print(f"Unpacking {len(jobs)} modules with stock leantar ({workers} workers)...", flush=True) | |
| 537 | + subprocess.run([str(lean.with_name("leantar")), "--jobs", str(workers), "-f", "-x", "-j", "-"], | |
| 538 | + input=json.dumps(jobs), text=True, cwd=root, env=env, check=True) | |
| 539 | + if baseline: | |
| 540 | + print(f"Restored {len(jobs)} of {len(modules)} baseline modules; lake build compiles those whose" | |
| 541 | + " inputs changed since the baseline, and the modules that import them.", flush=True) | |
| 542 | + return | |
| 543 | + print("Checking with lake build --no-build...", flush=True) | |
| 544 | + result = subprocess.run(["lake", "-q", "--log-level=error", "build", "--no-build"], cwd=root, env=env) | |
| 545 | + if result.returncode: | |
| 546 | + raise ValueError(f"lake build --no-build exited {result.returncode} after restoring the cache" | |
| 547 | + " (exit 3: some modules would need compiling)") | |
| 548 | + | |
| 549 | + | |
| 550 | +def main(): | |
| 551 | + parser = argparse.ArgumentParser(description=__doc__) | |
| 552 | + parser.add_argument("--project", type=Path, default=Path.cwd()) | |
| 553 | + parser.add_argument("--cache-dir", type=Path) | |
| 554 | + parser.add_argument("--jobs", type=int, default=24) | |
| 555 | + parser.add_argument("--baseline", metavar="REF", | |
| 556 | + help="on a miss, restore the nearest record on REF's first-parent history (exit 4)") | |
| 557 | + parser.add_argument("--baseline-depth", type=int, default=200, help="commits of REF to try (default 200)") | |
| 558 | + parser.add_argument("--print-identity", action="store_true", | |
| 559 | + help="print the current build inputs in the form of scripts/cache-baseline.json, and stop") | |
| 560 | + args = parser.parse_args() | |
| 561 | + if args.jobs < 1 or not 1 <= args.baseline_depth <= 1000: | |
| 562 | + parser.error("jobs must be positive; baseline depth must be 1..1000") | |
| 563 | + root = args.project.resolve() | |
| 564 | + identity = current_identity(root) | |
| 565 | + if args.print_identity: | |
| 566 | + print(json.dumps({**identity, "input_fingerprint": fingerprint(identity)}, indent=2)) | |
| 567 | + return 0 | |
| 568 | + record, baseline = find_record(identity), None | |
| 569 | + if record is None: | |
| 570 | + print("No equivalent successful cache found for the current build inputs.", flush=True) | |
| 571 | + if args.baseline is None: | |
| 572 | + return 3 | |
| 573 | + record, baseline = find_baseline(root, identity, args.baseline, args.baseline_depth) | |
| 574 | + if record is None: | |
| 575 | + return 3 | |
| 576 | + cache = (args.cache_dir or Path(os.environ.get("LAKE_CACHE_DIR", str(root / ".lake/cache")))).resolve() | |
| 577 | + consume(root, cache, record, identity, args.jobs, baseline=baseline) | |
| 578 | + return 0 if baseline is None else 4 | |
| 579 | + | |
| 580 | + | |
| 581 | +if __name__ == "__main__": | |
| 582 | + try: | |
| 583 | + sys.exit(main()) | |
| 584 | + except (ValueError, OSError, EOFError, subprocess.CalledProcessError) as error: | |
| 585 | + sys.exit(f"CI cache restore stopped: {error}") | |
+136 −0 scripts/fetch-artifacts.py added View file
| @@ -0,0 +1,136 @@ | ||
| 1 | +#!/usr/bin/env python3 | |
| 2 | +"""Download every artifact named in a Lake map that is missing from a local Lake cache. | |
| 3 | + | |
| 4 | +Copied from scripts/rh-buildq/fetch-artifacts.py of leanprover-community/riemann-hypothesis | |
| 5 | +(main); only the default URL differs. | |
| 6 | + | |
| 7 | +usage: fetch-artifacts.py <map.jsonl> <cache-dir> [--sha256 <file> [--verify-existing]] | |
| 8 | + [--base-url <url>] [--user-agent <agent>] [--report <file>] | |
| 9 | +Stock Lake 4.37 does not download artifacts lazily during `lake build`: a mapped module whose | |
| 10 | +artifact is absent locally is simply compiled. So restores must prefetch. One curl process | |
| 11 | +downloads up to 500 files at a time (fd soft limit raised to match) and retries transport | |
| 12 | +errors and CDN 5xx. Files land in <cache-dir>/artifacts/<hash16>.ltar atomically, so a file | |
| 13 | +there is always complete. Objects are content-addressed and write-once (If-None-Match) in R2. | |
| 14 | +--sha256 names a JSON object {"<hash16>.ltar": "<sha256>"} (e.g. from a CI module manifest): | |
| 15 | +those downloads are verified before they are moved into the cache, and a mismatch is discarded | |
| 16 | +and downloaded again. With --verify-existing, artifacts already in the cache are checked too | |
| 17 | +(a symlink or mismatch is removed and downloaded again). Up to three passes; exit 1 if anything | |
| 18 | +is still missing. curl's error lines (one per failed attempt, retries included) are grouped by | |
| 19 | +error code and printed once per pass. --report writes the last pass's curl exit code, those | |
| 20 | +groups and its SHA-256 failure count as JSON. scripts/ci-cache-get.py (`lake exe cache get`) | |
| 21 | +uses this with its own --user-agent and puts the report in its final error. | |
| 22 | +""" | |
| 23 | +import hashlib, json, os, re, resource, subprocess, sys, tempfile | |
| 24 | +from concurrent.futures import ThreadPoolExecutor | |
| 25 | +from pathlib import Path | |
| 26 | + | |
| 27 | +PUBLIC = "https://rh-cache.taucetiproject.org/artifacts/leanprover-community/riemann-hypothesis-grh-lean/grh/" | |
| 28 | +PARALLEL = 500 | |
| 29 | +CURL_ERROR = re.compile(r"curl: \((\d+)\)") | |
| 30 | + | |
| 31 | + | |
| 32 | +def curl_errors(stderr): | |
| 33 | + """[[count, first line], ...] for curl's error output, most frequent first. | |
| 34 | + | |
| 35 | + Lines with an error code also name a file or byte counts, so they are grouped by the code; | |
| 36 | + other lines (an unknown option, for example) are grouped as they are.""" | |
| 37 | + groups = {} | |
| 38 | + for line in stderr.splitlines(): | |
| 39 | + line = line.strip() | |
| 40 | + if not line or line.startswith("curl: try "): | |
| 41 | + continue | |
| 42 | + match = CURL_ERROR.match(line) | |
| 43 | + key = match.group(1) if match else line | |
| 44 | + groups.setdefault(key, [0, line[:300]])[0] += 1 | |
| 45 | + return sorted(groups.values(), key=lambda group: -group[0]) | |
| 46 | + | |
| 47 | + | |
| 48 | +def sha256(path): | |
| 49 | + with open(path, "rb") as f: | |
| 50 | + return hashlib.file_digest(f, "sha256").hexdigest() | |
| 51 | + | |
| 52 | + | |
| 53 | +def option(args, name, default=None): | |
| 54 | + if name not in args: | |
| 55 | + return default | |
| 56 | + i = args.index(name) | |
| 57 | + value = args[i + 1] | |
| 58 | + del args[i:i + 2] | |
| 59 | + return value | |
| 60 | + | |
| 61 | + | |
| 62 | +def main(): | |
| 63 | + args = sys.argv[1:] | |
| 64 | + digests = option(args, "--sha256") | |
| 65 | + digests = json.loads(Path(digests).read_text()) if digests else {} | |
| 66 | + base = option(args, "--base-url", PUBLIC) | |
| 67 | + agent = option(args, "--user-agent", "rh-buildq/1") | |
| 68 | + report = option(args, "--report") | |
| 69 | + verify_existing = "--verify-existing" in args | |
| 70 | + if verify_existing: | |
| 71 | + args.remove("--verify-existing") | |
| 72 | + mapping, cache = Path(args[0]), Path(args[1]) / "artifacts" | |
| 73 | + cache.mkdir(parents=True, exist_ok=True) | |
| 74 | + soft, hard = resource.getrlimit(resource.RLIMIT_NOFILE) | |
| 75 | + want = 65536 if hard == resource.RLIM_INFINITY else min(hard, 65536) | |
| 76 | + if soft != resource.RLIM_INFINITY and soft < want: | |
| 77 | + resource.setrlimit(resource.RLIMIT_NOFILE, (want, hard)) | |
| 78 | + lines = mapping.read_text().splitlines()[1:] | |
| 79 | + names = sorted({json.loads(l)[1] for l in lines if l}) | |
| 80 | + | |
| 81 | + def present(n): | |
| 82 | + p = cache / n | |
| 83 | + if not verify_existing: | |
| 84 | + return p.exists() | |
| 85 | + if p.is_symlink() or (p.exists() and n in digests and sha256(p) != digests[n]): | |
| 86 | + print(f"fetch-artifacts: discarding corrupt local {n}", flush=True) | |
| 87 | + p.unlink() | |
| 88 | + return False | |
| 89 | + return p.is_file() | |
| 90 | + | |
| 91 | + with ThreadPoolExecutor(32) as pool: | |
| 92 | + missing = [n for n, ok in zip(names, pool.map(present, names)) if not ok] | |
| 93 | + print(f"fetch-artifacts: {len(names)} mapped, {len(missing)} missing locally", flush=True) | |
| 94 | + code, errors, corrupt = 0, [], [] | |
| 95 | + for attempt in range(1, 4): | |
| 96 | + if not missing: | |
| 97 | + break | |
| 98 | + with tempfile.TemporaryDirectory(prefix="fetch-", dir=cache.parent) as t: | |
| 99 | + conf = Path(t) / "curl.conf" | |
| 100 | + conf.write_text("".join(f'url = "{base}{n[:-5]}.art"\noutput = "{t}/{n}"\n' for n in missing)) | |
| 101 | + r = subprocess.run(["curl", "--disable", "--fail", "--silent", "--show-error", "--location", | |
| 102 | + "--user-agent", agent, "--retry", "5", "--retry-all-errors", | |
| 103 | + "--connect-timeout", "30", "--max-time", "600", | |
| 104 | + "--parallel", "--parallel-max", str(PARALLEL), "--config", str(conf)], | |
| 105 | + stderr=subprocess.PIPE, text=True, errors="replace") | |
| 106 | + code, errors = r.returncode, curl_errors(r.stderr) | |
| 107 | + | |
| 108 | + def settle(n): | |
| 109 | + p = Path(t) / n | |
| 110 | + if not (p.is_file() and p.stat().st_size): | |
| 111 | + return "missing" | |
| 112 | + if n in digests and sha256(p) != digests[n]: | |
| 113 | + p.unlink() | |
| 114 | + return "corrupt" | |
| 115 | + os.chmod(p, 0o444) | |
| 116 | + os.replace(p, cache / n) | |
| 117 | + return "ok" | |
| 118 | + | |
| 119 | + with ThreadPoolExecutor(32) as pool: | |
| 120 | + results = list(pool.map(settle, missing)) | |
| 121 | + corrupt = [n for n, s in zip(missing, results) if s == "corrupt"] | |
| 122 | + missing = [n for n, s in zip(missing, results) if s != "ok"] | |
| 123 | + print(f"fetch-artifacts: pass {attempt}: downloaded {len(results) - len(missing)}/{len(results)}" | |
| 124 | + f" (curl exit {code}; {len(corrupt)} failed SHA-256 verification)", flush=True) | |
| 125 | + for count, line in errors[:5]: | |
| 126 | + print(f"fetch-artifacts: {line}" + (f" (reported {count} times)" if count > 1 else ""), flush=True) | |
| 127 | + for n in corrupt[:10]: | |
| 128 | + print(f"fetch-artifacts: SHA-256 mismatch for {n}", flush=True) | |
| 129 | + if report: | |
| 130 | + Path(report).write_text(json.dumps({"curl_exit": code, "curl_errors": errors, | |
| 131 | + "sha256_mismatches": len(corrupt)})) | |
| 132 | + sys.exit(1 if missing else 0) | |
| 133 | + | |
| 134 | + | |
| 135 | +if __name__ == "__main__": | |
| 136 | + main() | |
+54 −0 scripts/lake-cache-get.sh added View file
| @@ -0,0 +1,54 @@ | ||
| 1 | +#!/usr/bin/env bash | |
| 2 | +# Copied from scripts/lake-cache-get.sh of leanprover-community/riemann-hypothesis (main). | |
| 3 | +set -euo pipefail | |
| 4 | + | |
| 5 | +if [[ "$#" != 1 || "$1" != get ]]; then | |
| 6 | + echo 'Usage: lake exe cache get' >&2 | |
| 7 | + exit 2 | |
| 8 | +fi | |
| 9 | + | |
| 10 | +RH_CACHE_ROOT="$(CDPATH= cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)" | |
| 11 | +cd "$RH_CACHE_ROOT" | |
| 12 | + | |
| 13 | +# scripts/ci-cache-get.py needs Python 3.11 for tomllib. Say so before downloading anything. | |
| 14 | +if ! python3 -c 'import sys; sys.exit(sys.version_info < (3, 11))'; then | |
| 15 | + RH_CACHE_PYTHON="$(command -v python3 >/dev/null && python3 --version 2>&1 || echo none)" | |
| 16 | + echo "lake exe cache get needs Python 3.11 or newer as python3; found: $RH_CACHE_PYTHON" >&2 | |
| 17 | + exit 1 | |
| 18 | +fi | |
| 19 | + | |
| 20 | +# Mathlib's parallel unpacker and our 500 parallel downloads exceed the usual 1024-file soft limit. | |
| 21 | +# Best effort: macOS may refuse values above kern.maxfilesperproc even when the hard limit is unlimited. | |
| 22 | +RH_CACHE_FD_HARD="$(ulimit -Hn)" | |
| 23 | +RH_CACHE_FD_WANT=65536 | |
| 24 | +if [[ "$RH_CACHE_FD_HARD" != unlimited && "$RH_CACHE_FD_HARD" -lt "$RH_CACHE_FD_WANT" ]]; then | |
| 25 | + RH_CACHE_FD_WANT="$RH_CACHE_FD_HARD" | |
| 26 | +fi | |
| 27 | +if ! ulimit -Sn "$RH_CACHE_FD_WANT" 2>/dev/null; then | |
| 28 | + RH_CACHE_FD_MAX="$(sysctl -n kern.maxfilesperproc 2>/dev/null || true)" | |
| 29 | + if ! { [[ -n "$RH_CACHE_FD_MAX" ]] && ulimit -Sn "$RH_CACHE_FD_MAX" 2>/dev/null; }; then | |
| 30 | + echo "warning: could not raise the open-file limit above $(ulimit -Sn); downloads may fail" >&2 | |
| 31 | + fi | |
| 32 | +fi | |
| 33 | + | |
| 34 | +# Qualify Mathlib's executable because this package also supplies a cache target. | |
| 35 | +printf 'Fetching Mathlib cache...\n' | |
| 36 | +MATHLIB_CACHE_GET_URL="${MATHLIB_CACHE_GET_URL:-https://cache.mathlib.org/mathlib4}" \ | |
| 37 | + lake exe mathlib/cache get | |
| 38 | + | |
| 39 | +# Cache URLs live in lakefile.toml; users need no separate configuration file. | |
| 40 | +export LAKE_CACHE_DIR="$RH_CACHE_ROOT/.lake/cache" | |
| 41 | + | |
| 42 | +# Tau Ceti's oleans come from Tau Ceti's own public cache (service tauceti-public in lakefile.toml). | |
| 43 | +# tauceti-cache-get.py first checks that Tau Ceti and this project pin the same Mathlib commit. | |
| 44 | +printf 'Fetching Tau Ceti cache...\n' | |
| 45 | +python3 scripts/tauceti-cache-get.py | |
| 46 | + | |
| 47 | +# ci-cache-get.py registers the map, downloads and checks the artifacts (500 parallel transfers), | |
| 48 | +# unpacks them with one leantar process, then checks with `lake build --no-build`. | |
| 49 | +RH_CI_CACHE_STATUS=0 | |
| 50 | +python3 scripts/ci-cache-get.py || RH_CI_CACHE_STATUS=$? | |
| 51 | +if [[ "$RH_CI_CACHE_STATUS" == 3 ]]; then | |
| 52 | + echo 'No validated cache matches these build inputs; use lake build.' >&2 | |
| 53 | +fi | |
| 54 | +exit "$RH_CI_CACHE_STATUS" | |
+141 −0 scripts/tauceti-cache-get.py added View file
| @@ -0,0 +1,141 @@ | ||
| 1 | +#!/usr/bin/env python3 | |
| 2 | +"""Fetch the oleans of the Tau Ceti modules that this project imports. | |
| 3 | + | |
| 4 | +Tau Ceti (https://github.com/TauCetiProject/TauCeti) publishes its build outputs in its own | |
| 5 | +public Lake artifact cache, the service `tauceti-public` of `lakefile.toml`. Neither Mathlib's | |
| 6 | +cache tool nor this project's cache covers it. This script, run by `lake exe cache get` after | |
| 7 | +Mathlib's cache and before the project's, does four things: | |
| 8 | + | |
| 9 | +0. checks that `src/Statements.lean`, `src/Main.lean` and `Challenge.lean` import no Tau Ceti | |
| 10 | + module, so that the five statements keep depending on Mathlib alone; | |
| 11 | +1. checks that the Tau Ceti revision pinned in `lake-manifest.json` was built against the Mathlib | |
| 12 | + commit pinned there, since otherwise none of Tau Ceti's cached oleans match and Lake would | |
| 13 | + compile every imported Tau Ceti module from source; | |
| 14 | +2. downloads Tau Ceti's input-to-output mappings for the pinned revision | |
| 15 | + (`lake cache get --mappings-only`; about 135 MB the first time); | |
| 16 | +3. runs `lake build` on the Tau Ceti modules that `src` needs: those imported anywhere under | |
| 17 | + `src`, together with every Tau Ceti module they import in turn, publicly or not. Lake restores | |
| 18 | + a cached module without the modules it imports only privately, but a later | |
| 19 | + `lake build --no-build` checks those too, so they are fetched explicitly. This downloads and | |
| 20 | + unpacks exactly the oleans needed, without compiling. | |
| 21 | + | |
| 22 | +It only reads from Tau Ceti's cache; it never uploads. It verifies nothing about proofs. | |
| 23 | +""" | |
| 24 | +import json | |
| 25 | +import os | |
| 26 | +from pathlib import Path | |
| 27 | +import re | |
| 28 | +import subprocess | |
| 29 | +import sys | |
| 30 | + | |
| 31 | +ROOT = Path(__file__).resolve().parent.parent | |
| 32 | +# An import line may end in a comment, such as `-- shake: keep`. | |
| 33 | +IMPORT = re.compile(r"^\s*(?:(?:public|private|meta)\s+)*import\s+(?:all\s+)?(TauCeti(?:\.[\w']+)+)\s*(?:--.*)?$") | |
| 34 | + | |
| 35 | + | |
| 36 | +def say(message): | |
| 37 | + print(f"[Tau Ceti cache] {message}", flush=True) | |
| 38 | + | |
| 39 | + | |
| 40 | +def package(manifest, name): | |
| 41 | + for entry in manifest["packages"]: | |
| 42 | + if entry["name"] == name: | |
| 43 | + return entry | |
| 44 | + raise ValueError(f"{name} is not in {manifest.get('name', 'the')} manifest") | |
| 45 | + | |
| 46 | + | |
| 47 | +def check_mathlib_pin(): | |
| 48 | + ours = json.loads((ROOT / "lake-manifest.json").read_text()) | |
| 49 | + tauceti = package(ours, "TauCeti") | |
| 50 | + theirs_path = ROOT / ".lake" / "packages" / "TauCeti" / "lake-manifest.json" | |
| 51 | + if not theirs_path.is_file(): | |
| 52 | + raise ValueError(f"{theirs_path} is missing; run `lake update TauCeti` or `lake build` first") | |
| 53 | + theirs = json.loads(theirs_path.read_text()) | |
| 54 | + ours_mathlib, theirs_mathlib = package(ours, "mathlib")["rev"], package(theirs, "mathlib")["rev"] | |
| 55 | + if ours_mathlib != theirs_mathlib: | |
| 56 | + raise ValueError( | |
| 57 | + f"Tau Ceti {tauceti['inputRev']} ({tauceti['rev'][:12]}) was built against Mathlib " | |
| 58 | + f"{theirs_mathlib[:12]}, but this project pins Mathlib {ours_mathlib[:12]}. Its cached " | |
| 59 | + "oleans cannot be used; move the two pins together (see CACHE.md).") | |
| 60 | + say(f"Tau Ceti {tauceti['inputRev']} ({tauceti['rev'][:12]}) uses this project's Mathlib " | |
| 61 | + f"{ours_mathlib[:12]}") | |
| 62 | + | |
| 63 | + | |
| 64 | +TRUSTED_FILES = ("src/Statements.lean", "src/Main.lean", "Challenge.lean") | |
| 65 | + | |
| 66 | + | |
| 67 | +def check_trusted_files(): | |
| 68 | + for name in TRUSTED_FILES: | |
| 69 | + for line in (ROOT / name).read_text(encoding="utf-8").splitlines(): | |
| 70 | + if IMPORT.match(line): | |
| 71 | + raise ValueError(f"{name} imports a Tau Ceti module: {line.strip()}") | |
| 72 | + | |
| 73 | + | |
| 74 | +def tauceti_imports(path): | |
| 75 | + imports = set() | |
| 76 | + for line in path.read_text(encoding="utf-8").splitlines(): | |
| 77 | + match = IMPORT.match(line) | |
| 78 | + if match: | |
| 79 | + imports.add(match.group(1)) | |
| 80 | + return imports | |
| 81 | + | |
| 82 | + | |
| 83 | +def imported_modules(): | |
| 84 | + """The Tau Ceti modules imported under `src`, closed under Tau Ceti's own imports (public, | |
| 85 | + private and `meta` alike).""" | |
| 86 | + pending = set() | |
| 87 | + for path in (ROOT / "src").rglob("*.lean"): | |
| 88 | + pending |= tauceti_imports(path) | |
| 89 | + direct = len(pending) | |
| 90 | + source = ROOT / ".lake" / "packages" / "TauCeti" | |
| 91 | + modules = set() | |
| 92 | + while pending: | |
| 93 | + module = pending.pop() | |
| 94 | + if module in modules: | |
| 95 | + continue | |
| 96 | + modules.add(module) | |
| 97 | + path = source.joinpath(*module.split(".")).with_suffix(".lean") | |
| 98 | + if not path.is_file(): | |
| 99 | + raise ValueError(f"{module} is imported but {path} is missing") | |
| 100 | + pending |= tauceti_imports(path) - modules | |
| 101 | + say(f"{direct} Tau Ceti module(s) imported under src, {len(modules)} with their imports") | |
| 102 | + return sorted(modules) | |
| 103 | + | |
| 104 | + | |
| 105 | +def run_lake(args, env): | |
| 106 | + return subprocess.run(["lake", *args], cwd=ROOT, env=env).returncode | |
| 107 | + | |
| 108 | + | |
| 109 | +def main(): | |
| 110 | + check_trusted_files() | |
| 111 | + check_mathlib_pin() | |
| 112 | + env = os.environ.copy() | |
| 113 | + for key in list(env): | |
| 114 | + # Read-only use of a public cache: never pass upload credentials to Lake. | |
| 115 | + if key.startswith(("AWS_", "CLOUDFLARE_", "CF_")) or key in ( | |
| 116 | + "LAKE_CACHE_KEY", "LAKE_CACHE_ARTIFACT_ENDPOINT", "LAKE_CACHE_REVISION_ENDPOINT", | |
| 117 | + "LAKE_CACHE_SERVICE", "LAKE_ARTIFACT_CACHE"): | |
| 118 | + env.pop(key) | |
| 119 | + env["LAKE_CONFIG"] = str(ROOT / "lakefile.toml") | |
| 120 | + say("fetching Tau Ceti's cache mappings") | |
| 121 | + code = run_lake(["cache", "get", "--package", "TauCeti", "--service", "tauceti-public", | |
| 122 | + "--repo", "TauCetiProject/TauCeti", "--mappings-only"], env) | |
| 123 | + if code: | |
| 124 | + say("fetching the mappings failed; Lake would compile Tau Ceti modules from source") | |
| 125 | + return code | |
| 126 | + modules = imported_modules() | |
| 127 | + if not modules: | |
| 128 | + say("no Tau Ceti module is imported under src; nothing more to fetch") | |
| 129 | + return 0 | |
| 130 | + say(f"fetching oleans for those {len(modules)} Tau Ceti module(s)") | |
| 131 | + code = run_lake(["-q", "build", *modules], env) | |
| 132 | + if code: | |
| 133 | + say("fetching Tau Ceti oleans failed") | |
| 134 | + return code | |
| 135 | + | |
| 136 | + | |
| 137 | +if __name__ == "__main__": | |
| 138 | + try: | |
| 139 | + sys.exit(main()) | |
| 140 | + except (ValueError, OSError, KeyError) as error: | |
| 141 | + sys.exit(f"[Tau Ceti cache] stopped: {error}") | |
+524 −0 src/Lib/Adelic/Adeles/AdditiveCharacter.lean added View file
| @@ -0,0 +1,524 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import Mathlib.Analysis.Complex.Circle | |
| 4 | +public import Mathlib.NumberTheory.NumberField.Discriminant.Defs | |
| 5 | +public import TauCeti.RingTheory.DedekindDomain.FiniteAdeleRing.BorelSpace | |
| 6 | +import Mathlib.Analysis.SpecialFunctions.Complex.Circle | |
| 7 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 8 | +import Mathlib.Dynamics.FixedPoints.Topology | |
| 9 | +import Mathlib.NumberTheory.NumberField.Discriminant.Basic | |
| 10 | +import Mathlib.Order.CompletePartialOrder | |
| 11 | +import Mathlib.RingTheory.PiTensorProduct | |
| 12 | +import Mathlib.Tactic.Linter.Style | |
| 13 | +import Mathlib.Topology.Separation.CompletelyRegular | |
| 14 | +import TauCeti.RingTheory.DedekindDomain.AdicValuation.ResidueField | |
| 15 | +import TauCeti.Topology.Algebra.Group.Units | |
| 16 | +import TauCeti.Topology.Instances.Matrix | |
| 17 | +public import Lib.Adelic.Adeles.Basic | |
| 18 | +public import Lib.Adelic.QuotientMeasure.Basic | |
| 19 | +public import Lib.General.Groups.CongruenceSubgroups | |
| 20 | + | |
| 21 | +/-! | |
| 22 | +# The additive character, Haar measures and the rational lattice in the adeles | |
| 23 | + | |
| 24 | +The adeles `New.𝔸` of a number field `E` are one copy of `ℂ` for each infinite place, times the | |
| 25 | +finite adeles `New.𝔸f`; this is the adele ring when `E` is totally complex. `New.Ô` is the ring of | |
| 26 | +integral finite adeles. The file defines the standard additive character and the Haar measures | |
| 27 | +used in Fourier analysis on `New.𝔸`. For a totally complex field `E`, it proves that `E`, embedded | |
| 28 | +diagonally by `New.toAdele`, is a cocompact lattice of covolume one, and so are vectors and matrices | |
| 29 | +over `E`. The proof uses a fundamental domain built from a fractional ideal. | |
| 30 | + | |
| 31 | +## Main definitions and results | |
| 32 | + | |
| 33 | +* `New.ψf`: the character of the finite adeles that is trivial on `New.Ô` (`New.ψf_eq_one_of_mem`) | |
| 34 | + and is `𝐞 (tr a)` on `a ∈ E` (`New.ψf_coe`), where `𝐞 t = exp (2πi t)`. These two properties | |
| 35 | + define it, since every finite adele is an element of `E` plus an integral one. | |
| 36 | +* `New.stdAddChar`: its product with `𝐞 (-∑_w 2 re x_w)`. Here `x_w` is the component of the adele | |
| 37 | + at the infinite place `w`. | |
| 38 | +* `New.volume_Ô`: `volume` on the finite adeles gives `New.Ô` the mass `New.volÔ`. On a completion | |
| 39 | + `New.LocField w`, `volume` gives the local integers mass one (`New.volume_LocInt`). On the adeles | |
| 40 | + it is the product with Lebesgue measure on each `ℂ`. | |
| 41 | +* `New.ratAdeles`, `New.ratVectors`, `New.ratMatrices`: the rational points, vectors and matrices. | |
| 42 | +* `New.HasFundDomain`: a compact set contains a fundamental domain of volume one. | |
| 43 | +* `New.IsCovolOneLattice`: a discrete cocompact subgroup whose quotient measure has mass one. | |
| 44 | + | |
| 45 | +Notions from other files: | |
| 46 | +* `New.LocField`, `New.LocInt`: The completion E_w of E at the finite place w and its ring of | |
| 47 | + integers. | |
| 48 | +* `New.PlaceEmbedding E`: a choice, for each infinite place `w`, of a complex embedding `Φ w` of | |
| 49 | + `E` that induces `w`. The map `New.toAdele` uses these embeddings at the infinite places. | |
| 50 | + | |
| 51 | +## Relation to the literature | |
| 52 | + | |
| 53 | +For totally complex `E` the file proves a known result: a number field is a discrete subgroup of its | |
| 54 | +adeles with compact quotient, here with a measure for which the covolume is one. | |
| 55 | +-/ | |
| 56 | + | |
| 57 | +@[expose] public section | |
| 58 | + | |
| 59 | +noncomputable section | |
| 60 | + | |
| 61 | +/-! | |
| 62 | +## A fundamental domain for a fractional ideal and its volume | |
| 63 | + | |
| 64 | +`New.exists_fundDomain_prod` builds a fundamental domain `F ×ˢ O` for a number field `I` acting by | |
| 65 | +translations on `V × W` (in the applications: infinite part times finite part of adeles), with `F` a | |
| 66 | +fundamental parallelotope of a fractional ideal, and gives the volume of `F`. | |
| 67 | +-/ | |
| 68 | + | |
| 69 | +section FundamentalDomain | |
| 70 | + | |
| 71 | +open MeasureTheory NumberField mixedEmbedding ZSpan nonZeroDivisors | |
| 72 | + | |
| 73 | +open scoped Classical in | |
| 74 | +/-- Let `j : I →+ V × W` be additive on the number field `I`. Assume that the second component of | |
| 75 | +`j` lies in the subgroup `O` exactly on the fractional ideal `J`, and that `W` is the sum of the | |
| 76 | +second components and `O`. Assume also that the first component is the Minkowski embedding followed | |
| 77 | +by a measure-preserving linear isomorphism `e`. Then there is a bounded measurable set `F` in `V` | |
| 78 | +such that (a) `F` has volume `N(J) 2^(-r₂) √|disc I|`, with `r₂` the number of complex places, and | |
| 79 | +(b) for each `x` exactly one `a : I` has `j a + x ∈ F ×ˢ O`. -/ | |
| 80 | +lemma New.exists_fundDomain_prod {I V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 81 | + [MeasureSpace V] [BorelSpace V] [AddCommGroup W] [Field I] [NumberField I] (j : I →+ V × W) | |
| 82 | + (O : AddSubgroup W) (J : (FractionalIdeal (𝓞 I)⁰ I)ˣ) (hO : ∀ a : I, (j a).2 ∈ O ↔ a ∈ J.val) | |
| 83 | + (h_approx : ∀ w : W, ∃ a : I, w - (j a).2 ∈ O) | |
| 84 | + (e : mixedSpace I ≃ₗ[ℝ] V) (he : MeasurePreserving e) | |
| 85 | + (h_emb : ∀ a : I, e (mixedEmbedding I a) = (j a).1) : | |
| 86 | + ∃ F : Set V, | |
| 87 | + MeasurableSet F ∧ | |
| 88 | + Bornology.IsBounded F ∧ | |
| 89 | + -- (a) | |
| 90 | + volume F = | |
| 91 | + ENNReal.ofReal J.val.absNorm * (2⁻¹ ^ InfinitePlace.nrComplexPlaces I * ‖discr I‖₊.sqrt) ∧ | |
| 92 | + -- (b) | |
| 93 | + ∀ x : V × W, ∃! a : I, j a + x ∈ F ×ˢ O := by | |
| 94 | + -- `F` is the fundamental domain of the lattice `J`, moved to `V` by `e`. | |
| 95 | + let b : Module.Basis (Module.Free.ChooseBasisIndex ℤ J) ℝ V := | |
| 96 | + (fractionalIdealLatticeBasis I J).map e | |
| 97 | + refine ⟨fundamentalDomain b, by measurability, fundamentalDomain_isBounded b, ?_, fun x ↦ ?_⟩ | |
| 98 | + · -- `e` preserves the measure; Mathlib has the covolumes of `J` and of the ring of integers | |
| 99 | + have h_preimage : e ⁻¹' fundamentalDomain b = | |
| 100 | + fundamentalDomain (fractionalIdealLatticeBasis I J) := by | |
| 101 | + simp [b, ← map_fundamentalDomain, e.injective.preimage_image] | |
| 102 | + rw [← he.measure_preimage (by measurability), h_preimage, | |
| 103 | + volume_fundamentalDomain_fractionalIdealLatticeBasis, volume_fundamentalDomain_latticeBasis] | |
| 104 | + · -- First move the second component into `O` by subtracting some `j a`. The elements that keep | |
| 105 | + -- it in `O` are those of `J`, and exactly one of them moves the first component into `F`. | |
| 106 | + obtain ⟨a, ha⟩ := h_approx x.2 | |
| 107 | + have h_span (v : V) : v ∈ Submodule.span ℤ (Set.range b) ↔ ∃ c ∈ J.val, (j c).1 = v := by | |
| 108 | + simp [b, ← map, ← h_emb, mem_span_fractionalIdealLatticeBasis] | |
| 109 | + have h_inj : Function.Injective fun c : I ↦ (j c).1 := by | |
| 110 | + simpa [← h_emb, Function.comp_def] using e.injective.comp (mixedEmbedding_injective I) | |
| 111 | + have h_unique : ∃! c : I, (j c).1 + (x - j a).1 ∈ fundamentalDomain b ∧ c ∈ J.val := by | |
| 112 | + obtain ⟨⟨v, hv⟩, h_mem, h_uniq⟩ := exist_unique_vadd_mem_fundamentalDomain b (x - j a).1 | |
| 113 | + obtain ⟨c, hc, rfl⟩ := (h_span v).1 hv | |
| 114 | + exact ⟨c, ⟨h_mem, hc⟩, fun d ⟨hd_mem, hd⟩ ↦ h_inj <| | |
| 115 | + congrArg Subtype.val (h_uniq ⟨(j d).1, (h_span _).2 ⟨d, hd, rfl⟩⟩ hd_mem)⟩ | |
| 116 | + -- the translate sought is `c - a` | |
| 117 | + refine (Equiv.subRight a).existsUnique_congr_right.1 ?_ | |
| 118 | + simpa [add_comm_sub, add_mem_cancel_right ha, hO] using h_unique | |
| 119 | + | |
| 120 | +end FundamentalDomain | |
| 121 | + | |
| 122 | +/-! | |
| 123 | +## The standard additive character and the Haar measures on adeles | |
| 124 | + | |
| 125 | +Instances give the topological and measurable structure of the adeles, the finite adeles, the | |
| 126 | +completions `New.LocField w` and the unitary groups `New.U J` of complex matrices. | |
| 127 | +-/ | |
| 128 | + | |
| 129 | +section AdditiveCharDefs | |
| 130 | + | |
| 131 | +open NumberField MeasureTheory Measure FourierTransform Algebra AddChar QuotientAddGroup | |
| 132 | + | |
| 133 | +namespace New | |
| 134 | + | |
| 135 | +variable (E : Type*) [Field E] [NumberField E] | |
| 136 | + | |
| 137 | +/-! ### The standard additive character and the mass of the integral adeles -/ | |
| 138 | + | |
| 139 | +/-- The character `𝐞 t = exp (2πi t)` is trivial exactly at the integers. -/ | |
| 140 | +lemma fourierChar_eq_one_iff {t : ℝ} : 𝐞 t = 1 ↔ ∃ n : ℤ, t = n := | |
| 141 | + Circle.exp_eq_one.trans (by field_simp) | |
| 142 | + | |
| 143 | +/-- The number 2^{r₂}/√|disc E|, where r₂ is the number of complex places of E. When E is totally | |
| 144 | +complex and the infinite places carry Lebesgue measure, it is the volume of the integral finite | |
| 145 | +adeles for which the quotient of the adeles by E has total mass one. -/ | |
| 146 | +def volÔ : NNReal := 2 ^ InfinitePlace.nrComplexPlaces E / ‖NumberField.discr E‖₊.sqrt | |
| 147 | + | |
| 148 | +/-- Every class of finite adeles modulo `Ô` contains an element of `E`. -/ | |
| 149 | +lemma mk_algebraMap_surjective : | |
| 150 | + Function.Surjective ((mk' (Ô E).toAddSubgroup).comp (algebraMap E (𝔸f E) : E →+ 𝔸f E)) := by | |
| 151 | + rintro ⟨x⟩ | |
| 152 | + exact (exists_sub_mem_Ô x).imp fun a ha ↦ (eq_iff_sub_mem.mpr ha).symm | |
| 153 | + | |
| 154 | +/-- For an algebraic integer `a` of `E`, the value `𝐞 (tr a) = exp (2πi Tr_{E/ℚ} a)` is one. -/ | |
| 155 | +lemma fourierChar_trace_eq_one {a : E} (ha : IsIntegral ℤ a) : 𝐞 (trace ℚ E a) = 1 := | |
| 156 | + -- the trace of an algebraic integer is an integer | |
| 157 | + fourierChar_eq_one_iff.mpr ⟨trace ℤ (𝓞 E) ⟨a, ha⟩, mod_cast (coe_trace_int ⟨a, ha⟩).symm⟩ | |
| 158 | + | |
| 159 | +/-- The standard additive character of the finite adeles: ψ_f(x) = exp(2πi Tr_{E/ℚ}(a)) for any | |
| 160 | +a in E with x − a integral. -/ | |
| 161 | +def ψf : AddChar (𝔸f E) Circle := | |
| 162 | + -- `𝐞 ∘ tr` on `E` kills the algebraic integers, so it descends along the surjection | |
| 163 | + -- `E → 𝔸f E ⧸ Ô E`; compose with the quotient map `𝔸f E → 𝔸f E ⧸ Ô E`. | |
| 164 | + toAddMonoidHomEquiv.symm <| | |
| 165 | + AddMonoidHom.comp | |
| 166 | + (((mk' (Ô E).toAddSubgroup).comp (algebraMap E (𝔸f E))).liftOfSurjective | |
| 167 | + (mk_algebraMap_surjective E) | |
| 168 | + ⟨AddMonoidHom.mk' (fun a : E ↦ 𝐞 (trace ℚ E a)) (by aesop (add simp map_add_eq_mul)), | |
| 169 | + fun a ha ↦ fourierChar_trace_eq_one E (algebraMap_mem_Ô.1 (by aesop))⟩) | |
| 170 | + (mk' (Ô E).toAddSubgroup) | |
| 171 | + | |
| 172 | +/-- The standard additive character of `New.𝔸 E` (the adele ring when E is totally complex): the | |
| 173 | +product of exp(−2πi ∑_w 2 Re x_w) over the infinite places and ψ_f of the finite part. -/ | |
| 174 | +def stdAddChar : AddChar (𝔸 E) Circle where | |
| 175 | + toFun x := 𝐞 (-∑ w : InfinitePlace E, 2 * (x.1 w).re) * ψf E x.2 | |
| 176 | + map_zero_eq_one' := by simp | |
| 177 | + map_add_eq_mul' := by | |
| 178 | + simp [mul_add, Finset.sum_add_distrib, map_add_eq_mul] | |
| 179 | + grind | |
| 180 | + | |
| 181 | +variable {E} {n : Type*} (w : FinPlace E) [Fintype n] [DecidableEq n] (J : Matrix n n ℂ) | |
| 182 | + | |
| 183 | +instance : PolishSpace (U J) where | |
| 184 | + | |
| 185 | +instance : LocallyCompactSpace (U J) := inferInstance | |
| 186 | + | |
| 187 | +instance : MeasureSpace (LocField w) where | |
| 188 | + -- the Haar measure that gives the local ring of integers mass one | |
| 189 | + volume := | |
| 190 | + addHaarMeasure ⟨⟨LocInt w, isCompact_LocInt w⟩, | |
| 191 | + (Valued.isOpen_integer (LocField w)).interior_eq.substr (by simp)⟩ | |
| 192 | + | |
| 193 | +instance : IsAddHaarMeasure (volume (α := LocField w)) := isAddHaarMeasure_addHaarMeasure _ | |
| 194 | + | |
| 195 | +/-- The chosen Haar measure on the completion `E_w` gives its ring of integers mass one. -/ | |
| 196 | +@[simp] | |
| 197 | +lemma volume_LocInt : volume (LocInt w : Set (LocField w)) = 1 := addHaarMeasure_self | |
| 198 | + | |
| 199 | +/-- The number `volÔ E` is nonzero. -/ | |
| 200 | +@[simp] | |
| 201 | +lemma volÔ_ne_zero : volÔ E ≠ 0 := by simp [volÔ, discr_ne_zero] | |
| 202 | + | |
| 203 | +instance : MeasureSpace (𝔸f E) where | |
| 204 | + -- the Haar measure that gives `Ô E` the mass `volÔ E` | |
| 205 | + volume := volÔ E • addHaarMeasure ⟨⟨Ô E, isCompact_Ô⟩, by simp [isOpen_Ô.interior_eq]⟩ | |
| 206 | + | |
| 207 | +instance : IsAddHaarMeasure (volume (α := 𝔸f E)) := .nnreal_smul _ (by simp) | |
| 208 | + | |
| 209 | +/-- For the chosen Haar measure on the finite adeles of E, the ring Ô of integral finite adeles | |
| 210 | +has volume 2^{r₂}/√|disc E|. -/ | |
| 211 | +@[simp] | |
| 212 | +lemma volume_Ô : volume (Ô E : Set (𝔸f E)) = volÔ E := by | |
| 213 | + let K : TopologicalSpace.PositiveCompacts (𝔸f E) := | |
| 214 | + ⟨⟨Ô E, isCompact_Ô⟩, by simp [isOpen_Ô.interior_eq]⟩ | |
| 215 | + -- unfold the instance that defines `volume` | |
| 216 | + change (volÔ E • addHaarMeasure K) (K : Set (𝔸f E)) = volÔ E | |
| 217 | + simp [addHaarMeasure_self] | |
| 218 | + | |
| 219 | +/-! ### The finite character, and further instances -/ | |
| 220 | + | |
| 221 | +/-- On an element `a` of `E` the finite character `ψf` takes the value `exp (2πi Tr_{E/ℚ} a)`. -/ | |
| 222 | +lemma ψf_coe (a : E) : ψf E a = 𝐞 (trace ℚ E a) := by | |
| 223 | + -- `ψf` is defined by descending `𝐞 ∘ tr` along the surjection `π` | |
| 224 | + let π : E →+ 𝔸f E ⧸ (Ô E).toAddSubgroup := (mk' _).comp (algebraMap E (𝔸f E) : E →+ 𝔸f E) | |
| 225 | + simp only [ψf, AddChar.toAddMonoidHomEquiv_symm_apply, AddMonoidHom.coe_comp, Function.comp_apply] | |
| 226 | + exact congrArg Additive.toMul | |
| 227 | + (AddMonoidHom.liftOfRightInverse_comp_apply π _ _ _ a) | |
| 228 | + | |
| 229 | +/-- The finite character `ψf` is trivial on the ring `Ô E` of integral finite adeles. -/ | |
| 230 | +lemma ψf_eq_one_of_mem {x : 𝔸f E} (h : x ∈ Ô E) : ψf E x = 1 := by | |
| 231 | + simp [ψf, (eq_zero_iff (N := (Ô E).toAddSubgroup) x).mpr h] | |
| 232 | + | |
| 233 | +instance : SigmaFinite (volume (α := 𝔸f E)) := inferInstance | |
| 234 | + | |
| 235 | +deriving instance T2Space for 𝔸f E | |
| 236 | + | |
| 237 | +deriving instance SecondCountableTopology, T2Space for 𝔸 E | |
| 238 | + | |
| 239 | +deriving instance PolishSpace, LocallyCompactSpace, BorelSpace, IsTopologicalRing, | |
| 240 | + MeasurableSingletonClass for 𝔸 E | |
| 241 | + | |
| 242 | +instance : SigmaFinite (volume (α := 𝔸 E)) := inferInstance | |
| 243 | + | |
| 244 | +/-- The measure `volume` on `New.𝔸 E` (the adeles, when E is totally complex) is an additive Haar | |
| 245 | +measure. -/ | |
| 246 | +instance isAddHaarMeasure_𝔸 : IsAddHaarMeasure (volume (α := 𝔸 E)) := | |
| 247 | + prod.instIsAddHaarMeasure volume volume | |
| 248 | + | |
| 249 | +end New | |
| 250 | + | |
| 251 | +end AdditiveCharDefs | |
| 252 | + | |
| 253 | +/-! ## Rational points as a cocompact lattice of covolume one -/ | |
| 254 | + | |
| 255 | +section RationalLattice | |
| 256 | + | |
| 257 | +open NumberField MeasureTheory InfinitePlace IsTotallyComplex Metric Matrix QuotientAddGroup | |
| 258 | +open scoped Pointwise | |
| 259 | + | |
| 260 | +namespace New | |
| 261 | + | |
| 262 | +/-- A complex embedding `φ` is the chosen embedding `Φ` of its place or the conjugate of it. -/ | |
| 263 | +lemma Φ_mk_eq_or_star_eq {E : Type*} [Field E] [PlaceEmbedding E] (φ : E →+* ℂ) : | |
| 264 | + Φ (InfinitePlace.mk φ) = φ ∨ star (Φ (InfinitePlace.mk φ)) = φ := | |
| 265 | + mk_eq_iff.mp (mk_Φ _) | |
| 266 | + | |
| 267 | +/-- If the complex embeddings `φ` and `ψ` induce the same infinite place, the identity or complex | |
| 268 | +conjugation carries `φ` to `ψ` by a volume-preserving `ℝ`-algebra automorphism of `ℂ`. -/ | |
| 269 | +lemma exists_measurePreserving_algEquiv_of_mk_eq {K : Type*} [Field K] (φ ψ : K →+* ℂ) | |
| 270 | + (h : InfinitePlace.mk φ = InfinitePlace.mk ψ) : | |
| 271 | + ∃ σ : ℂ ≃ₐ[ℝ] ℂ, MeasurePreserving σ ∧ ∀ x : K, σ (φ x) = ψ x := by | |
| 272 | + rcases mk_eq_iff.mp h with h | h | |
| 273 | + · exact ⟨AlgEquiv.refl, MeasurePreserving.id _, fun x ↦ DFunLike.congr_fun h x⟩ | |
| 274 | + · exact ⟨Complex.conjAe, Complex.conjLIE.measurePreserving, fun x ↦ DFunLike.congr_fun h x⟩ | |
| 275 | + | |
| 276 | +variable (E : Type*) [Field E] [PlaceEmbedding E] [NumberField E] (m n : Type*) | |
| 277 | + {B I : Type*} [AddCommGroup B] [AddCommGroup I] [TopologicalSpace B] | |
| 278 | + (f : I →+ B) (C : Set B) [MeasureSpace B] | |
| 279 | + | |
| 280 | +/-! ### Rational points, fundamental domains and lattices -/ | |
| 281 | + | |
| 282 | +/-- The image of E in its adeles under the diagonal embedding, as an additive subgroup. -/ | |
| 283 | +def ratAdeles : AddSubgroup (𝔸 E) := (toAdele (E := E)).toAddMonoidHom.range | |
| 284 | + | |
| 285 | +/-- The additive subgroup of adelic vectors indexed by n that is the image of E^n under the | |
| 286 | +coordinatewise diagonal embedding. -/ | |
| 287 | +def ratVectors : AddSubgroup (n → 𝔸 E) := ((toAdele (E := E)).toAddMonoidHom.compLeft n).range | |
| 288 | + | |
| 289 | +/-- The additive subgroup of m×n adelic matrices that is the image of the m×n matrices over E | |
| 290 | +under the entrywise diagonal embedding. -/ | |
| 291 | +def ratMatrices : AddSubgroup (Matrix m n (𝔸 E)) := | |
| 292 | + (toAdele (E := E)).toAddMonoidHom.mapMatrix (m := m) (n := n).range | |
| 293 | + | |
| 294 | +/-- For an additive map `f : I →+ B` and a set `C` in `B`: `C` is compact and contains a measurable | |
| 295 | +set `D` of volume one such that every `x` in `B` has exactly one `a` in `I` with `f a + x ∈ D`. -/ | |
| 296 | +def HasFundDomain : Prop := | |
| 297 | + IsCompact C ∧ ∃ D ⊆ C, MeasurableSet D ∧ volume D = 1 ∧ ∀ x : B, ∃! a : I, f a + x ∈ D | |
| 298 | + | |
| 299 | +/-- A lattice of covolume one: a discrete subgroup `Λ` of `B` with `B ⧸ Λ` compact and of quotient | |
| 300 | +measure one, such that the translates of one compact set by `Λ` cover `B`. -/ | |
| 301 | +class IsCovolOneLattice (Λ : AddSubgroup B) extends DiscreteTopology Λ, CompactSpace (B ⧸ Λ), | |
| 302 | + IsProbabilityMeasure Λ.quotMeasure where | |
| 303 | + /-- Some compact set meets every coset of `Λ`. -/ | |
| 304 | + exists_compact_cover (Λ) : Λ.IsCocompact | |
| 305 | + | |
| 306 | +variable {f} in | |
| 307 | +/-- If the range of `f` is a covolume-one lattice, there is a compact set into which every point | |
| 308 | +can be translated by the image of an element of the source of `f`. -/ | |
| 309 | +lemma IsCovolOneLattice.exists_compact_cover_of_range (Λ : AddSubgroup B) [IsCovolOneLattice Λ] | |
| 310 | + (hf : f.range = Λ) : | |
| 311 | + ∃ K : Set B, IsCompact K ∧ ∀ x : B, ∃ y : I, f y + x ∈ K := by | |
| 312 | + obtain ⟨K, hK, h_cover⟩ := IsCovolOneLattice.exists_compact_cover Λ | |
| 313 | + refine ⟨K, hK, fun x ↦ ?_⟩ | |
| 314 | + obtain ⟨g, hg, hx⟩ := h_cover x | |
| 315 | + obtain ⟨y, rfl⟩ := AddMonoidHom.mem_range.mp (hf.symm ▸ hg) | |
| 316 | + exact ⟨y, hx⟩ | |
| 317 | + | |
| 318 | +variable {E m n f C} | |
| 319 | + | |
| 320 | +/-- A vector of adeles lies in `ratVectors E n` iff every entry lies in `ratAdeles E`. -/ | |
| 321 | +lemma mem_ratVectors {x : n → 𝔸 E} : x ∈ ratVectors E n ↔ ∀ i : n, x i ∈ ratAdeles E := by | |
| 322 | + simp [ratVectors, ratAdeles, funext_iff, Classical.skolem] | |
| 323 | + | |
| 324 | +/-- A matrix of adeles lies in `ratMatrices E m n` iff every entry lies in `ratAdeles E`. -/ | |
| 325 | +lemma mem_ratMatrices {x : Matrix m n (𝔸 E)} : | |
| 326 | + x ∈ ratMatrices E m n ↔ ∀ (i : m) (j : n), x i j ∈ ratAdeles E := by | |
| 327 | + simp [ratMatrices, ratAdeles, ← ext_iff, Classical.skolem, of.exists_congr_left] | |
| 328 | + | |
| 329 | +@[simp, grind .] | |
| 330 | +lemma toAdele_half_add_half : toAdele (2⁻¹ : E) + toAdele (2⁻¹ : E) = 1 := by | |
| 331 | + norm_num [← map_add] | |
| 332 | + | |
| 333 | +@[grind .] | |
| 334 | +lemma toAdele_inv_mul_cancel {x : E} (hx : x ≠ 0) : toAdele x⁻¹ * toAdele x = 1 := by | |
| 335 | + simp [← map_mul, hx] | |
| 336 | + | |
| 337 | +variable [IsTotallyComplex E] [Fintype n] [IsTopologicalAddGroup B] | |
| 338 | + [SecondCountableTopology B] [T2Space B] [LocallyCompactSpace B] | |
| 339 | + [(volume (α := B)).IsAddHaarMeasure] | |
| 340 | + | |
| 341 | +/-! ### From a fundamental domain to a lattice -/ | |
| 342 | + | |
| 343 | +omit [T2Space B] in | |
| 344 | +/-- If a compact set `C` contains a fundamental domain of volume one for `f : I →+ B` | |
| 345 | +(`HasFundDomain f C`), then for a finite index type `n` the power `C^n` contains one for the | |
| 346 | +coordinatewise map `(n → I) →+ (n → B)`. -/ | |
| 347 | +lemma HasFundDomain.pi (h : HasFundDomain f C) : | |
| 348 | + HasFundDomain (f.compLeft n) (Set.pi Set.univ fun _ : n ↦ C) := by | |
| 349 | + -- A power of the fundamental domain `D ⊆ C` is a fundamental domain in the power of `C`. | |
| 350 | + obtain ⟨hC, D, hDC, hD_meas, hD_vol, h_uniq⟩ := h | |
| 351 | + refine ⟨isCompact_univ_pi fun _ ↦ hC, .pi .univ fun _ ↦ D, Set.pi_mono fun _ _ ↦ hDC, | |
| 352 | + .univ_pi fun _ ↦ hD_meas, by simp [volume, hD_vol], fun x ↦ ?_⟩ | |
| 353 | + choose a ha ha_uniq using fun i : n ↦ h_uniq (x i) | |
| 354 | + exact ⟨a, fun i _ ↦ ha i, fun b hb ↦ funext fun i ↦ ha_uniq i (b i) (hb i trivial)⟩ | |
| 355 | + | |
| 356 | +/-- Let `f : I →+ B` be additive, `B` a second countable locally compact Hausdorff abelian group | |
| 357 | +with Haar measure. If the compact set `C` contains a measurable `D` of volume one whose translates | |
| 358 | +by the `f a` partition `B` (`HasFundDomain f C`), then the image of `f` is a lattice of covolume | |
| 359 | +one: it is discrete and cocompact, with quotient measure of mass one. -/ | |
| 360 | +lemma HasFundDomain.isCovolOneLattice [BorelSpace B] | |
| 361 | + (h : HasFundDomain f C) : IsCovolOneLattice f.range := by | |
| 362 | + obtain ⟨hC, D, hDC, hD_meas, hD_vol, h_uniq⟩ := h | |
| 363 | + -- Discreteness: `D - D` is a neighbourhood of `0` (Steinhaus) and meets the image only in `0`. | |
| 364 | + have h_disc : DiscreteTopology f.range := by | |
| 365 | + have h_nhds : D - D ∈ nhds (0 : B) := | |
| 366 | + volume.sub_mem_nhds_zero_of_addHaar_pos D hD_meas (by simp [hD_vol]) | |
| 367 | + refine discreteTopology_of_isOpen_singleton_zero ((⊥ : AddSubgroup f.range).isOpen_of_mem_nhds | |
| 368 | + ((mem_nhds_induced ((↑) : f.range → B) 0 _).2 ⟨D - D, h_nhds, ?_⟩)) | |
| 369 | + rintro ⟨_, a, rfl⟩ ⟨x, hx, y, hy, hxy : x - y = f a⟩ | |
| 370 | + have ha_mem : f a + y ∈ D := by rwa [← hxy, sub_add_cancel] | |
| 371 | + simp [(h_uniq y).unique ha_mem (show f 0 + y ∈ D by simpa)] | |
| 372 | + -- Every point is moved into `C` by the image; hence the quotient is the image of `C`. | |
| 373 | + have h_cover (x : B) : ∃ γ ∈ f.range, γ + x ∈ C := by | |
| 374 | + simpa using (h_uniq x).exists.imp fun a ha ↦ hDC ha | |
| 375 | + have h_cpt : CompactSpace (B ⧸ f.range) := by | |
| 376 | + have h_image : ((↑) : B → B ⧸ f.range) '' C = Set.univ := top_unique fun q _ ↦ | |
| 377 | + let ⟨γ, hγ, h_mem⟩ := h_cover q.out | |
| 378 | + ⟨γ + q.out, h_mem, by simp [hγ]⟩ | |
| 379 | + rw [← isCompact_univ_iff, ← h_image] | |
| 380 | + exact hC.image continuous_mk | |
| 381 | + -- Each orbit meets `D` exactly once. | |
| 382 | + have h_once (x : B) : ∫⁻ γ : f.range, D.indicator 1 (γ +ᵥ x) ∂.count = 1 := by | |
| 383 | + obtain ⟨a, ha, ha_uniq⟩ := h_uniq x | |
| 384 | + rw [lintegral_count, tsum_eq_single ⟨f a, a, rfl⟩] | |
| 385 | + · simp [f.range.vadd_def, ha] | |
| 386 | + · rintro ⟨_, b, rfl⟩ hb | |
| 387 | + exact Set.indicator_of_notMem (fun h_mem ↦ hb (by simp [ha_uniq b h_mem])) _ | |
| 388 | + -- Unfolding the integral of the indicator of `D`: the quotient has the volume of `D`. | |
| 389 | + have h_mass : f.range.quotMeasure volume Set.univ = 1 := by | |
| 390 | + simpa [h_once, hD_meas, Set.univ_inter, hD_vol] using | |
| 391 | + lintegral_addOrbitMeasure_lintegral (ν := .count) (H := f.range) (μ := volume) | |
| 392 | + (measurable_one.indicator hD_meas) | |
| 393 | + exact | |
| 394 | + { toDiscreteTopology := h_disc, toCompactSpace := h_cpt, | |
| 395 | + toIsProbabilityMeasure := ⟨h_mass⟩, exists_compact_cover := ⟨C, hC, h_cover⟩ } | |
| 396 | + | |
| 397 | +/-! ### The rational points of the adeles and finiteness in compact sets -/ | |
| 398 | + | |
| 399 | +open scoped Classical in | |
| 400 | +/-- Let `E` be a totally complex number field, with a chosen complex embedding `Φ v` for each | |
| 401 | +infinite place `v`. Some volume-preserving ℝ-linear isomorphism from the Minkowski space of `E` to | |
| 402 | +`InfinitePlace E → ℂ` sends the Minkowski embedding of each `x : E` to the family `(Φ v x)_v`. -/ | |
| 403 | +lemma exists_mixedEquiv : | |
| 404 | + ∃ e : mixedEmbedding.mixedSpace E ≃ₗ[ℝ] (InfinitePlace E → ℂ), | |
| 405 | + MeasurePreserving e ∧ ∀ x : E, e (mixedEmbedding E x) = fun v : InfinitePlace E ↦ Φ v x := by | |
| 406 | + -- No real places, so Minkowski space is its complex factor; conjugate at places where needed. | |
| 407 | + have : IsEmpty {v : InfinitePlace E // v.IsReal} := ⟨by simp [isComplex]⟩ | |
| 408 | + choose σ hσ hΦ using fun v : InfinitePlace E ↦ | |
| 409 | + exists_measurePreserving_algEquiv_of_mk_eq v.embedding (Φ v) (by simp) | |
| 410 | + let ι : {v : InfinitePlace E // v.IsComplex} ≃ InfinitePlace E := .subtypeUnivEquiv isComplex | |
| 411 | + exact ⟨.uniqueProd ≪≫ₗ .funCongrLeft ℝ ℂ ι.symm ≪≫ₗ .piCongrRight fun v ↦ (σ v).toLinearEquiv, | |
| 412 | + (volume_preserving_pi hσ).comp <| | |
| 413 | + (volume_preserving_arrowCongr' ι (.refl ℂ) (.id _)).comp ⟨measurable_snd, by simp [volume]⟩, | |
| 414 | + fun x ↦ funext fun v ↦ hΦ v x⟩ | |
| 415 | + | |
| 416 | +open scoped Classical in | |
| 417 | +/-- Let `K` be a number field and `φ : K → V` a ring homomorphism. Let `e` be a volume-preserving | |
| 418 | +ℝ-linear isomorphism from the Minkowski space of `K` to `V` that turns the Minkowski embedding into | |
| 419 | +`φ`. Then for some `R > 0` the closed ball of radius `R` in `V` times the integral finite adeles | |
| 420 | +`Ô K` is compact and contains a fundamental domain of volume one (`New.HasFundDomain`) for the map | |
| 421 | +`K → V × 𝔸f K` given by `φ` and the diagonal embedding into the finite adeles. -/ | |
| 422 | +lemma exists_hasFundDomain {K V : Type*} [NormedRing V] [NormedSpace ℝ V] [ProperSpace V] | |
| 423 | + [MeasureSpace V] [BorelSpace V] [Field K] [NumberField K] (φ : K →+* V) | |
| 424 | + (e : mixedEmbedding.mixedSpace K ≃ₗ[ℝ] V) (he : MeasurePreserving e) | |
| 425 | + (h_emb : ∀ a : K, e (mixedEmbedding K a) = φ a) : | |
| 426 | + ∃ R > (0 : ℝ), HasFundDomain (φ.prod (algebraMap K (𝔸f K))).toAddMonoidHom | |
| 427 | + (closedBall (0 : V) R ×ˢ Ô K) := by | |
| 428 | + -- `exists_fundDomain_prod` for the unit ideal gives a bounded `F` of volume `2 ^ (-r₂) √|disc K|` | |
| 429 | + -- with `F ×ˢ Ô K` a fundamental domain. | |
| 430 | + have h_integral (a : K) : algebraMap K (𝔸f K) a ∈ Ô K ↔ | |
| 431 | + a ∈ (1 : FractionalIdeal (nonZeroDivisors (𝓞 K)) K) := by | |
| 432 | + simp [IsIntegralClosure.isIntegral_iff (A := 𝓞 K)] | |
| 433 | + obtain ⟨F, h_meas, h_bounded, h_vol, h_unique⟩ : | |
| 434 | + ∃ F : Set V, MeasurableSet F ∧ Bornology.IsBounded F ∧ | |
| 435 | + volume F = ENNReal.ofReal (1 : FractionalIdeal (nonZeroDivisors (𝓞 K)) K).absNorm * | |
| 436 | + (2⁻¹ ^ nrComplexPlaces K * ‖NumberField.discr K‖₊.sqrt) ∧ | |
| 437 | + ∀ x : V × 𝔸f K, ∃! a : K, (φ a, algebraMap K (𝔸f K) a) + x ∈ F ×ˢ (Ô K : Set (𝔸f K)) := | |
| 438 | + exists_fundDomain_prod (φ.prod (algebraMap K (𝔸f K))).toAddMonoidHom (Ô K).toAddSubgroup 1 | |
| 439 | + h_integral exists_sub_mem_Ô e he h_emb | |
| 440 | + obtain ⟨R, hR, h_ball⟩ := h_bounded.subset_closedBall_lt 0 0 | |
| 441 | + refine ⟨R, hR, (isCompact_closedBall 0 R).prod isCompact_Ô, F ×ˢ Ô K, Set.prod_mono_left h_ball, | |
| 442 | + h_meas.prod isOpen_Ô.measurableSet, ?_, h_unique⟩ | |
| 443 | + -- The mass `volÔ` of `Ô K` is the inverse of the volume of `F`. | |
| 444 | + show volume (F ×ˢ (Ô K : Set (𝔸f K))) = 1 | |
| 445 | + rw [Measure.volume_eq_prod, Measure.prod_prod, h_vol, volume_Ô] | |
| 446 | + simp [← ENNReal.toReal_eq_one_iff, volÔ, field, discr_ne_zero] | |
| 447 | + | |
| 448 | +open scoped Classical in | |
| 449 | +/-- Let `E` be a totally complex number field with chosen embeddings at the infinite places. For | |
| 450 | +some `R > 0`, the closed ball of radius `R` in the infinite part `InfinitePlace E → ℂ` times the | |
| 451 | +integral finite adeles `Ô E` is compact and contains a fundamental domain of volume one | |
| 452 | +(`HasFundDomain`) for `E` acting on its adeles through the diagonal embedding `toAdele`. -/ | |
| 453 | +lemma exists_hasFundDomain_toAdele : | |
| 454 | + ∃ R > (0 : ℝ), HasFundDomain (toAdele : E →+* 𝔸 E).toAddMonoidHom | |
| 455 | + (closedBall (0 : InfinitePlace E → ℂ) R ×ˢ Ô E) := by | |
| 456 | + let ⟨e, he, h_emb⟩ := exists_mixedEquiv (E := E) | |
| 457 | + exact exists_hasFundDomain (RingHom.pi Φ : E →+* (InfinitePlace E → ℂ)) e he h_emb | |
| 458 | + | |
| 459 | +/-- For totally complex `E` the rational points `New.ratAdeles E` form a lattice of covolume one in | |
| 460 | +the adeles of `E`: a discrete subgroup whose compact quotient has measure one. -/ | |
| 461 | +instance isCovolOneLattice_ratAdeles : IsCovolOneLattice (ratAdeles E) := by | |
| 462 | + obtain ⟨R, -, h_dom⟩ := exists_hasFundDomain_toAdele (E := E) | |
| 463 | + exact h_dom.isCovolOneLattice | |
| 464 | + | |
| 465 | +/-- For totally complex `E` and finite `n` the rational vectors `New.ratVectors E n` form a lattice | |
| 466 | +of covolume one in the adelic vectors indexed by `n`. -/ | |
| 467 | +instance isCovolOneLattice_ratVectors : IsCovolOneLattice (ratVectors E n) := by | |
| 468 | + obtain ⟨R, -, h_dom⟩ := exists_hasFundDomain_toAdele (E := E) | |
| 469 | + exact h_dom.pi.isCovolOneLattice | |
| 470 | + | |
| 471 | +/-- For totally complex `E` and finite `m`, `n` the rational matrices `New.ratMatrices E m n` form | |
| 472 | +a lattice of covolume one in the adelic `m × n` matrices. -/ | |
| 473 | +instance isCovolOneLattice_ratMatrices [Fintype m] : IsCovolOneLattice (ratMatrices E m n) := by | |
| 474 | + obtain ⟨R, -, h_dom⟩ := exists_hasFundDomain_toAdele (E := E) | |
| 475 | + -- a matrix is by definition a family of rows, so the power is taken twice | |
| 476 | + exact h_dom.pi.pi.isCovolOneLattice | |
| 477 | + | |
| 478 | +/-- An injective additive map `f` into a Hausdorff topological group, with discrete image, sends | |
| 479 | +only finitely many points into a given compact set. -/ | |
| 480 | +lemma finite_preimage_of_discreteTopology_range {B I : Type*} [AddCommGroup B] [AddCommGroup I] | |
| 481 | + [TopologicalSpace B] [IsTopologicalAddGroup B] {f : I →+ B} {C : Set B} | |
| 482 | + (hf_inj : Function.Injective f) (h_disc : DiscreteTopology f.range) (hC : IsCompact C) : | |
| 483 | + (f ⁻¹' C).Finite := by | |
| 484 | + -- `f` tends to infinity along the cofinite filter | |
| 485 | + simpa using f.tendsto_coe_cofinite_of_isDiscrete hf_inj ⟨h_disc⟩ hC.compl_mem_cocompact | |
| 486 | + | |
| 487 | +omit [SecondCountableTopology B] [LocallyCompactSpace B] [(volume (α := B)).IsAddHaarMeasure] | |
| 488 | + [T2Space B] in | |
| 489 | +/-- Let `f : I →+ B` be an injective additive map whose image is a lattice of covolume one in `B` | |
| 490 | +(discrete, with compact quotient of measure one). Then for every compact set `C`, only finitely many | |
| 491 | +`a` in `I` have `f a ∈ C`. -/ | |
| 492 | +lemma IsCovolOneLattice.finite_preimage (h : IsCovolOneLattice f.range) | |
| 493 | + (hf_inj : Function.Injective f) (hC : IsCompact C) : (f ⁻¹' C).Finite := | |
| 494 | + finite_preimage_of_discreteTopology_range hf_inj h.toDiscreteTopology hC | |
| 495 | + | |
| 496 | +/-- For totally complex `E`, a compact set of adeles contains the diagonal images of only finitely | |
| 497 | +many elements of `E`. -/ | |
| 498 | +lemma finite_setOf_toAdele_mem {K : Set (𝔸 E)} (hK : IsCompact K) : | |
| 499 | + {x : E | toAdele x ∈ K}.Finite := | |
| 500 | + (isCovolOneLattice_ratAdeles (E := E)).finite_preimage (toAdele (E := E)).injective hK | |
| 501 | + | |
| 502 | +/-- For totally complex `E` and finite `n`, a compact set of adelic vectors indexed by `n` contains | |
| 503 | +the coordinatewise diagonal images of only finitely many vectors over `E`. -/ | |
| 504 | +lemma isCovolOneLattice_ratVectors.finite_preimage {K : Set (n → 𝔸 E)} (hK : IsCompact K) : | |
| 505 | + {ξ : n → E | toAdele ∘ ξ ∈ K}.Finite := | |
| 506 | + IsCovolOneLattice.finite_preimage (isCovolOneLattice_ratVectors (E := E) (n := n)) | |
| 507 | + (toAdele (E := E)).injective.comp_left hK | |
| 508 | + | |
| 509 | +/-- For totally complex `E` and finite `m`, `n`, a compact set of adelic `m × n` matrices contains | |
| 510 | +the entrywise diagonal images of only finitely many matrices over `E`. -/ | |
| 511 | +lemma finite_setOf_map_toAdele_mem [Fintype m] {K : Set (Matrix m n (𝔸 E))} (hK : IsCompact K) : | |
| 512 | + {A : Matrix m n E | A.map toAdele ∈ K}.Finite := | |
| 513 | + (isCovolOneLattice_ratMatrices (E := E) (m := m) (n := n)).finite_preimage | |
| 514 | + (Matrix.map_injective (toAdele (E := E)).injective) hK | |
| 515 | + | |
| 516 | +variable [StarAddMonoid B] [ContinuousStar B] | |
| 517 | + | |
| 518 | +instance : IsClosed (X := B) (selfAdjoint B) := isClosed_fixedPoints continuous_star | |
| 519 | + | |
| 520 | +end New | |
| 521 | + | |
| 522 | +end RationalLattice | |
| 523 | + | |
| 524 | +end | |
+1137 −0 src/Lib/Adelic/Adeles/Basic.lean added View file
| @@ -0,0 +1,1137 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import TauCeti.NumberTheory.NumberField.Global.Adeles.GaloisDescent | |
| 4 | + | |
| 5 | +public import TauCeti.RingTheory.DedekindDomain.FiniteAdeleRing.Basic | |
| 6 | +public import Mathlib.Algebra.Star.Subsemiring | |
| 7 | +public import Mathlib.NumberTheory.NumberField.CMField | |
| 8 | +public import Mathlib.RingTheory.Henselian | |
| 9 | +public import Mathlib.RingTheory.RegularLocalRing.Defs | |
| 10 | +public import Mathlib.RingTheory.SimpleRing.Principal | |
| 11 | +import Mathlib.NumberTheory.NumberField.Cyclotomic.Basic | |
| 12 | +import Mathlib.Topology.Algebra.Group.SubmonoidClosure | |
| 13 | +import Mathlib.Topology.Algebra.Valued.LocallyCompact | |
| 14 | +import Mathlib.Topology.UniformSpace.Uniformizable | |
| 15 | +import TauCeti.NumberTheory.NumberField.Countable | |
| 16 | +import TauCeti.NumberTheory.NumberField.Global.Adeles.FiniteBaseChange | |
| 17 | +import TauCeti.RingTheory.DedekindDomain.AdicCompletionExtension | |
| 18 | +import TauCeti.RingTheory.DedekindDomain.AdicValuation.ResidueField | |
| 19 | +import TauCeti.RingTheory.DedekindDomain.FiniteAdeleRing.BorelSpace | |
| 20 | +import TauCeti.Topology.Algebra.Module.ModuleTopology | |
| 21 | +public import Lib.Speed | |
| 22 | +import TauCeti.RingTheory.DedekindDomain.FiniteAdeleRing.CompletedIdeal | |
| 23 | + | |
| 24 | +/-! | |
| 25 | +# Finite adeles of number fields: topology, idempotents, functoriality and base change | |
| 26 | + | |
| 27 | +This file develops the finite adeles `New.𝔸f E` of a number field `E` and their subring `New.Ô E` of | |
| 28 | +integral adeles. The valuation `Valued.v` of a completion, written `v`, is multiplicative with | |
| 29 | +values in `ℤᵐ⁰` (the integers, written multiplicatively by `exp`, with a zero adjoined), so that | |
| 30 | +integral elements have `v ≤ 1`. The file covers the topology of completions and finite adeles, and | |
| 31 | +the idempotents `New.idem` of sets of places. It also covers functoriality along embeddings of | |
| 32 | +number fields through `New.adeleMap`, and base change along an extension `L / K`. For CM fields, | |
| 33 | +complex conjugation `star` is extended to places and finite adeles, and commutes with | |
| 34 | +`New.adeleMap`; it induces maps `New.conjLoc` between the completions at conjugate places. | |
| 35 | + | |
| 36 | +## Main definitions and results | |
| 37 | + | |
| 38 | +* `New.FinPlace`, `New.LocField`, `New.LocInt`, `New.ResField`: finite places, completions, their | |
| 39 | + integers and residue fields; `New.𝔸f`, `New.Ô`: finite adeles and integral finite adeles; | |
| 40 | + `New.evalAt w` is the ring homomorphism taking a finite adele to its component in the completion | |
| 41 | + `New.LocField w`. | |
| 42 | +* `New.isCompact_Ô`, `New.isOpen_Ô`: the integral adeles `New.Ô E` are compact and open. | |
| 43 | +* `New.denseRange_algebraMap_Ô`, `New.denseRange_algebraMap_finAdele`: `𝓞 E` is dense in `Ô E` and | |
| 44 | + `E` is dense in the finite adeles (strong approximation), which are a Polish space. | |
| 45 | +* `New.adeleCombination`: for a basis `b` of `L / K`, the map `(a i) ↦ ∑ a i • b i` from `ι → 𝔸f K` | |
| 46 | + to `𝔸f L`. | |
| 47 | +* `New.isHomeomorph_adeleCombination`: this map is a homeomorphism. | |
| 48 | +* `New.mem_range_finAdeleIncl_iff`: for `L / K` Galois, the adeles fixed by `Gal(L/K)` are those | |
| 49 | + from `K`. | |
| 50 | + | |
| 51 | +## Relation to the literature | |
| 52 | + | |
| 53 | +Known result: the topology of the finite adeles of a number field, strong approximation and base | |
| 54 | +change. Base change is proved for finite adeles only, and the full adeles are those of totally | |
| 55 | +complex fields with chosen embeddings. | |
| 56 | + | |
| 57 | +Source: J. W. S. Cassels, Global Fields, in Cassels-Fröhlich, Algebraic Number Theory, 1967, ch. II | |
| 58 | +§§14-16; A. Weil, Basic Number Theory, ch. IV. | |
| 59 | +-/ | |
| 60 | + | |
| 61 | +@[expose] public section | |
| 62 | + | |
| 63 | +noncomputable section | |
| 64 | + | |
| 65 | +/-! | |
| 66 | +## Places, completions, adeles and CM fields | |
| 67 | + | |
| 68 | +* `New.𝔸`: the adeles with one factor `ℂ` for each infinite place (meant for totally complex | |
| 69 | + fields). The diagonal embedding `New.toAdele` depends on the choice of embeddings | |
| 70 | + `New.PlaceEmbedding`; `New.CMType` is a CM number field with such a choice. | |
| 71 | +* For a CM field, `star` is complex conjugation on the integers and the places, and `New.conjLoc` | |
| 72 | + is the map that it induces between the completions at conjugate places; | |
| 73 | + `New.HasPrimitiveRoot5040` is the class of CM fields that contain a primitive root of unity of | |
| 74 | + order `5040`. | |
| 75 | +-/ | |
| 76 | + | |
| 77 | +section AdeleDefs | |
| 78 | + | |
| 79 | +open NumberField Ideal IsDedekindDomain Filter Valued IsCMField RestrictedProduct Set | |
| 80 | + IsLocalRing HeightOneSpectrum WithZeroTopology WithZero adicCompletion | |
| 81 | +open scoped Classical | |
| 82 | + | |
| 83 | +namespace New | |
| 84 | + | |
| 85 | +variable (E : Type*) [Field E] | |
| 86 | + | |
| 87 | +/-- A choice, for each infinite place w of E, of a complex embedding Φ w of E that induces w. -/ | |
| 88 | +class PlaceEmbedding where | |
| 89 | + /-- For each infinite place w, a complex embedding of E. -/ | |
| 90 | + Φ : InfinitePlace E → E →+* ℂ | |
| 91 | + /-- The embedding Φ w induces the place w. -/ | |
| 92 | + mk_Φ (w : InfinitePlace E) : InfinitePlace.mk (Φ w) = w | |
| 93 | + | |
| 94 | +export PlaceEmbedding (Φ mk_Φ) | |
| 95 | + | |
| 96 | +attribute [simp] mk_Φ | |
| 97 | + | |
| 98 | +/-- The chosen complex embedding at an infinite place gives its absolute value. -/ | |
| 99 | +lemma PlaceEmbedding.norm_apply {E : Type*} [Field E] [PlaceEmbedding E] | |
| 100 | + (w : InfinitePlace E) (x : E) : ‖Φ w x‖ = w x := by | |
| 101 | + rw [← InfinitePlace.apply, mk_Φ] | |
| 102 | + | |
| 103 | +/-- The absolute value of a complex embedding agrees with that of the chosen embedding | |
| 104 | +at its infinite place. -/ | |
| 105 | +lemma PlaceEmbedding.norm_mk_eq {E : Type*} [Field E] [PlaceEmbedding E] | |
| 106 | + (φ : E →+* ℂ) (x : E) : ‖Φ (InfinitePlace.mk φ) x‖ = ‖φ x‖ := | |
| 107 | + norm_apply _ _ | |
| 108 | + | |
| 109 | +instance (priority := low) : PlaceEmbedding E where | |
| 110 | + Φ := InfinitePlace.embedding | |
| 111 | + mk_Φ := InfinitePlace.mk_embedding | |
| 112 | + | |
| 113 | +/-- A CM number field E together with a choice, for each infinite place w of E, of a complex | |
| 114 | +embedding of E that induces w. | |
| 115 | +So `[CMType E]` includes the hypothesis that E is a CM number field. -/ | |
| 116 | +class CMType extends NumberField E, IsCMField E, PlaceEmbedding E | |
| 117 | + | |
| 118 | +variable [NumberField E] | |
| 119 | + | |
| 120 | +/-- A number field is integral over `ℚ`. The instance `Star E` on a CM field needs this fact, and | |
| 121 | +instance search is too slow to find it. -/ | |
| 122 | +instance isIntegral_rat : Algebra.IsIntegral ℚ E := .of_finite ℚ E | |
| 123 | + | |
| 124 | +/-- The set of finite places of E, that is, nonzero prime ideals of its ring of integers. -/ | |
| 125 | +abbrev FinPlace : Type _ := HeightOneSpectrum (𝓞 E) | |
| 126 | + | |
| 127 | +/-- The ring of finite adeles of the number field E. -/ | |
| 128 | +abbrev 𝔸f : Type _ := FiniteAdeleRing (𝓞 E) E | |
| 129 | + | |
| 130 | +instance : DecidableEq (InfinitePlace E) := Classical.decEq _ | |
| 131 | + | |
| 132 | +/-- The product of one copy of ℂ for each infinite place of E with the finite adeles of E. It is the | |
| 133 | +adele ring of E when E is totally complex. -/ | |
| 134 | +abbrev 𝔸 : Type _ := (InfinitePlace E → ℂ) × 𝔸f E | |
| 135 | + | |
| 136 | +variable {E} (w : FinPlace E) | |
| 137 | + | |
| 138 | +/-- The diagonal embedding of E in its adeles, given at the infinite places by the embeddings chosen | |
| 139 | +in `New.PlaceEmbedding`. -/ | |
| 140 | +@[simps! apply_fst apply_snd] | |
| 141 | +def toAdele [PlaceEmbedding E] : E →+* 𝔸 E := RingHom.prod (RingHom.pi Φ) (algebraMap E (𝔸f E)) | |
| 142 | + | |
| 143 | +-- An element of `E` is read as an adele and as a finite adele, by the diagonal embeddings. | |
| 144 | +instance [PlaceEmbedding E] : Coe E (𝔸 E) := ⟨toAdele⟩ | |
| 145 | + | |
| 146 | +instance : Coe E (𝔸f E) := ⟨algebraMap E (𝔸f E)⟩ | |
| 147 | + | |
| 148 | +/-- The completion E_w of E at the finite place w. -/ | |
| 149 | +abbrev LocField : Type _ := w.adicCompletion E | |
| 150 | + | |
| 151 | +/-- The ring of integers of the completion E_w of E at the finite place w. -/ | |
| 152 | +abbrev LocInt : ValuationSubring (adicCompletion E w) := w.adicCompletionIntegers E | |
| 153 | + | |
| 154 | +instance : CommSemiring (LocInt w) := CommRing.toCommSemiring | |
| 155 | + | |
| 156 | +/-- The residue field of the completion E_w of E at the finite place w. -/ | |
| 157 | +@[instance_reducible] | |
| 158 | +def ResField : Type _ := IsLocalRing.ResidueField (LocInt w) | |
| 159 | + deriving Field, Algebra (𝓞 E) | |
| 160 | + | |
| 161 | +/-- The absolute norm of the prime ideal w, that is, the order of its residue field. -/ | |
| 162 | +abbrev FinPlace.q : ℕ := w.asIdeal.absNorm | |
| 163 | + | |
| 164 | +@[simp] lemma FinPlace.one_lt_q : 1 < w.q := one_lt_absNorm w | |
| 165 | + | |
| 166 | +/-- For any finite place `w`, `w.q - 1` is strictly positive. -/ | |
| 167 | +lemma FinPlace.q_sub_one_pos : 0 < w.q - 1 := Nat.sub_pos_of_lt w.one_lt_q | |
| 168 | + | |
| 169 | +/-- For any finite place `w`, `w.q` is at least 1. -/ | |
| 170 | +lemma FinPlace.one_le_q : 1 ≤ w.q := w.one_lt_q.le | |
| 171 | + | |
| 172 | +/-- For any finite place `w`, the cardinality `w.q` of the residue field is strictly positive. -/ | |
| 173 | +lemma FinPlace.q_pos : 0 < w.q := zero_lt_one.trans w.one_lt_q | |
| 174 | + | |
| 175 | +lemma FinPlace.q_ne_zero : w.q ≠ 0 := w.q_pos.ne' | |
| 176 | + | |
| 177 | +/-- The four consequences of `1 < w.q` for the order `w.q` of the residue field at `w`, collected | |
| 178 | +for `simp`. -/ | |
| 179 | +@[simp] lemma FinPlace.q_bounds : 0 < w.q - 1 ∧ w.q ≠ 0 ∧ 1 ≤ w.q ∧ 0 < w.q := | |
| 180 | + ⟨w.q_sub_one_pos, w.q_ne_zero, w.one_le_q, w.q_pos⟩ | |
| 181 | + | |
| 182 | +/-- A chosen uniformiser of the completion of E at the finite place w. -/ | |
| 183 | +def uniformizer : (adicCompletion E w)ˣ := | |
| 184 | + -- an element of valuation `exp (-1)`, which is not zero | |
| 185 | + Units.mk0 (w.valuedAdicCompletion_surjective E (exp (-1))).choose (by grind [exp_pos]) | |
| 186 | + | |
| 187 | +/-- The chosen uniformiser at w has valuation exp (-1), the largest value less than 1. -/ | |
| 188 | +@[simp] lemma v_uniformizer : v (uniformizer w).val = exp (-1) := by | |
| 189 | + simpa [uniformizer] using (w.valuedAdicCompletion_surjective E (exp (-1))).choose_spec | |
| 190 | + | |
| 191 | +/-- The ring homomorphism sending a finite adele to its component in E_w. -/ | |
| 192 | +def evalAt : 𝔸f E →+* LocField w := evalRingHom (fun v ↦ LocField v) w | |
| 193 | + | |
| 194 | +@[simp] lemma evalAt_apply (x : 𝔸f E) : evalAt w x = x w := rfl | |
| 195 | + | |
| 196 | +/-- The map sending a in E_w to the finite adele with component a at w and 0 elsewhere, a ring | |
| 197 | +homomorphism that does not preserve 1. -/ | |
| 198 | +def singleAdele : LocField w →ₙ+* 𝔸f E where | |
| 199 | + toFun := RestrictedProduct.single LocInt w | |
| 200 | + map_mul' x y := Subtype.ext (Pi.single_mul w x y) | |
| 201 | + map_zero' := single_zero LocInt w | |
| 202 | + map_add' := single_add LocInt w | |
| 203 | + | |
| 204 | +@[simp] lemma singleAdele_same (x : LocField w) : singleAdele w x w = x := dite_eq_left rfl | |
| 205 | + | |
| 206 | +/-- Evaluating a single-place finite adele at a distinct place gives zero. -/ | |
| 207 | +@[simp] | |
| 208 | +lemma singleAdele_of_ne {v w : FinPlace E} (hv : v ≠ w) (x : LocField w) : singleAdele w x v = 0 := | |
| 209 | + dite_eq_right hv | |
| 210 | + | |
| 211 | +variable (E) in | |
| 212 | +/-- The subring Ô of finite adeles of E that are integral at every finite place: Tau Ceti's | |
| 213 | +integral adeles `FiniteAdeleRing.integralAdeles`, as a subring. -/ | |
| 214 | +def Ô : Subring (𝔸f E) := (FiniteAdeleRing.integralAdeles (𝓞 E) E).toSubring | |
| 215 | + | |
| 216 | +/-- A finite adele x is integral if and only if each of its components has valuation at most 1. -/ | |
| 217 | +lemma mem_Ô {x : 𝔸f E} : x ∈ Ô E ↔ ∀ w : HeightOneSpectrum (𝓞 E), v (x w) ≤ 1 := | |
| 218 | + FiniteAdeleRing.mem_integralAdeles.trans (forall_congr' fun _ ↦ mem_adicCompletionIntegers ..) | |
| 219 | + | |
| 220 | +/-- A finite adele multiplied by an adele supported at `w` is integral exactly when its | |
| 221 | +component at `w` is integral. -/ | |
| 222 | +lemma mul_singleAdele_mem_Ô (z : 𝔸f E) (x : LocField w) : | |
| 223 | + z * singleAdele w x ∈ Ô E ↔ v (x * z w) ≤ 1 := by | |
| 224 | + rw [mem_Ô, ← and_forall_ne w] | |
| 225 | + -- `map_mul` would split `v (x * z w)`, so it is left out. | |
| 226 | + simp +contextual [mul_comm x, -map_mul] | |
| 227 | + | |
| 228 | +/-- Reduction modulo w: the ring homomorphism from the integral finite adeles to the residue | |
| 229 | +field at w. -/ | |
| 230 | +def reduceAt : Ô E →+* ResField w := | |
| 231 | + (residue (LocInt w)).comp | |
| 232 | + (((evalAt w).domRestrict (Ô E)).codRestrict (LocInt w) fun x ↦ mem_Ô.1 x.property w) | |
| 233 | + | |
| 234 | +instance : MeasurableSpace (LocField w) := borel _ | |
| 235 | + | |
| 236 | +instance : BorelSpace (LocField w) := ⟨rfl⟩ | |
| 237 | + | |
| 238 | +-- The finite adeles `𝔸f E` carry Tau Ceti's Borel σ-algebra, local compactness and Polish | |
| 239 | +-- structure (`FiniteAdeleRing.instMeasurableSpace`, `instBorelSpace`, `instLocallyCompactSpace`, | |
| 240 | +-- `instPolishSpace`); the last two use the instance `finite_quotient_asIdeal`. | |
| 241 | + | |
| 242 | +/-- Tau Ceti's Polish structure, as a shortcut: found through `instPolishSpace` inside products | |
| 243 | +such as `(n → InfinitePlace E → ℂ) × (n → 𝔸f E)`, the instance term exceeds | |
| 244 | +`synthInstance.maxSize`. -/ | |
| 245 | +instance : PolishSpace (𝔸f E) := inferInstance | |
| 246 | + | |
| 247 | +/-- Tau Ceti's second countability, as a shortcut, for the same reason. -/ | |
| 248 | +instance : SecondCountableTopology (𝔸f E) := inferInstance | |
| 249 | + | |
| 250 | +/-- The structure of ring with involution on a commutative ring R given by a ring endomorphism | |
| 251 | +whose square is the identity. -/ | |
| 252 | +abbrev starRingOfInvolution {R : Type*} [CommRing R] (star : R →+* R) | |
| 253 | + (star_involutive : Function.Involutive star) : StarRing R where | |
| 254 | + star := star | |
| 255 | + star_involutive := star_involutive | |
| 256 | + star_mul := by grind | |
| 257 | + star_add := by grind | |
| 258 | + | |
| 259 | +variable {K L : Type*} [Field K] [NumberField K] [Field L] [NumberField L] (f : K →+* L) | |
| 260 | + {w : FinPlace K} (x : 𝓞 K) | |
| 261 | + | |
| 262 | +/-! ### Valuations on the completions -/ | |
| 263 | + | |
| 264 | +/-- The valuation v of the completion at w extends the w-adic valuation of K. -/ | |
| 265 | +@[local simp] | |
| 266 | +lemma v_algebraMap_eq_valuation {w : FinPlace K} (x : K) : | |
| 267 | + v (algebraMap K (LocField w) x) = w.valuation K x := | |
| 268 | + valued_coe .. | |
| 269 | + | |
| 270 | +/-- An element of the completion lies in `LocInt w` if and only if its valuation is at most `1`. -/ | |
| 271 | +lemma mem_LocInt {w : FinPlace K} {x : adicCompletion K w} : x ∈ LocInt w ↔ v x ≤ 1 := .rfl | |
| 272 | + | |
| 273 | +/-- On the ring of integers of K, the valuation of the completion at w is the w-adic valuation. -/ | |
| 274 | +lemma v_algebraMap_eq_intValuation : v (algebraMap K (LocField w) x) = w.intValuation x := by | |
| 275 | + simp [valuation_of_algebraMap] | |
| 276 | + | |
| 277 | +/-- If an integer `x` of `K` does not lie in `w.asIdeal`, its completion valuation at `w` is `1`. -/ | |
| 278 | +lemma v_algebraMap_eq_one {w : FinPlace K} {x : 𝓞 K} (hx : x ∉ w.asIdeal) : | |
| 279 | + v (algebraMap K (LocField w) x) = 1 := | |
| 280 | + (v_algebraMap_eq_intValuation x).trans (intValuation_eq_one_iff.2 hx) | |
| 281 | + | |
| 282 | +/-- The valuation on the completion `LocField w` is continuous. -/ | |
| 283 | +@[local fun_prop] lemma continuous_v {w : FinPlace K} : Continuous (v : LocField w → ℤᵐ⁰) := | |
| 284 | + continuous_valuation_of_surjective (w.valuedAdicCompletion_surjective K) | |
| 285 | + | |
| 286 | +/-- Only finitely many finite places of K divide a given nonzero natural number n. -/ | |
| 287 | +lemma finite_natCast_mem (n : ℕ) [NeZero n] : {v : FinPlace K | (n : 𝓞 K) ∈ v.asIdeal}.Finite := by | |
| 288 | + simp [← dvd_span_singleton, finite_factors, NeZero.ne] | |
| 289 | + | |
| 290 | +/-! ### Functoriality in the number field -/ | |
| 291 | + | |
| 292 | +/-- For f: K → L and a finite place w of L, the finite place of K below w: the preimage under f | |
| 293 | +of the prime ideal w. -/ | |
| 294 | +def FinPlace.comap (w : FinPlace L) : FinPlace K := | |
| 295 | + let := f.toAlgebra | |
| 296 | + w.under (𝓞 K) | |
| 297 | + | |
| 298 | +/-- For an extension L/K, the finite place of K below the finite place w of L. -/ | |
| 299 | +abbrev FinPlace.below (K : Type*) [Field K] [Algebra K L] (w : FinPlace L) : FinPlace K := | |
| 300 | + comap (algebraMap K L) w | |
| 301 | + | |
| 302 | +/-- Let `e` be a map with dense range in a space `X`. Two maps `f`, `g` from `X` to a Hausdorff | |
| 303 | +space that are continuous (hypotheses `hf_cont`, `hg_cont`) and agree at every point `e i` | |
| 304 | +(hypothesis `h_agree`) agree at every point `x`. This is the pointwise form of | |
| 305 | +`DenseRange.equalizer`; by default continuity is proved by `fun_prop`. -/ | |
| 306 | +lemma _root_.DenseRange.eq {X Y ι : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T2Space Y] | |
| 307 | + {e : ι → X} (he : DenseRange e) {f g : X → Y} (h_agree : ∀ i : ι, f (e i) = g (e i)) | |
| 308 | + (hf_cont : Continuous f := by fun_prop) (hg_cont : Continuous g := by fun_prop) (x : X) : | |
| 309 | + f x = g x := | |
| 310 | + he.induction_on x (isClosed_eq hf_cont hg_cont) h_agree | |
| 311 | + | |
| 312 | +variable {u : FinPlace K} {w : FinPlace L} | |
| 313 | + | |
| 314 | +/-- For a finite place w of L above the finite place u of K, the continuous extension of | |
| 315 | +`f : K → L` to a homomorphism of the completions at u and at w. -/ | |
| 316 | +@[no_expose] | |
| 317 | +def locMap (h : w.comap f = u) : adicCompletion K u →+* adicCompletion L w := | |
| 318 | + let := f.toAlgebra | |
| 319 | + have : w.asIdeal.LiesOver u.asIdeal := .mk (congrArg HeightOneSpectrum.asIdeal h).symm | |
| 320 | + -- The extension of `f` to the completions from Tau Ceti. | |
| 321 | + u.adicCompletionExtension K L w | |
| 322 | + | |
| 323 | +@[fun_prop] lemma continuous_locMap {u : FinPlace K} {w : FinPlace L} (hw : w.comap f = u) : | |
| 324 | + Continuous (locMap f hw) := | |
| 325 | + let := f.toAlgebra | |
| 326 | + have : w.asIdeal.LiesOver u.asIdeal := .mk (congrArg HeightOneSpectrum.asIdeal hw).symm | |
| 327 | + u.continuous_adicCompletionExtension K L w | |
| 328 | + | |
| 329 | +/-- For a finite place `w` of `L` above the place `u` of `K`, the map of completions `locMap f hw` | |
| 330 | +extends the field homomorphism `f : K →+* L`. -/ | |
| 331 | +@[simp] lemma locMap_algebraMap {u : FinPlace K} {w : FinPlace L} (hw : w.comap f = u) (x : K) : | |
| 332 | + locMap f hw (algebraMap K (adicCompletion K u) x) = | |
| 333 | + algebraMap L (adicCompletion L w) (f x) := by | |
| 334 | + let : Algebra K L := f.toAlgebra | |
| 335 | + have : w.asIdeal.LiesOver u.asIdeal := .mk (congrArg HeightOneSpectrum.asIdeal hw).symm | |
| 336 | + -- `locMap f hw` is Tau Ceti's `adicCompletionExtension`, which extends `f` on `K`. | |
| 337 | + simpa [locMap, algebraMap_adicCompletion] using! u.adicCompletionExtension_coe K L w x | |
| 338 | + | |
| 339 | +/-- Let `f : K →+* L` be an embedding of number fields and `w` a finite place of `L` above the place | |
| 340 | +`u` of `K`. Along the induced map `locMap f hw` of completions, the valuation `v` is raised to some | |
| 341 | +nonzero power `e`. -/ | |
| 342 | +lemma exists_v_locMap_eq_pow {u : FinPlace K} {w : FinPlace L} (hw : w.comap f = u) : | |
| 343 | + ∃ e : ℕ, e ≠ 0 ∧ ∀ x : adicCompletion K u, v (locMap f hw x) = v x ^ e := by | |
| 344 | + let : Algebra K L := f.toAlgebra | |
| 345 | + have : w.asIdeal.LiesOver u.asIdeal := .mk (congrArg HeightOneSpectrum.asIdeal hw).symm | |
| 346 | + -- Take for `e` the ramification index of `w` over `u` in Tau Ceti's valuation formula | |
| 347 | + -- (`valued_adicCompletionExtension`), which is nonzero since `w` lies over the prime `u`. | |
| 348 | + exact ⟨u.asIdeal.ramificationIdx' w.asIdeal, | |
| 349 | + IsDedekindDomain.ramificationIdx'_ne_zero_of_liesOver w.asIdeal u.ne_bot, | |
| 350 | + u.valued_adicCompletionExtension K L w⟩ | |
| 351 | + | |
| 352 | +attribute [irreducible] locMap | |
| 353 | + | |
| 354 | +/-- The map of completions induced by a field homomorphism preserves and reflects integrality. -/ | |
| 355 | +@[simp] lemma v_locMap_le_one_iff {u : FinPlace K} {w : FinPlace L} (hw : w.comap f = u) | |
| 356 | + {x : adicCompletion K u} : v (locMap f hw x) ≤ 1 ↔ v x ≤ 1 := by | |
| 357 | + obtain ⟨e, he, h_pow⟩ := exists_v_locMap_eq_pow f hw | |
| 358 | + rw [h_pow x, pow_le_one_iff he] | |
| 359 | + | |
| 360 | +/-- The pullback of the valuation at w along the map of completions is equivalent to the valuation | |
| 361 | +at the place u below w. -/ | |
| 362 | +lemma isEquiv_comap_locMap {u : FinPlace K} {w : FinPlace L} (hw : w.comap f = u) : | |
| 363 | + (v.comap (locMap f hw)).IsEquiv v := | |
| 364 | + Valuation.isEquiv_of_val_le_one (by simp) | |
| 365 | + | |
| 366 | +/-- If some value `log v (locMap f hw z)` is `±1`, then the map of completions `locMap f hw` induced | |
| 367 | +by f: K → L at a place w above u preserves the valuation. -/ | |
| 368 | +lemma v_locMap_eq_of_isUnit_log {u : FinPlace K} {w : FinPlace L} (hw : w.comap f = u) | |
| 369 | + (h_unit : ∃ z : adicCompletion K u, IsUnit (v (locMap f hw z)).log) (x : adicCompletion K u) : | |
| 370 | + v (locMap f hw x) = v x := by | |
| 371 | + -- the valuation is raised to a power `e` that divides a unit of `ℤ`, so `e = 1` | |
| 372 | + obtain ⟨e, -, h_pow⟩ := exists_v_locMap_eq_pow f hw | |
| 373 | + obtain ⟨z, hz⟩ := h_unit | |
| 374 | + have h_mul : IsUnit (e * (v z).log) := by simpa [h_pow] using hz | |
| 375 | + obtain rfl : e = 1 := by simpa [Int.ofNat_isUnit] using isUnit_of_mul_isUnit_left h_mul | |
| 376 | + rw [h_pow, pow_one] | |
| 377 | + | |
| 378 | +/-- For a surjective field homomorphism f, the map of completions preserves the valuation. -/ | |
| 379 | +lemma v_locMap_eq_of_surjective {u : FinPlace K} {w : FinPlace L} (hw : w.comap f = u) | |
| 380 | + (hf : Function.Surjective f) : ∀ x : adicCompletion K u, v (locMap f hw x) = v x := by | |
| 381 | + -- as `f` is onto, `v ∘ locMap f hw` takes the value `exp 1`, whose logarithm is a unit of `ℤ` | |
| 382 | + obtain ⟨a, ha⟩ : ∃ a : K, w.valuation L (f a) = exp 1 := (w.valuation_surjective L).comp hf _ | |
| 383 | + exact v_locMap_eq_of_isUnit_log f hw ⟨algebraMap K (adicCompletion K u) a, by simp [ha]⟩ | |
| 384 | + | |
| 385 | +omit [NumberField K] in | |
| 386 | +/-- The map taking a place of L to the place of K below it along f: K → L tends to the cofinite | |
| 387 | +filter along the cofinite filter, as its fibres are finite. -/ | |
| 388 | +lemma tendsto_place_comap_cofinite : Tendsto (FinPlace.comap f) cofinite cofinite := by | |
| 389 | + -- the places above `u` divide the nonzero ideal generated by `u`, so they are finitely many | |
| 390 | + let : Algebra K L := f.toAlgebra | |
| 391 | + exact tendsto_under_cofinite (𝓞 K) (𝓞 L) | |
| 392 | + | |
| 393 | +/-- For an embedding f: K → L of number fields, the induced ring homomorphism from the finite | |
| 394 | +adeles of K to those of L; it gives base change and the Galois action. -/ | |
| 395 | +def adeleMap : 𝔸f K →+* 𝔸f L := | |
| 396 | + mapAlongRingHom LocField LocField (FinPlace.comap f) (tendsto_place_comap_cofinite f) | |
| 397 | + (fun _ ↦ locMap f rfl) (by simp [MapsTo, mem_LocInt]) | |
| 398 | + | |
| 399 | +variable (K L) in | |
| 400 | +/-- For an extension of number fields L over K, the inclusion of the finite adeles of K in those | |
| 401 | +of L. -/ | |
| 402 | +abbrev finAdeleIncl [Algebra K L] : 𝔸f K →+* 𝔸f L := adeleMap (algebraMap K L) | |
| 403 | + | |
| 404 | +/-- The component at w of the image of a finite adele x is the image of the component of x at the | |
| 405 | +place u below w. -/ | |
| 406 | +lemma adeleMap_apply {u : FinPlace K} {w : FinPlace L} (hw : w.comap f = u) (x : 𝔸f K) : | |
| 407 | + adeleMap f x w = locMap f hw (x u) := by | |
| 408 | + subst hw | |
| 409 | + rfl | |
| 410 | + | |
| 411 | +@[fun_prop] lemma continuous_adeleMap : Continuous (adeleMap f) := | |
| 412 | + mapAlong_continuous LocField LocField (FinPlace.comap f) (tendsto_place_comap_cofinite f) _ | |
| 413 | + (by simp [MapsTo, mem_LocInt]) fun _ ↦ continuous_locMap f rfl | |
| 414 | + | |
| 415 | +/-- The homomorphism of finite adeles induced by f extends f. -/ | |
| 416 | +@[simp] lemma adeleMap_algebraMap (x : K) : adeleMap f x = f x := by | |
| 417 | + ext1 w | |
| 418 | + exact (adeleMap_apply f rfl _).trans (locMap_algebraMap f rfl x) | |
| 419 | + | |
| 420 | +/-! ### CM fields: complex conjugation and roots of unity -/ | |
| 421 | + | |
| 422 | +variable [IsCMField E] | |
| 423 | + | |
| 424 | +instance : StarRing (𝓞 E) := starRingOfInvolution (ringOfIntegersComplexConj E) (by aesop_cat) | |
| 425 | + | |
| 426 | +@[simp, norm_cast] lemma coe_star_ringOfIntegers (x : 𝓞 E) : star x = star x.val := rfl | |
| 427 | + | |
| 428 | +/-- A complex embedding φ of a CM field E commutes with complex conjugation: φ (x̄) is the complex | |
| 429 | +conjugate of φ x. -/ | |
| 430 | +@[simp] lemma map_star_complex (φ : E →+* ℂ) (x : E) : φ (star x) = star (φ x) := | |
| 431 | + complexEmbedding_complexConj .. | |
| 432 | + | |
| 433 | +/-- An embedding f : K → L of CM fields commutes with complex conjugation. -/ | |
| 434 | +lemma map_star_CM [IsCMField K] [IsCMField L] (x : K) : f (star x) = star (f x) := by | |
| 435 | + -- apply a complex embedding `φ` of `L`; `map_star_complex` holds for `φ ∘ f` and for `φ` | |
| 436 | + let φ : L →+* ℂ := Φ Classical.ofNonempty | |
| 437 | + exact φ.injective ((map_star_complex (φ.comp f) x).trans (map_star_complex φ (f x)).symm) | |
| 438 | + | |
| 439 | +instance : InvolutiveStar (FinPlace E) where | |
| 440 | + star := comap (starRingEnd (𝓞 E)) star_involutive.surjective | |
| 441 | + star_involutive w := by aesop | |
| 442 | + | |
| 443 | +/-- The finite place w of the CM field E is split over the maximal real subfield: it differs | |
| 444 | +from its complex conjugate. -/ | |
| 445 | +abbrev FinPlace.IsSplit (w : FinPlace E) : Prop := star w ≠ w | |
| 446 | + | |
| 447 | +@[simp] | |
| 448 | +lemma mem_star_place {w : FinPlace E} {x : 𝓞 E} : x ∈ (star w).asIdeal ↔ star x ∈ w.asIdeal := .rfl | |
| 449 | + | |
| 450 | +variable {u w : FinPlace E} (h : star u = w) | |
| 451 | + | |
| 452 | +variable (E) in | |
| 453 | +/-- The CM field `E` contains a primitive root of unity of order `7! = 5040`. Then the integers of | |
| 454 | +`E` contain an element `i` with `i² = -1` and `ī = -i` | |
| 455 | +(`New.HasPrimitiveRoot5040.exists_mul_self_eq_neg_one`), and an element `ω` with `ω + ω̄ = 1` and | |
| 456 | +`ω ω̄ = 2` (`New.HasPrimitiveRoot5040.exists_add_star_eq_one_mul_star_eq_two`). | |
| 457 | +So `y = i ω` has `y - ȳ = i`, a unit | |
| 458 | +(`New.HasPrimitiveRoot5040.exists_isUnit_sub_star`), and `E` is unramified at the finite places | |
| 459 | +over its maximal real subfield `E⁺`. In the comments such a field `E` is called stably unramified. | |
| 460 | +A place over `2` divides exactly one of `ω`, `ω̄`, so it is not fixed by conjugation. -/ | |
| 461 | +class HasPrimitiveRoot5040 [IsCMField E] : Prop where | |
| 462 | + /-- `E` contains a primitive root of unity of order `7! = 5040`. -/ | |
| 463 | + exists_primitive_root : ∃ ζ : E, IsPrimitiveRoot ζ 5040 | |
| 464 | + | |
| 465 | +/-- Complex conjugation `star` inverts the roots of unity in the ring of integers `𝓞 E` of a CM | |
| 466 | +number field `E`. -/ | |
| 467 | +lemma star_mul_self_of_isPrimitiveRoot {n : ℕ} {y : 𝓞 E} (hn : n ≠ 0) | |
| 468 | + (hy : IsPrimitiveRoot y n) : star y * y = 1 := by | |
| 469 | + let u : (𝓞 E)ˣ := (hy.isUnit hn).unit | |
| 470 | + have hu : IsOfFinOrder u := (hy.isUnit_unit hn).isOfFinOrder hn | |
| 471 | + have h_conj : unitsComplexConj E u = u⁻¹ := unitsComplexConj_torsion E ⟨u, hu⟩ | |
| 472 | + calc star y * y = (unitsComplexConj E u * u : (𝓞 E)ˣ) := rfl | |
| 473 | + _ = 1 := by rw [h_conj, inv_mul_cancel, Units.val_one] | |
| 474 | + | |
| 475 | +/-- If the CM field `E` contains a primitive 5040-th root of unity, then its integers contain a | |
| 476 | +primitive `n`-th root of unity for each divisor `n` of `5040`. -/ | |
| 477 | +lemma HasPrimitiveRoot5040.exists_isPrimitiveRoot_of_dvd [HasPrimitiveRoot5040 E] {n : ℕ} | |
| 478 | + (hn : n ∣ 5040) : ∃ y : 𝓞 E, IsPrimitiveRoot y n := by | |
| 479 | + obtain ⟨ζ, hζ⟩ : ∃ ζ : E, IsPrimitiveRoot ζ 5040 := exists_primitive_root | |
| 480 | + obtain ⟨d, hd⟩ : ∃ d : ℕ, 5040 = d * n := exists_eq_mul_left_of_dvd hn | |
| 481 | + exact ⟨hζ.toInteger ^ d, hζ.toInteger_isPrimitiveRoot.pow (by norm_num) hd⟩ | |
| 482 | + | |
| 483 | +/-- If the CM field `E` contains a primitive 5040-th root of unity, then its integers contain a | |
| 484 | +square root of `-1`, and conjugation negates it. -/ | |
| 485 | +lemma HasPrimitiveRoot5040.exists_mul_self_eq_neg_one [HasPrimitiveRoot5040 E] : | |
| 486 | + ∃ i : 𝓞 E, i * i = -1 ∧ star i = -i := by | |
| 487 | + obtain ⟨i, hi⟩ : ∃ i : 𝓞 E, IsPrimitiveRoot i 4 := exists_isPrimitiveRoot_of_dvd (by norm_num) | |
| 488 | + have hi_sq : i ^ 2 = -1 := (hi.pow (by norm_num) rfl).eq_neg_one_of_two_right | |
| 489 | + have h_inv : star i * i = 1 := star_mul_self_of_isPrimitiveRoot (by norm_num) hi | |
| 490 | + exact ⟨i, by grind, by grind⟩ | |
| 491 | + | |
| 492 | +/-- If the CM field `E` contains a primitive 5040-th root of unity, then its integers contain an | |
| 493 | +element of trace `1` and norm `2` over the maximal real subfield, that is, one of the numbers | |
| 494 | +`(1 ± √-7) / 2`. -/ | |
| 495 | +lemma HasPrimitiveRoot5040.exists_add_star_eq_one_mul_star_eq_two [HasPrimitiveRoot5040 E] : | |
| 496 | + ∃ ω : 𝓞 E, ω + star ω = 1 ∧ ω * star ω = 2 := by | |
| 497 | + -- `ω = -(η + η ^ 2 + η ^ 4)`, minus a Gaussian period of a primitive 7th root of unity `η`. | |
| 498 | + obtain ⟨η, hη⟩ : ∃ η : 𝓞 E, IsPrimitiveRoot η 7 := exists_isPrimitiveRoot_of_dvd (by norm_num) | |
| 499 | + have h_pow : η ^ 7 = 1 := hη.pow_eq_one | |
| 500 | + have h_sum : 1 + η + η ^ 2 + η ^ 3 + η ^ 4 + η ^ 5 + η ^ 6 = 0 := by | |
| 501 | + simpa [Finset.sum_range_succ] using hη.geom_sum_eq_zero (by norm_num) | |
| 502 | + have h_inv : star η * η = 1 := star_mul_self_of_isPrimitiveRoot (by norm_num) hη | |
| 503 | + have h_star : star η = η ^ 6 := by linear_combination η ^ 6 * h_inv - star η * h_pow | |
| 504 | + have h_conj : star (-(η + η ^ 2 + η ^ 4)) = -(η ^ 3 + η ^ 5 + η ^ 6) := by | |
| 505 | + simp only [star_neg, star_add, star_pow, h_star] | |
| 506 | + linear_combination (-η ^ 5 - η ^ 3 * (η ^ 14 + η ^ 7 + 1)) * h_pow | |
| 507 | + refine ⟨-(η + η ^ 2 + η ^ 4), ?_, ?_⟩ | |
| 508 | + · linear_combination h_conj - h_sum | |
| 509 | + · linear_combination -(η + η ^ 2 + η ^ 4) * h_conj + h_sum + (3 + η + η ^ 2 + η ^ 3) * h_pow | |
| 510 | + | |
| 511 | +/-- If the CM field `E` contains a primitive 5040-th root of unity, then its ring of integers `𝓞 E` | |
| 512 | +contains a square root `i` of `-1`, negated by complex conjugation `star`, and an element `ω` of | |
| 513 | +trace `1` and norm `2` over the maximal real subfield of `E`. -/ | |
| 514 | +lemma HasPrimitiveRoot5040.exists_mul_self_eq_neg_one_and_mul_star_eq_two [HasPrimitiveRoot5040 E] : | |
| 515 | + ∃ i ω : 𝓞 E, i * i = -1 ∧ star i = -i ∧ ω + star ω = 1 ∧ ω * star ω = 2 := by | |
| 516 | + obtain ⟨i, hi_sq, hi_star⟩ := exists_mul_self_eq_neg_one (E := E) | |
| 517 | + obtain ⟨ω, hω_trace, hω_norm⟩ := exists_add_star_eq_one_mul_star_eq_two (E := E) | |
| 518 | + exact ⟨i, ω, hi_sq, hi_star, hω_trace, hω_norm⟩ | |
| 519 | + | |
| 520 | +/-- If the CM field `E` contains a primitive 5040-th root of unity, then some algebraic integer `y` | |
| 521 | +of `E` differs from its complex conjugate `star y` by a unit. -/ | |
| 522 | +lemma HasPrimitiveRoot5040.exists_isUnit_sub_star [HasPrimitiveRoot5040 E] : | |
| 523 | + ∃ y : 𝓞 E, IsUnit (y - star y) := by | |
| 524 | + obtain ⟨i, hi_sq, hi_star⟩ : ∃ i : 𝓞 E, i * i = -1 ∧ star i = -i := exists_mul_self_eq_neg_one | |
| 525 | + obtain ⟨ω, hω_trace : ω + star ω = 1, -⟩ := exists_add_star_eq_one_mul_star_eq_two (E := E) | |
| 526 | + -- `i * ω - star (i * ω) = i * (ω + star ω) = i`, with inverse `-i` | |
| 527 | + have h_sub : i * ω - star (i * ω) = i := by | |
| 528 | + rw [star_mul', hi_star] | |
| 529 | + linear_combination i * hω_trace | |
| 530 | + exact ⟨i * ω, .of_mul_eq_one (-i) (by rw [h_sub, mul_neg, hi_sq, neg_neg])⟩ | |
| 531 | + | |
| 532 | +/-- For finite places u, w with ū = w, the homomorphism E_u → E_w of completions induced by | |
| 533 | +complex conjugation. -/ | |
| 534 | +def conjLoc : adicCompletion E u →+* adicCompletion E w := | |
| 535 | + locMap (starRingEnd E) (star_eq_iff_star_eq.mp h) | |
| 536 | + | |
| 537 | +@[simp] lemma v_conjLoc {u w : FinPlace E} (h : star u = w) (x : adicCompletion E u) : | |
| 538 | + v (conjLoc h x) = v x := | |
| 539 | + v_locMap_eq_of_surjective _ _ starRingAut.surjective x | |
| 540 | + | |
| 541 | +/-- The valuation of x̄ at the conjugate place w̄ equals the valuation of x at w. -/ | |
| 542 | +@[simp] lemma valuation_star (w : FinPlace E) (x : E) : | |
| 543 | + (star w).valuation E (star x) = w.valuation E x := by | |
| 544 | + have h_map : conjLoc (rfl : star w = star w) (algebraMap E (LocField w) x) = | |
| 545 | + algebraMap E (LocField (star w)) (star x) := locMap_algebraMap (starRingEnd E) _ x | |
| 546 | + rw [← v_algebraMap_eq_valuation (star x), ← h_map, v_conjLoc, v_algebraMap_eq_valuation] | |
| 547 | + | |
| 548 | +end New | |
| 549 | + | |
| 550 | +end AdeleDefs | |
| 551 | + | |
| 552 | +/-! | |
| 553 | +## Topology of local fields and finite adeles | |
| 554 | + | |
| 555 | +* Local fields: the residue field has order `w.q` (`New.card_ResField`), so `New.LocField w` is | |
| 556 | + proper and its ring of integers `New.LocInt w` is compact. | |
| 557 | +* `New.mem_nhds_zero_finAdele_iff`: the sets `N * Ô E`, for `N ≠ 0` natural, are a basis of | |
| 558 | + neighbourhoods of `0`. | |
| 559 | +-/ | |
| 560 | + | |
| 561 | +namespace New | |
| 562 | + | |
| 563 | +open NumberField IsDedekindDomain HeightOneSpectrum WithZero WithZeroTopology IsTopologicalAddGroup | |
| 564 | + Valued integer RestrictedProduct Nat Set Fact IsRightUniformAddGroup IsIntegralClosure IsLocalRing | |
| 565 | + | |
| 566 | +variable {E : Type*} [Field E] [NumberField E] (w : FinPlace E) | |
| 567 | + | |
| 568 | +/-- Two elements of the valuation ring of v have the same residue exactly when the valuation of | |
| 569 | +their difference is less than 1. -/ | |
| 570 | +lemma residue_eq_iff_valuation_sub_lt_one {F Γ : Type*} [Field F] [LinearOrderedCommGroupWithZero Γ] | |
| 571 | + {v : Valuation F Γ} {a b : v.valuationSubring} : | |
| 572 | + residue v.valuationSubring a = residue v.valuationSubring b ↔ v (a - b) < 1 := | |
| 573 | + Ideal.Quotient.eq.trans v.mem_maximalIdeal_iff | |
| 574 | + | |
| 575 | +/-! ### The completions at finite places -/ | |
| 576 | + | |
| 577 | +/-- An algebraic integer x maps to 0 in the residue field at w exactly when x lies in w. -/ | |
| 578 | +@[simp] lemma algebraMap_ResField_eq_zero {w : FinPlace E} {x : 𝓞 E} : | |
| 579 | + algebraMap (𝓞 E) (ResField w) x = 0 ↔ x ∈ w.asIdeal := | |
| 580 | + residue_eq_iff_valuation_sub_lt_one.trans (by simp [valuation_lt_one_iff_mem]) | |
| 581 | + | |
| 582 | +lemma isOpen_v_lt (γ : WithZero (Multiplicative ℤ)) : IsOpen {x : LocField w | v x < γ} := | |
| 583 | + isOpen_lt continuous_v (by fun_prop) | |
| 584 | + | |
| 585 | +/-- Every element of the residue field at w is the residue of an algebraic integer of E. -/ | |
| 586 | +lemma algebraMap_ResField_surjective : Function.Surjective (algebraMap (𝓞 E) (ResField w)) := | |
| 587 | + residue_algebraMap_adicCompletionIntegers_surjective (K := E) w | |
| 588 | + | |
| 589 | +/-- The residue field at w has `w.q` elements, the absolute norm of w. -/ | |
| 590 | +lemma card_ResField : Nat.card (ResField w) = w.q := by | |
| 591 | + rw [FinPlace.q, Ideal.absNorm_eq_natCard] | |
| 592 | + exact (Nat.card_congr (w.residueFieldEquivAdicCompletionIntegers (K := E)).toEquiv).symm | |
| 593 | + | |
| 594 | +/-- The residue field at a finite place is finite. -/ | |
| 595 | +instance instFiniteResField : Finite (ResField w) := | |
| 596 | + finite_of_card_ne_zero (by simp [card_ResField, w.ne_bot]) | |
| 597 | + | |
| 598 | +instance : ProperSpace (LocField w) := | |
| 599 | + properSpace_iff_completeSpace_and_isDiscreteValuationRing_integer_and_finite_residueField.mpr | |
| 600 | + ⟨inferInstance, v.valuationSubring_isDiscreteValuationRing, instFiniteResField w⟩ | |
| 601 | + | |
| 602 | +/-- The ring of integers of the completion at a finite place is compact. -/ | |
| 603 | +instance compactSpace_LocInt : CompactSpace (LocInt w) := | |
| 604 | + properSpace_iff_compactSpace_integer.mp inferInstance | |
| 605 | + | |
| 606 | +lemma isCompact_LocInt : IsCompact (LocInt w : Set (LocField w)) := | |
| 607 | + isCompact_iff_compactSpace.mpr (compactSpace_LocInt w) | |
| 608 | + | |
| 609 | +instance : CharZero (LocField w) := algebraRat.charZero _ | |
| 610 | + | |
| 611 | +deriving instance PolishSpace for LocField | |
| 612 | + | |
| 613 | +/-! ### The topology of the finite adeles -/ | |
| 614 | + | |
| 615 | +lemma isCompact_Ô : IsCompact (Ô E : Set (𝔸f E)) := | |
| 616 | + FiniteAdeleRing.isCompact_integralAdeles (R := 𝓞 E) (K := E) | |
| 617 | + | |
| 618 | +lemma isOpen_Ô : IsOpen (Ô E : Set (𝔸f E)) := FiniteAdeleRing.isOpen_integralAdeles (𝓞 E) E | |
| 619 | + | |
| 620 | +@[fun_prop] | |
| 621 | +lemma continuous_evalAt : Continuous (evalAt w) := continuous_eval w | |
| 622 | + | |
| 623 | +/-- The map sending a in E_w to the finite adele with component a at w and 0 elsewhere is | |
| 624 | +continuous. -/ | |
| 625 | +@[fun_prop] | |
| 626 | +lemma continuous_singleAdele : Continuous (singleAdele w) := by | |
| 627 | + classical | |
| 628 | + exact TauCeti.continuous_restrictedProduct_single LocInt w | |
| 629 | + | |
| 630 | +/-- An element of `E` that lies in `Ô E`, the finite adeles integral at every finite place, is an | |
| 631 | +algebraic integer, and conversely. -/ | |
| 632 | +@[simp] | |
| 633 | +lemma algebraMap_mem_Ô {x : E} : ↑x ∈ Ô E ↔ IsIntegral ℤ x := | |
| 634 | + (FiniteAdeleRing.algebraMap_mem_integralAdeles_iff (R := 𝓞 E) x).trans isIntegral_iff.symm | |
| 635 | + | |
| 636 | +/-- The image of an algebraic integer in the finite adeles is integral at every finite place. -/ | |
| 637 | +lemma coe_mem_Ô (a : 𝓞 E) : ↑a ∈ Ô E := algebraMap_mem_Ô.2 a.isIntegral_coe | |
| 638 | + | |
| 639 | +lemma isUnit_natCast_finAdele {d : ℕ} (hd : d ≠ 0) : IsUnit (d : 𝔸f E) := | |
| 640 | + mod_cast (cast_ne_zero.mpr hd).isUnit.map (algebraMap E (𝔸f E)) | |
| 641 | + | |
| 642 | +variable (E) in | |
| 643 | +/-- Let M be a module over the finite adeles of E with a topology making scalar multiplication | |
| 644 | +continuous. For K compact and U a neighbourhood of 0 in M, some nonzero natural number N has | |
| 645 | +Nx in U for all x in K. -/ | |
| 646 | +lemma exists_natCast_smul_mem_of_isCompact {M : Type*} [AddCommMonoid M] [Module (𝔸f E) M] | |
| 647 | + [TopologicalSpace M] [ContinuousSMul (𝔸f E) M] {K U : Set M} (hK : IsCompact K) | |
| 648 | + (hU : U ∈ nhds 0) : ∃ N : ℕ, N ≠ 0 ∧ ∀ x ∈ K, (N : 𝔸f E) • x ∈ U := by | |
| 649 | + -- Small elements `a` of `Ô E` satisfy `a • K ⊆ U`, and in the compact group `Ô E` the multiples | |
| 650 | + -- `N • 1` come close to `0` for arbitrarily large `N`. | |
| 651 | + have : CompactSpace (Ô E) := isCompact_iff_compactSpace.1 isCompact_Ô | |
| 652 | + have h_cont : Continuous fun p : Ô E × M ↦ (p.1 : 𝔸f E) • p.2 := by fun_prop | |
| 653 | + have h_small : ∀ᶠ a : Ô E in nhds 0, ∀ x ∈ K, a.val • x ∈ U := | |
| 654 | + hK.eventually_forall_of_forall_eventually fun x _ ↦ h_cont.tendsto' (0, x) 0 (by simp) hU | |
| 655 | + have h_freq : ∃ᶠ N : ℕ in .atTop, ∀ x ∈ K, (N • (1 : Ô E)).val • x ∈ U := | |
| 656 | + (mapClusterPt_zero_atTop_nsmul _).frequently h_small | |
| 657 | + obtain ⟨N, hN, hN_mem⟩ := h_freq.forall_exists_of_atTop 1 | |
| 658 | + exact ⟨N, one_le_iff_ne_zero.1 hN, fun x hx ↦ by simpa using hN_mem x hx⟩ | |
| 659 | + | |
| 660 | +/-- A set `U` is a neighbourhood of `0` in the finite adeles `𝔸f E` exactly when it contains | |
| 661 | +`N * Ô E` for some nonzero natural number `N`, where `Ô E` is the ring of integral finite adeles. -/ | |
| 662 | +lemma mem_nhds_zero_finAdele_iff {U : Set (𝔸f E)} : | |
| 663 | + U ∈ nhds 0 ↔ ∃ N : ℕ, N ≠ 0 ∧ ∀ x ∈ Ô E, (N : 𝔸f E) * x ∈ U := by | |
| 664 | + refine ⟨exists_natCast_smul_mem_of_isCompact (E := E) isCompact_Ô, fun ⟨N, hN, hU⟩ ↦ ?_⟩ | |
| 665 | + -- `N` is a unit of the finite adeles, so `N * Ô E` is an open set that contains `0`. | |
| 666 | + have h_nhds : (fun x : 𝔸f E ↦ (N : 𝔸f E) • x) '' Ô E ∈ nhds 0 := | |
| 667 | + ((isUnit_natCast_finAdele hN).isOpenMap_smul _ isOpen_Ô).mem_nhds ⟨0, zero_mem _, smul_zero _⟩ | |
| 668 | + exact Filter.mem_of_superset h_nhds (forall_mem_image.2 hU) | |
| 669 | + | |
| 670 | +/-- Finitely many finite adeles are carried into Ô E by one nonzero natural number. -/ | |
| 671 | +lemma exists_forall_mul_mem_Ô {ι : Sort*} [Finite ι] (x : ι → 𝔸f E) : | |
| 672 | + ∃ N : ℕ, N ≠ 0 ∧ ∀ i : ι, (N : 𝔸f E) * x i ∈ Ô E := by | |
| 673 | + simpa using exists_natCast_smul_mem_of_isCompact E (finite_range x).isCompact | |
| 674 | + (isOpen_Ô.mem_nhds (zero_mem _)) | |
| 675 | + | |
| 676 | +/-- Let `c ≠ 0` be a natural number. Every finite adele `y₀` of a number field `E` has a | |
| 677 | +neighbourhood `U` such that `(x - x') / c` is integral for any two elements `x`, `x'` of `E` whose | |
| 678 | +images lie in `U`. -/ | |
| 679 | +lemma exists_mem_nhds_isIntegral_sub_div {E : Type*} [Field E] [NumberField E] (y₀ : 𝔸f E) {c : ℕ} | |
| 680 | + (hc : c ≠ 0) : | |
| 681 | + ∃ U ∈ nhds y₀, ∀ x x' : E, algebraMap E (𝔸f E) x ∈ U → algebraMap E (𝔸f E) x' ∈ U → | |
| 682 | + IsIntegral ℤ ((x - x') / c) := by | |
| 683 | + -- Take for `U` the adeles `y₀ + c z` with `z` integral. | |
| 684 | + let U : Set (𝔸f E) := {y | ∃ z ∈ Ô E, y - y₀ = c * z} | |
| 685 | + have h_zero : {y : 𝔸f E | ∃ z ∈ Ô E, y = c * z} ∈ nhds 0 := | |
| 686 | + mem_nhds_zero_finAdele_iff.mpr ⟨c, hc, fun z hz ↦ ⟨z, hz, rfl⟩⟩ | |
| 687 | + have hU : U ∈ nhds y₀ := (continuous_sub_right y₀).tendsto' y₀ 0 (sub_self y₀) h_zero | |
| 688 | + refine ⟨U, hU, fun x x' ⟨z, hz, hx⟩ ⟨z', hz', hx'⟩ ↦ algebraMap_mem_Ô.mp ?_⟩ | |
| 689 | + have h_mul : (c : 𝔸f E) * algebraMap E (𝔸f E) ((x - x') / c) = c * (z - z') := by | |
| 690 | + rw [← map_natCast (algebraMap E (𝔸f E)), ← map_mul, mul_div_cancel₀ _ (mod_cast hc)] | |
| 691 | + simp [mul_sub, ← hx, ← hx'] | |
| 692 | + rw [(isUnit_natCast_finAdele hc).mul_left_cancel h_mul] | |
| 693 | + exact sub_mem hz hz' | |
| 694 | + | |
| 695 | +/-- A finite adele x equals c y for some y in `Ô E`, that is, integral at every finite place, if and | |
| 696 | +only if v (x w) ≤ v (c w) at every finite place w. -/ | |
| 697 | +lemma exists_eq_mul_iff_v_le {x c : 𝔸f E} : | |
| 698 | + (∃ y ∈ Ô E, x = c * y) ↔ ∀ w : HeightOneSpectrum (𝓞 E), v (x w) ≤ v (c w) := by | |
| 699 | + refine ⟨?_, fun h_le ↦ ?_⟩ | |
| 700 | + · rintro ⟨y, hy, rfl⟩ w | |
| 701 | + simpa using mul_le_of_le_one_right' (a := v (c w)) (mem_Ô.1 hy w) | |
| 702 | + -- At each place the inequality gives a local integer `a w` with `a w * c w = x w`. | |
| 703 | + have h_local (w : FinPlace E) : ∃ a : LocInt w, (a : LocField w) * c w = x w := | |
| 704 | + (v.isEquiv_valuation_valuationSubring (x w) (c w)).1 (h_le w) | |
| 705 | + choose a ha using h_local | |
| 706 | + refine ⟨structureMap LocField (fun w ↦ LocInt w) .cofinite a, | |
| 707 | + mem_Ô.2 fun w ↦ (a w).property, ext _ _ fun w ↦ ?_⟩ | |
| 708 | + exact ((mul_comm _ _).trans (ha w)).symm | |
| 709 | + | |
| 710 | +/-- The algebra structure of the subalgebra `FiniteAdeleRing.integralAdeles`. -/ | |
| 711 | +instance : Algebra (𝓞 E) (Ô E) := | |
| 712 | + inferInstanceAs (Algebra (𝓞 E) (FiniteAdeleRing.integralAdeles (𝓞 E) E)) | |
| 713 | + | |
| 714 | +@[simp] | |
| 715 | +lemma coe_algebraMap_Ô (x : 𝓞 E) : (algebraMap (𝓞 E) (Ô E) x).val = ↑x := rfl | |
| 716 | + | |
| 717 | +/-! ### Density of `𝓞 E` and `E`, and complex conjugation -/ | |
| 718 | + | |
| 719 | +/-- The algebraic integers of `E` are dense in `Ô E`, the ring of finite adeles that are integral at | |
| 720 | +every finite place. -/ | |
| 721 | +lemma denseRange_algebraMap_Ô : DenseRange (algebraMap (𝓞 E) (Ô E)) := | |
| 722 | + FiniteAdeleRing.denseRange_algebraMap_integralAdeles (𝓞 E) E | |
| 723 | + | |
| 724 | +/-- For a nonzero algebraic integer a, every integral finite adele x (an element of the ring `Ô E` | |
| 725 | +of finite adeles integral at every finite place) is congruent modulo a to an algebraic integer b. -/ | |
| 726 | +lemma exists_dvd_algebraMap_sub {a : 𝓞 E} (ha : a ≠ 0) (x : Ô E) : | |
| 727 | + ∃ b : 𝓞 E, algebraMap (𝓞 E) (Ô E) a ∣ algebraMap (𝓞 E) (Ô E) b - x := by | |
| 728 | + -- Apply density modulo the completed principal ideal, then reverse the difference. | |
| 729 | + obtain ⟨b, hb⟩ := FiniteAdeleRing.exists_sub_mem_completedIdeal (K := E) | |
| 730 | + (N := Ideal.span {a}) (by simpa only [ne_eq, Ideal.span_singleton_eq_bot] using ha) x | |
| 731 | + rw [FiniteAdeleRing.completedIdeal_def, Ideal.map_span, Set.image_singleton, | |
| 732 | + Ideal.mem_span_singleton] at hb | |
| 733 | + refine ⟨b, ?_⟩ | |
| 734 | + rwa [← neg_sub x, dvd_neg] | |
| 735 | + | |
| 736 | +/-- The number field `E` is dense in its ring `𝔸f E` of finite adeles (strong approximation). -/ | |
| 737 | +lemma denseRange_algebraMap_finAdele : DenseRange ((↑) : E → 𝔸f E) := | |
| 738 | + FiniteAdeleRing.denseRange_algebraMap (𝓞 E) E | |
| 739 | + | |
| 740 | +/-- Every finite adele is the sum of an element of `E` and an integral finite adele. -/ | |
| 741 | +lemma exists_sub_mem_Ô (x : 𝔸f E) : ∃ a : E, x - a ∈ Ô E := | |
| 742 | + denseRange_algebraMap_finAdele.exists_mem_open (isOpen_Ô.preimage (by fun_prop)) ⟨x, by simp⟩ | |
| 743 | + | |
| 744 | +variable [IsCMField E] | |
| 745 | + | |
| 746 | +instance : StarRing (𝔸f E) := | |
| 747 | + -- conjugation is an involution on `E`, which is dense | |
| 748 | + starRingOfInvolution (adeleMap (starRingEnd E)) | |
| 749 | + (denseRange_algebraMap_finAdele.eq fun x : E ↦ by simp) | |
| 750 | + | |
| 751 | +/-- For a CM field `E`, the component of `star x` at the finite place `w` is the conjugate, by the | |
| 752 | +map of completions `conjLoc`, of the component of `x` at the conjugate place `star w`. -/ | |
| 753 | +@[simp] | |
| 754 | +lemma finAdele_star_apply (x : 𝔸f E) : star x w = conjLoc (star_star w) (x (star w)) := rfl | |
| 755 | + | |
| 756 | +instance : ContinuousStar (𝔸f E) := ⟨continuous_adeleMap _⟩ | |
| 757 | + | |
| 758 | +/-- Complex conjugation of finite adeles extends that of `E`. -/ | |
| 759 | +@[simp] | |
| 760 | +lemma star_algebraMap_finAdele (x : E) : star (x : 𝔸f E) = ↑(star x) := | |
| 761 | + adeleMap_algebraMap (starRingEnd E) x | |
| 762 | + | |
| 763 | +/-- Complex conjugation of adeles, given by that of `ℂ` at the infinite places and by `star` on the | |
| 764 | +finite adeles, extends that of the CM field `E` along the diagonal embedding `toAdele`. -/ | |
| 765 | +@[simp] | |
| 766 | +lemma star_toAdele [PlaceEmbedding E] (x : E) : star (toAdele (x : E)) = ↑(star x) := by aesop | |
| 767 | + | |
| 768 | +/-- The integral finite adeles are stable under complex conjugation. -/ | |
| 769 | +lemma star_mem_Ô {x : 𝔸f E} (h_mem : x ∈ Ô E) : star x ∈ Ô E := | |
| 770 | + mem_Ô.2 fun w ↦ by simpa using mem_Ô.1 h_mem (star w) | |
| 771 | + | |
| 772 | +end New | |
| 773 | + | |
| 774 | +/-! | |
| 775 | +## Idempotents of sets of places and units of the integral adeles | |
| 776 | + | |
| 777 | +* `New.idem`: the idempotent of a set of places; `New.isUnit_Ô`: a unit of the integral adeles is | |
| 778 | + an element with valuation `1` at every place. | |
| 779 | +* For a CM field, complex conjugation `star` acts on places and on adeles (through `New.conjLoc`). | |
| 780 | + It carries the valuation at a place to that at the conjugate place, keeps the order of the residue | |
| 781 | + field and permutes the idempotents (`New.v_star_apply`, `New.q_star`, `New.star_idem`). | |
| 782 | +-/ | |
| 783 | + | |
| 784 | +section AdeleIdempotent | |
| 785 | + | |
| 786 | +open NumberField RestrictedProduct Valued StarSubsemiring Ideal | |
| 787 | + | |
| 788 | +namespace New | |
| 789 | + | |
| 790 | +variable {E : Type*} [Field E] [NumberField E] (S : Set (FinPlace E)) (x y : 𝔸f E) (w : FinPlace E) | |
| 791 | + | |
| 792 | +/-! ### Components of finite adeles | |
| 793 | + | |
| 794 | +Tau Ceti's `FiniteAdeleRing.zero_apply`, `one_apply`, `add_apply`, `sub_apply` and `mul_apply` | |
| 795 | +cover the other ring operations. -/ | |
| 796 | + | |
| 797 | +@[simp] | |
| 798 | +lemma finAdele_neg_apply : (-x) w = -x w := rfl | |
| 799 | + | |
| 800 | +@[simp] | |
| 801 | +lemma finAdele_pow_apply (k : ℕ) : (x ^ k) w = x w ^ k := rfl | |
| 802 | + | |
| 803 | +@[simp] | |
| 804 | +lemma finAdele_natCast_apply (k : ℕ) : (k : 𝔸f E) w = k := rfl | |
| 805 | + | |
| 806 | +/-- The component of the inverse of a finite idele is the inverse of its component, which is | |
| 807 | +nonzero. -/ | |
| 808 | +lemma idele_inv_apply_and_ne_zero (x : (𝔸f E)ˣ) : x⁻¹.val w = (x.val w)⁻¹ ∧ x.val w ≠ 0 := by | |
| 809 | + simp [← evalAt_apply, (x.isUnit.map (evalAt w)).ne_zero] | |
| 810 | + | |
| 811 | +/-! ### Idempotents, reduction and units -/ | |
| 812 | + | |
| 813 | +open scoped Classical in | |
| 814 | +/-- The finite adele with component 1 at the places in S and 0 at the other places. -/ | |
| 815 | +noncomputable def idem : 𝔸f E := ⟨fun w ↦ if w ∈ S then 1 else 0, by simp [ite_mem]⟩ | |
| 816 | + | |
| 817 | +/-- Reduction at `w` of integral finite adeles extends reduction of algebraic integers | |
| 818 | +modulo `w`. -/ | |
| 819 | +@[simp] | |
| 820 | +lemma reduceAt_algebraMap (x : 𝓞 E) : | |
| 821 | + reduceAt w (algebraMap (𝓞 E) (Ô E) x) = algebraMap (𝓞 E) (ResField w) x := rfl | |
| 822 | + | |
| 823 | +open scoped Classical in | |
| 824 | +@[local simp] | |
| 825 | +lemma idem_apply : idem S w = if w ∈ S then 1 else 0 := rfl | |
| 826 | + | |
| 827 | +/-- The adele `idem S`, with components 1 and 0, is integral at every finite place. -/ | |
| 828 | +@[simp] | |
| 829 | +lemma idem_mem_Ô : idem S ∈ Ô E := mem_Ô.2 fun w ↦ by by_cases hw : w ∈ S <;> simp [hw] | |
| 830 | + | |
| 831 | +open scoped Classical in | |
| 832 | +/-- The integral adele `idem S`, with component 1 on the set of places `S` and 0 elsewhere, is sent | |
| 833 | +by `reduceAt w`, reduction to the residue field at `w`, to 1 if `w` is in `S` and to 0 otherwise. -/ | |
| 834 | +@[simp] | |
| 835 | +lemma reduceAt_idem : reduceAt w ⟨idem S, idem_mem_Ô S⟩ = if w ∈ S then 1 else 0 := by | |
| 836 | + -- the component of `idem S` at `w` is `1` or `0` before reduction | |
| 837 | + change IsLocalRing.residue (LocInt w) ⟨idem S w, mem_Ô.1 (idem_mem_Ô S) w⟩ = _ | |
| 838 | + have h_comp : (⟨idem S w, mem_Ô.1 (idem_mem_Ô S) w⟩ : LocInt w) = if w ∈ S then 1 else 0 := | |
| 839 | + Subtype.ext (by simp [apply_ite Subtype.val]) | |
| 840 | + rw [h_comp, apply_ite (IsLocalRing.residue (LocInt w)), map_one, map_zero] | |
| 841 | + | |
| 842 | +lemma idem_mul_self : idem S * idem S = idem S := by aesop | |
| 843 | + | |
| 844 | +lemma idem_compl : idem Sᶜ = 1 - idem S := by aesop | |
| 845 | + | |
| 846 | +/-- For a finitely supported family of integers `d` on the finite places of `E` there is a finite | |
| 847 | +idele (a unit of the finite adeles `𝔸f E`) whose component at each place `w` is the chosen | |
| 848 | +uniformiser `uniformizer w` of the completion at `w` to the power `-d w`. -/ | |
| 849 | +lemma exists_idele_eq_uniformizer_zpow (d : FinPlace E → ℤ) (hd : d.HasFiniteSupport) : | |
| 850 | + ∃ x : (𝔸f E)ˣ, ∀ w : FinPlace E, x.val w = ↑((uniformizer w)⁻¹ ^ d w) := by | |
| 851 | + let t (w : FinPlace E) : (LocField w)ˣ := (uniformizer w)⁻¹ ^ d w | |
| 852 | + -- Outside the support of `d` the component `t w` is `1`, a unit of the local integers. | |
| 853 | + have h_unit : ∀ᶠ w : FinPlace E in .cofinite, t w ∈ (Submonoid.ofClass (LocInt w)).units := by | |
| 854 | + filter_upwards [hd.compl_mem_cofinite] with w hw | |
| 855 | + simp only [t, Function.notMem_support.1 hw, zpow_zero, one_mem] | |
| 856 | + exact ⟨mkUnit t h_unit, fun _ ↦ rfl⟩ | |
| 857 | + | |
| 858 | +variable {S x w} | |
| 859 | + | |
| 860 | +@[simp] | |
| 861 | +lemma idem_of_mem (hw : w ∈ S) : idem S w = 1 := ite_eq_left hw | |
| 862 | + | |
| 863 | +@[simp] | |
| 864 | +lemma idem_of_notMem (hw : w ∉ S) : idem S w = 0 := ite_eq_right hw | |
| 865 | + | |
| 866 | +/-- The product `idem S * x` is an integral finite adele if and only if `x` is integral at every | |
| 867 | +place in `S`. -/ | |
| 868 | +lemma idem_mul_mem_Ô : idem S * x ∈ Ô E ↔ ∀ w ∈ S, v (x w) ≤ 1 := by | |
| 869 | + refine mem_Ô.trans (forall_congr' fun w ↦ ?_) | |
| 870 | + by_cases hw : w ∈ S <;> simp [hw] | |
| 871 | + | |
| 872 | +/-- The reduction at `w` of an integral finite adele vanishes if and only if its component at `w` | |
| 873 | +has valuation less than 1. -/ | |
| 874 | +@[simp] | |
| 875 | +lemma reduceAt_eq_zero {x : Ô E} : reduceAt w x = 0 ↔ v (x.val w) < 1 := by | |
| 876 | + -- Unfolding `reduceAt` first lets `residue_eq_iff_valuation_sub_lt_one` match directly. | |
| 877 | + have h_residue : reduceAt w x = reduceAt w 0 ↔ v (x.val w - (0 : Ô E).val w) < 1 := by | |
| 878 | + rw [reduceAt, RingHom.comp_apply, RingHom.comp_apply] | |
| 879 | + exact residue_eq_iff_valuation_sub_lt_one | |
| 880 | + simpa using h_residue | |
| 881 | + | |
| 882 | +/-- An element `x` of `Ô E`, the ring of finite adeles integral at every finite place, is a unit of | |
| 883 | +`Ô E` if and only if its component has valuation 1 at every finite place. -/ | |
| 884 | +@[simp] | |
| 885 | +lemma isUnit_Ô {x : Ô E} : | |
| 886 | + IsUnit x ↔ ∀ w : IsDedekindDomain.HeightOneSpectrum (𝓞 E), v (x.val w) = 1 := by | |
| 887 | + calc IsUnit x | |
| 888 | + _ ↔ ∃ y ∈ Ô E, 1 = x.val * y := by simp [isUnit_iff_dvd_one, dvd_def, Subtype.ext_iff] | |
| 889 | + _ ↔ ∀ w : FinPlace E, 1 ≤ v (x.val w) := by simp [exists_eq_mul_iff_v_le] | |
| 890 | + _ ↔ ∀ w : FinPlace E, v (x.val w) = 1 := by simp [le_antisymm_iff, mem_Ô.1 x.property] | |
| 891 | + | |
| 892 | +variable [IsCMField E] (x : 𝔸f E) (w : FinPlace E) | |
| 893 | + | |
| 894 | +noncomputable instance : StarRing (Ô E) := starRing ⟨_, star_mem_Ô⟩ | |
| 895 | + | |
| 896 | +/-! ### Complex conjugation -/ | |
| 897 | + | |
| 898 | +@[simp, norm_cast] | |
| 899 | +lemma coe_star_Ô (x : Ô E) : (star x : Ô E) = star x.val := rfl | |
| 900 | + | |
| 901 | +/-- The valuation of a conjugate adele at a place is that of the adele at the conjugate place. -/ | |
| 902 | +@[simp] | |
| 903 | +lemma v_star_apply : v (star x w) = v (x (star w)) := by simp | |
| 904 | + | |
| 905 | +/-- Conjugate places have residue fields of the same order. -/ | |
| 906 | +@[simp] | |
| 907 | +lemma q_star : (star w).q = w.q := by | |
| 908 | + -- conjugation of `𝓞 E` induces a bijection of the quotients by the two prime ideals | |
| 909 | + rw [FinPlace.q, FinPlace.q, Ideal.absNorm_eq_natCard, Ideal.absNorm_eq_natCard] | |
| 910 | + exact Nat.card_eq_of_bijective _ | |
| 911 | + ⟨quotientMap_injective, quotientMap_surjective starRingAut.surjective⟩ | |
| 912 | + | |
| 913 | +/-- Complex conjugation carries the idempotent of a set of places to that of its conjugate. -/ | |
| 914 | +lemma star_idem (S : Set (FinPlace E)) : star (idem S : 𝔸f E) = idem (star ⁻¹' S) := by aesop | |
| 915 | + | |
| 916 | +/-- If `w` is the conjugate of the place `u`, complex conjugation carries the adele supported at | |
| 917 | +`u` with component `x` to the adele supported at `w` with component the conjugate of `x`. -/ | |
| 918 | +lemma star_singleAdele {u w : FinPlace E} (huw : star u = w) (x : LocField u) : | |
| 919 | + star (singleAdele u x) = singleAdele w (conjLoc huw x) := by | |
| 920 | + -- Write `u` as `star w` and compare components. | |
| 921 | + obtain rfl : star w = u := by rw [← huw, star_star] | |
| 922 | + ext v | |
| 923 | + obtain rfl | hv := eq_or_ne v w | |
| 924 | + · simp | |
| 925 | + · simp [hv, star_injective.ne hv] | |
| 926 | + | |
| 927 | +end New | |
| 928 | + | |
| 929 | +end AdeleIdempotent | |
| 930 | + | |
| 931 | +/-! | |
| 932 | +## Functoriality under embeddings of number fields | |
| 933 | + | |
| 934 | +* `New.FinPlace.comap_surjective`: every place has a place above it. | |
| 935 | + | |
| 936 | +Identities between adelic maps are checked on the field, which is dense | |
| 937 | +(`New.denseRange_algebraMap_finAdele`). | |
| 938 | +-/ | |
| 939 | + | |
| 940 | +section AdeleMap | |
| 941 | + | |
| 942 | +open NumberField | |
| 943 | + | |
| 944 | +namespace New | |
| 945 | + | |
| 946 | +variable {K L M : Type*} [Field K] [NumberField K] [Field L] [Field M] | |
| 947 | + [NumberField M] (g : L →+* M) (f : K →+* L) | |
| 948 | + | |
| 949 | +omit [NumberField K] in | |
| 950 | +/-- An integer of `K` lies in the place below `w` if and only if its image lies in `w`. -/ | |
| 951 | +@[simp] | |
| 952 | +lemma FinPlace.mem_comap {w : FinPlace L} {x : 𝓞 K} : | |
| 953 | + x ∈ (comap f w).asIdeal ↔ RingOfIntegers.mapRingHom f x ∈ w.asIdeal := .rfl | |
| 954 | + | |
| 955 | +/-- The maps of finite adeles induced by embeddings of number fields compose as the embeddings | |
| 956 | +do. -/ | |
| 957 | +@[simp] | |
| 958 | +lemma adeleMap_adeleMap [NumberField L] : | |
| 959 | + ∀ x : 𝔸f K, adeleMap g (adeleMap f x) = adeleMap (g.comp f) x := | |
| 960 | + denseRange_algebraMap_finAdele.eq fun x : K ↦ by simp | |
| 961 | + | |
| 962 | +@[simp] | |
| 963 | +lemma adeleMap_id : ∀ x : 𝔸f K, adeleMap (RingHom.id K) x = x := | |
| 964 | + denseRange_algebraMap_finAdele.eq fun x : K ↦ by simp | |
| 965 | + | |
| 966 | +/-- The maps on finite adeles induced by a field isomorphism and its inverse cancel. -/ | |
| 967 | +lemma adeleMap_ringEquiv_symm_apply_apply [NumberField L] (e : K ≃+* L) (x : 𝔸f K) : | |
| 968 | + adeleMap e.symm.toRingHom (adeleMap e.toRingHom x) = x := by | |
| 969 | + rw [adeleMap_adeleMap, e.symm_toRingHom_comp_toRingHom, adeleMap_id] | |
| 970 | + | |
| 971 | +/-- The Galois action on finite adeles by ring endomorphisms. -/ | |
| 972 | +noncomputable def galAdeleHom [NumberField L] [Algebra K L] : Gal(L/K) →* (𝔸f L →+* 𝔸f L) where | |
| 973 | + toFun σ := adeleMap (σ : L →+* L) | |
| 974 | + map_one' := RingHom.ext (adeleMap_id (K := L)) | |
| 975 | + map_mul' σ τ := RingHom.ext fun x ↦ (adeleMap_adeleMap (σ : L →+* L) (τ : L →+* L) x).symm | |
| 976 | + | |
| 977 | +omit [NumberField K] in | |
| 978 | +/-- For an embedding `f: K →+* L`, every finite place of `K` has a place of `L` above it. -/ | |
| 979 | +lemma FinPlace.comap_surjective : Function.Surjective (comap f) := by | |
| 980 | + -- Lying over: some prime `P` of `𝓞 L` lies over the given prime `p` of `𝓞 K`. | |
| 981 | + rintro ⟨p, p_prime, p_ne_bot⟩ | |
| 982 | + let : Algebra K L := f.toAlgebra | |
| 983 | + obtain ⟨P, P_prime, P_over⟩ := p.nonempty_primesOver (S := 𝓞 L) | |
| 984 | + exact ⟨⟨P, P_prime, Ideal.ne_bot_of_liesOver_of_ne_bot p_ne_bot P⟩, | |
| 985 | + IsDedekindDomain.HeightOneSpectrum.ext P_over.over.symm⟩ | |
| 986 | + | |
| 987 | +variable [NumberField L] | |
| 988 | + | |
| 989 | +open scoped Pointwise in | |
| 990 | +/-- In a Galois extension `L / K`, two finite places `u`, `v` of `L` that lie above the same place | |
| 991 | +of `K` (`u.below K` is the place below `u`) are conjugate: `v` is the preimage of `u` under an | |
| 992 | +element of the Galois group. -/ | |
| 993 | +lemma FinPlace.exists_gal_comap_eq [Algebra K L] [IsGalois K L] {u v : FinPlace L} | |
| 994 | + (h_below : u.below K = v.below K) : ∃ g : Gal(L/K), u.comap g = v := by | |
| 995 | + -- The Galois group is transitive on the primes above a given prime. | |
| 996 | + obtain ⟨σ, hσ⟩ : ∃ σ : Gal(L/K), u.asIdeal = σ • v.asIdeal := | |
| 997 | + IsGaloisGroup.isInvariant.exists_smul_of_under_eq (𝓞 K) (𝓞 L) Gal(L/K) v.asIdeal u.asIdeal | |
| 998 | + (congr_arg IsDedekindDomain.HeightOneSpectrum.asIdeal h_below.symm) | |
| 999 | + use σ | |
| 1000 | + ext x | |
| 1001 | + rw [mem_comap, hσ] | |
| 1002 | + exact Ideal.smul_mem_pointwise_smul_iff | |
| 1003 | + | |
| 1004 | +/-- A finite adele of `K` is integral if and only if its image in the finite adeles of `L` is. -/ | |
| 1005 | +@[simp] | |
| 1006 | +lemma adeleMap_mem_Ô {x : 𝔸f K} : adeleMap f x ∈ Ô L ↔ x ∈ Ô K := by | |
| 1007 | + simp [mem_Ô, adeleMap_apply, (FinPlace.comap_surjective f).forall] | |
| 1008 | + | |
| 1009 | +variable [IsCMField K] [IsCMField L] | |
| 1010 | + | |
| 1011 | +/-- Complex conjugation of the finite adeles of a CM field is the map induced by complex conjugation | |
| 1012 | +of the field. -/ | |
| 1013 | +lemma star_eq_adeleMap (x : 𝔸f K) : star x = adeleMap (starRingEnd K) x := rfl | |
| 1014 | + | |
| 1015 | +/-- For CM fields, the place below the conjugate of `u` is the conjugate of the place below `u`. -/ | |
| 1016 | +lemma below_star [Algebra K L] (u : FinPlace L) : (star u).below K = star (u.below K) := by | |
| 1017 | + ext x | |
| 1018 | + have h_star : RingOfIntegers.mapRingHom (algebraMap K L) (star x) = | |
| 1019 | + star (RingOfIntegers.mapRingHom (algebraMap K L) x) := | |
| 1020 | + RingOfIntegers.ext (map_star_CM (algebraMap K L) x) | |
| 1021 | + simp [h_star] | |
| 1022 | + | |
| 1023 | +/-- For CM fields, the map of finite adeles induced by an embedding commutes with complex | |
| 1024 | +conjugation. -/ | |
| 1025 | +lemma adeleMap_star : ∀ x : 𝔸f K, adeleMap f (star x) = star (adeleMap f x) := | |
| 1026 | + denseRange_algebraMap_finAdele.eq (by simp [map_star_CM]) | |
| 1027 | + | |
| 1028 | +end New | |
| 1029 | + | |
| 1030 | +end AdeleMap | |
| 1031 | + | |
| 1032 | +/-! | |
| 1033 | +## Base change of finite adeles and Galois descent | |
| 1034 | + | |
| 1035 | +Base change of finite adeles along an extension `L / K` of number fields. | |
| 1036 | +-/ | |
| 1037 | + | |
| 1038 | +section AdeleBaseChange | |
| 1039 | + | |
| 1040 | +open Algebra Module Basis IsDedekindDomain NumberField | |
| 1041 | +open scoped TensorProduct | |
| 1042 | + | |
| 1043 | +namespace New | |
| 1044 | + | |
| 1045 | +variable {K L : Type*} [Field K] [NumberField K] [Field L] [NumberField L] | |
| 1046 | + | |
| 1047 | +/-- The map of finite adeles induced by an embedding of number fields is injective. -/ | |
| 1048 | +lemma adeleMap_injective (f : K →+* L) : Function.Injective (adeleMap f) := by | |
| 1049 | + -- Every place of `K` lies under a place of `L`, and maps of completions are injective. | |
| 1050 | + intro x y hxy | |
| 1051 | + ext1 u | |
| 1052 | + obtain ⟨w, hw⟩ := FinPlace.comap_surjective f u | |
| 1053 | + exact (locMap f hw).injective (by rw [← adeleMap_apply, ← adeleMap_apply, hxy]) | |
| 1054 | + | |
| 1055 | +variable [Algebra K L] {ι : Type*} [Fintype ι] (b : Basis ι K L) | |
| 1056 | + | |
| 1057 | +/-- The finite adeles `𝔸f L` are an algebra over `𝔸f K`, via the inclusion `finAdeleIncl K L`. -/ | |
| 1058 | +instance (priority := low) adeleAlgebra : Algebra (𝔸f K) (𝔸f L) := (finAdeleIncl K L).toAlgebra | |
| 1059 | + | |
| 1060 | +@[local simp] | |
| 1061 | +lemma algebraMap_eq_finAdeleIncl : algebraMap (𝔸f K) (𝔸f L) = finAdeleIncl K L := rfl | |
| 1062 | + | |
| 1063 | +/-- For a finite basis b of L over K, the linear map sending a family (a_i) of finite adeles of | |
| 1064 | +K to the finite adele ∑ a_i b_i of L. -/ | |
| 1065 | +abbrev adeleCombination : (ι → 𝔸f K) →ₗ[𝔸f K] 𝔸f L := | |
| 1066 | + Fintype.linearCombination (𝔸f K) ((↑) ∘ b : ι → 𝔸f L) | |
| 1067 | + | |
| 1068 | +/-- On the coordinates of `x : L` in the basis `b`, viewed as adeles of `K`, the map | |
| 1069 | +`New.adeleCombination` returns `x`, viewed as an adele of `L`. -/ | |
| 1070 | +lemma adeleCombination_repr (x : L) : | |
| 1071 | + adeleCombination b (Pi.map (fun _ : ι ↦ ((↑) : K → 𝔸f K)) (b.repr x)) = (x : 𝔸f L) := by | |
| 1072 | + conv_rhs => rw [← b.sum_repr x] | |
| 1073 | + simp [smul_def, Fintype.linearCombination] | |
| 1074 | + | |
| 1075 | +/-- For a finite basis `b` of `L` over `K`, the map `adeleCombination b`, `(a i) ↦ ∑ a i • b i`, | |
| 1076 | +from families of finite adeles of `K` to the finite adeles of `L` is a homeomorphism. | |
| 1077 | + | |
| 1078 | +Known result: base change for the finite adeles of a number field. -/ | |
| 1079 | +lemma isHomeomorph_adeleCombination : IsHomeomorph (adeleCombination b) := by | |
| 1080 | + -- Transport `𝔸f K ⊗[K] L ≃ₜ 𝔸f L` (`finiteAdeleBaseChangeEquiv`) to coordinates in `b`. | |
| 1081 | + have h_incl : finAdeleIncl K L = finiteAdeleExtension (𝓞 K) K (𝓞 L) L := | |
| 1082 | + eq_finiteAdeleExtension_of_continuous (𝓞 K) K (𝓞 L) L | |
| 1083 | + (continuous_adeleMap _) (adeleMap_algebraMap _) | |
| 1084 | + have h_lhs (a : ι → 𝔸f K) : | |
| 1085 | + adeleCombination b a = ∑ i, finiteAdeleExtension (𝓞 K) K (𝓞 L) L (a i) * b i := by | |
| 1086 | + simp [Fintype.linearCombination_apply, smul_def, h_incl] | |
| 1087 | + let _ : TopologicalSpace (𝔸f K ⊗[K] L) := moduleTopology (𝔸f K) (𝔸f K ⊗[K] L) | |
| 1088 | + have : IsModuleTopology (𝔸f K) (𝔸f K ⊗[K] L) := ⟨rfl⟩ | |
| 1089 | + let _ : Algebra (𝔸f K) (𝔸f L) := finiteAdeleExtensionAlgebra (𝓞 K) K (𝓞 L) L | |
| 1090 | + let e₁ : (ι → 𝔸f K) ≃ₜ (𝔸f K ⊗[K] L) := | |
| 1091 | + (TauCeti.ModuleTopology.equivFunHomeomorph (b.baseChange (𝔸f K))).symm | |
| 1092 | + let e₂ : (𝔸f K ⊗[K] L) ≃ₜ 𝔸f L := | |
| 1093 | + (TauCeti.GlobalNumberFields.finiteAdeleBaseChangeEquiv K L).toHomeomorph | |
| 1094 | + have h_eq : (adeleCombination b : (ι → 𝔸f K) → 𝔸f L) = e₁.trans e₂ := by | |
| 1095 | + ext1 a | |
| 1096 | + simp [h_lhs, e₁, show ⇑e₂ = ⇑(TauCeti.GlobalNumberFields.finiteAdeleBaseChangeEquiv K L) from | |
| 1097 | + rfl, equivFun_symm_apply, map_sum, smul_def] | |
| 1098 | + rw [h_eq] | |
| 1099 | + exact (e₁.trans e₂).isHomeomorph | |
| 1100 | + | |
| 1101 | +/-- A finite basis of L over K, viewed as a basis of the finite adeles of L over the finite | |
| 1102 | +adeles of K. -/ | |
| 1103 | +def adeleBasis : Basis ι (𝔸f K) (𝔸f L) := | |
| 1104 | + ofEquivFun | |
| 1105 | + (LinearEquiv.ofBijective (adeleCombination b) (isHomeomorph_adeleCombination b).bijective).symm | |
| 1106 | + | |
| 1107 | +open NumberField IsDedekindDomain TauCeti.GlobalNumberFields in | |
| 1108 | +/-- For `L / K` Galois, a finite adele of `L` comes from one of `K` if and only if it is fixed by | |
| 1109 | +the action of the Galois group on finite adeles. -/ | |
| 1110 | +lemma mem_range_finAdeleIncl_iff [IsGalois K L] {y : 𝔸f L} : | |
| 1111 | + y ∈ (finAdeleIncl K L).range ↔ ∀ σ : Gal(L/K), adeleMap σ y = y := by | |
| 1112 | + have h_fix (σ : Gal(L/K)) : (σ : L →+* L).comp (algebraMap K L) = algebraMap K L := | |
| 1113 | + RingHom.ext σ.commutes | |
| 1114 | + refine ⟨fun ⟨x, hx⟩ σ ↦ by rw [← hx, adeleMap_adeleMap, h_fix], fun hy ↦ ?_⟩ | |
| 1115 | + -- On the dense image of L the two finite-adele actions agree, so (0, y) is fixed. | |
| 1116 | + let a : NumberField.AdeleRing (𝓞 L) L := (0, y) | |
| 1117 | + have h_fixed (σ : Gal(L/K)) : adeleGaloisAction K L σ a = a := by | |
| 1118 | + apply Prod.ext | |
| 1119 | + · simp [a, adeleGaloisAction_fst] | |
| 1120 | + · rw [adeleGaloisAction_snd, finiteAdeleGaloisAction_apply] | |
| 1121 | + exact (denseRange_algebraMap_finAdele.eq | |
| 1122 | + (fun x ↦ by simp [finiteAdeleEquiv_algebraMap]) | |
| 1123 | + (continuous_finiteAdeleEquiv L L σ.toRingEquiv) (continuous_adeleMap _) y).trans (hy σ) | |
| 1124 | + -- Descend the full adele and take the finite component of its preimage. | |
| 1125 | + obtain ⟨b, hb⟩ := (mem_range_adeleExtension_iff K L (a := a)).2 h_fixed | |
| 1126 | + refine ⟨b.2, ?_⟩ | |
| 1127 | + -- Both continuous extensions agree on the dense image of K. | |
| 1128 | + have h_extension : finAdeleIncl K L = finiteAdeleExtension (𝓞 K) K (𝓞 L) L := | |
| 1129 | + eq_finiteAdeleExtension_of_continuous (𝓞 K) K (𝓞 L) L (continuous_adeleMap _) (by simp) | |
| 1130 | + rw [h_extension, ← adeleExtension_snd] | |
| 1131 | + exact congrArg Prod.snd hb | |
| 1132 | + | |
| 1133 | +end New | |
| 1134 | + | |
| 1135 | +end AdeleBaseChange | |
| 1136 | + | |
| 1137 | +end | |
+660 −0 src/Lib/Adelic/Adeles/IdeleModulus.lean added View file
| @@ -0,0 +1,660 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import TauCeti.RingTheory.NormTrace.Pi | |
| 4 | +public import TauCeti.RingTheory.Norm.Units | |
| 5 | +public import TauCeti.RingTheory.DedekindDomain.AdicValuation.ResidueField | |
| 6 | +import TauCeti.NumberTheory.NumberField.Global.Adeles.FiniteBaseChange | |
| 7 | +import TauCeti.NumberTheory.NumberField.Global.Ideles.Norm.Compatibility | |
| 8 | +import TauCeti.NumberTheory.NumberField.Global.Ideles.Norm.Open | |
| 9 | +import TauCeti.NumberTheory.NumberField.Global.Ideles.Norm.Range | |
| 10 | +import TauCeti.NumberTheory.NumberField.Countable | |
| 11 | +import TauCeti.NumberTheory.NumberField.Global.Places.HaarCharacter | |
| 12 | +import TauCeti.NumberTheory.NumberField.Global.Places.PowerClasses | |
| 13 | +import TauCeti.RingTheory.DedekindDomain.FiniteAdeleRing.Haar | |
| 14 | +import TauCeti.RingTheory.NormTrace.BaseChange | |
| 15 | +import TauCeti.Topology.Algebra.Algebra.Norm | |
| 16 | +import Mathlib.Algebra.Module.StablyFree.Basic | |
| 17 | +import Mathlib.Analysis.LocallyConvex.AbsConvexOpen | |
| 18 | +import Mathlib.RingTheory.Coalgebra.CoassocSimps | |
| 19 | +import Mathlib.RingTheory.Complex | |
| 20 | +import Mathlib.RingTheory.TotallySplit | |
| 21 | +import Mathlib.Topology.Algebra.Group.Units | |
| 22 | +public import Lib.ClassField.Places.Ideles | |
| 23 | +public import Lib.General.NumberTheory.EmbeddingsAndDifferent | |
| 24 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 25 | + | |
| 26 | +/-! | |
| 27 | +# The module of an idele, Haar measure scaling and the norm map on finite adeles | |
| 28 | + | |
| 29 | +This file studies the module of an idele of a number field `E`, its relation to Haar measure, and | |
| 30 | +its behaviour under norms. Here `New.𝔸 E` has one copy of `ℂ` for each infinite place. The module | |
| 31 | +`New.ideleAbs` is therefore the product of the squared norms at the infinite places and of the norms | |
| 32 | +at the finite places. The generalised index `New.genIndex a` of a finite idele, defined through the | |
| 33 | +scaling of Haar measure, is the inverse of its module; it is `[Ô : a Ô]` when `a` is integral. For | |
| 34 | +an extension `L / K` of number fields, the algebra norm `New.adeleNorm` on finite adeles preserves | |
| 35 | +the module. | |
| 36 | + | |
| 37 | +## Main definitions and results | |
| 38 | + | |
| 39 | +* `New.ideleAbs`: the module is multiplicative, and it is a continuous positive character | |
| 40 | + (`New.continuous_ideleAbs`, `New.ideleAbs_pos`). | |
| 41 | +* `New.ideleAbs_toAdele`: the product formula for the diagonal embedding `New.toAdele`, for a | |
| 42 | + totally complex `E`. | |
| 43 | +* `New.finIdeleAbs`: the module `∏ ‖x_w‖` of a finite idele; `New.finIdeleAbs_principalIdele` is the | |
| 44 | + finite part of the product formula. | |
| 45 | +* `New.genIndex_eq_inv_finIdeleAbs`, `New.genIndex_eq_inv_norm`: for a finite idele, or an element | |
| 46 | + of `E_wˣ`, the index `New.genIndex` is the inverse of its module. | |
| 47 | +* `New.map_mulVec_haar_finAdele`, `New.volume_map_mulVec_adele`, `New.volume_map_mul_mul_adele`: | |
| 48 | + pushing Haar measure forward along `x ↦ a x` or `x ↦ a x b` divides it by the module of the | |
| 49 | + determinant of that map. | |
| 50 | +* `New.finIdeleAbs_adeleNorm`: the norm keeps the module `New.finIdeleAbs` of a finite idele. | |
| 51 | + | |
| 52 | +Notions from other files: | |
| 53 | +* `New.𝔸f E`, `New.Ô E`: the finite adeles of `E`, and the subring of those that are integral at | |
| 54 | + every finite place. | |
| 55 | +* `New.FinPlace E`, `New.LocField w`: the finite places of `E` and the completion `E_w`; `w.q` is | |
| 56 | + the order of the residue field at `w`, and `w.below K` is the place of a subfield `K` below `w`. | |
| 57 | +* `New.locIdele w x`: the finite idele with component `x` at `w` and `1` elsewhere. | |
| 58 | +* `New.idelesUnitOff S`: the finite ideles that are units at all places outside `S`. | |
| 59 | +* `New.genIndex a`: the inverse of the factor by which multiplication by a unit `a` scales Haar | |
| 60 | + measure, and `0` for a non-unit. | |
| 61 | + | |
| 62 | +## Relation to the literature | |
| 63 | + | |
| 64 | +Known result: the module of an idele, the product formula and the scaling of Haar measure. | |
| 65 | + | |
| 66 | +Part of a known result: functoriality of ideles under the norm map, restricted here to the module | |
| 67 | +and to supports. | |
| 68 | +-/ | |
| 69 | + | |
| 70 | +@[expose] public section | |
| 71 | + | |
| 72 | +/-! | |
| 73 | +## The module of an idele and the product formula | |
| 74 | + | |
| 75 | +* `New.ideleAbs_star`, `New.ideleAbs_eq_one_of_mem_unitary`: for a CM field, the module is invariant | |
| 76 | + under conjugation, and unitary ideles have module `1`. | |
| 77 | +-/ | |
| 78 | + | |
| 79 | +section AdelicAbs | |
| 80 | + | |
| 81 | +open NumberField FinitePlace MonoidHom Valued | |
| 82 | + | |
| 83 | +namespace New | |
| 84 | + | |
| 85 | +variable {E : Type*} [Field E] [NumberField E] {x : (𝔸 E)ˣ} | |
| 86 | + | |
| 87 | +/-- The component of an idele at an infinite place is nonzero. -/ | |
| 88 | +@[simp] | |
| 89 | +lemma val_fst_apply_ne_zero (x : (𝔸 E)ˣ) (w : InfinitePlace E) : (x : 𝔸 E).1 w ≠ 0 := by | |
| 90 | + have h_mul : (x : 𝔸 E).1 w * ((x⁻¹ : (𝔸 E)ˣ) : 𝔸 E).1 w = 1 := | |
| 91 | + congrFun (congrArg Prod.fst x.mul_inv) w | |
| 92 | + exact left_ne_zero_of_mul_eq_one h_mul | |
| 93 | + | |
| 94 | +/-- The module `|x|` of an element of `(𝔸 E)ˣ`, as a homomorphism to `ℝ`: the product of the | |
| 95 | +squared norms of the components at the infinite places (each a copy of `ℂ`) and of the norms at the | |
| 96 | +finite places. For a totally complex `E` this is the idelic module. -/ | |
| 97 | +noncomputable def ideleAbs : (𝔸 E)ˣ →* ℝ where | |
| 98 | + toFun x := (∏ w : InfinitePlace E, ‖(x : 𝔸 E).1 w‖ ^ 2) * | |
| 99 | + ∏ᶠ w : IsDedekindDomain.HeightOneSpectrum (𝓞 E), ‖(x : 𝔸 E).2 w‖ | |
| 100 | + map_one' := by simp | |
| 101 | + map_mul' x y := by | |
| 102 | + -- an idele is a unit at almost all finite places, so the infinite product splits | |
| 103 | + have h_finite (z : (𝔸 E)ˣ) : (Function.mulSupport fun w ↦ ‖(z : 𝔸 E).2 w‖).Finite := by | |
| 104 | + refine (finite_setOf_valued_val_ne_one (z.map (snd _ (𝔸f E)))).subset ?_ | |
| 105 | + simp +contextual [norm_def, not_imp_not] | |
| 106 | + simp [sq, field, finprod_mul_distrib (h_finite x) (h_finite y), Finset.prod_mul_distrib] | |
| 107 | + | |
| 108 | +/-- `ideleAbs x` is the product of the squared norms of `x` at the infinite places | |
| 109 | +and its norms at the finite places. -/ | |
| 110 | +lemma ideleAbs_apply (x : (𝔸 E)ˣ) : | |
| 111 | + ideleAbs x = | |
| 112 | + (∏ w : InfinitePlace E, ‖(x : 𝔸 E).1 w‖ ^ 2) * ∏ᶠ w : FinPlace E, ‖(x : 𝔸 E).2 w‖ := rfl | |
| 113 | + | |
| 114 | +/-- The idele modulus is non-negative and non-zero. -/ | |
| 115 | +@[simp] | |
| 116 | +lemma ideleAbs_nonneg_and_ne_zero : 0 ≤ ideleAbs x ∧ ideleAbs x ≠ 0 := by | |
| 117 | + refine ⟨mul_nonneg ?_ (finprod_nonneg fun w ↦ norm_nonneg _), (toHomUnits ideleAbs x).ne_zero⟩ | |
| 118 | + positivity | |
| 119 | + | |
| 120 | +/-- Positivity of the idele modulus. -/ | |
| 121 | +@[simp] | |
| 122 | +lemma ideleAbs_pos : 0 < ideleAbs x := | |
| 123 | + lt_of_le_of_ne' ideleAbs_nonneg_and_ne_zero.1 ideleAbs_nonneg_and_ne_zero.2 | |
| 124 | + | |
| 125 | +/-- If the idele `x` has valuation `1` at every finite place, then its module is the product of the | |
| 126 | +squared norms of its components at the infinite places. -/ | |
| 127 | +lemma ideleAbs_eq_prod_of_v_eq_one (hx_unit : ∀ w : FinPlace E, v ((x : 𝔸 E).2 w) = 1) : | |
| 128 | + ideleAbs x = ∏ w : InfinitePlace E, ‖(x : 𝔸 E).1 w‖ ^ 2 := by | |
| 129 | + simp [ideleAbs_apply, norm_def, hx_unit] | |
| 130 | + | |
| 131 | +/-- A finite idele that is a unit at every finite place has module `1`. -/ | |
| 132 | +lemma ideleAbs_finIdeleIncl_eq_one {y : (𝔸f E)ˣ} (hy : y ∈ idelesUnitOff ∅) : | |
| 133 | + ideleAbs (finIdeleIncl y) = 1 := by | |
| 134 | + simp [ideleAbs_eq_prod_of_v_eq_one (x := finIdeleIncl y) (by simpa using hy)] | |
| 135 | + | |
| 136 | +/-- The module `ideleAbs` is continuous on the idele group of `E`. -/ | |
| 137 | +@[fun_prop] | |
| 138 | +lemma continuous_ideleAbs : Continuous (ideleAbs (E := E)) := by | |
| 139 | + -- near `1` the finite components are units, so only the infinite places contribute | |
| 140 | + refine continuous_of_continuousAt_one _ ?_ | |
| 141 | + have h_near : ∀ᶠ x : (𝔸 E)ˣ in nhds 1, x.map (snd _ (𝔸f E)) ∈ idelesUnitOff ∅ := | |
| 142 | + ((isOpen_idelesUnitOff ∅).preimage (continuous_snd.units_map _)).mem_nhds (by simp) | |
| 143 | + refine ContinuousAt.congr | |
| 144 | + (f := fun x : (𝔸 E)ˣ ↦ ∏ w : InfinitePlace E, ‖(x : 𝔸 E).1 w‖ ^ 2) (by fun_prop) ?_ | |
| 145 | + filter_upwards [h_near] with x hx using (ideleAbs_eq_prod_of_v_eq_one (by simpa using hx)).symm | |
| 146 | + | |
| 147 | +/-- For `x : E`, the product of the norms of the components of the principal finite adele `x` is the | |
| 148 | +product of `w x` over Mathlib's finite places `w` of `E`. -/ | |
| 149 | +lemma finprod_norm_algebraMap_apply (x : E) : | |
| 150 | + ∏ᶠ w : FinPlace E, ‖algebraMap E (𝔸f E) x w‖ = ∏ᶠ w : FinitePlace E, w x := by | |
| 151 | + rw [← finprod_comp_equiv equivHeightOneSpectrum.symm] | |
| 152 | + exact finprod_congr fun w ↦ (equivHeightOneSpectrum_symm_apply w x).symm | |
| 153 | + | |
| 154 | +/-- The product formula: for a totally complex `E`, the principal idele of an element of `Eˣ` (its | |
| 155 | +image under the diagonal embedding `toAdele`) has module `1`. The class `PlaceEmbedding E` chooses | |
| 156 | +a complex embedding for each infinite place. -/ | |
| 157 | +lemma ideleAbs_toAdele [IsTotallyComplex E] [PlaceEmbedding E] (x : Eˣ) : | |
| 158 | + ideleAbs (E := E) (x.map (toAdele (E := E))) = 1 := | |
| 159 | + calc | |
| 160 | + _ = (∏ w : InfinitePlace E, w x ^ w.mult) * ∏ᶠ w : FinPlace E, ‖algebraMap E (𝔸f E) x w‖ := by | |
| 161 | + simp [ideleAbs_apply, ← InfinitePlace.apply] | |
| 162 | + _ = 1 := by rw [finprod_norm_algebraMap_apply, prod_abs_eq_one x.ne_zero] | |
| 163 | + | |
| 164 | +variable [IsCMField E] | |
| 165 | + | |
| 166 | +/-- For a CM field `E`, the module of an idele `x` is invariant under complex conjugation. -/ | |
| 167 | +@[simp] | |
| 168 | +lemma ideleAbs_star : ideleAbs (star x) = ideleAbs x := by | |
| 169 | + -- conjugation keeps the infinite absolute values and permutes the finite places | |
| 170 | + have h_inf : ∏ w : InfinitePlace E, ‖(↑(star x) : 𝔸 E).1 w‖ ^ 2 = | |
| 171 | + ∏ w : InfinitePlace E, ‖(x : 𝔸 E).1 w‖ ^ 2 := by simp | |
| 172 | + have h_fin : ∏ᶠ w : FinPlace E, ‖(↑(star x) : 𝔸 E).2 w‖ = ∏ᶠ w : FinPlace E, ‖(x : 𝔸 E).2 w‖ := | |
| 173 | + finprod_eq_of_bijective star star_involutive.bijective fun w ↦ | |
| 174 | + show ‖(↑(star x) : 𝔸 E).2 w‖ = ‖(x : 𝔸 E).2 (star w)‖ by simp [norm_def] | |
| 175 | + rw [ideleAbs_apply, ideleAbs_apply, h_inf, h_fin] | |
| 176 | + | |
| 177 | +/-- For a CM field `E`, a unitary idele `x` (one with `star x * x = 1`) has module `1`. -/ | |
| 178 | +lemma ideleAbs_eq_one_of_mem_unitary (hx : (x : 𝔸 E) ∈ unitary (𝔸 E)) : ideleAbs x = 1 := by | |
| 179 | + have h_norm : star x * x = 1 := Units.ext (Unitary.star_mul_self_of_mem hx) | |
| 180 | + have h_sq : ideleAbs x ^ 2 = 1 := by simpa [sq] using congrArg ideleAbs h_norm | |
| 181 | + exact (pow_eq_one_iff_of_nonneg ideleAbs_pos.le two_ne_zero).1 h_sq | |
| 182 | + | |
| 183 | +end New | |
| 184 | + | |
| 185 | +end AdelicAbs | |
| 186 | + | |
| 187 | +/-! | |
| 188 | +## Scaling of Haar measure by the module | |
| 189 | + | |
| 190 | +The index `New.genIndex` is first compared with the module. Since `New.genIndex` is the inverse of | |
| 191 | +the Haar character `MeasureTheory.distribHaarChar`, the identities on `New.𝔸f E` and on each local | |
| 192 | +completion `New.LocField w` follow from Tau Ceti's Haar character formulas. | |
| 193 | + | |
| 194 | +Conventions: `v` is the multiplicative valuation, `exp (-1)` on uniformisers. | |
| 195 | +-/ | |
| 196 | + | |
| 197 | +section AdelicModulus | |
| 198 | + | |
| 199 | +open NumberField Fintype MeasureTheory RingHom Matrix Prod Measure WithZero Valued LinearMap Units | |
| 200 | + Valuation IsUniformizer IsRankOneDiscrete Subgroup FinitePlace Algebra | |
| 201 | + | |
| 202 | +namespace New | |
| 203 | + | |
| 204 | +variable {E n : Type*} [Field E] [NumberField E] [Fintype n] [DecidableEq n] {w : FinPlace E} | |
| 205 | + | |
| 206 | +/-! ### Valuations and absolute values at a finite place -/ | |
| 207 | + | |
| 208 | +/-- Multiplying a nonzero local element by `π ^ log (v x)` gives a unit of the valuation ring | |
| 209 | +when `π` is a uniformiser. -/ | |
| 210 | +lemma v_mul_uniformizer_zpow_log_eq_one (x : (LocField w)ˣ) {π : (LocField w)ˣ} | |
| 211 | + (hπ : v π.val = exp (-1)) : v (x * π ^ (v x.val).log).val = 1 := by | |
| 212 | + simp [hπ, WithZero.exp_neg, -WithZero.inv_exp] | |
| 213 | + | |
| 214 | +/-- An element `y` of `E_w` has valuation less than `1` if and only if its quotient by the chosen | |
| 215 | +uniformiser is integral. -/ | |
| 216 | +lemma v_uniformizer_inv_mul_le_one_iff {y : IsDedekindDomain.HeightOneSpectrum.adicCompletion E w} : | |
| 217 | + v ((uniformizer w).val⁻¹ * y) ≤ 1 ↔ v y < 1 := by | |
| 218 | + simp [← lt_mul_exp_iff_le] | |
| 219 | + | |
| 220 | +/-- The norm of a nonzero `x` in `E_w` is `w.q ^ k`, where `w.q` is the order of the residue field | |
| 221 | +and `v x = exp k`. -/ | |
| 222 | +lemma norm_locField_eq_q_zpow {x : LocField w} (hx : x ≠ 0) : ‖x‖ = w.q ^ (v x).log := by | |
| 223 | + simp [FinitePlace.norm_def, WithZeroMulInt.toNNReal, hx] | |
| 224 | + | |
| 225 | +/-- For finite adeles `a`, `b` there is an idempotent `e` of `Ô`, the ring of integral finite | |
| 226 | +adeles, such that both lie in the `Ô`-module generated by the patch `a - e * (a - b)` | |
| 227 | +(`New.IsValuationPair`). -/ | |
| 228 | +lemma isValuationPair_Ô : IsValuationPair (Ô E) := by | |
| 229 | + -- The idempotent `idem S` is `1` at the places in `S` and `0` elsewhere. | |
| 230 | + -- Patch along the places where `v (a w) ≤ v (b w)`: the patch is `b w` there and `a w` elsewhere, | |
| 231 | + -- so at each place it has the larger of the two valuations. | |
| 232 | + intro a b | |
| 233 | + let S : Set (FinPlace E) := {w | v (a w) ≤ v (b w)} | |
| 234 | + have h_idem : idem S * idem S = idem S := DFunLike.ext _ _ fun w ↦ by simp [idem_apply] | |
| 235 | + have h_le (w : FinPlace E) : | |
| 236 | + v (a w) ≤ v ((a - idem S * (a - b)) w) ∧ v (b w) ≤ v ((a - idem S * (a - b)) w) := by | |
| 237 | + by_cases hw : v (a w) ≤ v (b w) <;> simp [S, hw, le_of_not_ge] | |
| 238 | + refine ⟨⟨idem S, idem_mem_Ô S⟩, h_idem, ?_⟩ | |
| 239 | + change Ô E ∙ a ⊔ Ô E ∙ b ≤ Ô E ∙ (a - idem S * (a - b)) | |
| 240 | + simpa [exists_eq_mul_iff_v_le] using forall_and.1 h_le | |
| 241 | + | |
| 242 | +instance [IsCMField E] : IsStarStable (Ô E) := ⟨star_mem_Ô⟩ | |
| 243 | + | |
| 244 | +/-! ### The module of a finite idele -/ | |
| 245 | + | |
| 246 | +/-- The module `|x|` of a finite idele `x`: the module `New.ideleAbs` of the idele with finite part | |
| 247 | +`x` and component `1` at the infinite places. -/ | |
| 248 | +noncomputable def finIdeleAbs : (𝔸f E)ˣ →* ℝ := ideleAbs.comp finIdeleIncl | |
| 249 | + | |
| 250 | +/-- Evaluates `finIdeleAbs x` as the finprod over finite places `w` of | |
| 251 | +`‖x.val w‖`. -/ | |
| 252 | +lemma finIdeleAbs_apply (x : (𝔸f E)ˣ) : finIdeleAbs x = ∏ᶠ w : FinPlace E, ‖x.val w‖ := by | |
| 253 | + simp [finIdeleAbs, ideleAbs_apply] | |
| 254 | + | |
| 255 | +/-- The product formula, finite part: for `x` in `Eˣ`, with `principalIdele x` its diagonal image in | |
| 256 | +`(𝔸f E)ˣ`, the product of the normalised absolute values `|x|_w` over the finite places is | |
| 257 | +`|N_{E/ℚ}(x)|⁻¹`. -/ | |
| 258 | +@[simp] | |
| 259 | +lemma finIdeleAbs_principalIdele (x : Eˣ) : | |
| 260 | + finIdeleAbs (principalIdele (x : Eˣ)) = |Algebra.norm ℚ x.val|⁻¹ := by | |
| 261 | + rw [← prod_eq_inv_abs_norm x.ne_zero, ← finprod_norm_algebraMap_apply, finIdeleAbs_apply] | |
| 262 | + rfl | |
| 263 | + | |
| 264 | +/-- Evaluates `finIdeleAbs (locIdele w x)` as `‖x.val‖` for `x : (LocField w)ˣ`. -/ | |
| 265 | +@[simp] | |
| 266 | +lemma finIdeleAbs_locIdele (x : (LocField w)ˣ) : finIdeleAbs (locIdele w x) = ‖x.val‖ := by | |
| 267 | + simp +contextual [finIdeleAbs_apply, finprod_eq_single _ w] | |
| 268 | + | |
| 269 | +/-! ### The generalised index as the inverse of the module -/ | |
| 270 | + | |
| 271 | +/-- The generalised index `genIndex` of a finite idele, the inverse of the factor by which it scales | |
| 272 | +Haar measure, is the inverse of its module. -/ | |
| 273 | +lemma genIndex_eq_inv_finIdeleAbs (a : (𝔸f E)ˣ) : genIndex a.val = (finIdeleAbs a)⁻¹ := by | |
| 274 | + -- `genIndex` is the inverse of `distribHaarChar` on `𝔸f E`, which Tau Ceti computes as the | |
| 275 | + -- finite product of the local normalised absolute values `|a_w|_w`. | |
| 276 | + rw [genIndex_eq_inv_distribHaarChar, | |
| 277 | + IsDedekindDomain.FiniteAdeleRing.distribHaarChar_eq_finprod, finIdeleAbs_apply] | |
| 278 | + congr 1 | |
| 279 | + -- Each local normalised absolute value agrees with Mathlib's norm `‖a_w‖` on `E_w`, | |
| 280 | + -- so the finite product is `finIdeleAbs a`. | |
| 281 | + refine (NNReal.toRealHom.toMonoidHom.map_finprod_of_injective NNReal.coe_injective _).trans ?_ | |
| 282 | + exact finprod_congr fun w ↦ by | |
| 283 | + simpa using w.coe_normalizedAbsoluteValue_adicCompletion (a.val w) | |
| 284 | + | |
| 285 | +/-- The generalised index `genIndex` of an element of `E_wˣ`, the inverse of the factor by which it | |
| 286 | +scales Haar measure on `E_w`, is the inverse of its absolute value. -/ | |
| 287 | +lemma genIndex_eq_inv_norm (a : (LocField w)ˣ) : genIndex a.val = ‖a.val‖⁻¹ := by | |
| 288 | + -- `genIndex` is the inverse of `distribHaarChar` on `E_w`, which Tau Ceti identifies with | |
| 289 | + -- Mathlib's norm `‖a‖₊` on the completion `E_w`. | |
| 290 | + rw [genIndex_eq_inv_distribHaarChar, w.distribHaarChar_adicCompletion, coe_nnNorm] | |
| 291 | + | |
| 292 | +/-! ### Linear maps and Haar measure -/ | |
| 293 | + | |
| 294 | +/-- For a finite index type `n` and `a` in `GL_n` of the finite adeles, `x ↦ a x` pushes a Haar | |
| 295 | +measure `μ` on vectors forward to `μ` divided by the module `New.finIdeleAbs` of the finite idele | |
| 296 | +`det a`. -/ | |
| 297 | +lemma map_mulVec_haar_finAdele (μ : Measure (n → 𝔸f E)) [IsAddHaarMeasure μ] (a : GL n (𝔸f E)) : | |
| 298 | + μ.map (fun x : n → 𝔸f E ↦ a.val *ᵥ x) = ENNReal.ofReal (finIdeleAbs a.det)⁻¹ • μ := by | |
| 299 | + -- `a` scales Haar measure on vectors as `det a` does on the finite adeles. | |
| 300 | + calc μ.map (fun x : n → 𝔸f E ↦ a • x) | |
| 301 | + _ = ENNReal.ofReal (distribHaarChar (n → 𝔸f E) a : ℝ)⁻¹ • μ := | |
| 302 | + map_smul_eq_inv_distribHaarChar_smul a | |
| 303 | + _ = ENNReal.ofReal (genIndex a.det.val) • μ := by | |
| 304 | + rw [inv_distribHaarChar_GL_eq_genIndex_det isOpen_Ô isCompact_Ô isValuationPair_Ô, | |
| 305 | + GeneralLinearGroup.val_det_apply] | |
| 306 | + _ = ENNReal.ofReal (finIdeleAbs a.det)⁻¹ • μ := by rw [genIndex_eq_inv_finIdeleAbs] | |
| 307 | + | |
| 308 | +/-- For `a` in `GL_n` of the adeles `𝔸 E`, with `n` a finite index type, the map `x ↦ a x` pushes | |
| 309 | +the Haar measure `volume` on adelic `n`-vectors forward to itself divided by the module | |
| 310 | +`New.ideleAbs` (the adelic absolute value) of `det a`. -/ | |
| 311 | +lemma volume_map_mulVec_adele (a : GL n (𝔸 E)) : | |
| 312 | + volume.map (fun x : n → 𝔸 E ↦ a.val *ᵥ x) = ENNReal.ofReal (ideleAbs a.det)⁻¹ • volume := by | |
| 313 | + -- Split vectors into their infinite and finite parts; `a` scales each factor of the measure. | |
| 314 | + let aInf : GL n (InfinitePlace E → ℂ) := a.map (RingHom.fst _ (𝔸f E)) | |
| 315 | + let aFin : GL n (𝔸f E) := a.map (RingHom.snd (InfinitePlace E → ℂ) _) | |
| 316 | + let rInf : ℝ := ∏ w : InfinitePlace E, ‖a.val.det.1 w‖ ^ 2 | |
| 317 | + let rFin : ℝ := ∏ᶠ w : FinPlace E, ‖a.val.det.2 w‖ | |
| 318 | + let L : (n → InfinitePlace E → ℂ) ≃ₗ[ℝ] _ := aInf.toLin.toLinearEquiv.restrictScalars ℝ | |
| 319 | + have h_norm (z : InfinitePlace E → ℂ) : Algebra.norm ℝ z = ∏ w, ‖z w‖ ^ 2 := by | |
| 320 | + simp [TauCeti.Algebra.norm_pi, Algebra.norm_complex_apply, Complex.sq_norm] | |
| 321 | + have h_det : LinearMap.det L.toLinearMap = rInf := by | |
| 322 | + change LinearMap.det ((toLin' (a.val.map (RingHom.fst _ (𝔸f E)))).restrictScalars ℝ) = rInf | |
| 323 | + rw [det_restrictScalars, det_toLin', h_norm, ← RingHom.mapMatrix_apply, ← RingHom.map_det] | |
| 324 | + rfl | |
| 325 | + have h_inf : Measure.map L.toLinearMap addHaar = ENNReal.ofReal rInf⁻¹ • addHaar := by | |
| 326 | + simpa [h_det, rInf, Finset.prod_pow] using | |
| 327 | + map_linearMap_addHaar_eq_smul_addHaar addHaar L.isUnit_det'.ne_zero | |
| 328 | + have h_fin : volume.map (aFin.val *ᵥ ·) = ENNReal.ofReal rFin⁻¹ • volume := by | |
| 329 | + simpa [rFin, aFin, finIdeleAbs, ideleAbs, GeneralLinearGroup.map_det] using | |
| 330 | + map_mulVec_haar_finAdele volume aFin | |
| 331 | + have h_prod : MeasurePreserving (Prod.map L.toLinearMap (aFin.val *ᵥ ·)) (addHaar.prod volume) | |
| 332 | + ((ENNReal.ofReal rInf⁻¹ • addHaar).prod (ENNReal.ofReal rFin⁻¹ • volume)) := | |
| 333 | + .prod ⟨L.toLinearMap.continuous_of_finiteDimensional.measurable, h_inf⟩ ⟨by fun_prop, h_fin⟩ | |
| 334 | + -- Transport this scaling along the splitting of vectors. | |
| 335 | + let split : (n → 𝔸 E) ≃ₜ+ (n → InfinitePlace E → ℂ) × (n → 𝔸f E) := | |
| 336 | + { toEquiv := Equiv.arrowProdEquivProdArrow _ _ _, map_add' := fun _ _ ↦ rfl | |
| 337 | + continuous_toFun := by dsimp [Equiv.arrowProdEquivProdArrow]; fun_prop | |
| 338 | + continuous_invFun := by dsimp [Equiv.arrowProdEquivProdArrow]; fun_prop } | |
| 339 | + refine map_addHaar_eq_smul_of_semiconj _ split (fun x ↦ ?_) h_prod.measurable | |
| 340 | + (h_prod.map_eq.trans ?_) | |
| 341 | + · -- taking components commutes with the sums that define `a *ᵥ x` | |
| 342 | + exact Prod.ext (funext fun _ ↦ fst_sum) (funext fun _ ↦ snd_sum) | |
| 343 | + · -- the module of `det a` is the product of the two factors | |
| 344 | + simp [rInf, rFin, ideleAbs, prod_smul_left, prod_smul_right, mul_smul, finprod_nonneg] | |
| 345 | + | |
| 346 | +/-- The determinant of the conjugate transpose of a matrix in GL_n of the adeles is the conjugate of | |
| 347 | +its determinant. -/ | |
| 348 | +@[simp] | |
| 349 | +lemma det_star [IsCMField E] (a : GL n (𝔸 E)) : (star a).det = star a.det := | |
| 350 | + ext (det_conjTranspose _) | |
| 351 | + | |
| 352 | +/-- For a finite index type n, a in GL_n(𝔸) and b in GL_1(𝔸), the map x ↦ axb on n×1 adelic matrices | |
| 353 | +pushes the standard measure forward to |det(b)^n det a|⁻¹ times itself, with |·| the module of an | |
| 354 | +idele. -/ | |
| 355 | +lemma volume_map_mul_mul_adele (a : GL n (𝔸 E)) (b : GL Unit (𝔸 E)) : | |
| 356 | + volume.map (fun x : Matrix n Unit (𝔸 E) ↦ a.val * x * b.val) = | |
| 357 | + ENNReal.ofReal (ideleAbs (b.det ^ card n * a.det))⁻¹ • volume := by | |
| 358 | + -- Vectorising turns `x ↦ a * x * b` into multiplication by the Kronecker product `bᵀ ⊗ a`, | |
| 359 | + -- whose determinant is `b.det ^ card n * a.det`. | |
| 360 | + let vecEquiv : Matrix n Unit (𝔸 E) ≃ₜ+ (Unit × n → 𝔸 E) := | |
| 361 | + { toFun := vec, invFun y i j := y (j, i), map_add' := vec_add } | |
| 362 | + let c : GL (Unit × n) (𝔸 E) := Matrix.GeneralLinearGroup.kronecker (transposeGL b) a | |
| 363 | + have det_eq : c.det = b.det ^ card n * a.det := | |
| 364 | + Units.ext (by simp [c, Matrix.GeneralLinearGroup.kronecker, det_kronecker]) | |
| 365 | + have h_semiconj (x : Matrix n Unit (𝔸 E)) : vecEquiv (a.val * x * b.val) = c.val *ᵥ vecEquiv x := | |
| 366 | + (kronecker_mulVec_vec a.val x b.valᵀ).symm | |
| 367 | + rw [← det_eq] | |
| 368 | + exact map_addHaar_eq_smul_of_semiconj _ vecEquiv h_semiconj (by fun_prop) | |
| 369 | + (volume_map_mulVec_adele c) | |
| 370 | + | |
| 371 | +end New | |
| 372 | + | |
| 373 | +end AdelicModulus | |
| 374 | + | |
| 375 | +/-! | |
| 376 | +## The generalised index of a field element | |
| 377 | + | |
| 378 | +* `New.genIndex_natCast`: for a natural number `k` and a CM field `E` it is `(k ^ r) ^ 2`, with | |
| 379 | + `r` the number of infinite places of `E`. | |
| 380 | +-/ | |
| 381 | + | |
| 382 | +section IndexOfRationals | |
| 383 | + | |
| 384 | +variable {E : Type*} [Field E] [NumberField E] | |
| 385 | + | |
| 386 | +/-- For a number field `E`, the generalised index `New.genIndex` of `x : E`, as a finite adele, is | |
| 387 | +the absolute value of the norm of `x` to `ℚ`. -/ | |
| 388 | +@[simp] | |
| 389 | +lemma New.genIndex_algebraMap (x : E) : genIndex (x : 𝔸f E) = |↑(Algebra.norm ℚ x)| := by | |
| 390 | + obtain rfl | hx := eq_or_ne x 0 | |
| 391 | + · simp [genIndex.map_nonunit] | |
| 392 | + · -- `genIndex` is the inverse of `finIdeleAbs` on ideles, which the product formula computes | |
| 393 | + simpa using genIndex_eq_inv_finIdeleAbs (principalIdele (Units.mk0 x hx)) | |
| 394 | + | |
| 395 | +/-- For a natural number `k` the generalised index `New.genIndex` of `k` as a finite adele is | |
| 396 | +`(k ^ r) ^ 2`, with `r = Core.numInfPlaces E` the number of infinite places of the CM field `E`. The | |
| 397 | +reason is that the norm of `k` is `k ^ [E : ℚ]` and `[E : ℚ] = 2r`. -/ | |
| 398 | +lemma New.genIndex_natCast [NumberField.IsCMField E] | |
| 399 | + (k : ℕ) : genIndex (k : 𝔸f E) = (k ^ Core.numInfPlaces E) ^ 2 := by | |
| 400 | + simpa [Algebra.norm_natCast, finrank_eq_two_mul_card_infinitePlace, pow_mul'] using | |
| 401 | + genIndex_algebraMap (k : E) | |
| 402 | + | |
| 403 | +end IndexOfRationals | |
| 404 | + | |
| 405 | +/-! | |
| 406 | +## The norm map on finite adeles | |
| 407 | + | |
| 408 | +For an extension `L / K` of number fields the finite adeles of `L` are a finite free module over | |
| 409 | +those of `K` (`New.adeleBasis`), so they have an algebra norm `New.adeleNorm`. It is continuous and | |
| 410 | +extends the field norm, so identities can be checked on the dense field. | |
| 411 | +-/ | |
| 412 | + | |
| 413 | +section AdeleNorm | |
| 414 | + | |
| 415 | +open Module Algebra NumberField Units | |
| 416 | + | |
| 417 | +namespace New | |
| 418 | + | |
| 419 | +variable (K L : Type*) [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L] | |
| 420 | + | |
| 421 | +instance : Free (𝔸f K) (𝔸f L) := .of_basis (adeleBasis (finBasis K L)) | |
| 422 | + | |
| 423 | +instance : Module.Finite (𝔸f K) (𝔸f L) := .of_basis (adeleBasis (finBasis K L)) | |
| 424 | + | |
| 425 | +/-- For an extension L/K of number fields, the algebra norm from the finite adeles of L to the | |
| 426 | +finite adeles of K, as a multiplicative map. -/ | |
| 427 | +noncomputable abbrev adeleNorm : 𝔸f L →* 𝔸f K := Algebra.norm (S := 𝔸f L) (𝔸f K) | |
| 428 | + | |
| 429 | +/-- The norm map from the finite adeles of `L` to those of `K` is continuous. -/ | |
| 430 | +@[fun_prop] | |
| 431 | +lemma continuous_adeleNorm : Continuous (adeleNorm K L) := by | |
| 432 | + -- The basis of the extension identifies the finite adeles of `L` with a finite product of | |
| 433 | + -- copies of the finite adeles of `K`, so their topology is the module topology. | |
| 434 | + let b := finBasis K L | |
| 435 | + have h := isHomeomorph_adeleCombination b | |
| 436 | + have : IsModuleTopology (𝔸f K) (𝔸f L) := | |
| 437 | + ⟨h.isQuotientMap.eq_coinduced.trans | |
| 438 | + (ModuleTopology.eq_coinduced_of_surjective h.surjective).symm⟩ | |
| 439 | + exact TauCeti.continuous_algebraNorm (𝔸f K) (𝔸f L) | |
| 440 | + | |
| 441 | +variable {K L} in | |
| 442 | +/-- The adelic coordinates of a diagonal element are its field coordinates viewed as adeles. -/ | |
| 443 | +lemma adeleBasis_repr_algebraMap {ι : Type*} [Fintype ι] (b : Basis ι K L) (x : L) (i : ι) : | |
| 444 | + (adeleBasis b).repr (x : 𝔸f L) i = (b.repr x i : 𝔸f K) := by | |
| 445 | + simp [adeleBasis, ← adeleCombination_repr b] | |
| 446 | + | |
| 447 | +open IsDedekindDomain TauCeti.GlobalNumberFields in | |
| 448 | +open scoped FiniteAdeleExtension in | |
| 449 | +/-- The norm of an element `x` of `L`, regarded as a finite adele, is the field norm of `x`. -/ | |
| 450 | +@[simp] | |
| 451 | +lemma adeleNorm_algebraMap (x : L) : adeleNorm K L x = Algebra.norm K x := by | |
| 452 | + have h_extension : finAdeleIncl K L = finiteAdeleExtension (𝓞 K) K (𝓞 L) L := | |
| 453 | + eq_finiteAdeleExtension_of_continuous (𝓞 K) K (𝓞 L) L (continuous_adeleMap _) (by simp) | |
| 454 | + unfold adeleNorm adeleAlgebra | |
| 455 | + rw [h_extension, ← algebraMap_finiteAdeleExtensionAlgebra, toAlgebra_algebraMap] | |
| 456 | + -- Under scalar extension the diagonal image of `x` is `1 ⊗ x`. | |
| 457 | + simpa only [finiteAdeleBaseChangeAlgEquiv_symm_algebraMap, TauCeti.Algebra.norm_baseChange_tmul] | |
| 458 | + using (norm_eq_of_algEquiv (finiteAdeleBaseChangeAlgEquiv K L).symm (x : 𝔸f L)).symm | |
| 459 | + | |
| 460 | +/-- The algebra norm on finite adeles agrees with the product of local norms. -/ | |
| 461 | +private lemma adeleNorm_eq_finiteAdeleNorm (x : 𝔸f L) : | |
| 462 | + adeleNorm K L x = TauCeti.GlobalNumberFields.finiteAdeleNorm K L x := by | |
| 463 | + -- Both norms are continuous and extend the field norm on the dense diagonal copy of `L`. | |
| 464 | + exact denseRange_algebraMap_finAdele.eq (fun z ↦ by simp) (x := x) | |
| 465 | + | |
| 466 | +/-- A finite idele has the same module when regarded as an idele with trivial infinite part. -/ | |
| 467 | +private lemma finIdeleAbs_eq_ideleNorm {F : Type*} [Field F] [NumberField F] (x : (𝔸f F)ˣ) : | |
| 468 | + finIdeleAbs x = ((TauCeti.GlobalNumberFields.ideleNorm | |
| 469 | + (IdeleGroup.ofFiniteIdele (𝓞 F) F x) : NNReal) : ℝ) := by | |
| 470 | + rw [TauCeti.GlobalNumberFields.coe_ideleNorm, finIdeleAbs_apply] | |
| 471 | + simp | |
| 472 | + rfl | |
| 473 | + | |
| 474 | +/-- For `a` a finite adele of `K`, the norm to `K` of its image in the adeles of `L` is | |
| 475 | +`a ^ [L : K]`. -/ | |
| 476 | +lemma adeleNorm_finAdeleIncl (a : 𝔸f K) : | |
| 477 | + adeleNorm K L (finAdeleIncl K L a) = a ^ finrank K L := by | |
| 478 | + simpa only [adeleNorm, algebraMap_eq_finAdeleIncl, Fintype.card_fin] using | |
| 479 | + norm_algebraMap_of_basis (adeleBasis (finBasis K L)) a | |
| 480 | + | |
| 481 | +/-- For Galois `L / K`, the norm of a finite adele `y` of `L`, included back in the adeles of `L`, | |
| 482 | +is the product of the images of `y` under the Galois group. -/ | |
| 483 | +lemma finAdeleIncl_adeleNorm [IsGalois K L] : | |
| 484 | + ∀ y : 𝔸f L, finAdeleIncl K L (adeleNorm K L y) = ∏ σ : Gal(L/K), adeleMap σ y := | |
| 485 | + -- both sides are continuous, so it suffices to compare them on the dense subset `L` | |
| 486 | + denseRange_algebraMap_finAdele.eq (by simp [norm_eq_prod_automorphisms]) | |
| 487 | + | |
| 488 | +variable {L} in | |
| 489 | +/-- For an extension L/K, a finite place w of L and v = `FinPlace.below K w` the place of K below w, | |
| 490 | +the local norm L_w^× → K_v^×: the v-component of the adelic norm of the idele supported at w. -/ | |
| 491 | +noncomputable def localNorm (w : FinPlace L) : (LocField w)ˣ →* (LocField (FinPlace.below K w))ˣ := | |
| 492 | + ((ideleAt (w.below K)).comp (map (adeleNorm K L))).comp (locIdele w) | |
| 493 | + | |
| 494 | +variable {K L} | |
| 495 | + | |
| 496 | +open scoped AdicCompletionExtension in | |
| 497 | +/-- Let `k` be a number field below `K` and `u` the place of `k` below `w`. The completion `K_w` is | |
| 498 | +finite over `k_u`, along `New.locMap`, the map of completions induced by `k → K`, and the local norm | |
| 499 | +`New.localNorm k w` is the norm of this extension. -/ | |
| 500 | +lemma IsPlaceOver.finite_and_localNorm_eq_norm {K : Type} [Field K] [NumberField K] | |
| 501 | + (k : Type) [Field k] [NumberField k] [Algebra k K] | |
| 502 | + (w : FinPlace K) : | |
| 503 | + letI : Algebra (LocField (w.below k)) (LocField w) := (locMap (algebraMap k K) rfl).toAlgebra | |
| 504 | + Module.Finite (LocField (w.below k)) (LocField w) ∧ | |
| 505 | + ∀ y : (LocField w)ˣ, localNorm k w y = y.map (Algebra.norm (LocField (w.below k))) := by | |
| 506 | + classical | |
| 507 | + let u := w.below k | |
| 508 | + let _ : w.asIdeal.LiesOver u.asIdeal := ⟨rfl⟩ | |
| 509 | + -- Both algebra structures come from the same map of completions. | |
| 510 | + have h_map := IsDedekindDomain.HeightOneSpectrum.eq_adicCompletionExtension_of_continuous | |
| 511 | + k K u w (continuous_locMap (algebraMap k K) rfl) (fun z ↦ locMap_algebraMap _ _ z) | |
| 512 | + rw [← IsDedekindDomain.HeightOneSpectrum.algebraMap_adicCompletionExtensionAlgebra] at h_map | |
| 513 | + rw [congrArg RingHom.toAlgebra h_map, toAlgebra_algebraMap] | |
| 514 | + refine ⟨inferInstance, fun y ↦ Units.ext ?_⟩ | |
| 515 | + change adeleNorm k K (locIdele w y).val u = Algebra.norm (LocField u) y.val | |
| 516 | + rw [adeleNorm_eq_finiteAdeleNorm, TauCeti.GlobalNumberFields.finiteAdeleNorm_apply, | |
| 517 | + finprod_eq_single _ ⟨w, inferInstance⟩] | |
| 518 | + · rw [locIdele_apply_self] | |
| 519 | + · rintro ⟨v, hv⟩ hne | |
| 520 | + rw [locIdele_apply_of_ne (fun h ↦ hne (Subtype.ext h)), map_one] | |
| 521 | + | |
| 522 | +/-- Shows that `adeleNorm K L y` lies in `Ô K` whenever `y ∈ Ô L`. -/ | |
| 523 | +lemma adeleNorm_mem_Ô {y : 𝔸f L} (hy : y ∈ Ô L) : adeleNorm K L y ∈ Ô K := by | |
| 524 | + -- `𝓞 L` is dense in `Ô L`, the set `Ô K` is closed, and norms of integers are integers | |
| 525 | + refine Set.MapsTo.closure_left ?_ (by fun_prop) isCompact_Ô.isClosed | |
| 526 | + (Subtype.dense_iff.1 denseRange_algebraMap_Ô hy) | |
| 527 | + simpa using fun a ↦ isIntegral_norm K a.prop | |
| 528 | + | |
| 529 | +/-- For number fields L/K, a finite place w of L and y in L_w^×, the norm to K of the finite idele | |
| 530 | +`locIdele w y` (y at w and 1 elsewhere) has component `localNorm K w y` at the place below w and 1 | |
| 531 | +at every other place. -/ | |
| 532 | +lemma adeleNorm_locIdele (w : FinPlace L) (y : (LocField w)ˣ) : | |
| 533 | + (locIdele w y).map (adeleNorm K L) = locIdele (FinPlace.below K w) (localNorm K w y) := by | |
| 534 | + ext v : 2 | |
| 535 | + by_cases hv : v = w.below K | |
| 536 | + · subst hv | |
| 537 | + simp [localNorm, ideleAt] | |
| 538 | + · -- Away from the place below `w`, every local factor of the norm is one. | |
| 539 | + rw [Units.coe_map, adeleNorm_eq_finiteAdeleNorm, | |
| 540 | + TauCeti.GlobalNumberFields.finiteAdeleNorm_apply, locIdele_apply_of_ne hv] | |
| 541 | + refine finprod_eq_one_of_forall_eq_one fun u ↦ ?_ | |
| 542 | + have hne : u.val ≠ w := fun h ↦ hv (h ▸ IsDedekindDomain.HeightOneSpectrum.ext u.property.over) | |
| 543 | + rw [locIdele_apply_of_ne hne, map_one] | |
| 544 | + | |
| 545 | +variable (K L) in | |
| 546 | +/-- The norm group in the finite ideles of a number field is open. -/ | |
| 547 | +lemma isOpen_range_finite_idele_norm : | |
| 548 | + IsOpen ((Units.map (adeleNorm K L)).range : Set (𝔸f K)ˣ) := by | |
| 549 | + -- The pullback of the full norm group along the inclusion of finite ideles is open. | |
| 550 | + let U := (TauCeti.GlobalNumberFields.ideleNormMap K L).toMonoidHom.range.comap | |
| 551 | + (NumberField.IdeleGroup.ofFiniteIdele (𝓞 K) K) | |
| 552 | + have hU : IsOpen (U : Set (𝔸f K)ˣ) := | |
| 553 | + (TauCeti.GlobalNumberFields.isOpen_range_ideleNormMap K L).preimage | |
| 554 | + (NumberField.IdeleGroup.continuous_ofFiniteIdele (𝓞 K) K) | |
| 555 | + -- The finite part of a full norm is the norm of the finite part. | |
| 556 | + refine Subgroup.isOpen_mono ?_ hU | |
| 557 | + rintro x ⟨z, hz⟩ | |
| 558 | + refine ⟨NumberField.IdeleGroup.toFiniteIdele (𝓞 L) L z, Units.ext ?_⟩ | |
| 559 | + change adeleNorm K L _ = x.val | |
| 560 | + rw [adeleNorm_eq_finiteAdeleNorm] | |
| 561 | + simpa using congrArg (fun a : NumberField.IdeleGroup (𝓞 K) K ↦ a.val.2) hz | |
| 562 | + | |
| 563 | +/-- If every component of the finite idele `y` of `L` is a unit of the local integers, that is, `y` | |
| 564 | +is in `idelesUnitOff ∅`, then every component of its norm to `K` has valuation `1`. -/ | |
| 565 | +lemma v_adeleNorm_eq_one {y : (𝔸f L)ˣ} (hy : y ∈ idelesUnitOff ∅) | |
| 566 | + (v : IsDedekindDomain.HeightOneSpectrum (𝓞 K)) : Valued.v (adeleNorm K L y.val v) = 1 := by | |
| 567 | + -- `y` is a unit of `Ô L`, and the norm maps `y` and `y⁻¹` into `Ô K`. | |
| 568 | + have h_unit : y.map (adeleNorm K L) ∈ (Ô K).units := | |
| 569 | + (idelesUnitOff_empty.le hy).imp adeleNorm_mem_Ô adeleNorm_mem_Ô | |
| 570 | + exact mem_idelesUnitOff.1 (idelesUnitOff_empty.ge h_unit) v (Set.notMem_empty v) | |
| 571 | + | |
| 572 | +variable [IsCMField K] [IsCMField L] | |
| 573 | + | |
| 574 | +/-- For an extension `L / K` of CM fields, the norm `adeleNorm K L` of finite adeles commutes with | |
| 575 | +complex conjugation, written `star`. -/ | |
| 576 | +@[simp] | |
| 577 | +lemma adeleNorm_star (z : 𝔸f L) : adeleNorm K L (star z) = star (adeleNorm K L z) := by | |
| 578 | + -- conjugation on both rings of adeles is compatible with the inclusion, so it respects the norm | |
| 579 | + rw [norm_eq_of_equiv_equiv starRingAut starRingAut (RingHom.ext (adeleMap_star _)) (star z)] | |
| 580 | + simp [RingEquiv.symm_apply_eq] | |
| 581 | + | |
| 582 | +/-- For CM fields the norm of finite ideles commutes with conjugation. -/ | |
| 583 | +lemma units_map_adeleNorm_star (w : (𝔸f L)ˣ) : | |
| 584 | + map (adeleNorm K L) (star w) = star (w.map (adeleNorm K L)) := Units.ext (adeleNorm_star w.val) | |
| 585 | + | |
| 586 | +end New | |
| 587 | + | |
| 588 | +end AdeleNorm | |
| 589 | + | |
| 590 | +/-! | |
| 591 | +## Preservation of the module by the norm, and local norms | |
| 592 | + | |
| 593 | +* `New.norm_localNorm`, `New.v_localNorm`: for an idele with one component `y` at `w` | |
| 594 | + (`New.locIdele`), the norm at the place below has absolute value `‖y‖` and valuation `v y ^ f`, | |
| 595 | + where `f` is the residue degree. | |
| 596 | + | |
| 597 | +The local statements follow by applying the global compatibility of the idele module with the | |
| 598 | +relative norm to an idele supported at one place. | |
| 599 | +-/ | |
| 600 | + | |
| 601 | +section NormAbsValue | |
| 602 | + | |
| 603 | +open NumberField WithZeroMulInt FinitePlace Algebra Valued HeightOneSpectrum | |
| 604 | + | |
| 605 | +namespace New | |
| 606 | + | |
| 607 | +variable {K L : Type*} [Field K] [NumberField K] [Field L] [NumberField L] [Algebra K L] | |
| 608 | + {w : FinPlace L} | |
| 609 | + | |
| 610 | +private lemma ideleNormMap_ofFiniteIdele (y : (𝔸f L)ˣ) : | |
| 611 | + TauCeti.GlobalNumberFields.ideleNormMap K L (IdeleGroup.ofFiniteIdele (𝓞 L) L y) = | |
| 612 | + IdeleGroup.ofFiniteIdele (𝓞 K) K (Units.map (adeleNorm K L) y) := by | |
| 613 | + apply Units.ext | |
| 614 | + apply Prod.ext | |
| 615 | + · simp [TauCeti.GlobalNumberFields.coe_ideleNormMap] | |
| 616 | + · simpa only [TauCeti.GlobalNumberFields.coe_ideleNormMap, | |
| 617 | + TauCeti.GlobalNumberFields.adeleNorm_snd, IdeleGroup.coe_ofFiniteIdele, Units.coe_map] | |
| 618 | + using (adeleNorm_eq_finiteAdeleNorm K L y.val).symm | |
| 619 | + | |
| 620 | +variable (w) in | |
| 621 | +open scoped TensorProduct in | |
| 622 | +/-- Let `v` be the place of `K` below `w`. For a unit `y` of `L_w`, its local norm lies in the | |
| 623 | +range of the norm map `normUnits` from the units of `K_v ⊗[K] L` to the units of `K_v`. -/ | |
| 624 | +lemma localNorm_mem_range_normUnits (y : (LocField w)ˣ) : | |
| 625 | + localNorm K w y ∈ (TauCeti.Algebra.normUnits (LocField (w.below K)) | |
| 626 | + (S := (LocField (w.below K)) ⊗[K] L)).range := by | |
| 627 | + have h := TauCeti.GlobalNumberFields.mem_range_normUnits_ideleFiniteCoord_ideleNormMap K L | |
| 628 | + (IdeleGroup.ofFiniteIdele (𝓞 L) L (locIdele w y)) (w.below K) | |
| 629 | + rw [ideleNormMap_ofFiniteIdele, | |
| 630 | + IsDedekindDomain.HeightOneSpectrum.ideleFiniteCoord_ofFiniteIdele] at h | |
| 631 | + exact h | |
| 632 | + | |
| 633 | +/-- The norm from `L` to `K` keeps the module `New.finIdeleAbs`, the product of the normalised | |
| 634 | +absolute values of the components, of a finite idele. -/ | |
| 635 | +lemma finIdeleAbs_adeleNorm (y : (𝔸f L)ˣ) : | |
| 636 | + finIdeleAbs (Units.map (adeleNorm K L) y) = finIdeleAbs y := by | |
| 637 | + rw [finIdeleAbs_eq_ideleNorm, finIdeleAbs_eq_ideleNorm, ← ideleNormMap_ofFiniteIdele (K := K) y, | |
| 638 | + TauCeti.GlobalNumberFields.ideleNorm_ideleNormMap] | |
| 639 | + | |
| 640 | +/-- The local norm from `L_w` to the completion of `K` at the place below `w` keeps the normalised | |
| 641 | +absolute value. -/ | |
| 642 | +@[simp] | |
| 643 | +lemma norm_localNorm (y : (LocField w)ˣ) : ‖(localNorm K w y).val‖ = ‖y.val‖ := by | |
| 644 | + -- apply `finIdeleAbs_adeleNorm` to the idele supported at `w`; its norm is supported at the place | |
| 645 | + -- below | |
| 646 | + simp [← finIdeleAbs_locIdele, ← adeleNorm_locIdele, finIdeleAbs_adeleNorm] | |
| 647 | + | |
| 648 | +/-- Let `f` be the residue degree of `w` over `K`, that is, the residue field orders satisfy | |
| 649 | +`(w.below K).q ^ f = w.q`. The norm of the idele that is `y` at `w` and `1` elsewhere has | |
| 650 | +valuation `v y ^ f` at the place below `w` (valuations are written multiplicatively). -/ | |
| 651 | +lemma v_localNorm {f : ℕ} (hf : (w.below K).q ^ f = w.q) (y : (LocField w)ˣ) : | |
| 652 | + v (localNorm K w y).val = v y.val ^ f := by | |
| 653 | + -- The absolute value at a place is its valuation read in base `q`, and `w.q` is the `f`-th power | |
| 654 | + -- of the `q` below; so this is `norm_localNorm`. | |
| 655 | + refine (toNNReal_strictMono (one_lt_absNorm_nnreal (w.below K))).injective (NNReal.eq ?_) | |
| 656 | + simpa [norm_def, toNNReal_neg_apply, ← hf, ← zpow_natCast, zpow_comm] using norm_localNorm y | |
| 657 | + | |
| 658 | +end New | |
| 659 | + | |
| 660 | +end NormAbsValue | |
+545 −0 src/Lib/Adelic/Adeles/LocalFactors.lean added View file
| @@ -0,0 +1,545 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Int | |
| 4 | +public import Mathlib.Topology.Algebra.Valued.WithZeroMulInt -- shake: keep (needed public by an exposed definition) | |
| 5 | +import TauCeti.NumberTheory.NumberField.Countable | |
| 6 | +import TauCeti.Topology.Instances.Matrix | |
| 7 | +import TauCeti.Topology.LocallyConstant.Compact | |
| 8 | +public import Lib.General.Analysis.FiniteFourier | |
| 9 | +public import Lib.General.LinearAlgebra.IntegralLattices | |
| 10 | +public import Lib.Weil.Construction.WeilData | |
| 11 | +import Lib.Adelic.Adeles.IdeleModulus | |
| 12 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 13 | +import Lib.Adelic.Unitary.ComponentsAndBlockSums | |
| 14 | +import Lib.Adelic.Unitary.CongruenceLevels | |
| 15 | +import Lib.General.Measure.HaarModulus | |
| 16 | + | |
| 17 | +/-! | |
| 18 | +# Idelic generators of ideals, semilocal fields and tame local characters | |
| 19 | + | |
| 20 | +The file collects local and idelic facts about number fields. For a CM field `E` it computes values | |
| 21 | +of the splitting character `υ`, and with `New.HasPrimitiveRoot5040 E` it shows that `New.Ô E` in the | |
| 22 | +finite adeles forms an adelic pair. It defines Schwartz–Bruhat functions, semilocal fields and tame | |
| 23 | +local characters, and shows that a finite product of completions is a semilocal field. An auxiliary | |
| 24 | +fact gives the valuation of natural numbers prime to one of valuation less than 1. | |
| 25 | + | |
| 26 | +## Main definitions and results | |
| 27 | + | |
| 28 | +* `New.exists_reduction_and_idele_generator`: a nonzero ideal `I` of `𝓞 E` has an idelic generator | |
| 29 | + `t` in the integral finite adeles `New.Ô`, and `Ô / t Ô = 𝓞 / I`. | |
| 30 | +* `New.upsilon_toAdele`: the splitting character `υ` (`New.SplittingChar`) is trivial on the | |
| 31 | + principal ideles. | |
| 32 | +* `New.upsilon_eq_prod_mul_of_v_eq`, `New.upsilon_eq_atUniformizer_zpow`, | |
| 33 | + `New.upsilon_atUniformizer_mul_star`: values of `υ`, which is unramified at all finite places, | |
| 34 | + computed from the valuations of the finite part and the values at the chosen uniformisers. | |
| 35 | +* `New.schwartzBruhat`: locally constant, compactly supported complex functions that vanish outside | |
| 36 | + a set. `New.schwartzBruhat.comp`, `New.schwartzBruhat.isLocallyConstant_curry` and | |
| 37 | + `New.integral_mem_of_isLocallyConstant` are tools for substituting and averaging. | |
| 38 | +* `New.schwartzBruhat.mem_of_support_isPrimitiveMatrix`: a locally constant function supported on | |
| 39 | + primitive matrices has compact support in the matrices with a left inverse. | |
| 40 | +* `New.SemilocalField`: conditions on a topological ring `F` that a finite product of | |
| 41 | + non-archimedean local fields meets, with ring of integers `O` and uniformiser `ϖ`. | |
| 42 | +* `New.invOnUnits`, `New.TameLocalChar`: `χ⁻¹` cut off to the units of `O`, and the data showing | |
| 43 | + that it comes from a primitive character (`New.Exchange.IsPrimitiveMulChar`) of the finite ring | |
| 44 | + `O / ϖ`. | |
| 45 | +* `New.idealZeta`: the sum ζ_R(s) of [R : I]^(−s) over the ideals I of finite index of a ring R. | |
| 46 | + | |
| 47 | +Notions from other files: | |
| 48 | +* `New.IsAdelic`: The properties of the pair Ô ⊂ 𝔸_f abstracted to R ⊂ A: R is open, compact and | |
| 49 | + stable under conjugation, locally a valuation ring, contains a skew element i with −i·i = 1 and an | |
| 50 | + element of trace 1, and −1 is a norm from R. | |
| 51 | +* `New.HasPrimitiveRoot5040`: `E` contains a primitive root of unity of order `7! = 5040`. | |
| 52 | +* `New.SplittingChar`: a unitary Hecke character `υ` of `E` that complex conjugation inverts and | |
| 53 | + whose value at an idele `x` with unit finite part is `∏ x_τ / |x_τ|` over the infinite places | |
| 54 | + `τ`; `υ.atUniformizer w` is its value at the chosen uniformiser at the finite place `w`. | |
| 55 | + | |
| 56 | +## Relation to the literature | |
| 57 | + | |
| 58 | +Known; see `Lib.ClassField.Global.CMSplittingCharacters` and `Lib.Weil.TameGaussSum` for sources. | |
| 59 | +-/ | |
| 60 | + | |
| 61 | +@[expose] public section | |
| 62 | + | |
| 63 | +noncomputable section | |
| 64 | + | |
| 65 | +/-! | |
| 66 | +## Idelic generators and the splitting character | |
| 67 | + | |
| 68 | +An adele `x` is a pair: `x.1` the infinite and `x.2` the finite components. The valuation `v` is | |
| 69 | +multiplicative, with value `exp (-1)` at a uniformiser. | |
| 70 | +-/ | |
| 71 | + | |
| 72 | +namespace New | |
| 73 | + | |
| 74 | +open SplittingChar NumberField Ideal Quotient IsDedekindDomain HeightOneSpectrum WithZero Valued | |
| 75 | + RingEquiv | |
| 76 | + | |
| 77 | +section | |
| 78 | + | |
| 79 | +variable {E : Type*} [Field E] [NumberField E] | |
| 80 | + | |
| 81 | +/-- For a nonzero ideal `I` of `𝓞 E` there is a finite idele `t` whose order at every finite place | |
| 82 | +`w` is the multiplicity of `w` in `I` and which is `1` at the places not dividing `I`. -/ | |
| 83 | +lemma exists_idele_v_eq_exp_neg_multiplicity {I : Ideal (𝓞 E)} (hI : I ≠ ⊥) : | |
| 84 | + ∃ t : (𝔸f E)ˣ, | |
| 85 | + (∀ w : HeightOneSpectrum (𝓞 E), v (t.val w) = .exp (-multiplicity w.asIdeal I)) ∧ | |
| 86 | + ∀ w : HeightOneSpectrum (𝓞 E), ¬I ≤ w.asIdeal → t.val w = 1 := by | |
| 87 | + obtain ⟨t, ht⟩ := exists_idele_eq_uniformizer_zpow (fun w ↦ -multiplicity w.asIdeal I) | |
| 88 | + ((finite_factors hI).subset fun w hw ↦ dvd_of_multiplicity_pos (by simp_all [pos_iff_ne_zero])) | |
| 89 | + refine ⟨t, fun w ↦ by simp [ht], fun w hw ↦ ?_⟩ | |
| 90 | + simp [ht, multiplicity_eq_zero_of_not_dvd (dvd_iff_le.not.2 hw)] | |
| 91 | + | |
| 92 | +/-- Let `I` be a nonzero ideal of `𝓞 E` and `t` an integral finite adele whose order at every finite | |
| 93 | +place `w` is the multiplicity of `w` in `I`. Then the ideal `t Ô` of the ring `Ô` of integral finite | |
| 94 | +adeles contracts to `I`. -/ | |
| 95 | +lemma under_span_singleton_of_v_eq {I : Ideal (𝓞 E)} (hI : I ≠ ⊥) {t : Ô E} | |
| 96 | + (ht : ∀ w : HeightOneSpectrum (𝓞 E), v (t.val w) = .exp (-multiplicity w.asIdeal I)) : | |
| 97 | + (span {t}).under (𝓞 E) = I := by | |
| 98 | + -- An integer lies in `t Ô` iff it lies in `w ^ multiplicity w I` for all `w`, that is, in `I`. | |
| 99 | + refine .trans (ext fun c ↦ ?_) (iInf_maxPowDividing_eq hI) | |
| 100 | + calc c ∈ (span {t}).under (𝓞 E) | |
| 101 | + _ ↔ ∀ w : HeightOneSpectrum (𝓞 E), w.intValuation c ≤ .exp (-multiplicity w.asIdeal I) := by | |
| 102 | + simp [ht, Subtype.ext_iff, exists_eq_mul_iff_v_le, valuation_of_algebraMap, | |
| 103 | + mem_span_singleton, dvd_def] | |
| 104 | + _ ↔ c ∈ ⨅ w : HeightOneSpectrum (𝓞 E), w.maxPowDividing I := by | |
| 105 | + simp [hI, maxPowDividing_eq_pow_multiplicity, ← intValuation_le_pow_iff_mem] | |
| 106 | + | |
| 107 | +/-- Let `Ô` be the ring of integral finite adeles and `y` a finite adele. If the ideal `I` of `𝓞 E` | |
| 108 | +generates the principal ideal `t Ô` of `Ô`, then `I y ⊆ Ô` if and only if `t y ∈ Ô`. -/ | |
| 109 | +lemma forall_smul_mem_Ô_iff_of_map_eq_span {I : Ideal (𝓞 E)} {t : 𝔸f E} (ht_mem : t ∈ Ô E) | |
| 110 | + (ht : I.map (algebraMap (𝓞 E) (Ô E)) = span {⟨t, ht_mem⟩}) (y : 𝔸f E) : | |
| 111 | + (∀ c ∈ I, c • y ∈ Ô E) ↔ t * y ∈ Ô E := by | |
| 112 | + -- The `c` in `Ô` with `c y ∈ Ô` form an ideal `J`; it contains `I` iff it contains `I Ô = t Ô`. | |
| 113 | + let J : Ideal (Ô E) := | |
| 114 | + { carrier := {c : Ô E | c.val * y ∈ Ô E} | |
| 115 | + add_mem' := fun ha hb ↦ by simpa [add_mul] using add_mem ha hb | |
| 116 | + zero_mem' := by simp | |
| 117 | + smul_mem' := fun c _ hx ↦ by simpa [mul_assoc] using mul_mem c.prop hx } | |
| 118 | + calc (∀ c ∈ I, c • y ∈ Ô E) ↔ I ≤ J.comap (algebraMap (𝓞 E) (Ô E)) := by | |
| 119 | + simp only [Algebra.smul_def] | |
| 120 | + rfl -- by definition of `J` and `comap` | |
| 121 | + _ ↔ span {⟨t, ht_mem⟩} ≤ J := by rw [← map_le_iff_le_comap, ht] | |
| 122 | + _ ↔ t * y ∈ Ô E := by simp [J] | |
| 123 | + | |
| 124 | +/-- A nonzero ideal `I` of `𝓞 E` becomes principal in the ring `Ô` of integral finite adeles | |
| 125 | +(a subring of the finite adeles `𝔸f E`), and `Ô / I Ô = 𝓞 / I`. There is a ring | |
| 126 | +map `ρ : Ô → 𝓞 / I` that (a) extends the reduction modulo `I` and (b) has kernel `I Ô`, and a | |
| 127 | +finite idele `t` that (c) is integral, is `1` at the places not dividing `I` and generates the | |
| 128 | +kernel, and (d) has order `ord_w I` at every `w`; (e) for a finite adele `y`, `I y ⊆ Ô` if and | |
| 129 | +only if `t y ∈ Ô`. -/ | |
| 130 | +lemma exists_reduction_and_idele_generator {I : Ideal (𝓞 E)} (hI : I ≠ ⊥) : | |
| 131 | + ∃ ρ : Ô E →+* 𝓞 E ⧸ I, | |
| 132 | + (∀ a : 𝓞 E, ρ (algebraMap (𝓞 E) (Ô E) a) = a) ∧ | |
| 133 | + (∀ {x : Ô E}, ρ x = 0 ↔ x ∈ I.map (algebraMap (𝓞 E) (Ô E))) ∧ | |
| 134 | + ∃ t : (𝔸f E)ˣ, | |
| 135 | + (t.val ∈ Ô E ∧ | |
| 136 | + (∀ w : HeightOneSpectrum (𝓞 E), ¬I ≤ w.asIdeal → t.val w = 1) ∧ | |
| 137 | + ∀ x : Ô E, ρ x = 0 ↔ t⁻¹.val * x ∈ Ô E) ∧ | |
| 138 | + (∀ w : HeightOneSpectrum (𝓞 E), v (t.val w) = .exp (-multiplicity w.asIdeal I)) ∧ | |
| 139 | + ∀ y : 𝔸f E, (∀ c ∈ I, c • y ∈ Ô E) ↔ t.val * y ∈ Ô E := by | |
| 140 | + -- The ideal `T = t Ô` contracts to `I`, so `I Ô = T` and `𝓞 / I → Ô / T` is bijective; `ρ` is | |
| 141 | + -- the reduction modulo `T` followed by the inverse. | |
| 142 | + obtain ⟨t, h_val, h_one⟩ := exists_idele_v_eq_exp_neg_multiplicity hI | |
| 143 | + obtain ⟨a, ha_mem, ha_ne⟩ := I.ne_bot_iff.1 hI | |
| 144 | + have h_int : t.val ∈ Ô E := by simp [mem_Ô, h_val, ← log_le_log] | |
| 145 | + let T : Ideal (Ô E) := span {⟨t, h_int⟩} | |
| 146 | + have h_under : T.under (𝓞 E) = I := under_span_singleton_of_v_eq (t := ⟨t, h_int⟩) hI h_val | |
| 147 | + have h_map : I.map (algebraMap (𝓞 E) (Ô E)) = T := by | |
| 148 | + rw [← map_under_Ô (I := T) ha_ne (h_under.ge ha_mem), h_under] | |
| 149 | + let e : (𝓞 E ⧸ I) ≃+* Ô E ⧸ T := ofBijective _ (bijective_quot_Ô ha_ne h_under ha_mem) | |
| 150 | + have h_extends (c : 𝓞 E) : e.symm (mk T (algebraMap (𝓞 E) (Ô E) c)) = mk I c := by | |
| 151 | + simp [e, symm_apply_eq] | |
| 152 | + have h_ker {x : Ô E} : e.symm (mk T x) = 0 ↔ x ∈ T := by simp [eq_zero_iff_mem] | |
| 153 | + have h_mem_T (x : Ô E) : x ∈ T ↔ t⁻¹.val * x ∈ Ô E := by | |
| 154 | + simp [T, Subtype.ext_iff, ← t.inv_mul_eq_iff_eq_mul, mem_span_singleton, dvd_def] | |
| 155 | + exact ⟨e.symm.toRingHom.comp (mk T), h_extends, h_ker.trans (by rw [h_map]), t, | |
| 156 | + ⟨h_int, h_one, fun x ↦ h_ker.trans (h_mem_T x)⟩, h_val, | |
| 157 | + forall_smul_mem_Ô_iff_of_map_eq_span h_int h_map⟩ | |
| 158 | + | |
| 159 | +variable (E) in | |
| 160 | +/-- A finite idele generating the different identifies the trace dual of the integral adeles. -/ | |
| 161 | +lemma exists_idele_generator_traceDual : | |
| 162 | + ∃ t : (𝔸f E)ˣ, | |
| 163 | + (∀ w : FinPlace E, v (t.val w) = .exp (-multiplicity w.asIdeal (differentIdeal ℤ (𝓞 E)))) ∧ | |
| 164 | + ∀ y : 𝔸f E, (∀ u ∈ Ô E, ψf E (u * y) = 1) ↔ t.val * y ∈ Ô E := by | |
| 165 | + obtain ⟨-, -, -, t, -, h_val, h_gen⟩ := | |
| 166 | + exists_reduction_and_idele_generator (E := E) (differentIdeal_ne_bot (A := ℤ)) | |
| 167 | + exact ⟨t, h_val, fun y ↦ forall_ψf_mul_eq_one_iff.trans (h_gen y)⟩ | |
| 168 | + | |
| 169 | +end | |
| 170 | + | |
| 171 | +variable {E : Type*} [Field E] [CMType E] [SplittingChar E] | |
| 172 | + | |
| 173 | +/-- The splitting character `υ` is trivial on the principal ideles, the images of `Eˣ`. -/ | |
| 174 | +lemma upsilon_toAdele (x : Eˣ) : υ.val (x.map (toAdele (E := E)) : (𝔸 E)ˣ) = 1 := υ.2 _ ⟨x, rfl⟩ | |
| 175 | + | |
| 176 | +/-- Let υ be the splitting character. If an idele x and a finite idele y have the same valuation at | |
| 177 | +every finite place, then υ(x) is υ(y) times the product of x_τ/|x_τ| over the infinite places τ. | |
| 178 | +Here y is read as an idele with component 1 at the infinite places. -/ | |
| 179 | +lemma upsilon_eq_prod_mul_of_v_eq {x : (𝔸 E)ˣ} (y : (𝔸f E)ˣ) | |
| 180 | + (h_val : ∀ w : HeightOneSpectrum (𝓞 E), v (x.val.2 w) = v (y.val w)) : | |
| 181 | + υ.val x = (∏ τ : InfinitePlace E, x.val.1 τ / ‖x.val.1 τ‖) * υ.val (finIdeleIncl y) := by | |
| 182 | + -- The idele `x / y` has the infinite part of `x`, and its finite part has valuation `1` | |
| 183 | + -- everywhere (`idelesUnitOff ∅`), so it is a unit of `Ô`; `υ_unit` gives the value of `υ`. | |
| 184 | + let z : (𝔸 E)ˣ := x * finIdeleIncl y⁻¹ | |
| 185 | + have h_mem : z.map (MonoidHom.snd (InfinitePlace E → ℂ) (𝔸f E)) ∈ idelesUnitOff ∅ := by | |
| 186 | + -- by `h_val` the valuations of `x` and `y` cancel at every place | |
| 187 | + simpa [z, idelesUnitOff, Units.ext_iff, field] using! h_val | |
| 188 | + simpa [z, mul_inv_eq_iff_eq_mul₀] using υ_unit z (idelesUnitOff_empty.le h_mem) | |
| 189 | + | |
| 190 | +/-- Let `υ` be the splitting character and let the idele `x`, with infinite components `x.val.1` | |
| 191 | +and finite components `x.val.2`, be a unit at all finite places other than `w`. Then `υ x` is | |
| 192 | +`∏ x_τ / |x_τ|` over the infinite places `τ`, times the value `υ.atUniformizer w` of `υ` at the | |
| 193 | +uniformiser at `w` to the power `ord_w x` (which is `-log (v (x.val.2 w))`). -/ | |
| 194 | +lemma upsilon_eq_atUniformizer_zpow (w : FinPlace E) {x : (𝔸 E)ˣ} | |
| 195 | + (h_unit : ∀ u : FinPlace E, u ≠ w → v (x.val.2 u) = 1) : | |
| 196 | + υ.val x = (∏ τ : InfinitePlace E, x.val.1 τ / ‖x.val.1 τ‖) * | |
| 197 | + υ.atUniformizer w ^ (-log (v (x.val.2 w))) := by | |
| 198 | + -- Apply `upsilon_eq_prod_mul_of_v_eq` to the power of the uniformiser at `w` that has the | |
| 199 | + -- valuation of `x` there. | |
| 200 | + let xw : (LocField w)ˣ := ideleAt w (x.map (MonoidHom.snd (InfinitePlace E → ℂ) (𝔸f E))) | |
| 201 | + let k : ℤ := log (v xw.val) | |
| 202 | + let y : (𝔸f E)ˣ := locIdele w ((uniformizer w)⁻¹ ^ k) | |
| 203 | + have h_val (u : FinPlace E) : v (x.val.2 u) = v (y.val u) := by | |
| 204 | + obtain rfl | hu := eq_or_ne u w | |
| 205 | + · change v xw.val = v (y.val u) | |
| 206 | + simp [y, k, -map_inv, -map_zpow] | |
| 207 | + · simp [y, h_unit u hu, hu, -map_inv, -map_zpow] | |
| 208 | + simpa [k, y, xw] using! upsilon_eq_prod_mul_of_v_eq y h_val | |
| 209 | + | |
| 210 | +/-- The values of the splitting character at the uniformisers of a finite place `w` and of its | |
| 211 | +complex conjugate are inverse to each other. -/ | |
| 212 | +lemma upsilon_atUniformizer_mul_star (w : FinPlace E) : | |
| 213 | + υ.atUniformizer w * υ.atUniformizer (star w) = 1 := by | |
| 214 | + -- The value of `υ` at the conjugate of the uniformiser idele at `w` is `υ.atUniformizer (star w)` | |
| 215 | + -- by `upsilon_eq_atUniformizer_zpow`, and it is `(υ.atUniformizer w)⁻¹` by `υ_star`. | |
| 216 | + have h_at : (υ.val (star (locFullIdele w (uniformizer w))) : ℂ) = υ.atUniformizer (star w) := by | |
| 217 | + -- the conjugate idele has a uniformiser at `star w` and `1` at all the other places | |
| 218 | + rw [upsilon_eq_atUniformizer_zpow (star w) | |
| 219 | + (by simp +contextual [star_singleAdele, locFullIdele])] | |
| 220 | + simp [star_singleAdele, locFullIdele] | |
| 221 | + have h_self : (υ.val (locFullIdele w (uniformizer w)) : ℂ) = υ.atUniformizer w := by | |
| 222 | + simp [HeckeChar.atUniformizer, HeckeChar.finPart, locIdele, locFullIdele] | |
| 223 | + simp [← h_at, ← h_self, υ_star] | |
| 224 | + | |
| 225 | +end New | |
| 226 | + | |
| 227 | +/-! ## Natural numbers of valuation one -/ | |
| 228 | + | |
| 229 | +/-- If the natural number `p` has valuation less than `1` at a valuation subring `B` of a field, | |
| 230 | +then every natural number `q` prime to `p` has valuation `1` at `B`. -/ | |
| 231 | +lemma Nat.Coprime.valuation_eq_one {Ω : Type*} [Field Ω] {B : ValuationSubring Ω} {p q : ℕ} | |
| 232 | + (hpq : p.Coprime q) (hp_lt : B.valuation p < 1) : B.valuation q = 1 := by | |
| 233 | + have hq_notMem : (q : B) ∉ IsLocalRing.maximalIdeal B := | |
| 234 | + Ideal.IsPrime.notMem_of_isCoprime_of_mem hpq.cast (B.coe_mem_nonunits_iff.mp hp_lt) | |
| 235 | + exact (B.valuation_eq_one_iff q).mp (IsLocalRing.notMem_maximalIdeal.mp hq_notMem) | |
| 236 | + | |
| 237 | +/-! | |
| 238 | +## The integral finite adeles as an adelic pair | |
| 239 | + | |
| 240 | +The instance `New.isAdelic_Ô` lets the local results, proved for an abstract pair `R ⊆ A` with | |
| 241 | +`New.IsAdelic R`, be applied to the integral finite adeles `New.Ô E` of a CM field `E` with | |
| 242 | +`New.HasPrimitiveRoot5040 E`. | |
| 243 | +-/ | |
| 244 | + | |
| 245 | +/-- The integral finite adeles of a CM field `E` with `HasPrimitiveRoot5040 E` have the properties | |
| 246 | +collected in `IsAdelic`. -/ | |
| 247 | +instance New.isAdelic_Ô {E : Type*} [Field E] [NumberField E] [NumberField.IsCMField E] | |
| 248 | + [HasPrimitiveRoot5040 E] : IsAdelic (Ô E) where | |
| 249 | + isOpen_isCompact := ⟨isOpen_Ô, isCompact_Ô⟩ | |
| 250 | + isValuationPair := isValuationPair_Ô | |
| 251 | + exists_skew_unit := by | |
| 252 | + -- the integers `i` and `τ` of `E` keep their relations in the finite adeles | |
| 253 | + obtain ⟨i, τ, hi_sq, hi_star, hτ, -⟩ := | |
| 254 | + HasPrimitiveRoot5040.exists_mul_self_eq_neg_one_and_mul_star_eq_two (E := E) | |
| 255 | + refine ⟨algebraMap E (𝔸f E) i, coe_mem_Ô i, algebraMap E (𝔸f E) τ, coe_mem_Ô τ, ?_⟩ | |
| 256 | + simp only [neg_mul, star_algebraMap_finAdele] | |
| 257 | + norm_cast | |
| 258 | + exact ⟨by rw [hi_sq, neg_neg], hi_star, hτ⟩ | |
| 259 | + exists_norm_neg_one := ⟨_, by simp, star_normNegOne_mul_self⟩ | |
| 260 | + | |
| 261 | +/-! | |
| 262 | +## Schwartz–Bruhat spaces, semilocal fields and tame characters | |
| 263 | + | |
| 264 | +Schwartz–Bruhat functions on topological spaces, then semilocal fields `F` (rings that behave like | |
| 265 | +finite products of non-archimedean local fields) and tame characters of them. | |
| 266 | +-/ | |
| 267 | + | |
| 268 | +section LocalDefs | |
| 269 | + | |
| 270 | +open MeasureTheory | |
| 271 | + | |
| 272 | +namespace New | |
| 273 | + | |
| 274 | +variable {X : Type*} [TopologicalSpace X] {s : Set X} {φ : X → ℂ} {Γ Y Z : Type*} | |
| 275 | + [TopologicalSpace Γ] [TopologicalSpace Y] | |
| 276 | + | |
| 277 | +/-! ### Locally constant functions with compact support -/ | |
| 278 | + | |
| 279 | +/-- The space of locally constant, compactly supported complex functions on X that vanish | |
| 280 | +outside s. -/ | |
| 281 | +def schwartzBruhat (s : Set X) : Submodule ℂ (X → ℂ) := | |
| 282 | + Submodule.ofLinearComb {f : X → ℂ | IsLocallyConstant f ∧ HasCompactSupport f ∧ f.support ⊆ s} | |
| 283 | + ⟨0, IsLocallyConstant.zero, HasCompactSupport.zero, nofun⟩ <| by | |
| 284 | + intro f ⟨f_const, f_compact, f_supp⟩ g ⟨g_const, g_compact, g_supp⟩ a b | |
| 285 | + rw [Function.support_subset_iff'] at f_supp g_supp | |
| 286 | + exact ⟨f_const.comp₂ g_const fun x y ↦ a * x + b * y, f_compact.mul_left.add g_compact.mul_left, | |
| 287 | + Function.support_subset_iff'.2 fun x hx ↦ by simp [f_supp x hx, g_supp x hx]⟩ | |
| 288 | + | |
| 289 | +/-- Let `f : Y → X` be continuous with a continuous left inverse `g` that maps `s` into `t`. If | |
| 290 | +`φ` is locally constant, compactly supported and zero outside `s`, then `φ ∘ f` is locally | |
| 291 | +constant, compactly supported and zero outside `t`. -/ | |
| 292 | +lemma schwartzBruhat.comp [T2Space X] {t : Set Y} (hφ : φ ∈ schwartzBruhat s) {f : Y → X} | |
| 293 | + (g : X → Y) (hgf : g.LeftInverse f) (hs : s.MapsTo g t) | |
| 294 | + (hf : Continuous f := by fun_prop) (hg : Continuous g := by fun_prop) : | |
| 295 | + φ ∘ f ∈ schwartzBruhat t := by | |
| 296 | + obtain ⟨h_const, h_compact, h_supp⟩ := hφ | |
| 297 | + -- `f` is a closed embedding, having the continuous left inverse `g`; | |
| 298 | + -- if `φ (f y) ≠ 0` then `f y ∈ s`, so `y = g (f y) ∈ t` | |
| 299 | + exact ⟨h_const.comp_continuous hf, h_compact.comp_isClosedEmbedding (hgf.isClosedEmbedding hg hf), | |
| 300 | + fun y hy ↦ by simpa [hgf y] using hs (h_supp hy)⟩ | |
| 301 | + | |
| 302 | +/-- Let `ψ γ` be a family of functions on `X` that is locally constant jointly in the parameter `γ` | |
| 303 | +and the point. On a compact set `K`, the functions `ψ γ` agree with `ψ k` for `γ` near `k`. -/ | |
| 304 | +lemma eventually_eqOn_of_isLocallyConstant_uncurry {ψ : Γ → X → Z} | |
| 305 | + (hψ : IsLocallyConstant ψ.uncurry) {K : Set X} (hK : IsCompact K) (k : Γ) : | |
| 306 | + ∀ᶠ γ : Γ in nhds k, ∀ x ∈ K, ψ γ x = ψ k x := by | |
| 307 | + obtain ⟨_, hV, hk, h⟩ := (hψ.comp_continuous continuous_swap).exists_isOpen_forall_mem_eq hK k | |
| 308 | + exact (hV.eventually_mem hk).mono h | |
| 309 | + | |
| 310 | +/-- Let `f γ : Y → X` be a family of maps with left inverses `g γ`, both jointly continuous in the | |
| 311 | +parameter `γ` and the point. If `φ` is locally constant, compactly supported and zero outside `s`, | |
| 312 | +then the function `y ↦ φ (f γ y)` depends on `γ` in a locally constant way. -/ | |
| 313 | +lemma schwartzBruhat.isLocallyConstant_curry (hφ : φ ∈ schwartzBruhat s) (f : Γ → Y → X) | |
| 314 | + (g : Γ → X → Y) (hgf : ∀ (γ : Γ) (y : Y), g γ (f γ y) = y) | |
| 315 | + (hf : Continuous ↿f := by fun_prop) (hg : Continuous ↿g := by fun_prop) : | |
| 316 | + IsLocallyConstant fun (γ : Γ) (y : Y) ↦ φ (f γ y) := by | |
| 317 | + -- The family `x ↦ φ (f a (g b x))` is locally constant in `(a, b, x)`, so on `tsupport φ` | |
| 318 | + -- its members agree for `a, b` in an open neighborhood `U` of `k`. | |
| 319 | + refine (IsLocallyConstant.iff_exists_open _).2 fun k ↦ ?_ | |
| 320 | + let ψ (ab : Γ × Γ) (x : X) : ℂ := φ (f ab.1 (g ab.2 x)) | |
| 321 | + have hψ : IsLocallyConstant ψ.uncurry := hφ.1.comp_continuous (by fun_prop) | |
| 322 | + obtain ⟨U, hU_open, hk, hU⟩ := | |
| 323 | + exists_nhds_square (eventually_eqOn_of_isLocallyConstant_uncurry hψ hφ.2.1 (k, k)) | |
| 324 | + -- If `φ (f b y) ≠ 0`, compare `(a, b)` and `(b, b)` with `(k, k)` at `f b y ∈ tsupport φ`. | |
| 325 | + have eq_of_ne {a b : Γ} (ha : a ∈ U) (hb : b ∈ U) {y : Y} (hy : φ (f b y) ≠ 0) : | |
| 326 | + φ (f a y) = φ (f b y) := by | |
| 327 | + simpa [ψ, hgf] using (hU (Set.mk_mem_prod ha hb) _ (subset_tsupport φ hy)).trans | |
| 328 | + (hU (Set.mk_mem_prod hb hb) _ (subset_tsupport φ hy)).symm | |
| 329 | + refine ⟨U, hU_open, hk, fun a ha ↦ funext fun y ↦ ?_⟩ | |
| 330 | + by_cases hky : φ (f k y) = 0 | |
| 331 | + · by_cases hay : φ (f a y) = 0 | |
| 332 | + · rw [hky, hay] | |
| 333 | + · exact (eq_of_ne hk ha hay).symm | |
| 334 | + · exact eq_of_ne ha hk hky | |
| 335 | + | |
| 336 | +/-- The pointwise integral of a locally constant family of functions over a compact space, for a | |
| 337 | +finite measure, lies in every subspace `P` that contains all members of the family. -/ | |
| 338 | +lemma integral_mem_of_isLocallyConstant [MeasurableSpace Y] [BorelSpace Y] [CompactSpace Y] | |
| 339 | + (μ : Measure Y) [IsFiniteMeasure μ] {f : Y → Z → ℂ} (hf : IsLocallyConstant f) | |
| 340 | + {P : Submodule ℂ (Z → ℂ)} (h_mem : ∀ g : Y, f g ∈ P) : | |
| 341 | + (fun z : Z ↦ ∫ g : Y, f g z ∂μ) ∈ P := by | |
| 342 | + classical | |
| 343 | + -- `f` takes finitely many values `v`, all in `P`. The integral is their sum, with `v` weighted | |
| 344 | + -- by the measure of the set where `f = v`. | |
| 345 | + let T : Finset (Z → ℂ) := hf.range_finite.toFinset | |
| 346 | + have h_meas (v : Z → ℂ) : MeasurableSet (f ⁻¹' {v}) := (hf _).measurableSet | |
| 347 | + have integral_eq : (fun z : Z ↦ ∫ g, f g z ∂μ) = ∑ v ∈ T, μ.real (f ⁻¹' {v}) • v := by | |
| 348 | + ext z | |
| 349 | + calc ∫ g, f g z ∂μ = ∫ g, ∑ v ∈ T, (f ⁻¹' {v}).indicator (fun _ ↦ v z) g ∂μ := by | |
| 350 | + simp [T, Set.indicator] | |
| 351 | + _ = (∑ v ∈ T, μ.real (f ⁻¹' {v}) • v) z := by | |
| 352 | + rw [integral_finsetSum _ fun v _ ↦ (integrable_const _).indicator (h_meas v)] | |
| 353 | + simp [integral_indicator_const, h_meas] | |
| 354 | + have hT : ∀ v ∈ T, v ∈ P := by simpa [T] using h_mem | |
| 355 | + rw [integral_eq] | |
| 356 | + exact P.sum_mem fun v hv ↦ P.smul_of_tower_mem _ (hT v hv) | |
| 357 | + | |
| 358 | +/-! ### Semilocal fields and their characters -/ | |
| 359 | + | |
| 360 | +/-- Conditions met by a finite product of non-archimedean local fields: a locally compact ring with | |
| 361 | +Haar measure, compact open subring O of volume one, an element ϖ of O that is invertible in F and | |
| 362 | +topologically nilpotent, and `New.IsValuationPair O`. -/ | |
| 363 | +class SemilocalField (F : Type*) extends CommRing F, TopologicalSpace F, MeasureSpace F, | |
| 364 | + IsTopologicalRing F, PolishSpace F, LocallyCompactSpace F, BorelSpace F, | |
| 365 | + volume.IsAddHaarMeasure where | |
| 366 | + /-- The ring of integers. -/ | |
| 367 | + O : Subring F | |
| 368 | + /-- The element called the uniformiser: a unit of `F`, only required to be integral and | |
| 369 | + topologically nilpotent. -/ | |
| 370 | + ϖ : Fˣ | |
| 371 | + /-- The uniformiser is integral. -/ | |
| 372 | + ϖ_mem : ↑ϖ ∈ O | |
| 373 | + /-- The ring of integers is compact. -/ | |
| 374 | + isCompact_O : IsCompact (O : Set F) | |
| 375 | + /-- The Haar measure gives the ring of integers volume one. -/ | |
| 376 | + volume_O : volume O = 1 | |
| 377 | + /-- The ring of integers is open. -/ | |
| 378 | + isOpen_O : _root_.IsOpen O.carrier | |
| 379 | + /-- The powers of the uniformiser tend to zero. -/ | |
| 380 | + isTopologicallyNilpotent_ϖ : IsTopologicallyNilpotent ϖ.val | |
| 381 | + /-- As in a product of valuation rings, for `a, b` in `F` there is an idempotent `e` of `O` such | |
| 382 | + that `a` and `b` are `O`-multiples of `(1 - e) a + e b`. -/ | |
| 383 | + isValuationPair : IsValuationPair O | |
| 384 | + | |
| 385 | +variable {F : Type} [V : SemilocalField F] (χ : MulChar F ℂ) | |
| 386 | + | |
| 387 | +open SemilocalField | |
| 388 | + | |
| 389 | +/-- x is a unit of the subring O. -/ | |
| 390 | +@[simp] | |
| 391 | +abbrev IsIntegralUnit (x : F) : Prop := x ∈ O ∧ ∃ s ∈ O, s * x = 1 | |
| 392 | + | |
| 393 | +open scoped Classical in | |
| 394 | +/-- `χ⁻¹` on the units of `O`, zero elsewhere. -/ | |
| 395 | +def invOnUnits (x : F) : ℂ := if IsIntegralUnit x then (χ x)⁻¹ else 0 | |
| 396 | + | |
| 397 | +/-- A finite residue ring O/ϖO with the reduction π from O onto it, and a primitive character η | |
| 398 | +(`New.Exchange.IsPrimitiveMulChar`) of it such that η ∘ π is χ⁻¹ on the units of O and 0 on the rest | |
| 399 | +of O. -/ | |
| 400 | +class TameLocalChar where | |
| 401 | + /-- The residue ring `O / ϖ`. -/ | |
| 402 | + ResidueRing : Type | |
| 403 | + /-- The ring structure of the residue ring. -/ | |
| 404 | + [commRing : CommRing ResidueRing] | |
| 405 | + /-- The residue ring is finite. -/ | |
| 406 | + [finite : Finite ResidueRing] | |
| 407 | + /-- The reduction `π` from `O` to the residue ring. -/ | |
| 408 | + reduction : V.O →+* ResidueRing | |
| 409 | + /-- The character `η` of the residue ring through which `χ⁻¹` factors on the units of `O`. -/ | |
| 410 | + resChar : MulChar ResidueRing ℂ | |
| 411 | + /-- The reduction is surjective with kernel `ϖ O`. -/ | |
| 412 | + reduction_surjective_and_eq_zero_iff : Function.Surjective reduction ∧ ∀ x : O, | |
| 413 | + reduction x = 0 ↔ ϖ⁻¹.val * x.val ∈ O | |
| 414 | + /-- `η` is primitive, and `η ∘ π` is `χ⁻¹` on the units of `O` and zero on the rest of `O`. -/ | |
| 415 | + isPrimitive_resChar_and_invOnUnits_eq : | |
| 416 | + Exchange.IsPrimitiveMulChar resChar ∧ ∀ x : O, invOnUnits χ x.val = resChar (reduction x) | |
| 417 | + | |
| 418 | +attribute [instance_reducible, instance] TameLocalChar.commRing | |
| 419 | +attribute [instance] TameLocalChar.finite | |
| 420 | + | |
| 421 | +/-- An element `u : V.O` is an integral unit iff it is a unit in `V.O`. -/ | |
| 422 | +lemma isIntegralUnit_iff_isUnit {u : V.O} : IsIntegralUnit u.val ↔ IsUnit u := by | |
| 423 | + simp [isUnit_iff_exists_inv', Subtype.ext_iff] | |
| 424 | + | |
| 425 | +/-- Two integral elements multiply to an integral unit exactly when both are integral units. -/ | |
| 426 | +lemma isIntegralUnit_mul_iff {x y : F} (hx : x ∈ V.O) (hy : y ∈ V.O) : | |
| 427 | + IsIntegralUnit (x * y) ↔ IsIntegralUnit x ∧ IsIntegralUnit y := by | |
| 428 | + simpa [← isIntegralUnit_iff_isUnit] using | |
| 429 | + (IsUnit.mul_iff (x := (⟨x, hx⟩ : V.O)) (y := ⟨y, hy⟩)) | |
| 430 | + | |
| 431 | +/-- The additive character ψ is continuous and has conductor O: ψ is trivial on tO exactly when t | |
| 432 | +lies in O. -/ | |
| 433 | +def HasIntegralConductor (ψ : AddChar F ℂ) : Prop := | |
| 434 | + Continuous ψ ∧ ∀ t : F, (∀ s ∈ O, ψ (t * s) = 1) ↔ t ∈ O | |
| 435 | + | |
| 436 | +end New | |
| 437 | + | |
| 438 | +end LocalDefs | |
| 439 | + | |
| 440 | +/-! ## Primitive matrices and Schwartz–Bruhat functions -/ | |
| 441 | + | |
| 442 | +namespace New | |
| 443 | + | |
| 444 | +open Matrix SemilocalField schwartzBruhat | |
| 445 | + | |
| 446 | +variable {F : Type _} [SemilocalField F] {b n : Type} [Fintype b] [DecidableEq b] | |
| 447 | + [Fintype n] [DecidableEq n] | |
| 448 | + | |
| 449 | +/-- A square matrix over `F` is primitive over the compact open subring `O = SemilocalField.O` of | |
| 450 | +`F` (integral, with an integral left inverse) if and only if it is integral and its determinant is a | |
| 451 | +unit of `O`. -/ | |
| 452 | +lemma isPrimitiveMatrix_iff_int_and_unit_det {A : Matrix n n F} : | |
| 453 | + IsPrimitiveMatrix O A ↔ IsIntMatrix O A ∧ IsIntegralUnit A.det := | |
| 454 | + -- The determinant of an integral left inverse inverts `A.det`; conversely, if `c * A.det = 1`, | |
| 455 | + -- then `c` times the adjugate is an integral left inverse. | |
| 456 | + ⟨fun ⟨hA, L, hL, h⟩ ↦ ⟨hA, hA.det_mem, L.det, hL.det_mem, by simp [← det_mul, h]⟩, | |
| 457 | + fun ⟨hA, _, c, hc, h⟩ ↦ | |
| 458 | + ⟨hA, c • A.adjugate, hA.adjugate.smul hc, by simp [adjugate_mul, smul_smul, h]⟩⟩ | |
| 459 | + | |
| 460 | +variable {Ψ : Matrix n b F → ℂ} | |
| 461 | + | |
| 462 | +omit [Fintype b] [DecidableEq n] in | |
| 463 | +/-- If `Ψ` is locally constant with compact support in the matrices with a left inverse, then | |
| 464 | +`y ↦ Ψ yᵀ` is locally constant with compact support in the matrices with a right inverse. -/ | |
| 465 | +lemma _root_.Membership.mem.transpose_mem_schwartzBruhat | |
| 466 | + (h : Ψ ∈ schwartzBruhat {y | HasLeftInv y}) : | |
| 467 | + (fun y : Matrix b n F ↦ Ψ yᵀ) ∈ schwartzBruhat {x : Matrix b n F | HasLeftInv xᵀ} := | |
| 468 | + schwartzBruhat.comp h transpose transpose_transpose fun _ hx ↦ hx | |
| 469 | + | |
| 470 | +omit [DecidableEq n] in | |
| 471 | +/-- A locally constant function that vanishes off the primitive matrices has compact support and | |
| 472 | +vanishes off the matrices with a left inverse. -/ | |
| 473 | +lemma schwartzBruhat.mem_of_support_isPrimitiveMatrix (h : IsLocallyConstant Ψ) | |
| 474 | + (hs : ∀ y : Matrix n b F, Ψ y ≠ 0 → IsPrimitiveMatrix O y) : | |
| 475 | + Ψ ∈ schwartzBruhat {y | HasLeftInv y} := by | |
| 476 | + refine ⟨h, isCompact_O.matrix.closure_of_subset fun y hy ↦ (hs y hy).1, fun y hy ↦ ?_⟩ | |
| 477 | + obtain ⟨-, L, -, hL⟩ := hs y hy | |
| 478 | + exact ⟨L, hL⟩ | |
| 479 | + | |
| 480 | +end New | |
| 481 | + | |
| 482 | +/-! | |
| 483 | +## Finite products of completions | |
| 484 | + | |
| 485 | +For a finite set `P` of finite places of a number field `E`, the product `New.LocProd` of the | |
| 486 | +completions `New.LocField` at `P` satisfies the conditions `New.SemilocalField`. | |
| 487 | +-/ | |
| 488 | + | |
| 489 | +namespace New | |
| 490 | + | |
| 491 | +open Valued Subring | |
| 492 | + | |
| 493 | +variable {E : Type} [Field E] [NumberField E] (P : Finset (FinPlace E)) | |
| 494 | + | |
| 495 | +/-- The product of the completions E_w over the places w in P. -/ | |
| 496 | +abbrev LocProd : Type := ∀ w : P, LocField w.val | |
| 497 | + | |
| 498 | +variable {P} | |
| 499 | + | |
| 500 | +/-- The product of the completions at the places in `P` is a semilocal field: `O` is the product of | |
| 501 | +the local rings of integers and `ϖ` is the family of the chosen uniformisers. -/ | |
| 502 | +noncomputable instance : SemilocalField (LocProd P) where | |
| 503 | + O := .copy (⨅ i : P, v.integer.comap (Pi.evalRingHom (fun w : P ↦ LocField w.val) i)) | |
| 504 | + (Set.univ.pi fun i : P ↦ (LocInt i.val : Set (LocField i.val))) <| by | |
| 505 | + ext x | |
| 506 | + simp [v.mem_integer_iff, mem_LocInt] | |
| 507 | + ϖ := MulEquiv.piUnits.symm fun i : P ↦ uniformizer i.val | |
| 508 | + ϖ_mem i _ := by simp +decide [mem_LocInt] | |
| 509 | + isCompact_O := isCompact_univ_pi fun i : P ↦ isCompact_LocInt i.val | |
| 510 | + volume_O := (MeasureTheory.volume_pi_pi _).trans (by simp) | |
| 511 | + isOpen_O := isOpen_set_pi Set.finite_univ fun i _ ↦ isOpen_integer (LocField i.val) | |
| 512 | + isTopologicallyNilpotent_ϖ := | |
| 513 | + tendsto_pi_nhds.mpr fun i ↦ tendsto_zero_pow_of_v_lt_one (by simp +decide) | |
| 514 | + isValuationPair a b := by | |
| 515 | + -- the idempotent `e` and the two multipliers `y` and `z` are chosen componentwise | |
| 516 | + have h_local (i : P) : ∃ e ∈ LocInt i.val, ∃ y ∈ LocInt i.val, ∃ z ∈ LocInt i.val, | |
| 517 | + e * e = e ∧ y * (a i - e * (a i - b i)) = a i ∧ z * (a i - e * (a i - b i)) = b i := by | |
| 518 | + obtain ⟨e, he_idem, he_le⟩ := isValuationPair_valuationSubring (LocInt i.val) (a i) (b i) | |
| 519 | + simp only [sup_le_iff, Submodule.span_singleton_le_iff_mem, Submodule.mem_span_singleton] | |
| 520 | + at he_le | |
| 521 | + obtain ⟨⟨y, hy⟩, z, hz⟩ := he_le | |
| 522 | + exact ⟨e, e.prop, y, y.prop, z, z.prop, he_idem, hy, hz⟩ | |
| 523 | + choose e he_mem y hy_mem z hz_mem he_idem hy hz using h_local | |
| 524 | + refine ⟨⟨e, fun i _ ↦ he_mem i⟩, funext he_idem, ?_⟩ | |
| 525 | + simp only [sup_le_iff, Submodule.span_singleton_le_iff_mem, Submodule.mem_span_singleton] | |
| 526 | + exact ⟨⟨⟨y, fun i _ ↦ hy_mem i⟩, funext hy⟩, ⟨z, fun i _ ↦ hz_mem i⟩, funext hz⟩ | |
| 527 | + | |
| 528 | +/-- An element of the product of the completions at `P` lies in the ring of integers `O` exactly | |
| 529 | +when each of its components has valuation at most `1`. -/ | |
| 530 | +lemma mem_O_locProd {x : LocProd P} : x ∈ SemilocalField.O ↔ ∀ i : P, v (x i) ≤ 1 := Set.mem_univ_pi | |
| 531 | + | |
| 532 | +end New | |
| 533 | + | |
| 534 | +end | |
| 535 | + | |
| 536 | +section IdealZeta | |
| 537 | + | |
| 538 | +open ENNReal | |
| 539 | + | |
| 540 | +/-- The ideal zeta sum ∑ [R : I]^(−s) over the ideals I of finite index in R, for a natural | |
| 541 | +number s, with values in [0, ∞]. -/ | |
| 542 | +noncomputable def New.idealZeta {A : Type} [CommRing A] (R : Subring A) (s : ℕ) : ℝ≥0∞ := | |
| 543 | + ∑' I : {I : Ideal R // I.cardQuot ≠ 0}, (I.val.cardQuot : ℝ≥0∞)⁻¹ ^ s | |
| 544 | + | |
| 545 | +end IdealZeta | |
+450 −0 src/Lib/Adelic/Adeles/SemilocalProducts.lean added View file
| @@ -0,0 +1,450 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.MeasureTheory.Integral.Layercake | |
| 4 | +import Mathlib.RingTheory.Coalgebra.CoassocSimps | |
| 5 | +import Mathlib.Topology.Connected.Separation | |
| 6 | +import Mathlib.Topology.MetricSpace.Ultra.TotallySeparated | |
| 7 | +import TauCeti.NumberTheory.NumberField.Countable | |
| 8 | +public import Lib.Adelic.Adeles.LocalFactors | |
| 9 | +public import Lib.Adelic.Adeles.StrongApproximation | |
| 10 | +public import Lib.General.NumberTheory.EmbeddingsAndDifferent | |
| 11 | +import Lib.Adelic.Adeles.IdeleModulus | |
| 12 | +import Lib.Adelic.Reduction.FirstMinimumShortBases | |
| 13 | + | |
| 14 | +/-! | |
| 15 | +# Products of completions at finite sets of places and approximation of adeles by elements of E | |
| 16 | + | |
| 17 | +Let `S` be a finite set of finite places of the number field `E`. The ring `New.LocProd S` is the | |
| 18 | +product of the completions `E_w` for `w ∈ S`, and `O` is the product of their rings of integers. The | |
| 19 | +file relates `New.LocProd S` to the finite adeles through the projection `New.evalPlaces S` and the | |
| 20 | +extension by zero `New.adeleOfLocal S`. It computes the projection of Haar measure and the | |
| 21 | +generalized index of an element of `New.LocProd S`, and it bounds the zeta function of `O`. For a CM | |
| 22 | +field `E` and `S` stable under conjugation it defines the involution of `New.LocProd S`. | |
| 23 | + | |
| 24 | +## Main definitions and results | |
| 25 | + | |
| 26 | +* `New.exists_principal_near_of_mem_differentIdeal`: approximation of an adele by an element of `E`. | |
| 27 | +* `New.integralOff`, `New.locProd_O_eq_map_evalPlaces`, `New.map_evalPlaces_restrict_volume`: the | |
| 28 | + adeles integral off `S`, and the effect of the projection `New.evalPlaces S` on the integral | |
| 29 | + adeles `New.Ô E` and on Haar measure. | |
| 30 | +* `New.idealZeta_locProd_le`, `New.genIndex_eq_inv_prod_norm`, `New.sqrt_genIndex_le_prod_norm`: the | |
| 31 | + zeta function of `O` and the generalized index. | |
| 32 | + | |
| 33 | +Notions from other files: | |
| 34 | +* `𝔸f E`, `New.Ô E`: the finite adeles of `E` and the subring of those integral at every place. | |
| 35 | +* `New.LocField w`, `New.LocInt w`: the completion `E_w` at the finite place `w` and its integers. | |
| 36 | +* `New.genIndex a`: the inverse of the factor by which the unit `a` scales Haar measure, and `0` if | |
| 37 | + `a` is not a unit. | |
| 38 | +* `Φ w`: the chosen complex embedding of `E` at the infinite place `w`, given by | |
| 39 | + `New.PlaceEmbedding E`, which is part of `New.CMType E`. | |
| 40 | +* `New.HasPrimitiveRoot5040 E`: the CM field `E` contains a primitive `5040`-th root of unity. | |
| 41 | + | |
| 42 | +## Relation to the literature | |
| 43 | + | |
| 44 | +Known; see `Lib.Adelic.Adeles.Basic` for sources. | |
| 45 | +-/ | |
| 46 | + | |
| 47 | +@[expose] public section | |
| 48 | + | |
| 49 | +noncomputable section | |
| 50 | + | |
| 51 | +/-! | |
| 52 | +## Effective approximation of adeles by elements of E | |
| 53 | + | |
| 54 | +`New.exists_principal_near_of_mem_differentIdeal`: every adele of the CM field `E` differs from an | |
| 55 | +element of `E` by an adele that is integral at the finite places and of explicitly bounded size at | |
| 56 | +the infinite ones. The bound comes from the covering radius of the dual of the lattice `𝓞 E`. | |
| 57 | +-/ | |
| 58 | + | |
| 59 | +section RationalNear | |
| 60 | + | |
| 61 | +open NumberField New.Space | |
| 62 | + | |
| 63 | +/-- Let `d ≠ 0` lie in the different of the CM field `E`, and let `f = Core.numInfPlaces E` be the | |
| 64 | +number of infinite places. For every adele `(z, y)` there is `a` in `E` such that `y - a` lies | |
| 65 | +in the ring `Ô E` of integral finite adeles and `‖z w - Φ w a‖ ≤ (2 * f) ^ 2 * ‖Φ w d‖` at all | |
| 66 | +infinite places `w`, where `Φ w` is the chosen complex embedding at `w`. -/ | |
| 67 | +lemma New.exists_principal_near_of_mem_differentIdeal {E : Type} [Field E] [CMType E] {d : 𝓞 E} | |
| 68 | + (hd : d ≠ 0) (hd_diff : d ∈ differentIdeal ℤ (𝓞 E)) (z : InfinitePlace E → ℂ) (y : 𝔸f E) : | |
| 69 | + ∃ a : E, | |
| 70 | + y - algebraMap E (𝔸f E) a ∈ Ô E ∧ | |
| 71 | + ∀ w : InfinitePlace E, ‖z w - Φ w a‖ ≤ (2 * Core.numInfPlaces E) ^ 2 * ‖Φ w d‖ := by | |
| 72 | + obtain ⟨r, hr⟩ : ∃ r : E, y - algebraMap E (𝔸f E) r ∈ Ô E := exists_sub_mem_Ô y | |
| 73 | + -- Approximate `u = (z - r) / d` by `2 a / d` with `a` in the lattice of `stdSpace E Unit`, that | |
| 74 | + -- is, an integer of `E`; then `r + 2 a` is close to `z`. | |
| 75 | + let u : EuclideanSpace ℂ (InfinitePlace E × Unit) := .toLp 2 fun (w, _) ↦ (z w - Φ w r) / Φ w d | |
| 76 | + obtain ⟨a, ha, h_near⟩ : ∃ a ∈ (stdSpace E Unit).baseLattice, | |
| 77 | + ‖u - (stdSpace E Unit).archCoords ((2 / d : E) • a)‖ ≤ | |
| 78 | + (2 * (Core.numInfPlaces E * Fintype.card Unit)) ^ 2 / (stdSpace E Unit).firstMinimum := | |
| 79 | + (stdSpace E Unit).exists_norm_sub_archCoords_le hd hd_diff u | |
| 80 | + refine ⟨r + 2 * a (), ?_, fun w ↦ ?_⟩ | |
| 81 | + · rw [map_add, ← sub_sub] | |
| 82 | + exact sub_mem hr (by simpa [vecAtPoint] using nsmul_mem ha 2 ()) | |
| 83 | + · -- This lattice has minimum at least `1`; read the bound at `w` and multiply by `‖Φ w d‖`. | |
| 84 | + have h_min : 1 ≤ (stdSpace E Unit).firstMinimum := one_le_firstMinimum fun _ _ ↦ rfl | |
| 85 | + grw [← h_min, ← PiLp.norm_apply_le _ (w, ())] at h_near | |
| 86 | + have h_w : ‖(z w - Φ w r) / Φ w d - Φ w (2 / d * a ())‖ ≤ (2 * Core.numInfPlaces E) ^ 2 := by | |
| 87 | + simpa [u, archCoords, vecAtPoint] using h_near | |
| 88 | + simpa [div_mul_eq_mul_div, ← sub_div, hd, div_le_iff₀, sub_sub] using h_w | |
| 89 | + | |
| 90 | +end RationalNear | |
| 91 | + | |
| 92 | +namespace New | |
| 93 | + | |
| 94 | +/-! | |
| 95 | +## Projection to finitely many places and extension by zero | |
| 96 | + | |
| 97 | +For a finite set `P` of finite places, `New.evalPlaces P` sends a finite adele to its components in | |
| 98 | +the product `New.LocProd P` of the completions at `P`, and `New.adeleOfLocal P` extends such | |
| 99 | +components by zero. Both are continuous, `evalPlaces P ∘ adeleOfLocal P` is the identity | |
| 100 | +(`New.evalPlaces_adeleOfLocal`), and `adeleOfLocal P ∘ evalPlaces P` is multiplication by the | |
| 101 | +idempotent `New.idem P` (`New.adeleOfLocal_evalPlaces`). | |
| 102 | +-/ | |
| 103 | + | |
| 104 | +section LocalComponents | |
| 105 | + | |
| 106 | +open RestrictedProduct | |
| 107 | + | |
| 108 | +variable {E : Type} [Field E] [NumberField E] (P : Finset (FinPlace E)) | |
| 109 | + | |
| 110 | +/-- The ring homomorphism sending a finite adele to its components at the places of the finite | |
| 111 | +set `P`. -/ | |
| 112 | +@[simps!] | |
| 113 | +noncomputable def evalPlaces : 𝔸f E →+* LocProd P := RingHom.pi fun w ↦ evalAt w.val | |
| 114 | + | |
| 115 | +open scoped Classical in | |
| 116 | +/-- Extension by zero: the additive and multiplicative map from the product of the completions | |
| 117 | +`E_w`, `w ∈ P`, to the finite adeles, with component `0` outside `P`. -/ | |
| 118 | +noncomputable def adeleOfLocal : LocProd P →ₙ+* 𝔸f E where | |
| 119 | + toFun y := | |
| 120 | + inclusion _ _ (𝓖 := Filter.principal Pᶜ) (by simp) | |
| 121 | + (RestrictedProduct.mk (fun w ↦ if h : w ∈ P then y ⟨w, h⟩ else 0) (by aesop)) | |
| 122 | + map_mul' x y := by | |
| 123 | + congrm ⟨fun w ↦ ?_, _⟩ | |
| 124 | + by_cases h : w ∈ P <;> simp [h] | |
| 125 | + map_zero' := by | |
| 126 | + congrm ⟨fun w ↦ ?_, _⟩ | |
| 127 | + by_cases h : w ∈ P <;> simp [h] | |
| 128 | + map_add' x y := by | |
| 129 | + congrm ⟨fun w ↦ ?_, _⟩ | |
| 130 | + by_cases h : w ∈ P <;> simp [h] | |
| 131 | + | |
| 132 | +open scoped Classical in | |
| 133 | +/-- Component evaluation of the adele embedding `adeleOfLocal P y` at a finite place `w`. -/ | |
| 134 | +lemma adeleOfLocal_apply (y : LocProd P) (w : FinPlace E) : | |
| 135 | + adeleOfLocal P y w = if h : w ∈ P then y ⟨w, h⟩ else 0 := | |
| 136 | + rfl | |
| 137 | + | |
| 138 | +/-- The semilocal adele inclusion map `adeleOfLocal P` is continuous. -/ | |
| 139 | +@[fun_prop] | |
| 140 | +lemma continuous_adeleOfLocal : Continuous (adeleOfLocal P) := by | |
| 141 | + classical | |
| 142 | + -- `adeleOfLocal P` factors through the restricted product for the principal filter of `Pᶜ`, which | |
| 143 | + -- has the subspace topology of the product; there each component is a projection or `0`. | |
| 144 | + have h_components : Continuous fun (y : LocProd P) (w : FinPlace E) ↦ | |
| 145 | + if h : w ∈ P then y ⟨w, h⟩ else 0 := continuous_pi fun w ↦ by split <;> fun_prop | |
| 146 | + exact (continuous_inclusion (R := LocField) (by simp)).comp | |
| 147 | + (continuous_rng_of_principal.2 h_components) | |
| 148 | + | |
| 149 | +/-- Evaluation across the chosen finite places `evalPlaces P` is continuous. -/ | |
| 150 | +@[fun_prop] | |
| 151 | +lemma continuous_evalPlaces : Continuous (evalPlaces P) := | |
| 152 | + continuous_pi fun w ↦ continuous_evalAt w.val | |
| 153 | + | |
| 154 | +/-- Projecting `adeleOfLocal P x` to the places in `P` recovers `x`. -/ | |
| 155 | +@[simp] | |
| 156 | +lemma evalPlaces_adeleOfLocal (x : LocProd P) : evalPlaces P (adeleOfLocal P x) = x := | |
| 157 | + funext fun w ↦ dite_eq_left w.prop | |
| 158 | + | |
| 159 | +/-- Projecting to the places in `P` and extending by zero is multiplication by `idem P`, the adele | |
| 160 | +with component `1` on `P` and `0` elsewhere. -/ | |
| 161 | +lemma adeleOfLocal_evalPlaces (x : 𝔸f E) : adeleOfLocal P (evalPlaces P x) = idem P * x := by | |
| 162 | + ext w | |
| 163 | + by_cases hw : w ∈ P <;> simp [adeleOfLocal_apply, hw] | |
| 164 | + | |
| 165 | +end LocalComponents | |
| 166 | + | |
| 167 | +/-! | |
| 168 | +## Measure, zeta function and generalized index of the product of completions | |
| 169 | + | |
| 170 | +Here `O` is the subring `New.SemilocalField.O` of `New.LocProd S`, the product of the rings of | |
| 171 | +integers; it is compact, open and of volume one. The units of `New.LocProd S` embed openly into | |
| 172 | +`New.LocProd S` (`IsOpenUnits`). For `S` stable under conjugation, `New.LocProd S` has a continuous | |
| 173 | +involution, and `O` satisfies `New.IsAdelic` under `New.HasPrimitiveRoot5040 E`: it is open, | |
| 174 | +compact, stable under `star` and a valuation pair, and it contains a skew unit and an element of | |
| 175 | +norm `-1`. | |
| 176 | +-/ | |
| 177 | + | |
| 178 | +section SemilocalPlace | |
| 179 | + | |
| 180 | +open Filling NumberField FinitePlace MeasureTheory Valued Pi Pointwise SemilocalField Floors ENNReal | |
| 181 | + Function Finset | |
| 182 | + | |
| 183 | +variable {E : Type} [Field E] [NumberField E] (S : Finset (FinPlace E)) | |
| 184 | + | |
| 185 | +/-- The ring of finite adeles of `E` that are integral at every place outside `S`. -/ | |
| 186 | +def integralOff : Subring (𝔸f E) := | |
| 187 | + (IsDedekindDomain.FiniteAdeleRing.sIntegralAdeles (𝓞 E) E S).toSubring | |
| 188 | + | |
| 189 | +/-- The diagonal ring homomorphism from `E` to the product of the completions `E_w`, `w ∈ S`. -/ | |
| 190 | +abbrev ratToPlaces : E →+* LocProd S := (evalPlaces S).comp (algebraMap E (𝔸f E)) | |
| 191 | + | |
| 192 | +/-- The ring of `S`-integers of `E`: the elements integral at every finite place outside `S`. -/ | |
| 193 | +abbrev Filling.ratIntegralOff : Subring E := (integralOff S).comap (algebraMap E (𝔸f E)) | |
| 194 | + | |
| 195 | +/-- A finite adele lies in `integralOff S` if and only if its components at the places outside `S` | |
| 196 | +have valuation at most `1`. -/ | |
| 197 | +lemma mem_integralOff {x : 𝔸f E} : | |
| 198 | + x ∈ integralOff S ↔ ∀ w : FinPlace E, w ∉ S → v (x w) ≤ 1 := by | |
| 199 | + simp [integralOff, IsDedekindDomain.FiniteAdeleRing.mem_sIntegralAdeles, | |
| 200 | + IsDedekindDomain.HeightOneSpectrum.mem_adicCompletionIntegers] | |
| 201 | + | |
| 202 | +/-- The subgroup `integralOff S` of finite adeles integral outside `S` is open. -/ | |
| 203 | +lemma isOpen_integralOff : IsOpen (integralOff S : Set (𝔸f E)) := | |
| 204 | + IsDedekindDomain.FiniteAdeleRing.isOpen_sIntegralAdeles (𝓞 E) E S | |
| 205 | + | |
| 206 | +/-- Extending `x : LocProd S` by zero lies in `integralOff S`. -/ | |
| 207 | +@[simp] | |
| 208 | +lemma adeleOfLocal_mem_integralOff (x : LocProd S) : adeleOfLocal S x ∈ integralOff S := | |
| 209 | + (mem_integralOff S).2 fun w hw ↦ by simp [adeleOfLocal_apply, hw] | |
| 210 | + | |
| 211 | +/-- Extension by zero is linear over the finite adeles, which act on `LocProd S` through the | |
| 212 | +projection `evalPlaces S`. -/ | |
| 213 | +lemma adeleOfLocal_evalPlaces_mul (a : LocProd S) (b : 𝔸f E) : | |
| 214 | + adeleOfLocal S (evalPlaces S b * a) = b * adeleOfLocal S a := by | |
| 215 | + rw [← evalPlaces_adeleOfLocal S a, ← map_mul, adeleOfLocal_evalPlaces, adeleOfLocal_evalPlaces, | |
| 216 | + mul_left_comm] | |
| 217 | + | |
| 218 | +/-- A finite adele is integral at all places if and only if its projection to the places in `S` lies | |
| 219 | +in the ring of integers `O` of `LocProd S` and it is integral outside `S`. -/ | |
| 220 | +lemma mem_Ô_iff {x : 𝔸f E} : | |
| 221 | + x ∈ Ô E ↔ evalPlaces S x ∈ (O : Subring (LocProd S)) ∧ x ∈ integralOff S := by | |
| 222 | + rw [mem_O_locProd, mem_integralOff, mem_Ô] | |
| 223 | + refine ⟨fun hx ↦ ⟨fun w ↦ hx w, fun w _ ↦ hx w⟩, fun ⟨h_in, h_off⟩ w ↦ ?_⟩ | |
| 224 | + by_cases hw : w ∈ S | |
| 225 | + exacts [h_in ⟨w, hw⟩, h_off w hw] | |
| 226 | + | |
| 227 | +/-- The ring of integers `O` of `LocProd S` is the projection of the ring `Ô E` of integral finite | |
| 228 | +adeles. -/ | |
| 229 | +lemma locProd_O_eq_map_evalPlaces : (O : Subring (LocProd S)) = (Ô E).map (evalPlaces S) := by | |
| 230 | + ext x | |
| 231 | + refine ⟨fun hx ↦ ⟨adeleOfLocal S x, by simpa [mem_Ô_iff S] using hx, | |
| 232 | + evalPlaces_adeleOfLocal S x⟩, ?_⟩ | |
| 233 | + rintro ⟨y, hy, rfl⟩ | |
| 234 | + exact ((mem_Ô_iff S).1 hy).left | |
| 235 | + | |
| 236 | +/-- A finite adele with its components in `S` removed is integral at all places if and only if the | |
| 237 | +adele is integral outside `S`. -/ | |
| 238 | +lemma sub_adeleOfLocal_mem_iff {x : 𝔸f E} : | |
| 239 | + x - adeleOfLocal S (evalPlaces S x) ∈ Ô E ↔ x ∈ integralOff S := by | |
| 240 | + have h_in : evalPlaces S (x - adeleOfLocal S (evalPlaces S x)) = 0 := by simp | |
| 241 | + rw [mem_Ô_iff S, h_in, and_iff_right (zero_mem _), sub_eq_add_neg] | |
| 242 | + exact add_mem_cancel_right (neg_mem (adeleOfLocal_mem_integralOff S _)) | |
| 243 | + | |
| 244 | +instance : IsOpenUnits (LocProd S) := ⟨Units.isOpenEmbedding_val⟩ | |
| 245 | + | |
| 246 | +/-! ### Zeta function and measure -/ | |
| 247 | + | |
| 248 | +/-- For a number field `E` and a finite set `S` of finite places of `E`, `LocProd S` is the product | |
| 249 | +of the completions `E_w` over the places `w` in `S`. The ideal zeta sum `∑ [R : I]⁻¹ ^ μ` (valued in | |
| 250 | +`[0, ∞]`) over the ideals `I` of finite index is at most as large for the ring of integers `R = O` | |
| 251 | +of `LocProd S` as for the integral finite adeles `R = Ô E`. -/ | |
| 252 | +lemma idealZeta_locProd_le (μ : ℕ) : idealZeta (O : Subring (LocProd S)) μ ≤ idealZeta (Ô E) μ := by | |
| 253 | + -- Pulling back along the surjection `f : Ô E → R` is injective on ideals and keeps the index. | |
| 254 | + let R : Subring (LocProd S) := O | |
| 255 | + let f : Ô E →+* R := (evalPlaces S).restrict (Ô E) R fun x hx ↦ ((mem_Ô_iff S).1 hx).left | |
| 256 | + have hf : Surjective f := fun ⟨x, hx⟩ ↦ | |
| 257 | + let ⟨y, hy, hyx⟩ := (locProd_O_eq_map_evalPlaces S).le hx | |
| 258 | + ⟨⟨y, hy⟩, Subtype.ext hyx⟩ | |
| 259 | + have index_comap (I : Ideal R) : (I.comap f).cardQuot = I.cardQuot := | |
| 260 | + I.toAddSubgroup.index_comap_of_surjective (f := f.toAddMonoidHom) hf | |
| 261 | + let pull : {I : Ideal R // I.cardQuot ≠ 0} → {I : Ideal (Ô E) // I.cardQuot ≠ 0} := | |
| 262 | + Subtype.map (.comap f) fun I hI ↦ (index_comap I).trans_ne hI | |
| 263 | + calc idealZeta R μ | |
| 264 | + _ = ∑' I : {I : Ideal R // I.cardQuot ≠ 0}, ((pull I).val.cardQuot : ℝ≥0∞)⁻¹ ^ μ := | |
| 265 | + tsum_congr fun I ↦ by simp [pull, index_comap] | |
| 266 | + _ ≤ idealZeta (Ô E) μ := tsum_comp_le_tsum_of_injective | |
| 267 | + (Subtype.map_injective _ (Ideal.comap_injective_of_surjective f hf)) | |
| 268 | + fun I ↦ (I.val.cardQuot : ℝ≥0∞)⁻¹ ^ μ | |
| 269 | + | |
| 270 | +/-- The projection carries Haar measure on the adeles that are integral off `S` to `New.volÔ E`, the | |
| 271 | +mass of `New.Ô E`, times the Haar measure of `New.LocProd S` that gives `O` mass one. -/ | |
| 272 | +lemma map_evalPlaces_restrict_volume : | |
| 273 | + (volume.restrict (integralOff S : Set (𝔸f E))).map (evalPlaces S) = | |
| 274 | + volÔ E • (volume : Measure (LocProd S)) := by | |
| 275 | + -- Every point of `LocProd S` lifts to a translation preserving `integralOff S`, so the image | |
| 276 | + -- measure is invariant; compare it with `volume` on `O`, whose preimage in `integralOff S` is | |
| 277 | + -- `Ô E`. | |
| 278 | + have lift : HasAddStableLifts (evalPlaces S).toAddMonoidHom (integralOff S : Set (𝔸f E)) := | |
| 279 | + fun y ↦ ⟨adeleOfLocal S y, by simp [add_mem_cancel_left, add_mem_cancel_right]⟩ | |
| 280 | + have preimage : evalPlaces S ⁻¹' (O : Subring (LocProd S)) ∩ integralOff S = Ô E := | |
| 281 | + Set.ext fun _ ↦ (mem_Ô_iff S).symm | |
| 282 | + have h_map : | |
| 283 | + volume ((O : Subring (LocProd S)) : Set (LocProd S)) • | |
| 284 | + (volume.restrict (integralOff S : Set (𝔸f E))).map (evalPlaces S).toAddMonoidHom = | |
| 285 | + volume (Ô E : Set (𝔸f E)) • (volume : Measure (LocProd S)).neg := by | |
| 286 | + rw [← preimage] | |
| 287 | + exact measure_smul_map_restrict_eq_smul_neg volume volume (by measurability) | |
| 288 | + (isOpen_integralOff S).measurableSet lift isCompact_O.measurableSet | |
| 289 | + -- `O` has volume one, and Haar measure on `LocProd S` is invariant under negation. | |
| 290 | + simpa [volume_O] using h_map | |
| 291 | + | |
| 292 | +/-- In the ring of integers `O` of `LocProd S`, the `r` with `a * r ∈ O` form a subgroup of finite | |
| 293 | +index: its index `denomIndex O a` is nonzero (an infinite index is `0`). -/ | |
| 294 | +lemma denomIndex_ne_zero (a : LocProd S) : denomIndex (O : Subring (LocProd S)) a ≠ 0 := | |
| 295 | + isCompact_O.relIndex_ne_zero_add (isOpen_O.preimage (continuous_const_mul _)) | |
| 296 | + | |
| 297 | +/-- Let `a` in the completion at `w` have norm greater than `1`, and let `0 < t`. The level set of | |
| 298 | +the `x` with `√(‖x‖⁻¹ - 1) ≥ t`, that is with `0 < ‖x‖ ≤ (1 + t ^ 2)⁻¹`, has volume at most | |
| 299 | +`(1 + t ^ 2)⁻¹ * ‖a‖`. -/ | |
| 300 | +lemma volume_setOf_le_sqrt_inv_norm_sub_one_le {w : FinPlace E} {a : LocField w} (ha : 1 < ‖a‖) | |
| 301 | + {t : ℝ} (ht : 0 < t) : | |
| 302 | + volume {x : LocField w | t ≤ ‖√(‖x‖⁻¹ - 1)‖} ≤ .ofReal ((1 + t ^ 2)⁻¹ * ‖a‖) := by | |
| 303 | + -- `d` has norm between `(1 + t ^ 2) / ‖a‖` and `1 + t ^ 2`, and multiplication by `d` maps the | |
| 304 | + -- level set into `LocInt w`. | |
| 305 | + obtain ⟨d, hd, hd_lt, hd_inv⟩ : | |
| 306 | + ∃ d : LocField w, d ≠ 0 ∧ ‖d‖ < 1 + t ^ 2 ∧ ‖d‖⁻¹ ≤ (1 + t ^ 2)⁻¹ * ‖a‖ := by | |
| 307 | + obtain ⟨d, hd, hd_lt, -, hd_inv⟩ := | |
| 308 | + rescale_to_shell ha (by positivity : 0 < 1 + t ^ 2) (one_ne_zero' (LocField w)) | |
| 309 | + exact ⟨d, hd, by simpa using hd_lt, by simpa using hd_inv⟩ | |
| 310 | + let u : (LocField w)ˣ := Units.mk0 d hd | |
| 311 | + have h_subset : {x : LocField w | t ≤ ‖√(‖x‖⁻¹ - 1)‖} ⊆ u⁻¹ • (LocInt w : Set (LocField w)) := by | |
| 312 | + intro x hx | |
| 313 | + have hx_sq : t ^ 2 ≤ ‖x‖⁻¹ - 1 := by simpa [abs_of_nonneg, Real.le_sqrt' ht] using hx | |
| 314 | + have hd_le : ‖d‖ ≤ ‖x‖⁻¹ := by linarith | |
| 315 | + have h_norm : ‖d * x‖ ≤ 1 := by grw [norm_mul, hd_le, inv_mul_le_one] | |
| 316 | + exact Set.mem_inv_smul_set_iff.2 (toNormedField.norm_le_one_iff.1 h_norm) | |
| 317 | + calc volume {x : LocField w | t ≤ ‖√(‖x‖⁻¹ - 1)‖} | |
| 318 | + _ ≤ volume (u⁻¹ • (LocInt w : Set (LocField w))) := measure_mono h_subset | |
| 319 | + _ = .ofReal (genIndex u.val) := by | |
| 320 | + simp [← distribHaarChar_mul, coe_nnreal_eq, ← genIndex_eq_inv_distribHaarChar] | |
| 321 | + _ = .ofReal ‖d‖⁻¹ := by rw [genIndex_eq_inv_norm, Units.val_mk0] | |
| 322 | + _ ≤ .ofReal ((1 + t ^ 2)⁻¹ * ‖a‖) := ofReal_le_ofReal hd_inv | |
| 323 | + | |
| 324 | +/-- The function `1 + √(‖x‖⁻¹ - 1)` is locally integrable on the completion at `w`; note that `√` | |
| 325 | +vanishes on negative numbers, so the root is zero for `‖x‖ ≥ 1`. -/ | |
| 326 | +lemma locallyIntegrable_one_add_sqrt_inv_norm_sub_one (w : FinPlace E) : | |
| 327 | + LocallyIntegrable fun x : LocField w ↦ 1 + √(‖x‖⁻¹ - 1) := by | |
| 328 | + -- Layer cake formula: the volume of the set where `√(‖x‖⁻¹ - 1) ≥ t` is at most | |
| 329 | + -- `(1 + t ^ 2)⁻¹ * ‖a‖`, which is integrable in `t`. | |
| 330 | + obtain ⟨a, ha⟩ := NormedField.exists_one_lt_norm (LocField w) | |
| 331 | + suffices h_int : Integrable fun x : LocField w ↦ √(‖x‖⁻¹ - 1) from | |
| 332 | + (locallyIntegrable_const 1).add h_int.locallyIntegrable | |
| 333 | + refine ⟨by fun_prop, (hasFiniteIntegral_iff_norm _).2 ?_⟩ | |
| 334 | + calc ∫⁻ x : LocField w, .ofReal ‖√(‖x‖⁻¹ - 1)‖ | |
| 335 | + _ = ∫⁻ t in Set.Ioi (0 : ℝ), volume {x : LocField w | t ≤ ‖√(‖x‖⁻¹ - 1)‖} := | |
| 336 | + lintegral_eq_lintegral_meas_le _ (.of_forall fun x ↦ norm_nonneg _) (by fun_prop) | |
| 337 | + _ ≤ ∫⁻ t in Set.Ioi (0 : ℝ), .ofReal ((1 + t ^ 2)⁻¹ * ‖a‖) := | |
| 338 | + setLIntegral_mono' measurableSet_Ioi fun t ht ↦ volume_setOf_le_sqrt_inv_norm_sub_one_le ha ht | |
| 339 | + _ < ∞ := (integrable_inv_one_add_sq.mul_const ‖a‖).restrict.lintegral_lt_top | |
| 340 | + | |
| 341 | +/-! ### The generalized index and the product formula -/ | |
| 342 | + | |
| 343 | +/-- The generalized index `genIndex x` of `x` in the product of the completions at `S` (the inverse | |
| 344 | +of the factor by which `x` scales Haar measure) is the inverse of the product of the local norms of | |
| 345 | +`x`. Both sides are `0` if a component of `x` is zero. -/ | |
| 346 | +lemma genIndex_eq_inv_prod_norm (x : LocProd S) : genIndex x = (∏ w : S, ‖x w‖)⁻¹ := by | |
| 347 | + by_cases hx : IsUnit x | |
| 348 | + · -- Both sides are the factor by which `u⁻¹` scales the volume of `∏ w, LocInt w`. | |
| 349 | + obtain ⟨u, rfl⟩ := hx | |
| 350 | + let B : ∀ w : S, Set (LocField w.val) := fun w ↦ LocInt w.val | |
| 351 | + have h_scale : u⁻¹ • Set.univ.pi B = Set.univ.pi fun w : S ↦ MulEquiv.piUnits u⁻¹ w • B w := | |
| 352 | + Set.piMap_image_univ_pi (fun w x ↦ MulEquiv.piUnits u⁻¹ w • x) B | |
| 353 | + calc genIndex u.val | |
| 354 | + _ = (volume (u⁻¹ • Set.univ.pi B)).toReal := by | |
| 355 | + simp [B, ← distribHaarChar_mul, volume_pi_pi, ← genIndex_eq_inv_distribHaarChar] | |
| 356 | + _ = ∏ w : S, genIndex (MulEquiv.piUnits u w).val := by | |
| 357 | + simp [h_scale, B, ← distribHaarChar_mul, volume_pi_pi, ← genIndex_eq_inv_distribHaarChar] | |
| 358 | + _ = (∏ w : S, ‖u.val w‖)⁻¹ := (prod_congr rfl fun w _ ↦ | |
| 359 | + genIndex_eq_inv_norm (MulEquiv.piUnits u w)).trans (Finset.prod_inv_distrib _) | |
| 360 | + · -- A non-unit has a zero component, and both sides vanish. | |
| 361 | + obtain ⟨w, hw⟩ : ∃ w : S, x w = 0 := by simpa [Pi.isUnit_iff] using hx | |
| 362 | + rw [genIndex.map_nonunit hx, | |
| 363 | + prod_eq_zero (f := fun w : S ↦ ‖x w‖) (mem_univ w) (norm_eq_zero.2 hw), _root_.inv_zero] | |
| 364 | + | |
| 365 | +/-- Let `y ≠ 0` be an `S`-integer of the totally complex field `E`. By the product formula, the | |
| 366 | +square root of its generalized index in `LocProd S` is at most `∏ v, ‖Φ v y‖`, the product over | |
| 367 | +the infinite places. -/ | |
| 368 | +lemma sqrt_genIndex_le_prod_norm [IsTotallyComplex E] [PlaceEmbedding E] {y : E} (hy_ne : y ≠ 0) | |
| 369 | + (hy_int : y ∈ ratIntegralOff S) : | |
| 370 | + √(genIndex (ratToPlaces S y)) ≤ ∏ v : InfinitePlace E, ‖Φ v y‖ := by | |
| 371 | + classical | |
| 372 | + -- By the product formula, `|N y|⁻¹` is the product of `‖y‖` over all finite places, and the | |
| 373 | + -- factors off `S` are at most `1`. So the index is at most `|N y| = ∏ v, ‖Φ v y‖ ^ 2`. | |
| 374 | + let f (w : FinPlace E) : ℝ := ‖algebraMap E (𝔸f E) y w‖ | |
| 375 | + have hf_fin : HasFiniteMulSupport f := | |
| 376 | + (hasFiniteMulSupport hy_ne).preimage (f := equivHeightOneSpectrum.symm) (by simp) | |
| 377 | + have h_eq : |(Algebra.norm ℚ y : ℝ)|⁻¹ = ∏ w ∈ S ∪ hf_fin.toFinset, f w := | |
| 378 | + (by exact_mod_cast (prod_eq_inv_abs_norm hy_ne).symm : _ = ∏ᶠ w : FinitePlace E, w y).trans <| | |
| 379 | + (finprod_comp_equiv equivHeightOneSpectrum.symm).symm.trans | |
| 380 | + (finprod_eq_prod_of_mulSupport_toFinset_subset f hf_fin subset_union_right) | |
| 381 | + rw [Real.sqrt_le_left (by positivity), genIndex_eq_inv_prod_norm, ← prod_pow, | |
| 382 | + ← abs_norm_eq_prod_norm_sq] | |
| 383 | + refine inv_le_of_inv_le₀ (by simp [hy_ne]) (h_eq.trans_le <| (prod_le_prod_of_subset_of_le_one₀ | |
| 384 | + subset_union_left (fun _ _ ↦ norm_nonneg _) fun w _ hw ↦ by | |
| 385 | + simpa [f] using (mem_integralOff S).1 hy_int w hw).trans_eq (S.prod_coe_sort f).symm) | |
| 386 | + | |
| 387 | +/-! ### The involution -/ | |
| 388 | + | |
| 389 | +/-- The finite set `S` of finite places of `E` is stable under complex conjugation. -/ | |
| 390 | +abbrev _root_.Finset.StarStable [IsCMField E] : Prop := Fact (∀ w ∈ S, star w ∈ S) | |
| 391 | + | |
| 392 | +variable {S} in | |
| 393 | +/-- If `S` is stable under conjugation and `w ∈ S`, then `star w ∈ S`. -/ | |
| 394 | +lemma star_mem_of_starStable [IsCMField E] [hS : S.StarStable] {w : FinPlace E} (hw : w ∈ S) : | |
| 395 | + star w ∈ S := | |
| 396 | + hS.out w hw | |
| 397 | + | |
| 398 | +variable [IsCMField E] [S.StarStable] | |
| 399 | + | |
| 400 | +/-- The involution of `LocProd S`: the component of `star x` at `w` is the conjugate of the | |
| 401 | +component of `x` at `star w`. -/ | |
| 402 | +instance : StarRing (LocProd S) := | |
| 403 | + starRingOfInvolution | |
| 404 | + (.pi fun w ↦ (conjLoc (star_star w.val)).comp | |
| 405 | + (evalRingHom _ (⟨star w.val, star_mem_of_starStable w.prop⟩ : S))) | |
| 406 | + fun x ↦ by | |
| 407 | + obtain ⟨y, rfl⟩ : ∃ y : 𝔸f E, evalPlaces S y = x := ⟨_, evalPlaces_adeleOfLocal S x⟩ | |
| 408 | + simp [funext_iff, ← finAdele_star_apply] | |
| 409 | + | |
| 410 | +/-- Complex conjugation commutes with `evalPlaces S` on finite adeles. -/ | |
| 411 | +@[simp] | |
| 412 | +lemma star_evalPlaces (x : 𝔸f E) : star (evalPlaces S x) = evalPlaces S (star x) := rfl | |
| 413 | + | |
| 414 | +/-- For `S` stable under complex conjugation, extension by zero commutes with conjugation. -/ | |
| 415 | +lemma adeleOfLocal_star (x : LocProd S) : adeleOfLocal S (star x) = star (adeleOfLocal S x) := by | |
| 416 | + -- Write `x = evalPlaces S y`. The map `adeleOfLocal S ∘ evalPlaces S` multiplies by `idem S`, | |
| 417 | + -- which `star` fixes because `S` is stable under `star`. | |
| 418 | + have hS : star ⁻¹' (S : Set (FinPlace E)) = S := | |
| 419 | + Set.ext fun w ↦ ⟨fun hw ↦ by simpa using star_mem_of_starStable hw, star_mem_of_starStable⟩ | |
| 420 | + obtain ⟨y, rfl⟩ : ∃ y : 𝔸f E, evalPlaces S y = x := ⟨_, evalPlaces_adeleOfLocal S x⟩ | |
| 421 | + rw [star_evalPlaces, adeleOfLocal_evalPlaces, adeleOfLocal_evalPlaces, star_mul', star_idem, hS] | |
| 422 | + | |
| 423 | +instance : ContinuousStar (LocProd S) where | |
| 424 | + continuous_star := continuous_pi fun w ↦ (continuous_locMap (starRingEnd E) | |
| 425 | + (star_eq_iff_star_eq.mp (star_star w.val))).comp (continuous_apply _) | |
| 426 | + | |
| 427 | +-- `O` is the image of `Ô E` under `evalPlaces S`, which commutes with `star`; the witnesses for | |
| 428 | +-- `Ô E` project to witnesses for `O`. | |
| 429 | +instance [HasPrimitiveRoot5040 E] : IsAdelic (O : Subring (LocProd S)) where | |
| 430 | + isOpen_isCompact := ⟨isOpen_O, isCompact_O⟩ | |
| 431 | + isValuationPair := SemilocalField.isValuationPair | |
| 432 | + star_mem := by | |
| 433 | + rw [locProd_O_eq_map_evalPlaces] | |
| 434 | + rintro _ ⟨a, ha, rfl⟩ | |
| 435 | + exact ⟨star a, IsStarStable.star_mem ha, (star_evalPlaces S a).symm⟩ | |
| 436 | + exists_skew_unit := by | |
| 437 | + obtain ⟨i, hi, τ, hτ, hi_sq, hi_star, hτ_trace⟩ := (isAdelic_Ô (E := E)).exists_skew_unit | |
| 438 | + exact ⟨evalPlaces S i, ((mem_Ô_iff S).1 hi).left, evalPlaces S τ, ((mem_Ô_iff S).1 hτ).left, | |
| 439 | + by rw [← map_neg, ← map_mul, hi_sq, map_one], by rw [star_evalPlaces, hi_star, map_neg], | |
| 440 | + by rw [star_evalPlaces, ← map_add, hτ_trace, map_one]⟩ | |
| 441 | + exists_norm_neg_one := by | |
| 442 | + obtain ⟨c, hc, hc_norm⟩ := (isAdelic_Ô (E := E)).exists_norm_neg_one | |
| 443 | + exact ⟨evalPlaces S c, ((mem_Ô_iff S).1 hc).left, | |
| 444 | + by rw [star_evalPlaces, ← map_mul, hc_norm, map_neg, map_one]⟩ | |
| 445 | + | |
| 446 | +end SemilocalPlace | |
| 447 | + | |
| 448 | +end New | |
| 449 | + | |
| 450 | +end | |
+804 −0 src/Lib/Adelic/Adeles/StrongApproximation.lean added View file
| @@ -0,0 +1,804 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import Mathlib.Algebra.AffineMonoid.Basic | |
| 4 | +public import Mathlib.RingTheory.DedekindDomain.Different | |
| 5 | +import Mathlib.Analysis.CStarAlgebra.CStarMatrix | |
| 6 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 7 | +import Mathlib.NumberTheory.NumberField.Discriminant.Different | |
| 8 | +import Mathlib.NumberTheory.Padics.HeightOneSpectrum | |
| 9 | +import Mathlib.RingTheory.PiTensorProduct | |
| 10 | +import Mathlib.Topology.Algebra.ProperConstSMul | |
| 11 | +import Mathlib.Topology.Compactness.Paracompact | |
| 12 | +import TauCeti.NumberTheory.NumberField.InfinitePlace.Trace | |
| 13 | +import TauCeti.RingTheory.DedekindDomain.AdicValuation.ResidueField | |
| 14 | +public import Lib.Adelic.Unitary.Defs | |
| 15 | +public import Lib.General.Analysis.FourierTransforms | |
| 16 | +public import Lib.Adelic.Adeles.AdditiveCharacter | |
| 17 | +import Lib.General.Measure.IdempotentKernel | |
| 18 | +import Lib.General.NumberTheory.EmbeddingsAndDifferent | |
| 19 | +public import TauCeti.NumberTheory.NumberField.FinitePlace.Basic | |
| 20 | + | |
| 21 | +/-! | |
| 22 | +# Standard character, self-duality, strong approximation and one-sided Poisson summation | |
| 23 | + | |
| 24 | +Let `E` be a totally complex field with adele ring `New.𝔸 E`, and let `New.toAdele` be the diagonal | |
| 25 | +embedding of `E`. `New.stdAddChar` is the standard additive character, and its finite part `New.ψf` | |
| 26 | +is trivial on the integral adeles `New.Ô`. The file shows that, over a CM field, rational points of | |
| 27 | +unitary groups are discrete in the adelic group. It treats the conductor and nondegeneracy of the | |
| 28 | +character, proves that `E` is its own annihilator (also for matrices), and proves strong | |
| 29 | +approximation for adeles and adelic matrices. It ends with a one-sided Poisson summation inequality | |
| 30 | +and the compact open group given by the inverse different among self-adjoint finite adeles. | |
| 31 | + | |
| 32 | +## Main definitions and results | |
| 33 | + | |
| 34 | +* `New.Space.discreteTopology_Gamma`: `New.Space.Γ` is discrete, because the rational matrices | |
| 35 | + `New.ratMatrices` are discrete among the adelic ones. So the image under `New.Space.ratEmbed` of | |
| 36 | + any subgroup is discrete. | |
| 37 | +* `New.stdAddChar_toAdele`, `New.mem_ratAdeles_of_stdAddChar_eq_one`: for `E` totally complex, | |
| 38 | + `New.stdAddChar` is trivial on `E`. An adele that pairs trivially with all of `E` lies in `E`. So | |
| 39 | + `E` is its own annihilator. | |
| 40 | +* `New.isDualFamily_ratAdeles`: the characters `x ↦ stdAddChar E (toAdele a * x)`, `a : E`, form a | |
| 41 | + dual family for the adeles modulo `E`. | |
| 42 | +* `New.isDualFamily_ratMatrices`: the same for matrices, with the trace pairing. | |
| 43 | +* `New.strong_approximation`: strong approximation; `E` plus the adeles supported on a nonempty set | |
| 44 | + `S` of finite places is dense in the adeles. | |
| 45 | +* `New.Exchange.denseRange_rat_matrix_add`: strong approximation for matrices. | |
| 46 | + | |
| 47 | +Notions from other files: | |
| 48 | +* `New.𝔸f E`, `New.Ô E`: the finite adeles of `E` and the subring of integral finite adeles. | |
| 49 | +* `New.PlaceEmbedding.Φ`: a chosen complex embedding `Φ w` of `E` for each infinite place `w`; the | |
| 50 | + adele ring `New.𝔸 E` is the product of one copy of `ℂ` for each `w` with `New.𝔸f E`. | |
| 51 | +* `New.ratAdeles`, `New.ratMatrices`: the images of `E` and of the matrices over `E` under | |
| 52 | + `New.toAdele`, as additive subgroups. | |
| 53 | +* `New.IsDualFamily B₀ χ`: `i ↦ χ i` is an injective homomorphism to the continuous unitary | |
| 54 | + characters trivial on `B₀`, and the common kernel of the `χ i` lies in `B₀`. | |
| 55 | + | |
| 56 | +## Relation to the literature | |
| 57 | + | |
| 58 | +Known result: Self-duality of a number field in its adeles, strong approximation and a Poisson | |
| 59 | +inequality. For totally complex fields only, the field is shown to be its own annihilator and the | |
| 60 | +pairing is shown to be non-degenerate. Strong approximation omits a nonempty set of finite places | |
| 61 | +and is deduced from duality. Poisson summation is proved only as an inequality, for nonnegative | |
| 62 | +integrable functions that are lower semicontinuous at the rational points of the sum. Source: J. | |
| 63 | +Tate, Fourier analysis in number fields and Hecke's zeta-functions, thesis 1950, in Cassels-Fröhlich | |
| 64 | +ch. XV, Theorem 4.1.4; for strong approximation, Cassels, ch. II §15. | |
| 65 | + | |
| 66 | +See also `Lib.Adelic.Unitary.WeakApproximation`. | |
| 67 | +-/ | |
| 68 | + | |
| 69 | +@[expose] public section | |
| 70 | + | |
| 71 | +/-! | |
| 72 | +## Rational points of a space embed injectively and discretely | |
| 73 | + | |
| 74 | +For a hermitian space `V = (J, x)` (`New.Space`: a matrix `J` over the CM field `E` and an adelic | |
| 75 | +change of basis `x` that brings it to the standard form), `New.Space.ratEmbed` sends a rational | |
| 76 | +point `γ` of the unitary group of `J` to `x⁻¹ γ x` in the adelic group `New.G` (its underlying | |
| 77 | +adelic matrix is `adeleMatrix`), and `New.Space.embFin` is its finite part. | |
| 78 | +-/ | |
| 79 | + | |
| 80 | +namespace New | |
| 81 | + | |
| 82 | +open NumberField Matrix Function Subtype | |
| 83 | + | |
| 84 | +variable {E : Type*} [Field E] [CMType E] | |
| 85 | + {n : Type*} [Fintype n] [DecidableEq n] {s : n → ℤˣ} (V : Space E n s) | |
| 86 | + | |
| 87 | +/-- The ring of finite adeles is nontrivial, since it maps to the completion at a finite place. -/ | |
| 88 | +instance {E : Type*} [Field E] [NumberField E] : Nontrivial (𝔸f E) := by | |
| 89 | + obtain ⟨w⟩ : Nonempty (FinPlace E) := (IsDedekindDomain.HeightOneSpectrum.equivMaximalSpectrum | |
| 90 | + (RingOfIntegers.not_isField E)).nonempty | |
| 91 | + exact (evalAt w).domain_nontrivial | |
| 92 | + | |
| 93 | +namespace Space | |
| 94 | + | |
| 95 | +lemma adeleMatrix_ratEmbed (γ : U V.J) : | |
| 96 | + (V.ratEmbed γ).adeleMatrix = V.x⁻¹ * ((γ : GL n E) : Matrix n n E).map toAdele * V.x := rfl | |
| 97 | + | |
| 98 | +/-- For a space `V = (J, x)`, the finite part of the change of basis `x`, in `GL n (𝔸f E)`. -/ | |
| 99 | +@[local simp] | |
| 100 | +noncomputable def xFin : GL n (𝔸f E) := V.x.map (RingHom.snd (InfinitePlace E → ℂ) (𝔸f E)) | |
| 101 | + | |
| 102 | +/-- For a space `V = (J, x)` and `γ` in the rational unitary group `U V.J`, the finite part | |
| 103 | +`V.embFin γ` of `x⁻¹ γ x` is, in `GL n (𝔸f E)`, the conjugate of `γ` by the finite part | |
| 104 | +`V.xFin` of `x`. -/ | |
| 105 | +lemma coe_embFin (γ : U V.J) : (V.embFin γ : GL n (𝔸f E)) = | |
| 106 | + V.xFin⁻¹ * GeneralLinearGroup.map (algebraMap E (𝔸f E)) (γ : GL n E) * V.xFin := by | |
| 107 | + change GeneralLinearGroup.map (RingHom.snd (InfinitePlace E → ℂ) (𝔸f E)) | |
| 108 | + (V.x⁻¹ * GeneralLinearGroup.map toAdele (γ : GL n E) * V.x) = _ | |
| 109 | + rw [map_mul, map_mul, map_inv] | |
| 110 | + rfl | |
| 111 | + | |
| 112 | +/-- For the standard space (`J = 1`, `x = 1`), the finite part of the embedding of rational points | |
| 113 | +applies `E → 𝔸f E` to each entry. -/ | |
| 114 | +@[simp] | |
| 115 | +lemma _root_.New.stdSpace_embFin (γ : U (stdSpace E n).J) : | |
| 116 | + ((stdSpace E n).embFin γ).val = GeneralLinearGroup.map (algebraMap E (𝔸f E)) γ := by | |
| 117 | + simp [coe_embFin] | |
| 118 | + | |
| 119 | +/-- The finite part `New.Space.embFin` of the embedding of rational points is injective. -/ | |
| 120 | +instance fact_embFin_injective : Fact (Injective V.embFin) := | |
| 121 | + ⟨by simp [Injective, Gf.val_ext_iff, coe_embFin, GeneralLinearGroup.ext_iff]⟩ | |
| 122 | + | |
| 123 | +lemma ratEmbed_injective : Injective V.ratEmbed := | |
| 124 | + .of_comp (f := Prod.snd) V.fact_embFin_injective.out | |
| 125 | + | |
| 126 | +/-- For a space (J, x) and g in G, the adelic matrix x g x⁻¹ of g in rational coordinates. This is | |
| 127 | +the matrix of an element of U(J)(𝔸), and it is multiplicative in g. -/ | |
| 128 | +noncomputable def ratCoordMatrix : G E s →* Matrix n n (𝔸 E) where | |
| 129 | + toFun g := V.toRatCoords g | |
| 130 | + map_one' := by simp | |
| 131 | + map_mul' := by simp | |
| 132 | + | |
| 133 | +variable {V} in | |
| 134 | +/-- In rational coordinates, each rational point is a matrix over the ground field. -/ | |
| 135 | +lemma ratCoordMatrix_mem_ratMatrices {g : G E s} (hg : g ∈ V.Γ) : | |
| 136 | + V.ratCoordMatrix g ∈ ratMatrices E n n := by | |
| 137 | + obtain ⟨γ, rfl⟩ := hg | |
| 138 | + exact ⟨(γ : GL n E), by simp [ratCoordMatrix, ratEmbed, U.map]⟩ | |
| 139 | + | |
| 140 | +/-- The group `V.Γ = x⁻¹ U(J)(E) x` of rational points of a space `V = (J, x)` is discrete, because | |
| 141 | +the rational matrices are discrete among the adelic ones. -/ | |
| 142 | +instance discreteTopology_Gamma : DiscreteTopology V.Γ := by | |
| 143 | + -- `V.toRatCoords : g ↦ x g x⁻¹` is a continuous injection of `V.Γ` into the rational matrices | |
| 144 | + let f (g : V.Γ) : ratMatrices E n n := ⟨_, ratCoordMatrix_mem_ratMatrices g.prop⟩ | |
| 145 | + have hf_cont : Continuous f := .subtype_mk ((continuous_const.matrix_mul | |
| 146 | + (G.continuous_adeleMatrix.comp continuous_subtypeVal)).matrix_mul continuous_const) _ | |
| 147 | + exact .of_continuous_injective hf_cont (by simp [f, ratCoordMatrix, Injective, Units.val_inj]) | |
| 148 | + | |
| 149 | +/-- The image in the adelic group of any subgroup of the rational points is discrete. -/ | |
| 150 | +instance {S : Subgroup (U V.J)} : DiscreteTopology (Subgroup.map V.ratEmbed S) := | |
| 151 | + .of_subset V.discreteTopology_Gamma (S.map_le_range V.ratEmbed) | |
| 152 | + | |
| 153 | +end Space | |
| 154 | + | |
| 155 | +end New | |
| 156 | + | |
| 157 | +/-! | |
| 158 | +## The standard adelic additive character: conductor, nondegeneracy, E self-dual | |
| 159 | + | |
| 160 | +The finite part `New.ψf` sends `a` in `E` to exp(2πi Tr a). | |
| 161 | + | |
| 162 | +* `New.forall_ψf_mul_eq_one_iff`: the annihilator of `New.Ô` is given by the inverse different. | |
| 163 | +-/ | |
| 164 | + | |
| 165 | +namespace New | |
| 166 | + | |
| 167 | +open NumberField RingOfIntegers AddChar FractionalIdeal Finset Variety Algebra Int InfinitePlace | |
| 168 | + | |
| 169 | +variable {E : Type*} [Field E] [NumberField E] | |
| 170 | + | |
| 171 | +/-! ### The finite character -/ | |
| 172 | + | |
| 173 | +/-- The values of the character `ψf E` of the finite adeles are roots of unity. -/ | |
| 174 | +lemma isOfFinOrder_ψf (x : 𝔸f E) : IsOfFinOrder (ψf E x : ℂ) := by | |
| 175 | + -- some positive multiple `N * x` is integral, so the `N`-th power of `ψf E x` is one | |
| 176 | + obtain ⟨N, hN, h_mem⟩ : ∃ N : ℕ, N ≠ 0 ∧ (N : 𝔸f E) * x ∈ Ô E := by | |
| 177 | + simpa using exists_forall_mul_mem_Ô ![x] | |
| 178 | + refine isOfFinOrder_iff_pow_eq_one.2 ⟨N, hN.bot_lt, ?_⟩ | |
| 179 | + rw [← Circle.coe_pow, ← map_nsmul_eq_pow, nsmul_eq_mul, ψf_eq_one_of_mem h_mem, Circle.coe_one] | |
| 180 | + | |
| 181 | +@[fun_prop] | |
| 182 | +lemma continuous_ψf : Continuous (ψf E) := by | |
| 183 | + -- a character that is trivial on the open subring `Ô E` is continuous at zero | |
| 184 | + have h_cont : ContinuousOn (ψf E) (Ô E) := continuousOn_const.congr fun _ ↦ ψf_eq_one_of_mem | |
| 185 | + have h_zero : ContinuousAt (ψf E) 0 := isOpen_Ô.continuousOn_iff.1 h_cont (zero_mem _) | |
| 186 | + exact continuous_of_continuousAt_one (toMonoidHom (ψf E)) h_zero | |
| 187 | + | |
| 188 | +/-- The standard character at an adele `x` is `exp (-2πi ∑ w, 2 Re x_w)`, the sum being over the | |
| 189 | +infinite places, times `ψf E` of the finite part. -/ | |
| 190 | +lemma stdAddChar_eq_mul_ψf (x : 𝔸 E) : | |
| 191 | + stdAddChar E x = Real.fourierChar (-∑ w : InfinitePlace E, 2 * (x.1 w).re) * ψf E x.2 := rfl | |
| 192 | + | |
| 193 | +@[fun_prop] | |
| 194 | +lemma continuous_stdAddChar : Continuous (stdAddChar E) := by | |
| 195 | + simp only [funext stdAddChar_eq_mul_ψf] | |
| 196 | + fun_prop | |
| 197 | + | |
| 198 | +/-- Every value of `ψf E` is `exp (2πi q)` for a rational number `q`. -/ | |
| 199 | +lemma exists_ψf_eq_fourierChar (x : 𝔸f E) : ∃ q : ℚ, ψf E x = Real.fourierChar q := by | |
| 200 | + obtain ⟨a, ha⟩ : ∃ a : E, x - a ∈ Ô E := exists_sub_mem_Ô x | |
| 201 | + exact ⟨trace ℚ E a, by rw [← ψf_coe, ← div_eq_one, ← map_sub_eq_div, ψf_eq_one_of_mem ha]⟩ | |
| 202 | + | |
| 203 | +/-- For a finite adele `x` of `E`, the character `ψf E` (the finite part of the standard additive | |
| 204 | +character) is trivial on `u * x` for all integral finite adeles `u ∈ Ô E` if and only if `d * x` | |
| 205 | +is integral for every `d` in the different of `E` over `ℚ`. -/ | |
| 206 | +lemma forall_ψf_mul_eq_one_iff {x : 𝔸f E} : | |
| 207 | + (∀ u ∈ Ô E, ψf E (u * x) = 1) ↔ | |
| 208 | + ∀ d ∈ differentIdeal ℤ (𝓞 E), algebraMap E (𝔸f E) d * x ∈ Ô E := by | |
| 209 | + -- Choose `a` in `E` with `x - a` integral. The left side says that `a` lies in the trace dual | |
| 210 | + -- of `𝓞 E`, the right side that it lies in the inverse different. | |
| 211 | + obtain ⟨a, ha⟩ : ∃ a : E, x - a ∈ Ô E := exists_sub_mem_Ô x | |
| 212 | + have h_mem (u : 𝓞 E) : algebraMap E (𝔸f E) u ∈ Ô E := algebraMap_mem_Ô.2 (isIntegral_coe u) | |
| 213 | + have h_trace (u : 𝓞 E) : | |
| 214 | + ψf E (algebraMap E (𝔸f E) u * x) = Real.fourierChar (trace ℚ E (u * a)) := by | |
| 215 | + rw [← sub_add_cancel x a, mul_add, map_add_eq_mul, ψf_eq_one_of_mem (mul_mem (h_mem u) ha), | |
| 216 | + one_mul, | |
| 217 | + ← map_mul, ψf_coe] | |
| 218 | + have h_int (d : 𝓞 E) : algebraMap E (𝔸f E) d * x ∈ Ô E ↔ IsIntegral ℤ (d * a) := by | |
| 219 | + rw [← sub_add_cancel x a, mul_add, add_mem_cancel_left (mul_mem (h_mem d) ha), ← map_mul, | |
| 220 | + algebraMap_mem_Ô] | |
| 221 | + calc (∀ u ∈ Ô E, ψf E (u * x) = 1) | |
| 222 | + -- `𝓞 E` is dense in `Ô E` and `ψf` is continuous, so it is enough to test on `𝓞 E` | |
| 223 | + _ ↔ ∀ u : 𝓞 E, ψf E (algebraMap E (𝔸f E) u * x) = 1 := | |
| 224 | + ⟨fun h u ↦ h _ (h_mem u), fun h ↦ Subtype.forall'.2 (denseRange_algebraMap_Ô.eq h)⟩ | |
| 225 | + _ ↔ ∀ u : 𝓞 E, ∃ n : ℤ, trace ℚ E (u * a) = n := by | |
| 226 | + simp only [h_trace, fourierChar_eq_one_iff, ← Rat.cast_intCast (α := ℝ), Rat.cast_inj] | |
| 227 | + _ ↔ a ∈ dual ℤ ℚ (1 : FractionalIdeal (nonZeroDivisors (𝓞 E)) E) := by | |
| 228 | + simp [mem_dual, mul_comm a, eq_comm] | |
| 229 | + -- the different is the inverse of the trace dual | |
| 230 | + _ ↔ a ∈ (differentIdeal ℤ (𝓞 E) : FractionalIdeal (nonZeroDivisors (𝓞 E)) E)⁻¹ := by | |
| 231 | + rw [coeIdeal_differentIdeal ℤ ℚ E, inv_inv] | |
| 232 | + _ ↔ ∀ d ∈ differentIdeal ℤ (𝓞 E), algebraMap E (𝔸f E) d * x ∈ Ô E := by | |
| 233 | + simp [h_int, mem_inv_iff, differentIdeal_ne_bot, mul_comm a, | |
| 234 | + IsIntegralClosure.isIntegral_iff (A := 𝓞 E)] | |
| 235 | + | |
| 236 | +/-- A finite adele all of whose multiples are integral is zero. -/ | |
| 237 | +lemma eq_zero_of_forall_mul_integral {a : 𝔸f E} (h_int : ∀ x : 𝔸f E, x * a ∈ Ô E) : a = 0 := by | |
| 238 | + -- `a` lies in every neighbourhood `U` of zero: `U` contains some `N * Ô E`, and `N⁻¹ * a ∈ Ô E` | |
| 239 | + suffices h_nhds : ∀ U ∈ nhds (0 : 𝔸f E), a ∈ U from pure_le_nhds_iff.1 h_nhds | |
| 240 | + intro U hU | |
| 241 | + obtain ⟨N, hN, h_sub⟩ : ∃ N : ℕ, N ≠ 0 ∧ ∀ x ∈ Ô E, (N : 𝔸f E) * x ∈ U := | |
| 242 | + mem_nhds_zero_finAdele_iff.1 hU | |
| 243 | + obtain ⟨u, hu⟩ : ∃ u : (𝔸f E)ˣ, u = (N : 𝔸f E) := isUnit_natCast_finAdele hN | |
| 244 | + have h_mem : (N : 𝔸f E) * (↑u⁻¹ * a) ∈ U := h_sub _ (h_int _) | |
| 245 | + rwa [← hu, u.mul_inv_cancel_left] at h_mem | |
| 246 | + | |
| 247 | +/-- The pairing given by `ψf E`, the finite part of the standard additive character, separates | |
| 248 | +finite adeles: if `ψf E (t * a) = ψf E (t * b)` for all finite adeles `t`, then `a = b`. -/ | |
| 249 | +lemma eq_of_forall_ψf_mul_eq {a b : 𝔸f E} (hab : ∀ t : 𝔸f E, ψf E (t * a) = ψf E (t * b)) : | |
| 250 | + a = b := by | |
| 251 | + -- Show that every multiple of `a - b` is integral; write the multiplier as `discr E • c`. | |
| 252 | + refine eq_of_sub_eq_zero (eq_zero_of_forall_mul_integral fun x ↦ ?_) | |
| 253 | + obtain ⟨c, rfl⟩ : ∃ c : 𝔸f E, (NumberField.discr E : E) • c = x := | |
| 254 | + MulAction.surjective₀ (cast_ne_zero.2 (discr_ne_zero E)) x | |
| 255 | + have h_triv : ∀ u ∈ Ô E, ψf E (u * (c * (a - b))) = 1 := fun u _ ↦ by | |
| 256 | + rw [← mul_assoc, mul_sub, map_sub_eq_div, hab (u * c), div_self'] | |
| 257 | + -- so `c * (a - b)` times the discriminant, an element of the different, is integral | |
| 258 | + have h_mem : algebraMap E (𝔸f E) (NumberField.discr E : 𝓞 E) * (c * (a - b)) ∈ Ô E := | |
| 259 | + forall_ψf_mul_eq_one_iff.1 h_triv _ (discr_mem_differentIdeal E _) | |
| 260 | + simpa [Algebra.smul_def, mul_assoc] using h_mem | |
| 261 | + | |
| 262 | +/-- For a CM field `E`, the character `ψf E` is invariant under complex conjugation `star` of finite | |
| 263 | +adeles. -/ | |
| 264 | +lemma ψf_star [IsCMField E] (x : 𝔸f E) : ψf E (star x) = ψf E x := by | |
| 265 | + -- by density it is enough to take `x` in `E`, where conjugation preserves the trace | |
| 266 | + have h_trace (a : E) : trace ℚ E (star a) = trace ℚ E a := | |
| 267 | + trace_eq_of_algEquiv starRingAut.toRatAlgEquiv a | |
| 268 | + revert x | |
| 269 | + exact denseRange_algebraMap_finAdele.eq fun a ↦ by simp [ψf_coe, h_trace] | |
| 270 | + | |
| 271 | +variable [IsTotallyComplex E] [PlaceEmbedding E] | |
| 272 | + | |
| 273 | +/-! ### Norm and trace through the chosen embeddings -/ | |
| 274 | + | |
| 275 | +/-- For `E` totally complex, the absolute norm of `x` is the product of the `‖Φ v x‖ ^ 2` over the | |
| 276 | +infinite places `v`, where `Φ v` is the chosen embedding at `v`. -/ | |
| 277 | +lemma abs_norm_eq_prod_norm_sq (x : E) : | |
| 278 | + |(Algebra.norm ℚ x : ℝ)| = ∏ v : InfinitePlace E, ‖Φ v x‖ ^ 2 := by | |
| 279 | + simpa [← apply, mk_Φ] using (prod_eq_abs_norm x).symm | |
| 280 | + | |
| 281 | +/-- For a nonzero algebraic integer `y` of a totally complex field, the product of the `‖Φ v y‖` | |
| 282 | +over the infinite places `v` is at least one; `Φ v` is the chosen embedding at `v`. -/ | |
| 283 | +lemma one_le_prod_norm_Φ {y : E} (hy_int : IsIntegral ℤ y) (hy : y ≠ 0) : | |
| 284 | + 1 ≤ ∏ v : InfinitePlace E, ‖Φ v y‖ := by | |
| 285 | + -- the square of the product is the absolute value of the norm, a nonzero integer | |
| 286 | + obtain ⟨z, rfl⟩ : ∃ z : 𝓞 E, (z : E) = y := ⟨⟨y, hy_int⟩, rfl⟩ | |
| 287 | + have h_norm : (1 : ℝ) ≤ |(Algebra.norm ℚ (z : E) : ℝ)| := by | |
| 288 | + rw [← coe_norm_int] | |
| 289 | + exact_mod_cast one_le_abs (norm_ne_zero_iff.2 (by simpa using hy)) | |
| 290 | + rwa [abs_norm_eq_prod_norm_sq, prod_pow, one_le_sq_iff₀ (by positivity)] at h_norm | |
| 291 | + | |
| 292 | +/-- For `E` totally complex, the trace of `x` is `∑ w, 2 Re (Φ w x)` over the infinite places `w`, | |
| 293 | +where `Φ w` is the chosen embedding at `w`. -/ | |
| 294 | +lemma trace_eq_sum_Φ (x : E) : trace ℚ E x = ∑ w : InfinitePlace E, 2 * (Φ w x).re := by | |
| 295 | + -- Pair the real parts of conjugate embeddings. | |
| 296 | + simpa [sum_embeddings_eq_sum_pairs, two_mul] using | |
| 297 | + (TauCeti.NumberField.sum_re_embeddings_eq_trace x).symm | |
| 298 | + | |
| 299 | +/-! ### The annihilator of the rational points -/ | |
| 300 | + | |
| 301 | +/-- For `E` totally complex, the standard additive character `stdAddChar E` of the adeles is trivial | |
| 302 | +on the diagonal image of `E`. -/ | |
| 303 | +@[simp] | |
| 304 | +lemma stdAddChar_toAdele (x : E) : stdAddChar E (toAdele x) = 1 := by | |
| 305 | + simp [trace_eq_sum_Φ, stdAddChar_eq_mul_ψf, map_neg_eq_inv, ψf_coe] | |
| 306 | + | |
| 307 | +/-- Let `E` be totally complex, with chosen embeddings `Φ w` at the infinite places `w`. | |
| 308 | +If `∑ w, 2 * Re (Φ w b * z w)` is rational for every `b` in `E`, then | |
| 309 | +`z = fun w ↦ Φ w a` for some `a` in `E`. The factor `2` is the one in `New.trace_eq_sum_Φ`. -/ | |
| 310 | +lemma exists_eq_Φ_of_forall_sum_re_rat {z : InfinitePlace E → ℂ} | |
| 311 | + (h_trace : ∀ b : E, ∃ q : ℚ, ∑ w : InfinitePlace E, 2 * (Φ w b * z w).re = q) : | |
| 312 | + ∃ a : E, z = fun w : InfinitePlace E ↦ Φ w a := by | |
| 313 | + -- The images under `Φ` of an integral basis `v` form a real basis of the space; let `c` be the | |
| 314 | + -- coordinates of `z`. Pairing `z` with the trace-dual basis shows that they are rational. | |
| 315 | + let ι : Type _ := Module.Free.ChooseBasisIndex ℤ (𝓞 E) | |
| 316 | + let v : Module.Basis ι ℚ E := integralBasis E | |
| 317 | + obtain ⟨c, hz⟩ : ∃ c : ι → ℝ, ∀ w : InfinitePlace E, z w = ∑ i : ι, c i * Φ w (v i) := by | |
| 318 | + obtain ⟨e, he⟩ : ∃ e : mixedEmbedding.mixedSpace E ≃ₗ[ℝ] (InfinitePlace E → ℂ), | |
| 319 | + ∀ x : E, e (mixedEmbedding E x) = fun w : InfinitePlace E ↦ Φ w x := | |
| 320 | + exists_mixedEquiv.imp fun _ ↦ And.right | |
| 321 | + let β : Module.Basis ι ℝ (InfinitePlace E → ℂ) := (mixedEmbedding.latticeBasis E).map e | |
| 322 | + have hβ (i : ι) (w : InfinitePlace E) : β i w = Φ w (v i) := by simp [β, v, ι, he] | |
| 323 | + exact ⟨β.repr z, fun w ↦ by simpa [hβ] using (congrFun (β.sum_repr z) w).symm⟩ | |
| 324 | + have h_pair (b : E) : | |
| 325 | + ∑ w : InfinitePlace E, 2 * (Φ w b * z w).re = ∑ i : ι, c i * trace ℚ E (b * v i) := by | |
| 326 | + simp only [hz, trace_eq_sum_Φ, mul_sum, Complex.re_sum, map_mul, mul_left_comm (Φ _ b), | |
| 327 | + Complex.re_ofReal_mul, mul_left_comm (2 : ℝ)] | |
| 328 | + exact sum_comm | |
| 329 | + have h_rat (j : ι) : ∃ q : ℚ, c j = q := by | |
| 330 | + have h_coord : ∑ i : ι, c i * trace ℚ E (v.traceDual j * v i) = c j := by simp [apply_ite] | |
| 331 | + simpa only [h_pair, h_coord] using h_trace (v.traceDual j) | |
| 332 | + choose q hq using h_rat | |
| 333 | + exact ⟨∑ i : ι, q i * v i, funext fun w ↦ by simp [hz, hq]⟩ | |
| 334 | + | |
| 335 | +/-- For `E` totally complex, an adele `x` with `ψ (a x) = 1` for all `a` in `E` lies in the diagonal | |
| 336 | +image `ratAdeles E` of `E`. Here `ψ = stdAddChar E` is the standard additive character. -/ | |
| 337 | +lemma mem_ratAdeles_of_stdAddChar_eq_one {x : 𝔸 E} | |
| 338 | + (hx : ∀ a : E, stdAddChar E (toAdele a * x) = 1) : | |
| 339 | + x ∈ ratAdeles E := by | |
| 340 | + let T (b : E) : ℝ := ∑ w : InfinitePlace E, 2 * (Φ w b * x.1 w).re | |
| 341 | + have h_prod (b : E) : Real.fourierChar (-T b) * ψf E (b * x.2) = 1 := by | |
| 342 | + simpa [T, stdAddChar_eq_mul_ψf] using hx b | |
| 343 | + -- The values of `ψf` are `exp (2πi q)` with `q` rational, so the traces of the infinite part of | |
| 344 | + -- `x` against `E` are rational; this makes the infinite part that of some `a` in `E`. | |
| 345 | + have h_rat (b : E) : ∃ q : ℚ, T b = q := by | |
| 346 | + obtain ⟨q, hq⟩ : ∃ q : ℚ, ψf E (b * x.2) = Real.fourierChar q := exists_ψf_eq_fourierChar _ | |
| 347 | + obtain ⟨n, hn⟩ : ∃ n : ℤ, -T b + q = n := | |
| 348 | + fourierChar_eq_one_iff.1 (by rw [map_add_eq_mul, ← hq, h_prod]) | |
| 349 | + exact ⟨q - n, by simp [← hn]⟩ | |
| 350 | + obtain ⟨a, h_inf⟩ : ∃ a : E, x.1 = fun w ↦ Φ w a := exists_eq_Φ_of_forall_sum_re_rat h_rat | |
| 351 | + -- The finite parts need only have the same pairing with every `b` in `E`, which is dense. | |
| 352 | + have h_fin (b : E) : ψf E (b * a) = ψf E (b * x.2) := by | |
| 353 | + have h_trace : T b = trace ℚ E (b * a) := by simp only [T, h_inf, trace_eq_sum_Φ, map_mul] | |
| 354 | + calc ψf E (b * a) = Real.fourierChar (T b) := by rw [← map_mul, ψf_coe, h_trace] | |
| 355 | + _ = ψf E (b * x.2) := by rw [← inv_mul_eq_one, ← map_neg_eq_inv, h_prod] | |
| 356 | + exact ⟨a, Prod.ext h_inf.symm (eq_of_forall_ψf_mul_eq (denseRange_algebraMap_finAdele.eq h_fin))⟩ | |
| 357 | + | |
| 358 | +/-- For `E` totally complex, the pairing `ψ (u x)` on the adeles given by the standard character | |
| 359 | +`ψ = stdAddChar E` is nondegenerate: if `ψ (u x) = 1` for all adeles `u`, then `x = 0`. -/ | |
| 360 | +lemma eq_zero_of_forall_stdAddChar_eq_one {x : 𝔸 E} (hx : ∀ u : 𝔸 E, stdAddChar E (u * x) = 1) : | |
| 361 | + x = 0 := by | |
| 362 | + -- `x` is rational, and testing against the finite adeles shows that its finite part is zero | |
| 363 | + obtain ⟨a, rfl⟩ : ∃ a : E, toAdele a = x := mem_ratAdeles_of_stdAddChar_eq_one fun b ↦ | |
| 364 | + hx (toAdele b) | |
| 365 | + have h_fin : (a : 𝔸f E) = 0 := eq_of_forall_ψf_mul_eq fun t ↦ by | |
| 366 | + simpa [stdAddChar_eq_mul_ψf] using hx (0, t) | |
| 367 | + simpa using h_fin | |
| 368 | + | |
| 369 | +end New | |
| 370 | + | |
| 371 | +/-! ## A totally complex field is its own annihilator in its adeles, also for matrices -/ | |
| 372 | + | |
| 373 | +section AdeleSelfDual | |
| 374 | + | |
| 375 | +open NumberField Matrix Circle | |
| 376 | + | |
| 377 | +namespace New | |
| 378 | + | |
| 379 | +variable {E m n : Type*} [Field E] [NumberField E] | |
| 380 | + | |
| 381 | +/-- For a CM field `E`, the character `ψf E` (the finite part of the standard additive character) | |
| 382 | +takes the same value at a finite adele `x` and at its self-adjoint part `(x + star x) / 2`. -/ | |
| 383 | +lemma ψf_inv_two_mul_add_star [IsCMField E] (x : 𝔸f E) : | |
| 384 | + ψf E ((2⁻¹ : E) * (x + star x)) = ψf E x := by | |
| 385 | + have h_star : ψf E ((2⁻¹ : E) * star x) = ψf E ((2⁻¹ : E) * x) := by | |
| 386 | + simpa using ψf_star (((2⁻¹ : E) : 𝔸f E) * x) | |
| 387 | + have h_add : ((2⁻¹ : E) : 𝔸f E) * x + (2⁻¹ : E) * x = x := by norm_num [← add_mul, ← map_add] | |
| 388 | + rw [mul_add, AddChar.map_add_eq_mul, h_star, ← AddChar.map_add_eq_mul, h_add] | |
| 389 | + | |
| 390 | +/-- For a field `E` with a CM type, the standard additive character `stdAddChar E` takes the same | |
| 391 | +value at an adele `x` and at its self-adjoint part `(x + star x) / 2`, where `star` is complex | |
| 392 | +conjugation and `toAdele` the diagonal embedding of `E`. -/ | |
| 393 | +lemma stdAddChar_inv_two_mul_add_star {E : Type*} [Field E] [CMType E] (x : 𝔸 E) : | |
| 394 | + stdAddChar E (toAdele 2⁻¹ * (x + star x)) = stdAddChar E x := by | |
| 395 | + simp [stdAddChar_eq_mul_ψf, ψf_inv_two_mul_add_star, ← two_mul, map_ofNat] | |
| 396 | + | |
| 397 | +variable [IsTotallyComplex E] [PlaceEmbedding E] [Fintype m] [Fintype n] | |
| 398 | + | |
| 399 | +/-- A totally complex field `E` is its own annihilator in its adeles (Tate). Let | |
| 400 | +`ψ = stdAddChar E`. The characters `x ↦ ψ (a x)`, `a : E`, form a dual family (`IsDualFamily`): they | |
| 401 | +are continuous, unitary and trivial on the image `ratAdeles E` of `E`; they depend additively and | |
| 402 | +injectively on `a`; and an adele killed by all of them lies in `ratAdeles E`. -/ | |
| 403 | +instance isDualFamily_ratAdeles : | |
| 404 | + IsDualFamily (ratAdeles E) (fun (a : E) (x : 𝔸 E) ↦ stdAddChar E (toAdele a * x)) where | |
| 405 | + periodic a := ⟨.subtypeVal (by fun_prop), | |
| 406 | + by simp [ratAdeles, mul_add, AddChar.map_add_eq_mul, ← map_mul]⟩ | |
| 407 | + add_left := by simp [add_mul, AddChar.map_add_eq_mul] | |
| 408 | + add_right := by simp [mul_add, AddChar.map_add_eq_mul] | |
| 409 | + norm_eq_one := by simp [norm_coe] | |
| 410 | + -- the annihilator of `E` lies in `E`, and the pairing is nondegenerate | |
| 411 | + mem_of_forall_eq_one x hx := mem_ratAdeles_of_stdAddChar_eq_one fun a ↦ coe_eq_one.1 (hx a) | |
| 412 | + eq_zero_of_forall_eq_one a ha := (map_eq_zero toAdele).1 <| | |
| 413 | + eq_zero_of_forall_stdAddChar_eq_one fun u ↦ by simpa [mul_comm u, coe_eq_one] using ha u | |
| 414 | + | |
| 415 | +open scoped Classical in | |
| 416 | +/-- Self-duality for matrices. Let `ψ = stdAddChar E` be the standard character of the adeles. For | |
| 417 | +an `n × m` matrix `a` over `E`, consider the character `x ↦ ψ (tr (a x))` of the `m × n` adelic | |
| 418 | +matrices. These characters form a dual family (continuous unitary characters depending additively | |
| 419 | +and injectively on `a`) for the image `ratMatrices E m n` of the `m × n` matrices over `E`: they are | |
| 420 | +trivial on it, and their common kernel lies in it. -/ | |
| 421 | +instance isDualFamily_ratMatrices : | |
| 422 | + IsDualFamily (ratMatrices E m n) (fun (a : Matrix n m E) (x : Matrix m n (𝔸 E)) ↦ | |
| 423 | + stdAddChar E (trace (a.map toAdele * x))) where | |
| 424 | + periodic a := by | |
| 425 | + refine ⟨(continuous_stdAddChar.comp (by fun_prop)).subtypeVal, ?_⟩ | |
| 426 | + -- for a rational matrix `γ` the trace of `a γ` lies in `E`, where `ψ` is trivial | |
| 427 | + simp [Matrix.mul_apply, ratMatrices, trace, mul_add, Finset.sum_add_distrib, | |
| 428 | + AddChar.map_add_eq_mul, ← map_mul, ← map_sum] | |
| 429 | + add_left := by | |
| 430 | + simp [Matrix.mul_apply, trace, add_mul, Finset.sum_add_distrib, AddChar.map_add_eq_mul] | |
| 431 | + add_right := by | |
| 432 | + simp [Matrix.mul_apply, trace, mul_add, Finset.sum_add_distrib, AddChar.map_add_eq_mul] | |
| 433 | + norm_eq_one := by simp [norm_coe] | |
| 434 | + -- Both claims reduce to one entry: the trace pairing with a matrix supported at `(j, i)` | |
| 435 | + -- picks out the entry `(i, j)`. | |
| 436 | + mem_of_forall_eq_one x hx := mem_ratMatrices.2 fun i j ↦ | |
| 437 | + mem_ratAdeles_of_stdAddChar_eq_one fun a ↦ by | |
| 438 | + simpa [Matrix.mul_apply, trace, Matrix.single_apply, ite_and, coe_eq_one] using | |
| 439 | + hx (.single j i a) | |
| 440 | + eq_zero_of_forall_eq_one a ha := Matrix.ext fun i j ↦ | |
| 441 | + isDualFamily_ratAdeles.eq_zero_of_forall_eq_one (a i j) fun x ↦ by | |
| 442 | + simpa [Matrix.mul_apply, trace, Matrix.single_apply, ite_and] using ha (.single j i x) | |
| 443 | + | |
| 444 | +end New | |
| 445 | + | |
| 446 | +end AdeleSelfDual | |
| 447 | + | |
| 448 | +/-! | |
| 449 | +## Strong approximation for adeles and density of E at infinity | |
| 450 | + | |
| 451 | +* `New.Exchange.idemAdele`: the idempotent adele that is `1` at the finite places in `S` and `0` | |
| 452 | + elsewhere. | |
| 453 | +-/ | |
| 454 | + | |
| 455 | +namespace New | |
| 456 | + | |
| 457 | +open Set QuotientAddGroup Rat MeasureTheory IsDualFamily | |
| 458 | + | |
| 459 | +variable {E : Type*} [Field E] [NumberField E] [NumberField.IsTotallyComplex E] [PlaceEmbedding E] | |
| 460 | + | |
| 461 | +/-- The idempotent adele with component `1` at the finite places in `S`, and `0` at the other finite | |
| 462 | +places and at all infinite places. -/ | |
| 463 | +noncomputable abbrev Exchange.idemAdele (S : Set (FinPlace E)) : | |
| 464 | + (NumberField.InfinitePlace E → ℂ) × 𝔸f E := ((0, idem S) : 𝔸 E) | |
| 465 | + | |
| 466 | +/-- If `S` is a nonempty set of finite places and the character `y ↦ ψ (r y)`, with `r : E` and `ψ` | |
| 467 | +the standard character, is trivial on all adeles `idemAdele S * u` supported on `S`, then | |
| 468 | +`r = 0`. -/ | |
| 469 | +lemma eq_zero_of_forall_stdAddChar_mul_idemAdele {S : Set (FinPlace E)} (hS : S.Nonempty) {r : E} | |
| 470 | + (hr : ∀ u : 𝔸 E, stdAddChar E (toAdele r * (Exchange.idemAdele S * u)) = 1) : r = 0 := by | |
| 471 | + have h_zero : (toAdele r * Exchange.idemAdele S : 𝔸 E) = 0 := | |
| 472 | + eq_zero_of_forall_stdAddChar_eq_one fun u ↦ by rw [mul_comm u, mul_assoc, hr u] | |
| 473 | + -- look at the component at a place `w ∈ S`, where the idempotent is `1` | |
| 474 | + obtain ⟨w, hw⟩ := hS | |
| 475 | + simpa [hw] using congrArg (fun y : 𝔸 E ↦ Valued.v (y.2 w)) h_zero | |
| 476 | + | |
| 477 | +/-- Strong approximation for a totally complex field `E`. Let `S` be a nonempty set of finite | |
| 478 | +places. The sums `toAdele r + Exchange.idemAdele S * u`, with `r : E` and `u` an adele, are dense | |
| 479 | +in the adeles. These are the sums of an element of `E` and an adele that vanishes at infinity and | |
| 480 | +at the finite places outside `S`. -/ | |
| 481 | +lemma strong_approximation {S : Set (FinPlace E)} (hS : S.Nonempty) : | |
| 482 | + DenseRange fun p : E × 𝔸 E ↦ toAdele p.1 + Exchange.idemAdele S * p.2 := by | |
| 483 | + -- The sums are the range of the additive map `σ`; let `B` be the closure of this subgroup. If | |
| 484 | + -- `x ∉ B`, a continuous `f` on the quotient by `B` separates `x` from `0`. Subtract its mean: | |
| 485 | + -- Fourier theory on the adeles modulo `E` shows that the result vanishes. | |
| 486 | + let σ : E × 𝔸 E →+ 𝔸 E := | |
| 487 | + (toAdele (E := E)).toAddMonoidHom.coprod (AddMonoidHom.mulLeft (Exchange.idemAdele S)) | |
| 488 | + let B : AddSubgroup (𝔸 E) := σ.range.topologicalClosure | |
| 489 | + have hB_closed : IsClosed (B : Set (𝔸 E)) := AddSubgroup.isClosed_topologicalClosure σ.range | |
| 490 | + refine fun x ↦ by_contra fun hx : x ∉ B ↦ ?_ | |
| 491 | + obtain ⟨f, hf_cont, hf_ne⟩ : ∃ f : 𝔸 E ⧸ B → ℝ, Continuous f ∧ f x ≠ f 0 := | |
| 492 | + separatesPoints_continuous_of_t35Space (mt (eq_zero_iff x).1 hx) | |
| 493 | + have h_per (r : E) (u y : 𝔸 E) : f (y + (toAdele r + Exchange.idemAdele S * u) : 𝔸 E) = f y := | |
| 494 | + congrArg f (mk_add_of_mem y (subset_closure ⟨(r, u), rfl⟩)) | |
| 495 | + let mean : ℂ := ⨍ q : 𝔸 E ⧸ ratAdeles E, (f q.out : ℂ) ∂.addHaarMeasure ⊤ | |
| 496 | + have h_isPer : IsContPeriodic (ratAdeles E) fun y : 𝔸 E ↦ f y - mean := | |
| 497 | + ⟨by fun_prop, by simpa [ratAdeles, add_comm] using fun r : E ↦ h_per r 0⟩ | |
| 498 | + have h_const : ∀ y : 𝔸 E, f y - mean = 0 := by | |
| 499 | + -- It is enough that the Fourier coefficient vanishes at every `r` whose character is compatible | |
| 500 | + -- with the translation symmetries of `f - mean` in the sense of `hr`. | |
| 501 | + refine isDualFamily_ratAdeles.eq_zero_of_quotMean_mul_eq_zero h_isPer fun r | |
| 502 | + (hr : ∀ (a : 𝔸 E) (c : ℂ), (∀ y : 𝔸 E, c * (f ↑(y + a) - mean) = f y - mean) → | |
| 503 | + stdAddChar E (toAdele r * a) = c) ↦ ?_ | |
| 504 | + -- Such a character is `1` on the periods `idemAdele S * u`, so it is trivial. | |
| 505 | + obtain rfl : r = 0 := eq_zero_of_forall_stdAddChar_mul_idemAdele hS fun u ↦ | |
| 506 | + Circle.ext (hr (Exchange.idemAdele S * u) 1 (by simpa using h_per 0 u)) | |
| 507 | + -- The coefficient at the trivial character is the mean of `f - mean`, which is zero. | |
| 508 | + simp [mean, quotMean, integral_sub_average] | |
| 509 | + exact hf_ne (Complex.ofReal_injective (sub_left_inj.1 ((h_const x).trans (h_const 0).symm))) | |
| 510 | + | |
| 511 | +/-- The image of a totally complex field `E` under the embeddings `Φ w` chosen by | |
| 512 | +`PlaceEmbedding E`, one for each infinite place `w`, is dense in the product of copies of `ℂ`. -/ | |
| 513 | +lemma denseRange_Φ : DenseRange (RingHom.pi Φ : E →+* NumberField.InfinitePlace E → ℂ) := by | |
| 514 | + -- Apply strong approximation, with `S` the set of all finite places, to `(x, 0)` and pass to | |
| 515 | + -- first components, where `Exchange.idemAdele S * u` contributes nothing. | |
| 516 | + intro x | |
| 517 | + have h_approx : ((x, 0) : 𝔸 E) ∈ | |
| 518 | + closure (range fun p : E × 𝔸 E ↦ toAdele p.1 + Exchange.idemAdele univ * p.2) := | |
| 519 | + strong_approximation univ_nonempty _ | |
| 520 | + have h_fst (r : E) (u : 𝔸 E) : | |
| 521 | + (toAdele r + Exchange.idemAdele univ * u : 𝔸 E).1 = RingHom.pi Φ r := | |
| 522 | + funext fun w ↦ by simp | |
| 523 | + refine map_mem_closure continuous_fst h_approx ?_ | |
| 524 | + rintro _ ⟨⟨r, u⟩, rfl⟩ | |
| 525 | + exact ⟨r, (h_fst r u).symm⟩ | |
| 526 | + | |
| 527 | +end New | |
| 528 | + | |
| 529 | +/-! ## Strong approximation for adelic matrices -/ | |
| 530 | + | |
| 531 | +/-- Strong approximation for matrices over a field `E` with a CM type. Let `S` be a nonempty set of | |
| 532 | +finite places and `x` an invertible `n × n` adelic matrix. The matrices `x⁻¹ A + idemAdele S • B`, | |
| 533 | +with `A` over `E` and `B` adelic, are dense in the `n × m` adelic matrices. Here `idemAdele S` is | |
| 534 | +the adele that is `1` at the places in `S` and `0` at all other places. -/ | |
| 535 | +lemma New.Exchange.denseRange_rat_matrix_add {E m n : Type*} [Field E] [CMType E] [Fintype n] | |
| 536 | + [DecidableEq n] {S : Set (FinPlace E)} (hS : S.Nonempty) (x : GL n (𝔸 E)) : | |
| 537 | + DenseRange fun p : Matrix n m E × Matrix n m (𝔸 E) ↦ | |
| 538 | + x⁻¹.val * p.1.map toAdele + idemAdele (E := E) S • p.2 := by | |
| 539 | + intro Y | |
| 540 | + -- Strong approximation entry by entry: `x * Y` is a limit of matrices `A + idemAdele S • B`. | |
| 541 | + have h_approx : x.val * Y ∈ closure (Set.range fun p : n → m → E × 𝔸 E ↦ | |
| 542 | + (Matrix.of fun i j ↦ (p i j).1).map toAdele + idemAdele S • Matrix.of fun i j ↦ (p i j).2) := | |
| 543 | + DenseRange.piMap (fun _ ↦ .piMap fun _ ↦ strong_approximation hS) _ | |
| 544 | + -- Multiply by `x⁻¹`, using `x⁻¹ * (A + idemAdele S • B) = x⁻¹ * A + idemAdele S • (x⁻¹ * B)`. | |
| 545 | + rw [← Matrix.one_mul Y, ← x.inv_mul, Matrix.mul_assoc] | |
| 546 | + refine map_mem_closure (f := fun Z ↦ x⁻¹.val * Z) (by fun_prop) h_approx ?_ | |
| 547 | + rintro _ ⟨p, rfl⟩ | |
| 548 | + refine ⟨(.of fun i j ↦ (p i j).1, x⁻¹.val * .of fun i j ↦ (p i j).2), ?_⟩ | |
| 549 | + simp only [Matrix.mul_add, Matrix.mul_smul] | |
| 550 | + rfl | |
| 551 | + | |
| 552 | +/-! | |
| 553 | +## One-sided Poisson summation on the adeles | |
| 554 | + | |
| 555 | +The main result is `New.IsDualFamily.sum_le_of_fourier`: a finite sum of a non-negative integrable | |
| 556 | +function over rational points is at most any bound for the finite sums of the absolute values of its | |
| 557 | +Fourier transform over `E`. Only lower semicontinuity at these points is needed. The proof smooths | |
| 558 | +the function by a bump on the compact quotient of the adeles by `E` (`New.ratAdeles`) and applies | |
| 559 | +Fourier inversion there, with the standard character `New.stdAddChar`. | |
| 560 | +-/ | |
| 561 | + | |
| 562 | +section OneSidedPoisson | |
| 563 | + | |
| 564 | +open MeasureTheory Measure Complex QuotientAddGroup NumberField Finset Circle | |
| 565 | + | |
| 566 | +namespace New | |
| 567 | + | |
| 568 | +/-- Smooth an integrable function `F` on the adeles by a continuous function `η` on `𝔸 E ⧸ E` with | |
| 569 | +`|η| ≤ 1`. The Fourier coefficient at `ξ : E` of `z ↦ ∫ η(z + x) F(x) dx` (a mean `quotMean` over | |
| 570 | +`𝔸 E ⧸ E`: the integral, for the Haar probability measure `addHaarMeasure ⊤`, of the value at a lift | |
| 571 | +`q.out` of each class `q`) is the coefficient of `η` times the Fourier transform | |
| 572 | +`∫ ψ(-ξ x) F(x) dx`. Here `ψ = stdAddChar E` is the standard character and `ratAdeles E` the image | |
| 573 | +of `E` in the adeles. -/ | |
| 574 | +lemma IsDualFamily.quotMean_stdAddChar_mul_integral {E : Type*} [Field E] [NumberField E] | |
| 575 | + [IsTotallyComplex E] [PlaceEmbedding E] {F : 𝔸 E → ℝ} (hF : Integrable F) | |
| 576 | + {η : C(𝔸 E ⧸ ratAdeles E, ℝ)} (hη_le : ∀ q : 𝔸 E ⧸ ratAdeles E, ‖η q‖ ≤ 1) (ξ : E) : | |
| 577 | + (quotMean (ratAdeles E) fun z : 𝔸 E ↦ | |
| 578 | + stdAddChar E (toAdele ξ * z) * ∫ x : 𝔸 E, (η ↑(z + x) * F x : ℂ)) = | |
| 579 | + (quotMean (ratAdeles E) fun z : 𝔸 E ↦ stdAddChar E (toAdele ξ * z) * ofReal (η z)) * | |
| 580 | + ∫ x : 𝔸 E, stdAddChar E (toAdele ξ * -x) * ofReal (F x) := by | |
| 581 | + let ψ (z : 𝔸 E) : ℂ := stdAddChar E (toAdele ξ * z) | |
| 582 | + have h_shift (x : 𝔸 E) : (quotMean (ratAdeles E) fun z ↦ ψ z * η ↑(z + x)) = | |
| 583 | + (quotMean (ratAdeles E) fun z ↦ ψ z * η z) * ψ (-x) := by | |
| 584 | + have h_per : IsContPeriodic (ratAdeles E) fun y : 𝔸 E ↦ ofReal (η ↑(y + x)) := | |
| 585 | + ⟨by fun_prop, by simp +contextual [← eq_zero_iff]⟩ | |
| 586 | + simpa [ψ, mul_comm] using (mul_quotMean_translate h_per ξ (-x)).symm | |
| 587 | + -- `F` is integrable and the other factors are measurable and bounded by one | |
| 588 | + have h_int : Integrable (fun p : (𝔸 E ⧸ ratAdeles E) × 𝔸 E ↦ ψ p.1.out * η (p.1 + p.2) * F p.2) | |
| 589 | + ((addHaarMeasure ⊤).prod volume) := | |
| 590 | + (hF.comp_snd _).ofReal.bdd_mul (c := 1) | |
| 591 | + ((isDualFamily_ratAdeles.periodic ξ).integrable_out.aestronglyMeasurable.comp_fst.mul | |
| 592 | + (by fun_prop)) (.of_forall fun p ↦ by simpa [ψ, norm_coe] using hη_le _) | |
| 593 | + -- exchange the mean over `z` and the integral over `x`, then apply `h_shift` | |
| 594 | + simp only [ψ, quotMean, mk_add, out_eq'] at h_shift ⊢ | |
| 595 | + simp only [← integral_const_mul, ← mul_assoc] | |
| 596 | + rw [integral_integral_swap h_int] | |
| 597 | + simp only [integral_mul_const, h_shift] | |
| 598 | + | |
| 599 | +/-- Upper bound for `∫ η F` by Fourier inversion on `𝔸 E ⧸ E`. Let `F` be integrable on the adeles | |
| 600 | +and `η` continuous on `𝔸 E ⧸ E` with values in `[0, 1]`. If `S` bounds the finite sums over `ξ : E` | |
| 601 | +of the absolute values of the Fourier transform `∫ ψ(-ξ x) F(x) dx`, then `∫ η F ≤ (∫ η) S`. Here | |
| 602 | +`ψ = stdAddChar E` is the standard character, `ratAdeles E` is the image of `E` under the diagonal | |
| 603 | +embedding `toAdele`, and `addHaarMeasure ⊤` is the Haar probability measure on the quotient. -/ | |
| 604 | +lemma IsDualFamily.integral_mul_le_of_sum_norm_le {E : Type*} [Field E] [NumberField E] | |
| 605 | + [IsTotallyComplex E] [PlaceEmbedding E] {S : ℝ} {F : 𝔸 E → ℝ} (hF : Integrable F) | |
| 606 | + (hS : ∀ Y : Finset E, ∑ ξ ∈ Y, ‖∫ x : 𝔸 E, stdAddChar E (toAdele ξ * -x) * ofReal (F x)‖ ≤ S) | |
| 607 | + {η : C(𝔸 E ⧸ ratAdeles E, ℝ)} (hη_nonneg : ∀ q : 𝔸 E ⧸ ratAdeles E, 0 ≤ η q) | |
| 608 | + (hη_le : ∀ q : 𝔸 E ⧸ ratAdeles E, ‖η q‖ ≤ 1) : | |
| 609 | + ∫ x : 𝔸 E, η x * F x ≤ (∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤) * S := by | |
| 610 | + set J : ℝ := ∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤ with hJ | |
| 611 | + have hJ_nonneg : 0 ≤ J := integral_nonneg hη_nonneg | |
| 612 | + -- `G` is `F` smoothed by `η`: a continuous periodic function with `G 0 = ∫ η F`. | |
| 613 | + let G (z : 𝔸 E) : ℂ := ∫ x : 𝔸 E, η ↑(z + x) * F x | |
| 614 | + have hG_per : IsContPeriodic (ratAdeles E) G := by | |
| 615 | + refine ⟨continuous_of_dominated (by fun_prop) (fun z ↦ .of_forall fun x ↦ ?_) hF.norm | |
| 616 | + (.of_forall (by fun_prop)), by simp +contextual [G, ← eq_zero_iff]⟩ | |
| 617 | + grw [norm_mul, norm_real, hη_le, one_mul, norm_real] | |
| 618 | + let coeff (ξ : E) (f : 𝔸 E → ℂ) : ℂ := | |
| 619 | + quotMean (ratAdeles E) fun z : 𝔸 E ↦ stdAddChar E (toAdele ξ * z) * f z | |
| 620 | + have coeff_G (ξ : E) : coeff ξ G = | |
| 621 | + coeff ξ (fun z ↦ η z) * ∫ x : 𝔸 E, stdAddChar E (toAdele ξ * -x) * ofReal (F x) := | |
| 622 | + quotMean_stdAddChar_mul_integral hF hη_le ξ | |
| 623 | + have coeff_η (ξ : E) : ‖coeff ξ fun z ↦ η z‖ ≤ J := | |
| 624 | + (norm_integral_le_integral_norm _).trans (by simp [hJ, norm_coe, abs_of_nonneg, hη_nonneg]) | |
| 625 | + have h_sum_le (Y : Finset E) : ∑ ξ ∈ Y, ‖coeff ξ G‖ ≤ J * S := by | |
| 626 | + simp only [coeff_G, norm_mul] | |
| 627 | + grw [coeff_η, ← mul_sum, hS] | |
| 628 | + -- Fourier inversion at `0`: the real part of every partial sum of the series is at most `J * S`. | |
| 629 | + have h_inv : HasSum (fun ξ : E ↦ coeff ξ G) (G 0) := by | |
| 630 | + simpa using isDualFamily_ratAdeles.fourier_inversion hG_per | |
| 631 | + (summable_of_sum_le (fun _ ↦ norm_nonneg _) h_sum_le).of_norm (fun _ ↦ rfl) 0 | |
| 632 | + have h_re_le : (G 0).re ≤ J * S := le_of_tendsto' (hasSum_re h_inv) fun Y ↦ | |
| 633 | + (sum_le_sum fun ξ _ ↦ re_le_norm (coeff ξ G)).trans (h_sum_le Y) | |
| 634 | + simpa [G, ← ofReal_mul, integral_complex_ofReal] using h_re_le | |
| 635 | + | |
| 636 | +/-- Let `F ≥ 0` on `𝔸 E`, let `T` be a finite subset of the image `ratAdeles E` of `E`, and let | |
| 637 | +`η ≥ 0` on `𝔸 E ⧸ E` be such that every class at which `η` is not zero contains a point `u` with | |
| 638 | +`c ≤ ∑ t ∈ T, F (t + u)`. Then at each `x`, the sum of `η x * F (g + x)` over the `g` in `E` (the | |
| 639 | +integral for the counting measure) is at least `η x * c`: keep the terms with `g + x = t + u`. -/ | |
| 640 | +private lemma mul_le_integral_count_mul_add {E : Type*} [Field E] [NumberField E] | |
| 641 | + [PlaceEmbedding E] {c : ℝ} {F : 𝔸 E → ℝ} (hF_nonneg : 0 ≤ F) {T : Finset (ratAdeles E)} | |
| 642 | + {η : C(𝔸 E ⧸ ratAdeles E, ℝ)} (hη_nonneg : ∀ q : 𝔸 E ⧸ ratAdeles E, 0 ≤ η q) | |
| 643 | + (hη_supp : ∀ x : 𝔸 E, η x ≠ 0 → ∃ u : 𝔸 E, x - u ∈ ratAdeles E ∧ c ≤ ∑ t ∈ T, F (t + u)) | |
| 644 | + (x : 𝔸 E) (hx : Integrable (fun g : ratAdeles E ↦ η x * F (g + x)) count) : | |
| 645 | + η x * c ≤ ∫ g : ratAdeles E, η x * F (g + x) ∂count := by | |
| 646 | + obtain h_zero | h_pos : η x = 0 ∨ 0 < η x := (hη_nonneg x).eq_or_lt' | |
| 647 | + · simp [h_zero] | |
| 648 | + -- Keep the terms `g` with `g + x = t + u` for `t ∈ T`. | |
| 649 | + obtain ⟨u, hux, hu⟩ := hη_supp x h_pos.ne' | |
| 650 | + calc η x * c ≤ η x * ∑ t ∈ T, F (t + u) := by gcongr | |
| 651 | + _ = ∑ g ∈ T.map (addRightEmbedding (-⟨x - u, hux⟩)), η x * F (g + x) := by | |
| 652 | + simp [add_assoc, mul_sum] | |
| 653 | + _ ≤ ∫ g : ratAdeles E, η x * F (g + x) ∂count := | |
| 654 | + sum_le_hasSum _ (fun g _ ↦ mul_nonneg h_pos.le (hF_nonneg (g + x))) | |
| 655 | + (by simpa [count] using hasSum_integral_measure (μ := dirac) hx) | |
| 656 | + | |
| 657 | +/-- Lower bound for `∫ η F` by folding the integral over `E`. Let `F ≥ 0` be integrable on `𝔸 E` | |
| 658 | +(for its `volume` measure, which is also used for `∫ x, η x * F x`), let `T` be a finite subset of | |
| 659 | +the image `ratAdeles E` of `E`, and let `η` be continuous on `𝔸 E ⧸ E` with values in `[0, 1]` and | |
| 660 | +positive integral; `η x` for `x : 𝔸 E` means `η` evaluated at the class of `x`. If every class at | |
| 661 | +which `η` is not zero contains a point `u` with `c ≤ ∑ t ∈ T, F (t + u)`, then `(∫ η) * c ≤ ∫ η F`, | |
| 662 | +where `∫ η` is taken for the Haar probability measure `addHaarMeasure ⊤` on the quotient. -/ | |
| 663 | +lemma IsDualFamily.mul_le_integral_mul_of_le_sum {E : Type*} [Field E] [NumberField E] | |
| 664 | + [IsTotallyComplex E] [PlaceEmbedding E] {c : ℝ} {F : 𝔸 E → ℝ} (hF : Integrable F) | |
| 665 | + (hF_nonneg : 0 ≤ F) {T : Finset (ratAdeles E)} {η : C(𝔸 E ⧸ ratAdeles E, ℝ)} | |
| 666 | + (hη_nonneg : ∀ q : 𝔸 E ⧸ ratAdeles E, 0 ≤ η q) (hη_le : ∀ q : 𝔸 E ⧸ ratAdeles E, ‖η q‖ ≤ 1) | |
| 667 | + (hη_pos : 0 < ∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤) | |
| 668 | + (hη_supp : ∀ x : 𝔸 E, η x ≠ 0 → ∃ u : 𝔸 E, x - u ∈ ratAdeles E ∧ c ≤ ∑ t ∈ T, F (t + u)) : | |
| 669 | + (∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤) * c ≤ ∫ x : 𝔸 E, η x * F x := by | |
| 670 | + -- `μ` computes integrals over `𝔸 E ⧸ E` and has total mass one. | |
| 671 | + set μ : Measure (𝔸 E) := (ratAdeles E).quotMeasure | |
| 672 | + have hJ_eq : ∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤ = ∫ x : 𝔸 E, η x ∂μ := by | |
| 673 | + simpa [μ, quotMean, integral_complex_ofReal, average_eq_integral] using | |
| 674 | + (average_quotMeasure_eq_quotMean (ratAdeles E) volume (F := fun y ↦ ofReal (η y)) | |
| 675 | + ⟨by fun_prop, by simp +contextual [← eq_zero_iff]⟩).symm | |
| 676 | + have hη_int : Integrable (fun x : 𝔸 E ↦ η x) μ := .of_integral_ne_zero (hη_pos.trans_eq hJ_eq).ne' | |
| 677 | + have hη_add (g : ratAdeles E) (x : 𝔸 E) : η (g + x : 𝔸 E) = η x := by simp [(eq_zero_iff _).2] | |
| 678 | + obtain ⟨h_int, h_fold⟩ : | |
| 679 | + Integrable (fun p : 𝔸 E × ratAdeles E ↦ η p.1 * F (p.2 + p.1)) (μ.prod count) ∧ | |
| 680 | + ∫ x : 𝔸 E, ∫ g : ratAdeles E, η x * F (g + x) ∂count ∂μ = ∫ x : 𝔸 E, η x * F x := by | |
| 681 | + simpa only [Function.comp_def, AddSubgroup.vadd_def, vadd_eq_add, hη_add] using | |
| 682 | + (measurePreserving_addOrbitMeasure (H := ratAdeles E) (ν := count)).fubini | |
| 683 | + (hF.bdd_mul (by fun_prop) (.of_forall fun x ↦ hη_le x)) | |
| 684 | + -- The inner sum over `E` is at least `η x * c`. | |
| 685 | + have h_inner (x : 𝔸 E) (hx : Integrable (fun g : ratAdeles E ↦ η x * F (g + x)) count) : | |
| 686 | + η x * c ≤ ∫ g : ratAdeles E, η x * F (g + x) ∂count := | |
| 687 | + mul_le_integral_count_mul_add hF_nonneg hη_nonneg hη_supp x hx | |
| 688 | + rw [hJ_eq, ← integral_mul_const, ← h_fold] | |
| 689 | + exact integral_mono_ae (hη_int.mul_const c) h_int.integral_prod_left | |
| 690 | + (h_int.prod_right_ae.mono h_inner) | |
| 691 | + | |
| 692 | +/-- One-sided Poisson summation on the adeles `𝔸 E` of a totally complex number field `E`, with the | |
| 693 | +diagonal embedding `toAdele` given by the chosen complex embeddings of `PlaceEmbedding`. Let `F ≥ 0` | |
| 694 | +be integrable and lower semicontinuous at each point of a finite set `T` of rational points | |
| 695 | +(elements of the image `ratAdeles E` of `E`). Put `F̂(ξ) = ∫ ψ(-toAdele ξ · x) F(x) dx`, where | |
| 696 | +`ψ = stdAddChar E` and `dx` is the measure `volume` on `𝔸 E`, for which `E` has covolume one (its | |
| 697 | +`quotMeasure` for `𝔸 E ⧸ E` has mass one); if `S` bounds `∑ ξ ∈ Y, ‖F̂(ξ)‖` for every finite set | |
| 698 | +`Y ⊂ E`, then `∑ t ∈ T, F t ≤ S`. -/ | |
| 699 | +lemma IsDualFamily.sum_le_of_fourier {E : Type*} [Field E] [NumberField E] [IsTotallyComplex E] | |
| 700 | + [PlaceEmbedding E] {S : ℝ} {F : 𝔸 E → ℝ} (hF : Integrable F) (hF_nonneg : 0 ≤ F) | |
| 701 | + (T : Finset (ratAdeles E)) (hT : ∀ t ∈ T, LowerSemicontinuousAt F t) | |
| 702 | + (hS : ∀ Y : Finset E, ∑ ξ ∈ Y, ‖∫ x : 𝔸 E, stdAddChar E (toAdele ξ * -x) * ofReal (F x)‖ ≤ S) : | |
| 703 | + ∑ t ∈ T, F t ≤ S := by | |
| 704 | + -- Let `m < ∑ t ∈ T, F t`. Smooth `F` by a bump `η` on `𝔸 E ⧸ E` supported where the sum of the | |
| 705 | + -- translates still exceeds `m`. With `J = ∫ η`, the value `∫ η F` is at least `J m` (fold over | |
| 706 | + -- `E`) and at most `J S` (Fourier inversion on the compact quotient). | |
| 707 | + refine le_of_forall_lt_imp_le_of_dense fun m hm ↦ ?_ | |
| 708 | + let W : Set (𝔸 E) := {x : 𝔸 E | ∀ᶠ y : 𝔸 E in nhds x, m < ∑ t ∈ T, F (t + y)} | |
| 709 | + have h_lsc : LowerSemicontinuousAt (fun y : 𝔸 E ↦ ∑ t ∈ T, F (t + y)) 0 := | |
| 710 | + lowerSemicontinuousAt_sum fun t ht ↦ .comp (by simpa using hT t ht) (by fun_prop) | |
| 711 | + obtain ⟨η, hη_one, hη_compact, hη_supp, hη_mem⟩ : ∃ η : C(𝔸 E ⧸ ratAdeles E, ℝ), | |
| 712 | + Set.EqOn η 1 {0} ∧ IsCompact (tsupport η) ∧ tsupport η ⊆ QuotientAddGroup.mk '' W ∧ | |
| 713 | + ∀ q : 𝔸 E ⧸ ratAdeles E, η q ∈ Set.Icc 0 1 := | |
| 714 | + exists_continuousMap_one_of_isCompact_subset_isOpen isCompact_singleton | |
| 715 | + (isOpenMap_coe W isOpen_setOfPred_eventually_nhds) | |
| 716 | + (Set.singleton_subset_iff.2 ⟨0, h_lsc m (by simpa using hm), mk_zero _⟩) | |
| 717 | + have hη_nonneg (q : 𝔸 E ⧸ ratAdeles E) : 0 ≤ η q := (hη_mem q).1 | |
| 718 | + have hη_le (q : 𝔸 E ⧸ ratAdeles E) : ‖η q‖ ≤ 1 := by | |
| 719 | + simpa [abs_of_nonneg, hη_nonneg] using (hη_mem q).2 | |
| 720 | + have hη_sum (x : 𝔸 E) (hx : η x ≠ 0) : | |
| 721 | + ∃ u : 𝔸 E, x - u ∈ ratAdeles E ∧ m ≤ ∑ t ∈ T, F (t + u) := by | |
| 722 | + obtain ⟨u, hu, hux⟩ : ∃ u ∈ W, (u : 𝔸 E ⧸ ratAdeles E) = x := hη_supp (subset_closure hx) | |
| 723 | + exact ⟨u, eq_iff_sub_mem.1 hux.symm, hu.self_of_nhds.le⟩ | |
| 724 | + set J : ℝ := ∫ q : 𝔸 E ⧸ ratAdeles E, η q ∂addHaarMeasure ⊤ | |
| 725 | + have hJ_pos : 0 < J := η.continuous.integral_pos_of_hasCompactSupport_nonneg_ne_zero (x := 0) | |
| 726 | + hη_compact hη_nonneg (by simp [hη_one rfl]) | |
| 727 | + refine le_of_mul_le_mul_left ?_ hJ_pos | |
| 728 | + calc J * m ≤ ∫ x : 𝔸 E, η x * F x := | |
| 729 | + mul_le_integral_mul_of_le_sum hF hF_nonneg hη_nonneg hη_le hJ_pos hη_sum | |
| 730 | + _ ≤ J * S := integral_mul_le_of_sum_norm_le hF hS hη_nonneg hη_le | |
| 731 | + | |
| 732 | +end New | |
| 733 | +end OneSidedPoisson | |
| 734 | + | |
| 735 | +/-! | |
| 736 | +## The inverse different in self-adjoint adeles is compact and open | |
| 737 | + | |
| 738 | +`New.selfAdjointCodifferent E M` is the group of self-adjoint finite adeles `z` (those with | |
| 739 | +`z̄ = z`) for which `M z` lies in the inverse different. For `M = 1` it normalises the Haar measure | |
| 740 | +on the self-adjoint finite adeles. | |
| 741 | +-/ | |
| 742 | + | |
| 743 | +section Codifferent | |
| 744 | + | |
| 745 | +open NumberField AddSubgroup AddChar MeasureTheory Measure New Ideal | |
| 746 | + | |
| 747 | +variable (E : Type*) [Field E] [NumberField E] [IsCMField E] | |
| 748 | + | |
| 749 | +/-- The additive group of self-adjoint (conjugation-invariant) finite adeles `z` of `E` with | |
| 750 | +`ψf E (M * z * x) = 1` for all integral finite adeles `x ∈ Ô E`, that is, with `M * z` in the | |
| 751 | +inverse different. Here `ψf E` is the finite part of the standard additive character. -/ | |
| 752 | +def New.selfAdjointCodifferent (M : 𝔸f E) : AddSubgroup (selfAdjoint (𝔸f E)) where | |
| 753 | + carrier := {z : selfAdjoint (𝔸f E) | ∀ x ∈ Ô E, ψf E (M * z * x) = 1} | |
| 754 | + add_mem' := by simp +contextual [mul_add, add_mul, map_add_eq_mul] | |
| 755 | + zero_mem' := by simp | |
| 756 | + neg_mem' := by simp +contextual [map_neg_eq_inv] | |
| 757 | + | |
| 758 | +/-- For a CM field `E` and a finite adele `M`, the group `selfAdjointCodifferent E M` of | |
| 759 | +self-adjoint finite adeles `z` with `M * z` in the inverse different is open in the self-adjoint | |
| 760 | +finite adeles. -/ | |
| 761 | +lemma New.isOpen_selfAdjointCodifferent (M : 𝔸f E) : (selfAdjointCodifferent E M).IsOpen := by | |
| 762 | + -- the subgroup contains an open neighbourhood `U` of `0` | |
| 763 | + let U : Set (selfAdjoint (𝔸f E)) := {z : selfAdjoint (𝔸f E) | M * z ∈ Ô E} | |
| 764 | + have hU_open : IsOpen U := isOpen_Ô.preimage (by fun_prop) | |
| 765 | + have hU_zero : 0 ∈ U := by simp [U] | |
| 766 | + have hU_sub : U ⊆ selfAdjointCodifferent E M := fun z hz x hx ↦ ψf_eq_one_of_mem (mul_mem hz hx) | |
| 767 | + exact isOpen_of_zero_mem_interior _ (mem_interior.2 ⟨U, hU_sub, hU_open, hU_zero⟩) | |
| 768 | + | |
| 769 | +/-- For a CM field `E` and an invertible finite adele `M`, the group `selfAdjointCodifferent E M` of | |
| 770 | +self-adjoint finite adeles `z` with `M * z` in the inverse different is compact. -/ | |
| 771 | +lemma New.isCompact_selfAdjointCodifferent {M : 𝔸f E} (hM : IsUnit M) : | |
| 772 | + IsCompact (selfAdjointCodifferent E M : Set (selfAdjoint (𝔸f E))) := by | |
| 773 | + -- The subgroup is open, hence closed, and lies in the compact set of `z` with `d M z ∈ Ô E`, | |
| 774 | + -- where `d` is the norm of the different, a nonzero natural number that lies in the different. | |
| 775 | + let d : ℕ := absNorm (differentIdeal ℤ (𝓞 E)) | |
| 776 | + have h_unit : IsUnit (d * M) := | |
| 777 | + (isUnit_natCast_finAdele (mt absNorm_eq_zero_iff.1 differentIdeal_ne_bot)).mul hM | |
| 778 | + have h_compact : IsCompact {z : selfAdjoint (𝔸f E) | h_unit.unit • (z : 𝔸f E) ∈ Ô E} := | |
| 779 | + (isCompact_Ô.preimage_smul h_unit.unit).preimage_val | |
| 780 | + refine h_compact.of_isClosed_subset (isClosed_of_isOpen _ (isOpen_selfAdjointCodifferent E M)) | |
| 781 | + fun z hz ↦ ?_ | |
| 782 | + -- By duality (`forall_ψf_mul_eq_one_iff`) every element of the different makes `M z` integral. | |
| 783 | + have h_dual (u : 𝔸f E) (hu : u ∈ Ô E) : ψf E (u * (M * z)) = 1 := by rw [mul_comm, hz u hu] | |
| 784 | + simpa [d, mul_assoc] using forall_ψf_mul_eq_one_iff.1 h_dual _ (absNorm_mem _) | |
| 785 | + | |
| 786 | +/-- The Haar measure on the self-adjoint finite adeles that gives `New.selfAdjointCodifferent E 1` | |
| 787 | +mass one. -/ | |
| 788 | +noncomputable instance : MeasureSpace (selfAdjoint (𝔸f E)) where | |
| 789 | + volume := addHaarMeasure ⟨⟨selfAdjointCodifferent E 1, | |
| 790 | + isCompact_selfAdjointCodifferent E isUnit_one⟩, | |
| 791 | + by simp [(isOpen_selfAdjointCodifferent E 1).interior_eq]⟩ | |
| 792 | + | |
| 793 | +/-- The volume on the self-adjoint finite adeles is an additive Haar measure. -/ | |
| 794 | +instance : IsAddHaarMeasure (volume : Measure (selfAdjoint (𝔸f E))) := | |
| 795 | + isAddHaarMeasure_addHaarMeasure _ | |
| 796 | + | |
| 797 | +/-- The group `selfAdjointCodifferent E 1` of self-adjoint finite adeles in the inverse different | |
| 798 | +has volume one. -/ | |
| 799 | +@[simp] | |
| 800 | +lemma New.volume_selfAdjointCodifferent_one : | |
| 801 | + volume (selfAdjointCodifferent E 1 : Set (selfAdjoint (𝔸f E))) = 1 := | |
| 802 | + addHaarMeasure_self | |
| 803 | + | |
| 804 | +end Codifferent | |
+402 −0 src/Lib/Adelic/AutomorphicForms/AutomorphicAsAlgebraic.lean added View file
| @@ -0,0 +1,402 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.MeasureTheory.SpecificCodomains.Pi | |
| 4 | +import Mathlib.RingTheory.Coalgebra.CoassocSimps | |
| 5 | +import TauCeti.Topology.Algebra.Group.Units | |
| 6 | +import TauCeti.Topology.Instances.Matrix | |
| 7 | +public import Lib.Adelic.AutomorphicForms.Basic | |
| 8 | +public import Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms | |
| 9 | +import Lib.Adelic.AutomorphicForms.RealConvolution | |
| 10 | +import Lib.Adelic.Reduction.DefiniteClassSums | |
| 11 | +import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes | |
| 12 | +import Lib.DiscreteSeries.Rigidity.KernelFixes | |
| 13 | +import Lib.GLn.SchurModule.SchurNorm | |
| 14 | + | |
| 15 | +/-! | |
| 16 | +# Automorphic forms on standard definite spaces as algebraic forms | |
| 17 | + | |
| 18 | +On a standard definite space (`New.Space.IsStd`: all signs `1` and point `x = 1`), this file | |
| 19 | +identifies automorphic forms with smooth algebraic forms. Let `ρ = New.conjWeylRep κ e` be the | |
| 20 | +representation of the compact group `G_∞` of weight `(κ, e)`, `d` its dimension, and | |
| 21 | +`v⁺ = New.highestVector` its highest unit vector when `l` matches the weight. An algebraic form | |
| 22 | +`φ` (`New.AlgForm`, vector valued on `G_f`) gives `φ♮ = New.ofAlgForm l s φ` with | |
| 23 | +`φ♮ (x, g) = ⟨v⁺, ρ(x⁻¹) φ(g)⟩`. The inverse map sends a form `y` to | |
| 24 | +`y♭ g = d ∫ y(x, g) ρ(x) v⁺ dx`. This file also writes integrals over `Γ \ G` as class sums over | |
| 25 | +`Γ \ G_f`. | |
| 26 | + | |
| 27 | +## Main definitions and results | |
| 28 | + | |
| 29 | +* `New.Space.toAlgForm`: the two maps are inverse between forms of type `New.typeKernel l` (fixed by | |
| 30 | + `realConv k y (x, g) = ∫ k(z) y(xz, g) dz` for `k = typeKernel l 1`, which is | |
| 31 | + `z ↦ d ⟨v⁺, ρ(z) v⁺⟩`) and smooth algebraic forms, by Schur orthogonality, when `l` matches the | |
| 32 | + weight (`New.IsHCParam`). | |
| 33 | +* `New.Space.toAlgForm_formRep`, `New.Space.algFormEquiv`, `New.hasHeckePolynomial_toAlgForm_iff`: | |
| 34 | + the equivalence commutes with `G_f`, so it respects levels and Hecke eigenvalues. | |
| 35 | +* `New.Space.integral_eq_classIntegral_of_isLevel`, | |
| 36 | + `New.Space.integral_mul_eq_classIntegral_toAlgFormFun`, `New.Space.integral_mul_eq_classIntegral`: | |
| 37 | + integrals over `Γ \ G`, in particular against `φ♮`, as class sums `New.classIntegral` over | |
| 38 | + `Γ \ G_f`. | |
| 39 | +* `New.Space.classSum_gramForm_eq_mul_petersson`: for two algebraic forms that transform under a | |
| 40 | + level by one character with values of finite order, the class sum of their Gram pairings is a | |
| 41 | + multiple of the Petersson product of the associated functions. | |
| 42 | + | |
| 43 | +Notions from other files: | |
| 44 | +* `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx | |
| 45 | + equal to diag(s), for the signs s, at the infinite places and 1 at the finite places. | |
| 46 | +* `New.Space.IsAutomorphic`: a function on `G = G_∞ × G_f` that is continuous, left invariant under | |
| 47 | + rational points and right invariant under an open subgroup of `G_f`. | |
| 48 | +* `New.algFormCoeff s L φ`: the function `(x, g) ↦ L (ρ(x⁻¹) φ(g))`; it is `New.ofAlgForm l s φ` for | |
| 49 | + `L = ⟨v⁺, ·⟩`, where `⟨·, ·⟩ = New.gramForm`. | |
| 50 | +* `New.stdLevelIndex K`: the index `[stdLevel : K ∩ stdLevel]` in the standard level | |
| 51 | + `stdLevel = New.stdLevel E n`; a level (`New.IsLevel K`) is an open subgroup `K ≤ stdLevel`. | |
| 52 | +* `New.classIntegral Γ K f`: the integral of `f` over `Γ \ G_f` for `vol K = 1`, as a finite sum; in | |
| 53 | + this file `Γ = New.stdRatPoints`, the rational points of the standard space. | |
| 54 | + | |
| 55 | +## Relation to the literature | |
| 56 | + | |
| 57 | +Known result: algebraic modular forms as functions on the adelic group. For the source see | |
| 58 | +`Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms`. | |
| 59 | +-/ | |
| 60 | + | |
| 61 | +@[expose] public section | |
| 62 | + | |
| 63 | +noncomputable section | |
| 64 | + | |
| 65 | +namespace New | |
| 66 | + | |
| 67 | +open NumberField MeasureTheory Fintype Subgroup DiscreteSeries | |
| 68 | + | |
| 69 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 70 | + {κ : InfinitePlace E → ℕ → ℕ} {e : InfinitePlace E → ℤ} {l : InfinitePlace E → n → ℤ} {s : n → ℤˣ} | |
| 71 | + {V : Space E n s} {φ : AlgForm n κ e} | |
| 72 | + | |
| 73 | +/-- Show `signedSpace E s` satisfies `IsStd` when `s = 1` and `HasPrimitiveRoot5040 E` holds. -/ | |
| 74 | +lemma isStd_signedSpace [HasPrimitiveRoot5040 E] (hs : s = 1) : (signedSpace E s).IsStd where | |
| 75 | + signs_eq_one := hs | |
| 76 | + point_eq_one := by aesop | |
| 77 | + | |
| 78 | +/-- The matrix `conjWeylMatrix κ e x` depends continuously on the archimedean point `x`. -/ | |
| 79 | +lemma continuous_conjWeylMatrix (κ : InfinitePlace E → ℕ → ℕ) (e : InfinitePlace E → ℤ) | |
| 80 | + (s : n → ℤˣ) : Continuous fun x : GInf E s ↦ conjWeylMatrix κ e x := | |
| 81 | + continuous_iff_continuousAt.2 fun _ ↦ | |
| 82 | + Matrix.tendsto_iff_forall_tendsto_mulVec.2 fun v ↦ (continuous_conjWeylRep v).continuousAt | |
| 83 | + | |
| 84 | +namespace Space | |
| 85 | + | |
| 86 | +/-! ### The maps `φ ↦ φ♮` and `y ↦ y♭` -/ | |
| 87 | + | |
| 88 | +/-- The coefficient of a translated algebraic form is the translated coefficient: | |
| 89 | +`algFormCoeff` turns `algFormRep κ e a` into right translation by `(1, a)`. -/ | |
| 90 | +lemma algFormCoeff_algFormRep (L : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) (a : Gf E n) (g : G E s) : | |
| 91 | + algFormCoeff s L (algFormRep κ e a φ) g = algFormCoeff s L φ (g * (1, a)) := by | |
| 92 | + -- The archimedean component is unchanged, and `algFormRep` translates `φ` on the right by `a`. | |
| 93 | + simp [algFormCoeff_apply] | |
| 94 | + | |
| 95 | +variable (φ) in | |
| 96 | +/-- Let V be standard and φ an algebraic form of weight (κ, e) (so its stabiliser under right | |
| 97 | +translation is open). For every linear functional L, the function g ↦ L(ρ(g_∞⁻¹) φ(g_f)) on G | |
| 98 | +(`New.algFormCoeff`) is automorphic. -/ | |
| 99 | +lemma isAutomorphic_algFormCoeff [hV : V.IsStd] {L : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ} : | |
| 100 | + V.IsAutomorphic (algFormCoeff s L φ) := by | |
| 101 | + induction hV | |
| 102 | + obtain ⟨φ_open, φ_rat⟩ := φ.property | |
| 103 | + let K : OpenSubgroup (Gf E n) := ⟨rightStabilizer φ.val, φ_open⟩ | |
| 104 | + -- `φ` is fixed by the right translations in a neighbourhood of `1`, so it is locally constant | |
| 105 | + have φ_cont : Continuous φ.val := (isLocallyConstant_of_eventually_mul K.mem_nhds_one).continuous | |
| 106 | + refine ⟨?_, ?_, K, fun k hk ↦ by simp [hk _, algFormCoeff_apply]⟩ | |
| 107 | + · -- `(x, g) ↦ ρ(x⁻¹) φ(g)` is a continuous matrix applied to a continuous vector | |
| 108 | + exact L.continuous_on_pi.comp | |
| 109 | + (((continuous_conjWeylMatrix κ e 1).comp continuous_fst.inv).matrix_mulVec φ_cont.snd') | |
| 110 | + · -- a rational `γ` moves `φ` by its archimedean component, which cancels against `ρ(x⁻¹)` | |
| 111 | + rintro _ ⟨γ, rfl⟩ g | |
| 112 | + have h_rat : φ.val (((stdSpace E n).ratEmbed γ).2 * g.2) = | |
| 113 | + weightRep κ e (stdSpace E n) γ (φ.val g.2) := φ_rat γ g.2 | |
| 114 | + simp [algFormCoeff_apply, weightRep, h_rat] | |
| 115 | + | |
| 116 | +variable {E : Type} [Field E] [NumberField E] [IsCMField E] {κ : InfinitePlace E → ℕ → ℕ} | |
| 117 | + {e : InfinitePlace E → ℤ} {l : InfinitePlace E → n → ℤ} in | |
| 118 | +variable (κ e l) in | |
| 119 | +/-- The function `y♭` on `G_f` attached to a function `y` on the definite group: | |
| 120 | +`y♭ g = d ∫ y (x, g) • x v` over `G_∞`, where `d` is the dimension of the Weyl module, `x` acts by | |
| 121 | +`conjWeylRep` and `v` is the highest vector. -/ | |
| 122 | +def toAlgFormFun (y : G E (1 : n → ℤˣ) → ℂ) (g : Gf E n) : WeylIndex n κ → ℂ := | |
| 123 | + ∫ x : GInf E (1 : n → ℤˣ), | |
| 124 | + (card (WeylIndex n κ) * y (x, g)) • conjWeylRep κ e (s := 1) x (highestVector κ l) | |
| 125 | + | |
| 126 | +/-- If `y` is automorphic on the standard space, then `y♭ = toAlgFormFun κ e l y` is an algebraic | |
| 127 | +form: its stabiliser is open and it is equivariant under rational points. -/ | |
| 128 | +lemma toAlgFormFun_mem_algForm {y : G E (1 : n → ℤˣ) → ℂ} | |
| 129 | + (hy : (stdSpace E n).IsAutomorphic y) : toAlgFormFun κ e l y ∈ AlgForm n κ e := by | |
| 130 | + obtain ⟨hy_cont, hy_rat, K, hK⟩ := hy | |
| 131 | + refine ⟨?_, fun γ g ↦ ?_⟩ | |
| 132 | + · -- An open subgroup `K` fixing `y` lies in the stabiliser of `y♭`, which is therefore open. | |
| 133 | + exact isOpen_mono (H₁ := K.1) (fun k hk g ↦ by simp [toAlgFormFun, ← hK k hk ⟨_, g⟩]) K.2 | |
| 134 | + · -- Translate the integral over `G_∞` by `γ` and use the invariance of `y` under `γ`. | |
| 135 | + calc toAlgFormFun κ e l y ((stdSpace E n).embFin γ * g) | |
| 136 | + _ = ∫ x, (card (WeylIndex n κ) * y ((stdSpace E n).ratEmbed γ * (x, g))) • | |
| 137 | + conjWeylRep κ e (((stdSpace E n).ratEmbed γ).1 * x) (highestVector κ l) := | |
| 138 | + (integral_mul_left_eq_self _ ((stdSpace E n).ratEmbed γ).1).symm | |
| 139 | + _ = ∫ x, weightRep κ e (stdSpace E n) γ | |
| 140 | + ((card (WeylIndex n κ) * y (x, g)) • conjWeylRep κ e x (highestVector κ l)) := by | |
| 141 | + simp [hy_rat _ ⟨γ, rfl⟩, weightRep] | |
| 142 | + _ = weightRep κ e (stdSpace E n) γ (toAlgFormFun κ e l y g) := | |
| 143 | + (weightRep κ e (stdSpace E n) γ).toContinuousLinearMap.integral_comp_comm | |
| 144 | + integrable_of_compactSpace | |
| 145 | + | |
| 146 | +/-- Let `l` be twice the Harish-Chandra parameter of the weight `(κ, e)`. The convolution over | |
| 147 | +`G_∞` of a continuous `y` with `typeKernel l 1` is `(x, g) ↦ ⟨v, x⁻¹ y♭(g)⟩`, where `v` is the | |
| 148 | +highest vector and `y♭ = toAlgFormFun κ e l y`. -/ | |
| 149 | +lemma realConv_typeKernel (h : IsHCParam (n := n) κ e l) {y : G E (1 : n → ℤˣ) → ℂ} | |
| 150 | + (hy : Continuous y) (g : G E (1 : n → ℤˣ)) : | |
| 151 | + realConv (typeKernel l 1) y g = | |
| 152 | + gramForm (highestVector κ l) (conjWeylRep κ e g.1⁻¹ (toAlgFormFun κ e l y g.2)) := by | |
| 153 | + obtain ⟨x, g⟩ := g | |
| 154 | + -- `typeKernel l 1` is the dimension times the matrix coefficient at `v`. | |
| 155 | + have h_kernel (z : GInf E (1 : n → ℤˣ)) : typeKernel l 1 z = card (WeylIndex n κ) * | |
| 156 | + gramForm (highestVector κ l) (conjWeylRep κ e z (highestVector κ l)) := by | |
| 157 | + simp [h.prod_formalDegree, h.gramForm_conjWeylRep_eq_dsCoeff, ← Complex.ofReal_prod, | |
| 158 | + typeKernel, dsKernel, Finset.prod_mul_distrib, -card_pi] | |
| 159 | + let L : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ := gramForm (highestVector κ l) ∘ₗ conjWeylRep κ e x⁻¹ | |
| 160 | + symm | |
| 161 | + calc L (toAlgFormFun κ e l y g) | |
| 162 | + = ∫ z, L ((card (WeylIndex n κ) * y (z, g)) • conjWeylRep κ e z (highestVector κ l)) := | |
| 163 | + (L.toContinuousLinearMap.integral_comp_comm integrable_of_compactSpace).symm | |
| 164 | + _ = ∫ z, L ((card (WeylIndex n κ) * y (x * z, g)) • | |
| 165 | + conjWeylRep κ e (x * z) (highestVector κ l)) := | |
| 166 | + (integral_mul_left_eq_self _ x).symm | |
| 167 | + _ = realConv (typeKernel l 1) y (x, g) := by | |
| 168 | + refine integral_congr_ae (.of_forall fun z ↦ ?_) | |
| 169 | + simp [L, h_kernel, mul_assoc, mul_comm (y (x * z, g))] | |
| 170 | + | |
| 171 | +/-- Let `l` be twice the Harish-Chandra parameter of `(κ, e)` and `ψ` an algebraic form of weight | |
| 172 | +`(κ, e)`. Then `(ψ♮)♭ = ψ`. Here `ψ♮ = ofAlgForm l 1 ψ` is the function `g ↦ ⟨v⁺, ρ(g_∞⁻¹) ψ(g_f)⟩` | |
| 173 | +on the group of the standard space, with `v⁺` the highest vector for `l`. For a function `y` on that | |
| 174 | +group, `y♭ = toAlgFormFun κ e l y` is `g ↦ d ∫_{G_∞} y(x, g) ρ(x) v⁺ dx`, with `d` the dimension of | |
| 175 | +the Weyl module and `ρ = conjWeylRep`. -/ | |
| 176 | +lemma toAlgFormFun_ofAlgForm (h : IsHCParam (n := n) κ e l) (ψ : AlgForm n κ e) : | |
| 177 | + toAlgFormFun κ e l (ofAlgForm l 1 ψ) = ψ.val := by | |
| 178 | + -- Schur orthogonality at the unit vector `v = highestVector κ l`, one coordinate at a time. | |
| 179 | + funext g a | |
| 180 | + let v : WeylIndex n κ → ℂ := highestVector κ l | |
| 181 | + have h_cont : Continuous (ofAlgForm l 1 ψ) := | |
| 182 | + ((stdSpace E n).isAutomorphic_algFormCoeff ψ).continuous | |
| 183 | + have h_int (b : WeylIndex n κ) : Integrable fun x : GInf E (1 : n → ℤˣ) ↦ | |
| 184 | + ((card (WeylIndex n κ) * ofAlgForm (κ := κ) l 1 ψ (x, g)) • conjWeylRep κ e x v) b := | |
| 185 | + integrable_of_compactSpace (by fun_prop (disch := simp)) | |
| 186 | + calc toAlgFormFun κ e l (ofAlgForm l 1 ψ) g a | |
| 187 | + _ = card (WeylIndex n κ) * ∫ x, LinearMap.proj (R := ℂ) a (conjWeylRep κ e (s := 1) x v) * | |
| 188 | + gramForm v (conjWeylRep κ e x⁻¹ (ψ.val g)) := by | |
| 189 | + rw [toAlgFormFun, eval_integral h_int, ← integral_const_mul] | |
| 190 | + refine integral_congr_ae (.of_forall fun x ↦ ?_) | |
| 191 | + simp only [v, algFormCoeff_apply, Pi.smul_apply, smul_eq_mul, LinearMap.proj_apply] | |
| 192 | + ring | |
| 193 | + _ = ψ.val g a := by | |
| 194 | + rw [schur_orthogonality, gramForm_highestVector_self fun w ↦ (h w).1, mul_one, | |
| 195 | + LinearMap.proj_apply, mul_inv_cancel_left₀ (Nat.cast_ne_zero.2 card_ne_zero)] | |
| 196 | + | |
| 197 | +/-- Let `V` be standard (all its signs `s` are +1 and its point is the identity matrix) and `l` | |
| 198 | +twice the Harish-Chandra parameter of `(κ, e)`. For every algebraic form `ψ`, the function | |
| 199 | +`ofAlgForm l s ψ`, g ↦ ⟨v⁺, ρ(g_∞⁻¹) ψ(g_f)⟩, is a form of type `typeKernel l s`. That kernel is the | |
| 200 | +product over the infinite places of the formal degree times the conjugate discrete series | |
| 201 | +coefficient. That is, this function is automorphic, bounded and fixed by convolution with that | |
| 202 | +kernel over `G_∞`. -/ | |
| 203 | +lemma isForm_ofAlgForm [hV : V.IsStd] (h : IsHCParam (n := n) κ e l) (ψ : AlgForm n κ e) : | |
| 204 | + V.IsForm (typeKernel l s) (ofAlgForm l s ψ) := by | |
| 205 | + -- `V.IsStd` leaves only the standard space: `s = 1` and the point is the identity. | |
| 206 | + induction hV | |
| 207 | + have h_aut : (stdSpace E n).IsAutomorphic (ofAlgForm l 1 ψ) := | |
| 208 | + (stdSpace E n).isAutomorphic_algFormCoeff ψ | |
| 209 | + refine ⟨h_aut, (h_aut.mem_rapidFunctions fun _ _ ↦ rfl).2.bounded, fun _ ↦ funext fun g ↦ ?_⟩ | |
| 210 | + rw [realConv_typeKernel h h_aut.continuous, toAlgFormFun_ofAlgForm h, algFormCoeff_apply] | |
| 211 | + | |
| 212 | +/-! ### The equivalence and its equivariance -/ | |
| 213 | + | |
| 214 | +variable (V) in | |
| 215 | +/-- On a standard space, for `l` twice the Harish-Chandra parameter of `(κ, e)`, the forms of type | |
| 216 | +`typeKernel l s` are the smooth algebraic forms of weight `(κ, e)`. This is the inverse `y ↦ y♭` of | |
| 217 | +`φ ↦ φ♮ = ofAlgForm l s φ`, which is injective as `(φ♮)♭ = φ`, and surjective as `y = (y♭)♮`. -/ | |
| 218 | +def toAlgForm [hV : V.IsStd] (h : IsHCParam (n := n) κ e l) : | |
| 219 | + V.Form (typeKernel l s) ≃ₗ[ℂ] AlgForm n κ e := | |
| 220 | + .symm <| .ofBijective ((ofAlgForm l s).codRestrict _ (isForm_ofAlgForm h)) <| by | |
| 221 | + induction hV | |
| 222 | + refine ⟨fun φ ψ h_eq ↦ Subtype.ext ?_, ?_⟩ | |
| 223 | + · rw [← toAlgFormFun_ofAlgForm h φ, ← toAlgFormFun_ofAlgForm h ψ] | |
| 224 | + exact congrArg (toAlgFormFun κ e l) (congrArg Subtype.val h_eq) | |
| 225 | + rintro ⟨y, hy⟩ | |
| 226 | + let φ : AlgForm n κ e := ⟨toAlgFormFun κ e l y, toAlgFormFun_mem_algForm hy.toIsAutomorphic⟩ | |
| 227 | + refine ⟨φ, Subtype.ext ?_⟩ | |
| 228 | + calc ofAlgForm l 1 φ = realConv (typeKernel l 1) y := | |
| 229 | + funext fun g ↦ (realConv_typeKernel h hy.continuous g).symm | |
| 230 | + _ = y := hy.realConv_eq integrable_of_compactSpace | |
| 231 | + | |
| 232 | +/-- Let `V` be a standard space and `l` twice the Harish-Chandra parameter of `(κ, e)`. Let `y` be a | |
| 233 | +form of type `typeKernel l s` on `V`, and let `φ = V.toAlgForm h y` be its algebraic form of weight | |
| 234 | +`(κ, e)`. Then `ofAlgForm l s φ` gives `y` back: `y(g) = ⟨v⁺, ρ(g_∞⁻¹) φ(g_f)⟩`, with `v⁺` the | |
| 235 | +highest vector for `l`. -/ | |
| 236 | +lemma ofAlgForm_toAlgForm [V.IsStd] (h : IsHCParam (n := n) κ e l) | |
| 237 | + (y : V.Form (typeKernel l s)) : | |
| 238 | + ofAlgForm l s (V.toAlgForm h y) = y := | |
| 239 | + congrArg Subtype.val ((V.toAlgForm h).left_inv y) | |
| 240 | + | |
| 241 | +/-- For `l` twice the Harish-Chandra parameter of `(κ, e)`, the isomorphism `New.Space.toAlgForm` | |
| 242 | +from forms of type `typeKernel l s` on a standard space to smooth algebraic forms of weight | |
| 243 | +`(κ, e)` commutes with right translation by `G_f`. -/ | |
| 244 | +@[local simp] | |
| 245 | +lemma toAlgForm_formRep [V.IsStd] (h : IsHCParam (n := n) κ e l) (a : Gf E n) | |
| 246 | + (y : V.Form (typeKernel l s)) : | |
| 247 | + V.toAlgForm h (V.formRep (typeKernel l s) a y) = algFormRep κ e a (V.toAlgForm h y) := by | |
| 248 | + -- Apply the inverse `ofAlgForm`, which commutes with right translation. | |
| 249 | + apply (V.toAlgForm h).symm.injective | |
| 250 | + refine (LinearEquiv.symm_apply_apply _ _).trans (Subtype.ext (funext fun g ↦ ?_)) | |
| 251 | + calc y.val (g * (1, a)) = ofAlgForm l s (V.toAlgForm h y) (g * (1, a)) := | |
| 252 | + (congrFun (ofAlgForm_toAlgForm h y) _).symm | |
| 253 | + _ = ofAlgForm l s (algFormRep κ e a (V.toAlgForm h y)) g := | |
| 254 | + (algFormCoeff_algFormRep _ a g).symm | |
| 255 | + | |
| 256 | +variable (V) in | |
| 257 | +/-- For V standard and l twice the Harish-Chandra parameter of (κ, e), the isomorphism | |
| 258 | +φ ↦ `ofAlgForm l s φ` from K-fixed algebraic forms to K-fixed forms of type `typeKernel l s`. No | |
| 259 | +hypothesis is put on K. -/ | |
| 260 | +def algFormEquiv [V.IsStd] (h : IsHCParam (n := n) κ e l) (K : Subgroup (Gf E n)) : | |
| 261 | + levelSpace (algFormRep κ e) K ≃ₗ[ℂ] levelSpace (V.formRep (typeKernel l s)) K := | |
| 262 | + -- `V.toAlgForm h` is equivariant, so it matches the vectors fixed by `K`. | |
| 263 | + (V.toAlgForm h).symm.ofSubmodules (levelSpace (algFormRep κ e) K) | |
| 264 | + (levelSpace (V.formRep (typeKernel l s)) K) <| by | |
| 265 | + ext | |
| 266 | + simp [-toAlgForm_formRep, ← toAlgForm_formRep] | |
| 267 | + | |
| 268 | +variable (V) in | |
| 269 | +/-- For V standard and l twice the Harish-Chandra parameter of (κ, e), a form y of type | |
| 270 | +`typeKernel l s` has Hecke polynomial p at the place w (with `star w ≠ w`) if and only if its | |
| 271 | +algebraic form, as a function on G_f, does. (`HasHeckePolynomial`: fixed by the standard group at w | |
| 272 | +and an eigenvector of the Hecke operators there, as prescribed by p.) -/ | |
| 273 | +lemma _root_.New.hasHeckePolynomial_toAlgForm_iff [V.IsStd] (h : IsHCParam (n := n) κ e l) | |
| 274 | + {y : V.Form (typeKernel l s)} {w : FinPlace E} {p : ℂ → ℂ} {hw : star w ≠ w} : | |
| 275 | + HasHeckePolynomial (rightRegular ℂ (Gf E n) (WeylIndex n κ → ℂ)) hw p (V.toAlgForm h y).val ↔ | |
| 276 | + HasHeckePolynomial (V.formRep (typeKernel l s)) hw p y := by | |
| 277 | + -- `L` sends a form to its algebraic form, as a function; it is injective and equivariant. | |
| 278 | + let L : V.Form (typeKernel l s) →ₗ[ℂ] Gf E n → WeylIndex n κ → ℂ := | |
| 279 | + (AlgForm n κ e).subtype ∘ₗ (V.toAlgForm h).toLinearMap | |
| 280 | + have L_inj : Function.Injective L := Subtype.val_injective.comp (V.toAlgForm h).injective | |
| 281 | + have L_hecke (X : ℂ) : L (heckePolyOp (V.formRep _) hw X y) = | |
| 282 | + heckePolyOp (rightRegular ℂ (Gf E n) (WeylIndex n κ → ℂ)) hw X (L y) := | |
| 283 | + map_heckePolyOp L X (by simp [L]) | |
| 284 | + simp [HasHeckePolynomial, ← L_inj.eq_iff, L_hecke, L] | |
| 285 | + | |
| 286 | +/-! ### Integrals over the quotient as class sums -/ | |
| 287 | + | |
| 288 | +/-- On a standard definite space `V` let `F` be automorphic and `K` a level (an open subgroup of the | |
| 289 | +standard level `stdLevel`). The integral of `F` over `Γ \ G` is `[stdLevel : K]⁻¹` times the class | |
| 290 | +integral at level `K` (normalised by `vol K = 1`) of `g ↦ ∫ F(x, g) dx` over `x ∈ G_∞`. -/ | |
| 291 | +lemma integral_eq_classIntegral_of_isLevel [hV : V.IsStd] {F : G E s → ℂ} | |
| 292 | + (hF : V.IsAutomorphic F) {K : Subgroup (Gf E n)} (hK : IsLevel K) : | |
| 293 | + ∫ g : G E s, F g ∂V.quotMeasure = | |
| 294 | + (stdLevelIndex K : ℂ)⁻¹ * | |
| 295 | + classIntegral stdRatPoints K fun g : Gf E n ↦ ∫ x : GInf E s, F (x, g) := by | |
| 296 | + obtain ⟨h_cont, h_left, K', h_right⟩ := hF | |
| 297 | + induction hV -- now `s = 1` and `V` is the standard space | |
| 298 | + let f : Gf E n → ℂ := fun g ↦ ∫ x, F (x, g) | |
| 299 | + have hK' : (K' : Subgroup (Gf E n)) ≤ rightStabilizer f := fun k hk g ↦ by | |
| 300 | + simp [f, ← h_right k hk ⟨_, g⟩] | |
| 301 | + exact integral_quotMeasure_eq_classIntegral h_left (fun _ ↦ rfl) K | |
| 302 | + (isOpen_mono hK' K'.isOpen) h_cont | |
| 303 | + | |
| 304 | +/-- Let `K` be a level. Let `y`, `y'` be automorphic functions on the group `G` of the standard | |
| 305 | +space: continuous, left `Γ`-invariant, and right invariant under an open subgroup of `G_f`. Suppose | |
| 306 | +`y'(x, g) = L g (ρ(x) v⁺)` for linear functionals `L g`, where `ρ = conjWeylRep` and `v⁺` is the | |
| 307 | +highest vector for `l`. Then `d ∫_{Γ\G} y' y` (for `quotMeasure`, with `d` the dimension of the Weyl | |
| 308 | +module) equals `(stdLevelIndex K)⁻¹ = [stdLevel : K]⁻¹` times the `classIntegral` at `K` of | |
| 309 | +`g ↦ L g (y♭ g)`, i.e. the integral over `Γ \ G_f` for `vol K = 1`, where | |
| 310 | +`y♭ g = d ∫_{G_∞} y(x, g) ρ(x) v⁺ dx` is `toAlgFormFun κ e l y`. -/ | |
| 311 | +theorem integral_mul_eq_classIntegral_toAlgFormFun (K : Subgroup (Gf E n)) [hK : IsLevel K] | |
| 312 | + {y y' : G E (1 : n → ℤˣ) → ℂ} (hy : (stdSpace E n).IsAutomorphic y) | |
| 313 | + (hy' : (stdSpace E n).IsAutomorphic y') | |
| 314 | + (L : Gf E n → (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) | |
| 315 | + (hy'_eq : ∀ (x : GInf E (1 : n → ℤˣ)) (g : Gf E n), | |
| 316 | + y' (x, g) = L g (conjWeylRep κ e x (highestVector κ l))) : | |
| 317 | + (card (WeylIndex n κ) : ℂ) * ∫ g : G E (1 : n → ℤˣ), y' g * y g ∂(stdSpace E n).quotMeasure = | |
| 318 | + (stdLevelIndex K : ℂ)⁻¹ * | |
| 319 | + classIntegral stdRatPoints K fun g : Gf E n ↦ L g (toAlgFormFun κ e l y g) := by | |
| 320 | + set d : ℂ := ((card (WeylIndex n κ) : ℕ) : ℂ) | |
| 321 | + have h_cont : Continuous y := hy.continuous | |
| 322 | + -- Integrate over `G_∞` first. | |
| 323 | + have h_infinite (g : Gf E n) : | |
| 324 | + ∫ x, d * (y' (x, g) * y (x, g)) = L g (toAlgFormFun κ e l y g) := by | |
| 325 | + calc ∫ x, d * (y' (x, g) * y (x, g)) | |
| 326 | + _ = ∫ x, L g ((d * y (x, g)) • conjWeylRep κ e (s := 1) x (highestVector κ l)) := by | |
| 327 | + refine integral_congr_ae (.of_forall fun x ↦ ?_) | |
| 328 | + simp [hy'_eq, mul_comm, mul_assoc] | |
| 329 | + _ = L g (toAlgFormFun κ e l y g) := | |
| 330 | + (L g).toContinuousLinearMap.integral_comp_comm integrable_of_compactSpace | |
| 331 | + rw [← integral_const_mul, integral_eq_classIntegral_of_isLevel | |
| 332 | + (hy'.map₂ hy fun a b ↦ d * (a * b)) hK] | |
| 333 | + simp only [h_infinite] | |
| 334 | + | |
| 335 | +/-- Let `V` be standard, `l` twice the Harish-Chandra parameter of `(κ, e)`, `φ` an algebraic form, | |
| 336 | +`K` a level and `Φ` automorphic. If `Φ (x, g) = L g (ρ(x) v⁺)` with each `L g` linear, | |
| 337 | +`ρ = conjWeylRep κ e`, `v⁺ = highestVector κ l`, then the integral of `Φ` times `ofAlgForm l s φ` | |
| 338 | +over `Γ \ G` is `(dim ρ * stdLevelIndex K)⁻¹` times the integral of `g ↦ L g (φ g)` over `Γ \ G_f`, | |
| 339 | +normalised by `vol K = 1`. -/ | |
| 340 | +lemma integral_mul_eq_classIntegral [hV : V.IsStd] (h_param : IsHCParam (n := n) κ e l) | |
| 341 | + (K : Subgroup (Gf E n)) [IsLevel K] {Φ : G E s → ℂ} (hΦ : V.IsAutomorphic Φ) | |
| 342 | + (L : Gf E n → (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) | |
| 343 | + (hΦ_eq : ∀ (x : GInf E s) (g : Gf E n), | |
| 344 | + Φ (x, g) = L g (conjWeylRep κ e x (highestVector κ l))) : | |
| 345 | + ∫ g : G E s, Φ g * ofAlgForm l s φ g ∂V.quotMeasure = | |
| 346 | + (card (WeylIndex n κ) * stdLevelIndex K : ℂ)⁻¹ * | |
| 347 | + classIntegral stdRatPoints K fun g : Gf E n ↦ L g (φ.val g) := by | |
| 348 | + -- `V.IsStd` leaves only the standard space, where `(φ♮)♭ = φ` for `φ♮ = ofAlgForm l 1 φ`. | |
| 349 | + induction hV | |
| 350 | + rw [mul_inv, mul_assoc, eq_inv_mul_iff_mul_eq₀ (Nat.cast_ne_zero.2 card_ne_zero), | |
| 351 | + ← toAlgFormFun_ofAlgForm h_param φ] | |
| 352 | + exact integral_mul_eq_classIntegral_toAlgFormFun K (isAutomorphic_algFormCoeff φ) hΦ L hΦ_eq | |
| 353 | + | |
| 354 | +/-- When all signs are `1`, the conjugate of `ofAlgForm l s φ (x, g) = ⟨v⁺, ρ(x⁻¹) φ(g)⟩` is | |
| 355 | +`⟨φ(g), ρ(x) v⁺⟩`, where `⟨·, ·⟩ = gramForm`, `ρ = conjWeylRep κ e` and | |
| 356 | +`v⁺ = highestVector κ l`. -/ | |
| 357 | +lemma star_ofAlgForm (h : s = 1) (x : GInf E s) (g : Gf E n) : | |
| 358 | + star (ofAlgForm l s φ (x, g)) = gramForm (φ.val g) (conjWeylRep κ e x (highestVector κ l)) := by | |
| 359 | + subst h | |
| 360 | + simp [← gramForm_conjWeylRep (e := e) x⁻¹ (φ.val _), conj_gramForm, algFormCoeff_apply] | |
| 361 | + | |
| 362 | +variable (V) in | |
| 363 | +/-- Let `V` be standard (all signs `+1`, point the identity), `l` twice the Harish-Chandra parameter | |
| 364 | +of `(κ, e)`, `K` a level and `χ` a character of `K` whose values have finite order. For algebraic | |
| 365 | +forms `φ`, `φ'` on which `K` acts by `χ`, the class sum at `K` (over `Γ\G_f/K`, the term at `g` | |
| 366 | +weighted by `1/#(Γ ∩ gKg⁻¹)`) of the Gram pairings `⟨φ(g), φ'(g)⟩` is the index | |
| 367 | +`stdLevelIndex K = [stdLevel : K]`, times the dimension of the weight, times the Petersson product | |
| 368 | +`∫_{Γ\G} conj(F_φ) F_φ'`, where `F_φ = ofAlgForm l s φ` is the function | |
| 369 | +`F_φ(g) = ⟨v⁺, ρ(g_∞⁻¹) φ(g_f)⟩` on the group. -/ | |
| 370 | +theorem classSum_gramForm_eq_mul_petersson [hV : V.IsStd] (h : IsHCParam (n := n) κ e l) | |
| 371 | + (K : Subgroup (Gf E n)) [IsLevel K] (χ : K →* ℂ) (hχ : ∀ k : K, IsOfFinOrder (χ k)) | |
| 372 | + {φ φ' : AlgForm n κ e} | |
| 373 | + (hφ : φ ∈ levelSpace (algFormRep κ e) K χ) (hφ' : φ' ∈ levelSpace (algFormRep κ e) K χ) : | |
| 374 | + classSum stdRatPoints K (fun g : Gf E n ↦ gramForm (φ.val g) (φ'.val g)) = | |
| 375 | + (stdLevelIndex K : ℂ) * (card (WeylIndex n κ) : ℂ) * | |
| 376 | + V.petersson (ofAlgForm l s φ) (ofAlgForm l s φ') := by | |
| 377 | + -- The Petersson product is an integral over `Γ \ G`, hence a multiple of the class integral of | |
| 378 | + -- the Gram pairings. As `χ` has values of norm `1`, these are fixed by `K`: it is the class sum. | |
| 379 | + have h_pet : | |
| 380 | + V.petersson (ofAlgForm l s φ) (ofAlgForm l s φ') = | |
| 381 | + (card (WeylIndex n κ) * stdLevelIndex K : ℂ)⁻¹ * | |
| 382 | + classIntegral stdRatPoints K fun g : Gf E n ↦ gramForm (φ.val g) (φ'.val g) := | |
| 383 | + integral_mul_eq_classIntegral h K (isForm_ofAlgForm h φ).conj.toIsAutomorphic | |
| 384 | + (fun g : Gf E n ↦ gramForm (φ.val g)) (star_ofAlgForm hV.signs_eq_one) | |
| 385 | + have h_fix : K ≤ rightStabilizer fun g : Gf E n ↦ gramForm (φ.val g) (φ'.val g) := by | |
| 386 | + intro k hk g | |
| 387 | + have h_left : φ.val (g * k) = χ ⟨k, hk⟩ • φ.val g := | |
| 388 | + congrFun (congrArg Subtype.val (hφ ⟨k, hk⟩)) g | |
| 389 | + have h_right : φ'.val (g * k) = χ ⟨k, hk⟩ • φ'.val g := | |
| 390 | + congrFun (congrArg Subtype.val (hφ' ⟨k, hk⟩)) g | |
| 391 | + simp [h_left, h_right, ← mul_assoc, RCLike.mul_conj, (hχ ⟨k, hk⟩).norm_eq_one] | |
| 392 | + have h_card : (card (WeylIndex n κ) : ℂ) ≠ 0 := Nat.cast_ne_zero.mpr card_ne_zero | |
| 393 | + have h_index : (stdLevelIndex K : ℂ) ≠ 0 := | |
| 394 | + Nat.cast_ne_zero.mpr (isCompact_stdLevel.relIndex_ne_zero IsLevel.isOpen) | |
| 395 | + rw [h_pet, ← classIntegral_eq_classSum h_fix] | |
| 396 | + field_simp | |
| 397 | + | |
| 398 | +end Space | |
| 399 | + | |
| 400 | +end New | |
| 401 | + | |
| 402 | +end | |
+468 −0 src/Lib/Adelic/AutomorphicForms/Basic.lean added View file
| @@ -0,0 +1,468 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Real | |
| 4 | +import Mathlib.Algebra.Ring.IsFormallyReal | |
| 5 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 6 | +import Mathlib.RingTheory.Etale.Weakly | |
| 7 | +import Mathlib.RingTheory.PiTensorProduct | |
| 8 | +import Mathlib.RingTheory.TotallySplit | |
| 9 | +import TauCeti.Topology.Algebra.Group.Units | |
| 10 | +import TauCeti.Topology.Instances.Matrix | |
| 11 | +public import Lib.Adelic.Reduction.FiniteVolume | |
| 12 | +public import Lib.Adelic.Reduction.FirstMinimumShortBases | |
| 13 | +public import Lib.DiscreteSeries.FlenstedJensen.Defs | |
| 14 | +public import Lib.General.Measure.IdempotentKernel | |
| 15 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 16 | +import Lib.Adelic.Reduction.DefiniteClassSums | |
| 17 | + | |
| 18 | +/-! | |
| 19 | +# Automorphic forms on adelic unitary groups, the Petersson product and rapid decay | |
| 20 | + | |
| 21 | +This file studies functions on the adelic unitary group G = G_∞ × G_f of a hermitian space V over E | |
| 22 | +with signs s. Here Γ = `V.Γ` is its group of rational points, and `V.quotMeasure` is the measure for | |
| 23 | +integrals over Γ\G. The forms of type e (see `New.Space.IsForm` below) make up an inner product | |
| 24 | +space under the Petersson product and carry an action of G_f. The height `New.Space.height` is the | |
| 25 | +inverse of the first minimum `New.Space.firstMinimum`, cut off at `1`. Moderate growth and rapid | |
| 26 | +decay are measured against the height, and the rapidly decaying automorphic functions form a | |
| 27 | +subrepresentation. When Γ is cocompact, in particular when all signs of V are equal, every | |
| 28 | +automorphic function has rapid decay. | |
| 29 | + | |
| 30 | +## Main definitions and results | |
| 31 | + | |
| 32 | +* `New.Space.IsAutomorphic`: continuous, left Γ-invariant functions with a level. | |
| 33 | +* `New.Space.IsForm`: bounded automorphic functions that are fixed by convolution with a kernel e if | |
| 34 | + e is integrable (for e not integrable this condition is empty). A form is bounded and measurable | |
| 35 | + (`IsBoundedMeasurable`, which follows from bounded and continuous), hence lies in L²(Γ\G). | |
| 36 | +* `New.Space.Form`: the space of these forms, an inner product space under the Petersson product | |
| 37 | + `New.Space.petersson`, with the action `New.Space.formRep` of G_f. | |
| 38 | +* `New.Space.rapidFunctions`: the automorphic functions of rapid decay form a subrepresentation. | |
| 39 | +* `New.Space.isRapid_of_isCocompact`: continuous Γ-invariant functions are rapid when Γ is | |
| 40 | + cocompact. | |
| 41 | +* `New.Space.IsAutomorphic.mem_rapidFunctions`: automorphic functions are rapid when all signs are | |
| 42 | + equal. | |
| 43 | + | |
| 44 | +Notions from other files: | |
| 45 | +* `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx | |
| 46 | + equal to diag(s) at the infinite places and 1 at the finite places. | |
| 47 | +* `New.Space.Γ`: for a space (J, x), the subgroup x^{-1} U(J)(E) x of G, the image of the rational | |
| 48 | + unitary group. | |
| 49 | +* `New.GInf`: the archimedean unitary group G_∞ for signs s: one copy of the complex unitary group | |
| 50 | + U(diag s) for each infinite place of E. | |
| 51 | +* `New.Space.IsModerate`, `New.Space.IsRapid`: |F| ≤ C·ht^B for some C and B; |F|·ht^B is bounded | |
| 52 | + for every B. | |
| 53 | + | |
| 54 | +## Relation to the literature | |
| 55 | + | |
| 56 | +Known result: automorphic forms on unitary groups and their rapid decay. Cusp forms are treated in | |
| 57 | +`Lib.Adelic.AutomorphicForms.Cuspidality`. | |
| 58 | +-/ | |
| 59 | + | |
| 60 | +@[expose] public section | |
| 61 | + | |
| 62 | +noncomputable section | |
| 63 | + | |
| 64 | +/-! | |
| 65 | +## Automorphic functions, automorphic forms and the Petersson product | |
| 66 | + | |
| 67 | +* `New.typeKernel`, `New.realConv`: the product kernel on G_∞ of given parameters, and right | |
| 68 | + convolution over G_∞. | |
| 69 | +* `New.ThetaKernel`: the data of a kernel on the product of two groups that is invariant under the | |
| 70 | + rational points; it is used for theta lifts of forms. | |
| 71 | +-/ | |
| 72 | + | |
| 73 | +section Defs | |
| 74 | + | |
| 75 | +open MeasureTheory Submodule | |
| 76 | + | |
| 77 | +namespace New | |
| 78 | + | |
| 79 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {s : n → ℤˣ} | |
| 80 | + (V : Space E n s) (e : GInf E s → ℂ) (F F' : G E s → ℂ) | |
| 81 | + | |
| 82 | +/-- The function e_λ(x) = ∏_w e_{λ_w}(x_w) on G_∞, for a family of doubled parameters l_w = 2λ_w. It | |
| 83 | +is the product over the infinite places of the functions `dsKernel` on U(diag s), each the formal | |
| 84 | +degree times the conjugate of the discrete series coefficient. -/ | |
| 85 | +abbrev typeKernel (l : NumberField.InfinitePlace E → n → ℤ) (s : n → ℤˣ) (x : GInf E s) : ℂ := | |
| 86 | + ∏ w : NumberField.InfinitePlace E, dsKernel (l w) (x w) | |
| 87 | + | |
| 88 | +/-- Right convolution over the real points: R(k)F(g) = ∫_{G_∞} k(x) F(gx) dx, for k on G_∞ and F | |
| 89 | +on G. -/ | |
| 90 | +def realConv (k : GInf E s → ℂ) (F : G E s → ℂ) (g : G E s) : ℂ := | |
| 91 | + ∫ x : GInf E s, k x * F (g * (x, 1)) | |
| 92 | + | |
| 93 | +variable (E s) in | |
| 94 | +/-- The representation of G_f on complex functions on G by right translation. -/ | |
| 95 | +abbrev finRightRep : Representation ℂ (Gf E n) (G E s → ℂ) := | |
| 96 | + (rightRegular ℂ (G E s) ℂ).comp (MonoidHom.inr (GInf E s) (Gf E n)) | |
| 97 | + | |
| 98 | +/-- A theta kernel (g, h, φ) ↦ θ(ω(g, h) φ) for the spaces S and T: an action ω of the product of | |
| 99 | +their groups on a normed space X and a functional θ on X, such that ω is jointly continuous and the | |
| 100 | +kernel is left invariant under Γ_S × Γ_T. -/ | |
| 101 | +structure ThetaKernel {n' : Type} [Fintype n'] [DecidableEq n'] {t : n' → ℤˣ} | |
| 102 | + (X : Type*) [NormedAddCommGroup X] [NormedSpace ℂ X] | |
| 103 | + (S : Space E n s) (T : Space E n' t) where | |
| 104 | + /-- The action of the product of the groups of S and T on X by continuous linear maps. -/ | |
| 105 | + ω : G E s × G E t →* X →L[ℂ] X | |
| 106 | + /-- The linear functional θ on X. -/ | |
| 107 | + θ : X →L[ℂ] ℂ | |
| 108 | + /-- The action `(p, φ) ↦ ω p φ` is jointly continuous. -/ | |
| 109 | + continuous : Continuous ↿(ω · ·) | |
| 110 | + /-- The kernel is invariant under left multiplication by rational points of both groups. -/ | |
| 111 | + rat_mul {γ : G E s} {γ' : G E t} : | |
| 112 | + γ ∈ S.Γ → γ' ∈ T.Γ → | |
| 113 | + ∀ (g : G E s) (k : G E t) (φ : X), θ (ω (γ * g, γ' * k) φ) = θ (ω (g, k) φ) | |
| 114 | + | |
| 115 | +attribute [fun_prop] ThetaKernel.continuous | |
| 116 | + | |
| 117 | +namespace Space | |
| 118 | + | |
| 119 | +/-- F on G is automorphic: continuous, left Γ-invariant, and right invariant under some open | |
| 120 | +subgroup of G_f. -/ | |
| 121 | +structure IsAutomorphic where | |
| 122 | + /-- `F` is continuous. -/ | |
| 123 | + continuous : Continuous F | |
| 124 | + /-- `F` is invariant under left multiplication by rational points. -/ | |
| 125 | + rat_mul : V.Γ.FixesLeft F | |
| 126 | + /-- `F` has a level: it is right invariant under an open subgroup of the finite points. -/ | |
| 127 | + exists_level : ∃ K : OpenSubgroup (Gf E n), HasLevel F K | |
| 128 | + | |
| 129 | +/-- A constant function on `G` is automorphic. -/ | |
| 130 | +lemma isAutomorphic_const (c : ℂ) : V.IsAutomorphic fun _ : G E s ↦ c where | |
| 131 | + continuous := continuous_const | |
| 132 | + rat_mul _ _ _ := rfl | |
| 133 | + exists_level := ⟨⊤, fun _ _ _ ↦ rfl⟩ | |
| 134 | + | |
| 135 | +/-- The Petersson product ⟨F, F'⟩ = ∫_{Γ\G} conj(F) F', taken with the measure | |
| 136 | +`New.Space.quotMeasure`. -/ | |
| 137 | +def petersson : ℂ := ∫ g : G E s, starRingEnd ℂ (F g) * F' g ∂V.quotMeasure | |
| 138 | + | |
| 139 | +/-- F is a form of type e, for a function e on G_∞: F is automorphic, bounded, and fixed by right | |
| 140 | +convolution with e if e is integrable. For e not integrable the last condition is empty, so that | |
| 141 | +every bounded automorphic function is then a form of type e. The forms of parameter λ are those of | |
| 142 | +type e_λ = `New.typeKernel l s`, with l = 2λ. -/ | |
| 143 | +structure IsForm extends V.IsAutomorphic F where | |
| 144 | + /-- `F` is bounded. -/ | |
| 145 | + bounded : ∃ C : ℝ, ∀ g : G E s, ‖F g‖ ≤ C | |
| 146 | + /-- If `e` is integrable, right convolution with `e` over the real points fixes `F`. -/ | |
| 147 | + realConv_eq : Integrable e → realConv e F = F | |
| 148 | + | |
| 149 | +variable {V e F F'} | |
| 150 | + | |
| 151 | +/-- For automorphic functions F, F' and a function f of two complex variables that is jointly | |
| 152 | +continuous, the function g ↦ f(F(g), F'(g)) is automorphic. The continuity may be omitted when | |
| 153 | +`fun_prop` proves it. -/ | |
| 154 | +lemma IsAutomorphic.map₂ (hF : V.IsAutomorphic F) (hF' : V.IsAutomorphic F') (f : ℂ → ℂ → ℂ) | |
| 155 | + (hf : Continuous ↿f := by fun_prop) : | |
| 156 | + V.IsAutomorphic fun g : G E s ↦ f (F g) (F' g) := by | |
| 157 | + obtain ⟨h_cont, h_rat, K, hK⟩ := hF | |
| 158 | + obtain ⟨h_cont', h_rat', L, hL⟩ := hF' | |
| 159 | + exact | |
| 160 | + { continuous := by fun_prop | |
| 161 | + rat_mul := fun γ hγ g ↦ by simp only [h_rat γ hγ g, h_rat' γ hγ g] | |
| 162 | + -- the intersection of the two levels is a level | |
| 163 | + exists_level := ⟨K ⊓ L, fun k hk g ↦ by simp only [hK k hk.1 g, hL k hk.2 g]⟩ } | |
| 164 | + | |
| 165 | +/-- The complex conjugate of an automorphic function is automorphic. -/ | |
| 166 | +lemma IsAutomorphic.conj (hF : V.IsAutomorphic F) : V.IsAutomorphic (star F) := | |
| 167 | + hF.map₂ hF fun _ z ↦ star z | |
| 168 | + | |
| 169 | +/-- A right translate g ↦ F(ga) of an automorphic function F by a point a of G is automorphic. -/ | |
| 170 | +lemma IsAutomorphic.comp_mul_right (hF : V.IsAutomorphic F) (a : G E s) : | |
| 171 | + V.IsAutomorphic fun g : G E s ↦ F (g * a) := by | |
| 172 | + obtain ⟨h_cont, h_rat, K, hK⟩ := hF | |
| 173 | + -- the translate by `a` has the level `K` conjugated by `a.2` | |
| 174 | + let conjLevel : OpenSubgroup (Gf E n) := | |
| 175 | + K.comap (MulAut.conj a.2).symm (.mul_const (by fun_prop) _) | |
| 176 | + refine ⟨by fun_prop, fun γ hγ g ↦ by rw [mul_assoc, h_rat γ hγ], conjLevel, fun k hk g ↦ ?_⟩ | |
| 177 | + have h_conj : a.2⁻¹ * k * a.2 ∈ K := hk | |
| 178 | + calc | |
| 179 | + F (g * (1, k) * a) = F (g * a * (1, a.2⁻¹ * k * a.2)) := by simp [Prod.mul_def, mul_assoc] | |
| 180 | + _ = F (g * a) := hK _ h_conj _ | |
| 181 | + | |
| 182 | +/-- The Petersson product is definite: an automorphic function F that is square integrable on | |
| 183 | +Γ\G and has ⟨F, F⟩ = 0 vanishes everywhere. -/ | |
| 184 | +lemma IsAutomorphic.eq_zero_of_petersson_self (h : V.IsAutomorphic F) | |
| 185 | + (hF : MemLp F 2 V.quotMeasure) (h_pet : V.petersson F F = 0) : | |
| 186 | + F = 0 := by | |
| 187 | + -- The invariant nonnegative function `‖F‖ ^ 2` has integral zero on the quotient. | |
| 188 | + have h_int : ∫ g, ‖F g‖ ^ 2 ∂V.quotMeasure = 0 := by | |
| 189 | + simpa [RCLike.conj_mul, ← Complex.ofReal_pow, integral_complex_ofReal, petersson] using h_pet | |
| 190 | + have h_dense : Dense {g | F g = 0} := by | |
| 191 | + simpa using dense_eq_zero_of_integral_orbitMeasure_eq_zero (ρ := fun g ↦ ‖F g‖ ^ 2) | |
| 192 | + (fun g ↦ sq_nonneg _) (fun (γ : V.Γ) g ↦ congrArg (fun z : ℂ ↦ ‖z‖ ^ 2) | |
| 193 | + (h.rat_mul γ γ.property g)) | |
| 194 | + hF.norm.integrable_sq h_int | |
| 195 | + exact h.continuous.ext_on h_dense continuous_zero fun _ hg ↦ hg | |
| 196 | + | |
| 197 | +/-- Any automorphic form in `V.IsForm e F` is bounded and measurable. -/ | |
| 198 | +lemma IsForm.isBoundedMeasurable (hF : V.IsForm e F) : IsBoundedMeasurable F := | |
| 199 | + .of_continuous hF.bounded hF.continuous | |
| 200 | + | |
| 201 | +lemma IsForm.memLp (hF : V.IsForm e F) : MemLp F 2 V.quotMeasure := | |
| 202 | + hF.isBoundedMeasurable.memLp_top.mono_exponent le_top | |
| 203 | + | |
| 204 | +/-- The right translate g ↦ F(g·(1, a)) of a form F of type e by a finite point a is again a form | |
| 205 | +of type e. -/ | |
| 206 | +lemma IsForm.comp_mul_right (hF : V.IsForm e F) (a : Gf E n) : | |
| 207 | + V.IsForm e fun g : G E s ↦ F (g * (1, a)) := by | |
| 208 | + obtain ⟨h_aut, ⟨C, hC⟩, h_fix⟩ := hF | |
| 209 | + refine ⟨h_aut.comp_mul_right _, ⟨C, fun g ↦ hC _⟩, fun he ↦ funext fun g ↦ ?_⟩ | |
| 210 | + -- the finite point `(1, a)` commutes with the real points over which `realConv` integrates | |
| 211 | + have h_comm (x : GInf E s) : g * (x, 1) * (1, a) = g * (1, a) * (x, 1) := by simp [mul_assoc] | |
| 212 | + simpa only [realConv, h_comm] using congrFun (h_fix he) (g * (1, a)) | |
| 213 | + | |
| 214 | +variable (V e) | |
| 215 | + | |
| 216 | +lemma isForm_zero : V.IsForm e 0 where | |
| 217 | + toIsAutomorphic := V.isAutomorphic_const 0 | |
| 218 | + bounded := ⟨0, by simp⟩ | |
| 219 | + realConv_eq := by simp [funext_iff, realConv] | |
| 220 | + | |
| 221 | +/-- A linear combination aF + bF' of two forms F, F' of type e (bounded automorphic functions on G | |
| 222 | +fixed by convolution with e if e is integrable) is a form of type e. -/ | |
| 223 | +lemma IsForm.smul_add_smul (hF : V.IsForm e F) (hF' : V.IsForm e F') (a b : ℂ) : | |
| 224 | + V.IsForm e (a • F + b • F') := by | |
| 225 | + rcases hF.bounded, hF'.bounded with ⟨⟨C, hC⟩, ⟨C', hC'⟩⟩ | |
| 226 | + refine ⟨hF.toIsAutomorphic.map₂ hF'.toIsAutomorphic fun z w ↦ a * z + b * w, | |
| 227 | + ⟨‖a‖ * C + ‖b‖ * C', fun g ↦ | |
| 228 | + norm_add_le_of_le (norm_mul_le_of_le le_rfl (hC g)) (norm_mul_le_of_le le_rfl (hC' g))⟩, | |
| 229 | + fun he ↦ funext fun g ↦ ?_⟩ | |
| 230 | + -- `e` is integrable and forms are bounded, so the integral `realConv e` is linear on them. | |
| 231 | + have h_int {H : G E s → ℂ} (hH : V.IsForm e H) (c : ℂ) := | |
| 232 | + (hH.isBoundedMeasurable.integrable_mul_comp he fun x ↦ g * (x, 1)).fun_smul c | |
| 233 | + simp only [realConv, Pi.add_apply, Pi.smul_apply, mul_add, mul_smul_comm, | |
| 234 | + integral_add (h_int hF a) (h_int hF' b), integral_smul] | |
| 235 | + rw [← realConv, ← realConv, hF.realConv_eq he, hF'.realConv_eq he] | |
| 236 | + | |
| 237 | +/-- The forms of type e for V, as a submodule of the complex functions on G. -/ | |
| 238 | +def formSubmodule : Submodule ℂ (G E s → ℂ) := | |
| 239 | + ofLinearComb {F : G E s → ℂ | V.IsForm e F} ⟨0, isForm_zero V e⟩ fun F hF F' hF' a b ↦ | |
| 240 | + show V.IsForm e (a • F + b • F') from hF.smul_add_smul V e hF' a b | |
| 241 | + | |
| 242 | +/-- The complex vector space of forms of type e for V, namely the type of elements of | |
| 243 | +`New.Space.formSubmodule`. -/ | |
| 244 | +def Form : Type := | |
| 245 | + V.formSubmodule e | |
| 246 | + deriving AddCommGroup, Module ℂ | |
| 247 | + | |
| 248 | +-- A form is read as a function on the adelic points. | |
| 249 | +instance : CoeFun (V.Form e) fun _ : V.Form e ↦ G E s → ℂ := ⟨(·.val)⟩ | |
| 250 | + | |
| 251 | +variable {V e} in | |
| 252 | +lemma Form.isForm (F : V.Form e) : V.IsForm e F := F.property | |
| 253 | + | |
| 254 | +/-- The linear map that sends a form of type e to its class in L²(Γ\G), taken for the measure | |
| 255 | +`New.Space.quotMeasure`. -/ | |
| 256 | +def Form.toL2 : V.Form e →ₗ[ℂ] Lp ℂ 2 V.quotMeasure where | |
| 257 | + toFun F := F.isForm.memLp.toLp F | |
| 258 | + map_add' F F' := F.isForm.memLp.toLp_add F'.isForm.memLp | |
| 259 | + map_smul' c F := F.isForm.memLp.toLp_const_smul c | |
| 260 | + | |
| 261 | +variable {V e} in | |
| 262 | +/-- The Petersson product of two forms of type e is the inner product of their classes in | |
| 263 | +L²(Γ\G). -/ | |
| 264 | +lemma Form.petersson_eq_inner_toL2 (F F' : V.Form e) : | |
| 265 | + V.petersson F F' = inner ℂ (toL2 V e F) (toL2 V e F') := by | |
| 266 | + have hF : toL2 V e F =ᵐ[V.quotMeasure] F := F.isForm.memLp.coeFn_toLp | |
| 267 | + have hF' : toL2 V e F' =ᵐ[V.quotMeasure] F' := F'.isForm.memLp.coeFn_toLp | |
| 268 | + rw [L2.inner_def, petersson] | |
| 269 | + refine integral_congr_ae ?_ | |
| 270 | + filter_upwards [hF, hF'] with g hg hg' | |
| 271 | + rw [hg, hg', RCLike.inner_apply'] | |
| 272 | + | |
| 273 | +/-- The positive definite inner product on forms of type e given by the Petersson product, the | |
| 274 | +integral of conj(F)·F' over Γ\G. Symmetry, positivity and sesquilinearity are those of the inner | |
| 275 | +product of L²(Γ\G); definiteness holds because forms are continuous. -/ | |
| 276 | +instance peterssonCore : InnerProductSpace.Core ℂ (V.Form e) where | |
| 277 | + inner F F' := V.petersson F F' | |
| 278 | + conj_inner_symm F F' := by simp only [Form.petersson_eq_inner_toL2, inner_conj_symm] | |
| 279 | + re_inner_nonneg F := by simp only [Form.petersson_eq_inner_toL2, inner_self_nonneg] | |
| 280 | + add_left F F' F'' := by simp only [Form.petersson_eq_inner_toL2, map_add, inner_add_left] | |
| 281 | + smul_left F F' c := by simp only [Form.petersson_eq_inner_toL2, map_smul, inner_smul_left] | |
| 282 | + definite F hF := Subtype.ext (F.isForm.eq_zero_of_petersson_self F.isForm.memLp hF) | |
| 283 | + | |
| 284 | +instance : NormedAddCommGroup (V.Form e) := (peterssonCore V e).toNormedAddCommGroup | |
| 285 | + | |
| 286 | +instance : InnerProductSpace ℂ (V.Form e) := .ofCore (peterssonCore V e).toCore | |
| 287 | + | |
| 288 | +/-- The representation of G_f on forms of type e by right translation. -/ | |
| 289 | +def formRep : Representation ℂ (Gf E n) (V.Form e) := | |
| 290 | + (finRightRep E s).subrepresentation (V.formSubmodule e) | |
| 291 | + fun a _ hF ↦ IsForm.comp_mul_right hF a | |
| 292 | + | |
| 293 | +end Space | |
| 294 | + | |
| 295 | +end New | |
| 296 | + | |
| 297 | +end Defs | |
| 298 | + | |
| 299 | +/-! | |
| 300 | +## Heights and rapidly decaying functions | |
| 301 | + | |
| 302 | +* `New.Space.exists_height_le_mul`: the height changes by a bounded factor under rational points on | |
| 303 | + the left and a compact set on the right. | |
| 304 | +-/ | |
| 305 | + | |
| 306 | +section Growth | |
| 307 | + | |
| 308 | +open Matrix.Norms.L2Operator | |
| 309 | + | |
| 310 | +namespace New.Space | |
| 311 | + | |
| 312 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 313 | + {s : n → ℤˣ} {V : Space E n s} {F M : G E s → ℂ} {B : ℕ} {K : Set (G E s)} | |
| 314 | + | |
| 315 | +/-! ### The height -/ | |
| 316 | + | |
| 317 | +/-- The height is at least 1, as the first minimum is cut off at 1. -/ | |
| 318 | +theorem one_le_height (g : G E s) : 1 ≤ V.height g := | |
| 319 | + (one_le_inv₀ (V.move g).firstMinimum_pos).mpr firstMinimum_le_one | |
| 320 | + | |
| 321 | +@[simp] | |
| 322 | +theorem height_pos (g : G E s) : 0 < V.height g := one_pos.trans_le (one_le_height g) | |
| 323 | + | |
| 324 | +/-- For compact K ⊆ G there is C ≥ 1 such that ht(k) ≤ C·ht(g) whenever g⁻¹γk ∈ K. Here γ runs over | |
| 325 | +the rational unitary group U(J)(E) of V, mapped into G by `New.Space.ratEmbed`, and ht is the | |
| 326 | +height of V, the inverse of the first minimum cut off at 1. -/ | |
| 327 | +theorem exists_height_le_mul (hK : IsCompact K) : | |
| 328 | + ∃ C ≥ (1 : ℝ), ∀ (γ : U V.J) (g k : G E s), | |
| 329 | + g⁻¹ * V.ratEmbed γ * k ∈ K → V.height k ≤ C * V.height g := by | |
| 330 | + -- One denominator `c` and one bound `R` of the operator norms at infinity serve all of `K`. | |
| 331 | + -- A vector `y` of the lattice at `k` gives the vector `c γ y` of the lattice at `g`, at most | |
| 332 | + -- `c * R` times as long; so the first minimum at `g` is at most `max 1 (c * R)` times | |
| 333 | + -- that at `k`. | |
| 334 | + obtain ⟨c, hc, h_lat⟩ := V.exists_smul_mulVec_mem_latticeBall (hK.image continuous_snd) | |
| 335 | + obtain ⟨R, hR⟩ := | |
| 336 | + hK.exists_bound_of_continuousOn (f := fun x w ↦ (x.1 w).val.val) (by fun_prop) | |
| 337 | + refine ⟨max 1 (c * R), le_max_left _ _, fun γ g k h_mem ↦ inv_le_of_inv_le₀ (by simp) ?_⟩ | |
| 338 | + simp [le_firstMinimum_iff, height, field] | |
| 339 | + intro y hy y_ne | |
| 340 | + obtain ⟨mem_lat, norm_le⟩ := | |
| 341 | + h_lat ⟨_, h_mem, rfl⟩ (fun w ↦ (norm_le_pi_norm _ w).trans (hR _ h_mem)) y hy | |
| 342 | + grw [firstMinimum_le mem_lat (smul_ne_zero (Nat.cast_ne_zero.2 hc) <| | |
| 343 | + show γ • y ≠ 0 from (smul_ne_zero_iff_ne γ).2 y_ne), norm_le, ← le_max_right] | |
| 344 | + | |
| 345 | +/-- For a compact set K ⊆ G, a real C and a natural number B, the function g ↦ C·ht(g)^B is bounded | |
| 346 | +above on the set of g that a point of Γ moves into K. Here ht is the height of V, the inverse of | |
| 347 | +the first minimum cut off at 1. -/ | |
| 348 | +theorem exists_mul_height_pow_le (hK : IsCompact K) (C : ℝ) : | |
| 349 | + ∃ D : ℝ, ∀ g : G E s, ∀ γ ∈ V.Γ, γ * g ∈ K → C * V.height g ^ B ≤ D := by | |
| 350 | + obtain ⟨C', hC'_one, hC'⟩ := V.exists_height_le_mul hK | |
| 351 | + refine ⟨|C| * (C' * V.height 1) ^ B, fun g _ ⟨γ, hγ⟩ hg ↦ ?_⟩ | |
| 352 | + -- As `γ * g ∈ K`, the height of `g` is comparable to the height of `1`. | |
| 353 | + have h_ht : V.height g ≤ C' * V.height 1 := hC' γ 1 g (by simpa [hγ] using hg) | |
| 354 | + have h_nonneg : 0 ≤ V.height g := (height_pos g).le | |
| 355 | + grw [le_abs_self C, h_ht] | |
| 356 | + | |
| 357 | +/-! ### Rapidly decaying functions -/ | |
| 358 | + | |
| 359 | +theorem IsRapid.bounded (hF : V.IsRapid F) : ∃ C : ℝ, ∀ g : G E s, ‖F g‖ ≤ C := by | |
| 360 | + simpa using hF 0 | |
| 361 | + | |
| 362 | +/-- The product of a function M of moderate growth (|M| ≤ C·ht^b for some C and b) and a function F | |
| 363 | +of rapid decay (|F|·ht^B bounded for every B) has rapid decay. Here ht is the height of V. -/ | |
| 364 | +lemma IsRapid.mul (hF : V.IsRapid F) (hM : V.IsModerate M) : V.IsRapid (M * F) := by | |
| 365 | + intro B | |
| 366 | + obtain ⟨C, b, hC⟩ := hM | |
| 367 | + obtain ⟨D, hD⟩ := hF (b + B) | |
| 368 | + refine ⟨|C| * D, fun g ↦ ?_⟩ | |
| 369 | + have h_nonneg : 0 ≤ V.height g := (height_pos g).le | |
| 370 | + calc | |
| 371 | + ‖M g * F g‖ * V.height g ^ B ≤ |C| * V.height g ^ b * ‖F g‖ * V.height g ^ B := by | |
| 372 | + grw [norm_mul, hC g, le_abs_self C] | |
| 373 | + _ = |C| * (‖F g‖ * V.height g ^ (b + B)) := by ring | |
| 374 | + _ ≤ |C| * D := by grw [hD g] | |
| 375 | + | |
| 376 | +/-- If F has rapid decay (|F|·ht^B is bounded for every B), then so has its right translate | |
| 377 | +g ↦ F(gx) by any point x of G. -/ | |
| 378 | +theorem IsRapid.comp_mul_right (hF : V.IsRapid F) {x : G E s} : | |
| 379 | + V.IsRapid fun g : G E s ↦ F (g * x) := by | |
| 380 | + intro B | |
| 381 | + obtain ⟨D, hD⟩ := hF B | |
| 382 | + obtain ⟨C, hC_one, hC⟩ := V.exists_height_le_mul (isCompact_singleton (x := x⁻¹)) | |
| 383 | + refine ⟨C ^ B * D, fun g ↦ ?_⟩ | |
| 384 | + -- `(g * x)⁻¹ * g = x⁻¹`, so the heights of `g` and `g * x` are comparable. | |
| 385 | + have h_ht : V.height g ≤ C * V.height (g * x) := hC 1 (g * x) g (by simp) | |
| 386 | + have h_nonneg : 0 ≤ V.height g := (height_pos g).le | |
| 387 | + calc | |
| 388 | + ‖F (g * x)‖ * V.height g ^ B ≤ ‖F (g * x)‖ * (C * V.height (g * x)) ^ B := by gcongr | |
| 389 | + _ = C ^ B * (‖F (g * x)‖ * V.height (g * x) ^ B) := by ring | |
| 390 | + _ ≤ C ^ B * D := by grw [hD] | |
| 391 | + | |
| 392 | +/-- A continuous function of rapid decay is integrable for the measure `New.Space.quotMeasure` of | |
| 393 | +Γ\G. -/ | |
| 394 | +theorem IsRapid.integrable (hF : V.IsRapid F) (h_cont : Continuous F) : | |
| 395 | + MeasureTheory.Integrable F V.quotMeasure := | |
| 396 | + (IsBoundedMeasurable.of_continuous hF.bounded h_cont).memLp_top.integrable le_top | |
| 397 | + | |
| 398 | +/-- A linear combination aF + bF' of two functions of rapid decay (|F|·ht^B bounded for every B, | |
| 399 | +with ht the height of V) has rapid decay. -/ | |
| 400 | +theorem IsRapid.smul_add_smul {F' : G E s → ℂ} (hF : V.IsRapid F) (hF' : V.IsRapid F') | |
| 401 | + (a b : ℂ) : V.IsRapid (a • F + b • F') := by | |
| 402 | + intro B | |
| 403 | + obtain ⟨C, hC⟩ := hF B | |
| 404 | + obtain ⟨C', hC'⟩ := hF' B | |
| 405 | + refine ⟨‖a‖ * C + ‖b‖ * C', fun g ↦ ?_⟩ | |
| 406 | + have h_nonneg : 0 ≤ V.height g := (height_pos g).le | |
| 407 | + calc | |
| 408 | + ‖a • F g + b • F' g‖ * V.height g ^ B | |
| 409 | + ≤ ‖a‖ * (‖F g‖ * V.height g ^ B) + ‖b‖ * (‖F' g‖ * V.height g ^ B) := by | |
| 410 | + grw [norm_add_le, norm_smul, norm_smul, add_mul, mul_assoc, mul_assoc] | |
| 411 | + _ ≤ ‖a‖ * C + ‖b‖ * C' := by grw [hC, hC'] | |
| 412 | + | |
| 413 | +/-- The automorphic functions of rapid decay for `V`, as a subrepresentation of the functions on G | |
| 414 | +under right translation by G_f. -/ | |
| 415 | +noncomputable def rapidFunctions : Subrepresentation (finRightRep E s) where | |
| 416 | + toSubmodule := | |
| 417 | + Submodule.ofLinearComb {F : G E s → ℂ | V.IsAutomorphic F ∧ V.IsRapid F} | |
| 418 | + ⟨0, V.isAutomorphic_const 0, fun B ↦ ⟨0, by simp⟩⟩ | |
| 419 | + fun F ⟨hF_aut, hF_rapid⟩ F' ⟨hF'_aut, hF'_rapid⟩ a b ↦ | |
| 420 | + ⟨hF_aut.map₂ hF'_aut fun z w ↦ a * z + b * w, hF_rapid.smul_add_smul hF'_rapid a b⟩ | |
| 421 | + apply_mem_toSubmodule a _ := fun ⟨hF_aut, hF_rapid⟩ ↦ | |
| 422 | + ⟨hF_aut.comp_mul_right (1, a), hF_rapid.comp_mul_right⟩ | |
| 423 | + | |
| 424 | +/-- The complex conjugate of a rapidly decaying automorphic function is one as well. -/ | |
| 425 | +theorem star_mem_rapidFunctions (hF : F ∈ V.rapidFunctions) : star F ∈ V.rapidFunctions := by | |
| 426 | + obtain ⟨hF_aut, hF_rapid⟩ := hF | |
| 427 | + exact ⟨hF_aut.conj, fun B ↦ by simpa only [Pi.star_apply, norm_star] using hF_rapid B⟩ | |
| 428 | + | |
| 429 | +end New.Space | |
| 430 | + | |
| 431 | +end Growth | |
| 432 | + | |
| 433 | +/-! ## Rapid decay on definite spaces -/ | |
| 434 | + | |
| 435 | +namespace New.Space | |
| 436 | + | |
| 437 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 438 | + {s : n → ℤˣ} {V : Space E n s} {F : G E s → ℂ} | |
| 439 | + | |
| 440 | +/-- If the group Γ of rational points is cocompact, a continuous left Γ-invariant function F has | |
| 441 | +rapid decay: |F|·ht^B is bounded for every B, with ht the height of V. -/ | |
| 442 | +lemma isRapid_of_isCocompact (hF : Continuous F) (h_inv : V.Γ.FixesLeft F) | |
| 443 | + (h_cocompact : V.Γ.IsCocompact) : V.IsRapid F := by | |
| 444 | + intro B | |
| 445 | + obtain ⟨K, hK, h_cover⟩ : ∃ K : Set (G E s), IsCompact K ∧ ∀ g, ∃ γ ∈ V.Γ, γ * g ∈ K := | |
| 446 | + h_cocompact | |
| 447 | + -- `F` is bounded on `K`, and the height is bounded on the `Γ`-orbit of `K`, the whole group. | |
| 448 | + obtain ⟨C, hC⟩ : ∃ C : ℝ, ∀ g ∈ K, ‖F g‖ ≤ C := | |
| 449 | + hK.exists_bound_of_continuousOn hF.continuousOn | |
| 450 | + obtain ⟨D, hD⟩ : ∃ D : ℝ, ∀ g, ∀ γ ∈ V.Γ, γ * g ∈ K → C * V.height g ^ B ≤ D := | |
| 451 | + exists_mul_height_pow_le hK C | |
| 452 | + refine ⟨D, fun g ↦ ?_⟩ | |
| 453 | + obtain ⟨γ, hγ, hγg⟩ := h_cover g | |
| 454 | + calc | |
| 455 | + ‖F g‖ * V.height g ^ B = ‖F (γ * g)‖ * V.height g ^ B := by rw [h_inv γ hγ] | |
| 456 | + _ ≤ C * V.height g ^ B := mul_le_mul_of_nonneg_right (hC _ hγg) (pow_pos (height_pos g) B).le | |
| 457 | + _ ≤ D := hD g γ hγ hγg | |
| 458 | + | |
| 459 | +/-- On a definite space (all signs `s i` are equal) every automorphic function F (continuous, left | |
| 460 | +Γ-invariant, with a level) has rapid decay (|F|·ht^B is bounded for every B), so it lies in | |
| 461 | +`rapidFunctions`. -/ | |
| 462 | +lemma IsAutomorphic.mem_rapidFunctions (hF : V.IsAutomorphic F) | |
| 463 | + (h_definite : ∀ i j : n, s i = s j) : F ∈ V.rapidFunctions := | |
| 464 | + ⟨hF, isRapid_of_isCocompact hF.continuous hF.rat_mul (V.isCocompact_of_definite h_definite)⟩ | |
| 465 | + | |
| 466 | +end New.Space | |
| 467 | + | |
| 468 | +end | |
+227 −0 src/Lib/Adelic/AutomorphicForms/BlockPeriods.lean added View file
| @@ -0,0 +1,227 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import TauCeti.Topology.Algebra.Group.Units | |
| 4 | +import TauCeti.Topology.Instances.Matrix | |
| 5 | +public import Lib.GLn.Branching.IntegralMap | |
| 6 | +public import Lib.Adelic.AutomorphicForms.Basic | |
| 7 | +public import Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms | |
| 8 | +import Lib.Adelic.AutomorphicForms.AutomorphicAsAlgebraic | |
| 9 | +import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes | |
| 10 | + | |
| 11 | +/-! | |
| 12 | +# Periods of algebraic forms over a block subgroup as class sums via branching | |
| 13 | + | |
| 14 | +This file takes an algebraic form `ψ` on a definite unitary group of rank `m + 1`, a finite point | |
| 15 | +`u` of rank one and an automorphic `Φ(x, g) = L_g(ρ₀(x) c)` on the block subgroup of rank `m`. | |
| 16 | +It turns the integral of `Φ(h) ψ_t(diag(h, u))` into a class sum (`New.classIntegral`) over the | |
| 17 | +finite adelic points. Here `ψ_t = New.algFormCoeff 1 t ψ`, and `ρ`, `ρ₀` are the representations | |
| 18 | +`New.conjWeylRep` of weights `(κ, e)` and `(κ₀, e₀)`. The archimedean integral gives an | |
| 19 | +intertwiner from weight `(κ, e)` to weight `(κ₀, e₀)`, which multiplicity one for branching | |
| 20 | +(`New.SpansBranchingMaps`) makes a multiple of the given matrix `A`. | |
| 21 | + | |
| 22 | +## Main definitions and results | |
| 23 | + | |
| 24 | +* `New.Seesaw.integral_algFormCoeff_blockEmb`: the period over a block subgroup as a class sum. | |
| 25 | +* `New.Seesaw.isAutomorphic_algFormCoeff_blockEmb`: for a finite point `u` of rank one, the | |
| 26 | + restriction `h ↦ ψ_t(diag(h, u))` to a block is automorphic on the smaller standard space. | |
| 27 | + | |
| 28 | +Notions from other files: | |
| 29 | +* `New.Space.IsAutomorphic`: a function on `G = G_∞ × G_f` that is continuous, left invariant under | |
| 30 | + rational points and right invariant under an open subgroup of `G_f`. | |
| 31 | +* `New.algFormCoeff s L φ`: the function `(x, g) ↦ L (ρ(x⁻¹) φ(g))`; it is `New.ofAlgForm l s φ` for | |
| 32 | + `L = ⟨v⁺, ·⟩`, where `⟨·, ·⟩ = New.gramForm`. | |
| 33 | +* `New.classIntegral Γ K f`: the integral of `f` over `Γ \ G_f` for `vol K = 1`, as a finite sum. | |
| 34 | + | |
| 35 | +## Relation to the literature | |
| 36 | + | |
| 37 | +Known; see `Lib.Adelic.AutomorphicForms.AutomorphicAsAlgebraic` for sources. | |
| 38 | +-/ | |
| 39 | + | |
| 40 | +@[expose] public section | |
| 41 | + | |
| 42 | +noncomputable section | |
| 43 | + | |
| 44 | +namespace New.Seesaw | |
| 45 | + | |
| 46 | +open NumberField MeasureTheory Matrix Space | |
| 47 | + | |
| 48 | +/-- For `σ : ι ⊕ Unit ≃ X`, pulling the constant signs `1` on `X` back along `σ` gives | |
| 49 | +the constant signs `1` on the `ι` block and the sign `1` on the `Unit` block. -/ | |
| 50 | +lemma one_comp_eq_one_elim_one {ι X : Type} (σ : ι ⊕ Unit ≃ X) : | |
| 51 | + (1 : X → ℤˣ) ∘ σ = (1 : ι → ℤˣ) ⊕ᵥ 1 := by | |
| 52 | + funext i | |
| 53 | + cases i <;> rfl | |
| 54 | + | |
| 55 | +variable {E ι X : Type} [Field E] [CMType E] [Fintype ι] [Fintype X] [DecidableEq X] [DecidableEq ι] | |
| 56 | + | |
| 57 | +/-- At a place `τ`, the archimedean component of | |
| 58 | +`G.blockEmb (one_comp_eq_one_elim_one σ) ((y, k), 1)` is the block matrix `diag(y τ, 1)`, | |
| 59 | +reindexed along `σ` (`GL.blockScalar`). -/ | |
| 60 | +lemma val_fst_blockEmb_one (σ : ι ⊕ Unit ≃ X) | |
| 61 | + (y : GInf E (1 : ι → ℤˣ)) (k : Gf E ι) (τ : InfinitePlace E) : | |
| 62 | + ((G.blockEmb (one_comp_eq_one_elim_one σ) | |
| 63 | + ((y, k), (1 : G E (1 : Unit → ℤˣ)))).1 τ : GL X ℂ).val = | |
| 64 | + GL.blockScalar (fun _ : InfinitePlace E ↦ σ) (fun w : InfinitePlace E ↦ (y w : GL ι ℂ).val) 1 | |
| 65 | + τ := by | |
| 66 | + ext a b | |
| 67 | + obtain ⟨a | a, rfl⟩ := σ.surjective a <;> obtain ⟨b | b, rfl⟩ := σ.surjective b <;> | |
| 68 | + rw [← G.adeleMatrix_fst] <;> simp [G.blockEmb, GL.blockScalar] | |
| 69 | + | |
| 70 | +/-- The block embedding sends a finite point `(1, k)` of the block to a finite point. -/ | |
| 71 | +lemma fst_blockEmb_one_one (σ : ι ⊕ Unit ≃ X) (k : Gf E ι) : | |
| 72 | + (G.blockEmb (one_comp_eq_one_elim_one σ) ((1, k), (1 : G E (1 : Unit → ℤˣ)))).1 = 1 := by | |
| 73 | + ext τ : 2 | |
| 74 | + simp [val_fst_blockEmb_one, GL.blockScalar] | |
| 75 | + | |
| 76 | +/-- `conjWeylMatrix κ e y` is `weylRep κ e` at the entrywise complex conjugate of `y`; | |
| 77 | +`conjWeylRep κ e y v` is `conjWeylMatrix κ e y *ᵥ v`. -/ | |
| 78 | +lemma conjWeylMatrix_eq_weylRep_map_conj {E X : Type} [Field E] [CMType E] [Fintype X] | |
| 79 | + [DecidableEq X] (κ : InfinitePlace E → ℕ → ℕ) (e : InfinitePlace E → ℤ) | |
| 80 | + (y : GInf E (1 : X → ℤˣ)) : | |
| 81 | + conjWeylMatrix κ e y = weylRep κ e | |
| 82 | + fun τ : InfinitePlace E ↦ (y τ : GL X ℂ).map (starRingEnd ℂ) := | |
| 83 | + rfl | |
| 84 | + | |
| 85 | +/-- The entrywise complex conjugate of a unitary matrix is unitary. -/ | |
| 86 | +lemma map_conj_mem_uSign_one {g : GL X ℂ} (hg : g.valᴴ * g.val = 1) : | |
| 87 | + g.map (starRingEnd ℂ) ∈ USign (1 : X → ℤˣ) := by | |
| 88 | + simp [mem_unitaryGroupOf_iff, star_eq_conjTranspose, | |
| 89 | + ← conjTranspose_map (⇑(starRingEnd ℂ)) fun _ ↦ rfl, ← Matrix.map_mul, hg] | |
| 90 | + | |
| 91 | +variable {κ : InfinitePlace E → ℕ → ℕ} {e : InfinitePlace E → ℤ} | |
| 92 | + {κ₀ : InfinitePlace E → ℕ → ℕ} {e₀ : InfinitePlace E → ℤ} | |
| 93 | + | |
| 94 | +/-- Let `ψ` be an algebraic form, `t` a linear functional and `ψ_t = algFormCoeff 1 t ψ` the | |
| 95 | +function `(x, g) ↦ t (ρ(x⁻¹) ψ(g))`. For a finite point `u` of rank one, the restriction | |
| 96 | +`h ↦ ψ_t(diag(h, u))` to a block is automorphic on the smaller standard space. Here | |
| 97 | +`diag = G.blockEmb (one_comp_eq_one_elim_one σ)`. -/ | |
| 98 | +lemma isAutomorphic_algFormCoeff_blockEmb (σ : ι ⊕ Unit ≃ X) | |
| 99 | + (t : (WeylIndex X κ → ℂ) →ₗ[ℂ] ℂ) (ψ : AlgForm X κ e) (u : Gf E Unit) : | |
| 100 | + (stdSpace E ι).IsAutomorphic | |
| 101 | + fun h : G E (1 : ι → ℤˣ) ↦ | |
| 102 | + algFormCoeff 1 t ψ (G.blockEmb (one_comp_eq_one_elim_one σ) (h, 1, u)) := by | |
| 103 | + let j : G E (1 : ι → ℤˣ) × G E (1 : Unit → ℤˣ) →* G E (1 : X → ℤˣ) := | |
| 104 | + G.blockEmb (one_comp_eq_one_elim_one σ) | |
| 105 | + obtain ⟨h_cont, h_rat, K', h_level⟩ := (stdSpace E X).isAutomorphic_algFormCoeff (L := t) ψ | |
| 106 | + -- `jf` is the block embedding `k ↦ diag(k, 1)` on finite points. | |
| 107 | + let jf : Gf E ι →* Gf E X := | |
| 108 | + (MonoidHom.snd _ _).comp (j.comp (((MonoidHom.inr _ _).prod 1))) | |
| 109 | + have jf_cont : Continuous fun k : Gf E ι ↦ (j ((1, k), 1)).2 := by fun_prop | |
| 110 | + have j_fin (k : Gf E ι) : j ((1, k), 1) = (1, jf k) := Prod.ext (fst_blockEmb_one_one σ k) rfl | |
| 111 | + refine ⟨by fun_prop, fun γ hγ g ↦ ?_, K'.comap jf jf_cont, fun k hk g ↦ ?_⟩ | |
| 112 | + · -- `diag(γ, 1)` is a rational point | |
| 113 | + have hγ_rat : j (γ, 1) ∈ (stdSpace E X).Γ := by simpa [j] | |
| 114 | + calc algFormCoeff 1 t ψ (j (γ * g, 1, u)) | |
| 115 | + _ = algFormCoeff 1 t ψ (j (γ, 1) * j (g, 1, u)) := by simp [← map_mul] | |
| 116 | + _ = algFormCoeff 1 t ψ (j (g, 1, u)) := h_rat _ hγ_rat _ | |
| 117 | + · -- the preimage of the level `K'` under `jf` is a level of the restriction | |
| 118 | + calc algFormCoeff 1 t ψ (j (g * (1, k), 1, u)) | |
| 119 | + _ = algFormCoeff 1 t ψ (j (g, 1, u) * (1, jf k)) := by simp [← j_fin, ← map_mul] | |
| 120 | + _ = algFormCoeff 1 t ψ (j (g, 1, u)) := h_level (jf k) hk _ | |
| 121 | + | |
| 122 | +/-- Suppose every intertwiner from weight `(κ, e)` to weight `(κ₀, e₀)` is a multiple of `A` | |
| 123 | +(`SpansBranchingMaps`). Then so is a matrix `B` with `B ρ(diag(y, 1)) = ρ₀(y) B` for all `y` in the | |
| 124 | +archimedean group of the block. Here `ρ` and `ρ₀` are the representations `conjWeylMatrix` of | |
| 125 | +weights `(κ, e)` and `(κ₀, e₀)`, and `diag(y, 1)` is the archimedean part of | |
| 126 | +`G.blockEmb (one_comp_eq_one_elim_one σ)`. -/ | |
| 127 | +lemma exists_eq_smul_of_intertwines (σ : ι ⊕ Unit ≃ X) | |
| 128 | + {A B : Matrix (WeylIndex ι κ₀) (WeylIndex X κ) ℂ} | |
| 129 | + (hA : SpansBranchingMaps (fun _ : InfinitePlace E ↦ σ) e₀ e A) | |
| 130 | + (hB : ∀ y : GInf E (1 : ι → ℤˣ), | |
| 131 | + B * conjWeylMatrix κ e | |
| 132 | + (G.blockEmb (one_comp_eq_one_elim_one σ) | |
| 133 | + ((y, (1 : Gf E ι)), (1 : G E (1 : Unit → ℤˣ)))).1 = | |
| 134 | + conjWeylMatrix κ₀ e₀ y * B) : | |
| 135 | + ∃ C : ℂ, B = C • A := by | |
| 136 | + -- `conjWeylMatrix` acts through complex conjugation: apply `hB` to the conjugate `y` of `g`. | |
| 137 | + refine hA B fun g hg ↦ ?_ | |
| 138 | + let y : InfinitePlace E → USign (1 : ι → ℤˣ) := | |
| 139 | + fun τ ↦ ⟨(g τ).map (starRingEnd ℂ), map_conj_mem_uSign_one (hg τ)⟩ | |
| 140 | + let d : GInf E (1 : X → ℤˣ) := | |
| 141 | + (G.blockEmb (one_comp_eq_one_elim_one σ) ((y, (1 : Gf E ι)), (1 : G E (1 : Unit → ℤˣ)))).1 | |
| 142 | + -- The conjugate `x` of `d = diag(y, 1)` is `diag(g, 1)`, as the conjugate of `y` is `g`. | |
| 143 | + let x : InfinitePlace E → GL X ℂ := fun τ ↦ (d τ : GL X ℂ).map (starRingEnd ℂ) | |
| 144 | + have hx (τ : InfinitePlace E) : (x τ).val = | |
| 145 | + GL.blockScalar (fun _ : InfinitePlace E ↦ σ) (fun w ↦ (g w).val) 1 τ := by | |
| 146 | + rw [GeneralLinearGroup.val_map_apply, val_fst_blockEmb_one] | |
| 147 | + simp [GL.blockScalar, ← submatrix_map, fromBlocks_map, Function.comp_def, y] | |
| 148 | + have hy : (fun τ ↦ (y τ : GL ι ℂ).map (starRingEnd ℂ)) = g := by | |
| 149 | + ext | |
| 150 | + simp [y] | |
| 151 | + refine ⟨x, hx, ?_⟩ | |
| 152 | + calc B * weylRep κ e x | |
| 153 | + _ = conjWeylMatrix κ₀ e₀ y * B := hB y | |
| 154 | + _ = weylRep κ₀ e₀ g * B := by rw [conjWeylMatrix_eq_weylRep_map_conj, hy] | |
| 155 | + | |
| 156 | +-- Keeps definitional checks from unfolding the finite sums. | |
| 157 | +seal Finset.sum Finset.prod Finset.univ in | |
| 158 | +/-- Let `V` be standard, `diag = G.blockEmb hσ` the embedding of the product of the block and the | |
| 159 | +rank-one group, and `A` a matrix of which every intertwiner from weight `(κ, e)` to weight | |
| 160 | +`(κ₀, e₀)` is a multiple (`SpansBranchingMaps`). For a linear form `t` and a vector `c` there is | |
| 161 | +`C` such that, for algebraic forms `ψ`, finite points `u` of rank one, every level `K` (an open | |
| 162 | +subgroup of `stdLevel`) and automorphic `Φ(x, g) = L_g(ρ₀(x) c)`, the integral of | |
| 163 | +`Φ(h) ψ_t(diag(h, u))` over `Γ \ G` is `C / [stdLevel : K]` times the class integral at level `K` of | |
| 164 | +`g ↦ L_g(A ψ(diag(g, u)))`. Here `ρ₀ = conjWeylRep κ₀ e₀`, `ψ_t = algFormCoeff 1 t ψ` and | |
| 165 | +`[stdLevel : K] = stdLevelIndex K`. -/ | |
| 166 | +lemma integral_algFormCoeff_blockEmb {s : ι → ℤˣ} | |
| 167 | + (V : Space E ι s) [hV : V.IsStd] {σ : ι ⊕ Unit ≃ X} (hσ : (1 : X → ℤˣ) ∘ σ = s ⊕ᵥ 1) | |
| 168 | + {A : Matrix (WeylIndex ι κ₀) (WeylIndex X κ) ℂ} | |
| 169 | + (hA : SpansBranchingMaps (fun _ : InfinitePlace E ↦ σ) e₀ e A) | |
| 170 | + (t : (WeylIndex X κ → ℂ) →ₗ[ℂ] ℂ) (c : WeylIndex ι κ₀ → ℂ) : | |
| 171 | + ∃ C : ℂ, | |
| 172 | + ∀ (ψ : AlgForm X κ e) (Φ : G E s → ℂ) (u : Gf E Unit) | |
| 173 | + (L : Gf E ι → (WeylIndex ι κ₀ → ℂ) →ₗ[ℂ] ℂ) (K : Subgroup (Gf E ι)) [IsLevel K], | |
| 174 | + V.IsAutomorphic Φ → | |
| 175 | + (∀ (x : GInf E s) (g : Gf E ι), Φ (x, g) = L g (conjWeylRep κ₀ e₀ x c)) → | |
| 176 | + ∫ h : G E s, Φ h * algFormCoeff 1 t ψ (G.blockEmb hσ (h, 1, u)) ∂V.quotMeasure = | |
| 177 | + C / stdLevelIndex K * | |
| 178 | + classIntegral stdRatPoints K fun g : Gf E ι ↦ | |
| 179 | + L g (A *ᵥ ψ.val (G.blockEmb hσ ((1, g), 1, u)).2) := by | |
| 180 | + -- Averaging the rank-one map `t.smulRight c` over the archimedean group gives an intertwiner `B`, | |
| 181 | + -- and `B = C • A` by `hA`. The integral over `Γ \ G` is an archimedean integral, which | |
| 182 | + -- produces `B`, inside a class sum over the finite part. | |
| 183 | + -- A standard space has all signs `1` and the identity as its point. | |
| 184 | + induction hV | |
| 185 | + let j : G E (1 : ι → ℤˣ) × G E (1 : Unit → ℤˣ) →* G E (1 : X → ℤˣ) := G.blockEmb hσ | |
| 186 | + -- The archimedean group of the block acts on weight `(κ, e)` through `x ↦ diag(x, 1)`. | |
| 187 | + let R : GInf E (1 : ι → ℤˣ) →* Matrix (WeylIndex X κ) (WeylIndex X κ) ℂ := | |
| 188 | + (conjWeylMatrix κ e).comp | |
| 189 | + ((MonoidHom.fst _ _).comp (j.comp ((MonoidHom.inl _ _).prod 1))) | |
| 190 | + let M : Matrix (WeylIndex ι κ₀) (WeylIndex X κ) ℂ := (t.smulRight c).toMatrix' | |
| 191 | + have hR : Continuous R := (continuous_conjWeylMatrix κ e 1).comp | |
| 192 | + (by fun_prop : Continuous fun x : GInf E (1 : ι → ℤˣ) ↦ (j ((x, 1), 1)).1) | |
| 193 | + have hρ₀ : Continuous fun x : GInf E (1 : ι → ℤˣ) ↦ conjWeylMatrix κ₀ e₀ x := | |
| 194 | + continuous_conjWeylMatrix κ₀ e₀ 1 | |
| 195 | + -- The average `B` of `ρ₀(x) M R(x⁻¹)` intertwines `R` with `ρ₀`. | |
| 196 | + obtain ⟨B, hB_comm, hB_int⟩ := | |
| 197 | + exists_intertwining_mean volume (conjWeylMatrix κ₀ e₀) R M (by fun_prop) | |
| 198 | + obtain ⟨C, hC⟩ : ∃ C : ℂ, B = C • A := exists_eq_smul_of_intertwines σ hA hB_comm | |
| 199 | + refine ⟨C, fun ψ Φ u L K hK hΦ hΦ_eq ↦ ?_⟩ | |
| 200 | + -- The restriction `h ↦ ψ_t(diag(h, u))` is automorphic, so the integral over `Γ \ G` is the class | |
| 201 | + -- integral of the archimedean integrals, divided by the index `stdLevelIndex K`. | |
| 202 | + have h_prod : (stdSpace E ι).IsAutomorphic fun h ↦ Φ h * algFormCoeff 1 t ψ (j (h, 1, u)) := | |
| 203 | + hΦ.map₂ (isAutomorphic_algFormCoeff_blockEmb σ t ψ u) fun a b ↦ a * b | |
| 204 | + rw [integral_eq_classIntegral_of_isLevel h_prod hK, eq_comm, div_eq_inv_mul, mul_assoc, | |
| 205 | + ← classIntegral_const_mul] | |
| 206 | + congr with g | |
| 207 | + -- At each finite point `g`, the archimedean integral is `hB_int` for the linear form | |
| 208 | + -- `N ↦ L g (N *ᵥ v)`, with `v` the value of `ψ` at `diag(g, u)`. | |
| 209 | + let v : WeylIndex X κ → ℂ := ψ.val (j ((1, g), 1, u)).2 | |
| 210 | + have h_integrand (x : GInf E (1 : ι → ℤˣ)) : | |
| 211 | + L g ((conjWeylMatrix κ₀ e₀ x * M * R x⁻¹) *ᵥ v) = | |
| 212 | + Φ (x, g) * algFormCoeff 1 t ψ (j ((x, g), 1, u)) := by | |
| 213 | + -- The archimedean part of `diag((x, g), u)` is `diag(x, 1)`; its finite part is `diag(g, u)`. | |
| 214 | + have h_rank_one : M *ᵥ R x⁻¹ *ᵥ v = t (R x⁻¹ *ᵥ v) • c := LinearMap.toMatrix'_mulVec _ _ | |
| 215 | + rw [← mulVec_mulVec, ← mulVec_mulVec, h_rank_one, mulVec_smul, map_smul, smul_eq_mul, | |
| 216 | + hΦ_eq, mul_comm] | |
| 217 | + rfl | |
| 218 | + calc C * L g (A *ᵥ v) | |
| 219 | + _ = L g (B *ᵥ v) := by rw [hC, smul_mulVec, map_smul, smul_eq_mul] | |
| 220 | + _ = ∫ x, L g ((conjWeylMatrix κ₀ e₀ x * M * R x⁻¹) *ᵥ v) := | |
| 221 | + (hB_int (L g ∘ₗ toLin'.toLinearMap.flip v)).symm | |
| 222 | + _ = ∫ x, Φ (x, g) * algFormCoeff 1 t ψ (j ((x, g), 1, u)) := | |
| 223 | + integral_congr_ae (.of_forall h_integrand) | |
| 224 | + | |
| 225 | +end New.Seesaw | |
| 226 | + | |
| 227 | +end | |
+971 −0 src/Lib/Adelic/AutomorphicForms/Cuspidality.lean added View file
| @@ -0,0 +1,971 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Int | |
| 4 | +import Mathlib.Algebra.Order.Star.Real | |
| 5 | +import Mathlib.MeasureTheory.Integral.CompactlySupported | |
| 6 | +import Mathlib.RingTheory.PicardGroup | |
| 7 | +import TauCeti.LinearAlgebra.Matrix.Rank | |
| 8 | +import TauCeti.Topology.Algebra.Group.Units | |
| 9 | +import TauCeti.Topology.Instances.Matrix | |
| 10 | +public import Lib.Adelic.AutomorphicForms.UnipotentRadical | |
| 11 | +public import Lib.Adelic.Unitary.CongruenceLevels | |
| 12 | +public import Lib.Adelic.Unitary.GramMatrix | |
| 13 | +public import Lib.DiscreteSeries.Haar.TotalMass | |
| 14 | +import Lib.Adelic.Adeles.SemilocalProducts | |
| 15 | +import Lib.Adelic.Reduction.DefiniteClassSums | |
| 16 | +import Lib.Adelic.Unitary.RationalPoints | |
| 17 | +import Lib.Adelic.Unitary.WeakApproximation | |
| 18 | +import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes | |
| 19 | +import Lib.General.Analysis.GaussianIntegral | |
| 20 | +import Lib.General.Analysis.MeanValueAndTaylor | |
| 21 | + | |
| 22 | +/-! | |
| 23 | +# Cuspidality bounds, unipotent reduction, rapid decay and finite dimension of forms | |
| 24 | + | |
| 25 | +This file studies forms of type `e` (`New.Space.IsForm`) on the adelic unitary group of a hermitian | |
| 26 | +space `V`, for a cusp kernel `e` (`New.IsCuspKernel`). At a point with a short lattice vector, | |
| 27 | +short vectors span a cusp: a rational isotropic subspace whose radical is covered by its rational | |
| 28 | +points times a small real ball and a level. A bounded continuous function that is fixed by `e` and | |
| 29 | +invariant under the rational points of a unipotent radical, of finite covolume, has mean zero along | |
| 30 | +the radical (`New.Space.integral_unipotentRadical_eq_zero`, in | |
| 31 | +`Lib.Adelic.AutomorphicForms.UnipotentRadical`). The rational points are cocompact in the radical | |
| 32 | +of a rational isotropic subspace, so forms are cuspidal. Forms then decay faster than every power | |
| 33 | +of the height, and those of a fixed level span a finite-dimensional space. | |
| 34 | + | |
| 35 | +## Main definitions and results | |
| 36 | + | |
| 37 | +* `New.Space.exists_cuspFrame`: let `N ≠ 0` be a natural number in the different of `E`, `M ≠ 0` and | |
| 38 | + `0 < δ ≤ 1`. If the first minimum is less than `(δ / (M κ²))ⁿ`, with `κ = New.cuspConst E n N`, | |
| 39 | + short lattice vectors span a rational isotropic subspace `A ≠ 0` and its orthogonal | |
| 40 | + (`New.Space.CuspFrame`), and `N_A` lies in `(Γ ∩ N_A) Z_δ J(M)` (`New.Space.RadicalCovered`), | |
| 41 | + where `Z_δ` is the real ball of radius `δ` about `1` and `J(M)` is the principal level `M`. | |
| 42 | +* `New.Space.IsCuspidal`, `New.Space.IsForm.isCuspidal`: cuspidal functions; forms are cuspidal. | |
| 43 | +* `New.Space.IsCuspidal.norm_le_of_firstMinimum_lt`: at such a point `g`, a cuspidal function of | |
| 44 | + level `M` is at most its oscillation under real right translations of size `δ`. | |
| 45 | +* `New.Space.exists_norm_mul_height_pow_le`, `New.Space.IsForm.mem_rapidFunctions`: forms decay | |
| 46 | + faster than every power of the height, uniformly at a fixed level. | |
| 47 | +* `New.Space.finite_levelSpace`: the forms of a fixed level span a finite-dimensional space. | |
| 48 | + | |
| 49 | +Notions from other files: | |
| 50 | +* `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx | |
| 51 | + equal to diag(s) at the infinite places and 1 at the finite places (in the coordinates x⁻¹ X this | |
| 52 | + form is the adelic matrix `stdForm E s`); `V.Γ` is its group of rational points in the adelic | |
| 53 | + group G = G_∞ × G_f, and `V.move g` has the point xg. | |
| 54 | +* `New.realConv`, `New.Space.IsForm`: R(k)F(g) = ∫ k(x) F(gx) dx over G_∞ (`New.GInf`, one copy of | |
| 55 | + U(diag s) for each infinite place of E), for k on G_∞ and F on G. For integrable e, a form of | |
| 56 | + type e is a bounded automorphic function fixed by R(e). Here e is a cusp kernel | |
| 57 | + (`New.IsCuspKernel`): a minimal idempotent for convolution on G_∞ that decays polynomially and | |
| 58 | + is reproduced by a compactly supported function. | |
| 59 | +* `New.Space.height`: the height ht(g) = 1/λ, with λ the first minimum cut off at 1 | |
| 60 | + (`New.Space.firstMinimum`) of the moved space `V.move g`. | |
| 61 | +* `New.unipotentRadical` (in `Lib.Adelic.AutomorphicForms.UnipotentRadical`): the adelic unipotent | |
| 62 | + radical of the stabiliser of the span of the columns of an isotropic matrix. | |
| 63 | +* `New.Reduction.radicalElem` (in `Lib.Adelic.AutomorphicForms.UnipotentRadical`): the matrix | |
| 64 | + `1 + 2 (T - Tᴴ - Tᴴ J T) J`; for hermitian `J` and `T = w aᴴ` with `aᴴ J a = aᴴ J w = 0`, it | |
| 65 | + preserves `J`, fixes `a` and acts trivially on `a^⊥ / a`. | |
| 66 | + | |
| 67 | +## Relation to the literature | |
| 68 | + | |
| 69 | +Known results: cusp forms decay rapidly, and those of a fixed type and level make up a space of | |
| 70 | +finite dimension. Here a form is a bounded function reproduced by an integrable minimal idempotent, | |
| 71 | +with no differential equation. Cuspidality is used as a bound by the oscillation along unipotent | |
| 72 | +orbits, with an explicit depth, and the cusp is spanned by the shortest vectors of a sorted | |
| 73 | +Minkowski basis. | |
| 74 | + | |
| 75 | +Sources: A. Borel, Automorphic forms on reductive groups (Park City lectures), IAS/Park City Math. | |
| 76 | +Ser. 12 (2007) 7-39, sections 7.6-7.9 and 8.3-8.4; I. Satake, Caractérisation de l'espace des | |
| 77 | +Spitzenformen, Sém. H. Cartan 10 (1957/58), exp. 9 bis; R. Godement, Série de Poincaré et | |
| 78 | +Spitzenformen, ibid., exp. 10; R. Godement, The spectral | |
| 79 | +decomposition of cusp forms, Proc. Sympos. Pure Math. 9 (1966) 225-234; S. Miller and W. Schmid, On | |
| 80 | +the rapid decay of cuspidal automorphic forms, Adv. Math. 231 (2012), arXiv 1106.2149; G. Muić, | |
| 81 | +Smooth cuspidal automorphic forms and integrable discrete series, arXiv 1610.05483 (cuspidality | |
| 82 | +through N. Wallach, On the constant term of a square integrable automorphic form, 1984). | |
| 83 | +-/ | |
| 84 | + | |
| 85 | +@[expose] public section | |
| 86 | + | |
| 87 | +/-! ## The cusp of a point with a short vector; cuspidal functions -/ | |
| 88 | + | |
| 89 | +namespace New | |
| 90 | + | |
| 91 | +open NumberField MeasureTheory Matrix Norms.L2Operator Finset Fintype Submodule G | |
| 92 | + | |
| 93 | +open Reduction (IsIntBounded radicalElem exists_radicalElem_mul_eq) | |
| 94 | + | |
| 95 | +/-- The constant `κ = 8 f n · rd + 48 n⁶ f² N + 1` in the bound | |
| 96 | +`New.Space.IsForm.norm_le_of_firstMinimum_lt`, where `f` is the number of infinite places, `rd` the | |
| 97 | +root discriminant of `E`, and `N` a natural number (in the bound, a nonzero natural number in the | |
| 98 | +different of `E`). -/ | |
| 99 | +noncomputable def cuspConst (E n : Type) [Field E] [CMType E] [Fintype n] (N : ℕ) : ℝ := | |
| 100 | + 8 * (Core.numInfPlaces E * Fintype.card n) * rootDiscr E + | |
| 101 | + (48 * Fintype.card n ^ 6 * Core.numInfPlaces E ^ 2 * N + 1) | |
| 102 | + | |
| 103 | +/-- The cuspidality constant `cuspConst E n N` is at least `1`. -/ | |
| 104 | +lemma one_le_cuspConst (E n : Type) [Field E] [CMType E] [Fintype n] (N : ℕ) : | |
| 105 | + 1 ≤ cuspConst E n N := by | |
| 106 | + rw [cuspConst, ← add_assoc] | |
| 107 | + exact le_add_of_nonneg_left (by positivity [rootDiscr_pos E]) | |
| 108 | + | |
| 109 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {s : n → ℤˣ} | |
| 110 | + {V : Space E n s} {F : G E s → ℂ} {B : ℕ} {e : GInf E s → ℂ} | |
| 111 | + | |
| 112 | +/-- If `a` is integrally bounded by `r` (integral at finite places, norm at most | |
| 113 | +`r` at infinite places) and `r ≤ t`, then `a` is integrally bounded by `t`. -/ | |
| 114 | +lemma Reduction.IsIntBounded.mono {r t : ℝ} {a : Matrix n n (𝔸 E)} (ha : IsIntBounded r a) | |
| 115 | + (h_le : r ≤ t) : IsIntBounded t a := | |
| 116 | + ⟨ha.1, fun w ↦ (ha.2 w).trans h_le⟩ | |
| 117 | + | |
| 118 | +namespace Space | |
| 119 | + | |
| 120 | +/-- The rational matrix `X` in the adelic coordinates `x⁻¹ X` given by the point `x` of `W`, in | |
| 121 | +which the form of `W` is `stdForm E s`. -/ | |
| 122 | +noncomputable def adelicCoords (W : Space E n s) (X : Matrix n n E) : Matrix n n (𝔸 E) := | |
| 123 | + W.x⁻¹.val * X.map toAdele | |
| 124 | + | |
| 125 | +/-- The adelic unipotent radical `N_A` of the span `A` of the columns of the rational matrix `X`, | |
| 126 | +used for isotropic `A`. For `W = V.move g` it is `g⁻¹ N_A g`. -/ | |
| 127 | +noncomputable abbrev radical (W : Space E n s) (X : Matrix n n E) : Subgroup (G E s) := | |
| 128 | + unipotentRadical s (W.adelicCoords X) | |
| 129 | + | |
| 130 | +/-- The radical `N_A` of the span `A` of the columns of `X` lies in `(Γ ∩ N_A) Z_δ J`, where `Γ` is | |
| 131 | +the group of rational points of `W` and `Z_δ` is the real ball of radius `δ` about `1`. | |
| 132 | +For `W = V.move g` it reads `N_A g ⊆ (Γ ∩ N_A) g Z_δ J`, with `Γ` and `N_A` those of `V`. -/ | |
| 133 | +def RadicalCovered (W : Space E n s) (X : Matrix n n E) (δ : ℝ) (J : Subgroup (Gf E n)) : Prop := | |
| 134 | + ∀ u ∈ W.radical X, ∃ γ ∈ W.Γ ⊓ W.radical X, dist (γ * u).1 1 ≤ δ ∧ (γ * u).2 ∈ J | |
| 135 | + | |
| 136 | +/-- A cusp of size `δ`: a non-zero rational isotropic subspace `A` such that `A` and `A^⊥` are | |
| 137 | +spanned by the columns of `X = isotropicCols` and of `Y = perpCols`, lattice vectors of lengths at | |
| 138 | +most `lengthX`, `lengthY` (`W.latticeBall l`: vectors of `W.baseLattice` whose `W.archCoords` have | |
| 139 | +norm at most `l`) with `lengthX * lengthY ≤ δ`. -/ | |
| 140 | +structure CuspFrame (W : Space E n s) (δ : ℝ) where | |
| 141 | + /-- A matrix whose columns span `A`. -/ | |
| 142 | + isotropicCols : Matrix n n E | |
| 143 | + /-- A matrix whose columns span `A^⊥`. -/ | |
| 144 | + perpCols : Matrix n n E | |
| 145 | + /-- The bound for the lengths of the columns of `isotropicCols`. -/ | |
| 146 | + lengthX : ℝ | |
| 147 | + /-- The bound for the lengths of the columns of `perpCols`. -/ | |
| 148 | + lengthY : ℝ | |
| 149 | + /-- `A` is not zero. -/ | |
| 150 | + ne_zero : isotropicCols ≠ 0 | |
| 151 | + /-- `A` is isotropic. -/ | |
| 152 | + isotropic : isotropicColsᴴ * (W.J * isotropicCols) = 0 | |
| 153 | + /-- The columns of `perpCols` lie in `A^⊥`. -/ | |
| 154 | + orthogonal : isotropicColsᴴ * (W.J * perpCols) = 0 | |
| 155 | + /-- The columns of `perpCols` span `A^⊥`: a vector `v` orthogonal to `A` equals | |
| 156 | + `perpCols *ᵥ e *ᵥ v`. -/ | |
| 157 | + spans : ∃ e b : Matrix n n E, perpCols * e + b * (isotropicColsᴴ * W.J) = 1 | |
| 158 | + /-- The columns of `isotropicCols` are lattice vectors of length at most `lengthX`. -/ | |
| 159 | + col_isotropicCols_mem (j : n) : isotropicCols.col j ∈ W.latticeBall lengthX | |
| 160 | + /-- The columns of `perpCols` are lattice vectors of length at most `lengthY`. -/ | |
| 161 | + col_perpCols_mem (j : n) : perpCols.col j ∈ W.latticeBall lengthY | |
| 162 | + /-- The vectors that span `A` have the smaller bound. -/ | |
| 163 | + lengthX_le : lengthX ≤ lengthY | |
| 164 | + /-- The product of the two bounds is at most `δ`. -/ | |
| 165 | + length_mul_le : lengthX * lengthY ≤ δ | |
| 166 | + | |
| 167 | +variable {W : Space E n s} {X Y : Matrix n n E} | |
| 168 | + | |
| 169 | +/-- The standard pairing of the adelic coordinates of `X` and `Y` is their pairing `Xᴴ J Y` for the | |
| 170 | +form `J` of `W`. -/ | |
| 171 | +lemma adelicCoords_gram (W : Space E n s) (X Y : Matrix n n E) : | |
| 172 | + (W.adelicCoords X)ᴴ * (stdForm E s * W.adelicCoords Y) = (Xᴴ * (W.J * Y)).map toAdele := by | |
| 173 | + simp [adelicCoords, W.map_J, mul_assoc] | |
| 174 | + | |
| 175 | +/-- If `Xᴴ J Y = 0`, where `J` is the Gram matrix of `W`, then the adelic | |
| 176 | +coordinates of `X` and `Y` are orthogonal for `stdForm`. -/ | |
| 177 | +lemma adelicCoords_gram_eq_zero (h_gram : Xᴴ * (W.J * Y) = 0) : | |
| 178 | + (W.adelicCoords X)ᴴ * (stdForm E s * W.adelicCoords Y) = 0 := by | |
| 179 | + rw [adelicCoords_gram, h_gram, Matrix.map_zero _ (map_zero _)] | |
| 180 | + | |
| 181 | +/-- The adelic coordinate map `W.adelicCoords` is injective. -/ | |
| 182 | +lemma adelicCoords_injective (W : Space E n s) : Function.Injective W.adelicCoords := | |
| 183 | + fun _ _ h_eq ↦ map_injective (toAdele (E := E)).injective (W.x⁻¹.isUnit.mul_left_cancel h_eq) | |
| 184 | + | |
| 185 | +/-- If `X ≠ 0`, then evaluating `W.adelicCoords X` at any infinite place `w` is nonzero. -/ | |
| 186 | +lemma adelicCoords_evalInf_ne_zero (hX : X ≠ 0) (w : InfinitePlace E) : | |
| 187 | + (W.adelicCoords X).map (evalInf w) ≠ 0 := fun h_zero ↦ | |
| 188 | + hX (ext_col fun j ↦ W.eq_zero_of_vecAtPoint_fst_eq_zero (w := w) | |
| 189 | + (funext fun i ↦ congrFun₂ h_zero i j)) | |
| 190 | + | |
| 191 | +/-- If the columns of `X` are lattice vectors of length at most `l`, the adelic coordinates of `X` | |
| 192 | +are integral at the finite places and of operator norm at most `n² l` at the infinite ones. -/ | |
| 193 | +lemma isIntBounded_adelicCoords {l : ℝ} (hX : ∀ j : n, X.col j ∈ W.latticeBall l) : | |
| 194 | + IsIntBounded (Fintype.card n * Fintype.card n * l) (W.adelicCoords X) := | |
| 195 | + ⟨fun i j ↦ (hX j).1 i, fun w ↦ l2_opNorm_le_of_apply fun i j ↦ | |
| 196 | + (PiLp.norm_apply_le (W.archCoords (X.col j)) (w, i)).trans (hX j).2⟩ | |
| 197 | + | |
| 198 | +/-- Moving the point of `V` by `g` conjugates the embedding of the rational points by `g`. -/ | |
| 199 | +lemma ratEmbed_move (V : Space E n s) (g : G E s) (γ : U V.J) : | |
| 200 | + (V.move g).ratEmbed γ = g⁻¹ * V.ratEmbed γ * g := by | |
| 201 | + apply ext_adeleMatrix | |
| 202 | + rw [adeleMatrix_mul, adeleMatrix_mul, V.adeleMatrix_ratEmbed γ, (V.move g).adeleMatrix_ratEmbed γ] | |
| 203 | + simp [move, mul_assoc, adeleMatrix] | |
| 204 | + | |
| 205 | +/-- If a rational point `ν` of `U(J)` embeds into the adelic radical of the span `A` of the columns | |
| 206 | +of `X`, it fixes `A` and `A^⊥ / A` pointwise over `E`. -/ | |
| 207 | +lemma mem_dilationGroup_of_ratEmbed_mem_radical {ν : U W.J} (hν : W.ratEmbed ν ∈ W.radical X) : | |
| 208 | + (ν, 1) ∈ dilationGroup (m := n) X := by | |
| 209 | + obtain ⟨h_fixes, h_trivial⟩ := mem_unipotentRadical_iff.1 hν | |
| 210 | + have h_act (v : Matrix n n E) : | |
| 211 | + (W.ratEmbed ν).adeleMatrix * W.adelicCoords v = W.adelicCoords ((ν : Matrix n n E) * v) := by | |
| 212 | + simp [adelicCoords, adeleMatrix_ratEmbed, mul_assoc] | |
| 213 | + refine mk_one_mem_dilationGroup_iff.2 ⟨W.adelicCoords_injective ?_, fun v w hv hw ↦ ?_⟩ | |
| 214 | + · rw [← h_act, h_fixes] | |
| 215 | + · refine map_injective (toAdele (E := E)).injective ?_ | |
| 216 | + change (wᴴ * (W.J * (ν * v))).map toAdele = (wᴴ * (W.J * v)).map toAdele | |
| 217 | + rw [← adelicCoords_gram, ← adelicCoords_gram, ← h_act] | |
| 218 | + exact h_trivial _ _ (adelicCoords_gram_eq_zero hv) (adelicCoords_gram_eq_zero hw) | |
| 219 | + | |
| 220 | +end Space | |
| 221 | + | |
| 222 | +/-- Pairing from both ends: if the square of a product of `k` real numbers is below `c ^ k` with | |
| 223 | +`0 ≤ c`, then at some pair of opposite indices `i`, `i.rev` with `m i ≤ m i.rev`, the two | |
| 224 | +numbers have a product below `c`. -/ | |
| 225 | +lemma exists_le_rev_and_mul_rev_lt {k : ℕ} {m : Fin k → ℝ} {c : ℝ} (hc : 0 ≤ c) | |
| 226 | + (h_prod : (∏ i : Fin k, m i) ^ 2 < c ^ k) : | |
| 227 | + ∃ i : Fin k, m i ≤ m i.rev ∧ m i * m i.rev < c := by | |
| 228 | + obtain ⟨i, hi⟩ : ∃ i : Fin k, m i * m i.rev < c := by | |
| 229 | + by_contra! h_ge | |
| 230 | + refine h_prod.not_ge ?_ | |
| 231 | + calc c ^ k = ∏ _ : Fin k, c := (Fin.prod_const _ c).symm | |
| 232 | + _ ≤ ∏ i : Fin k, m i * m i.rev := by | |
| 233 | + gcongr with i | |
| 234 | + exact h_ge i | |
| 235 | + _ = (∏ i : Fin k, m i) ^ 2 := by rw [prod_mul_distrib, Fin.rev_bijective.prod_comp, sq] | |
| 236 | + rcases le_total (m i) (m i.rev) with h_le | h_le | |
| 237 | + · exact ⟨i, h_le, hi⟩ | |
| 238 | + · exact ⟨i.rev, by rwa [Fin.rev_rev], by rwa [Fin.rev_rev, mul_comm]⟩ | |
| 239 | + | |
| 240 | +/-- The square matrix whose rows, numbered by `e`, are the independent vectors `y 0, …, y j`, the | |
| 241 | +last one repeated, has rank `j + 1`. -/ | |
| 242 | +lemma rank_of_apply_min {K ι : Type*} [Field K] [Fintype ι] {k : ℕ} (e : ι ≃ Fin k) | |
| 243 | + {y : Fin k → ι → K} (hy : LinearIndependent K y) (j : Fin k) : | |
| 244 | + (of fun a : ι ↦ y (min (e a) j)).rank = j + 1 := by | |
| 245 | + have h_rows : Set.range (of fun a : ι ↦ y (min (e a) j)).row = y '' Set.Iic j := by | |
| 246 | + refine Set.Subset.antisymm (Set.range_subset_iff.2 fun a ↦ ?_) (Set.image_subset_iff.2 ?_) | |
| 247 | + · exact ⟨min (e a) j, min_le_right (e a) j, rfl⟩ | |
| 248 | + · exact fun l hl ↦ ⟨e.symm l, funext fun i ↦ by simp [min_eq_left (Set.mem_Iic.1 hl)]⟩ | |
| 249 | + rw [← finrank_span_range_row, h_rows, Set.image_eq_range, | |
| 250 | + finrank_span_eq_card (b := fun l : Set.Iic j ↦ y l) (hy.comp _ Subtype.val_injective)] | |
| 251 | + simp | |
| 252 | + | |
| 253 | +/-- Minkowski's basis of a space of rank `k`. Let `1 ≤ κ` and `8 f k · rd ≤ κ`, where `f` is the | |
| 254 | +number of infinite places and `rd` is the root discriminant of `E`. The lattice of `W` contains a | |
| 255 | +basis, ordered by length, whose lengths have product at most `κ ^ k`. -/ | |
| 256 | +lemma Space.exists_basis_prod_norm_le (W : Space E n s) {k : ℕ} (hk : Fintype.card n = k) {κ : ℝ} | |
| 257 | + (hκ : 1 ≤ κ) (h_discr : 8 * (Core.numInfPlaces E * Fintype.card n) * rootDiscr E ≤ κ) : | |
| 258 | + ∃ y : Fin k → n → E, | |
| 259 | + LinearIndependent E y ∧ | |
| 260 | + (∀ j : Fin k, y j ∈ W.baseLattice) ∧ | |
| 261 | + (Monotone fun j : Fin k ↦ ‖W.archCoords (y j)‖) ∧ | |
| 262 | + ∏ j : Fin k, ‖W.archCoords (y j)‖ ≤ κ ^ k := by | |
| 263 | + subst hk | |
| 264 | + -- The lattice and the lengths of `W` are by definition those of the frame `W.x`. | |
| 265 | + obtain ⟨y, hy_indep, hy_mem, hy_mono, h_prod⟩ := Core.minkowski_second_theorem W.x | |
| 266 | + refine ⟨y, hy_indep, hy_mem, hy_mono, | |
| 267 | + le_of_pow_le_pow_left₀ (n := 2 * Core.numInfPlaces E) (by positivity) (by positivity) ?_⟩ | |
| 268 | + have discr_pos : 0 < rootDiscr E := rootDiscr_pos E | |
| 269 | + -- The frame of a space has adelic determinant of absolute value `1`. | |
| 270 | + calc (∏ j : Fin (card n), ‖W.archCoords (y j)‖) ^ (2 * Core.numInfPlaces E) | |
| 271 | + ≤ (2 * (Core.numInfPlaces E * card n) * rootDiscr E) ^ (Core.numInfPlaces E * card n) := by | |
| 272 | + rwa [ideleAbs_det_x, one_mul, prod_pow] at h_prod | |
| 273 | + _ ≤ κ ^ (Core.numInfPlaces E * card n) := pow_le_pow_left₀ (by positivity) (by linarith) _ | |
| 274 | + _ ≤ κ ^ (card n * (2 * Core.numInfPlaces E)) := pow_le_pow_right₀ hκ (by nlinarith) | |
| 275 | + _ = (κ ^ card n) ^ (2 * Core.numInfPlaces E) := pow_mul .. | |
| 276 | + | |
| 277 | +/-- If lattice vectors `y j` of length at most `r` span `E ^ n`, the length of every nonzero lattice | |
| 278 | +vector times `r` is at least `1`. -/ | |
| 279 | +lemma Space.one_le_norm_mul_of_span_eq_top (W : Space E n s) {ξ : n → E} (hξ : ξ ∈ W.baseLattice) | |
| 280 | + (hξ_ne : ξ ≠ 0) {ι : Type*} {y : ι → n → E} (h_span : span E (Set.range y) = ⊤) | |
| 281 | + (hy_mem : ∀ j : ι, y j ∈ W.baseLattice) {r : ℝ} (hy_le : ∀ j : ι, ‖W.archCoords (y j)‖ ≤ r) : | |
| 282 | + 1 ≤ ‖W.archCoords ξ‖ * r := by | |
| 283 | + -- Otherwise `ξ` is orthogonal to every `y j`, and the form is nondegenerate. | |
| 284 | + by_contra! h_lt | |
| 285 | + have h_orth : dotProductBilin E E (star ξ) ∘ₗ W.J.mulVecLin = 0 := | |
| 286 | + LinearMap.ext_on_range h_span fun j ↦ form_eq_zero_of_norm_mul_lt_one hξ (hy_mem j) | |
| 287 | + (h_lt.trans_le' (mul_le_mul_of_nonneg_left (hy_le j) (norm_nonneg _))) | |
| 288 | + refine hξ_ne (star_eq_zero.1 (dotProduct_eq_zero _ fun v ↦ ?_)) | |
| 289 | + obtain ⟨u, rfl⟩ : ∃ u : n → E, W.J *ᵥ u = v := mulVec_surjective_iff_isUnit.2 W.isUnit_J v | |
| 290 | + exact LinearMap.congr_fun h_orth u | |
| 291 | + | |
| 292 | +/-- A short lattice vector gives a cusp. Let `W` be a space over the CM field `E` in dimension `n`. | |
| 293 | +Let `1 ≤ κ`, `0 ≤ θ * κ ≤ 1` and `8 f n · rd ≤ κ`, where `f` is the number of infinite places and | |
| 294 | +`rd` is the root discriminant of `E`. If the first minimum of `W` (cut off at `1`) is below `θ ^ n`, | |
| 295 | +there is a cusp of size `θ * κ` (`New.Space.CuspFrame`): a nonzero rational isotropic subspace `A`, | |
| 296 | +with `A` spanned by lattice vectors of length at most `x` and `A^⊥` spanned by lattice vectors of | |
| 297 | +length at most `y`, where `x * y ≤ θ * κ`. -/ | |
| 298 | +lemma Space.nonempty_cuspFrame (W : Space E n s) {θ κ : ℝ} | |
| 299 | + (h_short : W.firstMinimum < θ ^ Fintype.card n) (hκ : 1 ≤ κ) (hθκ_nonneg : 0 ≤ θ * κ) | |
| 300 | + (hθκ_le : θ * κ ≤ 1) (h_discr : 8 * (Core.numInfPlaces E * card n) * rootDiscr E ≤ κ) : | |
| 301 | + Nonempty (W.CuspFrame (θ * κ)) := by | |
| 302 | + -- Take a short vector `ξ` and a Minkowski basis `y` of lengths `α 0 ≤ … ≤ α k`, `k + 1 = #n`. | |
| 303 | + -- As `‖ξ‖ * α k ≥ 1`, the other lengths have a small product; pair them from both ends. | |
| 304 | + obtain ⟨ξ, hξ, hξ_ne, hξ_short⟩ : ∃ ξ ∈ W.baseLattice, ξ ≠ 0 ∧ ‖W.archCoords ξ‖ < θ ^ card n := by | |
| 305 | + by_contra! h_long | |
| 306 | + exact h_short.not_ge | |
| 307 | + (W.le_firstMinimum_iff.2 ⟨pow_le_one₀ (by nlinarith) (by nlinarith), h_long⟩) | |
| 308 | + have hn : Nonempty n := (Function.ne_iff.mp hξ_ne).nonempty | |
| 309 | + obtain ⟨k, hk⟩ : ∃ k : ℕ, card n = k + 1 := Nat.exists_eq_succ_of_ne_zero card_ne_zero | |
| 310 | + obtain ⟨y, hy_indep, hy_mem, α_mono, α_prod⟩ : ∃ y : Fin (k + 1) → n → E, | |
| 311 | + LinearIndependent E y ∧ (∀ j : Fin (k + 1), y j ∈ W.baseLattice) ∧ | |
| 312 | + (Monotone fun j : Fin (k + 1) ↦ ‖W.archCoords (y j)‖) ∧ | |
| 313 | + ∏ j : Fin (k + 1), ‖W.archCoords (y j)‖ ≤ κ ^ (k + 1) := | |
| 314 | + W.exists_basis_prod_norm_le hk hκ h_discr | |
| 315 | + set α : Fin (k + 1) → ℝ := fun j ↦ ‖W.archCoords (y j)‖ | |
| 316 | + have h_last : 1 ≤ ‖W.archCoords ξ‖ * α (Fin.last k) := | |
| 317 | + W.one_le_norm_mul_of_span_eq_top hξ hξ_ne | |
| 318 | + (hy_indep.span_eq_top_of_card_eq_finrank' (by simp [hk])) hy_mem fun j ↦ α_mono j.le_last | |
| 319 | + have h_prod : ∏ j : Fin k, α j.castSucc < (θ * κ) ^ (k + 1) := | |
| 320 | + calc _ ≤ (∏ j : Fin k, α j.castSucc) * (‖W.archCoords ξ‖ * α (Fin.last k)) := | |
| 321 | + le_mul_of_one_le_right (by positivity) h_last | |
| 322 | + _ = ‖W.archCoords ξ‖ * ∏ j : Fin (k + 1), α j := by rw [Fin.prod_univ_castSucc, mul_left_comm] | |
| 323 | + _ ≤ ‖W.archCoords ξ‖ * κ ^ (k + 1) := by gcongr | |
| 324 | + _ < θ ^ card n * κ ^ (k + 1) := by gcongr | |
| 325 | + _ = (θ * κ) ^ (k + 1) := by rw [hk, mul_pow] | |
| 326 | + obtain ⟨i, hi_le, hi_lt⟩ : | |
| 327 | + ∃ i : Fin k, α i.castSucc ≤ α i.rev.castSucc ∧ α i.castSucc * α i.rev.castSucc < θ * κ := | |
| 328 | + exists_le_rev_and_mul_rev_lt (m := fun j ↦ α j.castSucc) hθκ_nonneg <| | |
| 329 | + calc (∏ j : Fin k, α j.castSucc) ^ 2 < ((θ * κ) ^ (k + 1)) ^ 2 := by gcongr | |
| 330 | + _ = (θ * κ) ^ ((k + 1) * 2) := (pow_mul ..).symm | |
| 331 | + _ ≤ (θ * κ) ^ k := pow_le_pow_of_le_one hθκ_nonneg hθκ_le (by omega) | |
| 332 | + -- The columns of `X j` are `y 0, …, y j`, the last one repeated. | |
| 333 | + let e : n ≃ Fin (k + 1) := equivFinOfCardEq hk | |
| 334 | + let X (j : Fin k) : Matrix n n E := (of fun a : n ↦ y (min (e a) j.castSucc))ᵀ | |
| 335 | + have h_col (j : Fin k) (a : n) : (X j).col a ∈ W.latticeBall (α j.castSucc) := | |
| 336 | + ⟨hy_mem _, α_mono (min_le_right ..)⟩ | |
| 337 | + -- Lattice vectors whose lengths have product below `1` are orthogonal. | |
| 338 | + have h_orth (j : Fin k) (hj : α j.castSucc ≤ α i.rev.castSucc) : (X i)ᴴ * (W.J * X j) = 0 := by | |
| 339 | + refine funext₂ fun a b ↦ form_eq_zero_of_norm_mul_lt_one (h_col i a).1 (h_col j b).1 ?_ | |
| 340 | + calc _ ≤ α i.castSucc * α i.rev.castSucc := | |
| 341 | + mul_le_mul (h_col i a).2 ((h_col j b).2.trans hj) (norm_nonneg _) (norm_nonneg _) | |
| 342 | + _ < 1 := hi_lt.trans_le hθκ_le | |
| 343 | + -- The `k - i` independent columns of `X i.rev` lie in the orthogonal of the `i + 1` independent | |
| 344 | + -- columns of `X i`, which has dimension `k - i`; so they span it. | |
| 345 | + have h_range : (X i.rev).mulVecLin.range = ((X i)ᴴ * W.J).mulVecLin.ker := by | |
| 346 | + refine eq_of_le_of_finrank_le (by simp [h_orth i.rev le_rfl, IsConcreteLE.le_iff, mul_assoc]) ?_ | |
| 347 | + have star_indep : LinearIndependent E fun j : Fin (k + 1) ↦ star (y j) := | |
| 348 | + hy_indep.map_of_injective_injective star (starAddEquiv : (n → E) ≃+ (n → E)).toAddMonoidHom | |
| 349 | + (by simp) (by simp) (by simp) | |
| 350 | + have rank_left : ((X i)ᴴ * W.J).rank = i + 1 := | |
| 351 | + (rank_mul_eq_left_of_isUnit_det _ _ ((isUnit_iff_isUnit_det _).1 W.isUnit_J)).trans | |
| 352 | + (rank_of_apply_min e star_indep i.castSucc) | |
| 353 | + have rank_right : (X i.rev).rank = i.rev + 1 := | |
| 354 | + (rank_transpose _).trans (rank_of_apply_min e hy_indep i.rev.castSucc) | |
| 355 | + rw [finrank_ker_mulVecLin, rank_left, finrank_range_mulVecLin, rank_right, hk, | |
| 356 | + Fin.val_rev] | |
| 357 | + omega | |
| 358 | + exact ⟨{ | |
| 359 | + isotropicCols := X i, perpCols := X i.rev, lengthX := α i.castSucc, lengthY := α i.rev.castSucc | |
| 360 | + ne_zero := fun h_zero ↦ hy_indep.ne_zero _ (funext fun a ↦ congrFun₂ h_zero a hn.some) | |
| 361 | + isotropic := h_orth i hi_le, orthogonal := h_orth i.rev le_rfl | |
| 362 | + spans := exists_mul_add_mul_eq_one h_range.ge | |
| 363 | + col_isotropicCols_mem := h_col i, col_perpCols_mem := h_col i.rev | |
| 364 | + lengthX_le := hi_le, length_mul_le := hi_lt.le }⟩ | |
| 365 | + | |
| 366 | +/-- If `T` is integral at the finite places and of operator norm at most `δ / (6 M)` at the infinite | |
| 367 | +ones, with `0 < δ ≤ 1`, a point `x` with matrix `radicalElem (stdForm E s) (M • T)`, where | |
| 368 | +`radicalElem J T = 1 + 2 (T - Tᴴ - Tᴴ J T) J`, has real part within `δ` of `1` and finite part in | |
| 369 | +the principal level `M`. -/ | |
| 370 | +lemma dist_le_and_mem_principalLevel_of_adeleMatrix_eq {M : ℕ} (hM : M ≠ 0) {δ : ℝ} (hδ_pos : 0 < δ) | |
| 371 | + (hδ_le : δ ≤ 1) {T : Matrix n n (𝔸 E)} (hT : IsIntBounded (δ / 6 / M) T) {x : G E s} | |
| 372 | + (hx : x.adeleMatrix = radicalElem (stdForm E s) (M • T)) : | |
| 373 | + dist x.1 1 ≤ δ ∧ x.2 ∈ principalLevel n M := by | |
| 374 | + -- We have `x - 1 = M • Z` with `Z` integral and of size `δ / M`. | |
| 375 | + have s_small : IsIntBounded 1 (stdForm E s) := by | |
| 376 | + simp [IsIntBounded, stdForm, pi_norm_le_iff_of_nonneg, abs_unit_intCast] | |
| 377 | + let Z : Matrix n n (𝔸 E) := 2 • ((T - Tᴴ - Tᴴ * stdForm E s * M • T) * stdForm E s) | |
| 378 | + have Z_small : IsIntBounded (δ / M) Z := by | |
| 379 | + -- The sizes add up to `(2 * δ / 3 + δ ^ 2 / 18) / M`, and `δ ≤ 1`. | |
| 380 | + refine ((((hT.sub hT.star).sub ((hT.star.mul s_small).mul (hT.nsmul M))).mul s_small).nsmul | |
| 381 | + 2).mono ?_ | |
| 382 | + field_simp | |
| 383 | + push_cast | |
| 384 | + linarith | |
| 385 | + have hZ : x.adeleMatrix - 1 = M • Z := by | |
| 386 | + simp [hx, Z, M.cast_comm, radicalElem, two_mul, mul_sub, sub_mul, add_mul, mul_assoc] | |
| 387 | + have x_small : IsIntBounded δ (x.adeleMatrix - 1) := by | |
| 388 | + simpa only [hZ, mul_div_cancel₀ δ (Nat.cast_ne_zero.2 hM)] using Z_small.nsmul M | |
| 389 | + refine ⟨dist_pi_le_iff'.2 fun w ↦ ?_, mem_stdLevel.2 fun i j ↦ ?_, | |
| 390 | + fun i j ↦ ⟨(Z i j).2, Z_small.1 i j, ?_⟩⟩ | |
| 391 | + · change dist (x.adeleMatrix.map (evalInf w)) 1 ≤ δ | |
| 392 | + simpa [Matrix.map_sub, ← dist_eq_norm] using x_small.2 w | |
| 393 | + · simpa [Matrix.one_apply, apply_ite Prod.snd] using add_mem x_small.1 (one_mem _) i j | |
| 394 | + · simpa [Matrix.one_apply, apply_ite] using congrArg Prod.snd (congrFun₂ hZ i j) | |
| 395 | + | |
| 396 | +/-- Every adelic matrix is near a rational matrix. If `N ≠ 0` lies in the different of `E`, there is | |
| 397 | +a rounding map `f : 𝔸 E → E` such that every matrix `c` differs from its entrywise rounding by a | |
| 398 | +matrix that is integral at the finite places and of operator norm at most `n² (2 r)² N` at the | |
| 399 | +infinite ones, `r` being the number of infinite places. -/ | |
| 400 | +lemma exists_isIntBounded_sub_map {N : ℕ} [NeZero N] | |
| 401 | + (hN_diff : (N : 𝓞 E) ∈ differentIdeal ℤ (𝓞 E)) : | |
| 402 | + ∃ f : 𝔸 E → E, ∀ c : Matrix n n (𝔸 E), IsIntBounded | |
| 403 | + (card n * card n * ((2 * Core.numInfPlaces E) ^ 2 * N)) (c - c.map (toAdele ∘ f)) := by | |
| 404 | + have h_near (c : 𝔸 E) : ∃ a : E, c.2 - algebraMap E (𝔸f E) a ∈ Ô E ∧ ∀ w : InfinitePlace E, | |
| 405 | + ‖c.1 w - Φ w a‖ ≤ (2 * Core.numInfPlaces E) ^ 2 * ‖Φ w (N : 𝓞 E)‖ := | |
| 406 | + exists_principal_near_of_mem_differentIdeal NeZero.out hN_diff c.1 c.2 | |
| 407 | + choose f f_int f_near using h_near | |
| 408 | + exact ⟨f, fun c ↦ ⟨fun i j ↦ f_int (c i j), | |
| 409 | + fun w ↦ l2_opNorm_le_of_apply fun i j ↦ by simpa using f_near (c i j) w⟩⟩ | |
| 410 | + | |
| 411 | +/-- If `Y e + 2 M b Xᴴ J = 1` over `E`, so that the orthogonal of the columns of | |
| 412 | +`X` lies in the span of those of `Y`, the same relation holds for their images in the adelic frame | |
| 413 | +of `W`, in which the form is `stdForm E s`. -/ | |
| 414 | +lemma Space.adelicCoords_mul_add_mul_eq_one (W : Space E n s) {X Y e b : Matrix n n E} {M : ℕ} | |
| 415 | + (h_one : Y * e + algebraMap E (Matrix n n E) (2 * M) * b * (Xᴴ * W.J) = 1) : | |
| 416 | + W.adelicCoords Y * (e.map toAdele * W.x.val) + | |
| 417 | + 2 * W.adelicCoords b * M * (W.adelicCoords X)ᴴ * stdForm E s = 1 := by | |
| 418 | + -- Map the rational identity to the adeles and conjugate it by the point of `W`. | |
| 419 | + simpa [Space.adelicCoords, M.cast_comm, W.map_J, Matrix.map_add, Matrix.map_natCast, | |
| 420 | + diagonal_natCast, two_mul, mul_add, add_mul, mul_assoc] | |
| 421 | + using congrArg (fun Z : Matrix n n E ↦ W.x⁻¹.val * Z.map toAdele * W.x.val) h_one | |
| 422 | + | |
| 423 | +/-- The rational matrix `radicalElem W.J (P Xᴴ)`, read in the adelic frame of `W`, is the element | |
| 424 | +`radicalElem` for the standard form with the adelic coordinates of `P` and `X` as parameters. -/ | |
| 425 | +lemma Space.map_radicalElem (W : Space E n s) (P X : Matrix n n E) : | |
| 426 | + (radicalElem W.J (P * Xᴴ)).map toAdele = | |
| 427 | + W.x.val * radicalElem (stdForm E s) (W.adelicCoords P * (W.adelicCoords X)ᴴ) * W.x⁻¹.val := by | |
| 428 | + simp [Space.adelicCoords, radicalElem, W.map_J, Matrix.map_add, Matrix.map_sub, two_mul, mul_sub, | |
| 429 | + mul_add, sub_mul, add_mul, mul_assoc] | |
| 430 | + | |
| 431 | +/-- Let `p` and `a` be the adelic coordinates of rational matrices `P` and `X`. A point `x` with | |
| 432 | +matrix `radicalElem (stdForm E s) (p aᴴ)` is a rational point of `W`. -/ | |
| 433 | +lemma Space.mem_Gamma_of_adeleMatrix_eq_radicalElem (W : Space E n s) (P X : Matrix n n E) | |
| 434 | + {x : G E s} | |
| 435 | + (hx : x.adeleMatrix = radicalElem (stdForm E s) (W.adelicCoords P * (W.adelicCoords X)ᴴ)) : | |
| 436 | + x ∈ W.Γ := | |
| 437 | + W.mem_Gamma_iff_range.2 (mem_ratMatrices.1 ⟨_, (W.map_radicalElem P X).trans (by rw [hx])⟩) | |
| 438 | + | |
| 439 | +/-- Reduction by a rational point. Let `Xᴴ J X = Xᴴ J Y = 0` and `Y e + 2 M b Xᴴ J = 1` over `E`, | |
| 440 | +so that the columns of `X` span an isotropic subspace `A` and those of `Y` span `A^⊥`, and let `a`, | |
| 441 | +`y` be the adelic coordinates of `X`, `Y`. Let `r` be any map from adelic to rational matrices (a | |
| 442 | +rounding). For `u` in the radical `N_A` there are adelic matrices `c`, `d` and a rational point `γ` | |
| 443 | +of `N_A` such that `γ u` is `radicalElem` of `M (y (c - r c) - a (d - r d)) aᴴ`. -/ | |
| 444 | +lemma Space.exists_mem_Gamma_adeleMatrix_mul_eq_radicalElem (W : Space E n s) | |
| 445 | + {X Y e b : Matrix n n E} {M : ℕ} | |
| 446 | + (hX : Xᴴ * (W.J * X) = 0) (hXY : Xᴴ * (W.J * Y) = 0) | |
| 447 | + (h_one : Y * e + algebraMap E (Matrix n n E) (2 * M) * b * (Xᴴ * W.J) = 1) | |
| 448 | + (r : Matrix n n (𝔸 E) → Matrix n n E) {u : G E s} (hu : u ∈ W.radical X) : | |
| 449 | + ∃ c d : Matrix n n (𝔸 E), ∃ γ ∈ W.Γ ⊓ W.radical X, | |
| 450 | + (γ * u).adeleMatrix = radicalElem (stdForm E s) | |
| 451 | + (M • ((W.adelicCoords Y * (c - (r c).map toAdele) - | |
| 452 | + W.adelicCoords X * (d - (r d).map toAdele)) * (W.adelicCoords X)ᴴ)) := by | |
| 453 | + obtain ⟨c, d, x, hx, hx_rad, hx_mul⟩ := | |
| 454 | + exists_radicalElem_mul_eq hu conjTranspose_stdForm isUnit_stdForm | |
| 455 | + (W.adelicCoords b) M (fun c ↦ (r c).map toAdele) (Space.adelicCoords_gram_eq_zero hX) | |
| 456 | + (Space.adelicCoords_gram_eq_zero hXY) (W.adelicCoords_mul_add_mul_eq_one h_one) | |
| 457 | + obtain ⟨γ, rfl⟩ : ∃ γ : G E s, γ.toUnitary = x := toUnitary.surjective x | |
| 458 | + -- The parameter of `γ` is rational. | |
| 459 | + have h_param : W.adelicCoords ((X * r d - Y * r c) * M) = | |
| 460 | + (W.adelicCoords X * (r d).map toAdele - W.adelicCoords Y * (r c).map toAdele) * M := by | |
| 461 | + simp [Space.adelicCoords, Matrix.map_sub, Matrix.map_natCast, diagonal_natCast, mul_sub, | |
| 462 | + sub_mul, mul_assoc] | |
| 463 | + refine ⟨c, d, γ, ⟨W.mem_Gamma_of_adeleMatrix_eq_radicalElem _ X (by rwa [h_param]), hx_rad⟩, ?_⟩ | |
| 464 | + rwa [nsmul_eq_mul, ← mul_assoc, M.cast_comm, adeleMatrix_mul] | |
| 465 | + | |
| 466 | +/-- Some matrix `b` over `E` makes the columns of `1 - 2 b Xᴴ J` orthogonal to those of `X` for `J`: | |
| 467 | +take `2 b` to be a generalised inverse of `Xᴴ J`. -/ | |
| 468 | +lemma exists_orthogonal_one_sub (J X : Matrix n n E) : | |
| 469 | + ∃ b : Matrix n n E, Xᴴ * (J * (1 - 2 * b * (Xᴴ * J))) = 0 := by | |
| 470 | + obtain ⟨σ, hσ⟩ := exists_generalized_inverse (Xᴴ * J).toLin' | |
| 471 | + have h_inv : Xᴴ * J * (σ.toMatrix' * (Xᴴ * J)) = Xᴴ * J := ext_iff_mulVec.2 fun v ↦ by | |
| 472 | + simpa only [← mulVec_mulVec, LinearMap.toMatrix'_mulVec, toLin'_apply] using hσ v | |
| 473 | + have h_half : 2 * ((2⁻¹ : E) • σ.toMatrix') = σ.toMatrix' := by norm_num [two_mul, ← add_smul] | |
| 474 | + exact ⟨(2⁻¹ : E) • σ.toMatrix', by rw [h_half, ← mul_assoc, mul_sub, mul_one, h_inv, sub_self]⟩ | |
| 475 | + | |
| 476 | +/-- Let `A` be a rational isotropic subspace of the hermitian space `W`, spanned by the columns of | |
| 477 | +`X`. The group `Γ ∩ N_A` of rational points is cocompact in the adelic unipotent radical `N_A`. | |
| 478 | + | |
| 479 | +A case of the compactness of `N(F) \ N(𝔸)` for a unipotent group `N` over a number field `F`. -/ | |
| 480 | +theorem Space.isCocompact_radical (W : Space E n s) {X : Matrix n n E} (hX : Xᴴ * (W.J * X) = 0) : | |
| 481 | + (W.Γ.subgroupOf (W.radical X)).IsCocompact := by | |
| 482 | + -- A point of the radical has two adelic matrices as parameters. A rational point of the radical | |
| 483 | + -- moves both into a compact set `C`, because `E` is cocompact in its adeles. The parameters | |
| 484 | + -- refer to `X` and to `Y = 1 - 2 b Xᴴ J`, whose columns span `A^⊥` when `2 b` is a generalised | |
| 485 | + -- inverse of `Xᴴ J`. | |
| 486 | + obtain ⟨b, hb⟩ := exists_orthogonal_one_sub W.J X | |
| 487 | + let Y : Matrix n n E := 1 - 2 * b * (Xᴴ * W.J) | |
| 488 | + have h_one : Y * 1 + algebraMap E (Matrix n n E) (2 * (1 : ℕ)) * b * (Xᴴ * W.J) = 1 := by | |
| 489 | + rw [Nat.cast_one, mul_one, mul_one, map_ofNat, sub_add_cancel] | |
| 490 | + let a : Matrix n n (𝔸 E) := W.adelicCoords X | |
| 491 | + let y : Matrix n n (𝔸 E) := W.adelicCoords Y | |
| 492 | + have a_iso : aᴴ * (stdForm E s * a) = 0 := Space.adelicCoords_gram_eq_zero hX | |
| 493 | + have y_orth : aᴴ * (stdForm E s * y) = 0 := Space.adelicCoords_gram_eq_zero hb | |
| 494 | + obtain ⟨C, hC, h_cover⟩ := | |
| 495 | + IsCovolOneLattice.exists_compact_cover_of_range (ratMatrices E n n) rfl | |
| 496 | + have h_near (c : Matrix n n (𝔸 E)) : ∃ r : Matrix n n E, c - r.map toAdele ∈ C := by | |
| 497 | + obtain ⟨r, hr⟩ := h_cover c | |
| 498 | + exact ⟨-r, by simpa [Matrix.map_neg, add_comm] using hr⟩ | |
| 499 | + choose r hr using h_near | |
| 500 | + -- The compact set is cut out by the image of `C × C` under the parametrisation `φ`. | |
| 501 | + have h_orth (c d : Matrix n n (𝔸 E)) : aᴴ * (stdForm E s * (y * c - a * d)) = 0 := by | |
| 502 | + simp [mul_sub, ← mul_assoc (stdForm E s), ← mul_assoc aᴴ _ c, ← mul_assoc aᴴ _ d, y_orth, a_iso] | |
| 503 | + let φ (p : Matrix n n (𝔸 E) × Matrix n n (𝔸 E)) : G E s := | |
| 504 | + ofMatrix (radicalElem (stdForm E s) ((y * p.fst - a * p.snd) * aᴴ)) | |
| 505 | + (Reduction.gram_radicalElem (J := stdForm E s) conjTranspose_stdForm a_iso | |
| 506 | + (h_orth p.fst p.snd)) | |
| 507 | + have hφ : Continuous φ := by | |
| 508 | + simp only [G.continuous_iff, φ, adeleMatrix_ofMatrix, radicalElem] | |
| 509 | + fun_prop | |
| 510 | + refine ⟨Subtype.val ⁻¹' (φ '' C ×ˢ C), ((hC.prod hC).image hφ).preimage_val, fun u ↦ ?_⟩ | |
| 511 | + obtain ⟨c, d, γ, ⟨hγ_rat, hγ_rad⟩, hγu⟩ := | |
| 512 | + W.exists_mem_Gamma_adeleMatrix_mul_eq_radicalElem hX hb h_one r u.property | |
| 513 | + have h_prod : φ (c - (r c).map toAdele, d - (r d).map toAdele) = γ * u := | |
| 514 | + ext_adeleMatrix (by rw [hγu, one_smul, adeleMatrix_ofMatrix]) | |
| 515 | + exact ⟨⟨γ, hγ_rad⟩, hγ_rat, _, ⟨hr c, hr d⟩, h_prod⟩ | |
| 516 | + | |
| 517 | +/-- Reduction in the radical of a cusp. Let `N ≠ 0` lie in the different of `E`, let `M ≠ 0` and | |
| 518 | +`0 < δ ≤ 1`, and let `κ = New.cuspConst E n N = 8 f n · rd + 48 n⁶ f² N + 1` (`f` the number of | |
| 519 | +infinite places, `rd` the root discriminant of `E`). Let `A` be a cusp of `W` of size `δ / (M κ)`: a | |
| 520 | +nonzero rational isotropic subspace, spanned by the columns of `A.isotropicCols`, with `A` spanned | |
| 521 | +by lattice vectors of length at most `x` and `A^⊥` spanned by lattice vectors of length at most `y`, | |
| 522 | +where `x * y ≤ δ / (M κ)`. Then the radical `N_A` lies in `(Γ ∩ N_A) Z_δ K(M)` | |
| 523 | +(`New.Space.RadicalCovered`), where `Γ` is the group of rational points of `W`, `Z_δ` is the real | |
| 524 | +ball of radius `δ` about `1`, and `K(M)` is the principal level `M`. -/ | |
| 525 | +lemma Space.CuspFrame.radicalCovered {W : Space E n s} {N : ℕ} [NeZero N] | |
| 526 | + (hN_diff : (N : 𝓞 E) ∈ differentIdeal ℤ (𝓞 E)) {M : ℕ} (hM : M ≠ 0) {δ : ℝ} (hδ_pos : 0 < δ) | |
| 527 | + (hδ_le : δ ≤ 1) (A : W.CuspFrame (δ / (M * cuspConst E n N))) : | |
| 528 | + W.RadicalCovered A.isotropicCols δ (principalLevel n M) := by | |
| 529 | + -- A rational point of the radical, with parameters near those of `u`, leaves only the small | |
| 530 | + -- remainders as parameters of the product. | |
| 531 | + intro u hu | |
| 532 | + have hκ : 1 ≤ cuspConst E n N := one_le_cuspConst E n N | |
| 533 | + obtain ⟨X, Y, lenX, lenY, hX_ne, hX, hXY, ⟨coeffY, coeffX, h_spans⟩, hX_col, hY_col, hlen_le, | |
| 534 | + h_prod⟩ := A | |
| 535 | + have hlenX : 0 ≤ lenX := (norm_nonneg _).trans (hX_col (Function.ne_iff.1 hX_ne).choose).2 | |
| 536 | + have hlenY : 0 ≤ lenY := hlenX.trans hlen_le | |
| 537 | + obtain ⟨round, h_approx⟩ := exists_isIntBounded_sub_map (n := n) hN_diff | |
| 538 | + -- Reduce `u` in the radical with the factor `M` in all parameters, so that the remainder is | |
| 539 | + -- divisible by `M`; for this, write `coeffX` as a multiple of `2 * M`. | |
| 540 | + obtain ⟨coeffX, rfl⟩ : ∃ b : Matrix n n E, coeffX = algebraMap E (Matrix n n E) (2 * M) * b := | |
| 541 | + (IsUnit.map _ (by simpa)).dvd | |
| 542 | + obtain ⟨c, d, γ, hγ, hγu⟩ := | |
| 543 | + W.exists_mem_Gamma_adeleMatrix_mul_eq_radicalElem hX hXY h_spans (fun c ↦ c.map round) hu | |
| 544 | + -- The remainder is small because `lenX * lenY` is: this uses the second summand of `cuspConst`. | |
| 545 | + have T_small : IsIntBounded (δ / 6 / M) ((W.adelicCoords Y * (c - c.map (toAdele ∘ round)) - | |
| 546 | + W.adelicCoords X * (d - d.map (toAdele ∘ round))) * (W.adelicCoords X)ᴴ) := by | |
| 547 | + have X_small : IsIntBounded (card n * card n * lenX) (W.adelicCoords X) := | |
| 548 | + Space.isIntBounded_adelicCoords hX_col | |
| 549 | + have Y_small : IsIntBounded (card n * card n * lenY) (W.adelicCoords Y) := | |
| 550 | + Space.isIntBounded_adelicCoords hY_col | |
| 551 | + refine (((Y_small.mul (h_approx c)).sub (X_small.mul (h_approx d))).mul X_small.star).mono ?_ | |
| 552 | + have h_const : 48 * card n ^ 6 * Core.numInfPlaces E ^ 2 * N ≤ cuspConst E n N := | |
| 553 | + le_add_of_nonneg_of_le (by positivity [rootDiscr_pos E]) (le_add_of_nonneg_right zero_le_one) | |
| 554 | + calc _ = 4 * card n ^ 6 * Core.numInfPlaces E ^ 2 * N * ((lenY + lenX) * lenX) := by ring | |
| 555 | + _ ≤ 4 * card n ^ 6 * Core.numInfPlaces E ^ 2 * N * ((lenY + lenY) * lenX) := by gcongr | |
| 556 | + _ = 48 * card n ^ 6 * Core.numInfPlaces E ^ 2 * N / 6 * (lenX * lenY) := by ring | |
| 557 | + _ ≤ cuspConst E n N / 6 * (δ / (M * cuspConst E n N)) := by gcongr | |
| 558 | + _ = δ / 6 / M := by field_simp | |
| 559 | + exact ⟨γ, hγ, dist_le_and_mem_principalLevel_of_adeleMatrix_eq hM hδ_pos hδ_le T_small hγu⟩ | |
| 560 | + | |
| 561 | +/-- A point with a short vector lies high in a cusp. Let `N ≠ 0` lie in the different of `E`, let | |
| 562 | +`M ≠ 0` and `0 < δ ≤ 1`. Suppose the first minimum (cut off at 1) of the lattice of `W` is less than | |
| 563 | +`(δ / (M κ²))ⁿ`, where `κ = New.cuspConst E n N`. Then there is a cusp `A` of size `δ` whose radical | |
| 564 | +`N_A` lies in `(Γ ∩ N_A) Z_δ J(M)`. Such a cusp is a nonzero rational isotropic subspace, spanned by | |
| 565 | +the columns of `A.isotropicCols`, with `A` and `A^⊥` spanned by lattice vectors of lengths at most | |
| 566 | +`a`, `b` where `a b ≤ δ`. Here `Γ` is the group of rational points of `W`, `Z_δ` is the real ball of | |
| 567 | +radius `δ` about `1` and `J(M)` is the principal level `M`. For `W = V.move g` this is the inclusion | |
| 568 | +`N_A g ⊆ (Γ ∩ N_A) g Z_δ J(M)`. -/ | |
| 569 | +theorem Space.exists_cuspFrame (W : Space E n s) {N : ℕ} [NeZero N] | |
| 570 | + (hN_diff : (N : 𝓞 E) ∈ differentIdeal ℤ (𝓞 E)) {M : ℕ} (hM : M ≠ 0) {δ : ℝ} (hδ_pos : 0 < δ) | |
| 571 | + (hδ_le : δ ≤ 1) (h_short : W.firstMinimum < (δ / (M * cuspConst E n N ^ 2)) ^ Fintype.card n) : | |
| 572 | + ∃ A : W.CuspFrame δ, W.RadicalCovered A.isotropicCols δ (principalLevel n M) := by | |
| 573 | + have hκ : 1 ≤ cuspConst E n N := one_le_cuspConst E n N | |
| 574 | + have h_le : δ / (M * cuspConst E n N) ≤ δ := | |
| 575 | + div_le_self hδ_pos.le (one_le_mul_of_one_le_of_one_le (mod_cast hM.pos) hκ) | |
| 576 | + have h_size : δ / (M * cuspConst E n N ^ 2) * cuspConst E n N = δ / (M * cuspConst E n N) := by | |
| 577 | + field_simp | |
| 578 | + obtain ⟨A⟩ : Nonempty (W.CuspFrame (δ / (M * cuspConst E n N))) := by | |
| 579 | + rw [← h_size] | |
| 580 | + exact W.nonempty_cuspFrame h_short hκ (by positivity) (h_size.trans_le (h_le.trans hδ_le)) | |
| 581 | + (le_add_of_nonneg_right (by positivity)) | |
| 582 | + exact ⟨{ A with length_mul_le := A.length_mul_le.trans h_le }, | |
| 583 | + A.radicalCovered hN_diff hM hδ_pos hδ_le⟩ | |
| 584 | + | |
| 585 | +private lemma apply_mul_pair_of_mem_level {J : Subgroup (Gf E n)} (h_level : HasLevel F J) | |
| 586 | + (g : G E s) (z : GInf E s) {k : Gf E n} (hk : k ∈ J) : | |
| 587 | + F (g * (z, k)) = F (g * (z, 1)) := by | |
| 588 | + have h_split : g * (z, k) = g * (z, 1) * (1, k) := by simp [mul_assoc] | |
| 589 | + rw [h_split, h_level k hk] | |
| 590 | + | |
| 591 | +/-- Let `A ≠ 0` be the rational isotropic subspace spanned by the columns of `X`, let `J` be a | |
| 592 | +compact open subgroup of `Gf E n` inside the standard level, called a level, and let | |
| 593 | +`N_A g ⊆ (Γ ∩ N_A) g Z_δ J` (`New.Space.RadicalCovered`), with `Z_δ` the real ball of radius `δ` | |
| 594 | +about `1`. A bounded continuous function `F` that is fixed by a cusp kernel `e` and by `J`, and left | |
| 595 | +invariant under the rational points of the radical `N_A`, is bounded at `g y`, for `y` real, by its | |
| 596 | +oscillation `D` on `g Z_δ y`. -/ | |
| 597 | +theorem Space.norm_le_of_oscillation (he : IsCuspKernel B e) {X : Matrix n n E} | |
| 598 | + (hX_ne : X ≠ 0) (hX : Xᴴ * (V.J * X) = 0) {J : Subgroup (Gf E n)} [hJ : IsLevel J] {δ : ℝ} | |
| 599 | + {g : G E s} (h_cover : (V.move g).RadicalCovered X δ J) (h_cont : Continuous F) {T : ℝ} | |
| 600 | + (hT : ∀ x : G E s, ‖F x‖ ≤ T) (h_fix : realConv e F = F) (h_level : HasLevel F J) | |
| 601 | + (h_inv : ∀ ν : U V.J, (ν, 1) ∈ dilationGroup (m := n) X → | |
| 602 | + ∀ x : G E s, F (V.ratEmbed ν * x) = F x) (y : GInf E s) {D : ℝ} | |
| 603 | + (hD : ∀ z : GInf E s, dist z 1 ≤ δ → ‖F (g * (z * y, 1)) - F (g * (y, 1))‖ ≤ D) : | |
| 604 | + ‖F (g * (y, 1))‖ ≤ D := by | |
| 605 | + have hK : IsCompact (Metric.closedBall (1 : GInf E s) δ ×ˢ (J : Set (Gf E n))) := | |
| 606 | + (isCompact_closedBall 1 δ).prod hJ.isCompact | |
| 607 | + refine (V.move g).norm_le_of_dist_le he (Space.adelicCoords_gram_eq_zero (W := V.move g) hX) | |
| 608 | + (Space.adelicCoords_evalInf_ne_zero hX_ne) hK h_cover h_cont hT h_fix ?_ y ?_ | |
| 609 | + · rintro _ ⟨⟨ν, rfl⟩, hν⟩ x | |
| 610 | + have h_move : g * ((V.move g).ratEmbed ν * x) = V.ratEmbed ν * (g * x) := by | |
| 611 | + rw [V.ratEmbed_move g ν, mul_assoc, mul_assoc, mul_inv_cancel_left] | |
| 612 | + change F (g * ((V.move g).ratEmbed ν * x)) = F (g * x) | |
| 613 | + rw [h_move] | |
| 614 | + exact h_inv ν (Space.mem_dilationGroup_of_ratEmbed_mem_radical (W := V.move g) hν) _ | |
| 615 | + · rintro ⟨z, k⟩ ⟨hz, hk⟩ | |
| 616 | + rw [Prod.mk_mul_mk z, mul_one, apply_mul_pair_of_mem_level h_level g (z * y) hk, dist_eq_norm] | |
| 617 | + exact hD z hz | |
| 618 | + | |
| 619 | +/-- A continuous function `F` on `Γ \ G`, with `Γ = V.Γ` the group of rational points, is cuspidal | |
| 620 | +if its constant terms vanish: the integral of `F (u g)` over `u ∈ (Γ ∩ N_A) \ N_A` is zero for every | |
| 621 | +point `g` and every rational isotropic subspace `A ≠ 0`, with unipotent radical `N_A`. -/ | |
| 622 | +structure Space.IsCuspidal (V : Space E n s) (F : G E s → ℂ) : Prop where | |
| 623 | + /-- `F` is continuous. -/ | |
| 624 | + continuous : Continuous F | |
| 625 | + /-- `F` is left invariant under the rational points. -/ | |
| 626 | + rat_mul : V.Γ.FixesLeft F | |
| 627 | + /-- The integral is written in the frame at `g`, over `v = g⁻¹ u g`, and `A` is spanned by the | |
| 628 | + columns of `X`. It is taken against the quotient measure, which is finite because the quotient is | |
| 629 | + compact (`New.Space.isCocompact_radical`). -/ | |
| 630 | + integral_eq_zero (g : G E s) (X : Matrix n n E) (hX_ne : X ≠ 0) (hX : Xᴴ * (V.J * X) = 0) : | |
| 631 | + ∫ v : (V.move g).radical X, F (g * v) | |
| 632 | + ∂((V.move g).Γ.subgroupOf ((V.move g).radical X)).quotMeasure .haar = 0 | |
| 633 | + | |
| 634 | +/-- A function that is left invariant under the rational points of `V`, read in the frame at `g`, is | |
| 635 | +left invariant under the rational points of `V.move g`. -/ | |
| 636 | +lemma Space.fixesLeft_move (hF : V.Γ.FixesLeft F) (g : G E s) : | |
| 637 | + (V.move g).Γ.FixesLeft fun x : G E s ↦ F (g * x) := by | |
| 638 | + rintro _ ⟨ν, rfl⟩ x | |
| 639 | + simpa only [V.ratEmbed_move g ν, mul_assoc, mul_inv_cancel_left] using hF _ ⟨ν, rfl⟩ (g * x) | |
| 640 | + | |
| 641 | +/-- Let `e` be a cusp kernel of order `B` on `G_∞`: a minimal idempotent with ‖x‖^(B+1) e(x) | |
| 642 | +integrable, ‖x‖^B e(x) bounded, and α ∗ e = e for some continuous compactly supported α. Let `F` be | |
| 643 | +a form of type `e` for `V`, that is, a bounded automorphic function fixed by right convolution with | |
| 644 | +`e`. Then `F` is cuspidal: its constant terms along the unipotent radicals of nonzero rational | |
| 645 | +isotropic subspaces vanish. -/ | |
| 646 | +theorem Space.IsForm.isCuspidal (hF : V.IsForm e F) (he : IsCuspKernel B e) : V.IsCuspidal F := by | |
| 647 | + refine ⟨hF.continuous, hF.rat_mul, fun g X hX_ne hX ↦ ?_⟩ | |
| 648 | + obtain ⟨T, hT⟩ := hF.bounded | |
| 649 | + have h_inv : ((V.move g).Γ ⊓ (V.move g).radical X).FixesLeft fun x : G E s ↦ F (g * x) := | |
| 650 | + fun γ hγ ↦ Space.fixesLeft_move hF.rat_mul g γ hγ.1 | |
| 651 | + have h_fin : IsFiniteMeasure | |
| 652 | + (((V.move g).Γ.subgroupOf ((V.move g).radical X)).quotMeasure .haar) := | |
| 653 | + isFiniteMeasure_quotMeasure_of_cocompact .haar ((V.move g).isCocompact_radical hX) | |
| 654 | + -- The constant term is the mean along the radical at the real point `1`. | |
| 655 | + simpa only [Prod.mk_one_one, mul_one] using (V.move g).integral_unipotentRadical_eq_zero he | |
| 656 | + (Space.adelicCoords_gram_eq_zero (W := V.move g) hX) (Space.adelicCoords_evalInf_ne_zero hX_ne) | |
| 657 | + h_fin hF.continuous hT (hF.realConv_eq he.integrable) h_inv 1 | |
| 658 | + | |
| 659 | +/-- High in a cusp, a cuspidal function is bounded by its oscillation. Let `F` be a cuspidal | |
| 660 | +function of level `New.principalLevel n M` with `M ≠ 0`. Let `N ≠ 0` be a natural number in the | |
| 661 | +different of `E`, and let `0 < δ ≤ 1`. Suppose the first minimum of the lattice at `g` is less than | |
| 662 | +`(δ / (M κ²))ⁿ`, where `κ = New.cuspConst E n N`. If `‖F (g x) - F g‖ ≤ C` for every real `x` with | |
| 663 | +`dist x 1 ≤ δ`, then `‖F g‖ ≤ C`. -/ | |
| 664 | +theorem Space.IsCuspidal.norm_le_of_firstMinimum_lt (hF : V.IsCuspidal F) {N : ℕ} [NeZero N] | |
| 665 | + (hN_diff : (N : 𝓞 E) ∈ differentIdeal ℤ (𝓞 E)) {M : ℕ} (hM : M ≠ 0) | |
| 666 | + (h_level : HasLevel F (principalLevel n M)) {δ : ℝ} (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1) | |
| 667 | + {g : G E s} {C : ℝ} | |
| 668 | + (h_short : (V.move g).firstMinimum < (δ / (M * cuspConst E n N ^ 2)) ^ Fintype.card n) | |
| 669 | + (hC : ∀ x : GInf E s, dist x 1 ≤ δ → ‖F (g * (x, 1)) - F g‖ ≤ C) : ‖F g‖ ≤ C := by | |
| 670 | + -- `F g` is the mean of `F g - F (u g)` over the compact quotient of the radical of the cusp. | |
| 671 | + obtain ⟨A, h_cover⟩ := (V.move g).exists_cuspFrame hN_diff hM hδ_pos hδ_le h_short | |
| 672 | + have hJ : IsLevel (principalLevel n (M : 𝓞 E)) := | |
| 673 | + ⟨principalLevel_le_stdLevel, isOpen_principalLevel (Nat.cast_ne_zero.2 hM)⟩ | |
| 674 | + refine (V.move g).norm_le_of_integral_eq_zero ((isCompact_closedBall 1 δ).prod hJ.isCompact) | |
| 675 | + h_cover (f := fun x ↦ F (g * x)) (hF.continuous.comp (continuous_const_mul g)) | |
| 676 | + (fun γ hγ ↦ fixesLeft_move hF.rat_mul g γ hγ.1) | |
| 677 | + (hF.integral_eq_zero g A.isotropicCols A.ne_zero A.isotropic) ?_ | |
| 678 | + rintro ⟨z, k⟩ ⟨hz, hk⟩ | |
| 679 | + rw [apply_mul_pair_of_mem_level h_level g z hk, dist_eq_norm] | |
| 680 | + exact hC z hz | |
| 681 | + | |
| 682 | +/-- High in a cusp, a form is bounded by its oscillation. Let `F` be a form of type `e`, with `e` a | |
| 683 | +cusp kernel, and of principal level `M ≠ 0`. Let `N ≠ 0` lie in the different of `E`, and let | |
| 684 | +`0 < δ ≤ 1`. If the first minimum of the lattice at `g` is less than `(δ / (M κ²))ⁿ`, where | |
| 685 | +`κ = New.cuspConst E n N`, then `‖F g‖` is at most the oscillation `C` of `F` at `g` under real | |
| 686 | +right translations of size `δ`. -/ | |
| 687 | +theorem Space.IsForm.norm_le_of_firstMinimum_lt (hF : V.IsForm e F) (he : IsCuspKernel B e) {N : ℕ} | |
| 688 | + [NeZero N] (hN_diff : (N : 𝓞 E) ∈ differentIdeal ℤ (𝓞 E)) {M : ℕ} (hM : M ≠ 0) | |
| 689 | + (h_level : HasLevel F (principalLevel n M)) {δ : ℝ} (hδ_pos : 0 < δ) (hδ_le : δ ≤ 1) | |
| 690 | + {g : G E s} {C : ℝ} | |
| 691 | + (h_short : (V.move g).firstMinimum < (δ / (M * cuspConst E n N ^ 2)) ^ Fintype.card n) | |
| 692 | + (hC : ∀ x : GInf E s, dist x 1 ≤ δ → ‖F (g * (x, 1)) - F g‖ ≤ C) : ‖F g‖ ≤ C := | |
| 693 | + (hF.isCuspidal he).norm_le_of_firstMinimum_lt hN_diff hM h_level hδ_pos hδ_le h_short hC | |
| 694 | + | |
| 695 | +end New | |
| 696 | + | |
| 697 | +/-! ## Rapid decay, finite dimension at each level, and projection to type `e` -/ | |
| 698 | + | |
| 699 | +section FiniteDimension | |
| 700 | + | |
| 701 | +open NumberField MeasureTheory Set Ideal Matrix Matrix.Norms.L2Operator | |
| 702 | + | |
| 703 | +namespace New.Space | |
| 704 | + | |
| 705 | +variable {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 706 | + {V : Space E n s} {e : GInf E s → ℂ} {F : G E s → ℂ} {B : ℕ} | |
| 707 | + | |
| 708 | +/-- Conjugation by a real point `z` multiplies the distance to `1` by at most `‖z‖ ^ 2`, where `‖z‖` | |
| 709 | +is the product over the infinite places of the operator norms. -/ | |
| 710 | +lemma dist_conj_one_le [Nonempty n] (z x : GInf E s) : | |
| 711 | + dist (z⁻¹ * x * z) 1 ≤ (∏ w : InfinitePlace E, ‖(z w : Matrix n n ℂ)‖) ^ 2 * dist x 1 := by | |
| 712 | + -- At each place `z⁻¹ x z - 1 = z⁻¹ (x - 1) z`, and `z⁻¹` has the norm of `z`. | |
| 713 | + refine dist_pi_le_iff'.2 fun w ↦ ?_ | |
| 714 | + calc dist ((z⁻¹ * x * z) w) 1 | |
| 715 | + = ‖(((z w)⁻¹ : USign s) : Matrix n n ℂ) * ((x w : Matrix n n ℂ) - 1) * z w‖ := | |
| 716 | + (dist_eq_norm ((z⁻¹ * x * z) w : Matrix n n ℂ) 1).trans (by simp [mul_sub, sub_mul]) | |
| 717 | + _ ≤ ‖(z w : Matrix n n ℂ)‖ * ‖(x w : Matrix n n ℂ) - 1‖ * ‖(z w : Matrix n n ℂ)‖ := | |
| 718 | + norm_mul_le_of_le (norm_mul_le_of_le (U.norm_inv (z w)).le le_rfl) le_rfl | |
| 719 | + _ = ‖(z w : Matrix n n ℂ)‖ ^ 2 * dist (x w) 1 := by | |
| 720 | + rw [← dist_eq_norm, mul_right_comm, ← sq] | |
| 721 | + rfl | |
| 722 | + _ ≤ (∏ w : InfinitePlace E, ‖(z w : Matrix n n ℂ)‖) ^ 2 * dist x 1 := by | |
| 723 | + gcongr | |
| 724 | + exacts [(le_prod_opNorm z).2 w, dist_le_pi_dist x 1 w] | |
| 725 | + | |
| 726 | +/-- The product over the infinite places of the operator norms is submultiplicative. -/ | |
| 727 | +lemma prod_opNorm_mul_le (z v : GInf E s) : | |
| 728 | + ∏ w : InfinitePlace E, ‖((z * v) w : Matrix n n ℂ)‖ ≤ | |
| 729 | + (∏ w : InfinitePlace E, ‖(z w : Matrix n n ℂ)‖) * | |
| 730 | + ∏ w : InfinitePlace E, ‖(v w : Matrix n n ℂ)‖ := by | |
| 731 | + rw [← Finset.prod_mul_distrib] | |
| 732 | + gcongr with w | |
| 733 | + exact norm_mul_le _ _ | |
| 734 | + | |
| 735 | +/-- Small oscillation. For a cusp kernel `e` and `j ≥ 0` there is `δ₀ > 0` with the following | |
| 736 | +property. If a bounded continuous function `f` is fixed by `e` and `|f (g v)| ≤ C ‖v‖ ^ j` for all | |
| 737 | +real `v`, where `‖v‖` is the product over the infinite places of the operator norms, then | |
| 738 | +`|f (g u) - f g| ≤ C / 2` for the real `u` within `δ₀` of `1`. -/ | |
| 739 | +lemma exists_norm_sub_le_half (he : IsCuspKernel B e) (j : ℕ) : ∃ δ₀ : ℝ, 0 < δ₀ ∧ | |
| 740 | + ∀ (f : G E s → ℂ) (T C : ℝ) (g : G E s) (u : GInf E s) (_ : Continuous f) | |
| 741 | + (_h_bound : ∀ x : G E s, ‖f x‖ ≤ T) (_h_fix : realConv e f = f) (_hC_nonneg : 0 ≤ C) | |
| 742 | + (_h_growth : ∀ v : GInf E s, | |
| 743 | + ‖f (g * (v, 1))‖ ≤ C * (∏ w : InfinitePlace E, ‖(v w : Matrix n n ℂ)‖) ^ j) | |
| 744 | + (_h_near : dist u 1 ≤ δ₀), ‖f (g * (u, 1)) - f g‖ ≤ C / 2 := by | |
| 745 | + -- The bump `α` reproduces `e`, so `f = R(α) f`. The constant `c` bounds the norm on | |
| 746 | + -- `Ω = Z_1 · supp α`, and translation by `Z_{δ₀}` moves `α` by at most `c ^ (-j) / 2` in `L¹`. | |
| 747 | + let size (z : GInf E s) : ℝ := ∏ w : InfinitePlace E, ‖(z w : Matrix n n ℂ)‖ | |
| 748 | + obtain ⟨α, -, hα⟩ := he.exists_realConv_realConv_eq | |
| 749 | + let Ω : Set (GInf E s) := image2 (fun u x ↦ u * x) (Metric.closedBall 1 1) (tsupport α) | |
| 750 | + obtain ⟨c, one_le_c, hc⟩ : ∃ c : ℝ, 1 ≤ c ∧ ∀ y ∈ size '' Ω, y ≤ c := | |
| 751 | + (((isCompact_closedBall 1 1).mul α.hasCompactSupport).bddAbove_image (by fun_prop)).exists_ge 1 | |
| 752 | + obtain ⟨r, hr_pos, h_translate⟩ : ∃ r : ℝ, 0 < r ∧ ∀ ⦃u : GInf E s⦄, dist u 1 ≤ r → | |
| 753 | + ∫ x : GInf E s, ‖α (u⁻¹ * x) - α x‖ < (c ^ j)⁻¹ / 2 := | |
| 754 | + Metric.nhds_basis_closedBall.eventually_iff.1 | |
| 755 | + (α.integrable.tendsto_integral_norm_mul_left_sub.eventually_lt_const (by positivity)) | |
| 756 | + refine ⟨min r 1, by positivity, fun f T C g u h_cont h_bound h_fix hC h_growth h_near ↦ ?_⟩ | |
| 757 | + have h_fix_α : realConv α f = f := by | |
| 758 | + simpa only [h_fix] using hα f (.of_continuous ⟨T, h_bound⟩ h_cont) | |
| 759 | + have h_le (v : GInf E s) (hv : α (u⁻¹ * v) ≠ α v) : ‖f (g * (v, 1))‖ ≤ C * c ^ j := by | |
| 760 | + suffices hvΩ : v ∈ Ω by grw [h_growth v, ← hc _ (mem_image_of_mem size hvΩ)] | |
| 761 | + rcases hv.ne_or_ne 0 with h_left | h_right | |
| 762 | + · exact ⟨u, h_near.trans inf_le_right, _, subset_closure h_left, mul_inv_cancel_left u v⟩ | |
| 763 | + · exact ⟨1, Metric.mem_closedBall_self zero_le_one, v, subset_closure h_right, one_mul v⟩ | |
| 764 | + calc ‖f (g * (u, 1)) - f g‖ = ‖realConv α f (g * (u, 1)) - realConv α f g‖ := by rw [h_fix_α] | |
| 765 | + _ ≤ (∫ x : GInf E s, ‖α (u⁻¹ * x) - α x‖) * (C * c ^ j) := | |
| 766 | + norm_realConv_mul_sub_le (.of_continuous ⟨T, h_bound⟩ h_cont) α.integrable g u h_le | |
| 767 | + _ ≤ (c ^ j)⁻¹ / 2 * (C * c ^ j) := by grw [h_translate (h_near.trans inf_le_left)] | |
| 768 | + _ = C / 2 := by field_simp | |
| 769 | + | |
| 770 | +/-- Rapid decay in a cusp. For a cusp kernel `e` and `j ≥ 0` there is `δ₀ > 0` with the following | |
| 771 | +property. Let `J` be a level, `W` a space, and let `A ≠ 0` be a rational isotropic subspace of it, | |
| 772 | +spanned by the columns of `X`, with `N_A g ⊆ (Γ ∩ N_A) g Z_δ J` (`New.Space.RadicalCovered`; `N_A` | |
| 773 | +is the unipotent radical, `Γ` the group of rational points, `Z_δ` the real ball of radius `δ` about | |
| 774 | +`1`). If a continuous function `f` bounded by `T` is left invariant under `Γ ∩ N_A` and fixed by | |
| 775 | +`J` and by `e`, then `|f g| ≤ (δ / δ₀) ^ j T`. -/ | |
| 776 | +theorem exists_norm_le_of_radicalCovered (he : IsCuspKernel B e) [Nonempty n] (j : ℕ) : | |
| 777 | + ∃ δ₀ : ℝ, 0 < δ₀ ∧ | |
| 778 | + ∀ (J : Subgroup (Gf E n)) [IsLevel J] (W : Space E n s) (g : G E s) (δ : ℝ) (X : Matrix n n E) | |
| 779 | + (_hX_ne : X ≠ 0) (_hX_iso : Xᴴ * (W.J * X) = 0) | |
| 780 | + (_h_cover : (W.move g).RadicalCovered X δ J) (f : G E s → ℂ) (T : ℝ) (_h_cont : Continuous f) | |
| 781 | + (_h_bound : ∀ x : G E s, ‖f x‖ ≤ T) (_h_fix : realConv e f = f) (_h_level : HasLevel f J) | |
| 782 | + (_h_inv : ∀ ν : U W.J, (ν, 1) ∈ dilationGroup (m := n) X → | |
| 783 | + ∀ x : G E s, f (W.ratEmbed ν * x) = f x), | |
| 784 | + ‖f g‖ ≤ (δ / δ₀) ^ j * T := by | |
| 785 | + -- The mean of `f` along the radical vanishes, so `f (g z)` is bounded by an oscillation, which is | |
| 786 | + -- small as long as `δ ‖z‖ ^ 2` is; the other real `z` get a small weight. So every bound for | |
| 787 | + -- `|f (g z)| ‖z‖ ^ (-2 j)` can be halved until it reaches `(δ / δ₀) ^ j T`. | |
| 788 | + let size (z : GInf E s) : ℝ := ∏ w : InfinitePlace E, ‖(z w : Matrix n n ℂ)‖ | |
| 789 | + have one_le_size (z : GInf E s) : 1 ≤ size z := (le_prod_opNorm z).1 | |
| 790 | + have size_mul_le (z v : GInf E s) : size (z * v) ≤ size z * size v := prod_opNorm_mul_le z v | |
| 791 | + have weight_pos (z : GInf E s) : 0 < size z ^ (2 * j) := by positivity [one_le_size z] | |
| 792 | + obtain ⟨δ₀, hδ₀, h_osc⟩ := exists_norm_sub_le_half he (2 * j) | |
| 793 | + refine ⟨δ₀, hδ₀, fun J _ W g δ X hX_ne hX h_cover f T h_cont h_bound h_fix h_level h_inv ↦ ?_⟩ | |
| 794 | + obtain ⟨γ, -, hγ, -⟩ := h_cover 1 ((W.move g).radical X).one_mem | |
| 795 | + have hδ : 0 ≤ δ := dist_nonneg.trans hγ | |
| 796 | + have hT_nonneg : 0 ≤ T := (norm_nonneg _).trans (h_bound 1) | |
| 797 | + suffices h_weighted : ∀ z : GInf E s, ‖f (g * (z, 1))‖ / size z ^ (2 * j) ≤ (δ / δ₀) ^ j * T by | |
| 798 | + simpa [Prod.mk_one_one, size] using h_weighted 1 | |
| 799 | + refine le_of_halving (B := T) | |
| 800 | + (fun z ↦ (div_le_self (norm_nonneg _) (one_le_pow₀ (one_le_size z))).trans (h_bound _)) | |
| 801 | + (by positivity) fun C hC₀ hC z ↦ ?_ | |
| 802 | + rcases le_total (size z ^ 2 * δ) δ₀ with h_small | h_large | |
| 803 | + · -- Halving: `g x z = g z u` with `u = z⁻¹ x z` in `Z_{δ₀}`. | |
| 804 | + refine .inl ((div_le_iff₀ (weight_pos z)).2 (norm_le_of_oscillation he hX_ne hX h_cover | |
| 805 | + h_cont h_bound h_fix h_level h_inv z fun x hx ↦ ?_)) | |
| 806 | + have h_near : dist (z⁻¹ * x * z) 1 ≤ δ₀ := | |
| 807 | + ((dist_conj_one_le z x).trans (by gcongr)).trans h_small | |
| 808 | + have h_conj : g * (x * z, 1) = g * (z, 1) * (z⁻¹ * x * z, 1) := by simp [mul_assoc] | |
| 809 | + have h_growth (v : GInf E s) : | |
| 810 | + ‖f (g * (z, 1) * (v, 1))‖ ≤ C * size z ^ (2 * j) * size v ^ (2 * j) := | |
| 811 | + calc _ = ‖f (g * (z * v, 1))‖ := by rw [mul_assoc, Prod.mk_mul_mk z, one_mul] | |
| 812 | + _ ≤ C * size (z * v) ^ (2 * j) := (div_le_iff₀ (weight_pos _)).1 (hC _) | |
| 813 | + _ ≤ C * (size z * size v) ^ (2 * j) := by grw [size_mul_le z v] | |
| 814 | + _ = C * size z ^ (2 * j) * size v ^ (2 * j) := by rw [mul_pow, mul_assoc] | |
| 815 | + rw [h_conj, div_mul_eq_mul_div] | |
| 816 | + exact h_osc f T _ (g * (z, 1)) _ h_cont h_bound h_fix (by positivity) h_growth h_near | |
| 817 | + · -- For the other `z` the weight is at most `(δ / δ₀) ^ j`. | |
| 818 | + have h_weight : 1 ≤ (δ / δ₀) ^ j * size z ^ (2 * j) := by | |
| 819 | + rw [pow_mul, ← mul_pow] | |
| 820 | + exact one_le_pow₀ (by rwa [div_mul_eq_mul_div, one_le_div hδ₀, mul_comm]) | |
| 821 | + refine .inr ((div_le_iff₀ (weight_pos z)).2 ?_) | |
| 822 | + grw [h_bound, mul_right_comm, ← h_weight, one_mul] | |
| 823 | + | |
| 824 | +/-- For an open subgroup `J` there is `κ > 0` such that for every space `V` and point `g` there is | |
| 825 | +`δ > 0` with `δ ^ n = κ / V.height g` and, if `δ ≤ 1` (the height is at least `κ`), a cusp `A` of | |
| 826 | +size `δ` at `g` whose radical satisfies `N_A g ⊆ (Γ ∩ N_A) g Z_δ J` (`New.Space.RadicalCovered`). -/ | |
| 827 | +theorem exists_cuspFrame_of_height [Nonempty n] (J : OpenSubgroup (Gf E n)) : | |
| 828 | + ∃ κ : ℝ, 0 < κ ∧ ∀ (V : Space E n s) (g : G E s), ∃ δ : ℝ, 0 < δ ∧ | |
| 829 | + δ ^ Fintype.card n * V.height g = κ ∧ | |
| 830 | + (δ ≤ 1 → ∃ A : (V.move g).CuspFrame δ, (V.move g).RadicalCovered A.isotropicCols δ J) := by | |
| 831 | + obtain ⟨M, hM, hMJ⟩ := exists_principalLevel_subset J.mem_nhds_one | |
| 832 | + let N : ℕ := absNorm (differentIdeal ℤ (𝓞 E)) | |
| 833 | + let c : ℝ := M * cuspConst E n N ^ 2 | |
| 834 | + have hc : 0 < c := by positivity [one_le_cuspConst E n N] | |
| 835 | + refine ⟨2 * c ^ Fintype.card n, by positivity, fun V g ↦ ?_⟩ | |
| 836 | + have h_pos : 0 < V.height g := V.height_pos g | |
| 837 | + obtain ⟨δ, hδ_pos, hδ⟩ : | |
| 838 | + ∃ δ : ℝ, 0 < δ ∧ δ ^ Fintype.card n = 2 * c ^ Fintype.card n / V.height g := | |
| 839 | + ⟨_, by positivity, Real.rpow_inv_natCast_pow (by positivity) Fintype.card_ne_zero⟩ | |
| 840 | + refine ⟨δ, hδ_pos, by rw [hδ, div_mul_cancel₀ _ h_pos.ne'], fun hδ_le ↦ ?_⟩ | |
| 841 | + have h_short : (V.move g).firstMinimum < (δ / c) ^ Fintype.card n := | |
| 842 | + calc _ < 2 * (V.move g).firstMinimum := lt_two_mul_self (V.move g).firstMinimum_pos | |
| 843 | + _ = (δ / c) ^ Fintype.card n := by simp [div_pow, hδ, height, field] | |
| 844 | + obtain ⟨A, h_cover⟩ := (V.move g).exists_cuspFrame (absNorm_mem _) hM hδ_pos hδ_le h_short | |
| 845 | + exact ⟨A, fun u hu ↦ (h_cover u hu).imp fun γ ⟨hγ, h_inf, h_fin⟩ ↦ ⟨hγ, h_inf, hMJ h_fin⟩⟩ | |
| 846 | + | |
| 847 | +/-- For a fixed open subgroup, either the height is at most a uniform threshold `κ`, or there is | |
| 848 | +a cusp frame of size `0 < δ ≤ 1` with covered radical and `δ ^ card n * height = κ`. -/ | |
| 849 | +theorem exists_height_le_or_cuspFrame [Nonempty n] (J : OpenSubgroup (Gf E n)) : | |
| 850 | + ∃ κ : ℝ, 0 < κ ∧ ∀ (V : Space E n s) (g : G E s), V.height g ≤ κ ∨ | |
| 851 | + ∃ δ ∈ Set.Ioc (0 : ℝ) 1, δ ^ Fintype.card n * V.height g = κ ∧ | |
| 852 | + ∃ A : (V.move g).CuspFrame δ, (V.move g).RadicalCovered A.isotropicCols δ J := by | |
| 853 | + obtain ⟨κ, hκ, h_cusp⟩ := exists_cuspFrame_of_height (s := s) J | |
| 854 | + refine ⟨κ, hκ, fun V g ↦ ?_⟩ | |
| 855 | + obtain ⟨δ, hδ, h_scale, h_frame⟩ := h_cusp V g | |
| 856 | + rcases le_total 1 δ with h_large | h_small | |
| 857 | + · exact .inl (h_scale ▸ le_mul_of_one_le_left (V.height_pos g).le (one_le_pow₀ h_large)) | |
| 858 | + · exact .inr ⟨δ, ⟨hδ, h_small⟩, h_scale, h_frame h_small⟩ | |
| 859 | + | |
| 860 | +/-- Forms of a fixed level decay uniformly against every power of the height. Let `e` be a cusp | |
| 861 | +kernel of order `B` (a minimal idempotent on `G_∞` with ‖x‖^(B+1) e(x) integrable, ‖x‖^B e(x) | |
| 862 | +bounded, and α ∗ e = e for some continuous compactly supported α), `K` an open subgroup of `G_f`, | |
| 863 | +and `A : ℕ`. Then there is `R` such that every form `F` of type `e` (bounded automorphic, fixed by | |
| 864 | +right convolution with `e`) that is right `K`-invariant and bounded by `c` has | |
| 865 | +`‖F g‖ * V.height g ^ A ≤ c * R` for all `g`, where `V.height g` is the reciprocal of the first | |
| 866 | +minimum, cut off at 1, of `V.move g`. -/ | |
| 867 | +theorem exists_norm_mul_height_pow_le (he : IsCuspKernel B e) (K : OpenSubgroup (Gf E n)) (A : ℕ) : | |
| 868 | + ∃ R : ℝ, ∀ {F : G E s → ℂ} {c : ℝ} (_h_form : V.IsForm e F) (_h_level : HasLevel F K) | |
| 869 | + (_h_bound : ∀ g : G E s, ‖F g‖ ≤ c) (g : G E s), ‖F g‖ * V.height g ^ A ≤ c * R := by | |
| 870 | + -- High in the cusp use rapid decay with `δ ^ n = κ / V.height g`; elsewhere height is ≤ `κ`. | |
| 871 | + cases isEmpty_or_nonempty n | |
| 872 | + · exact ⟨1, by simp +contextual [height, firstMinimum, funext_iff]⟩ | |
| 873 | + let J : OpenSubgroup (Gf E n) := K ⊓ ⟨stdLevel E n, isOpen_stdLevel⟩ | |
| 874 | + have : IsLevel J.toSubgroup := ⟨inf_le_right, J.isOpen⟩ | |
| 875 | + obtain ⟨δ₀, hδ₀, h_decay⟩ := exists_norm_le_of_radicalCovered he (Fintype.card n * A) | |
| 876 | + obtain ⟨κ, hκ, h_cusp⟩ := exists_cuspFrame_of_height (s := s) J | |
| 877 | + refine ⟨(κ / (δ₀ ⊓ 1) ^ Fintype.card n) ^ A, fun {F c} hF h_level hc g ↦ ?_⟩ | |
| 878 | + obtain ⟨δ, hδ_pos, rfl, h_frame⟩ := h_cusp V g | |
| 879 | + have hc₀ : 0 ≤ c := (norm_nonneg _).trans (hc 1) | |
| 880 | + suffices ‖F g‖ ≤ (δ / (δ₀ ⊓ 1)) ^ (Fintype.card n * A) * c from | |
| 881 | + (mul_le_mul_of_nonneg_right this (pow_nonneg (V.height_pos g).le A)).trans_eq (by ring) | |
| 882 | + rcases le_total δ 1 with hδ_le | hδ_ge | |
| 883 | + · obtain ⟨cusp, h_cover⟩ := h_frame hδ_le | |
| 884 | + grw [h_decay J V g δ cusp.isotropicCols cusp.ne_zero cusp.isotropic h_cover F c | |
| 885 | + hF.continuous hc (hF.realConv_eq he.integrable) (fun k hk ↦ h_level k hk.1) | |
| 886 | + (fun ν _ ↦ hF.rat_mul _ ⟨ν, rfl⟩), (inf_le_left : δ₀ ⊓ 1 ≤ δ₀)] | |
| 887 | + · exact (hc g).trans (le_mul_of_one_le_left hc₀ (one_le_pow₀ | |
| 888 | + ((one_le_div (by positivity)).2 (inf_le_right.trans hδ_ge)))) | |
| 889 | + | |
| 890 | +/-- Let `V` be a hermitian space over the CM field `E`, and let `e` be a cusp kernel of order `B` on | |
| 891 | +`G_∞`. Such a kernel is a minimal idempotent `e` such that (a) `‖x‖^(B+1) e(x)` is integrable, (b) | |
| 892 | +`α ∗ e = e` for some continuous compactly supported `α`, and (c) `‖x‖^B e(x)` is bounded, where | |
| 893 | +`‖x‖ = ∏_w ‖x_w‖`. Then every form `F` of type `e` for `V` (a bounded automorphic function on `G` | |
| 894 | +fixed by right convolution with `e`) lies in `V.rapidFunctions`, i.e. decays rapidly: `|F|` times | |
| 895 | +any power of the height is bounded. -/ | |
| 896 | +theorem IsForm.mem_rapidFunctions (he : IsCuspKernel B e) (hF : V.IsForm e F) : | |
| 897 | + F ∈ V.rapidFunctions := by | |
| 898 | + obtain ⟨K, h_level⟩ := hF.exists_level | |
| 899 | + obtain ⟨c, hc⟩ := hF.bounded | |
| 900 | + refine ⟨hF.toIsAutomorphic, fun A ↦ ?_⟩ | |
| 901 | + obtain ⟨R, h_decay⟩ := V.exists_norm_mul_height_pow_le he K A | |
| 902 | + exact ⟨c * R, h_decay hF h_level hc⟩ | |
| 903 | + | |
| 904 | +/-- Let `e` be a cusp kernel of order `B` on the archimedean unitary group `G_∞`: a minimal | |
| 905 | +idempotent with ‖x‖^(B+1) e(x) integrable, ‖x‖^B e(x) bounded, and α ∗ e = e for some continuous | |
| 906 | +compactly supported α. Let `K` be an open subgroup of the finite adelic unitary group `G_f`. Then | |
| 907 | +the forms of type `e` for `V` (bounded automorphic functions fixed by right convolution with `e`) | |
| 908 | +that are right invariant under `K` make up a finite-dimensional complex vector space. -/ | |
| 909 | +theorem finite_levelSpace (he : IsCuspKernel B e) (K : OpenSubgroup (Gf E n)) : | |
| 910 | + Module.Finite ℂ (levelSpace (V.formRep e) K.toSubgroup) := by | |
| 911 | + -- A form of level `K` exceeds half its bound only at height at most `2 * R`, so inside `Γ * C` | |
| 912 | + -- with `C` compact (`mahler_criterion`). Cover `C` by neighbourhoods of finitely many | |
| 913 | + -- points `a⁻¹`, `a ∈ t`, so evaluation at `a⁻¹` (`a ∈ t`) is an injective linear map. | |
| 914 | + obtain ⟨R, h_decay⟩ := V.exists_norm_mul_height_pow_le he K 1 | |
| 915 | + obtain ⟨C, C_compact, hC⟩ := V.mahler_criterion (2 * R) | |
| 916 | + obtain ⟨t, ht⟩ := compact_covered_by_mul_left_translates C_compact | |
| 917 | + ⟨1, mem_interior_iff_mem_nhds.2 (eventually_norm_realConv_sub_le K he.integrable one_half_pos)⟩ | |
| 918 | + let ev : levelSpace (V.formRep e) K.toSubgroup →ₗ[ℂ] t → ℂ := | |
| 919 | + .pi fun a : t ↦ .proj (a : G E s)⁻¹ ∘ₗ (Submodule.subtype _).domRestrict _ | |
| 920 | + refine .of_injective ev ((injective_iff_map_eq_zero ev).2 ?_) | |
| 921 | + rintro ⟨⟨F, hF⟩, h_level⟩ h_ev | |
| 922 | + replace h_level : HasLevel F K := mem_levelSpace_formRep_iff.1 h_level | |
| 923 | + refine Subtype.ext (Subtype.ext (funext fun g ↦ norm_le_zero_iff.1 | |
| 924 | + (le_of_halving hF.bounded.choose_spec le_rfl (fun M hM₀ hM g ↦ .inl ?_) g))) | |
| 925 | + by_contra! h_big | |
| 926 | + obtain ⟨γ, hγ, hγg⟩ := hC g (by nlinarith [V.height_pos g, h_decay hF h_level hM g]) | |
| 927 | + obtain ⟨a, ha, h_near⟩ := mem_iUnion₂.1 (ht hγg) | |
| 928 | + have h_close := h_near M hF.isBoundedMeasurable h_level a⁻¹ fun _ _ ↦ hM _ | |
| 929 | + rw [hF.realConv_eq he.integrable, inv_mul_cancel_left, hF.rat_mul γ hγ, | |
| 930 | + show F a⁻¹ = 0 from congrFun h_ev ⟨a, ha⟩, sub_zero, Real.norm_of_nonneg hM₀] at h_close | |
| 931 | + linarith | |
| 932 | + | |
| 933 | +/-- Let `e` be a cusp kernel of order `B` on `G_∞`: a minimal idempotent with ‖x‖^(B+1) e(x) | |
| 934 | +integrable, ‖x‖^B e(x) bounded, and α ∗ e = e for some continuous compactly supported α. Let `F` be | |
| 935 | +automorphic for `V` (continuous, left `Γ`-invariant, right invariant under an open subgroup of | |
| 936 | +`G_f`), with `x ↦ e(x) F(g (x, 1))` integrable for every `g`. Then the convolution `realConv e F`, | |
| 937 | +`g ↦ ∫ e(x) F(g x) dx`, is a form of type `e`: automorphic, bounded, and fixed by right convolution | |
| 938 | +with `e`. -/ | |
| 939 | +theorem isForm_realConv (he : IsCuspKernel B e) (hF : V.IsAutomorphic F) | |
| 940 | + (h_int : ∀ g : GInf E s × Gf E n, Integrable fun x : GInf E s ↦ e x * F (g * (x, 1))) : | |
| 941 | + V.IsForm e (realConv e F) := by | |
| 942 | + -- Truncate `F` to the set where `‖F‖ ≤ t`. The averages of the truncations are forms of level `K` | |
| 943 | + -- and tend pointwise to `realConv e F`. The forms of level `K` make up a finite-dimensional, | |
| 944 | + -- hence closed, space `W` of functions, so `realConv e F` lies in it. | |
| 945 | + obtain ⟨h_cont, h_rat, K, h_level⟩ := hF | |
| 946 | + let trunc (t : ℝ) : G E s → ℂ := indicator {g : G E s | ‖F g‖ ≤ t} F | |
| 947 | + let W : Submodule ℂ (G E s → ℂ) := | |
| 948 | + (Submodule.subtype _ ∘ₗ (levelSpace (V.formRep e) K).subtype).range | |
| 949 | + have : Module.Finite ℂ (levelSpace (V.formRep e) K.toSubgroup) := V.finite_levelSpace he K | |
| 950 | + have trunc_mem (t : ℝ) : realConv e (trunc t) ∈ W := by | |
| 951 | + have h_bound (g : G E s) : ‖trunc t g‖ ≤ |t| := by grind [indicator, norm_zero] | |
| 952 | + refine exists_form_eq_realConv K | |
| 953 | + ⟨h_cont.stronglyMeasurable.indicator (h_cont.norm.measurable measurableSet_Iic), |t|, h_bound⟩ | |
| 954 | + (fun γ hγ g ↦ ?_) (fun k hk g ↦ ?_) he.toIsIdempotentKernel | |
| 955 | + · simp only [trunc, indicator, mem_ofPred_eq, h_rat γ hγ g] | |
| 956 | + · simp only [trunc, indicator, mem_ofPred_eq, h_level k hk g] | |
| 957 | + have tendsto_avg : | |
| 958 | + Filter.Tendsto (fun t : ℝ ↦ realConv e (trunc t)) .atTop (nhds (realConv e F)) := by | |
| 959 | + refine tendsto_pi_nhds.2 fun g ↦ ?_ | |
| 960 | + -- The sets where `‖F (g * (x, 1))‖ ≤ t` exhaust the group, and the integrand is integrable. | |
| 961 | + have h_cover : AECover volume .atTop fun t : ℝ ↦ {x : GInf E s | ‖F (g * (x, 1))‖ ≤ t} := | |
| 962 | + ⟨.of_forall fun x ↦ Filter.eventually_ge_atTop _, by measurability⟩ | |
| 963 | + refine (h_cover.integral_tendsto_of_countably_generated (h_int g)).congr fun t ↦ ?_ | |
| 964 | + simp [trunc, realConv, indicator, ← integral_indicator (h_cover.measurableSet t)] | |
| 965 | + obtain ⟨⟨⟨Φ, hΦ_form⟩, hΦ_level⟩, rfl : Φ = realConv e F⟩ : realConv e F ∈ W := | |
| 966 | + W.isClosed_of_finiteDimensional.mem_of_tendsto tendsto_avg (.of_forall trunc_mem) | |
| 967 | + exact hΦ_form | |
| 968 | + | |
| 969 | +end New.Space | |
| 970 | + | |
| 971 | +end FiniteDimension | |
+446 −0 src/Lib/Adelic/AutomorphicForms/HeckeEigenforms.lean added View file
| @@ -0,0 +1,446 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Rat | |
| 4 | +public import Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms | |
| 5 | +import Lib.Adelic.Reduction.DefiniteClassSums | |
| 6 | +import Lib.Cohomology.Etale.Basic | |
| 7 | +import Lib.GLn.SchurModule.SchurNorm | |
| 8 | +import Lib.GLn.SchurModule.WeylKernel | |
| 9 | + | |
| 10 | +/-! | |
| 11 | +# Algebraic modular forms: delta forms, unitary translation and spanning by Hecke eigenforms | |
| 12 | + | |
| 13 | +This file concerns algebraic modular forms. These are functions on a group that transform on the | |
| 14 | +left by a representation of a group `Γ` embedded in it, and on the right by a character of a level. | |
| 15 | +`New.levelSpace π K χ` is the space of vectors on which `K` acts through `χ`. | |
| 16 | + | |
| 17 | +## Main definitions and results | |
| 18 | + | |
| 19 | +* `New.deltaForm`: the form supported on one double coset, made from a vector. Its values are sums | |
| 20 | + over the finite sets `New.transporter` (`New.deltaForm_apply`); `New.classSum_deltaForm` gives the | |
| 21 | + class sum of its values under an invariant family of additive maps `W →+ ℂ`. | |
| 22 | +* `New.freeLevelEquiv`, `New.finrank_levelSpace_smoothFormRep`: at a sufficiently small level, also | |
| 23 | + called free (all `New.classAut` trivial), forms are arbitrary families of values, so the dimension | |
| 24 | + is the class number times `finrank ℂ W`. | |
| 25 | +* `New.Space.exists_isUnitary_formTranslation`: right translation `New.Space.formTranslation` on the | |
| 26 | + forms `New.Space.forms` of weight `κ` has an invariant positive definite scalar product. | |
| 27 | +* `New.Space.finite_formTranslation_levelSpace`: the eigenforms of an open level for | |
| 28 | + `New.Space.formTranslation` form a finite-dimensional space. | |
| 29 | +* `New.hasHeckePolyAt_iff`: a form has a Hecke polynomial at a split place exactly when it is | |
| 30 | + spherical there and an eigenvector of the Hecke operators there, the polynomial being formed from | |
| 31 | + the eigenvalues. | |
| 32 | +* `New.le_span_isSphericalOff`: a finite-dimensional Hecke-stable space of forms fixed by the | |
| 33 | + integral points trivial at `S` is spanned by simultaneous eigenforms. | |
| 34 | + | |
| 35 | +Notions from other files: | |
| 36 | +* `New.Space E n ε`: a hermitian space with a point, given by a matrix J over a field E with a CM | |
| 37 | + structure (`CMType E`) and x in GL_n(𝔸) with xᴴJx equal to diag(ε) at the infinite places and 1 at | |
| 38 | + the finite places; the signs `ε = 1` give the definite spaces. | |
| 39 | +* `New.Space.forms`: Algebraic modular forms of weight κ on a definite space V: functions f on G_f | |
| 40 | + with open right stabiliser and f(γg) = ρ_κ(γ)f(g) for rational γ, ρ_κ = `New.Space.weightRep` for | |
| 41 | + a weight κ : `New.Weight E`; values lie in `WeylIndex n κ.1 → ℂ`. | |
| 42 | +* `New.HasFiniteType Γ K`: `K` is compact and open, `Γ \ G / K` is finite and every group | |
| 43 | + `New.classAut Γ K g`, which is `Γ ∩ g K g⁻¹`, is finite. | |
| 44 | +* `New.classSum Γ K f`: the sum over the classes `c`, with representative `g_c`, of | |
| 45 | + `f g_c / #(Γ ∩ g_c K g_c⁻¹)`. | |
| 46 | + | |
| 47 | +## Relation to the literature | |
| 48 | + | |
| 49 | +Known result: Finite dimension of spaces of algebraic modular forms and the Hecke eigenforms | |
| 50 | +spanning them. Related files: `Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms` and, for congruence | |
| 51 | +subgroups and level structures, `Lib.Adelic.Unitary.CongruenceLevels`. | |
| 52 | +-/ | |
| 53 | + | |
| 54 | +@[expose] public section | |
| 55 | + | |
| 56 | +/-! | |
| 57 | +## Algebraic forms of a level: delta forms, values on classes, dimension | |
| 58 | + | |
| 59 | +Algebraic forms on a group `G` are defined for a homomorphism `e : Γ →* G` (assumed injective from | |
| 60 | +the delta forms on), a representation `ρ` of `Γ` on a complex vector space `W`, a level `K ≤ G` and | |
| 61 | +a character `χ` of `K`. They are the vectors of `New.levelSpace` for the representation | |
| 62 | +`New.smoothFormRep` of `G` by right translation. Each form is a smooth function `φ : G → W`. For an | |
| 63 | +element `φ` of the subtype `levelSpace (smoothFormRep e ρ) K χ`, `φ.val.val` is the function. | |
| 64 | +-/ | |
| 65 | + | |
| 66 | +namespace New | |
| 67 | + | |
| 68 | +open DoubleCoset Finset Function LinearMap HasFiniteType Module | |
| 69 | + | |
| 70 | +variable {G Γ W : Type*} [Group G] [Group Γ] {K : Subgroup G} [AddCommGroup W] [Module ℂ W] | |
| 71 | + {e : Γ →* G} {ρ : Representation ℂ Γ W} {χ : K →* ℂ} [TopologicalSpace G] | |
| 72 | + | |
| 73 | +/-- Let `φ : G → W` be a smooth form (left equivariant for `e` and `ρ`, with open right stabiliser) | |
| 74 | +on which `K` acts by right translation through `χ`. Then `φ (e γ * g * k) = χ k • ρ γ (φ g)`. -/ | |
| 75 | +lemma levelSpace_smoothFormRep_apply [IsTopologicalGroup G] {φ : SmoothForm e ρ} | |
| 76 | + (hφ : φ ∈ levelSpace (smoothFormRep e ρ) K χ) (γ : Γ) (g : G) (k : K) : | |
| 77 | + φ.val (e γ * g * k) = χ k • ρ γ (φ.val g) := by | |
| 78 | + rw [← φ.property.right γ g] | |
| 79 | + exact congrFun (congrArg Subtype.val (hφ k)) (e γ * g) | |
| 80 | + | |
| 81 | +/-- Let `e : Γ →* G` be a homomorphism, `ρ` a representation of `Γ` on `W` and `χ` a character of | |
| 82 | +the subgroup `K`, and let `r` be a system of representatives of the double cosets `e(Γ) \ G / K`. | |
| 83 | +Two forms of level `(K, χ)`, that is, smooth `φ : G → W` with `φ (e γ * g * k) = χ k • ρ γ (φ g)`, | |
| 84 | +are equal if they agree at every representative `r c`. -/ | |
| 85 | +lemma levelSpace_ext_doubleCosets [IsTopologicalGroup G] {r : DoubleCosets e.range K → G} | |
| 86 | + (hr : ∀ c : DoubleCosets e.range K, DoubleCoset.mk e.range K (r c) = c) | |
| 87 | + {φ ψ : levelSpace (smoothFormRep e ρ) K χ} | |
| 88 | + (h_rep : ∀ c : DoubleCosets e.range K, φ.val.val (r c) = ψ.val.val (r c)) : φ = ψ := by | |
| 89 | + -- Every `y` is some `e γ * r c * k`, and `levelSpace_smoothFormRep_apply` gives the value there | |
| 90 | + -- from that at `r c`. | |
| 91 | + ext y | |
| 92 | + obtain ⟨c, γ, k, rfl⟩ := exists_eq_map_mul_rep_mul e K hr y | |
| 93 | + simp [levelSpace_smoothFormRep_apply φ.property, levelSpace_smoothFormRep_apply ψ.property, h_rep] | |
| 94 | + | |
| 95 | +variable (e ρ χ) in | |
| 96 | +/-- For points `r c` of `G` indexed by the double cosets `c` in `e(Γ) \ G / K`, the linear map | |
| 97 | +sending a form `φ` of level `(K, χ)` to the family of its values `c ↦ φ (r c)`. -/ | |
| 98 | +def evalClassReps [IsTopologicalGroup G] (r : DoubleCosets e.range K → G) : | |
| 99 | + levelSpace (smoothFormRep e ρ) K χ →ₗ[ℂ] DoubleCosets e.range K → W := | |
| 100 | + ((funLeft ℂ W r).domRestrict (SmoothForm e ρ)).domRestrict (levelSpace (smoothFormRep e ρ) K χ) | |
| 101 | + | |
| 102 | + | |
| 103 | +/-- Evaluation of forms of level `(K, χ)` at representatives `r c` of the double cosets `c` in | |
| 104 | +`e(Γ) \ G / K` is injective. -/ | |
| 105 | +lemma evalClassReps_injective [IsTopologicalGroup G] {r : DoubleCosets e.range K → G} | |
| 106 | + (hr : ∀ c : DoubleCosets e.range K, DoubleCoset.mk e.range K (r c) = c) : | |
| 107 | + Function.Injective (evalClassReps e ρ χ r) := | |
| 108 | + fun _ _ h_eval ↦ levelSpace_ext_doubleCosets hr (congrFun h_eval) | |
| 109 | + | |
| 110 | +/-- The trivial character is trivial near `1`. -/ | |
| 111 | +instance : Fact ((1 : K →* ℂ) =ᶠ[nhds 1] 1) := ⟨.rfl⟩ | |
| 112 | + | |
| 113 | +variable (e ρ χ) | |
| 114 | + [o : Fact (χ =ᶠ[nhds 1] 1)] -- `χ` is trivial near `1` | |
| 115 | + [H : HasFiniteType e.range K] -- `K` is compact open, with finitely many classes and finite | |
| 116 | + -- stabilisers | |
| 117 | + [i : Fact (Injective e)] -- `e` is injective | |
| 118 | + | |
| 119 | +omit H i in | |
| 120 | +/-- Let `K` be an open subgroup of `G` and `χ` a character of `K` that is trivial near `1` (given as | |
| 121 | +a `Fact`). A function `f : G → W` on which each `k ∈ K` acts by right translation (`rightRegular`) | |
| 122 | +as multiplication by `χ k` is smooth, that is, has an open right stabiliser. -/ | |
| 123 | +lemma mem_smoothFunctions_of_eigen [IsTopologicalGroup G] (hK : IsOpen (K : Set G)) {f : G → W} | |
| 124 | + (hf : ∀ k : K, rightRegular ℂ G W k f = χ k • f) : | |
| 125 | + f ∈ (smoothFunctions ℂ).toSubmodule := by | |
| 126 | + -- The elements of `K` near `1` have `χ k = 1`, so they fix `f`; and `K` is open in `G`. | |
| 127 | + have h_fix : ∀ᶠ k : K in nhds 1, (k : G) ∈ rightStabilizer f := by | |
| 128 | + filter_upwards [o.out] with k (hk : χ k = 1) g | |
| 129 | + simpa [hk] using congrFun (hf k) g | |
| 130 | + exact (rightStabilizer f).isOpen_of_mem_nhds (hK.isOpenMap_subtypeVal.nhds_le 1 h_fix) | |
| 131 | + | |
| 132 | +/-! ### Forms supported on one class -/ | |
| 133 | + | |
| 134 | +variable (K) in | |
| 135 | +/-- For injective `e` and `K` of finite type for `e(Γ)`, the finite set of the `γ : Γ` with | |
| 136 | +`x⁻¹ * e γ * y ∈ K`. -/ | |
| 137 | +noncomputable def transporter (x y : G) : Finset Γ := | |
| 138 | + (exists_transporter e.range i.out .rfl K x y).choose | |
| 139 | + | |
| 140 | +open scoped Classical in | |
| 141 | +variable {e} in | |
| 142 | +/-- The two properties of `transporter K e x y` given by `exists_transporter`: its elements and | |
| 143 | +their number. -/ | |
| 144 | +lemma mem_transporter_iff_and_card (x y : G) : | |
| 145 | + (∀ γ : Γ, γ ∈ transporter K e x y ↔ e γ ∈ e.range ∧ x⁻¹ * e γ * y ∈ K) ∧ | |
| 146 | + #(transporter K e x y) = if DoubleCoset.mk e.range K x = DoubleCoset.mk e.range K y then | |
| 147 | + Nat.card (classAut e.range K x) else 0 := | |
| 148 | + (exists_transporter e.range i.out e.coe_range.subset K x y).choose_spec | |
| 149 | + | |
| 150 | +variable {e} in | |
| 151 | +/-- Characterises membership in `transporter K e x y` as `x⁻¹ * e γ * y ∈ K` | |
| 152 | +when `e` is injective. -/ | |
| 153 | +lemma mem_transporter {x y : G} {γ : Γ} : γ ∈ transporter K e x y ↔ x⁻¹ * e γ * y ∈ K := by | |
| 154 | + rw [(mem_transporter_iff_and_card x y).left γ, and_iff_right ⟨γ, rfl⟩] | |
| 155 | + | |
| 156 | +open scoped Classical in | |
| 157 | +/-- Let `e` be injective and `(e(Γ), K)` of finite type. Then the set `transporter K e x y` of the | |
| 158 | +`γ : Γ` with `x⁻¹ * e γ * y ∈ K` has as many elements as the stabiliser | |
| 159 | +`classAut e.range K x = e(Γ) ∩ x K x⁻¹` if `x` and `y` lie in the same double coset. It is empty | |
| 160 | +otherwise. -/ | |
| 161 | +lemma card_transporter (x y : G) : | |
| 162 | + #(transporter K e x y) = if DoubleCoset.mk e.range K x = DoubleCoset.mk e.range K y then | |
| 163 | + Nat.card (classAut e.range K x) else 0 := | |
| 164 | + (mem_transporter_iff_and_card x y).right | |
| 165 | + | |
| 166 | +open scoped Classical in | |
| 167 | +/-- The function `y ↦ ∑ χ (x⁻¹ * e γ * y) • ρ γ⁻¹ v`, summed over the `γ` with | |
| 168 | +`x⁻¹ * e γ * y ∈ K`, as a linear map in `v`. -/ | |
| 169 | +noncomputable def deltaFun (x : G) : W →ₗ[ℂ] G → W := | |
| 170 | + .pi fun y : G ↦ ∑ γ ∈ transporter K e x y, | |
| 171 | + if h : x⁻¹ * e γ * y ∈ K then χ ⟨x⁻¹ * e γ * y, h⟩ • ρ γ⁻¹ else 0 | |
| 172 | + | |
| 173 | +open scoped Classical in | |
| 174 | +omit o in | |
| 175 | +/-- The value of `deltaFun e ρ χ x v` at `y`, as a sum over the `γ` with `x⁻¹ * e γ * y ∈ K`. -/ | |
| 176 | +lemma deltaFun_apply (x : G) (v : W) (y : G) : | |
| 177 | + deltaFun e ρ χ x v y = ∑ γ ∈ transporter K e x y, | |
| 178 | + if h : x⁻¹ * e γ * y ∈ K then χ ⟨x⁻¹ * e γ * y, h⟩ • ρ γ⁻¹ v else 0 := by | |
| 179 | + simp [deltaFun, DFunLike.dite_apply] | |
| 180 | + | |
| 181 | +omit o in | |
| 182 | +/-- Right translation by `k ∈ K` multiplies `deltaFun e ρ χ x v` by `χ k`. -/ | |
| 183 | +lemma rightRegular_deltaFun (x : G) (v : W) (k : K) : | |
| 184 | + rightRegular ℂ G W k (deltaFun e ρ χ x v) = χ k • deltaFun e ρ χ x v := by | |
| 185 | + ext y | |
| 186 | + have h_mem (γ : Γ) : x⁻¹ * e γ * (y * k) ∈ K ↔ x⁻¹ * e γ * y ∈ K := by | |
| 187 | + rw [← mul_assoc, K.mul_mem_cancel_right k.property] | |
| 188 | + have h_set : transporter K e x (y * k) = transporter K e x y := by | |
| 189 | + simp [Finset.ext_iff, mem_transporter, h_mem] | |
| 190 | + rw [rightRegular_apply_apply, Pi.smul_apply, deltaFun_apply, deltaFun_apply, h_set, smul_sum] | |
| 191 | + refine sum_congr rfl fun γ hγ ↦ ?_ | |
| 192 | + have h_char : χ ⟨x⁻¹ * e γ * (y * k), (h_mem γ).2 (mem_transporter.1 hγ)⟩ = | |
| 193 | + χ k * χ ⟨x⁻¹ * e γ * y, mem_transporter.1 hγ⟩ := by | |
| 194 | + rw [mul_comm, ← map_mul] | |
| 195 | + exact congrArg χ (Subtype.ext (mul_assoc _ y k.val).symm) | |
| 196 | + simp [mem_transporter.1 hγ, (h_mem γ).2 (mem_transporter.1 hγ), h_char, mul_smul] | |
| 197 | + | |
| 198 | +omit o in | |
| 199 | +/-- The function `deltaFun e ρ χ x v` is left equivariant under `Γ`. -/ | |
| 200 | +lemma deltaFun_map_mul (x : G) (v : W) (γ : Γ) (y : G) : | |
| 201 | + deltaFun e ρ χ x v (e γ * y) = ρ γ (deltaFun e ρ χ x v y) := by | |
| 202 | + -- Right multiplication by `γ` matches the terms at `e γ * y` with those at `y`. | |
| 203 | + rw [deltaFun_apply, deltaFun_apply, _root_.map_sum] | |
| 204 | + refine sum_equiv (.mulRight γ) (fun δ ↦ by simp [mem_transporter, mul_assoc]) fun δ hδ ↦ ?_ | |
| 205 | + simp_all [mem_transporter, mul_assoc] | |
| 206 | + | |
| 207 | +variable [IsTopologicalGroup G] | |
| 208 | + | |
| 209 | +/-- The linear map sending `v` to the form of level `(K, χ)` supported on the double coset | |
| 210 | +`e(Γ) x K` whose value at `y` is the sum of `χ (x⁻¹ * e γ * y) • ρ γ⁻¹ v` over the `γ` with | |
| 211 | +`x⁻¹ * e γ * y ∈ K`. With `γ⁻¹` in place of `γ`, this is the sum of `χ (x⁻¹ * e γ⁻¹ * y) • ρ γ v` | |
| 212 | +over the `γ` with `x⁻¹ * e γ⁻¹ * y ∈ K`. -/ | |
| 213 | +noncomputable def deltaForm (x : G) : W →ₗ[ℂ] levelSpace (smoothFormRep e ρ) K χ := | |
| 214 | + .codRestrict (levelSpace (smoothFormRep e ρ) K χ) | |
| 215 | + (.codRestrict (SmoothForm e ρ) (deltaFun e ρ χ x) fun v ↦ | |
| 216 | + ⟨mem_smoothFunctions_of_eigen χ H.isOpen (rightRegular_deltaFun e ρ χ x v), | |
| 217 | + deltaFun_map_mul e ρ χ x v⟩) | |
| 218 | + fun v k ↦ Subtype.ext (rightRegular_deltaFun e ρ χ x v k) | |
| 219 | + | |
| 220 | +open scoped Classical in | |
| 221 | +/-- The value at `y` of `deltaForm e ρ χ x v`, the form of level `(K, χ)` supported on `e(Γ) x K`, | |
| 222 | +is a sum over the `γ` in `transporter K e x y`, the finite set of `γ : Γ` with `x⁻¹ * e γ * y ∈ K`. | |
| 223 | +The summand is `χ (x⁻¹ * e γ * y) • ρ γ⁻¹ v`. -/ | |
| 224 | +lemma deltaForm_apply (x : G) (v : W) (y : G) : | |
| 225 | + (deltaForm e ρ χ x v).val.val y = ∑ γ ∈ transporter K e x y, | |
| 226 | + if h : x⁻¹ * e γ * y ∈ K then χ ⟨x⁻¹ * e γ * y, h⟩ • ρ γ⁻¹ v else 0 := | |
| 227 | + deltaFun_apply e ρ χ x v y | |
| 228 | + | |
| 229 | +/-- If every stabiliser `classAut e.range K g = e(Γ) ∩ g K g⁻¹` is trivial (a free level) and `r` is | |
| 230 | +a system of representatives of `e(Γ) \ G / K`, the sum over the classes `c` of the forms | |
| 231 | +`deltaForm e ρ χ (r c) (f c)` supported on `c` takes the value `f d` at `r d`. -/ | |
| 232 | +lemma sum_deltaForm_apply_rep (h_free : ∀ g : G, classAut e.range K g = ⊥) | |
| 233 | + {r : DoubleCosets e.range K → G} | |
| 234 | + (hr : ∀ c : DoubleCosets e.range K, DoubleCoset.mk e.range K (r c) = c) | |
| 235 | + (f : DoubleCosets e.range K → W) (d : DoubleCosets e.range K) : | |
| 236 | + (∑ c : DoubleCosets e.range K, deltaForm e ρ χ (r c) (f c)).val.val (r d) = f d := by | |
| 237 | + -- The value is a sum over the classes `c` and the `γ` with `(r c)⁻¹ * e γ * r d ∈ K`. Only the | |
| 238 | + -- term `c = d`, `γ = 1` is there. | |
| 239 | + have h_off (c : DoubleCosets e.range K) (hc : c ≠ d) : transporter K e (r c) (r d) = ∅ := by | |
| 240 | + rw [← card_eq_zero, card_transporter, ite_eq_right (by rwa [hr, hr])] | |
| 241 | + have h_diag : transporter K e (r d) (r d) = {1} := (eq_of_subset_of_card_le | |
| 242 | + (by simp [mem_transporter]) (by rw [card_transporter, ite_eq_left rfl]; simp [h_free])).symm | |
| 243 | + simp only [Submodule.coe_sum, Finset.sum_apply, deltaForm_apply] | |
| 244 | + rw [Fintype.sum_eq_single d fun c hc ↦ by rw [h_off c hc, sum_empty], h_diag] | |
| 245 | + simp [← K.one_def] | |
| 246 | + | |
| 247 | +/-- If every stabiliser `classAut e.range K g` is trivial, evaluation at representatives `r c` of | |
| 248 | +the double cosets `c` in `e(Γ) \ G / K` is a linear isomorphism from the forms of level `(K, χ)` to | |
| 249 | +the `W`-valued functions on the double cosets. The inverse sends `f` to the sum of the forms | |
| 250 | +`deltaForm e ρ χ (r c) (f c)`. -/ | |
| 251 | +noncomputable def freeLevelEquiv (h_free : ∀ g : G, classAut e.range K g = ⊥) | |
| 252 | + {r : DoubleCosets e.range K → G} | |
| 253 | + (hr : ∀ c : DoubleCosets e.range K, DoubleCoset.mk e.range K (r c) = c) : | |
| 254 | + levelSpace (smoothFormRep e ρ) K χ ≃ₗ[ℂ] DoubleCosets e.range K → W where | |
| 255 | + toLinearMap := evalClassReps e ρ χ r | |
| 256 | + invFun f := ∑ c : DoubleCosets e.range K, deltaForm e ρ χ (r c) (f c) | |
| 257 | + left_inv φ := | |
| 258 | + levelSpace_ext_doubleCosets hr (sum_deltaForm_apply_rep e ρ χ h_free hr | |
| 259 | + (evalClassReps e ρ χ r φ)) | |
| 260 | + right_inv f := funext (sum_deltaForm_apply_rep e ρ χ h_free hr f) | |
| 261 | + | |
| 262 | +variable {e ρ χ} | |
| 263 | + | |
| 264 | +/-- Let `e` be injective, `χ` trivial near `1` and `K` of finite type for `e(Γ)` | |
| 265 | +(`New.HasFiniteType`). If additive maps `L g : W →+ ℂ` satisfy | |
| 266 | +`L (e γ * x * k) (χ k • ρ γ v) = L x v` for all `γ` and `k`, then the class sum (`New.classSum`, | |
| 267 | +over `e(Γ) \ G / K`, weighted by the inverse orders of the stabilisers) of `g ↦ L g (δ g)` is | |
| 268 | +`L x v`, where `δ = deltaForm e ρ χ x v` is the form supported on `e(Γ) x K` made from `v`. -/ | |
| 269 | +lemma classSum_deltaForm (L : G → W →+ ℂ) {x : G} {v : W} | |
| 270 | + (hL : ∀ (γ : Γ) (k : K), L (e γ * x * k) (χ k • ρ γ v) = L x v) : | |
| 271 | + classSum e.range K (fun g : G ↦ L g ((deltaForm e ρ χ x v).val.val g)) = L x v := by | |
| 272 | + -- The value of the form at `y` is a sum over `transporter K e x y`, and `L y` sends each term | |
| 273 | + -- to `L x v`. | |
| 274 | + have h_term (y : G) (γ : Γ) (h : x⁻¹ * e γ * y ∈ K) : | |
| 275 | + L y (χ ⟨x⁻¹ * e γ * y, h⟩ • ρ γ⁻¹ v) = L x v := by | |
| 276 | + simpa [mul_assoc] using hL γ⁻¹ ⟨x⁻¹ * e γ * y, h⟩ | |
| 277 | + have h_value (y : G) : | |
| 278 | + L y ((deltaForm e ρ χ x v).val.val y) = #(transporter K e x y) • L x v := by | |
| 279 | + rw [deltaForm_apply, map_sum] | |
| 280 | + exact sum_eq_card_nsmul fun γ hγ ↦ by rw [dite_eq_left (mem_transporter.1 hγ), h_term] | |
| 281 | + -- Only the class of `x` counts, and `classSum` divides by the order of its `classAut`. | |
| 282 | + have h_class (c : DoubleCosets e.range K) : mk e.range K c.out = c := DoubleCoset.out_eq' .. | |
| 283 | + rw [classSum, finsum_eq_single _ (mk e.range K x)] | |
| 284 | + · rw [h_value, card_transporter, ite_eq_left (h_class _).symm, ← card_classAut_out x, | |
| 285 | + ← Nat.cast_smul_eq_nsmul ℚ, inv_smul_smul₀ (Nat.cast_ne_zero.2 Nat.card_pos.ne')] | |
| 286 | + · exact fun c hc ↦ by | |
| 287 | + rw [h_value, card_transporter, ite_eq_right (by rwa [h_class, eq_comm]), zero_smul, smul_zero] | |
| 288 | + | |
| 289 | +/-! ### Dimension -/ | |
| 290 | + | |
| 291 | +/-- Forms embed in the `W`-valued functions on the finite set of classes, by their values at | |
| 292 | +representatives, so they span a finite-dimensional space. -/ | |
| 293 | +instance finite_levelSpace_smoothFormRep [Module.Finite ℂ W] : | |
| 294 | + Module.Finite ℂ (levelSpace (smoothFormRep e ρ) K χ) := | |
| 295 | + .of_injective (evalClassReps e ρ χ Quot.out) (evalClassReps_injective Quot.out_eq) | |
| 296 | + | |
| 297 | +/-- Let `e : Γ →* G` be injective, `K` a level of finite type for `e(Γ)` (`New.HasFiniteType`), `χ` | |
| 298 | +a character of `K` trivial near `1` and `ρ` a finite-dimensional representation of `Γ` on `W`. If | |
| 299 | +all stabilisers `classAut e.range K g = e(Γ) ∩ g K g⁻¹` are trivial, the space of smooth | |
| 300 | +`φ : G → W` with `φ (e γ * g * k) = χ k • ρ γ (φ g)` has dimension the number of double cosets | |
| 301 | +`e(Γ) \ G / K` times the dimension of `W`. -/ | |
| 302 | +lemma finrank_levelSpace_smoothFormRep [Module.Finite ℂ W] | |
| 303 | + (h_free : ∀ g : G, classAut e.range K g = ⊥) : | |
| 304 | + finrank ℂ (levelSpace (smoothFormRep e ρ) K χ) = | |
| 305 | + Nat.card (DoubleCosets e.range K) * finrank ℂ W := by | |
| 306 | + simp [(freeLevelEquiv e ρ χ h_free Quot.out_eq).finrank_eq, finrank_pi_fintype] | |
| 307 | + | |
| 308 | +end New | |
| 309 | + | |
| 310 | +/-! ## Unitarity of right translation and finiteness at open level -/ | |
| 311 | + | |
| 312 | +section FormRepresentation | |
| 313 | + | |
| 314 | +open Submodule Subgroup ComplexOrder | |
| 315 | + | |
| 316 | +namespace New.Space | |
| 317 | + | |
| 318 | +variable {E n : Type} [Field E] [Fintype n] [DecidableEq n] [CMType E] (V : Space E n 1) | |
| 319 | + (κ : Weight E) | |
| 320 | + | |
| 321 | +/-- For a definite hermitian space `V` and a weight `κ`, the forms of weight `κ` on `V` carry a | |
| 322 | +sesquilinear form `B` that is positive definite and invariant under right translation by the finite | |
| 323 | +adelic unitary group (`New.IsUnitary`). -/ | |
| 324 | +lemma exists_isUnitary_formTranslation : | |
| 325 | + ∃ B : V.forms κ →ₗ⋆[ℂ] V.forms κ →ₗ[ℂ] ℂ, IsUnitary (V.formTranslation κ) B := by | |
| 326 | + -- The inner product is the mean over `Γ \ G_f` of the Gram pairing of the values. | |
| 327 | + refine ⟨smoothPairing _ fun _ ↦ gramForm_conjWeylRep _, fun φ hφ ↦ ?_, | |
| 328 | + smoothPairing_formTranslation _⟩ | |
| 329 | + -- Positivity: `f g = ⟨φ g, φ g⟩` is nonnegative and positive at some `g`. | |
| 330 | + let f : Gf E n → ℂ := fun g ↦ gramForm (φ.val g) (φ.val g) | |
| 331 | + obtain ⟨hf_left, hf_open⟩ : f ∈ smoothInvariants V.Γf := | |
| 332 | + pairing_mem_smoothInvariants (fun _ ↦ gramForm_conjWeylRep _) φ φ | |
| 333 | + obtain ⟨g, hg⟩ : ∃ g : Gf E n, φ.val g ≠ 0 := Function.ne_iff.1 fun h ↦ hφ (Subtype.ext h) | |
| 334 | + have hf_nonneg : ∀ g : Gf E n, 0 ≤ f g := by simp [f, gramForm, weylGramOver_posDef.posSemidef] | |
| 335 | + have hf_pos : 0 < f g := by simp [f, gramForm, weylGramOver_posDef.dotProduct_mulVec_pos hg] | |
| 336 | + -- The mean is a positive multiple of the class sum at the level `rightStabilizer f ⊓ stdLevel` | |
| 337 | + -- fixing `f`. | |
| 338 | + have : HasFiniteType V.Γf (rightStabilizer f ⊓ stdLevel E n) := | |
| 339 | + .of_le inf_le_right (hf_open.and isOpen_stdLevel) | |
| 340 | + have h_sum : 0 < classSum V.Γf (rightStabilizer f ⊓ stdLevel E n) f := | |
| 341 | + classSum_pos hf_nonneg ((apply_doubleCoset_out hf_left inf_le_left g).trans_gt hf_pos) | |
| 342 | + change 0 < classIntegral V.Γf (stdLevel E n) f | |
| 343 | + exact smul_pos (by positivity [isCompact_stdLevel.relIndex_ne_zero hf_open]) h_sum | |
| 344 | + | |
| 345 | +/-- For an open subgroup K of the finite adelic points and a character χ of K, the forms of | |
| 346 | +weight κ on a positive definite V on which K acts through χ form a finite-dimensional | |
| 347 | +complex vector space. -/ | |
| 348 | +lemma finite_formTranslation_levelSpace {K : Subgroup (Gf E n)} (hK : K.IsOpen) (χ : K →* ℂ := 1) : | |
| 349 | + Module.Finite ℂ (levelSpace (V.formTranslation κ) K χ) := by | |
| 350 | + -- The level `K ⊓ stdLevel` is open in `stdLevel`, so it inherits `HasFiniteType` and has a | |
| 351 | + -- finite-dimensional eigenspace, which contains the eigenforms of level `K`. | |
| 352 | + have h_fin : HasFiniteType V.embFin.range (K ⊓ stdLevel E n) := | |
| 353 | + .of_le inf_le_right (hK.and isOpen_stdLevel) | |
| 354 | + let χ' : (K ⊓ stdLevel E n : Subgroup (Gf E n)) →* ℂ := χ.comp (Subgroup.inclusion inf_le_left) | |
| 355 | + have : Module.Finite ℂ (levelSpace (V.formTranslation κ) (K ⊓ stdLevel E n) χ') := | |
| 356 | + finite_levelSpace_smoothFormRep (H := h_fin) | |
| 357 | + have h_le : levelSpace (V.formTranslation κ) K χ ≤ | |
| 358 | + levelSpace (V.formTranslation κ) (K ⊓ stdLevel E n) χ' := | |
| 359 | + fun _ h k ↦ h ⟨k, k.property.left⟩ | |
| 360 | + exact finiteDimensional_of_le h_le | |
| 361 | + | |
| 362 | +end New.Space | |
| 363 | + | |
| 364 | +end FormRepresentation | |
| 365 | + | |
| 366 | +/-! | |
| 367 | +## Hecke polynomials and spanning by eigenforms for forms spherical off a finite set | |
| 368 | + | |
| 369 | +The forms here live on a definite unitary space and have maximal level off a finite set `S`. | |
| 370 | + | |
| 371 | +`New.Gf` is the finite adelic unitary group, `New.stdLevel` its integral points, | |
| 372 | +`New.maxCompactAt n w` those supported at `w, w̄`, `New.Gf.trivialOn n S` the elements trivial at | |
| 373 | +`S`. | |
| 374 | +-/ | |
| 375 | + | |
| 376 | +namespace New | |
| 377 | + | |
| 378 | +open Submodule Gf | |
| 379 | + | |
| 380 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 381 | + | |
| 382 | +variable {V : Space E n 1} {κ : Weight E} {S : Finset (FinPlace E)} {f : V.forms κ} {w : FinPlace E} | |
| 383 | + | |
| 384 | +/-- A form f has Hecke polynomial P at a split place w (`New.HasHeckePolyAt`) if and only if f is in | |
| 385 | +`sphericalAt` at w (is fixed by the integral points K_w supported at w, w̄) and there are scalars | |
| 386 | +t_j with T_{w,j} f = t_j f for the Hecke operators T_{w,j} = `heckeSplit (V.formTranslation κ) hw j` | |
| 387 | +at w acting on forms (they commute with the inclusion of forms in functions) and P = Σ_{j ≤ N} | |
| 388 | +(−1)^j q_w^{j(j−1)/2} t_j X^{N−j} with N = `Fintype.card n`, which is `heckePoly w.q N t`. -/ | |
| 389 | +lemma hasHeckePolyAt_iff (hw : star w ≠ w) {P : Polynomial ℂ} : | |
| 390 | + HasHeckePolyAt f.val w hw P ↔ | |
| 391 | + f ∈ sphericalAt (V.formTranslation κ) w ∧ | |
| 392 | + ∃ t : ℕ → ℂ, P = heckePoly w.q (Fintype.card n) t ∧ | |
| 393 | + ∀ j : ℕ, heckeSplit (V.formTranslation κ) hw j f = t j • f := by | |
| 394 | + -- The inclusion of forms in functions commutes with the Hecke operators. | |
| 395 | + have h_map (j : ℕ) : heckeSplit (rightRegular ℂ (Gf E n) (WeylIndex n κ.1 → ℂ)) hw j f.val = | |
| 396 | + (heckeSplit (V.formTranslation κ) hw j f).val := | |
| 397 | + (map_heckeSplit hw j (V.forms κ).subtype fun _ _ ↦ rfl).symm | |
| 398 | + simp [HasHeckePolyAt, h_map, Subtype.ext_iff] | |
| 399 | + | |
| 400 | +/-- For a split place `w` and an open subgroup `H`, the preimage of `H` under the endomorphism of | |
| 401 | +the finite adelic unitary group that replaces the components at `w` and `w̄` by `1`. -/ | |
| 402 | +noncomputable def offPartComap (hw : star w ≠ w) (H : OpenSubgroup (Gf E n)) : | |
| 403 | + OpenSubgroup (Gf E n) := | |
| 404 | + H.comap | |
| 405 | + (MonoidHom.mk' (fun g ↦ g * (ofSplitPlace hw (g.atPlace w))⁻¹) (by | |
| 406 | + simp [(commute_supportedOn_trivialOn (ofSplitPlace_mem_supportedOn _ _) _).inv_left.eq, | |
| 407 | + mul_assoc])) | |
| 408 | + (by simp; fun_prop) | |
| 409 | + | |
| 410 | +/-- Let `V` be a definite hermitian space, `κ` a weight, `S` a finite set of finite places and `M` a | |
| 411 | +finite-dimensional space of forms of weight `κ` on `V`. Suppose that the integral points trivial at | |
| 412 | +`S` (`stdLevel E n ⊓ trivialOn n S`) fix `M` pointwise, and that `M` is stable under the Hecke | |
| 413 | +operators `T_{w,j} = heckeSplit _ hw j` at all split `w` with `w, w̄ ∉ S`. Then `M` is spanned by | |
| 414 | +its elements f with `IsSphericalOff S f P` for some `P`: f is nonzero, fixed by | |
| 415 | +`stdLevel E n ⊓ trivialOn n S`, and has a Hecke polynomial `P w` at each such `w`. -/ | |
| 416 | +lemma le_span_isSphericalOff (M : Submodule ℂ (V.forms κ)) | |
| 417 | + (h_level : M ≤ levelSpace (V.formTranslation κ) (stdLevel E n ⊓ trivialOn n S) 1) | |
| 418 | + [Module.Finite ℂ M] | |
| 419 | + (h_hecke : ∀ (w : FinPlace E) (hw : w.IsSplit), w ∉ S → star w ∉ S → | |
| 420 | + ∀ j : ℕ, ∀ f ∈ M, heckeSplit (V.formTranslation κ) hw j f ∈ M) : | |
| 421 | + M ≤ span ℂ {f ∈ M | ∃ P : FinPlace E → Polynomial ℂ, IsSphericalOff S f.val P} := by | |
| 422 | + -- Right translation is unitary for an inner product `B`, so the spectral theorem applies at the | |
| 423 | + -- set `T` of split places `w` with `w, w̄ ∉ S`: `M` is spanned by joint eigenvectors. | |
| 424 | + obtain ⟨B, hB⟩ := V.exists_isUnitary_formTranslation κ | |
| 425 | + let T : Set (FinPlace E) := {w | w.IsSplit ∧ w ∉ S ∧ star w ∉ S} | |
| 426 | + have h_star : ∀ w ∈ T, star w ∈ T := | |
| 427 | + fun w ⟨hw, hS, hS_star⟩ ↦ ⟨hw.star, hS_star, by rwa [star_star]⟩ | |
| 428 | + have h_span : M ≤ span ℂ {f ∈ M | ∃ t : FinPlace E → ℕ → ℂ, | |
| 429 | + ∀ w (hw : w ∈ T) (j : ℕ), heckeSplit (V.formTranslation κ) hw.left j f = t w j • f} := | |
| 430 | + hB.le_span_joint_eigenvectors (fun w (hw : w ∈ T) ↦ hw.left) h_star | |
| 431 | + (fun w ⟨_, hS, hS_star⟩ ↦ h_level.trans (levelSpace_le_sphericalAt hS hS_star)) | |
| 432 | + fun w ⟨hw, hS, hS_star⟩ ↦ h_hecke w hw hS hS_star | |
| 433 | + refine h_span.trans (span_le.2 ?_) | |
| 434 | + -- A nonzero joint eigenvector has at `w` the Hecke polynomial formed from its eigenvalues. | |
| 435 | + rintro f ⟨hf, t, h_eigen⟩ | |
| 436 | + obtain rfl | hf_ne := eq_or_ne f 0 | |
| 437 | + · exact zero_mem _ | |
| 438 | + have h_fixed : ∀ k ∈ stdLevel E n ⊓ trivialOn n S, rightRegular ℂ (Gf E n) _ k f.val = f.val := | |
| 439 | + fun k hk ↦ by simpa using congrArg Subtype.val (h_level hf ⟨k, hk⟩) | |
| 440 | + have h_poly (w : FinPlace E) (hw : star w ≠ w) (hS : w ∉ S) (hS_star : star w ∉ S) : | |
| 441 | + HasHeckePolyAt f.val w hw (heckePoly w.q (Fintype.card n) (t w)) := | |
| 442 | + (hasHeckePolyAt_iff hw).2 ⟨levelSpace_le_sphericalAt hS hS_star (h_level hf), t w, rfl, | |
| 443 | + h_eigen w ⟨hw, hS, hS_star⟩⟩ | |
| 444 | + exact subset_span ⟨hf, _, by simpa using hf_ne, h_fixed, h_poly⟩ | |
| 445 | + | |
| 446 | +end New | |
+922 −0 src/Lib/Adelic/AutomorphicForms/PAdicGauge.lean added View file
| @@ -0,0 +1,922 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Rat | |
| 4 | +import Mathlib.Analysis.Matrix.Order | |
| 5 | +import Mathlib.Topology.MetricSpace.Ultra.Pi | |
| 6 | +public import Lib.Adelic.AutomorphicForms.HeckeEigenforms | |
| 7 | +public import Lib.Adelic.Adeles.StrongApproximation | |
| 8 | +public import Lib.Adelic.Reduction.DefiniteClassSums | |
| 9 | +public import Lib.GLn.SchurModule.GramMatrix | |
| 10 | +import Lib.Adelic.Unitary.WeakApproximation | |
| 11 | +import Lib.Adelic.Witt.WittTheorem | |
| 12 | +import Lib.GLn.SchurModule.SchurNorm | |
| 13 | +import Lib.GLn.SchurModule.WeylKernel | |
| 14 | +import Lib.General.LinearAlgebra.MatrixNormBounds | |
| 15 | +import Lib.PadicComparison.Descent.TestCategory | |
| 16 | + | |
| 17 | +/-! | |
| 18 | +# The p-adic gauge of algebraic forms, class sums, and integral forms of a level | |
| 19 | + | |
| 20 | +Fix a prime `p` and a map `ιₚ : ℂ →+* ℂ_[p]`, written ι in prose and given by the instance | |
| 21 | +`[ι : PadicPlace p]`. The gauge `New.weylGauge κ e g ξ` is the largest `p`-adic absolute value of a | |
| 22 | +coordinate of `g⁻¹ ι(ξ)`, for a finite adelic unitary point `g` acting in weight `(κ, e)`. It | |
| 23 | +measures the `p`-integrality of the values of algebraic forms (`New.AlgForm`). The file proves | |
| 24 | +invariance properties of the gauge, bounds the forms `New.deltaForm` on `New.stdSpace E n` that are | |
| 25 | +supported on one double coset, bounds class sums over `Γ \ G / K`, and studies the sizes of | |
| 26 | +algebraic forms whose level is cut out at finitely many split places. | |
| 27 | + | |
| 28 | +## Main definitions and results | |
| 29 | + | |
| 30 | +* `New.exists_mul_mem_integralAbove`: a rational point moves `g` to a point integral above `p`. | |
| 31 | +* `New.LevelPlaces.LevelForm`: forms of weight (κ, e) on which the level `New.levelOf` of H acts | |
| 32 | + through χ, a finite-dimensional inner product space under the class sum of the Gram pairing. | |
| 33 | +* `New.gramForm_mem_embValRing`: the Gram pairing of two vectors of gauge at most one, for | |
| 34 | + `ι ∘ conj` and for `ι`, is integral; `New.LevelPlaces.LevelForm.norm_nsmul_inner_le_one`: so is | |
| 35 | + the inner product of two such forms, after multiplication by a common multiple of the orders of | |
| 36 | + the stabilisers. | |
| 37 | +* `New.LevelPlaces.LevelForm.valueCoord`, `New.LevelPlaces.LevelForm.valueMetric`: coordinates of a | |
| 38 | + form in which the inner product has a rational matrix, if the classes have no nontrivial | |
| 39 | + automorphisms. | |
| 40 | +* `New.Rows.weylGauge_classSum_le_one`: `p`-integrality (gauge `New.weylGauge` at most one) passes | |
| 41 | + to the class sum after multiplication by a common multiple of the orders of the stabilisers. | |
| 42 | + | |
| 43 | +Notions from other files: | |
| 44 | +* `New.weylGauge`: at the infinite place τ, g⁻¹ acts through its component at the prime induced by | |
| 45 | + the embedding x ↦ ι(Φ_τ(x̄)) of E into ℂ_p. | |
| 46 | +* `New.stdSpace`: the definite space `I_n`, the sum of `n` norms with its standard lattice. | |
| 47 | +* `New.integralAbove`: the subgroup of finite adelic unitary points whose components at all primes | |
| 48 | + above p are integral invertible matrices. | |
| 49 | +* `New.classSum`: the class sum of f, that is, the sum over the double cosets c in Γ\G/K of | |
| 50 | + f(g_c)/#(Γ ∩ g_c K g_c⁻¹), with g_c a chosen representative; `New.classAut` is Γ ∩ gKg⁻¹. | |
| 51 | +* `New.stdLevel`: K₀ = G_f ∩ GL_n(Ô), the stabiliser of the standard lattice in the finite adelic | |
| 52 | + unitary group G_f = `New.Gf`; `New.maxCompactAt n w` is its part supported at w and w̄. | |
| 53 | + | |
| 54 | +## Relation to the literature | |
| 55 | + | |
| 56 | +Known; see `Lib.Adelic.AutomorphicForms.SmoothAlgebraicForms` and `Lib.Adelic.Hecke.ClassSums` for | |
| 57 | +sources. | |
| 58 | +-/ | |
| 59 | + | |
| 60 | +@[expose] public section | |
| 61 | + | |
| 62 | +noncomputable section | |
| 63 | + | |
| 64 | +/-! | |
| 65 | +## Invariance of the gauge, integral forms, weak approximation above p | |
| 66 | + | |
| 67 | +* `New.GaugeLe`, `New.integralFormsAt`: bounds for forms, and the module of integral forms over the | |
| 68 | + valuation ring `New.embValRing` of `ι`. | |
| 69 | +-/ | |
| 70 | + | |
| 71 | +namespace New | |
| 72 | + | |
| 73 | +open NormedField Space IsUltrametricDist Matrix Function | |
| 74 | +open NumberField (InfinitePlace) | |
| 75 | + | |
| 76 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 77 | + {κ : InfinitePlace E → ℕ → ℕ} {e : InfinitePlace E → ℤ} {p : ℕ} [Fact p.Prime] | |
| 78 | + (g d : Gf E n) {k : Gf E n} | |
| 79 | + | |
| 80 | +/-! ### Weak approximation above `p` and properties of the gauge -/ | |
| 81 | + | |
| 82 | +/-- The extension to the finite adeles of an embedding `σ : E →+* ℂ_[p]` maps a unitary point that | |
| 83 | +is integral above `p` to an integral matrix with integral inverse. -/ | |
| 84 | +lemma adeleExtension_mem_intGL (σ : E →+* ℂ_[p]) {k : Gf E n} (hk : k ∈ integralAbove n p) : | |
| 85 | + GeneralLinearGroup.map (adeleExtension σ) k.val ∈ intGL n valuation.integer := by | |
| 86 | + -- The place induced by `σ` lies above `p`, so the component of `k` there is an integral `k'`. | |
| 87 | + obtain ⟨k', hk'⟩ : k.atPlace (placeOfEmb σ) ∈ intGL n (LocInt (placeOfEmb σ)).toSubring := | |
| 88 | + mem_localLevel.1 hk _ (natCast_mem_placeOfEmb σ) | |
| 89 | + -- The extension of `σ` to the completion preserves the order of values, hence integrality. | |
| 90 | + have h_int (x : LocField (placeOfEmb σ)) (hx : x ∈ (LocInt (placeOfEmb σ)).toSubring) : | |
| 91 | + placeOfEmbExtension σ x ∈ valuation.integer := | |
| 92 | + (valuation_comap_placeOfEmbExtension_isEquiv σ).le_one_iff_le_one.mpr hx | |
| 93 | + -- The extension to the adeles factors through the component at the induced place. | |
| 94 | + change GeneralLinearGroup.map (placeOfEmbExtension σ) (k.atPlace (placeOfEmb σ)) ∈ _ | |
| 95 | + rw [← hk'] | |
| 96 | + exact ⟨GeneralLinearGroup.map (RingHom.restrict _ _ _ h_int) k', rfl⟩ | |
| 97 | + | |
| 98 | +variable (p) in | |
| 99 | +/-- Weak approximation above `p`: for finite adelic points `g`, `d` there is a rational point `γ` of | |
| 100 | +the definite space `V` (by default the standard one), embedded by `V.embFin`, such that `γ g` and | |
| 101 | +`d (γ g) d⁻¹` are integral at all primes above `p`. -/ | |
| 102 | +lemma exists_mul_mem_integralAbove (V : Space E n 1 := stdSpace E n) : | |
| 103 | + ∃ γ : U V.J, | |
| 104 | + V.embFin γ * g ∈ integralAbove n p ∧ | |
| 105 | + d * (V.embFin γ * g) * d⁻¹ ∈ integralAbove n p := by | |
| 106 | + -- The `x` with `x g` and `d x g d⁻¹` integral at all places form a nonempty open set. By weak | |
| 107 | + -- approximation it contains some `γ h` with `γ` rational and `h` trivial above `p`. | |
| 108 | + have h_open : IsOpen {x : Gf E n | x ∈ stdLevel E n ∧ d * x * d⁻¹ ∈ stdLevel E n} := | |
| 109 | + isOpen_stdLevel.inter (isOpen_stdLevel.preimage_of_continuous (f := (d * · * d⁻¹))) | |
| 110 | + obtain ⟨⟨⟨_, γ, rfl⟩, h, hh⟩, h_int, h_conj⟩ := | |
| 111 | + (V.weak_approximation (finite_natCast_mem p)).exists_mem_open | |
| 112 | + (h_open.preimage (continuous_snd.mul_const g)) ⟨(1, g⁻¹), by simp⟩ | |
| 113 | + -- The finite component of the product of `γ` and `(1, h)` is `V.embFin γ * h`. | |
| 114 | + replace h_int : V.embFin γ * h * g ∈ stdLevel E n := by simpa [embFin] using h_int | |
| 115 | + replace h_conj : d * (V.embFin γ * h * g) * d⁻¹ ∈ stdLevel E n := by simpa [embFin] using h_conj | |
| 116 | + have h_triv : ∀ w : FinPlace E, ↑p ∈ w.1 → h.atPlace w = 1 := by simpa [Gf.trivialOn] using hh | |
| 117 | + refine ⟨γ, mem_localLevel.2 fun w hw ↦ ?_, mem_localLevel.2 fun w hw ↦ ?_⟩ | |
| 118 | + · simpa [h_triv w hw] using mem_stdLevel_iff.1 h_int w | |
| 119 | + · simpa [h_triv w hw] using mem_stdLevel_iff.1 h_conj w | |
| 120 | + | |
| 121 | +variable [ι : PadicPlace p] {ξ : WeylIndex n κ → ℂ} | |
| 122 | + | |
| 123 | +/-- The gauge of `γ ξ` at `γ g` is the gauge of `ξ` at `g`, for a rational point `γ`. -/ | |
| 124 | +lemma weylGauge_embFin (γ : U (stdSpace E n).J) : | |
| 125 | + weylGauge κ e ((stdSpace E n).embFin γ * g) ((stdSpace E n).weightRep κ e γ ξ) = | |
| 126 | + weylGauge κ e g ξ := by | |
| 127 | + -- At each infinite place `adeleExtension` restricts on `E` to the embedding that it extends, so | |
| 128 | + -- the factor `γ⁻¹` of `(γ g)⁻¹` cancels the action of `γ` on `ξ`. | |
| 129 | + have h_rat (τ : InfinitePlace E) : | |
| 130 | + GeneralLinearGroup.map (adeleExtension (weightEmbedding ιₚ τ)) ((stdSpace E n).embFin γ).val = | |
| 131 | + GeneralLinearGroup.map (weightEmbedding ιₚ τ) γ.val := | |
| 132 | + GeneralLinearGroup.ext fun _ _ ↦ by simp [stdSpace_embFin, adeleExtension_algebraMap] | |
| 133 | + have h_cancel (τ : InfinitePlace E) : | |
| 134 | + GeneralLinearGroup.map (adeleExtension (weightEmbedding ιₚ τ)) | |
| 135 | + ((stdSpace E n).embFin γ * g)⁻¹.val * | |
| 136 | + GeneralLinearGroup.map (weightEmbedding ιₚ τ) γ.val = | |
| 137 | + GeneralLinearGroup.map (adeleExtension (weightEmbedding ιₚ τ)) g⁻¹.val := by | |
| 138 | + rw [← h_rat, ← map_mul] | |
| 139 | + simp [mul_assoc] | |
| 140 | + simp only [weylGauge, map_weightRep, mulVec_mulVec, ← map_mul, Pi.mul_def, h_cancel] | |
| 141 | + | |
| 142 | +/-- The gauge of a vector is unchanged when the point is multiplied on the right by an element | |
| 143 | +that is integral at the primes above `p`. -/ | |
| 144 | +lemma weylGauge_mul_of_mem_integralAbove (hk : k ∈ integralAbove n p) : | |
| 145 | + weylGauge κ e (g * k) ξ = weylGauge κ e g ξ := by | |
| 146 | + -- An element integral above `p` acts by a matrix with integral entries, so it does not increase | |
| 147 | + -- the sup norm; this is applied to `k` and to `k⁻¹`. | |
| 148 | + have h_le {a : Gf E n} (ha : a ∈ integralAbove n p) (b : Gf E n) : | |
| 149 | + weylGauge κ e (b * a⁻¹) ξ ≤ weylGauge κ e b ξ := by | |
| 150 | + have h_entry (i j : WeylIndex n κ) : | |
| 151 | + ‖weylRep κ e (fun τ : InfinitePlace E ↦ | |
| 152 | + GeneralLinearGroup.map (adeleExtension (weightEmbedding ιₚ τ)) a.val) i j‖ ≤ 1 := | |
| 153 | + weylRep_entry_mem _ (fun _ ↦ adeleExtension_mem_intGL _ ha) i j | |
| 154 | + simpa [weylGauge, ← Pi.mul_def] using norm_mulVec_le_of_nonneg zero_le_one h_entry (_ *ᵥ _) | |
| 155 | + exact le_antisymm (by simpa using h_le (inv_mem hk) g) (by simpa using h_le hk (g * k)) | |
| 156 | + | |
| 157 | +/-- The gauge is homogeneous for the absolute value of scalars under `ι`. -/ | |
| 158 | +lemma weylGauge_smul (c : ℂ) : weylGauge κ e g (c • ξ) = ‖ιₚ c‖ * weylGauge κ e g ξ := by | |
| 159 | + have h_comp : ιₚ ∘ (c • ξ) = ιₚ c • (ιₚ ∘ ξ) := funext fun i ↦ map_mul ιₚ c (ξ i) | |
| 160 | + simp [weylGauge, h_comp, mulVec_smul, norm_smul] | |
| 161 | + | |
| 162 | +/-- At a point `k` that is integral above `p`, a vector has gauge at most one if and only if all | |
| 163 | +its coordinates have absolute value at most one under `ι`. -/ | |
| 164 | +lemma weylGauge_le_one_iff (ξ : WeylIndex n κ → ℂ) (hk : k ∈ integralAbove n p) : | |
| 165 | + weylGauge κ e k ξ ≤ 1 ↔ ∀ i : WeylIndex n κ, ‖ιₚ (ξ i)‖ ≤ 1 := by | |
| 166 | + -- The gauge at `k` is the gauge at `1`, the sup norm of the coordinates. | |
| 167 | + rw [← one_mul k, weylGauge_mul_of_mem_integralAbove 1 hk] | |
| 168 | + simp [weylGauge, weylRep, pi_norm_le_iff_of_nonneg] | |
| 169 | + | |
| 170 | +/-- The gauge is ultrametric: if every `f a` has gauge at most `C ≥ 0`, so does their sum. -/ | |
| 171 | +lemma weylGauge_sum_le {α : Type*} {s : Finset α} {C : ℝ} {f : α → WeylIndex n κ → ℂ} | |
| 172 | + (hC : 0 ≤ C) (hf : ∀ a ∈ s, weylGauge κ e g (f a) ≤ C) : | |
| 173 | + weylGauge κ e g (∑ a ∈ s, f a) ≤ C := by | |
| 174 | + have h_comp : ιₚ ∘ (∑ a ∈ s, f a) = ∑ a ∈ s, ιₚ ∘ f a := funext fun _ ↦ by simp | |
| 175 | + simpa [weylGauge, h_comp, mulVec_sum] using norm_sum_le_of_forall_le_of_nonneg hC hf | |
| 176 | + | |
| 177 | +/-! ### Integral forms -/ | |
| 178 | + | |
| 179 | +/-- The algebraic form `φ` (with `φ.val (γ g)` equal to `γ` acting on `φ.val g` for rational `γ`) is | |
| 180 | +bounded by `c` at `d`: for every `g`, the gauge of `φ g` at `g * d` is at most `c`. -/ | |
| 181 | +def GaugeLe (c : ℝ) (φ : AlgForm (E := E) n κ e) : Prop := | |
| 182 | + ∀ g : Gf E n, weylGauge κ e (g * d) (φ.val g) ≤ c | |
| 183 | + | |
| 184 | +/-- The O_ι-module of forms φ in S that are integral at d: the value φ(g) has gauge at most 1 at | |
| 185 | +gd for every g. -/ | |
| 186 | +noncomputable def integralFormsAt (S : Submodule ℂ (AlgForm n κ e)) (d : Gf E n) : | |
| 187 | + Submodule embValRing (AlgForm (E := E) n κ e) := | |
| 188 | + S.restrictScalars embValRing ⊓ | |
| 189 | + { carrier := Set.ofPred (GaugeLe d 1) | |
| 190 | + add_mem' {φ ψ} hφ hψ g := by | |
| 191 | + simpa [weylGauge, mulVec_add] using (norm_add_le_max _ _).trans (max_le (hφ g) (hψ g)) | |
| 192 | + zero_mem' := by simp [GaugeLe, weylGauge] | |
| 193 | + smul_mem' a φ hφ g := (weylGauge_smul (g * d) a).trans_le | |
| 194 | + ((mul_le_of_le_one_left (norm_nonneg _) a.property).trans (hφ g)) } | |
| 195 | + | |
| 196 | +/-- The stabiliser of the standard lattice is integral at every set `S` of finite places. -/ | |
| 197 | +lemma stdLevel_le_localLevel {S : Set (FinPlace E)} : stdLevel E n ≤ localLevel n S := fun _ hk ↦ | |
| 198 | + mem_localLevel.2 fun w _ ↦ mem_stdLevel_iff.1 hk w | |
| 199 | + | |
| 200 | +/-- If the values of an algebraic form `φ` at the points integral above `p` have `ι`-integral | |
| 201 | +coordinates, then `φ g` has gauge at most `1` at `g` for every `g`. -/ | |
| 202 | +lemma weylGauge_le_one_of_integralAbove (φ : AlgForm (E := E) n κ e) | |
| 203 | + (h_coord : ∀ g ∈ integralAbove n p, ∀ i : WeylIndex n κ, ‖ιₚ (φ.val g i)‖ ≤ 1) (g : Gf E n) : | |
| 204 | + weylGauge κ e g (φ.val g) ≤ 1 := by | |
| 205 | + -- Move `g` by a rational `γ` to an element integral above `p`; the gauge does not change. | |
| 206 | + obtain ⟨γ, hγ, -⟩ := exists_mul_mem_integralAbove p g 1 | |
| 207 | + have h_equivariant : φ.val ((stdSpace E n).embFin γ * g) = | |
| 208 | + (stdSpace E n).weightRep κ e γ (φ.val g) := φ.property.2 γ g | |
| 209 | + rw [← weylGauge_embFin g γ, ← h_equivariant] | |
| 210 | + exact (weylGauge_le_one_iff _ hγ).2 (h_coord _ hγ) | |
| 211 | + | |
| 212 | +end New | |
| 213 | + | |
| 214 | +/-! | |
| 215 | +## Classes at a level and the gauge of delta forms | |
| 216 | + | |
| 217 | +* `New.StdClasses`: the set of classes `Γ \ G_f / K` at a level `K`, where `G_f = New.Gf E n` is the | |
| 218 | + finite adelic group and `Γ` is the image of its rational points. | |
| 219 | +* `New.Rows.weylGauge_deltaForm_le`: the values of the delta form made from `v` at `x` have gauge at | |
| 220 | + most the gauge of `v` at `x`. | |
| 221 | +* `New.Rows.weylNormSq_deltaForm_le`: after any automorphism `σ` of `ℂ`, the values of the delta | |
| 222 | + form have squared norm at most `#Aut(x)²` times that of `σ ∘ v`. | |
| 223 | +-/ | |
| 224 | + | |
| 225 | +section ClassReps | |
| 226 | + | |
| 227 | +open NumberField DoubleCoset | |
| 228 | + | |
| 229 | +namespace New | |
| 230 | + | |
| 231 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 232 | + {κ : InfinitePlace E → ℕ → ℕ} {e : InfinitePlace E → ℤ} (K : Subgroup (Gf E n)) {χ : K →* ℂ} | |
| 233 | + | |
| 234 | +variable {K} | |
| 235 | + | |
| 236 | +/-- The classes at level `K` have a system of representatives `r` whose members are all integral | |
| 237 | +at the primes above `p`. -/ | |
| 238 | +lemma exists_reps_integralAbove (p : ℕ) [Fact p.Prime] : | |
| 239 | + ∃ r : StdClasses K → Gf E n, | |
| 240 | + (∀ c : StdClasses K, DoubleCoset.mk (stdSpace E n).Γf K (r c) = c) ∧ | |
| 241 | + ∀ c : StdClasses K, r c ∈ integralAbove n p := by | |
| 242 | + -- Move the representative `c.out` by a rational element to make it integral above `p`. | |
| 243 | + have h_exists (c : StdClasses K) : | |
| 244 | + ∃ γ : U (stdSpace E n).J, (stdSpace E n).embFin γ * c.out ∈ integralAbove n p := | |
| 245 | + (exists_mul_mem_integralAbove p c.out 1).imp fun _ ↦ And.left | |
| 246 | + choose γ hγ using h_exists | |
| 247 | + refine ⟨fun c ↦ (stdSpace E n).embFin (γ c) * c.out, fun c ↦ ?_, hγ⟩ | |
| 248 | + -- `γ c * c.out` lies in the double coset of `c.out`. | |
| 249 | + exact (c.eq_mk_iff_out.2 (rel_iff.2 ⟨_, ⟨γ c, rfl⟩, 1, K.one_mem, by simp⟩)).symm | |
| 250 | + | |
| 251 | +open Space in | |
| 252 | +/-- For a finite-order level character, integrality can be checked coordinatewise on a system | |
| 253 | +of double-coset representatives that are integral above `p`. -/ | |
| 254 | +lemma weylGauge_le_one_iff_forall_rep [IsLevel K] {p : ℕ} [Fact p.Prime] [PadicPlace p] | |
| 255 | + (hχ : ∀ k : K, IsOfFinOrder (χ k)) | |
| 256 | + {r : StdClasses K → Gf E n} (hr : ∀ c, DoubleCoset.mk stdRatPoints K (r c) = c) | |
| 257 | + (hr_int : ∀ c, r c ∈ integralAbove n p) | |
| 258 | + (φ : levelSpace (smoothFormRep stdEmbFin ((stdSpace E n).weightRep κ e)) K χ) : | |
| 259 | + (∀ g : Gf E n, weylGauge κ e g (φ.val.val g) ≤ 1) ↔ | |
| 260 | + ∀ c i, ‖ιₚ (φ.val.val (r c) i)‖ ≤ 1 := by | |
| 261 | + refine ⟨fun h c ↦ (weylGauge_le_one_iff _ (hr_int c)).1 (h (r c)), fun h g ↦ ?_⟩ | |
| 262 | + -- Transport the gauge to the representative using the two level-form actions. | |
| 263 | + obtain ⟨c, γ, k, rfl⟩ := exists_eq_map_mul_rep_mul _ K hr g | |
| 264 | + have h_norm : ‖ιₚ (χ k)‖ = 1 := (ιₚ.isOfFinOrder (hχ k)).norm_eq_one | |
| 265 | + rw [levelSpace_smoothFormRep_apply φ.property, weylGauge_smul, h_norm, one_mul, | |
| 266 | + weylGauge_mul_of_mem_integralAbove _ (stdLevel_le_localLevel (IsLevel.le k.property)), | |
| 267 | + weylGauge_embFin, weylGauge_le_one_iff _ (hr_int c)] | |
| 268 | + exact h c | |
| 269 | + | |
| 270 | +/-- For a level K (an open subgroup of the stabiliser of the standard lattice) and χ with values of | |
| 271 | +finite order, the delta form attached to χ, x, v (the form supported on the double coset of x that | |
| 272 | +is made from the vector v) has, at every point g, gauge at ι at most the gauge of v at x. -/ | |
| 273 | +lemma Rows.weylGauge_deltaForm_le [Fact (χ =ᶠ[nhds 1] 1)] [hK : IsLevel K] | |
| 274 | + (hχ : ∀ k : K, IsOfFinOrder (χ k)) {p : ℕ} | |
| 275 | + [Fact p.Prime] [PadicPlace p] {x : Gf E n} {v : WeylIndex n κ → ℂ} {g : Gf E n} : | |
| 276 | + weylGauge κ e g ((deltaForm stdEmbFin ((stdSpace E n).weightRep κ e) χ x v).val.val g) ≤ | |
| 277 | + weylGauge κ e x v := by | |
| 278 | + -- The value at `g` is a finite sum; by the ultrametric bound `weylGauge_sum_le` it is enough to | |
| 279 | + -- bound each term `χ k • γ⁻¹ v`, where `k = x⁻¹ γ g` lies in `K` (the other terms vanish). | |
| 280 | + have h_norm (k : K) : ‖ιₚ (χ k)‖ = 1 := (ιₚ.isOfFinOrder (hχ k)).norm_eq_one | |
| 281 | + rw [deltaForm_apply] | |
| 282 | + refine weylGauge_sum_le _ (norm_nonneg _) fun γ _ ↦ ?_ | |
| 283 | + split_ifs with hk | |
| 284 | + · -- `g = γ⁻¹ x k` with `k` integral above `p`. | |
| 285 | + have hk_int : x⁻¹ * stdEmbFin γ * g ∈ integralAbove n p := stdLevel_le_localLevel (hK.le hk) | |
| 286 | + have h_gauge : | |
| 287 | + weylGauge κ e g ((stdSpace E n).weightRep κ e γ⁻¹ v) = weylGauge κ e x v := | |
| 288 | + calc | |
| 289 | + _ = weylGauge κ e ((stdSpace E n).embFin γ⁻¹ * x) ((stdSpace E n).weightRep κ e γ⁻¹ v) := by | |
| 290 | + rw [← weylGauge_mul_of_mem_integralAbove ((stdSpace E n).embFin γ⁻¹ * x) hk_int] | |
| 291 | + simp [mul_assoc] | |
| 292 | + _ = weylGauge κ e x v := weylGauge_embFin x γ⁻¹ | |
| 293 | + simp [weylGauge_smul, h_norm, h_gauge] | |
| 294 | + · simp [weylGauge] | |
| 295 | + | |
| 296 | +variable [HasFiniteType stdRatPoints K] [Fact (χ =ᶠ[nhds 1] 1)] | |
| 297 | + | |
| 298 | +/-- Let `χ` be a character of the subgroup `K` with values of finite order, trivial near `1`, where | |
| 299 | +`K` has finite type for the rational points (so there are finitely many double cosets of the | |
| 300 | +rational points and `K`), and `σ` a field automorphism of `ℂ`. The value at any `g` of the delta | |
| 301 | +form at `x` made from `v`, after applying `σ` to its coordinates, has squared norm | |
| 302 | +(`New.weylNormSq`) at most `#Aut(x)²` times that of `σ ∘ v`, where `Aut(x)` is the stabiliser | |
| 303 | +`New.classAut` of the coset `x K` among the rational points. -/ | |
| 304 | +lemma Rows.weylNormSq_deltaForm_le (hχ : ∀ k : K, IsOfFinOrder (χ k)) (σ : ℂ ≃+* ℂ) (x : Gf E n) | |
| 305 | + (v : WeylIndex n κ → ℂ) (g : Gf E n) : | |
| 306 | + weylNormSq (σ ∘ (deltaForm stdEmbFin ((stdSpace E n).weightRep κ e) χ x v).val.val g) ≤ | |
| 307 | + Nat.card (classAut stdEmbFin.range K x) ^ 2 * weylNormSq (σ ∘ v) := by | |
| 308 | + classical | |
| 309 | + -- The value at `g` is a sum of at most `Nat.card (classAut ..)` terms. After applying `σ` each | |
| 310 | + -- term has Gram norm at most that of `σ ∘ v`; use the triangle inequality. | |
| 311 | + have h_inv (γ : U (stdSpace E n).J) : | |
| 312 | + weylNormSq (σ ∘ (stdSpace E n).weightRep κ e γ v) = weylNormSq (σ ∘ v) := by | |
| 313 | + simpa [weylNormSq, gramForm_apply] using | |
| 314 | + congrArg Complex.re (gramForm_map_weightRep (e := e) (σ : ℂ →+* ℂ) γ v v) | |
| 315 | + have h_norm (k : K) : ‖σ (χ k)‖ = 1 := (σ.toMonoidHom.isOfFinOrder (hχ k)).norm_eq_one | |
| 316 | + have h_term (γ : U (stdSpace E n).J) : | |
| 317 | + √(weylNormSq (σ ∘ if h : x⁻¹ * stdEmbFin γ * g ∈ K then | |
| 318 | + χ ⟨x⁻¹ * stdEmbFin γ * g, h⟩ • (stdSpace E n).weightRep κ e γ⁻¹ v else 0)) ≤ | |
| 319 | + √(weylNormSq (σ ∘ v)) := by | |
| 320 | + split | |
| 321 | + · simp [h_inv, h_norm] | |
| 322 | + · simp [weylNormSq] | |
| 323 | + -- It is enough to compare the square roots; the sum has at most `#Aut(x)` terms. | |
| 324 | + have h_card : (transporter K stdEmbFin x g).card ≤ Nat.card (classAut stdEmbFin.range K x) := by | |
| 325 | + grind [card_transporter] | |
| 326 | + rw [← Real.sqrt_le_sqrt_iff (by bound), Real.sqrt_mul (sq_nonneg _), | |
| 327 | + Real.sqrt_sq (Nat.cast_nonneg _), deltaForm_apply] | |
| 328 | + calc | |
| 329 | + _ ≤ ∑ γ ∈ transporter K stdEmbFin x g, √(weylNormSq (σ ∘ v)) := | |
| 330 | + (sqrt_weylNormSq_sum_le σ _ _).trans (Finset.sum_le_sum fun γ _ ↦ h_term γ) | |
| 331 | + _ = (transporter K stdEmbFin x g).card * √(weylNormSq (σ ∘ v)) := by simp | |
| 332 | + _ ≤ Nat.card (classAut stdEmbFin.range K x) * √(weylNormSq (σ ∘ v)) := by gcongr | |
| 333 | + | |
| 334 | +end New | |
| 335 | + | |
| 336 | +end ClassReps | |
| 337 | + | |
| 338 | +/-! | |
| 339 | +## Algebraic forms of a level: class sum metrics and integral forms | |
| 340 | + | |
| 341 | +Algebraic forms on the standard definite space `New.stdSpace` whose level is cut out at finitely | |
| 342 | +many split places, and their sizes under the automorphisms of ℂ and the embeddings ℂ → ℂ_l. | |
| 343 | + | |
| 344 | +* `New.LevelPlaces`: two finite families of split places; `New.fockLetters`, `New.letterPoly`: | |
| 345 | + substitution of sums of variables into the polynomial of a vector of weight κ. | |
| 346 | +* `New.LevelPlaces.LevelForm.innerAt`, `New.LevelPlaces.LevelForm.norm_map_inner_le`: the pairing | |
| 347 | + after an automorphism σ of ℂ, and Cauchy–Schwarz for σ of the inner product. | |
| 348 | +* `New.LevelPlaces.LevelForm.integralForms`, `New.LevelPlaces.LevelForm.norm_nsmul_inner_le_one`: | |
| 349 | + forms integral at j : ℂ → ℂ_l, and integrality of their inner products. | |
| 350 | + | |
| 351 | +A form takes values in coordinate vectors indexed by `New.WeylIndex`, paired by the integer matrix | |
| 352 | +`New.weylGram`. | |
| 353 | +-/ | |
| 354 | + | |
| 355 | +namespace New | |
| 356 | + | |
| 357 | +open Matrix NumberField MvPolynomial ComplexConjugate ComplexOrder Subgroup Real «GL» Finset | |
| 358 | + | |
| 359 | +section | |
| 360 | +section | |
| 361 | + | |
| 362 | +variable {E r n : Type} [Field E] [NumberField E] [IsCMField E] [Fintype r] [Fintype n] | |
| 363 | + [DecidableEq n] | |
| 364 | + | |
| 365 | +/-! ### Places and letters -/ | |
| 366 | + | |
| 367 | +variable (E) in | |
| 368 | +/-- Two finite families of finite places of E, called the chosen places and the places of the | |
| 369 | +twist, all distinct, none of them conjugate to itself or to another. -/ | |
| 370 | +structure LevelPlaces where | |
| 371 | + /-- The index set of the chosen places. -/ | |
| 372 | + ChosenIndex : Type | |
| 373 | + /-- The index set of the places of the twist. -/ | |
| 374 | + TwistIndex : Type | |
| 375 | + /-- There are finitely many chosen places. -/ | |
| 376 | + [fintypeChosen : Fintype ChosenIndex] | |
| 377 | + /-- There are finitely many places of the twist. -/ | |
| 378 | + [fintypeTwist : Fintype TwistIndex] | |
| 379 | + /-- The chosen places. -/ | |
| 380 | + chosenPlace : ChosenIndex → FinPlace E | |
| 381 | + /-- The places of the twist. -/ | |
| 382 | + twistPlace : TwistIndex → FinPlace E | |
| 383 | + /-- No place of either family equals another place or the conjugate of one. -/ | |
| 384 | + apart : IsConjApart (chosenPlace ⊕ᵥ twistPlace) | |
| 385 | + | |
| 386 | +/-- If none of the places `u i` is `w` or `w̄`, then every element of K₀ = `New.stdLevel` supported | |
| 387 | +at `w` and `w̄` lies in `levelOf u H`, the subgroup of elements of K₀ whose reductions at the `u i` | |
| 388 | +form an element of `H`. -/ | |
| 389 | +lemma maxCompactAt_le_levelOf {ι : Type*} {u : ι → FinPlace E} {w : FinPlace E} | |
| 390 | + {H : Subgroup ((i : ι) → GL n (ResField (u i)))} (hw : w ∉ (Set.range u).conjClosure) : | |
| 391 | + maxCompactAt n w ≤ levelOf u H := | |
| 392 | + (inf_le_inf_left _ ((Gf.supportedOn_mono (Set.singleton_subset_iff.2 hw)).trans_eq | |
| 393 | + Gf.supportedOn_compl)).trans inf_trivialOn_le_levelOf | |
| 394 | + | |
| 395 | +/-- The algebra map sending the variable (τ, i, h) to the sum of the variables (τ, i, a) over | |
| 396 | +the indices a with sign s(a) = c and ord(a) = h. -/ | |
| 397 | +def fockLetters {Φ : Type} (s : r → ℤˣ) (ord : r → ℕ) (c : ℤˣ) : | |
| 398 | + MatrixPoly (Σ _ : Φ, n) ℂ →ₐ[ℂ] MvPolynomial (Φ × n × r) ℂ := | |
| 399 | + aeval fun x : (Σ _ : Φ, n) × ℕ ↦ ∑ a : r with s a = c ∧ ord a = x.2, X (x.1.1, x.1.2, a) | |
| 400 | + | |
| 401 | +/-- The linear map sending ξ of weight κ to its polynomial `New.toPoly` ξ, with each variable | |
| 402 | +(τ, i, h) replaced by ∑ X(τ, i, a) over s(a) = c, ord(a) = h. -/ | |
| 403 | +def letterPoly {Φ : Type} [Fintype Φ] [DecidableEq Φ] (s : r → ℤˣ) (ord : r → ℕ) (c : ℤˣ) | |
| 404 | + (κ : Φ → ℕ → ℕ) : (WeylIndexFamily (fun _ : Φ ↦ n) κ → ℂ) →ₗ[ℂ] MvPolynomial (Φ × n × r) ℂ := | |
| 405 | + (fockLetters (r := r) (n := n) (Φ := Φ) s ord c).toLinearMap ∘ₗ toPoly (fun _ ↦ n) κ | |
| 406 | + | |
| 407 | +end | |
| 408 | + | |
| 409 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 410 | + | |
| 411 | +/-! ### Forms of a level and the class sum metric -/ | |
| 412 | + | |
| 413 | +/-- The class sum on the standard definite space: for a subgroup K and a function f on the finite | |
| 414 | +points, the sum of f(g_c) / #Aut(g_c) over the double cosets c of the rational points and K. -/ | |
| 415 | +abbrev stdClassSum {X : Type*} [AddCommMonoid X] [Module ℚ X] : | |
| 416 | + Subgroup (Gf E n) → (Gf E n → X) → X := | |
| 417 | + classSum (stdSpace E n).Γf | |
| 418 | + | |
| 419 | +/-- The Cauchy–Schwarz inequality for class sums of any level `K`. Let `σ` be an automorphism of | |
| 420 | +`ℂ` and `σ' = conj ∘ σ ∘ conj`. The image under `σ` of the class sum of the Gram pairings of `φ g` | |
| 421 | +and `φ' g` has absolute value at most the norm of `φ` at `σ'` times the norm of `φ'` at `σ`; the | |
| 422 | +norm at `σ` is the square root of the class sum of the squared norms of the images under `σ`. -/ | |
| 423 | +lemma norm_map_stdClassSum_gramForm_le {κ : InfinitePlace E → ℕ → ℕ} (K : Subgroup (Gf E n)) | |
| 424 | + [IsLevel K] (σ : ℂ ≃+* ℂ) (φ φ' : Gf E n → WeylIndex n κ → ℂ) : | |
| 425 | + ‖σ (stdClassSum K fun g : Gf E n ↦ gramForm (φ g) (φ' g))‖ ≤ | |
| 426 | + √(stdClassSum K fun g : Gf E n ↦ | |
| 427 | + weylNormSq (((starRingAut.trans σ).trans starRingAut) ∘ φ g)) * | |
| 428 | + √(stdClassSum K fun g : Gf E n ↦ weylNormSq (σ ∘ φ' g)) := by | |
| 429 | + set σ' : ℂ ≃+* ℂ := (starRingAut.trans σ).trans starRingAut with hσ' | |
| 430 | + -- The Gram matrix has integer entries, so `σ` passes through the pairing. | |
| 431 | + have h_map (u v : WeylIndex n κ → ℂ) : σ (gramForm u v) = gramForm (σ' ∘ u) (σ ∘ v) := by | |
| 432 | + simp [hσ', gramForm_apply, dotProduct, mulVec] | |
| 433 | + have h_nonneg (N : ℕ) (ξ : WeylIndex n κ → ℂ) : 0 ≤ (N : ℚ)⁻¹ • weylNormSq ξ := by | |
| 434 | + simp [Rat.smul_def, mul_nonneg] | |
| 435 | + -- Cauchy–Schwarz for the Gram matrix at each class, then for the sum over the classes. | |
| 436 | + have h_class (N : ℕ) (u v : WeylIndex n κ → ℂ) : ‖σ ((N : ℚ)⁻¹ • gramForm u v)‖ ≤ | |
| 437 | + √((N : ℚ)⁻¹ • weylNormSq (σ' ∘ u)) * √((N : ℚ)⁻¹ • weylNormSq (σ ∘ v)) := by | |
| 438 | + have h_cs : ‖gramForm (σ' ∘ u) (σ ∘ v)‖ ^ 2 ≤ weylNormSq (σ ∘ v) * weylNormSq (σ' ∘ u) := by | |
| 439 | + simpa [weylNormSq, gramForm_apply] using | |
| 440 | + posDef_cauchy_schwarz weylGramOver_posDef (σ' ∘ u) (σ ∘ v) | |
| 441 | + rw [← sqrt_mul (h_nonneg N _)] | |
| 442 | + refine le_sqrt_of_sq_le ?_ | |
| 443 | + calc ‖σ ((N : ℚ)⁻¹ • gramForm u v)‖ ^ 2 | |
| 444 | + _ = (N : ℝ)⁻¹ ^ 2 * ‖gramForm (σ' ∘ u) (σ ∘ v)‖ ^ 2 := by | |
| 445 | + simp [h_map, Rat.smul_def, mul_pow] | |
| 446 | + _ ≤ (N : ℝ)⁻¹ ^ 2 * (weylNormSq (σ ∘ v) * weylNormSq (σ' ∘ u)) := by gcongr | |
| 447 | + _ = _ := by simp only [Rat.smul_def, Rat.cast_inv, Rat.cast_natCast]; ring | |
| 448 | + let m (c : DoubleCosets (stdSpace E n).Γf K) : ℕ := Nat.card (classAut (stdSpace E n).Γf K c.out) | |
| 449 | + simp_rw [classSum, finsum_eq_sum_of_fintype, map_sum] | |
| 450 | + calc | |
| 451 | + _ ≤ ∑ c, √((m c : ℚ)⁻¹ • weylNormSq (σ' ∘ φ c.out)) * | |
| 452 | + √((m c : ℚ)⁻¹ • weylNormSq (σ ∘ φ' c.out)) := | |
| 453 | + (norm_sum_le _ _).trans (sum_le_sum fun c _ ↦ h_class (m c) _ _) | |
| 454 | + _ ≤ _ := sum_sqrt_mul_sqrt_le _ (fun _ ↦ h_nonneg _ _) fun _ ↦ h_nonneg _ _ | |
| 455 | + | |
| 456 | +end | |
| 457 | + | |
| 458 | +namespace LevelPlaces | |
| 459 | + | |
| 460 | +attribute [instance] fintypeChosen fintypeTwist apart | |
| 461 | + | |
| 462 | +section | |
| 463 | + | |
| 464 | +variable {E : Type} [Field E] [NumberField E] [IsCMField E] (P : LevelPlaces E) | |
| 465 | + | |
| 466 | +/-- The chosen places are pairwise distinct, and none is the conjugate of itself or of another. -/ | |
| 467 | +instance isConjApart_chosenPlace : IsConjApart P.chosenPlace where | |
| 468 | + injective := P.apart.injective.comp Sum.inl_injective | |
| 469 | + star_ne _ _ := P.apart.star_ne (.inl _) (.inl _) | |
| 470 | + | |
| 471 | +/-- The family of all places of `P`: the chosen places and the places of the twist, indexed by the | |
| 472 | +disjoint union of the two index sets. -/ | |
| 473 | +abbrev placeAt : P.ChosenIndex ⊕ P.TwistIndex → FinPlace E := P.chosenPlace ⊕ᵥ P.twistPlace | |
| 474 | + | |
| 475 | +/-- The set of the chosen places and the places of the twist of `P`. -/ | |
| 476 | +abbrev places : Set (FinPlace E) := Set.range P.placeAt | |
| 477 | + | |
| 478 | +/-- The level places are disjoint from their complex conjugates. -/ | |
| 479 | +lemma isConjDisjoint_places : P.places.IsConjDisjoint := Set.disjoint_left.2 | |
| 480 | + fun {_} ⟨i, hi⟩ ⟨j, hj⟩ ↦ P.apart.star_ne i j ((congrArg star hi).trans hj.symm) | |
| 481 | + | |
| 482 | +end | |
| 483 | + | |
| 484 | +section Defs | |
| 485 | + | |
| 486 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] (S : LevelPlaces E) | |
| 487 | + (H : Subgroup (∀ i : S.ChosenIndex ⊕ S.TwistIndex, GL n (ResField (S.placeAt i)))) (χ : H →* ℂ) | |
| 488 | + (κ : InfinitePlace E → ℕ → ℕ) (e : InfinitePlace E → ℤ) | |
| 489 | + | |
| 490 | +/-- The space of algebraic forms of weight (κ, e) on the standard definite space on which the level | |
| 491 | +cut out by H at the places of S acts through the character χ. -/ | |
| 492 | +def LevelForm : Type := | |
| 493 | + levelSpace (algFormRep κ e) (levelOf S.placeAt H) (χ.comp (levelOf.reduction S.placeAt H)) | |
| 494 | + deriving AddCommGroup, Module ℂ, Module ℚ | |
| 495 | + | |
| 496 | +-- An algebraic form is read as a function on the finite adelic points. | |
| 497 | +instance : CoeFun (S.LevelForm H χ κ e) fun _ ↦ Gf E n → WeylIndex n κ → ℂ := ⟨(·.val.val)⟩ | |
| 498 | + | |
| 499 | +end Defs | |
| 500 | + | |
| 501 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {S : LevelPlaces E} | |
| 502 | + {H : Subgroup (∀ i : S.ChosenIndex ⊕ S.TwistIndex, GL n (ResField (S.placeAt i)))} {χ : H →* ℂ} | |
| 503 | + {κ : InfinitePlace E → ℕ → ℕ} {e : InfinitePlace E → ℤ} | |
| 504 | + | |
| 505 | +section InnerProduct | |
| 506 | + | |
| 507 | +variable (σ : ℂ ≃+* ℂ) (φ φ' : S.LevelForm H χ κ e) | |
| 508 | + | |
| 509 | +/-- A form is fixed by the elements of `New.stdLevel E n`, the stabiliser of the standard lattice, | |
| 510 | +that reduce to `1` at all places of `S`. -/ | |
| 511 | +lemma LevelForm.algFormRep_eq_self_of_mem {k : Gf E n} (hk : k ∈ levelOf S.placeAt ⊥) : | |
| 512 | + algFormRep κ e k φ.val = φ.val := by | |
| 513 | + simp [levelSpace_levelOf_apply φ.prop _ 1 (mem_levelOf.mp hk).2] | |
| 514 | + | |
| 515 | +/-- A form is spherical (fixed by every element of `New.maxCompactAt n w`) at every place `w` such | |
| 516 | +that neither `w` nor `w̄` is a place of `S`. -/ | |
| 517 | +lemma LevelForm.mem_sphericalAt {w : FinPlace E} (hS : w ∉ S.places.conjClosure) : | |
| 518 | + φ.val ∈ sphericalAt (algFormRep κ e) w := by | |
| 519 | + intro k | |
| 520 | + simp [φ.algFormRep_eq_self_of_mem (maxCompactAt_le_levelOf hS k.property)] | |
| 521 | + | |
| 522 | +/-- Evaluation at g, as a complex-linear map on the forms of the level. -/ | |
| 523 | +def _root_.New.Rows.evalForm (g : Gf E n) : S.LevelForm H χ κ e →ₗ[ℂ] WeylIndex n κ → ℂ where | |
| 524 | + toFun φ := φ g | |
| 525 | + map_add' _ _ := rfl | |
| 526 | + map_smul' _ _ := rfl | |
| 527 | + | |
| 528 | +/-- Evaluates a level form `φ` at `g` as `Rows.evalForm g φ` by definition. -/ | |
| 529 | +lemma _root_.New.Rows.apply_eq_evalForm (g : Gf E n) : φ g = Rows.evalForm g φ := rfl | |
| 530 | + | |
| 531 | +/-- An algebraic form of level H on the standard definite space, viewed as a smooth form, that is, a | |
| 532 | +form with open stabiliser under right translation. -/ | |
| 533 | +def LevelForm.toSmoothForm : S.LevelForm H χ κ e →ₗ[ℂ] (stdSpace E n).forms (κ, e) := | |
| 534 | + Submodule.subtype _ | |
| 535 | + | |
| 536 | +/-- For an automorphism σ of ℂ, the pairing sending (φ, φ') to σ⁻¹ of the class sum of | |
| 537 | +conj(σ φ(g))ᵀ G (σ φ'(g)), with G the integral Gram matrix of weight κ. -/ | |
| 538 | +@[irreducible] | |
| 539 | +def LevelForm.innerAt : | |
| 540 | + S.LevelForm H χ κ e →ₛₗ[(↑σ⁻¹ : ℂ →+* ℂ).comp ((starRingEnd ℂ).comp (↑σ : ℂ →+* ℂ))] | |
| 541 | + S.LevelForm H χ κ e →ₗ[ℂ] ℂ := | |
| 542 | + -- the Gram form with `σ⁻¹ ∘ conj ∘ σ` as conjugation is invariant by `gramForm_map_weightRep` | |
| 543 | + ((stdLevelIndex (levelOf S.placeAt H) : ℂ) • | |
| 544 | + smoothPairing | |
| 545 | + (toLinearMapₛₗ₂' ℂ (RingHom.comp ↑σ⁻¹ ((starRingEnd ℂ).comp σ)) (RingHom.id ℂ) | |
| 546 | + (weylGramOver (κ := κ))) | |
| 547 | + fun γ u v ↦ | |
| 548 | + σ.injective (by simpa [Int.cast_comm, toLinearMapₛₗ₂'_apply, gramForm_apply, dotProduct, | |
| 549 | + mulVec, mul_sum] using gramForm_map_weightRep σ γ u v)).compl₂ | |
| 550 | + (toSmoothForm (χ := χ)) ∘ₛₗ toSmoothForm (χ := χ) (e := e) | |
| 551 | + | |
| 552 | +/-- An element `k` of the level acts on a form, by right translation, through the character `χ`. -/ | |
| 553 | +lemma LevelForm.apply_mul_eq_smul {k : Gf E n} (hk : k ∈ levelOf S.placeAt H) (g : Gf E n) : | |
| 554 | + φ (g * k) = χ (levelOf.reduction S.placeAt H ⟨k, hk⟩) • φ g := | |
| 555 | + congrFun (congrArg Subtype.val (φ.property ⟨k, hk⟩)) g | |
| 556 | + | |
| 557 | +/-- For a CM field `E`, level places `S`, a subgroup `H` of the product of the groups `GL n` over | |
| 558 | +the residue fields at the places of `S`, a character `χ` and weight `(κ, e)`, let `φ φ'` be level | |
| 559 | +forms and `σ` an automorphism of `ℂ`. The pairing `innerAt σ φ φ'` equals `σ⁻¹` of the class sum at | |
| 560 | +the level `levelOf S.placeAt H`, which consists of the elements of `K₀` whose reductions at the | |
| 561 | +places of `S` lie in `H`. That class sum is the sum over double cosets `c` of the rational points | |
| 562 | +and this level in `Gf E n` of `gramForm (σ ∘ φ g_c) (σ ∘ φ' g_c) / #Aut(g_c)`. -/ | |
| 563 | +lemma LevelForm.innerAt_eq_stdClassSum : | |
| 564 | + innerAt σ φ φ' = | |
| 565 | + σ⁻¹ (stdClassSum (levelOf S.placeAt H) fun g : Gf E n ↦ gramForm (σ ∘ φ g) (σ ∘ φ' g)) := by | |
| 566 | + -- The pairing is the index of the level times the integral of `f`; as `f` is invariant under the | |
| 567 | + -- level, the integral is the class sum at the level divided by this index. | |
| 568 | + let f (g : Gf E n) : ℂ := σ⁻¹ (gramForm (σ ∘ φ g) (σ ∘ φ' g)) | |
| 569 | + have h_integral : innerAt σ φ φ' = | |
| 570 | + stdLevelIndex (levelOf S.placeAt H) * classIntegral stdRatPoints (stdLevel E n) f := by | |
| 571 | + have h_values (ψ : S.LevelForm H χ κ e) : (toSmoothForm ψ).val = ψ := rfl | |
| 572 | + simp [innerAt, f, smoothPairing, h_values, toLinearMapₛₗ₂'_apply, gramForm_apply, dotProduct, | |
| 573 | + mulVec, mul_sum, mul_comm] | |
| 574 | + have h_left : stdRatPoints.FixesLeft f := by | |
| 575 | + rintro _ ⟨γ, rfl⟩ g | |
| 576 | + have h_equivariant (ψ : S.LevelForm H χ κ e) : | |
| 577 | + ψ (stdEmbFin γ * g) = (stdSpace E n).weightRep κ e γ (ψ g) := ψ.val.property.2 γ g | |
| 578 | + simp only [f, h_equivariant] | |
| 579 | + exact congrArg ⇑σ⁻¹ (gramForm_map_weightRep σ γ _ _) | |
| 580 | + -- An element `k` of the level multiplies both forms by the root of unity `χ k`. | |
| 581 | + have h_right : levelOf S.placeAt H ≤ rightStabilizer f := by | |
| 582 | + intro k hk g | |
| 583 | + have h_norm : ‖σ (χ (levelOf.reduction S.placeAt H ⟨k, hk⟩))‖ = 1 := | |
| 584 | + (σ.toRingHom.isOfFinOrder (χ.isOfFinOrder (isMulTorsion_of_finite _))).norm_eq_one | |
| 585 | + have h_smul (c : ℂ) (v : WeylIndex n κ → ℂ) : σ ∘ (c • v) = σ c • (σ ∘ v) := | |
| 586 | + funext fun i ↦ map_mul σ c (v i) | |
| 587 | + simp [f, apply_mul_eq_smul _ hk, h_smul, ← mul_assoc, RCLike.mul_conj, h_norm] | |
| 588 | + rw [h_integral, classIntegral_eq_inv_smul_classSum h_left h_right levelOf_le_stdLevel] | |
| 589 | + simp [f, Rat.smul_def, map_classSum] | |
| 590 | + | |
| 591 | +/-- The pairing `innerAt σ` is Hermitian for the conjugation `σ⁻¹ ∘ conj ∘ σ`. -/ | |
| 592 | +lemma LevelForm.conj_innerAt : σ⁻¹ (conj (σ (φ'.innerAt σ φ))) = φ.innerAt σ φ' := by | |
| 593 | + -- The Gram matrix is Hermitian. | |
| 594 | + simp [innerAt_eq_stdClassSum, starRingEnd_apply, map_classSum, gramForm_apply, | |
| 595 | + weylGramOver_posDef.1.star_dotProduct_mulVec_comm] | |
| 596 | + | |
| 597 | +/-- The pairing `innerAt σ` is definite: a form whose pairing with itself is zero is zero. -/ | |
| 598 | +lemma LevelForm.eq_zero_of_innerAt_self (h_zero : φ.innerAt σ φ = 0) : φ = 0 := by | |
| 599 | + -- A form is determined by its values at the representatives of the classes; if `φ` did not | |
| 600 | + -- vanish at one of them, the class sum would be positive. | |
| 601 | + suffices h_out : ∀ c : StdClasses (levelOf S.placeAt H), φ c.out = 0 from | |
| 602 | + levelSpace_ext_doubleCosets Quot.out_eq h_out | |
| 603 | + by_contra! ⟨c, hc⟩ | |
| 604 | + rw [innerAt_eq_stdClassSum, map_eq_zero] at h_zero | |
| 605 | + have h_nonneg (g : Gf E n) : 0 ≤ gramForm (σ ∘ φ g) (σ ∘ φ g) := | |
| 606 | + weylGramOver_posDef.posSemidef.dotProduct_mulVec_nonneg _ | |
| 607 | + have hc_ne : σ ∘ φ c.out ≠ 0 := by simpa [_root_.funext_iff] using hc | |
| 608 | + exact (classSum_pos h_nonneg (weylGramOver_posDef.dotProduct_mulVec_pos hc_ne)).ne' h_zero | |
| 609 | + | |
| 610 | +instance : NormedAddCommGroup (S.LevelForm H χ κ e) := | |
| 611 | + InnerProductSpace.Core.toNormedAddCommGroup | |
| 612 | + (cd := | |
| 613 | + { inner := (·.innerAt 1) | |
| 614 | + conj_inner_symm := LevelForm.conj_innerAt 1 | |
| 615 | + re_inner_nonneg := fun φ ↦ by | |
| 616 | + have h_class : RCLike.re (φ.innerAt 1 φ) = | |
| 617 | + classSum stdRatPoints (levelOf S.placeAt H) fun g : Gf E n ↦ weylNormSq (φ g) := by | |
| 618 | + simp [LevelForm.innerAt_eq_stdClassSum, ← Complex.reLm_coe, map_classSum, | |
| 619 | + gramForm_apply, weylNormSq] | |
| 620 | + rw [h_class, classSum, finsum_eq_sum_of_fintype] | |
| 621 | + exact sum_nonneg fun c _ ↦ by simp [Rat.smul_def, mul_nonneg] | |
| 622 | + add_left := by simp | |
| 623 | + smul_left := by simp | |
| 624 | + definite := LevelForm.eq_zero_of_innerAt_self 1 }) | |
| 625 | + | |
| 626 | +instance : InnerProductSpace ℂ (S.LevelForm H χ κ e) := .ofCore _ | |
| 627 | + | |
| 628 | +/-- The inner product of two forms is the class sum, at the level cut out by `H`, of the Gram | |
| 629 | +pairings of their values. -/ | |
| 630 | +lemma LevelForm.inner_eq_stdClassSum : | |
| 631 | + inner ℂ φ φ' = stdClassSum (levelOf S.placeAt H) fun g : Gf E n ↦ gramForm (φ g) (φ' g) := | |
| 632 | + -- by definition the inner product is `innerAt 1` | |
| 633 | + innerAt_eq_stdClassSum 1 φ φ' | |
| 634 | + | |
| 635 | +instance : FiniteDimensional ℂ (S.LevelForm H χ κ e) := finite_levelSpace_smoothFormRep | |
| 636 | + | |
| 637 | +/-- The character `χ` of the finite group `H`, read on the level, has values of finite order. -/ | |
| 638 | +lemma isOfFinOrder_level_char (k : levelOf S.placeAt H) : | |
| 639 | + IsOfFinOrder (χ.comp (levelOf.reduction S.placeAt H) k) := | |
| 640 | + χ.isOfFinOrder (isMulTorsion_of_finite _) | |
| 641 | + | |
| 642 | +variable {E : Type} [Field E] [NumberField E] [IsCMField E] {S : LevelPlaces E} | |
| 643 | + {H : Subgroup (∀ i : S.ChosenIndex ⊕ S.TwistIndex, GL n (ResField (S.placeAt i)))} {χ : H →* ℂ} in | |
| 644 | +instance : Fact (χ.comp (levelOf.reduction S.placeAt H) =ᶠ[nhds 1] 1) := by | |
| 645 | + -- The character is trivial on the open level of the trivial subgroup. | |
| 646 | + refine ⟨.mono (((isOpen_levelOf (w := S.placeAt) (H := ⊥)).preimage | |
| 647 | + continuous_subtypeVal).mem_nhds (by simp)) fun k hk ↦ ?_⟩ | |
| 648 | + simp [show levelOf.reduction S.placeAt H k = 1 from Subtype.ext (mem_levelOf.mp hk).2] | |
| 649 | + | |
| 650 | +/-- Let φ, ψ be forms of the level cut out by H, σ ∈ Aut ℂ, p a permutation of the infinite places | |
| 651 | +carrying the diagrams κ of φ to those of ψ, and write p also for the induced bijection of the | |
| 652 | +coordinate indices. If for all g, i we have σ(φ(g)_i) = c·a(g)·ψ(g)_{p i}, | |
| 653 | +conj σ(conj φ(g)_i) = c'·a'(g)·ψ(g)_{p i} and a(g)·conj a'(g) = 1, then | |
| 654 | +σ⟨φ, φ⟩ = conj(c')·c·⟨ψ, ψ⟩. -/ | |
| 655 | +lemma map_inner_self_eq {χ' : H →* ℂ} {e' : InfinitePlace E → ℤ} | |
| 656 | + {p : InfinitePlace E ≃ InfinitePlace E} {c c' : ℂ} | |
| 657 | + {ψ : S.LevelForm H χ' (fun τ : InfinitePlace E ↦ κ (p.symm τ)) e'} {a a' : Gf E n → ℂ} | |
| 658 | + (hφ : ∀ (g : Gf E n) (i : WeylIndex n κ), σ (φ g i) = c * a g * ψ g (p.piCongrLeft' _ i)) | |
| 659 | + (hφ_star : ∀ (g : Gf E n) (i : WeylIndex n κ), | |
| 660 | + star (σ (star (φ g i))) = c' * a' g * ψ g (p.piCongrLeft' _ i)) | |
| 661 | + (ha : ∀ g : Gf E n, a g * star (a' g) = 1) : | |
| 662 | + σ (inner ℂ φ φ) = star c' * c * inner ℂ ψ ψ := by | |
| 663 | + set f : WeylIndex n κ ≃ WeylIndex n fun τ : InfinitePlace E ↦ κ (p.symm τ) := p.piCongrLeft' _ | |
| 664 | + -- Expand both class sums in coordinates, reindexed by `f`, which preserves the Gram matrix; | |
| 665 | + -- the factors `a g` and `star (a' g)` cancel. | |
| 666 | + have h_star (g : Gf E n) (i : WeylIndex n κ) : | |
| 667 | + σ (conj (φ g i)) = conj c' * conj (a' g) * conj (ψ g (f i)) := by | |
| 668 | + simpa [f] using congrArg star (hφ_star g i) | |
| 669 | + have h_gram (g : Gf E n) : | |
| 670 | + σ (gramForm (φ g) (φ g)) = star c' * c * gramForm (ψ g) (ψ g) := by | |
| 671 | + simp only [gramForm_apply, dotProduct, mulVec, mul_sum, reindex_equiv f, map_sum, map_mul, | |
| 672 | + map_intCast, Matrix.map_apply, Pi.star_apply, RCLike.star_def, | |
| 673 | + weylGram_eq_submatrix κ p, Matrix.submatrix_apply, hφ, h_star] | |
| 674 | + refine sum_congr rfl fun x _ ↦ sum_congr rfl fun y _ ↦ ?_ | |
| 675 | + have ha_conj : a g * conj (a' g) = 1 := ha g | |
| 676 | + linear_combination (conj c' * c * conj (ψ g (f x)) * | |
| 677 | + (weylGram (fun _ ↦ n) (fun τ ↦ κ (p.symm τ)) (f x) (f y) : ℂ) * ψ g (f y)) * ha_conj | |
| 678 | + simp_rw [LevelForm.inner_eq_stdClassSum, map_classSum, mul_classSum, h_gram] | |
| 679 | + | |
| 680 | +end InnerProduct | |
| 681 | + | |
| 682 | +namespace LevelForm | |
| 683 | + | |
| 684 | +section Sizes | |
| 685 | + | |
| 686 | +variable (φ φ' : S.LevelForm H χ κ e) (σ : ℂ ≃+* ℂ) {l : ℕ} [Fact l.Prime] (j : PadicPlace l) | |
| 687 | + | |
| 688 | +/-! ### Archimedean and l-adic sizes of inner products -/ | |
| 689 | + | |
| 690 | +/-- For σ ∈ Aut ℂ, the number ‖φ‖²_σ: the class sum of the squared Gram norms of the vectors | |
| 691 | +σ(φ(g)). -/ | |
| 692 | +def normSqAt : ℝ := | |
| 693 | + classSum stdRatPoints (levelOf S.placeAt H) fun g : Gf E n ↦ weylNormSq (σ ∘ φ g) | |
| 694 | + | |
| 695 | +/-- Multiplying a level form by `c` scales its squared norm at `σ` by `‖σ c‖ ^ 2`. -/ | |
| 696 | +lemma normSqAt_smul (c : ℂ) (φ : S.LevelForm H χ κ e) (σ : ℂ ≃+* ℂ) : | |
| 697 | + (c • φ).normSqAt σ = ‖σ c‖ ^ 2 * φ.normSqAt σ := by | |
| 698 | + rw [normSqAt, normSqAt, mul_classSum] | |
| 699 | + exact congrArg _ (funext fun g ↦ weylNormSq_comp_smul (φ g) σ c) | |
| 700 | + | |
| 701 | +/-- Cauchy–Schwarz for conjugates: for forms φ, φ' of one level and σ ∈ Aut ℂ, we have |σ⟨φ', | |
| 702 | +φ⟩| ≤ ‖φ‖_σ·‖φ'‖_{σ'}, where σ' = conj ∘ σ ∘ conj and ‖φ‖²_σ = `φ.normSqAt σ` is the class sum of | |
| 703 | +the squared Gram norms of the vectors σ(φ(g)). This is `New.norm_map_stdClassSum_gramForm_le` for | |
| 704 | +the values of the two forms. -/ | |
| 705 | +lemma norm_map_inner_le : | |
| 706 | + ‖σ (inner ℂ φ' φ)‖ ≤ | |
| 707 | + √(φ.normSqAt σ) * √(φ'.normSqAt ((starRingAut.trans σ).trans starRingAut)) := by | |
| 708 | + rw [inner_eq_stdClassSum, mul_comm] | |
| 709 | + exact norm_map_stdClassSum_gramForm_le (levelOf S.placeAt H) σ φ' φ | |
| 710 | + | |
| 711 | +/-- Let `ρ` be the representation `New.weylRep κ e` and `G` the Gram matrix of weight `κ`. Then | |
| 712 | +`G ρ(a) = ρ(aᵀ)ᵀ G`: the matrices of `a` and of its transpose are adjoint for `G`. -/ | |
| 713 | +lemma _root_.New.weylGramOver_mul_weylRep {Φ R : Type} [CommRing R] | |
| 714 | + [Fintype Φ] [DecidableEq Φ] {κ : Φ → ℕ → ℕ} (e : Φ → ℤ) (a : Φ → GL n R) : | |
| 715 | + (weylGramOver : Matrix (WeylIndex n κ) (WeylIndex n κ) R) * weylRep κ e a = | |
| 716 | + (weylRep κ e fun τ : Φ ↦ transposeGL (a τ))ᵀ * weylGramOver := by | |
| 717 | + -- The transpose keeps the determinants; for the Schur matrices this is `weylGramOver_mul_schur`. | |
| 718 | + have h_det (τ : Φ) : GeneralLinearGroup.det (transposeGL (a τ)) = GeneralLinearGroup.det (a τ) := | |
| 719 | + Units.ext (det_transpose _) | |
| 720 | + simp [weylRep, Units.smul_def, h_det, weylGramOver_mul_schur] | |
| 721 | + | |
| 722 | +/-- For a unitary point `g` and `j : ℂ → ℂ_l`, the component of `g⁻¹` at the embedding of `E` | |
| 723 | +induced by `j ∘ conj` at the infinite place `τ` is the transpose of the component of `g` at the one | |
| 724 | +induced by `j`. -/ | |
| 725 | +lemma _root_.New.map_inv_weightEmbedding_comp_conj (g : Gf E n) (τ : InfinitePlace E) : | |
| 726 | + GeneralLinearGroup.map (adeleExtension (weightEmbedding (j.ιₚ.comp conj) τ)) g⁻¹.val = | |
| 727 | + transposeGL (GeneralLinearGroup.map (adeleExtension (weightEmbedding j.ιₚ τ)) g.val) := by | |
| 728 | + have h_conj : (weightEmbedding (E := E) (j.ιₚ.comp conj) τ).comp conj = weightEmbedding j.ιₚ τ := | |
| 729 | + RingHom.ext (by simp [starRingEnd_apply (R := E)]) | |
| 730 | + ext i k | |
| 731 | + -- state the entries; as `g` is unitary, those of `g⁻¹` are the conjugates of those of `gᵀ` | |
| 732 | + change adeleExtension _ (g⁻¹.val.val i k) = adeleExtension _ (g.val.val k i) | |
| 733 | + rw [U.inv_val_eq_conjTranspose, conjTranspose_apply, adeleExtension_star, h_conj] | |
| 734 | + | |
| 735 | +/-- Let `j : ℂ → ℂ_l`. If `u` has gauge at most 1 at `g` for `j ∘ conj`, and `v` has gauge at most 1 | |
| 736 | +at `g` for `j`, then the Gram pairing of `u` and `v` lies in the valuation ring `embValRing` of `j`. | |
| 737 | +-/ | |
| 738 | +lemma _root_.New.gramForm_mem_embValRing {g : Gf E n} {u v : WeylIndex n κ → ℂ} | |
| 739 | + (hu : weylGauge (ι := j.conj) κ e g u ≤ 1) | |
| 740 | + (hv : weylGauge (ι := j) κ e g v ≤ 1) : gramForm (n := n) u v ∈ embValRing (ι := j) := by | |
| 741 | + -- For `j ∘ conj` the point `g⁻¹` acts by the transposes of the matrices `a τ` of `g` at `j`, and | |
| 742 | + -- a matrix and its transpose are adjoint for the integral Gram matrix `G`. | |
| 743 | + let a (τ : InfinitePlace E) : GL n ℂ_[l] := | |
| 744 | + GeneralLinearGroup.map (adeleExtension (weightEmbedding j.ιₚ τ)) g.val | |
| 745 | + let G : Matrix (WeylIndex n κ) (WeylIndex n κ) ℂ_[l] := weylGramOver | |
| 746 | + let x : WeylIndex n κ → ℂ_[l] := | |
| 747 | + weylRep κ e (fun τ ↦ transposeGL (a τ)) *ᵥ j.ιₚ.comp conj ∘ u | |
| 748 | + let y : WeylIndex n κ → ℂ_[l] := weylRep κ e a⁻¹ *ᵥ j.ιₚ ∘ v | |
| 749 | + have hx : ‖x‖ ≤ 1 := by | |
| 750 | + change weylGauge (ι := ⟨j.ιₚ.comp conj⟩) κ e g u ≤ 1 at hu | |
| 751 | + simpa only [weylGauge, map_inv_weightEmbedding_comp_conj, x, a] using hu | |
| 752 | + have hy : ‖y‖ ≤ 1 := by simpa [weylGauge, a, y, Pi.inv_def] using hv | |
| 753 | + -- The two matrices cancel in the pairing, because they are adjoint for `G`. | |
| 754 | + have h_pairing : x ⬝ᵥ G *ᵥ y = j.ιₚ (gramForm u v) := | |
| 755 | + calc x ⬝ᵥ G *ᵥ y | |
| 756 | + _ = (j.ιₚ.comp conj ∘ u) ⬝ᵥ | |
| 757 | + ((weylRep κ e fun τ ↦ transposeGL (a τ))ᵀ * G * weylRep κ e a⁻¹) *ᵥ (j.ιₚ ∘ v) := by | |
| 758 | + simp [x, y, ← vecMul_transpose, ← dotProduct_mulVec, Matrix.mul_assoc] | |
| 759 | + _ = (j.ιₚ.comp conj ∘ u) ⬝ᵥ G *ᵥ (j.ιₚ ∘ v) := by | |
| 760 | + rw [← weylGramOver_mul_weylRep, Matrix.mul_assoc, ← map_mul, mul_inv_cancel, map_one, | |
| 761 | + mul_one] | |
| 762 | + -- `j` passes through the pairing, since `G` has integer entries. | |
| 763 | + _ = j.ιₚ (gramForm u v) := by simp [G, gramForm_apply, dotProduct, mulVec] | |
| 764 | + -- The vectors `x`, `y` and the Gram matrix have integral entries. | |
| 765 | + change j.ιₚ (gramForm u v) ∈ NormedField.valuation.integer | |
| 766 | + rw [← h_pairing] | |
| 767 | + exact sum_mem fun i _ ↦ mul_mem ((norm_le_pi_norm x i).trans hx) | |
| 768 | + (sum_mem fun k _ ↦ mul_mem (by simp [G]) ((norm_le_pi_norm y k).trans hy)) | |
| 769 | + | |
| 770 | +/-- The forms integral at j : ℂ → ℂ_l: the module, over the valuation ring `New.embValRing` of j, of | |
| 771 | +the forms φ whose value φ(g) has gauge `New.weylGauge` at most 1 for every g. -/ | |
| 772 | +def integralForms : Submodule embValRing (S.LevelForm H χ κ e) := | |
| 773 | + -- the preimage of `integralFormsAt ⊤ 1` under `toSmoothForm`, with a plainer carrier | |
| 774 | + Submodule.copy ((integralFormsAt ⊤ 1).comap (toSmoothForm.restrictScalars embValRing)) | |
| 775 | + {φ : S.LevelForm H χ κ e | ∀ g : Gf E n, weylGauge κ e g (φ g) ≤ 1} (by | |
| 776 | + ext φ | |
| 777 | + change _ ↔ True ∧ ∀ g : Gf E n, weylGauge κ e (g * 1) (φ g) ≤ 1 | |
| 778 | + simp) | |
| 779 | + | |
| 780 | +/-- Let `j` be an `l`-adic place of ℂ, a ring map `j.ιₚ : ℂ → ℂ_l`. Let A be divisible by the orders | |
| 781 | +of all stabilisers `classAut` Γ ∩ gKg⁻¹ of the rational points U_n(E) at the level | |
| 782 | +K = `levelOf S.placeAt H`. If the level form φ is integral at j ∘ conj and φ' is integral at j | |
| 783 | +(their values have gauge `weylGauge` at most 1), then |j(A·⟨φ, φ'⟩)| ≤ 1. -/ | |
| 784 | +lemma norm_nsmul_inner_le_one {A : ℕ} | |
| 785 | + (hA : ∀ g : Gf E n, Nat.card (classAut stdRatPoints (levelOf S.placeAt H) g) ∣ A) | |
| 786 | + (hφ : φ ∈ integralForms j.conj) (hφ' : φ' ∈ integralForms j) : | |
| 787 | + ‖j.ιₚ (A • inner ℂ φ φ')‖ ≤ 1 := by | |
| 788 | + -- Every term of the class sum is integral, and `A` clears the weights `1 / #classAut`. | |
| 789 | + rw [inner_eq_stdClassSum] | |
| 790 | + exact smul_classSum_mem (embValRing (ι := j)) hA fun g ↦ | |
| 791 | + gramForm_mem_embValRing j (hφ g) (hφ' g) | |
| 792 | + | |
| 793 | +end Sizes | |
| 794 | + | |
| 795 | +/-! ### Coordinates of a form -/ | |
| 796 | + | |
| 797 | +/-- The index set of the coordinates of a form: pairs of a class and an index of the standard basis | |
| 798 | +of the Weyl module. -/ | |
| 799 | +abbrev ValueIndex (H : Subgroup (∀ i : S.ChosenIndex ⊕ S.TwistIndex, GL n (ResField (S.placeAt i)))) | |
| 800 | + (κ : InfinitePlace E → ℕ → ℕ) : Type := | |
| 801 | + StdClasses (levelOf S.placeAt H) × WeylIndex n κ | |
| 802 | + | |
| 803 | +/-- The coordinates of the values of a form at fixed representatives of the classes. -/ | |
| 804 | +def valueCoord : S.LevelForm H χ κ e →ₗ[ℂ] ValueIndex H κ → ℂ := | |
| 805 | + LinearMap.pi fun i ↦ LinearMap.proj i.2 ∘ₗ Rows.evalForm i.1.out | |
| 806 | + | |
| 807 | +open scoped Classical Kronecker in | |
| 808 | +/-- The block diagonal matrix with one copy of the Gram matrix of the Weyl module for each class. -/ | |
| 809 | +def valueMetric (H : Subgroup (∀ i : S.ChosenIndex ⊕ S.TwistIndex, GL n (ResField (S.placeAt i)))) | |
| 810 | + (κ : InfinitePlace E → ℕ → ℕ) : Matrix (ValueIndex H κ) (ValueIndex H κ) ℚ := | |
| 811 | + 1 ⊗ₖ weylGramOver | |
| 812 | + | |
| 813 | +open scoped Classical Kronecker in | |
| 814 | +/-- Over `ℂ`, `valueMetric` is the Kronecker product of the identity and the Gram matrix. -/ | |
| 815 | +lemma map_valueMetric : | |
| 816 | + ((valueMetric H κ).map (↑) : Matrix (ValueIndex H κ) (ValueIndex H κ) ℂ) = | |
| 817 | + 1 ⊗ₖ weylGramOver := by | |
| 818 | + ext i k | |
| 819 | + simp [valueMetric, Matrix.one_apply, apply_ite (Rat.cast : ℚ → ℂ)] | |
| 820 | + | |
| 821 | +/-- Shows that the complexification of `valueMetric H κ` is positive definite. -/ | |
| 822 | +lemma posDef_valueMetric : | |
| 823 | + ((valueMetric H κ).map (↑) : Matrix (ValueIndex H κ) (ValueIndex H κ) ℂ).PosDef := by | |
| 824 | + classical | |
| 825 | + simpa [map_valueMetric] using PosDef.one.kronecker weylGramOver_posDef | |
| 826 | + | |
| 827 | +/-- If the classes have no nontrivial automorphisms, then the class sum of the Gram pairings of the | |
| 828 | +values conjugated by σ is the pairing of the conjugated coordinates for `valueMetric`. -/ | |
| 829 | +lemma stdClassSum_gramForm_eq | |
| 830 | + (h_free : ∀ g : Gf E n, classAut stdRatPoints (levelOf S.placeAt H) g = ⊥) (σ : ℂ ≃+* ℂ) | |
| 831 | + (φ φ' : S.LevelForm H χ κ e) : | |
| 832 | + (stdClassSum (levelOf S.placeAt H) fun g : Gf E n ↦ gramForm (σ ∘ φ g) (σ ∘ φ' g)) = | |
| 833 | + star (σ ∘ valueCoord φ) ⬝ᵥ (valueMetric H κ).map (↑) *ᵥ (σ ∘ valueCoord φ') := by | |
| 834 | + -- Each class has weight one, and the Gram matrix acts on each class block by itself. | |
| 835 | + classical | |
| 836 | + rw [map_valueMetric, stdClassSum, classSum, finsum_eq_sum_of_fintype, dotProduct, | |
| 837 | + Fintype.sum_prod_type] | |
| 838 | + refine sum_congr rfl fun c _ ↦ ?_ | |
| 839 | + have h_apply (ψ : S.LevelForm H χ κ e) (i) : valueCoord ψ (c, i) = ψ c.out i := rfl | |
| 840 | + simp [h_free, Fintype.sum_prod_type, h_apply, Matrix.one_apply, gramForm_apply, dotProduct, | |
| 841 | + mulVec] | |
| 842 | + | |
| 843 | +/-- If the classes have no nontrivial automorphisms, then the inner product of forms has the block | |
| 844 | +Gram matrix `valueMetric` in the coordinates `valueCoord` (the values at representatives of the | |
| 845 | +classes). -/ | |
| 846 | +lemma inner_eq_valueCoord | |
| 847 | + (h_free : ∀ g : Gf E n, classAut stdRatPoints (levelOf S.placeAt H) g = ⊥) | |
| 848 | + (φ φ' : S.LevelForm H χ κ e) : | |
| 849 | + inner ℂ φ φ' = star (valueCoord φ) ⬝ᵥ (valueMetric H κ).map (↑) *ᵥ valueCoord φ' := by | |
| 850 | + simpa [inner_eq_stdClassSum] using stdClassSum_gramForm_eq h_free 1 φ φ' | |
| 851 | + | |
| 852 | +/-- If the classes have no nontrivial automorphisms, then ‖φ‖²_σ is the squared norm of the | |
| 853 | +conjugated coordinates for `valueMetric`. -/ | |
| 854 | +lemma normSqAt_eq_re_valueCoord | |
| 855 | + (h_free : ∀ g : Gf E n, classAut stdRatPoints (levelOf S.placeAt H) g = ⊥) (σ : ℂ ≃+* ℂ) | |
| 856 | + (φ : S.LevelForm H χ κ e) : | |
| 857 | + φ.normSqAt σ = | |
| 858 | + (star (σ ∘ valueCoord φ) ⬝ᵥ (valueMetric H κ).map (↑) *ᵥ (σ ∘ valueCoord φ)).re := by | |
| 859 | + rw [← stdClassSum_gramForm_eq h_free, ← Complex.reLm_coe, map_classSum] | |
| 860 | + simp [normSqAt, weylNormSq, gramForm_apply] | |
| 861 | + | |
| 862 | +end LevelForm | |
| 863 | + | |
| 864 | +end LevelPlaces | |
| 865 | + | |
| 866 | +end New | |
| 867 | + | |
| 868 | +/-! | |
| 869 | +## Integrality and size of class sums | |
| 870 | + | |
| 871 | +Arithmetic of class sums `New.classSum Γ K f = ∑ f g / #Aut g` over `Γ \ G / K`, for functions with | |
| 872 | +values in a weight module `New.WeylIndex V κ → ℂ`. | |
| 873 | +-/ | |
| 874 | + | |
| 875 | +namespace New.Rows | |
| 876 | + | |
| 877 | +open NumberField HasFiniteType Nat | |
| 878 | + | |
| 879 | +variable {E V : Type} [Field E] [CMType E] [Fintype V] [DecidableEq V] {p : ℕ} [Fact p.Prime] | |
| 880 | + {κ : InfinitePlace E → ℕ → ℕ} {G : Type*} [Group G] [TopologicalSpace G] {Γ K : Subgroup G} | |
| 881 | + [HasFiniteType Γ K] {B : ℝ} {f : G → WeylIndex V κ → ℂ} | |
| 882 | + | |
| 883 | +/-- The gauge satisfies the ultrametric inequality. -/ | |
| 884 | +lemma weylGauge_add_le_max (g : Gf E V) {e : InfinitePlace E → ℤ} [PadicPlace p] | |
| 885 | + (ξ η : WeylIndex V κ → ℂ) : | |
| 886 | + weylGauge κ e g (ξ + η) ≤ max (weylGauge κ e g ξ) (weylGauge κ e g η) := by | |
| 887 | + simpa [weylGauge, Matrix.mulVec_add] using IsUltrametricDist.norm_add_le_max _ _ | |
| 888 | + | |
| 889 | +/-- If every `c • f x` has gauge at most one at `g` and `A` is divisible by the orders of all | |
| 890 | +stabilisers `classAut Γ K x`, then `A * c` times the class sum of `f` has gauge at most one at | |
| 891 | +`g`. -/ | |
| 892 | +lemma weylGauge_classSum_le_one (g : Gf E V) {e : InfinitePlace E → ℤ} {A : ℕ} [PadicPlace p] | |
| 893 | + (hA : ∀ x : G, Nat.card (classAut Γ K x) ∣ A) {c : ℂ} | |
| 894 | + (hf : ∀ x : G, weylGauge κ e g (c • f x) ≤ 1) : | |
| 895 | + weylGauge κ e g ((A * c) • classSum Γ K f) ≤ 1 := by | |
| 896 | + -- The vectors `ξ` with `c • ξ` of gauge at most one form an additive submonoid, because the | |
| 897 | + -- gauge is ultrametric, and `A` clears the denominators of the class sum (`smul_classSum_mem`). | |
| 898 | + let S : AddSubmonoid (WeylIndex V κ → ℂ) := | |
| 899 | + { carrier := {ξ | weylGauge κ e g (c • ξ) ≤ 1} | |
| 900 | + add_mem' := fun {ξ η} hξ hη ↦ by | |
| 901 | + simpa [smul_add] using (weylGauge_add_le_max g (c • ξ) (c • η)).trans (max_le hξ hη) | |
| 902 | + zero_mem' := by simp [weylGauge] } | |
| 903 | + rw [mul_comm, mul_smul, cast_smul_eq_nsmul] | |
| 904 | + exact smul_classSum_mem S hA hf | |
| 905 | + | |
| 906 | +/-- If the conjugate by `σ` of every `f x` has norm at most `B`, that of the class sum of `f` has | |
| 907 | +norm at most `B` times the number of double cosets. -/ | |
| 908 | +lemma sqrt_weylNormSq_classSum_le (σ : ℂ ≃+* ℂ) (hf : ∀ x : G, √(weylNormSq (σ ∘ f x)) ≤ B) : | |
| 909 | + √(weylNormSq (σ ∘ classSum Γ K f)) ≤ Nat.card (DoubleCosets Γ K) * B := by | |
| 910 | + -- Triangle inequality over the classes; the rational weight `1 / #classAut` is fixed by `σ`, | |
| 911 | + -- comes out of the norm as a factor, and is at most one. | |
| 912 | + calc | |
| 913 | + _ ≤ ∑ c : DoubleCosets Γ K, | |
| 914 | + (Nat.card (classAut Γ K c.out) : ℝ)⁻¹ * √(weylNormSq (σ ∘ f c.out)) := by | |
| 915 | + grw [classSum, finsum_eq_sum_of_fintype, sqrt_weylNormSq_sum_le] | |
| 916 | + simp [← algebraMap_smul ℂ] | |
| 917 | + _ ≤ ∑ _ : DoubleCosets Γ K, 1 * B := by grw [cast_inv_le_one, hf] | |
| 918 | + _ = _ := by simp | |
| 919 | + | |
| 920 | +end New.Rows | |
| 921 | + | |
| 922 | +end | |
+727 −0 src/Lib/Adelic/AutomorphicForms/RealConvolution.lean added View file
| @@ -0,0 +1,727 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import Mathlib.Topology.ContinuousMap.CompactlySupported | |
| 4 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 5 | +import Mathlib.MeasureTheory.Integral.CompactlySupported | |
| 6 | +import Mathlib.MeasureTheory.Integral.Pi | |
| 7 | +import Mathlib.MeasureTheory.Measure.RegularityCompacts | |
| 8 | +import Mathlib.Tactic.Monotonicity.Lemmas | |
| 9 | +import TauCeti.Topology.Algebra.Group.Units | |
| 10 | +import TauCeti.Topology.Instances.Matrix | |
| 11 | +public import Lib.Adelic.AutomorphicForms.Basic | |
| 12 | +public import Lib.DiscreteSeries.FlenstedJensen.RightDerivatives | |
| 13 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 14 | +import Lib.Adelic.QuotientMeasure.IwasawaUnfolding | |
| 15 | +import Lib.Adelic.Reduction.DefiniteClassSums | |
| 16 | +import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes | |
| 17 | +import Lib.DiscreteSeries.Rigidity.KernelFixes | |
| 18 | + | |
| 19 | +/-! | |
| 20 | +# Convolution over real points, cusp kernels, the Petersson product and Poincaré series | |
| 21 | + | |
| 22 | +Let G = G_∞ × G_f be the adelic unitary group, and let R(α)F(g) = ∫ α(x) F(gx) dx over G_∞ be right | |
| 23 | +convolution over the real points (`New.realConv`). For integrable α, R(α) preserves bounded | |
| 24 | +automorphic functions, and convolving with an idempotent kernel e produces forms of type e. The | |
| 25 | +product of discrete series kernels over the infinite places is a cusp kernel under a gap condition. | |
| 26 | +For the Petersson product, right translation is unitary, and a cusp kernel e projects every real | |
| 27 | +translate of a form of type e to a multiple of it. A bounded Poincaré series, projected term by | |
| 28 | +term, is a form. | |
| 29 | + | |
| 30 | +## Main definitions and results | |
| 31 | + | |
| 32 | +* `New.continuous_realConv`, `New.Space.isAutomorphic_realConv`: for integrable α, R(α)F is | |
| 33 | + continuous when F is bounded, measurable and has an open level, and it is automorphic and bounded | |
| 34 | + when F is also invariant under the rational points. | |
| 35 | +* `New.Space.exists_form_eq_realConv`: convolving with an idempotent kernel gives a form of type e. | |
| 36 | +* `New.IsCuspKernel`: minimal idempotents e on G_∞ with a moment of order B + 1 and decay of order | |
| 37 | + B, and with α ∗ e = e for some continuous compactly supported α. | |
| 38 | +* `New.isCuspKernel_typeKernel`: the product kernel `New.typeKernel` over the infinite places is | |
| 39 | + such a kernel when the parameters satisfy a gap condition. | |
| 40 | +* `New.Space.IsForm.realConv_translate`, `New.Space.IsForm.petersson_real_translate`: `e` projects | |
| 41 | + each real translate of a form to a multiple of the form. | |
| 42 | +* `New.Space.exists_form_eq_tsum_of_fixesLeft`: if an absolutely bounded sum of measurable functions | |
| 43 | + is left invariant under `V.Γ` and has level `K`, projecting each term by R(e) gives a form of type | |
| 44 | + `e`; `New.Space.exists_form_eq_tsum` is the case of a sum over `V.Γ` of translates of one | |
| 45 | + function. `New.levelSpace (V.formRep e) K` is the space of forms of type `e` fixed by the open | |
| 46 | + subgroup `K` of the finite points. | |
| 47 | +* `New.Space.exists_kernel_form_of_bump` constructs the level kernel from a compactly supported | |
| 48 | + bump that reproduces the real kernel. `New.Space.exists_kernel_form` gives the cusp-kernel case. | |
| 49 | + | |
| 50 | +Notions from other files: | |
| 51 | +* `New.Space.IsAutomorphic`: continuous, left invariant under the rational points `V.Γ`, and right | |
| 52 | + invariant under some open subgroup of G_f. | |
| 53 | +* `New.HCParam.dsKernel`: for a parameter l = 2λ, the function e_λ on U(diag s), the formal degree | |
| 54 | + times the conjugate of the discrete series coefficient c_λ (`New.HCParam.dsCoeff`). | |
| 55 | +* `New.IsIdempotentKernel` (part of `New.IsCuspKernel`): e is continuous and integrable, e(g⁻¹) is | |
| 56 | + the conjugate of e(g), e(1) ≠ 0, and ∫ e(z)e(x⁻¹z⁻¹y) dz = e(x⁻¹)e(y)/e(1). | |
| 57 | +* `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx | |
| 58 | + equal to diag(s) at the infinite places and 1 at the finite places. | |
| 59 | +* `New.Space.quotMeasure`: the measure on `G` that computes integrals over `Γ \ G`. | |
| 60 | + | |
| 61 | +## Relation to the literature | |
| 62 | + | |
| 63 | +Known result: convolution over real points, cusp kernels, the Petersson product and Poincaré series | |
| 64 | +projected to forms, from the theory of cusp forms. For sources see | |
| 65 | +`Lib.Adelic.AutomorphicForms.Cuspidality`. | |
| 66 | +-/ | |
| 67 | + | |
| 68 | +@[expose] public section | |
| 69 | + | |
| 70 | +/-! ## Convolution over the real points; cusp kernels -/ | |
| 71 | + | |
| 72 | +section RealConvolution | |
| 73 | + | |
| 74 | +open MeasureTheory Finset Matrix.Norms.L2Operator CompactlySupported Asymptotics | |
| 75 | + | |
| 76 | +namespace New | |
| 77 | + | |
| 78 | +variable {E n : Type _} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 79 | + {s : n → ℤˣ} {V : Space E n s} {F : G E s → ℂ} {α : GInf E s → ℂ} | |
| 80 | + | |
| 81 | +/-- For a bump function α_w on U(diag s) at each infinite place w, the product x ↦ ∏_w α_w(x_w⁻¹), | |
| 82 | +as a continuous compactly supported function on G_∞. -/ | |
| 83 | +noncomputable def bumpProduct (α : NumberField.InfinitePlace E → DiscreteSeries.Bumps s) : | |
| 84 | + C_c(GInf E s, ℂ) where | |
| 85 | + toFun x := ∏ w : NumberField.InfinitePlace E, (α w).val.val (x w)⁻¹ | |
| 86 | + continuous_toFun := by fun_prop | |
| 87 | + hasCompactSupport' := HasCompactSupport.intro (isCompact_univ_pi fun w ↦ (α w).property.inv) | |
| 88 | + (fun x hx ↦ by | |
| 89 | + obtain ⟨w, hw⟩ := not_forall.1 fun h ↦ hx (Set.mem_univ_pi.2 h) | |
| 90 | + exact prod_eq_zero (mem_univ w) (image_eq_zero_of_notMem_tsupport hw)) | |
| 91 | + | |
| 92 | +/-- For `n` nonempty and `g` in G_∞, the product over the infinite places of the operator norms | |
| 93 | +‖g_w‖ is at least 1 and at least each of its factors. -/ | |
| 94 | +theorem le_prod_opNorm [Nonempty n] (g : GInf E s) : | |
| 95 | + 1 ≤ ∏ w : NumberField.InfinitePlace E, ‖(g w).val.val‖ ∧ | |
| 96 | + ∀ w : NumberField.InfinitePlace E, | |
| 97 | + ‖(g w).val.val‖ ≤ ∏ v : NumberField.InfinitePlace E, ‖(g v).val.val‖ := by | |
| 98 | + have h_one (v : NumberField.InfinitePlace E) : 1 ≤ ‖(g v).val.val‖ := U.one_le_norm (g v) | |
| 99 | + refine ⟨one_le_prod₀ fun v _ ↦ h_one v, fun w ↦ ?_⟩ | |
| 100 | + rw [← mul_prod_erase univ _ (mem_univ w)] | |
| 101 | + exact le_mul_of_one_le_right (norm_nonneg _) (one_le_prod₀ fun v _ ↦ h_one v) | |
| 102 | + | |
| 103 | +/-- A cusp kernel of order B on G_∞: a minimal idempotent e (`New.IsIdempotentKernel`) such that, | |
| 104 | +with ‖x‖ = ∏_w ‖x_w‖ for the operator norms, (a) ‖x‖^(B+1) e(x) is integrable, (b) α ∗ e = e for | |
| 105 | +some continuous compactly supported α, and (c) ‖x‖^B e(x) is bounded. -/ | |
| 106 | +structure IsCuspKernel (B : ℕ) (e : GInf E s → ℂ) extends IsIdempotentKernel e where | |
| 107 | + /-- Moment: |e(x)| ‖x‖ ^ (B + 1) is integrable, where ‖x‖ is the product over the infinite places | |
| 108 | + of the operator norms. -/ | |
| 109 | + integrable_moment : | |
| 110 | + Integrable fun x : GInf E s ↦ | |
| 111 | + ‖e x‖ * (∏ w : NumberField.InfinitePlace E, ‖(x w).val.val‖) ^ (B + 1) | |
| 112 | + /-- Some continuous compactly supported `α` reproduces `e` by convolution: α ∗ e = e. -/ | |
| 113 | + exists_bump : ∃ α : GInf E s →C_c ℂ, ∀ y : GInf E s, ∫ x : GInf E s, α x * e (x⁻¹ * y) = e y | |
| 114 | + /-- Decay of order `B`: |e(x)| ‖x‖ ^ B is bounded. -/ | |
| 115 | + decay : ∃ C : ℝ, ∀ x : GInf E s, | |
| 116 | + ‖e x‖ * (∏ w : NumberField.InfinitePlace E, ‖(x w).val.val‖) ^ B ≤ C | |
| 117 | + | |
| 118 | +/-- The complex conjugate of a cusp kernel of order `B` is a cusp kernel of order `B`. -/ | |
| 119 | +theorem IsCuspKernel.star {B : ℕ} {e : GInf E s → ℂ} (he : IsCuspKernel B e) : | |
| 120 | + IsCuspKernel B (star e) where | |
| 121 | + continuous := he.continuous.star | |
| 122 | + integrable := (starL' ℝ).integrable_comp_iff.2 he.integrable | |
| 123 | + apply_inv g := by simp [he.apply_inv] | |
| 124 | + apply_one_ne_zero := by simpa using he.apply_one_ne_zero | |
| 125 | + convolution_eq x y := by | |
| 126 | + simpa [← integral_conj] using congrArg (starRingEnd ℂ) (he.convolution_eq x y) | |
| 127 | + integrable_moment := by simpa using he.integrable_moment | |
| 128 | + exists_bump := he.exists_bump.elim fun α hα ↦ | |
| 129 | + -- Conjugate the equation `α ∗ e = e`. | |
| 130 | + ⟨Star.star α, fun y ↦ by simpa [← integral_conj] using congrArg (starRingEnd ℂ) (hα y)⟩ | |
| 131 | + decay := by simpa using he.decay | |
| 132 | + | |
| 133 | +/-- For n nonempty, suppose that at every infinite place w the integer vector l_w = 2λ_w, read by | |
| 134 | +`toHCParam` as a doubled parameter for the signs s, is a parameter with gap 500|n|³ + B | |
| 135 | +(`HasLargeGap B`). Then `New.typeKernel` l s, the product over the infinite places of the discrete | |
| 136 | +series kernels e_(l_w), is an idempotent kernel on G_∞. That is, it is continuous and integrable, | |
| 137 | +e(g⁻¹) = conj(e(g)), e(1) ≠ 0, and ∫ e(z) e(x⁻¹z⁻¹y) dz = e(x⁻¹) e(y) / e(1). -/ | |
| 138 | +theorem isIdempotentKernel_typeKernel [Nonempty n] {l : NumberField.InfinitePlace E → n → ℤ} | |
| 139 | + {B : ℕ} (h : ∀ w : NumberField.InfinitePlace E, (toHCParam s (l w)).HasLargeGap B) : | |
| 140 | + IsIdempotentKernel (typeKernel (E := E) l s) := by | |
| 141 | + -- Every property is the product over the infinite places of the property of `HCParam.dsKernel`. | |
| 142 | + have h_loc (w : NumberField.InfinitePlace E) : | |
| 143 | + IsIdempotentKernel (toHCParam s (l w)).dsKernel := (h w).isIdempotentKernel_dsKernel | |
| 144 | + exact | |
| 145 | + { continuous := by fun_prop | |
| 146 | + integrable := .fintype_prod fun w ↦ (h_loc w).integrable | |
| 147 | + apply_inv := by simp [typeKernel, ← (h_loc _).apply_inv] | |
| 148 | + apply_one_ne_zero := by simp [typeKernel, (h_loc _).apply_one_ne_zero, prod_eq_zero_iff] | |
| 149 | + convolution_eq := by simp [typeKernel, mul_assoc, ← prod_mul_distrib, ← prod_div_distrib, | |
| 150 | + ← integral_fintype_prod_volume_eq_prod, ← (h_loc _).convolution_eq] } | |
| 151 | + | |
| 152 | +/-- Let E be a CM field, n nonempty and s a family of signs. Suppose every l_w = 2λ_w is a | |
| 153 | +Harish-Chandra parameter whose entries λ_i, λ_j of different signs s are at least 500|n|³ + B apart. | |
| 154 | +Then `New.typeKernel` l s, the product over the infinite places of the discrete series kernels | |
| 155 | +e_(l_w), is a cusp kernel of order B: a minimal idempotent e on G_∞ such that, with ‖x‖ = ∏_w ‖x_w‖ | |
| 156 | +the product of operator norms, ‖x‖^(B+1) e(x) is integrable, α ∗ e = e for some continuous compactly | |
| 157 | +supported α, and ‖x‖^B e(x) is bounded. -/ | |
| 158 | +theorem isCuspKernel_typeKernel [Nonempty n] {l : NumberField.InfinitePlace E → n → ℤ} {B : ℕ} | |
| 159 | + (h : ∀ w : NumberField.InfinitePlace E, (toHCParam s (l w)).HasLargeGap B) : | |
| 160 | + IsCuspKernel B (typeKernel (E := E) l s) := by | |
| 161 | + -- The moment, the bump function and the decay bound are products of the local ones. | |
| 162 | + let e (w : NumberField.InfinitePlace E) : USign s → ℂ := (toHCParam s (l w)).dsKernel | |
| 163 | + have h_prod (x : GInf E s) : typeKernel l s x = ∏ w, e w (x w) := rfl | |
| 164 | + have h_moment : Integrable fun x : GInf E s ↦ | |
| 165 | + ‖typeKernel l s x‖ * (∏ w, ‖(x w).val.val‖) ^ (B + 1) := by | |
| 166 | + have h_loc : Integrable fun x : GInf E s ↦ | |
| 167 | + ∏ w, e w (x w) * (‖(x w).val.val‖ : ℂ) ^ (B + 1) := | |
| 168 | + -- `(… :)`: matching `∏ i, ?f i (x i)` against the statement would unfold the product | |
| 169 | + (Integrable.fintype_prod fun w ↦ (h w).integrable_dsKernel_mul_norm_pow (B + 1) le_rfl :) | |
| 170 | + simpa [h_prod, prod_mul_distrib, prod_pow] using h_loc.norm | |
| 171 | + have h_bump (w : NumberField.InfinitePlace E) : ∃ α : DiscreteSeries.Bumps s, | |
| 172 | + ∀ g : USign s, ∫ x : USign s, α.val.val x⁻¹ * e w (x⁻¹ * g) = e w g := | |
| 173 | + (h w).exists_bump_conv_dsKernel | |
| 174 | + choose α hα using h_bump | |
| 175 | + have h_fix (y : GInf E s) : | |
| 176 | + ∫ x : GInf E s, bumpProduct α x * typeKernel l s (x⁻¹ * y) = typeKernel l s y := | |
| 177 | + calc | |
| 178 | + _ = ∫ x : GInf E s, ∏ w, (α w).val.val (x w)⁻¹ * e w ((x w)⁻¹ * y w) := by | |
| 179 | + simp [h_prod, bumpProduct, prod_mul_distrib] | |
| 180 | + _ = ∏ w, ∫ x : USign s, (α w).val.val x⁻¹ * e w (x⁻¹ * y w) := | |
| 181 | + integral_fintype_prod_volume_eq_prod fun w x ↦ (α w).val.val x⁻¹ * e w (x⁻¹ * y w) | |
| 182 | + _ = typeKernel l s y := by simp only [hα, h_prod] | |
| 183 | + -- `e w` is the formal degree times the conjugate of the coefficient c, and |c(g)| ≤ (2 / ‖g‖)^B. | |
| 184 | + have h_place (w : NumberField.InfinitePlace E) (g : USign s) : | |
| 185 | + ‖e w g‖ * ‖g.val.val‖ ^ B ≤ ‖(toHCParam s (l w)).formalDegree‖ * 2 ^ B := by | |
| 186 | + have h_pos : 0 < ‖g.val.val‖ := one_pos.trans_le (U.one_le_norm g) | |
| 187 | + have h_coeff : ‖(toHCParam s (l w)).dsCoeff g‖ * ‖g.val.val‖ ^ B ≤ 2 ^ B := by | |
| 188 | + rw [← le_div_iff₀ (pow_pos h_pos B), ← div_pow] | |
| 189 | + exact DiscreteSeries.norm_dsCoeff_le_pow (h w) (by simp) g | |
| 190 | + simpa [e, HCParam.dsKernel, mul_assoc] using | |
| 191 | + mul_le_mul_of_nonneg_left h_coeff (norm_nonneg (toHCParam s (l w)).formalDegree) | |
| 192 | + refine ⟨isIdempotentKernel_typeKernel h, h_moment, ⟨bumpProduct α, h_fix⟩, | |
| 193 | + ∏ w, ‖(toHCParam s (l w)).formalDegree‖ * 2 ^ B, fun g ↦ ?_⟩ | |
| 194 | + rw [h_prod, norm_prod, ← prod_pow, ← prod_mul_distrib] | |
| 195 | + exact prod_le_prod₀ (fun _ _ ↦ by positivity) fun w _ ↦ h_place w (g w) | |
| 196 | + | |
| 197 | +/-- Evaluates `V.formRep α k y` at `g` as `y (g * (1, k))` by definition. -/ | |
| 198 | +@[simp] | |
| 199 | +theorem Space.formRep_apply (k : Gf E n) (y : V.Form α) (g : G E s) : | |
| 200 | + V.formRep α k y g = y (g * (1, k)) := | |
| 201 | + rfl | |
| 202 | + | |
| 203 | +/-- A form of type `α` (a bounded automorphic function fixed by `realConv α` when α is integrable) | |
| 204 | +lies in `levelSpace (V.formRep α) J`, the vectors fixed by the subgroup `J` of G_f, if and only if | |
| 205 | +it has level `J`, that is, is invariant under right translation by `J`. -/ | |
| 206 | +lemma Space.mem_levelSpace_formRep_iff {J : Subgroup (Gf E n)} {y : V.Form α} : | |
| 207 | + y ∈ levelSpace (V.formRep α) J ↔ HasLevel y J := by | |
| 208 | + have h_fix (k : Gf E n) : V.formRep α k y = y ↔ ∀ g : G E s, y (g * (1, k)) = y g := | |
| 209 | + Subtype.ext_iff.trans funext_iff | |
| 210 | + simp [h_fix] | |
| 211 | + | |
| 212 | +/-- If `F` is right invariant under the open subgroup `K` of G_f, then so is its real convolution | |
| 213 | +R(α)F, since real and finite points commute. -/ | |
| 214 | +lemma hasLevel_realConv (K : OpenSubgroup (Gf E n)) (h_level : HasLevel F K) : | |
| 215 | + HasLevel (realConv α F) K := by | |
| 216 | + intro k hk g | |
| 217 | + have h_comm (x : GInf E s) : g * (1, k) * (x, 1) = g * (x, 1) * (1, k) := by simp [Prod.ext_iff] | |
| 218 | + simp only [realConv, h_comm, h_level k hk] | |
| 219 | + | |
| 220 | +/-- The oscillation of an average is bounded by that of the kernel in L¹. Let α be integrable on | |
| 221 | +G_∞, F bounded and measurable on G, u a real point, real points sitting in G as x ↦ (x, 1), and | |
| 222 | +R(α)F(g) = ∫_{G_∞} α(x)F(gx) dx (`realConv`). If |F(gx)| ≤ C for all real x with | |
| 223 | +α(u⁻¹x) ≠ α(x), then |R(α)F(gu) − R(α)F(g)| ≤ ‖α(u⁻¹ ·) − α‖₁ C. -/ | |
| 224 | +lemma norm_realConv_mul_sub_le (hF : IsBoundedMeasurable F) (hα : Integrable α) (g : G E s) | |
| 225 | + (u : GInf E s) {C : ℝ} | |
| 226 | + (hC : ∀ x : GInf E s, α (u⁻¹ * x) ≠ α x → ‖F (g * (x, 1))‖ ≤ C) : | |
| 227 | + ‖realConv α F (g * (u, 1)) - realConv α F g‖ ≤ | |
| 228 | + (∫ x : GInf E s, ‖α (u⁻¹ * x) - α x‖) * C := by | |
| 229 | + -- The difference of the averages is ∫ (α(u⁻¹x) - α(x)) F(gx) dx. | |
| 230 | + have h_int {β : GInf E s → ℂ} (hβ : Integrable β) : | |
| 231 | + Integrable fun x : GInf E s ↦ β x * F (g * (x, 1)) := | |
| 232 | + hF.integrable_mul_comp hβ (fun x : GInf E s ↦ g * (x, 1)) (by fun_prop) | |
| 233 | + have h_shift : realConv α F (g * (u, 1)) = ∫ x, α (u⁻¹ * x) * F (g * (x, 1)) := by | |
| 234 | + rw [← integral_mul_left_eq_self (fun x : GInf E s ↦ α (u⁻¹ * x) * F (g * (x, 1))) u] | |
| 235 | + simp [realConv, mul_assoc] | |
| 236 | + have h_eq : realConv α F (g * (u, 1)) - realConv α F g = | |
| 237 | + ∫ x, (α (u⁻¹ * x) - α x) * F (g * (x, 1)) := by | |
| 238 | + rw [h_shift, realConv, ← integral_sub (h_int (hα.comp_mul_left u⁻¹)) (h_int hα)] | |
| 239 | + simp only [sub_mul] | |
| 240 | + -- Where the first factor does not vanish, the second has norm at most `C`. | |
| 241 | + have h_le (x : GInf E s) : | |
| 242 | + ‖(α (u⁻¹ * x) - α x) * F (g * (x, 1))‖ ≤ ‖α (u⁻¹ * x) - α x‖ * C := by | |
| 243 | + by_cases hx : α (u⁻¹ * x) = α x | |
| 244 | + · simp [hx] | |
| 245 | + · exact norm_mul_le_of_le le_rfl (hC x hx) | |
| 246 | + rw [h_eq, ← integral_mul_const] | |
| 247 | + exact norm_integral_le_of_norm_le (((hα.comp_mul_left u⁻¹).sub hα).norm.mul_const C) | |
| 248 | + (.of_forall h_le) | |
| 249 | + | |
| 250 | +/-- Uniform continuity of averages. Let α be integrable on G_∞, K an open subgroup of G_f and ε > 0. | |
| 251 | +Let z be close enough to 1, with real part z_∞. If (a) F is measurable, bounded and right | |
| 252 | +K-invariant and (b) |F(gx)| ≤ C for all real x with α(z_∞⁻¹x) ≠ α(x), then | |
| 253 | +|R(α)F(gz) − R(α)F(g)| ≤ ε|C|. The neighbourhood of 1 does not depend on F, C or g. -/ | |
| 254 | +lemma eventually_norm_realConv_sub_le (K : OpenSubgroup (Gf E n)) (hα : Integrable α) {ε : ℝ} | |
| 255 | + (hε : 0 < ε) : | |
| 256 | + ∀ᶠ z : G E s in nhds 1, ∀ {F : G E s → ℂ} (C : ℝ), IsBoundedMeasurable F → HasLevel F K → | |
| 257 | + ∀ g : G E s, | |
| 258 | + (∀ x : GInf E s, α (z.1⁻¹ * x) ≠ α x → ‖F (g * (x, 1))‖ ≤ C) → | |
| 259 | + ‖realConv α F (g * z) - realConv α F g‖ ≤ ε * ‖C‖ := by | |
| 260 | + -- Near 1 the finite part a of z lies in K and drops out, and the real part u moves α by less | |
| 261 | + -- than ε in L¹. | |
| 262 | + have h_L1 : ∀ᶠ u : GInf E s in nhds 1, ∫ x : GInf E s, ‖α (u⁻¹ * x) - α x‖ < ε := | |
| 263 | + hα.tendsto_integral_norm_mul_left_sub.eventually_lt_const hε | |
| 264 | + filter_upwards [continuousAt_snd K.mem_nhds_one, continuousAt_fst h_L1] | |
| 265 | + with ⟨u, a⟩ ha hu F C hF h_level g hC | |
| 266 | + have h_split : g * (u, a) = g * (u, 1) * (1, a) := by simp [mul_assoc] | |
| 267 | + calc ‖realConv α F (g * (u, a)) - realConv α F g‖ | |
| 268 | + = ‖realConv α F (g * (u, 1)) - realConv α F g‖ := by | |
| 269 | + rw [h_split, hasLevel_realConv K h_level a ha] | |
| 270 | + _ ≤ (∫ x : GInf E s, ‖α (u⁻¹ * x) - α x‖) * ‖C‖ := | |
| 271 | + norm_realConv_mul_sub_le hF hα g u fun x hx ↦ | |
| 272 | + (hC x hx).trans C.le_norm_self | |
| 273 | + _ ≤ ε * ‖C‖ := mul_le_mul_of_nonneg_right (le_of_lt hu) (norm_nonneg C) | |
| 274 | + | |
| 275 | +/-- Fubini for right convolution: for c, α integrable, j measurable and F bounded measurable on | |
| 276 | +G, ∫ c(z) R(α)F(j z) dν(z) = ∫_{G_∞} α(x) ∫ c(z) F(j(z)x) dν(z) dx, with ν s-finite. -/ | |
| 277 | +lemma integral_mul_realConv (hF : IsBoundedMeasurable F) (hα : Integrable α) {Z : Type*} | |
| 278 | + [MeasurableSpace Z] {ν : Measure Z} [SFinite ν] {c : Z → ℂ} (hc : Integrable c ν) | |
| 279 | + (j : Z → G E s) (hj : Measurable j := by fun_prop) : | |
| 280 | + ∫ z : Z, c z * realConv α F (j z) ∂ν = | |
| 281 | + ∫ x : GInf E s, α x * ∫ z : Z, c z * F (j z * (x, 1)) ∂ν := by | |
| 282 | + -- The integrand `c z * α x * F (j z * (x, 1))` is an integrable product times a bounded | |
| 283 | + -- measurable function. | |
| 284 | + simp_rw [realConv, ← integral_const_mul, ← mul_assoc, mul_comm (α _)] | |
| 285 | + exact integral_integral_swap (hF.integrable_mul_comp (hc.mul_prod hα) _ (by fun_prop)) | |
| 286 | + | |
| 287 | +/-- Averaging twice is averaging against a convolution: for F measurable and bounded, α and p | |
| 288 | +integrable and a in G_∞, applying R(p), then right translation by a, then R(α) is R of the function | |
| 289 | +y ↦ ∫ α(x) p((xa)⁻¹y) dx. Here R = `realConv` is right convolution over G_∞. -/ | |
| 290 | +theorem realConv_realConv (hF : IsBoundedMeasurable F) (hα : Integrable α) {p : GInf E s → ℂ} | |
| 291 | + (hp : Integrable p) (a : GInf E s) : | |
| 292 | + realConv α (fun g : G E s ↦ realConv p F (g * (a, 1))) = | |
| 293 | + realConv (fun y : GInf E s ↦ ∫ x : GInf E s, α x * p ((x * a)⁻¹ * y)) F := by | |
| 294 | + ext ⟨g, k⟩ | |
| 295 | + -- Fubini's theorem and a left translation of the inner variable by `x * a`. | |
| 296 | + have h_meas : Measurable fun x : GInf E s ↦ ((g * x, k) : G E s) := by fun_prop | |
| 297 | + have h_conv := integral_smul_integral_eq_integral_conv_smul (fun x : GInf E s ↦ x * a) hα hp | |
| 298 | + (hF.comp h_meas) (by fun_prop) | |
| 299 | + simpa [realConv, mul_assoc, Prod.mul_def, smul_eq_mul] using h_conv | |
| 300 | + | |
| 301 | +/-- For a cusp kernel e (an integrable idempotent kernel on G_∞ with decay, `IsCuspKernel`) there is | |
| 302 | +a continuous compactly supported α on G_∞ with α ∗ e = e, and so R(α)R(e)F = R(e)F for every bounded | |
| 303 | +measurable F on G. Here R(α)F(g) = ∫_{G_∞} α(x) F(gx) dx is `realConv`. -/ | |
| 304 | +theorem IsCuspKernel.exists_realConv_realConv_eq {B : ℕ} {e : GInf E s → ℂ} | |
| 305 | + (he : IsCuspKernel B e) : | |
| 306 | + ∃ α : GInf E s →C_c ℂ, | |
| 307 | + (∀ y : GInf E s, ∫ x : GInf E s, α x * e (x⁻¹ * y) = e y) ∧ | |
| 308 | + ∀ F : G E s → ℂ, IsBoundedMeasurable F → realConv α (realConv e F) = realConv e F := by | |
| 309 | + obtain ⟨α, hα⟩ := he.exists_bump | |
| 310 | + refine ⟨α, hα, fun F hF ↦ ?_⟩ | |
| 311 | + simpa [hα, Prod.mk_one_one] using realConv_realConv hF α.integrable he.integrable 1 | |
| 312 | + | |
| 313 | +/-- Rank one formula for operators. Let α be an idempotent kernel on G_∞ (continuous, integrable, | |
| 314 | +α(g⁻¹) = conj(α(g)), α(1) ≠ 0, and ∫ α(z) α(x⁻¹z⁻¹y) dz = α(x⁻¹) α(y) / α(1)), x a real point, and F | |
| 315 | +on G bounded and measurable. Then applying R(α)F(g) = ∫_{G_∞} α(z) F(gz) dz, then right translation | |
| 316 | +by (x, 1), then R(α) again gives conj(α(x))/α(1) times R(α)F. For the kernel e_λ of a discrete | |
| 317 | +series the factor is the coefficient c_λ(x). -/ | |
| 318 | +theorem IsIdempotentKernel.realConv_translate_realConv (hα : IsIdempotentKernel α) | |
| 319 | + (hF : IsBoundedMeasurable F) (x : GInf E s) (g : G E s) : | |
| 320 | + realConv α (fun g' : G E s ↦ realConv α F (g' * (x, 1))) g = | |
| 321 | + starRingEnd ℂ (α x) / α 1 * realConv α F g := by | |
| 322 | + -- The two averages combine into one, against a function that `hα.convolution_eq` computes. | |
| 323 | + calc | |
| 324 | + _ = realConv (fun y : GInf E s ↦ ∫ z : GInf E s, α z * α ((z * x)⁻¹ * y)) F g := | |
| 325 | + congrFun (realConv_realConv hF hα.integrable hα.integrable x) g | |
| 326 | + _ = realConv (fun y : GInf E s ↦ α x⁻¹ / α 1 * α y) F g := by simp only [hα.convolution_eq] | |
| 327 | + _ = α x⁻¹ / α 1 * realConv α F g := by simp [realConv, ← integral_const_mul, mul_assoc] | |
| 328 | + _ = starRingEnd ℂ (α x) / α 1 * realConv α F g := by rw [hα.apply_inv] | |
| 329 | + | |
| 330 | +/-- For bounded measurable `F`, `F'` and integrable `α`, the convolution in the right argument may | |
| 331 | +be taken out of the Petersson product `V.petersson`, the integral of `conj F' * F` over `Γ \ G`. -/ | |
| 332 | +theorem Space.petersson_realConv_right (hF : IsBoundedMeasurable F) (hα : Integrable α) | |
| 333 | + {F' : G E s → ℂ} (hF' : IsBoundedMeasurable F') : | |
| 334 | + V.petersson F' (realConv α F) = | |
| 335 | + ∫ x : GInf E s, α x * V.petersson F' fun g : G E s ↦ F (g * (x, 1)) := by | |
| 336 | + have hF'_int : Integrable (star F') V.quotMeasure := hF'.memLp_top.star.integrable le_top | |
| 337 | + simpa [petersson] using integral_mul_realConv hF hα hF'_int id measurable_id | |
| 338 | + | |
| 339 | +/-- If F on G is measurable, bounded and right invariant under an open subgroup of G_f, and α is | |
| 340 | +integrable on G_∞, then R(α)F is continuous. -/ | |
| 341 | +theorem continuous_realConv (K : OpenSubgroup (Gf E n)) (hF : IsBoundedMeasurable F) | |
| 342 | + (h_level : HasLevel F K) (hα : Integrable α) : Continuous (realConv α F) := by | |
| 343 | + obtain ⟨C, hC⟩ := hF.bounded | |
| 344 | + -- At `g`, the difference `R(α)F(gz) - R(α)F(g)` is `o(C)` as `z → 1`. | |
| 345 | + refine continuous_iff_continuousAt.2 fun g ↦ ?_ | |
| 346 | + have h_small : (fun z : G E s ↦ realConv α F (g * z) - realConv α F g) =o[nhds 1] | |
| 347 | + fun _ : G E s ↦ C := by | |
| 348 | + refine .of_bound fun ε hε ↦ ?_ | |
| 349 | + filter_upwards [eventually_norm_realConv_sub_le K hα hε] with z hz | |
| 350 | + exact hz C hF h_level g fun x _ ↦ hC (g * (x, 1)) | |
| 351 | + rw [ContinuousAt, ← tendsto_sub_nhds_zero_iff, ← map_mul_left_nhds_one g] | |
| 352 | + exact Filter.tendsto_map' (h_small.tendsto_zero_of_tendsto tendsto_const_nhds) | |
| 353 | + | |
| 354 | +/-- If F on G is measurable, bounded, left Γ-invariant and right invariant under an open | |
| 355 | +subgroup of G_f, and α is integrable on G_∞, then R(α)F is automorphic (continuous, | |
| 356 | +Γ-invariant, with a level) and bounded. -/ | |
| 357 | +theorem Space.isAutomorphic_realConv (K : OpenSubgroup (Gf E n)) (hF : IsBoundedMeasurable F) | |
| 358 | + (hF_rat : V.Γ.FixesLeft F) (hF_level : HasLevel F K) (hα : Integrable α) : | |
| 359 | + V.IsAutomorphic (realConv α F) ∧ IsBoundedMeasurable (realConv α F) := by | |
| 360 | + obtain ⟨C, hC⟩ := hF.bounded | |
| 361 | + -- The bound is `C` times the L¹ norm of `α`; the invariances pass under the integral. | |
| 362 | + have h_bound (g : G E s) : ‖realConv α F g‖ ≤ ∫ x, ‖α x‖ * C := | |
| 363 | + norm_integral_le_of_norm_le (hα.norm.mul_const C) (by simp [mul_le_mul, hC]) | |
| 364 | + have h_rat : V.Γ.FixesLeft (realConv α F) := fun γ hγ g ↦ by | |
| 365 | + simp only [realConv, mul_assoc γ, hF_rat γ hγ] | |
| 366 | + have h_cont : Continuous (realConv α F) := continuous_realConv K hF hF_level hα | |
| 367 | + exact ⟨⟨h_cont, h_rat, K, hasLevel_realConv K hF_level⟩, .of_continuous ⟨_, h_bound⟩ h_cont⟩ | |
| 368 | + | |
| 369 | +/-- Let α be an idempotent kernel on G_∞ (`New.IsIdempotentKernel`: continuous, integrable, | |
| 370 | +α(g⁻¹) = conj(α(g)), α(1) ≠ 0, and ∫ α(z) α(x⁻¹z⁻¹y) dz = α(x⁻¹) α(y) / α(1)). Let K be an open | |
| 371 | +subgroup of G_f, and F on G bounded, measurable, left invariant under the subgroup `V.Γ` and right | |
| 372 | +invariant under K. Then R(α)F(g) = ∫_{G_∞} α(x) F(gx) dx is a form of type α (automorphic, bounded | |
| 373 | +and fixed by R(α)) fixed by right translation by K, that is an element of | |
| 374 | +`New.levelSpace (V.formRep α) K`. -/ | |
| 375 | +theorem Space.exists_form_eq_realConv (K : OpenSubgroup (Gf E n)) (hF : IsBoundedMeasurable F) | |
| 376 | + (hF_rat : V.Γ.FixesLeft F) (hF_level : HasLevel F K) (hα : IsIdempotentKernel α) : | |
| 377 | + ∃ y : levelSpace (V.formRep α) K.toSubgroup, (y.val : G E s → ℂ) = realConv α F := by | |
| 378 | + obtain ⟨h_aut, h_bdd⟩ := isAutomorphic_realConv K hF hF_rat hF_level hα.integrable | |
| 379 | + -- R(α) fixes R(α)F because α * α = α. | |
| 380 | + have h_fix : realConv α (realConv α F) = realConv α F := by | |
| 381 | + simpa [Prod.mul_def, hα.convolution_self] using | |
| 382 | + realConv_realConv hF hα.integrable hα.integrable 1 | |
| 383 | + exact ⟨⟨⟨realConv α F, h_aut, h_bdd.bounded, fun _ ↦ h_fix⟩, | |
| 384 | + mem_levelSpace_formRep_iff.2 (hasLevel_realConv K hF_level)⟩, rfl⟩ | |
| 385 | + | |
| 386 | +end New | |
| 387 | + | |
| 388 | +end RealConvolution | |
| 389 | + | |
| 390 | +/-! | |
| 391 | +## The Petersson product under translation and convolution | |
| 392 | + | |
| 393 | +The product `New.Space.petersson F F'` is the integral of `conj F * F'` over `Γ \ G`. A form of type | |
| 394 | +`e` (`New.Space.IsForm`) is a bounded automorphic function fixed by `realConv e` when `e` is | |
| 395 | +integrable. | |
| 396 | + | |
| 397 | +In `New.Space.IsForm.realConv_translate`, `New.Space.IsForm.petersson_real_translate` and | |
| 398 | +`New.Space.IsForm.petersson_realConv_realConv`, `e` is taken to be a cusp kernel | |
| 399 | +(`New.IsCuspKernel`), though of its properties only those of an idempotent kernel are used. | |
| 400 | +-/ | |
| 401 | + | |
| 402 | +section Petersson | |
| 403 | + | |
| 404 | +open MeasureTheory ComplexConjugate InnerProductSpace | |
| 405 | + | |
| 406 | +namespace New.Space | |
| 407 | + | |
| 408 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 409 | + {s : n → ℤˣ} {V : Space E n s} {e : GInf E s → ℂ} {F F' : G E s → ℂ} {B : ℕ} | |
| 410 | + | |
| 411 | +/-! ### Translation -/ | |
| 412 | + | |
| 413 | +/-- For a continuous left `V.Γ`-invariant function F on G and x in G, the right translate | |
| 414 | +g ↦ F(gx) has the same integral over `Γ \ G` as F, and it is integrable if and only if F is. -/ | |
| 415 | +lemma integral_comp_mul_right (x : G E s) (h_rat : V.Γ.FixesLeft F) | |
| 416 | + (hF : Continuous F := by fun_prop) : | |
| 417 | + ∫ g : G E s, F (g * x) ∂V.quotMeasure = ∫ g : G E s, F g ∂V.quotMeasure ∧ | |
| 418 | + (Integrable (fun g : G E s ↦ F (g * x)) V.quotMeasure ↔ Integrable F V.quotMeasure) := by | |
| 419 | + have h : ProbabilityTheory.IdentDistrib (fun g ↦ F (g * x)) F V.quotMeasure V.quotMeasure := | |
| 420 | + identDistrib_orbitMeasure_mul_right x fun γ ↦ h_rat γ γ.property | |
| 421 | + exact ⟨h.integral_eq, h.integrable_iff⟩ | |
| 422 | + | |
| 423 | +/-- Identifies the inner product `⟪y, y'⟫_ℂ` on `V.Form e` with the Petersson | |
| 424 | +pairing `V.petersson y y'`. -/ | |
| 425 | +theorem inner_eq_petersson (y y' : V.Form e) : ⟪y, y'⟫_ℂ = V.petersson y y' := rfl | |
| 426 | + | |
| 427 | +/-- For automorphic functions `F`, `F'` and the Petersson product, right translation by `x⁻¹` is | |
| 428 | +adjoint to right translation by `x`. -/ | |
| 429 | +lemma IsAutomorphic.petersson_comp_mul_right (hF : V.IsAutomorphic F) (hF' : V.IsAutomorphic F') | |
| 430 | + (x : G E s) : | |
| 431 | + V.petersson (fun g : G E s ↦ F (g * x)) F' = V.petersson F (fun g : G E s ↦ F' (g * x⁻¹)) := by | |
| 432 | + have h_inv : V.Γ.FixesLeft fun g : G E s ↦ conj (F g) * F' (g * x⁻¹) := fun γ hγ g ↦ by | |
| 433 | + simp [mul_assoc γ, hF.rat_mul γ hγ, hF'.rat_mul γ hγ] | |
| 434 | + have := hF.continuous | |
| 435 | + have := hF'.continuous | |
| 436 | + -- Translate the integrand `conj (F g) * F' (g * x⁻¹)` by `x`. | |
| 437 | + simpa [petersson] using (integral_comp_mul_right x h_inv).1 | |
| 438 | + | |
| 439 | +/-- The finite points act on forms of type `e` by isometries of the Petersson product. -/ | |
| 440 | +theorem inner_formRep (k : Gf E n) (y y' : V.Form e) : | |
| 441 | + ⟪V.formRep e k y, V.formRep e k y'⟫_ℂ = ⟪y, y'⟫_ℂ := by | |
| 442 | + -- Move the translation by `(1, k)` from the left factor to the right one, where it cancels. | |
| 443 | + change V.petersson (fun g ↦ y (g * (1, k))) (fun g ↦ y' (g * (1, k))) = V.petersson y y' | |
| 444 | + simpa [-Prod.inv_mk] using | |
| 445 | + y.prop.petersson_comp_mul_right (y'.prop.comp_mul_right k).toIsAutomorphic (1, k) | |
| 446 | + | |
| 447 | +/-- Conjugating the Petersson pairing `V.petersson F F'` swaps its arguments | |
| 448 | +`F` and `F'`. -/ | |
| 449 | +@[simp] | |
| 450 | +theorem conj_petersson : conj (V.petersson F F') = V.petersson F' F := by | |
| 451 | + simp [petersson, mul_comm, ← integral_conj] | |
| 452 | + | |
| 453 | +/-! ### Forms of type `e` -/ | |
| 454 | + | |
| 455 | +/-- Right convolution with an idempotent kernel `e` is self-adjoint for the Petersson product on | |
| 456 | +bounded automorphic functions, because `e y⁻¹ = conj (e y)`. -/ | |
| 457 | +theorem petersson_realConv_comm (he : IsIdempotentKernel e) (hF_aut : V.IsAutomorphic F) | |
| 458 | + (hF_bdd : IsBoundedMeasurable F) (hF'_aut : V.IsAutomorphic F') | |
| 459 | + (hF'_bdd : IsBoundedMeasurable F') : | |
| 460 | + V.petersson F (realConv e F') = V.petersson (realConv e F) F' := by | |
| 461 | + -- Move the translation by `y` across the product, use `e y⁻¹ = conj (e y)`, and invert the | |
| 462 | + -- variable. | |
| 463 | + calc | |
| 464 | + _ = ∫ y : GInf E s, e y * V.petersson F fun g : G E s ↦ F' (g * (y, 1)) := | |
| 465 | + petersson_realConv_right hF'_bdd he.integrable hF_bdd | |
| 466 | + _ = ∫ y : GInf E s, e y * V.petersson (fun g : G E s ↦ F (g * (y⁻¹, 1))) F' := by | |
| 467 | + simp [hF_aut.petersson_comp_mul_right hF'_aut] | |
| 468 | + _ = conj (∫ y : GInf E s, e y⁻¹ * V.petersson F' fun g : G E s ↦ F (g * (y⁻¹, 1))) := by | |
| 469 | + simp [he.apply_inv, ← integral_conj] | |
| 470 | + _ = conj (∫ y : GInf E s, e y * V.petersson F' fun g : G E s ↦ F (g * (y, 1))) := by | |
| 471 | + rw [integral_inv_eq_self (fun y ↦ e y * V.petersson F' fun g ↦ F (g * (y, 1))) volume] | |
| 472 | + _ = V.petersson (realConv e F) F' := by | |
| 473 | + rw [← petersson_realConv_right hF_bdd he.integrable hF'_bdd, conj_petersson] | |
| 474 | + | |
| 475 | +/-- Let `e` be an idempotent kernel, `F` a form of type `e` and `T` a bounded automorphic function. | |
| 476 | +Replacing `T` by its right convolution `realConv e T` does not change the Petersson product of `F` | |
| 477 | +and `T`: convolution by `e` is self-adjoint and fixes `F`. -/ | |
| 478 | +theorem IsForm.petersson_realConv (he : IsIdempotentKernel e) (hF : V.IsForm e F) {T : G E s → ℂ} | |
| 479 | + (hT_aut : V.IsAutomorphic T) (hT_bdd : IsBoundedMeasurable T) : | |
| 480 | + V.petersson F (realConv e T) = V.petersson F T := by | |
| 481 | + rw [petersson_realConv_comm he hF.toIsAutomorphic hF.isBoundedMeasurable hT_aut hT_bdd, | |
| 482 | + hF.realConv_eq he.integrable] | |
| 483 | + | |
| 484 | +/-- For a hermitian space `V` over the CM field `E` with signs `s`, let `F` be a function on the | |
| 485 | +unitary group `G E s` that is a form of type `e`, where `e` is a function on the archimedean group | |
| 486 | +`GInf E s`. Being a form of type `e` means `F` is automorphic, bounded, and fixed by right | |
| 487 | +convolution with `e` when `e` is integrable. Then the complex conjugate `star F` is a form of type | |
| 488 | +`star e`. -/ | |
| 489 | +theorem IsForm.conj (h : V.IsForm e F) : V.IsForm (star e) (star F) := by | |
| 490 | + refine ⟨h.toIsAutomorphic.conj, h.bounded.imp (by simp), fun h_int ↦ funext fun g ↦ ?_⟩ | |
| 491 | + have h_fix : realConv e F = F := h.realConv_eq ((starL' ℝ).integrable_comp_iff.1 h_int) | |
| 492 | + simpa [realConv, ← integral_conj] using congrArg (starRingEnd ℂ) (congrFun h_fix g) | |
| 493 | + | |
| 494 | +/-- Rank one formula. Let `e` be a cusp kernel (a minimal idempotent on G_∞ with the decay | |
| 495 | +conditions of `IsCuspKernel`), `F` a form of type `e` (bounded automorphic on G, fixed by right | |
| 496 | +convolution with `e`), and `x` a real point. Convolution by `e` sends the translate `F (· * (x, 1))` | |
| 497 | +to `conj (e x) / e 1` times `F`. The left side is the value at `g` of `realConv e` applied to that | |
| 498 | +translate. For the kernel e_λ of a discrete series the factor is the coefficient c_λ(x). -/ | |
| 499 | +theorem IsForm.realConv_translate (he : IsCuspKernel B e) (h : V.IsForm e F) (x : GInf E s) | |
| 500 | + (g : G E s) : | |
| 501 | + ∫ z : GInf E s, e z * F (g * (z, 1) * (x, 1)) = conj (e x) / e 1 * F g := by | |
| 502 | + have h_fix : realConv e F = F := h.realConv_eq he.integrable | |
| 503 | + calc | |
| 504 | + _ = realConv e (fun g' : G E s ↦ realConv e F (g' * (x, 1))) g := by rw [h_fix, realConv] | |
| 505 | + _ = conj (e x) / e 1 * F g := by | |
| 506 | + rw [he.toIsIdempotentKernel.realConv_translate_realConv h.isBoundedMeasurable x g, h_fix] | |
| 507 | + | |
| 508 | +/-- For a cusp kernel `e`, forms `F`, `F'` of type `e` and a real point `x`, the Petersson product | |
| 509 | +of `F` with the translate `F' (· * (x, 1))` is `conj (e x) / e 1` times the product of `F` and | |
| 510 | +`F'`. -/ | |
| 511 | +theorem IsForm.petersson_real_translate (he : IsCuspKernel B e) (h : V.IsForm e F) | |
| 512 | + (h' : V.IsForm e F') (x : GInf E s) : | |
| 513 | + V.petersson F (fun g : G E s ↦ F' (g * (x, 1))) = conj (e x) / e 1 * V.petersson F F' := by | |
| 514 | + have rank_one : realConv e (fun g : G E s ↦ F' (g * (x, 1))) = | |
| 515 | + fun g : G E s ↦ conj (e x) / e 1 * F' g := | |
| 516 | + funext (h'.realConv_translate he x) | |
| 517 | + -- Convolve the translate of `F'` with `e`, which does not change its product with `F`, and apply | |
| 518 | + -- the rank one formula. | |
| 519 | + rw [← h.petersson_realConv he.toIsIdempotentKernel (h'.toIsAutomorphic.comp_mul_right (x, 1)) | |
| 520 | + (h'.isBoundedMeasurable.comp (measurable_mul_const (x, 1))), rank_one] | |
| 521 | + simp [petersson, mul_left_comm, ← integral_const_mul] | |
| 522 | + | |
| 523 | +/-- For a cusp kernel `e`, forms `F`, `F'` of type `e` and integrable `α`, `β` on the real points, | |
| 524 | +the product of `realConv α F` and `realConv β F'` is the product of `F` and `F'` times | |
| 525 | +∫∫ conj(α(x)) β(y) conj(e(x⁻¹y))/e(1) dy dx. -/ | |
| 526 | +theorem IsForm.petersson_realConv_realConv (he : IsCuspKernel B e) (h : V.IsForm e F) | |
| 527 | + (h' : V.IsForm e F') {α β : GInf E s → ℂ} (hα : Integrable α) (hβ : Integrable β) : | |
| 528 | + V.petersson (realConv α F) (realConv β F') = | |
| 529 | + (∫ x : GInf E s, ∫ y : GInf E s, conj (α x) * β y * (conj (e (x⁻¹ * y)) / e 1)) * | |
| 530 | + V.petersson F F' := by | |
| 531 | + obtain ⟨K, hK⟩ := h'.exists_level | |
| 532 | + have hβ_bdd : IsBoundedMeasurable (realConv β F') := | |
| 533 | + (isAutomorphic_realConv K h'.isBoundedMeasurable h'.rat_mul hK hβ).2 | |
| 534 | + -- The product of two real translates depends only on `x⁻¹ * y`, through the rank one idempotent. | |
| 535 | + have h_translates (x y : GInf E s) : | |
| 536 | + V.petersson (fun g : G E s ↦ F (g * (x, 1))) (fun g : G E s ↦ F' (g * (y, 1))) = | |
| 537 | + conj (e (x⁻¹ * y)) / e 1 * V.petersson F F' := by | |
| 538 | + rw [h.petersson_comp_mul_right (h'.toIsAutomorphic.comp_mul_right (y, 1)), | |
| 539 | + ← h.petersson_real_translate he h'] | |
| 540 | + simp [mul_assoc] | |
| 541 | + -- Unfold the convolution with `β` in the right argument. | |
| 542 | + have h_right (x : GInf E s) : | |
| 543 | + V.petersson (fun g : G E s ↦ F (g * (x, 1))) (realConv β F') = | |
| 544 | + ∫ y : GInf E s, β y * (conj (e (x⁻¹ * y)) / e 1 * V.petersson F F') := by | |
| 545 | + simp only [petersson_realConv_right h'.isBoundedMeasurable hβ | |
| 546 | + (h.isBoundedMeasurable.comp (measurable_mul_const (x, 1))), h_translates] | |
| 547 | + -- Conjugate symmetry moves the convolution with `α` to the right argument and back. | |
| 548 | + calc | |
| 549 | + _ = conj (∫ x, α x * V.petersson (realConv β F') fun g ↦ F (g * (x, 1))) := by | |
| 550 | + rw [← conj_petersson, petersson_realConv_right h.isBoundedMeasurable hα hβ_bdd] | |
| 551 | + _ = ∫ x, conj (α x) * V.petersson (fun g ↦ F (g * (x, 1))) (realConv β F') := by | |
| 552 | + simp [← integral_conj] | |
| 553 | + _ = _ := by simp [h_right, mul_assoc, ← integral_const_mul, ← integral_mul_const] | |
| 554 | + | |
| 555 | +end New.Space | |
| 556 | + | |
| 557 | +end Petersson | |
| 558 | + | |
| 559 | +/-! ## Poincaré series projected to forms -/ | |
| 560 | + | |
| 561 | +section Poincare | |
| 562 | + | |
| 563 | +open MeasureTheory ENNReal New | |
| 564 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 565 | + {s : n → ℤˣ} {V : Space E n s} {e : GInf E s → ℂ} | |
| 566 | + | |
| 567 | +/-- For integrable measurable `e` and measurable `W i` with `∑' i, ‖W i x‖ₑ ≤ M < ⊤` for all `x`, | |
| 568 | +right convolution by `e` commutes at every `g` with their countable sum. -/ | |
| 569 | +lemma New.tsum_realConv_eq (he : Integrable e) (he_meas : Measurable e) {ι : Type*} [Countable ι] | |
| 570 | + {W : ι → G E s → ℂ} (hW_meas : ∀ i, Measurable (W i)) {M : ℝ≥0∞} (hM : M ≠ ⊤) | |
| 571 | + (h_le : ∀ g : G E s, ∑' i : ι, ‖W i g‖ₑ ≤ M) (g : G E s) : | |
| 572 | + ∑' i : ι, realConv e (W i) g = realConv e (fun x ↦ ∑' i : ι, W i x) g := by | |
| 573 | + simp only [realConv, ← tsum_mul_left] | |
| 574 | + refine (hasSum_integral_of_lintegral_tsum_lt_top ?_).tsum_eq | |
| 575 | + calc ∫⁻ x : GInf E s, ∑' i : ι, ‖e x * W i (g * (x, 1))‖ₑ | |
| 576 | + ≤ ∫⁻ x : GInf E s, ‖e x‖ₑ * M := by | |
| 577 | + simp only [eNorm_mul, ENNReal.tsum_mul_left] | |
| 578 | + grw [h_le] | |
| 579 | + _ < ⊤ := by | |
| 580 | + rw [lintegral_mul_const' _ _ hM] | |
| 581 | + exact mul_lt_top he.hasFiniteIntegral hM.lt_top | |
| 582 | + | |
| 583 | +/-- Let `W i` be countably many measurable functions on `G` with `∑ i, ‖W i‖` bounded, whose sum is | |
| 584 | +left invariant under the rational points `V.Γ` and right invariant under the open subgroup `K` of | |
| 585 | +the finite points. Then the sum of the right convolutions of the `W i` with the idempotent kernel | |
| 586 | +`e` is an element of `levelSpace (V.formRep e) K`, that is a form of type `e` fixed by `K`. -/ | |
| 587 | +theorem New.Space.exists_form_eq_tsum_of_fixesLeft (he : IsIdempotentKernel e) | |
| 588 | + (K : OpenSubgroup (Gf E n)) {ι : Type*} [Countable ι] {W : ι → G E s → ℂ} | |
| 589 | + (hW_meas : ∀ i : ι, Measurable (W i)) | |
| 590 | + (h_invariant : V.Γ.FixesLeft fun g : G E s ↦ ∑' i : ι, W i g) | |
| 591 | + (h_level : HasLevel (fun g : G E s ↦ ∑' i : ι, W i g) K) | |
| 592 | + {M : ℝ≥0∞} (hM : M ≠ ⊤) (h_le : ∀ g : G E s, ∑' i : ι, ‖W i g‖ₑ ≤ M) : | |
| 593 | + ∃ y : levelSpace (V.formRep e) K.toSubgroup, | |
| 594 | + (y.val : G E s → ℂ) = fun g : G E s ↦ ∑' i : ι, realConv e (W i) g := by | |
| 595 | + -- The series is the convolution with `e` of the bounded sum of the `W i`. | |
| 596 | + have h_bounded (g : G E s) : ‖∑' i : ι, W i g‖ ≤ M.toReal := by | |
| 597 | + simpa using toReal_mono hM (eNorm_tsum_le_tsum_eNorm.trans (h_le g)) | |
| 598 | + -- Convolve term by term. | |
| 599 | + have h_termwise (g : G E s) : ∑' i, realConv e (W i) g = realConv e (fun x ↦ ∑' i, W i x) g := | |
| 600 | + tsum_realConv_eq he.integrable he.continuous.measurable hW_meas hM h_le g | |
| 601 | + simp only [h_termwise] | |
| 602 | + exact exists_form_eq_realConv K ⟨by fun_prop, M.toReal, h_bounded⟩ h_invariant h_level he | |
| 603 | + | |
| 604 | +/-- **Poincaré series.** Let the sum of countably many measurable `W i`, with `∑ i, ‖W i‖` bounded, | |
| 605 | +be the sum over `V.Γ` of the left translates of one function `c` that is right invariant under the | |
| 606 | +open subgroup `K` of the finite points. Then the sum of the right convolutions of the `W i` with | |
| 607 | +the idempotent kernel `e` is a form of type `e` fixed by `K`. -/ | |
| 608 | +theorem New.Space.exists_form_eq_tsum (he : IsIdempotentKernel e) (K : OpenSubgroup (Gf E n)) | |
| 609 | + {ι : Type*} [Countable ι] {W : ι → G E s → ℂ} (hW_meas : ∀ i : ι, Measurable (W i)) | |
| 610 | + {c : G E s → ℂ} (hc_level : HasLevel c K) | |
| 611 | + (h_sum : ∀ g : G E s, ∑' γ : V.Γ, c (γ.val * g) = ∑' i : ι, W i g) {M : ℝ≥0∞} (hM : M ≠ ⊤) | |
| 612 | + (h_le : ∀ g : G E s, ∑' i : ι, ‖W i g‖ₑ ≤ M) : | |
| 613 | + ∃ y : levelSpace (V.formRep e) K.toSubgroup, | |
| 614 | + (y.val : G E s → ℂ) = fun g : G E s ↦ ∑' i : ι, realConv e (W i) g := by | |
| 615 | + have h_invariant : V.Γ.FixesLeft fun g : G E s ↦ ∑' i : ι, W i g := fun γ hγ g ↦ by | |
| 616 | + simpa [← h_sum, mul_assoc] using (Equiv.mulRight (⟨γ, hγ⟩ : V.Γ)).tsum_eq fun δ ↦ c (δ * g) | |
| 617 | + have h_level : HasLevel (fun g : G E s ↦ ∑' i : ι, W i g) K := fun k hk g ↦ by | |
| 618 | + simp only [← h_sum, ← mul_assoc, hc_level k hk] | |
| 619 | + exact exists_form_eq_tsum_of_fixesLeft he K hW_meas h_invariant h_level hM h_le | |
| 620 | + | |
| 621 | +end Poincare | |
| 622 | + | |
| 623 | +/-! ## The kernel of a level is a form -/ | |
| 624 | + | |
| 625 | +open MeasureTheory Set ENNReal Fintype | |
| 626 | +open scoped Pointwise | |
| 627 | + | |
| 628 | +namespace New.Space | |
| 629 | + | |
| 630 | +/-- Let `S` be a compact subset of `G E s` and let `f` be bounded by `M`. Then there is a finite set | |
| 631 | +`I` of elements of `V.Γ` such that for every `g`, the sum over `γ ∈ V.Γ` of `‖S.indicator f (γ g)‖ₑ` | |
| 632 | +is at most `∑ _ ∈ I, M`. -/ | |
| 633 | +private lemma exists_finset_tsum_enorm_indicator_le {E n : Type} [Field E] [CMType E] [Fintype n] | |
| 634 | + [DecidableEq n] {s : n → ℤˣ} (V : Space E n s) {S : Set (G E s)} (hS : IsCompact S) | |
| 635 | + {f : G E s → ℂ} {M : ℝ≥0∞} (hf : ∀ u : G E s, ‖f u‖ₑ ≤ M) : | |
| 636 | + ∃ I : Finset V.Γ, ∀ g : G E s, | |
| 637 | + ∑' γ : V.Γ, ‖S.indicator f (γ.val * g)‖ₑ ≤ ∑ _ ∈ I, M := by | |
| 638 | + classical | |
| 639 | + -- Fix one rational translate meeting `S`. Every other such translate differs from it by an | |
| 640 | + -- element carrying `S` into contact with itself, and there are finitely many of these. | |
| 641 | + set I : Finset V.Γ := | |
| 642 | + (ProperSMul.isCompact_setOfPred_inter_nonempty (G := V.Γ) hS hS).finite_of_discrete.toFinset | |
| 643 | + refine ⟨I, fun g ↦ ?_⟩ | |
| 644 | + by_cases h : ∃ γ : V.Γ, γ.val * g ∈ S | |
| 645 | + · obtain ⟨γ₀, h₀⟩ := h | |
| 646 | + rw [← (Equiv.mulRight γ₀).tsum_eq] | |
| 647 | + have hmem (δ : V.Γ) (hδ : (δ * γ₀).val * g ∈ S) : δ ∈ I := by | |
| 648 | + change δ ∈ Set.Finite.toFinset _ | |
| 649 | + simp only [Set.Finite.mem_toFinset] | |
| 650 | + refine ⟨_, ⟨γ₀.val * g, h₀, rfl⟩, ?_⟩ | |
| 651 | + simpa [Subgroup.smul_def, mul_assoc] using hδ | |
| 652 | + rw [tsum_eq_sum (s := I) fun δ hδ ↦ by | |
| 653 | + change ‖S.indicator _ ((δ * γ₀).val * g)‖ₑ = 0 | |
| 654 | + rw [Set.indicator_of_notMem (mt (hmem δ) hδ)] | |
| 655 | + exact eNorm_zero] | |
| 656 | + apply Finset.sum_le_sum | |
| 657 | + intro δ _ | |
| 658 | + by_cases hu : (δ * γ₀).val * g ∈ S | |
| 659 | + · change ‖S.indicator _ ((δ * γ₀).val * g)‖ₑ ≤ M | |
| 660 | + rw [Set.indicator_of_mem hu] | |
| 661 | + exact hf _ | |
| 662 | + · change ‖S.indicator _ ((δ * γ₀).val * g)‖ₑ ≤ M | |
| 663 | + rw [Set.indicator_of_notMem hu] | |
| 664 | + simp | |
| 665 | + · push Not at h | |
| 666 | + simp [Set.indicator_of_notMem, h] | |
| 667 | + | |
| 668 | +/-- Projecting a compactly supported bump that reproduces `e` gives the level kernel as a form. | |
| 669 | +This construction uses properness of the rational action to bound the number of nonzero terms. -/ | |
| 670 | +theorem exists_kernel_form_of_bump {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 671 | + {s : n → ℤˣ} (V : Space E n s) {e : GInf E s → ℂ} (he : IsIdempotentKernel e) | |
| 672 | + (h_bump : ∃ α : CompactlySupportedContinuousMap (GInf E s) ℂ, | |
| 673 | + ∀ y : GInf E s, ∫ t : GInf E s, α t * e (t⁻¹ * y) = e y) | |
| 674 | + (x : G E s) (K : Subgroup (Gf E n)) [hK : IsLevel K] : | |
| 675 | + ∃ k : levelSpace (V.formRep e) K, ∀ g : G E s, starRingEnd ℂ (k.val g) = | |
| 676 | + ∑' γ : V.Γ, e (x * γ * g).1 * Set.indicator K 1 (x * γ * g).2 := by | |
| 677 | + classical | |
| 678 | + obtain ⟨α, hα⟩ := h_bump | |
| 679 | + let S : Set (G E s) := (fun u ↦ x * u) ⁻¹' (tsupport α ×ˢ (K : Set (Gf E n))) | |
| 680 | + have hS : IsCompact S := (Homeomorph.mulLeft x).isClosedEmbedding.isCompact_preimage | |
| 681 | + (α.hasCompactSupport.prod hK.isCompact) | |
| 682 | + let c : G E s → ℂ := S.indicator fun u ↦ starRingEnd ℂ (α (x.1 * u.1)) | |
| 683 | + have hc (u : G E s) : c u = (starRingEnd ℂ (α (x.1 * u.1))) * | |
| 684 | + Set.indicator K 1 (x.2 * u.2) := by | |
| 685 | + by_cases h : x.1 * u.1 ∈ tsupport α | |
| 686 | + · simp [c, S, Set.indicator, h, Prod.mul_def] | |
| 687 | + · simp [c, S, Set.indicator, h, image_eq_zero_of_notMem_tsupport h, Prod.mul_def] | |
| 688 | + have hmeas : Measurable c := Measurable.indicator (by fun_prop) hS.measurableSet | |
| 689 | + have hlevel : HasLevel c K := fun k hk g ↦ by | |
| 690 | + simp [hc, Set.indicator, ← mul_assoc, K.mul_mem_cancel_right hk] | |
| 691 | + -- The translates of `c` are bounded by a finite sum (`exists_finset_tsum_enorm_indicator_le`). | |
| 692 | + let M : ℝ≥0∞ := ‖α.toBoundedContinuousFunction‖₊ | |
| 693 | + obtain ⟨I, hbound⟩ := exists_finset_tsum_enorm_indicator_le V hS (M := M) | |
| 694 | + (f := fun u ↦ starRingEnd ℂ (α (x.1 * u.1))) fun u ↦ by | |
| 695 | + simpa [M] using α.toBoundedContinuousFunction.nnNorm_coe_le_nnNorm (x.1 * u.1) | |
| 696 | + obtain ⟨k, hk⟩ := exists_form_eq_tsum (V := V) he ⟨K, hK.isOpen⟩ | |
| 697 | + (c := c) (W := fun (γ : V.Γ) g ↦ c (γ.val * g)) (fun γ ↦ hmeas.comp (measurable_const_mul _)) | |
| 698 | + hlevel (fun _ ↦ rfl) (M := ∑ _ ∈ I, M) (ENNReal.sum_ne_top.2 fun _ _ ↦ ENNReal.coe_ne_top) | |
| 699 | + hbound | |
| 700 | + refine ⟨k, fun g ↦ ?_⟩ | |
| 701 | + rw [congrFun hk g, Complex.conj_tsum] | |
| 702 | + apply tsum_congr | |
| 703 | + intro γ | |
| 704 | + -- After integrating over the real group, the bump reproduces the kernel term by term. | |
| 705 | + let y := x * γ * g | |
| 706 | + have hconv : starRingEnd ℂ (∫ z : GInf E s, e z * starRingEnd ℂ (α (y.1 * z))) = e y.1 := by | |
| 707 | + rw [← integral_conj, ← hα y.1, | |
| 708 | + ← integral_mul_left_eq_self (fun t ↦ α t * e (t⁻¹ * y.1)) y.1] | |
| 709 | + simp [mul_comm, he.apply_inv] | |
| 710 | + by_cases hy : y.2 ∈ K | |
| 711 | + · simp [y, mul_assoc] at hy | |
| 712 | + simpa [realConv, hc, y, Set.indicator, mul_assoc, hy] using hconv | |
| 713 | + · simp [realConv, hc, Set.indicator, mul_assoc, y] at hy ⊢ | |
| 714 | + simp [hy] | |
| 715 | + | |
| 716 | +end New.Space | |
| 717 | + | |
| 718 | +/-- Let `e` be a cusp kernel on the real group of a space `V` and `K` a level, that is, an open | |
| 719 | +subgroup of the standard compact subgroup of `G_f`. For fixed `x` there is a form of type `e` (a | |
| 720 | +bounded automorphic function fixed by `e`) of level `K` whose conjugate is the kernel | |
| 721 | +`g ↦ ∑_γ (e ⊗ 1_K)(x γ g)`, the sum over the rational points. -/ | |
| 722 | +theorem New.Space.exists_kernel_form {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 723 | + {s : n → ℤˣ} (V : Space E n s) {e : GInf E s → ℂ} {B : ℕ} | |
| 724 | + (he : IsCuspKernel B e) (x : G E s) (K : Subgroup (Gf E n)) [hK : IsLevel K] : | |
| 725 | + ∃ k : levelSpace (V.formRep e) K, ∀ g : G E s, starRingEnd ℂ (k.val g) = | |
| 726 | + ∑' γ : V.Γ, e (x * γ * g).1 * Set.indicator K 1 (x * γ * g).2 := | |
| 727 | + V.exists_kernel_form_of_bump he.toIsIdempotentKernel he.exists_bump x K | |
+574 −0 src/Lib/Adelic/AutomorphicForms/SmoothAlgebraicForms.lean added View file
| @@ -0,0 +1,574 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Int | |
| 4 | +import Mathlib.MeasureTheory.Integral.Pi | |
| 5 | +public import Lib.GLn.SchurModule.SchurOrthogonality | |
| 6 | +public import Lib.GaloisRep.Main.Defs | |
| 7 | +public import Lib.Weil.Construction.ThetaJets | |
| 8 | +import Lib.Adelic.Reduction.DefiniteClassSums | |
| 9 | +import Lib.Adelic.Unitary.RationalPoints | |
| 10 | +import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes | |
| 11 | +import Lib.DiscreteSeries.Holomorphic.MaximalCompactMinors | |
| 12 | +import Lib.GLn.SchurModule.WeylKernel | |
| 13 | + | |
| 14 | +/-! | |
| 15 | +# Algebraic forms on definite unitary groups, their pairing and Harish-Chandra parameters | |
| 16 | + | |
| 17 | +This file studies forms on the definite unitary group of a hermitian space. A weight `(κ, e)` | |
| 18 | +records, at each infinite place `τ`, the number `κ τ h` of columns of height `h` of a Young diagram | |
| 19 | +and the power `e τ` of the determinant. | |
| 20 | + | |
| 21 | +## Main definitions and results | |
| 22 | + | |
| 23 | +* `New.AlgForm`: functions `φ` on the finite adelic points `New.Gf` with `φ(γ g) = ρ(γ) φ(g)` for | |
| 24 | + rational `γ`, where `ρ = New.Space.weightRep`, whose stabiliser under right translation is open; | |
| 25 | + `New.algFormRep` is right translation. | |
| 26 | +* `New.algFormCoeff`, `New.ofAlgForm`: from a form `φ` to the function `(x, g) ↦ L (ρ(x⁻¹) φ(g))`, | |
| 27 | + `ρ = New.conjWeylRep`, for any linear form `L` and for the pairing with `New.highestVector`. | |
| 28 | +* `New.smoothPairing`, `New.smoothPairing_formTranslation`: a pairing B of coefficient vectors | |
| 29 | + invariant under `New.Space.weightRep` gives a pairing of forms, by integration over Γ\G_f, | |
| 30 | + invariant under G_f. | |
| 31 | +* `New.IsHCParam.eq_hcParameter`, `New.IsHCParam.exists_decreasingPosition_eq`: the entries of a | |
| 32 | + parameter `l` are those of `New.hcParameter`, in the decreasing order of `l`; | |
| 33 | + `New.IsHCParam.lowestKType_eq`: the highest weight that `l` determines. | |
| 34 | +* For injective `l w` and signs all 1, the highest vector | |
| 35 | + `New.highestVector` of `New.conjWeylRep` is cyclic (`New.span_translate_highestVector_eq_top`), | |
| 36 | + and so is its dual (`New.span_gramForm_highestVector_comp_eq_top`). | |
| 37 | +* `New.IsHCParam.prod_formalDegree`: the product of the formal degrees `New.HCParam.formalDegree` is | |
| 38 | + the dimension. | |
| 39 | + | |
| 40 | +Notions from other files: | |
| 41 | +* `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx | |
| 42 | + equal to the diagonal matrix of its signs at the infinite places and 1 at the finite places. | |
| 43 | +* `New.Space.embFin`: For a space (J, x), the homomorphism U(J)(E) → G_f sending γ to the finite | |
| 44 | + part of x^{-1} γ x. | |
| 45 | +* `New.conjWeylRep`: The complex linear representation of weight (κ, e) of the product over places | |
| 46 | + of the unitary groups of signs s, acting by the matrices `New.conjWeylMatrix`. | |
| 47 | +* `New.IsHCParam`: `l` lists twice the Harish-Chandra parameter of the weight `(κ, e)`, in some | |
| 48 | + order: at each place `w` the numbers `l w i` are distinct, and each of them is | |
| 49 | + `hcParameter κ e (card n) w p` for some position `p < card n`. | |
| 50 | +* `New.HCParam.dsCoeff`: The function c_λ(g) = Ξ(a, a⁻¹g) of a complex matrix g, with a the block | |
| 51 | + diagonal part of g and Ξ the normalised integral `New.HCParam.flenstedJensen`. | |
| 52 | + | |
| 53 | +## Relation to the literature | |
| 54 | + | |
| 55 | +Known result: algebraic modular forms on definite unitary groups and their invariant pairing. | |
| 56 | +Source: B. Gross, Algebraic modular forms, Israel J. Math. 113 (1999) 61–93, (4.1) and Prop. 4.5 | |
| 57 | +(pp. 68–69) for the forms, (6.2) (p. 71) for the pairing; there for a reductive group over ℚ with | |
| 58 | +finite arithmetic subgroups, with a positive definite rational inner product given by a weighted | |
| 59 | +sum over classes, whereas `New.smoothPairing` takes any invariant B that is sesquilinear for a ring | |
| 60 | +map σ : ℂ → ℂ, and normalises vol K₀ = 1 for the standard level K₀ = `New.stdLevel E n`. | |
| 61 | +Gross does not treat the Harish-Chandra parameters, formal degrees or discrete-series coefficients. | |
| 62 | +-/ | |
| 63 | + | |
| 64 | +@[expose] public section | |
| 65 | + | |
| 66 | +noncomputable section | |
| 67 | + | |
| 68 | +namespace New | |
| 69 | + | |
| 70 | +/-! | |
| 71 | +## Smooth forms for a group with rational points | |
| 72 | + | |
| 73 | +Smooth forms for a group `G` with rational points `e : Γ →* G` and a representation `ρ` of `Γ` on | |
| 74 | +`V`. | |
| 75 | +-/ | |
| 76 | + | |
| 77 | +section SmoothForms | |
| 78 | + | |
| 79 | +variable {G Γ V : Type*} [Group G] [Group Γ] [AddCommGroup V] [Module ℂ V] [TopologicalSpace G] | |
| 80 | + [IsTopologicalGroup G] (e : Γ →* G) (ρ : Representation ℂ Γ V) | |
| 81 | + | |
| 82 | +/-- Smooth forms: functions φ : G → V with φ(e(γ)g) = ρ(γ)φ(g) whose stabiliser under right | |
| 83 | +translation is open. -/ | |
| 84 | +def SmoothForm : Submodule ℂ (G → V) := (smoothFunctions ℂ).toSubmodule ⊓ ρ.coindV e | |
| 85 | + | |
| 86 | +/-- The representation of G on smooth forms by right translation. -/ | |
| 87 | +@[simps! -fullyApplied apply_apply_coe] | |
| 88 | +def smoothFormRep : Representation ℂ G (SmoothForm e ρ) := | |
| 89 | + (rightRegular ℂ G V).subrepresentation (SmoothForm e ρ) fun a φ ⟨h_smooth, h_equivariant⟩ ↦ by | |
| 90 | + refine ⟨(smoothFunctions ℂ).apply_mem_toSubmodule a h_smooth, fun γ g ↦ ?_⟩ | |
| 91 | + simp [mul_assoc, h_equivariant γ] | |
| 92 | + | |
| 93 | +end SmoothForms | |
| 94 | + | |
| 95 | +/-! | |
| 96 | +## Algebraic forms and a p-adic gauge of their values | |
| 97 | + | |
| 98 | +The spaces of algebraic modular forms on the definite unitary group of the sum of `n` norms | |
| 99 | +(`New.stdSpace`), and the measure of their `p`-adic integrality. | |
| 100 | + | |
| 101 | +* `New.weylGauge`: the largest `p`-adic size of a coordinate of the translate of a value `ξ` by | |
| 102 | + the inverse of a finite adelic point `g`. | |
| 103 | + | |
| 104 | +Values are coordinate vectors indexed by `New.WeylIndex`, on which matrices over any commutative | |
| 105 | +ring act by `New.weylRep`. | |
| 106 | +-/ | |
| 107 | + | |
| 108 | +section AlgFormDefs | |
| 109 | + | |
| 110 | +open NumberField Matrix Space | |
| 111 | + | |
| 112 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 113 | + (κ : InfinitePlace E → ℕ → ℕ) (e : InfinitePlace E → ℤ) {s : n → ℤˣ} | |
| 114 | + {p : ℕ} [Fact p.Prime] [ι : PadicPlace p] | |
| 115 | + | |
| 116 | +variable (n) in | |
| 117 | +/-- Smooth algebraic forms of weight (κ, e) on the standard space `New.stdSpace E n`: functions φ on | |
| 118 | +the finite adelic unitary group with φ(γg) = ρ(γ)φ(g) for rational γ whose stabiliser under right | |
| 119 | +translation is open. -/ | |
| 120 | +abbrev AlgForm : Submodule ℂ (Gf E n → WeylIndex n κ → ℂ) := | |
| 121 | + SmoothForm (stdSpace E n).embFin (weightRep κ e (stdSpace E n)) | |
| 122 | + | |
| 123 | +/-- The representation of the finite adelic unitary group on the space of algebraic forms of | |
| 124 | +weight (κ,e), by right translation. -/ | |
| 125 | +abbrev algFormRep : | |
| 126 | + Representation ℂ (Gf E n) (SmoothForm (stdSpace E n).embFin (weightRep κ e (stdSpace E n))) := | |
| 127 | + smoothFormRep (stdSpace E n).embFin (weightRep κ e (stdSpace E n)) | |
| 128 | + | |
| 129 | +/-- The gauge of ξ at g: the largest p-adic absolute value of a coordinate of g⁻¹·ι(ξ), where | |
| 130 | +ι = `ιₚ` maps ℂ to the p-adic field and g⁻¹ acts in weight (κ, e), at τ through the p-adic | |
| 131 | +component given by the embedding `weightEmbedding ιₚ τ`, x ↦ ι(Φ_τ(x̄)). So g acts through its | |
| 132 | +conjugate, the inverse transpose of g, and the gauge is the multiplicative form of the least | |
| 133 | +valuation of a coordinate. -/ | |
| 134 | +def weylGauge (g : Gf E n) (ξ : WeylIndexFamily (fun _ : InfinitePlace E ↦ n) κ → ℂ) : ℝ := | |
| 135 | + ‖weylRep κ e (fun τ ↦ | |
| 136 | + GeneralLinearGroup.map (adeleExtension (weightEmbedding ιₚ τ)) g⁻¹.val) *ᵥ ιₚ ∘ ξ‖ | |
| 137 | + | |
| 138 | +variable (n p) | |
| 139 | + | |
| 140 | +/-- The subgroup of finite adelic unitary points whose components at all primes above p are | |
| 141 | +integral invertible matrices. -/ | |
| 142 | +abbrev integralAbove {E : Type} (n : Type) [Field E] [NumberField E] [IsCMField E] [Fintype n] | |
| 143 | + [DecidableEq n] (p : ℕ) : Subgroup (Gf E n) := localLevel n {w : FinPlace E | ↑p ∈ w.asIdeal} | |
| 144 | + | |
| 145 | +end AlgFormDefs | |
| 146 | + | |
| 147 | +/-! | |
| 148 | +## From algebraic forms to functions on the adelic points | |
| 149 | + | |
| 150 | +* `New.algFormCoeff`, `New.ofAlgForm`: the scalar function on all adelic points of a form. | |
| 151 | +-/ | |
| 152 | + | |
| 153 | +section AlgebraicFormDefs | |
| 154 | + | |
| 155 | +open NumberField | |
| 156 | + | |
| 157 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 158 | + (l : InfinitePlace E → n → ℤ) {κ : InfinitePlace E → ℕ → ℕ} {e : InfinitePlace E → ℤ} | |
| 159 | + | |
| 160 | +/-- For a linear functional L on vectors of weight (κ, e), the linear map sending an algebraic form | |
| 161 | +φ to the function g ↦ L(ρ(g_∞⁻¹) φ(g_f)) on G, with ρ = `New.conjWeylRep`. -/ | |
| 162 | +@[simps! -isSimp apply] | |
| 163 | +noncomputable def algFormCoeff (s : n → ℤˣ) (L : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) : | |
| 164 | + AlgForm (E := E) n κ e →ₗ[ℂ] G E s → ℂ := | |
| 165 | + LinearMap.pi fun g ↦ L ∘ₗ conjWeylRep κ e g.1⁻¹ ∘ₗ | |
| 166 | + LinearMap.domRestrict (LinearMap.proj g.2) (AlgForm n κ e) | |
| 167 | + | |
| 168 | +/-- The linear map φ ↦ F_φ from algebraic forms of weight (κ, e) to functions on G, F_φ(g) = ⟨v⁺, | |
| 169 | +ρ(g_∞⁻¹) φ(g_f)⟩, with v⁺ = `New.highestVector` for l, a vector built from the decreasing order of | |
| 170 | +the entries of l (a unit vector for ⟨·,·⟩ = `New.gramForm` when each l w is injective). -/ | |
| 171 | +noncomputable abbrev ofAlgForm (s : n → ℤˣ) : ↥(AlgForm n κ e) →ₗ[ℂ] G E s → ℂ := | |
| 172 | + algFormCoeff (E := E) (e := e) s (gramForm (n := n) (highestVector κ l)) | |
| 173 | + | |
| 174 | +/-- Shows that any standard space `V` of sign `1` equals `stdSpace E n`. -/ | |
| 175 | +lemma Space.IsStd.eq_stdSpace (V : Space E n 1) [IsStd V] : V = stdSpace E n := ext point_eq_one | |
| 176 | + | |
| 177 | +/-- Induction principle for standard spaces (all signs `1`, point the identity matrix). To prove a | |
| 178 | +statement about every standard space with its proof of standardness, it suffices to prove it for | |
| 179 | +`New.stdSpace` with signs `1`. -/ | |
| 180 | +@[elab_as_elim, induction_eliminator] | |
| 181 | +lemma Space.IsStd.std_induction {motive : ∀ (s : n → ℤˣ) (V : Space E n s), V.IsStd → Prop} | |
| 182 | + (h : motive 1 (stdSpace E n) ⟨rfl, rfl⟩) {s : n → ℤˣ} {V : Space E n s} (hV : V.IsStd) : | |
| 183 | + motive s V hV := by | |
| 184 | + obtain rfl : s = 1 := hV.signs_eq_one | |
| 185 | + obtain rfl : V = stdSpace E n := eq_stdSpace V | |
| 186 | + exact h | |
| 187 | + | |
| 188 | +end AlgebraicFormDefs | |
| 189 | + | |
| 190 | +/-! | |
| 191 | +## The invariant pairing of smooth algebraic forms | |
| 192 | + | |
| 193 | +Here V is a definite hermitian space (`New.Space` with all signs 1), and Γ is the image of the | |
| 194 | +rational unitary group in G_f under `New.Space.embFin`. A weight κ of type `New.Weight` is a pair: | |
| 195 | +κ.1 counts the columns of each height and κ.2 gives the powers of the determinant. | |
| 196 | + | |
| 197 | +* `New.Space.forms`: the functions on G_f fixed by an open subgroup under right translation that | |
| 198 | + transform on the left by the weight κ representation `New.Space.weightRep`. | |
| 199 | +* `New.Space.formTranslation`: the action of G_f on forms by right translation. | |
| 200 | + | |
| 201 | +`New.classIntegral` is the integral over Γ\G_f normalised by vol K₀ = 1, with K₀ = `New.stdLevel`. | |
| 202 | +-/ | |
| 203 | + | |
| 204 | +section SmoothFormPairing | |
| 205 | + | |
| 206 | +variable {E : Type} {n : Type} [Field E] [CMType E] [Fintype n] | |
| 207 | + [DecidableEq n] (V : Space E n 1) (κ : Weight E) | |
| 208 | + | |
| 209 | +/-- Algebraic modular forms of weight κ on a definite space V: functions f on G_f with open | |
| 210 | +right stabiliser and f(γg) = ρ_κ(γ)f(g) for rational γ, ρ_κ = `New.Space.weightRep`. -/ | |
| 211 | +def Space.forms : Submodule ℂ (Gf E n → WeylIndex n κ.1 → ℂ) := | |
| 212 | + SmoothForm V.embFin (V.weightRep κ.1 κ.2) | |
| 213 | + | |
| 214 | +/-- The representation of the finite adelic unitary group on forms of weight κ on V by right | |
| 215 | +translation. -/ | |
| 216 | +@[simps! -fullyApplied apply_apply_coe] | |
| 217 | +def Space.formTranslation : Representation ℂ (Gf E n) (V.forms κ) := | |
| 218 | + (rightRegular ℂ (Gf E n) (WeylIndex n κ.1 → ℂ)).subrepresentation (V.forms κ) fun a φ hφ ↦ | |
| 219 | + (smoothFormRep V.embFin (weightRep κ.1 κ.2 V) a ⟨φ, hφ⟩).property | |
| 220 | + | |
| 221 | +variable {V κ} {σ : ℂ →+* ℂ} {B : (WeylIndex n κ.1 → ℂ) →ₛₗ[σ] (WeylIndex n κ.1 → ℂ) →ₗ[ℂ] ℂ} | |
| 222 | + | |
| 223 | +/-- For forms φ and ψ of weight κ = (κ.1, κ.2) (column counts and determinant powers) on the | |
| 224 | +definite space V, and B invariant under `New.Space.weightRep`, the function g ↦ B(φ(g), ψ(g)) is | |
| 225 | +left invariant under the group `V.Γf` of rational points and fixed by an open subgroup under right | |
| 226 | +translation, so that `New.classIntegral` applies to it. -/ | |
| 227 | +@[local simp] | |
| 228 | +lemma pairing_mem_smoothInvariants | |
| 229 | + (hB : ∀ (γ : U V.J) (v v' : WeylIndex n κ.1 → ℂ), | |
| 230 | + B (V.weightRep κ.1 κ.2 γ v) (V.weightRep κ.1 κ.2 γ v') = B v v') | |
| 231 | + (φ ψ : V.forms κ) : | |
| 232 | + (fun g : Gf E n ↦ B (φ.val g) (ψ.val g)) ∈ smoothInvariants V.Γf := by | |
| 233 | + obtain ⟨φ, hφ_smooth, hφ_equivariant⟩ := φ | |
| 234 | + obtain ⟨ψ, hψ_smooth, hψ_equivariant⟩ := ψ | |
| 235 | + refine ⟨Set.forall_mem_range.2 ?_, ?_⟩ | |
| 236 | + · -- Both forms transform under `V.weightRep`, which preserves `B`. | |
| 237 | + change ∀ (γ : U V.J) (g : Gf E n), B (φ (V.embFin γ * g)) (ψ (V.embFin γ * g)) = B (φ g) (ψ g) | |
| 238 | + simp [hφ_equivariant _, hψ_equivariant _, hB] | |
| 239 | + · -- The pairing is fixed by every translation that fixes both forms. | |
| 240 | + have h_open : (rightStabilizer φ ⊓ rightStabilizer ψ).IsOpen := .inter hφ_smooth hψ_smooth | |
| 241 | + exact Subgroup.isOpen_mono (fun k hk g ↦ by simp only [hk.1 g, hk.2 g]) h_open | |
| 242 | + | |
| 243 | +variable (B) in | |
| 244 | +/-- For a σ-sesquilinear B invariant under the weight κ action of U(J)(E), this is the pairing (φ, | |
| 245 | +φ') ↦ ∫ B(φ(g), φ'(g)) dg of forms on the definite space V, over Γ\G_f with vol K₀ = 1. -/ | |
| 246 | +def smoothPairing | |
| 247 | + (hB : ∀ (γ : U V.J) (v v' : WeylIndex n κ.1 → ℂ), | |
| 248 | + B (V.weightRep κ.1 κ.2 γ v) (V.weightRep κ.1 κ.2 γ v') = B v v') : | |
| 249 | + V.forms κ →ₛₗ[σ] V.forms κ →ₗ[ℂ] ℂ := | |
| 250 | + LinearMap.mk₂'ₛₗ σ (RingHom.id ℂ) | |
| 251 | + (fun φ φ' ↦ classIntegral V.Γf (stdLevel E n) fun g ↦ B (φ.val g) (φ'.val g)) | |
| 252 | + -- The integral is additive on smooth invariant functions, so this is σ-sesquilinear. | |
| 253 | + (fun φ₁ φ₂ ψ ↦ by simp [classIntegral_add, ← Pi.add_def, hB]) | |
| 254 | + (fun c φ ψ ↦ by simp) | |
| 255 | + (fun φ ψ₁ ψ₂ ↦ by simp [classIntegral_add, ← Pi.add_def, hB]) | |
| 256 | + (fun c φ ψ ↦ by simp) | |
| 257 | + | |
| 258 | +/-- The value of `New.smoothPairing` at two forms is the integral of their pointwise pairing. -/ | |
| 259 | +lemma smoothPairing_apply | |
| 260 | + (hB : ∀ (γ : U V.J) (v v' : WeylIndex n κ.1 → ℂ), | |
| 261 | + B (V.weightRep κ.1 κ.2 γ v) (V.weightRep κ.1 κ.2 γ v') = B v v') | |
| 262 | + (φ φ' : V.forms κ) : | |
| 263 | + smoothPairing B hB φ φ' = | |
| 264 | + classIntegral V.Γf (stdLevel E n) fun g : Gf E n ↦ B (φ.val g) (φ'.val g) := | |
| 265 | + rfl | |
| 266 | + | |
| 267 | +/-- The pairing `New.smoothPairing` of forms of weight κ on the definite space V, by a form `B` | |
| 268 | +invariant under `New.Space.weightRep`, is unchanged when both forms are translated on the right by | |
| 269 | +the same finite adelic point `a`. -/ | |
| 270 | +lemma smoothPairing_formTranslation | |
| 271 | + (hB : ∀ (γ : U V.J) (v v' : WeylIndex n κ.1 → ℂ), | |
| 272 | + B (V.weightRep κ.1 κ.2 γ v) (V.weightRep κ.1 κ.2 γ v') = B v v') | |
| 273 | + (a : Gf E n) (φ φ' : V.forms κ) : | |
| 274 | + smoothPairing B hB (V.formTranslation κ a φ) (V.formTranslation κ a φ') = | |
| 275 | + smoothPairing B hB φ φ' := by | |
| 276 | + -- The integral over Γ\G_f does not change under right translation of the integrand. | |
| 277 | + rw [smoothPairing_apply, smoothPairing_apply] | |
| 278 | + exact classIntegral_map_mul_right (.id ℂ) a (pairing_mem_smoothInvariants hB φ φ') fun g ↦ by simp | |
| 279 | + | |
| 280 | +end SmoothFormPairing | |
| 281 | + | |
| 282 | +end New | |
| 283 | + | |
| 284 | +/-! | |
| 285 | +## Harish-Chandra parameters, formal degrees and dimension | |
| 286 | + | |
| 287 | +Facts on `New.IsHCParam κ e l`: the vector `l` lists, at each place and in some order, twice the | |
| 288 | +Harish-Chandra parameter `λ + ρ` of the weight `(κ, e)` of the compact group `U(n)`. | |
| 289 | +`New.hcParameter` is that vector as a decreasing sequence, and `New.decreasingPosition` is the | |
| 290 | +position of an index in it. | |
| 291 | +-/ | |
| 292 | + | |
| 293 | +section WeightParameter | |
| 294 | + | |
| 295 | +open MeasureTheory Complex ComplexConjugate Finset Fintype | |
| 296 | + | |
| 297 | +namespace New | |
| 298 | + | |
| 299 | +variable {Φ n : Type} [Fintype Φ] [Fintype n] | |
| 300 | + {κ : Φ → ℕ → ℕ} {e : Φ → ℤ} {N : ℕ} {l : Φ → HCParam (n := n) 1} | |
| 301 | + | |
| 302 | +/-! ### Existence of parameters, and cyclicity of the highest vector -/ | |
| 303 | + | |
| 304 | +lemma hcParameter_strictAnti {w : Φ} : StrictAnti (hcParameter κ e N w) := | |
| 305 | + strictAnti_nat_of_succ_lt (by grind [hcParameter]) | |
| 306 | + | |
| 307 | +/-- Index the entries of the decreasing sequence `hcParameter κ e (card n) w` by `n` through the | |
| 308 | +enumeration `Fintype.equivFin n`. The resulting vector satisfies `IsHCParam κ e`. -/ | |
| 309 | +lemma isHCParam_hcParameter (n : Type) [Fintype n] (κ : Φ → ℕ → ℕ) (e : Φ → ℤ) : | |
| 310 | + IsHCParam κ e fun (w : Φ) (i : n) ↦ | |
| 311 | + hcParameter κ e (Fintype.card n) w (Fintype.equivFin n i) := by | |
| 312 | + simp [IsHCParam, Function.Injective, hcParameter_strictAnti.injective.eq_iff, Fin.val_inj] | |
| 313 | + | |
| 314 | +/-- In rank `N`, for `p + 1 < N`, entries `p` and `p + 1` of the parameter `New.hcParameter` | |
| 315 | +differ by twice the number `κ w (p + 1)` of columns of height `p + 1`, plus two. -/ | |
| 316 | +lemma hcParameter_sub_succ {N p : ℕ} (w : Φ) (hp : p + 1 < N) : | |
| 317 | + hcParameter κ e N w p - hcParameter κ e N w (p + 1) = 2 * κ w (p + 1) + 2 := by | |
| 318 | + classical | |
| 319 | + have h_row : diagramWeight (fun _ ↦ N) κ (w, p) = | |
| 320 | + diagramWeight (fun _ ↦ N) κ (w, p + 1) + κ w (p + 1) := by | |
| 321 | + rw [GL.diagramWeight_eq_succ_add, ite_eq_left hp] | |
| 322 | + simp only [hcParameter, h_row] | |
| 323 | + push_cast | |
| 324 | + ring | |
| 325 | + | |
| 326 | +/-- Let L be a sequence of integers with L(p) − L(p+1) = 2κ_w(p+1) + 2 whenever p + 1 < N. If L | |
| 327 | +agrees with `New.hcParameter κ e N w` at one index q < N, then it agrees with it at every p < N. | |
| 328 | +That sequence is the decreasing parameter for rank N, and it has these same steps. -/ | |
| 329 | +lemma hcParameter_eq_of_steps (w : Φ) (L : ℕ → ℤ) | |
| 330 | + (h_step : ∀ p : ℕ, p + 1 < N → L p = L (p + 1) + 2 * κ w (p + 1) + 2) {q : ℕ} (hq : q < N) | |
| 331 | + (h_agree : L q = hcParameter κ e N w q) : | |
| 332 | + ∀ p : ℕ, p < N → hcParameter κ e N w p = L p := by | |
| 333 | + -- `L` and `hcParameter κ e N w` have the same steps, so their difference is constant; it is `0` | |
| 334 | + -- at `q`. | |
| 335 | + have diff_const (p : ℕ) (hp : p < N) : | |
| 336 | + L p - hcParameter κ e N w p = L 0 - hcParameter κ e N w 0 := by | |
| 337 | + induction p with | |
| 338 | + | zero => rfl | |
| 339 | + | succ p ih => | |
| 340 | + linarith [ih (Nat.lt_of_succ_lt hp), h_step p hp, | |
| 341 | + hcParameter_sub_succ (κ := κ) (e := e) w hp] | |
| 342 | + intro p hp | |
| 343 | + linarith [diff_const p hp, diff_const q hq] | |
| 344 | + | |
| 345 | +variable [DecidableEq Φ] | |
| 346 | + | |
| 347 | +/-- Let each `l w` be injective, v⁺ = `New.highestVector`, ρ = `New.conjWeylRep` and | |
| 348 | +⟨·,·⟩ = `New.gramForm`. If f(ρ(x) v⁺) ⟨v⁺, ρ(x⁻¹) u⟩ = 0 for all x in the compact group (`USign 1` | |
| 349 | +at each place), then f(u) = 0. -/ | |
| 350 | +lemma apply_eq_zero_of_mul_gramForm_highestVector [DecidableEq n] | |
| 351 | + (hl : ∀ w : Φ, (l w).Injective) (e : Φ → ℤ) | |
| 352 | + (f : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) (u : WeylIndex n κ → ℂ) | |
| 353 | + (h_zero : ∀ x : Φ → USign 1, f (conjWeylRep κ e (s := 1) x (highestVector κ l)) * | |
| 354 | + gramForm (highestVector κ l) (conjWeylRep κ e (s := 1) x⁻¹ u) = 0) : | |
| 355 | + f u = 0 := by | |
| 356 | + -- The highest vector is a unit vector, so by Schur orthogonality the mean of the product is | |
| 357 | + -- `(dim ρ)⁻¹ f u`. | |
| 358 | + have h_schur : ∫ x : Φ → USign 1, f (conjWeylRep κ e (s := 1) x (highestVector κ l)) * | |
| 359 | + gramForm (highestVector κ l) (conjWeylRep κ e (s := 1) x⁻¹ u) = | |
| 360 | + (card (WeylIndex n κ) : ℂ)⁻¹ * f u := by | |
| 361 | + rw [schur_orthogonality, gramForm_highestVector_self hl, mul_one] | |
| 362 | + simp only [h_zero, integral_zero] at h_schur | |
| 363 | + exact (mul_eq_zero_iff_left (inv_ne_zero (Nat.cast_ne_zero.2 card_ne_zero))).1 h_schur.symm | |
| 364 | + | |
| 365 | +/-- Let each `l w` be injective, so that it orders the indices and gives the vector | |
| 366 | +`v⁺ = New.highestVector κ l`. A vector `u` is zero if all its translates ρ(x)u are orthogonal to | |
| 367 | +v⁺ for the form `New.gramForm`. Here x runs over the compact group (`USign 1` at each place) and | |
| 368 | +ρ = `New.conjWeylRep` is its representation of weight (κ, e). -/ | |
| 369 | +lemma eq_zero_of_forall_gramForm_translate_eq_zero [DecidableEq n] | |
| 370 | + (hl : ∀ w : Φ, (l w).Injective) (e : Φ → ℤ) (u : WeylIndex n κ → ℂ) | |
| 371 | + (h_orth : ∀ x : Φ → USign 1, gramForm (highestVector κ l) (conjWeylRep κ e (s := 1) x u) = 0) : | |
| 372 | + u = 0 := by | |
| 373 | + funext i | |
| 374 | + exact apply_eq_zero_of_mul_gramForm_highestVector hl e (LinearMap.proj i) u (by simp [h_orth]) | |
| 375 | + | |
| 376 | +/-- Let each `l w` be injective, and let v⁺ = `New.highestVector κ l`. A linear form that kills all | |
| 377 | +translates ρ(x)v⁺ under the compact group (`USign 1` at each place, acting in weight (κ, e) by | |
| 378 | +ρ = `New.conjWeylRep`) is zero. -/ | |
| 379 | +lemma eq_zero_of_forall_map_translate_highestVector_eq_zero [DecidableEq n] | |
| 380 | + (hl : ∀ w : Φ, (l w).Injective) (e : Φ → ℤ) (f : (WeylIndex n κ → ℂ) →ₗ[ℂ] ℂ) | |
| 381 | + (hf : ∀ x : Φ → USign 1, f (conjWeylRep κ e (s := 1) x (highestVector κ l)) = 0) : | |
| 382 | + f = 0 := by | |
| 383 | + exact LinearMap.ext fun u ↦ apply_eq_zero_of_mul_gramForm_highestVector hl e f u (by simp [hf]) | |
| 384 | + | |
| 385 | +/-- Let each `l w` be injective, and let v⁺ = `New.highestVector κ l`. The translates ρ(x)v⁺ under | |
| 386 | +the compact group (`USign 1` at each place, acting in weight (κ, e) by ρ = `New.conjWeylRep`) span | |
| 387 | +the space of coordinate vectors. -/ | |
| 388 | +lemma span_translate_highestVector_eq_top [DecidableEq n] | |
| 389 | + (hl : ∀ w : Φ, (l w).Injective) (e : Φ → ℤ) : | |
| 390 | + Submodule.span ℂ (Set.range fun x : Φ → USign (1 : n → ℤˣ) ↦ | |
| 391 | + conjWeylRep κ e x (highestVector κ l)) = ⊤ := by | |
| 392 | + -- A proper subspace lies in the kernel of a nonzero linear form. | |
| 393 | + by_contra h_proper | |
| 394 | + obtain ⟨f, hf_ne, hf_ker⟩ := Submodule.exists_le_ker_of_lt_top _ (lt_top_iff_ne_top.2 h_proper) | |
| 395 | + exact hf_ne <| eq_zero_of_forall_map_translate_highestVector_eq_zero hl e f | |
| 396 | + fun x ↦ hf_ker (Submodule.subset_span ⟨x, rfl⟩) | |
| 397 | + | |
| 398 | +/-- Let each `l w` be injective, and let v⁺ = `New.highestVector κ l`. The linear forms | |
| 399 | +u ↦ ⟨v⁺, ρ(x)u⟩ span the dual space. Here ⟨·,·⟩ = `New.gramForm`, and x runs over the compact | |
| 400 | +group (`USign 1` at each place), acting in weight (κ, e) by ρ = `New.conjWeylRep`. -/ | |
| 401 | +lemma span_gramForm_highestVector_comp_eq_top [DecidableEq n] | |
| 402 | + (hl : ∀ w : Φ, (l w).Injective) (e : Φ → ℤ) : | |
| 403 | + Submodule.span ℂ (Set.range fun x : Φ → USign (1 : n → ℤˣ) ↦ | |
| 404 | + gramForm (highestVector κ l) ∘ₗ conjWeylRep κ e x) = ⊤ := by | |
| 405 | + -- The common kernel of these forms is zero, so it lies in the kernel of every linear form `f`. | |
| 406 | + refine Submodule.eq_top_iff'.2 fun f ↦ | |
| 407 | + FiniteDimensional.mem_span_of_iInf_ker_le_ker fun u hu ↦ ?_ | |
| 408 | + have h_orth (x : Φ → USign (1 : n → ℤˣ)) : | |
| 409 | + gramForm (highestVector κ l) (conjWeylRep κ e x u) = 0 := (Submodule.mem_iInf _).1 hu x | |
| 410 | + simp [eq_zero_of_forall_gramForm_translate_eq_zero hl e u h_orth] | |
| 411 | + | |
| 412 | +/-! ### Positions in the decreasing order -/ | |
| 413 | + | |
| 414 | +/-- For an injective integer vector `a` indexed by `n`, every position `q < card n` in the | |
| 415 | +decreasing order of `a` is taken by some index. Here `decreasingPosition a i` counts the indices k | |
| 416 | +with a i < a k, so positions start at 0. -/ | |
| 417 | +lemma exists_decreasingPosition_eq_of_injective {a : n → ℤ} (ha : a.Injective) {q : ℕ} | |
| 418 | + (hq : q < Fintype.card n) : ∃ i : n, decreasingPosition a i = q := by | |
| 419 | + obtain ⟨f, hf⟩ := exists_equiv_decreasingPosition ha | |
| 420 | + exact ⟨f.symm ⟨q, hq⟩, by simp [(hf _).1]⟩ | |
| 421 | + | |
| 422 | +/-- If `x < a i`, then the number of entries of `a` that exceed `x` is larger than the position of | |
| 423 | +`i` in the decreasing order of `a`. -/ | |
| 424 | +lemma decreasingPosition_lt_card_of_lt {a : n → ℤ} {i : n} {x : ℤ} (hx : x < a i) : | |
| 425 | + decreasingPosition a i < #{k : n | x < a k} := by | |
| 426 | + -- The indices `k` with `a i < a k` satisfy `x < a k`, and so does `i`. | |
| 427 | + refine card_lt_card ((Finset.ssubset_iff_of_subset ?_).2 ⟨i, by simp [hx], by simp⟩) | |
| 428 | + exact monotone_filter_right _ fun k _ hk ↦ hx.trans hk | |
| 429 | + | |
| 430 | +/-! ### Consequences of `New.IsHCParam` -/ | |
| 431 | + | |
| 432 | +section | |
| 433 | + | |
| 434 | +omit [DecidableEq Φ] | |
| 435 | + | |
| 436 | +/-- Shows that for `h : IsHCParam κ e l` and any place `w`, the family `l w` is | |
| 437 | +injective. -/ | |
| 438 | +lemma IsHCParam.injective (h : IsHCParam κ e l) (w : Φ) : (l w).Injective := (h w).1 | |
| 439 | + | |
| 440 | +/-- Here `hcParameter κ e N w p` = 2μ_p + N − 1 − 2p is entry p of twice μ + ρ in rank N, for the | |
| 441 | +highest weight μ_p = e_w + Σ_{p<h<N} κ_w(h) at the place `w`. If `l` lists twice the Harish-Chandra | |
| 442 | +parameter of `(κ, e)` in some order, then `l w i` is the entry of `hcParameter` at the position of | |
| 443 | +`i` in the decreasing order of `l w`, that is, the number of `j` with `l w i < l w j`. -/ | |
| 444 | +lemma IsHCParam.eq_hcParameter (h : IsHCParam κ e l) (w : Φ) (i : n) : | |
| 445 | + l w i = hcParameter κ e (Fintype.card n) w (decreasingPosition (l w) i) := by | |
| 446 | + -- Write `l w j` as entry `v j` of the strictly decreasing sequence `hcParameter`. Then `v` is a | |
| 447 | + -- bijection onto `Fin (card n)` that reverses the order, so `v i` is the position | |
| 448 | + -- `decreasingPosition` of `i`. | |
| 449 | + choose v hv using show ∀ j : n, ∃ p : Fin (card n), l w j = hcParameter κ e (card n) w p by | |
| 450 | + simpa [Fin.exists_iff] using (h w).2 | |
| 451 | + have hv_inj : v.Injective := fun j k hjk ↦ h.injective w (by rw [hv j, hv k, hjk]) | |
| 452 | + have hv_bij : v.Bijective := (bijective_iff_injective_and_card v).2 ⟨hv_inj, by simp⟩ | |
| 453 | + have h_position := decreasingPosition_eq_of_bijective (l := l w) hv_bij | |
| 454 | + (fun j k ↦ by simp [hv, hcParameter_strictAnti.lt_iff_gt]) i | |
| 455 | + rw [h_position, hv] | |
| 456 | + | |
| 457 | +/-- For a parameter `l` of `(κ, e)`, every position q < |n| is taken: some index i is at position q | |
| 458 | +in the decreasing order of `l w`, its entry is entry q of the parameter, and for each x below that | |
| 459 | +entry more than q entries of `l w` exceed x. -/ | |
| 460 | +lemma IsHCParam.exists_decreasingPosition_eq (h : IsHCParam κ e l) (w : Φ) {q : ℕ} | |
| 461 | + (hq : q < Fintype.card n) : | |
| 462 | + ∃ i : n, | |
| 463 | + decreasingPosition (l w) i = q ∧ | |
| 464 | + l w i = hcParameter κ e (Fintype.card n) w q ∧ | |
| 465 | + ∀ x : ℤ, x < l w i → q < #{k : n | x < l w k} := by | |
| 466 | + obtain ⟨i, rfl⟩ := exists_decreasingPosition_eq_of_injective (h.injective w) hq | |
| 467 | + exact ⟨i, rfl, h.eq_hcParameter w i, fun x hx ↦ decreasingPosition_lt_card_of_lt hx⟩ | |
| 468 | + | |
| 469 | +/-- The entries of `l w` are the first `card n` entries of the decreasing parameter. -/ | |
| 470 | +lemma IsHCParam.image_eq (h : IsHCParam κ e l) (w : Φ) : | |
| 471 | + univ.image (l w) = (range (Fintype.card n)).image (hcParameter κ e (Fintype.card n) w) := by | |
| 472 | + ext y | |
| 473 | + simp only [mem_image, mem_univ, true_and, mem_range] | |
| 474 | + refine ⟨fun ⟨i, hi⟩ ↦ by simpa only [← hi, eq_comm] using (h w).2 i, fun ⟨p, hp, hy⟩ ↦ ?_⟩ | |
| 475 | + obtain ⟨i, -, hi, -⟩ := h.exists_decreasingPosition_eq w hp | |
| 476 | + exact ⟨i, hi.trans hy⟩ | |
| 477 | + | |
| 478 | +/-- For a parameter `l` of `(κ, e)` and every natural number `c`, the vector `l w` satisfies | |
| 479 | +`New.HCParam.HasGap c`: its entries are distinct and of the parity of `card n - 1`, and the gap | |
| 480 | +condition is empty as all signs are `1`. -/ | |
| 481 | +lemma IsHCParam.hasGap (h : IsHCParam κ e l) (w : Φ) (c : ℕ) : (l w).HasGap c where | |
| 482 | + injective := h.injective w | |
| 483 | + parity i := by grind [h.eq_hcParameter, hcParameter] | |
| 484 | + gap _ _ := nofun | |
| 485 | + | |
| 486 | +/-- Let `κ` give column multiplicities at each place w (κ_w(h) columns of height h) and let `e` give | |
| 487 | +an integer e_w at each w, and suppose l is twice the Harish-Chandra parameter of the weight (κ, e). | |
| 488 | +Then for signs all 1, the entry at i of `New.HCParam.lowestKType` of l_w equals e_w + Σ_{p<h<|n|} | |
| 489 | +κ_w(h), where p is the number of j with l_w(j) > l_w(i). Here `New.HCParam.lowestKType` is the | |
| 490 | +highest weight of the lowest K-type, with K = U(n). The sum is `New.diagramWeight` at (w, p), with | |
| 491 | +`rankAt` giving the rank |n| at every place. -/ | |
| 492 | +lemma IsHCParam.lowestKType_eq (h : IsHCParam κ e l) (w : Φ) (i : n) : | |
| 493 | + (l w).lowestKType i = | |
| 494 | + e w + diagramWeight (rankAt fun _ : Φ ↦ n) κ (w, decreasingPosition (l w) i) := by | |
| 495 | + -- With `p = decreasingPosition (l w) i` we have `2ρ_i = card n - 1 - 2 * p` and | |
| 496 | + -- `l w i = 2λ_p + 2ρ_i`, so `(l w i + 2ρ_i) / 2 - 2ρ_i = λ_p`. | |
| 497 | + let twoRho_i : ℤ := #{j : n | l w j < l w i} - #{j : n | l w i < l w j} | |
| 498 | + have h_lowest : (l w).lowestKType i = (l w i + twoRho_i) / 2 - twoRho_i := by | |
| 499 | + simp [HCParam.lowestKType, paramAddRho, twoRho, twoRho_i] | |
| 500 | + have h_count : #{j : n | l w j < l w i} + #{j : n | l w i < l w j} + 1 = card n := | |
| 501 | + card_lt_add_card_gt_add_one (h.injective w) i | |
| 502 | + grind [h.eq_hcParameter w i, hcParameter, decreasingPosition] | |
| 503 | + | |
| 504 | +end | |
| 505 | + | |
| 506 | +variable [DecidableEq n] | |
| 507 | + | |
| 508 | +/-- Let `κ` give column multiplicities at each place w (κ_w(h) columns of height h) and let `e` give | |
| 509 | +an integer e_w at each w; together (κ, e) is the weight whose entry at position p of place w is | |
| 510 | +e_w + Σ_{p<h<|n|} κ_w(h). Suppose l is twice the Harish-Chandra parameter of (κ, e) | |
| 511 | +(`New.IsHCParam`), and take x in the product over w of U(n) = U(diag 1). Then the matrix coefficient | |
| 512 | +⟨v⁺, ρ(x)v⁺⟩ at the highest vector v⁺ = `New.highestVector` is ∏_w conj ψ_{l_w}(x_w), where | |
| 513 | +ρ = `New.conjWeylRep` is the representation on coordinate vectors of weight (κ, e), | |
| 514 | +ψ = `New.HCParam.dsCoeff` and ⟨·,·⟩ = `New.gramForm`. -/ | |
| 515 | +lemma IsHCParam.gramForm_conjWeylRep_eq_dsCoeff (h : IsHCParam κ e l) (x : Φ → USign 1) : | |
| 516 | + gramForm (highestVector κ l) (conjWeylRep κ e (s := 1) x (highestVector κ l)) = | |
| 517 | + ∏ w : Φ, conj ((l w).dsCoeff (x w)) := by | |
| 518 | + -- `f w` orders the indices by decreasing `l w`, and `y` is the entrywise conjugate of `x`. | |
| 519 | + choose f hf using fun w : Φ ↦ exists_equiv_decreasingPosition (h.injective w) | |
| 520 | + let y (w : Φ) : GL n ℂ := Matrix.GeneralLinearGroup.map (starRingEnd ℂ) (x w) | |
| 521 | + -- On the compact group, `conj dsCoeff` is `weightMinors` for the highest weight, taken at `y`. | |
| 522 | + have h_psi (w : Φ) : conj ((l w).dsCoeff (x w)) = | |
| 523 | + weightMinors (fun i : n ↦ e w + diagramWeight (rankAt fun _ : Φ ↦ n) κ (w, f w i)) (y w) := by | |
| 524 | + have h_weight : (l w).lowestKType = fun i : n ↦ | |
| 525 | + e w + diagramWeight (rankAt fun _ : Φ ↦ n) κ (w, f w i) := by | |
| 526 | + simp [funext (h.lowestKType_eq w), hf] | |
| 527 | + have h_conj : ((x w : GL n ℂ) : Matrix n n ℂ).conjTranspose.transpose = y w := rfl | |
| 528 | + rw [dsCoeff_of_mem_maxCompactU (h.hasGap w 0) (by simp [mem_maxCompactU]), h_weight, | |
| 529 | + conj_weightMinors, ← weightMinors_transpose, h_conj] | |
| 530 | + -- The coefficient is the product of these minors, as `conjWeylRep` acts by `weylRep` at `y`. | |
| 531 | + have h_act (v : WeylIndex n κ → ℂ) : | |
| 532 | + conjWeylRep κ e (s := 1) x v = (weylRep κ e y).mulVec v := rfl | |
| 533 | + rw [gramForm_apply, star_highestVector, h_act] | |
| 534 | + simp only [h_psi, highestVector, hf] | |
| 535 | + exact weylRep_coeff_eq_prod_weightMinors (n := fun _ : Φ ↦ n) f y | |
| 536 | + | |
| 537 | +/-- If l is twice the Harish-Chandra parameter of (κ, e), the product over w of the formal degrees | |
| 538 | +`New.HCParam.formalDegree` of l_w for the compact group U(n) equals the dimension of the | |
| 539 | +representation of weight (κ, e), the number of elements of its basis `New.WeylIndex`. The formal | |
| 540 | +degree is the reciprocal of the mean of the squared modulus of `New.HCParam.dsCoeff`. | |
| 541 | + | |
| 542 | +This is a case of the Schur orthogonality relations, for one matrix coefficient of the | |
| 543 | +representation of weight (κ, e) of a product of compact groups U(n). -/ | |
| 544 | +lemma IsHCParam.prod_formalDegree (h : IsHCParam κ e l) : | |
| 545 | + ∏ w : Φ, (l w).formalDegree = Fintype.card (WeylIndex n κ) := by | |
| 546 | + -- Schur orthogonality at the highest vector, a unit vector: the mean of the squared modulus of | |
| 547 | + -- its matrix coefficient is the reciprocal of the dimension. The coefficient is the conjugate of | |
| 548 | + -- `∏ w, (l w).dsCoeff`, and `dsCoeff` at `x⁻¹` is the conjugate of `dsCoeff` at `x`. | |
| 549 | + have h_coeff_inv (x : Φ → USign 1) : | |
| 550 | + gramForm (highestVector κ l) (conjWeylRep κ e (s := 1) x⁻¹ (highestVector κ l)) = | |
| 551 | + ∏ w : Φ, (l w).dsCoeff (x w) := by | |
| 552 | + simp only [h.gramForm_conjWeylRep_eq_dsCoeff, Pi.inv_apply, dsCoeff_inv (h.hasGap _ 0), | |
| 553 | + conj_conj] | |
| 554 | + have h_mean : ∫ x : Φ → USign (1 : n → ℤˣ), ∏ w : Φ, (‖(l w).dsCoeff (x w).val‖ : ℂ) ^ 2 = | |
| 555 | + (card (WeylIndex n κ) : ℂ)⁻¹ := by | |
| 556 | + have h_schur : ∫ x : Φ → USign (1 : n → ℤˣ), | |
| 557 | + gramForm (highestVector κ l) (conjWeylRep κ e x (highestVector κ l)) * | |
| 558 | + gramForm (highestVector κ l) (conjWeylRep κ e x⁻¹ (highestVector κ l)) = | |
| 559 | + (card (WeylIndex n κ) : ℂ)⁻¹ := by | |
| 560 | + simp [schur_orthogonality, gramForm_highestVector_self h.injective] | |
| 561 | + simpa [h_coeff_inv, h.gramForm_conjWeylRep_eq_dsCoeff, ← prod_mul_distrib, conj_mul'] using | |
| 562 | + h_schur | |
| 563 | + -- The integral splits over the places, and each factor is the reciprocal of `formalDegree`. | |
| 564 | + have h_split : ((∏ w : Φ, (l w).formalDegree⁻¹ : ℝ) : ℂ) = | |
| 565 | + ∫ x : Φ → USign (1 : n → ℤˣ), ∏ w : Φ, (‖(l w).dsCoeff (x w).val‖ : ℂ) ^ 2 := by | |
| 566 | + simp [formalDegree, ← integral_fintype_prod_eq_prod, ← integral_complex_ofReal, volume_pi] | |
| 567 | + refine inv_injective (ofReal_injective ?_) | |
| 568 | + simpa [← prod_inv_distrib] using h_split.trans h_mean | |
| 569 | + | |
| 570 | +end New | |
| 571 | + | |
| 572 | +end WeightParameter | |
| 573 | + | |
| 574 | +end | |
+500 −0 src/Lib/Adelic/AutomorphicForms/UnipotentRadical.lean added View file
| @@ -0,0 +1,500 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Analysis.Convex.Integral | |
| 4 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 5 | +import Mathlib.RingTheory.PiTensorProduct | |
| 6 | +import TauCeti.Analysis.SpecialFunctions.Log.Basic | |
| 7 | +import TauCeti.Topology.Algebra.Group.Units | |
| 8 | +import TauCeti.Topology.Instances.Matrix | |
| 9 | +public import Lib.Adelic.AutomorphicForms.RealConvolution | |
| 10 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 11 | +import Lib.DiscreteSeries.CuspKernel | |
| 12 | +import Lib.DiscreteSeries.FlenstedJensen.PsiKTypes | |
| 13 | +import Lib.DiscreteSeries.Haar.TotalMass | |
| 14 | + | |
| 15 | +/-! | |
| 16 | +# The mean along a unipotent radical vanishes; reduction in the radical | |
| 17 | + | |
| 18 | +This file defines the adelic unipotent radical `New.unipotentRadical` of the stabiliser of the | |
| 19 | +span of the columns of an isotropic adelic matrix. A bounded continuous function that is fixed by | |
| 20 | +right convolution with a cusp kernel `e` (`New.IsCuspKernel`) and invariant under the rational | |
| 21 | +points of the radical, of finite covolume, has mean zero along the radical. From this it derives a | |
| 22 | +bound by the oscillation for such functions. It also gives the matrix algebra for the reduction | |
| 23 | +step, `New.Reduction.radicalElem` and `New.Reduction.IsIntBounded`, which moves an adelic point of a | |
| 24 | +unipotent radical close to `1` by a rational element. | |
| 25 | + | |
| 26 | +## Main definitions and results | |
| 27 | + | |
| 28 | +* `New.Space.integral_unipotentRadical_eq_zero`: the mean along the radical vanishes. | |
| 29 | +* `New.unipotentRadical`: the points `g` of the adelic unitary group that fix the span `A` of the | |
| 30 | + columns of `a` pointwise and satisfy `uᴴ J (g v) = uᴴ J v` for all `u`, `v` in `A^⊥`, where | |
| 31 | + `J = stdForm E s`. | |
| 32 | + | |
| 33 | +Notions from other files: | |
| 34 | +* `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx | |
| 35 | + equal to diag(s) at the infinite places and 1 at the finite places (in the coordinates x⁻¹ X this | |
| 36 | + form is the adelic matrix `stdForm E s`); `V.Γ` is its group of rational points in the adelic | |
| 37 | + group G = G_∞ × G_f, and `V.move g` has the point xg. | |
| 38 | +* `New.realConv`: R(k)F(g) = ∫ k(x) F(gx) dx over G_∞ (`New.GInf`, one copy of U(diag s) for each | |
| 39 | + infinite place of E), for k on G_∞ and F on G. | |
| 40 | +* `New.IsCuspKernel`: a minimal idempotent for convolution on G_∞ that decays polynomially and is | |
| 41 | + reproduced by a compactly supported function. | |
| 42 | +* `New.dilationGroup a`: the pairs (g, c) such that g is the scalar c on the columns of a and | |
| 43 | + wᴴ J (g v) = wᴴ J v for all v, w orthogonal to these columns. | |
| 44 | + | |
| 45 | +## Relation to the literature | |
| 46 | + | |
| 47 | +Known; see `Lib.Adelic.AutomorphicForms.Cuspidality` for sources. | |
| 48 | +-/ | |
| 49 | + | |
| 50 | +@[expose] public section | |
| 51 | + | |
| 52 | +/-! ## The mean along a unipotent radical vanishes -/ | |
| 53 | + | |
| 54 | +section Cuspidal | |
| 55 | + | |
| 56 | +open Subgroup MeasureTheory Matrix Real Set Norms.L2Operator Metric NumberField | |
| 57 | + | |
| 58 | +namespace New | |
| 59 | + | |
| 60 | +/-- An element `x` of the unitary group of `J` is a dilation along `A` by the factor `1` if and only | |
| 61 | +if it fixes `A` and `wᴴ J x v = wᴴ J v` for all `v`, `w` orthogonal to `A`. -/ | |
| 62 | +theorem mk_one_mem_dilationGroup_iff {n m R : Type*} [Fintype n] [DecidableEq n] [CommRing R] | |
| 63 | + [StarRing R] {J : Matrix n n R} {A : Matrix n m R} {x : U J} : | |
| 64 | + (x, 1) ∈ dilationGroup A ↔ (x : Matrix n n R) * A = A ∧ | |
| 65 | + ∀ v w : Matrix n n R, Aᴴ * (J * v) = 0 → Aᴴ * (J * w) = 0 → | |
| 66 | + wᴴ * (J * (x * v)) = wᴴ * (J * v) := by | |
| 67 | + change (x : Matrix n n R) * A = (1 : Rˣ) • A ∧ _ ↔ _ | |
| 68 | + exact and_congr_left' (by rw [one_smul]) | |
| 69 | + | |
| 70 | +/-- The points `g` of the adelic unitary group that fix the span `A` of the columns of `a` pointwise | |
| 71 | +and satisfy `uᴴ J (g v) = uᴴ J v` for all `u`, `v` in `A^⊥`, where `J = stdForm E s`. For isotropic | |
| 72 | +`A` with `A^⊥⊥ = A` these are the points that fix `A` and `A^⊥ / A` pointwise: the unipotent radical | |
| 73 | +of the stabiliser of `A`. -/ | |
| 74 | +noncomputable def unipotentRadical {E n : Type*} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 75 | + (s : n → ℤˣ) (a : Matrix n n (𝔸 E)) : Subgroup (G E s) := | |
| 76 | + (dilationGroup (m := n) a).comap (G.toUnitary.toMonoidHom.prod 1) | |
| 77 | + | |
| 78 | +section Radical | |
| 79 | + | |
| 80 | +/-- The pairing `xᴴ (stdForm E s) y` of two adelic matrices, read at an infinite place `w`, is the | |
| 81 | +pairing of their components at `w` for the diagonal matrix of the signs `s`. -/ | |
| 82 | +theorem conjTranspose_map_evalInf_mul_signMatrix_mul {E n : Type*} {s : n → ℤˣ} [Field E] [CMType E] | |
| 83 | + [Fintype n] [DecidableEq n] (w : InfinitePlace E) (x y : Matrix n n (𝔸 E)) : | |
| 84 | + (x.map (evalInf w))ᴴ * (signMatrix s * y.map (evalInf w)) = | |
| 85 | + (xᴴ * (stdForm E s * y)).map (evalInf w) := by | |
| 86 | + have h_form : (stdForm E s).map (evalInf w) = signMatrix s := by simp [stdForm, signMatrix] | |
| 87 | + have h_star : xᴴ.map (evalInf w) = (x.map (evalInf w))ᴴ := rfl | |
| 88 | + rw [Matrix.map_mul, Matrix.map_mul, h_form, h_star] | |
| 89 | + | |
| 90 | +variable {E n : Type*} {s : n → ℤˣ} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 91 | + {a : Matrix n n (𝔸 E)} | |
| 92 | + | |
| 93 | +/-- A point `g` lies in the radical of `a` if and only if it fixes `a` and `uᴴ J g v = uᴴ J v` for | |
| 94 | +all `v`, `u` orthogonal to `a`, where `J` is the standard form. -/ | |
| 95 | +theorem mem_unipotentRadical_iff {g : G E s} : | |
| 96 | + g ∈ unipotentRadical s a ↔ g.adeleMatrix * a = a ∧ | |
| 97 | + ∀ v u : Matrix n n (𝔸 E), aᴴ * (stdForm E s * v) = 0 → aᴴ * (stdForm E s * u) = 0 → | |
| 98 | + uᴴ * (stdForm E s * (g.adeleMatrix * v)) = uᴴ * (stdForm E s * v) := | |
| 99 | + mk_one_mem_dilationGroup_iff (x := g.toUnitary) | |
| 100 | + | |
| 101 | +/-- The radical is closed in the adelic unitary group. -/ | |
| 102 | +instance isClosed_unipotentRadical (a : Matrix n n (𝔸 E)) : | |
| 103 | + IsClosed (unipotentRadical s a : Set (G E s)) := by | |
| 104 | + -- It is an intersection of solution sets of equations between continuous functions. | |
| 105 | + rw [← SetLike.setOfPred_mem_eq (unipotentRadical s a)] | |
| 106 | + simp only [mem_unipotentRadical_iff, ofPred_and, ofPred_forall] | |
| 107 | + exact (isClosed_eq (by fun_prop) continuous_const).inter <| isClosed_iInter fun v ↦ | |
| 108 | + isClosed_iInter fun u ↦ isClosed_iInter fun _ ↦ isClosed_iInter fun _ ↦ | |
| 109 | + isClosed_eq (by fun_prop) continuous_const | |
| 110 | + | |
| 111 | +/-- If at every infinite place `w` the component `r w` of a real point `r` is a dilation by the | |
| 112 | +factor `1` along the component of `a`, then `(r, 1)` lies in the adelic radical of `a`. -/ | |
| 113 | +theorem mk_one_mem_unipotentRadical {r : GInf E s} | |
| 114 | + (hr : ∀ w : InfinitePlace E, (r w, 1) ∈ dilationGroup (m := n) (a.map (evalInf w))) : | |
| 115 | + ((r, 1) : G E s) ∈ unipotentRadical s a := by | |
| 116 | + -- Both equations are trivial at the finite places and are those of `hr` at the infinite ones. | |
| 117 | + have h_inf (w : InfinitePlace E) (v : Matrix n n (𝔸 E)) : | |
| 118 | + (G.adeleMatrix ((r, 1) : G E s) * v).map (evalInf w) = (r w : Matrix n n ℂ) * v.map | |
| 119 | + (evalInf w) := | |
| 120 | + Matrix.map_mul | |
| 121 | + have h_fin (v : Matrix n n (𝔸 E)) : | |
| 122 | + (G.adeleMatrix ((r, 1) : G E s) * v).map (RingHom.snd _ (𝔸f E)) = v.map | |
| 123 | + (RingHom.snd _ (𝔸f E)) := | |
| 124 | + Matrix.map_mul.trans (one_mul _) | |
| 125 | + choose h_fixes h_trivial using fun w ↦ mk_one_mem_dilationGroup_iff.1 (hr w) | |
| 126 | + refine mem_unipotentRadical_iff.2 ⟨matrix_ext_𝔸 (fun w ↦ ?_) (h_fin a), | |
| 127 | + fun v u hv hu ↦ matrix_ext_𝔸 (fun w ↦ ?_) ?_⟩ | |
| 128 | + · rw [h_inf, h_fixes] | |
| 129 | + · rw [← conjTranspose_map_evalInf_mul_signMatrix_mul, | |
| 130 | + ← conjTranspose_map_evalInf_mul_signMatrix_mul, h_inf] | |
| 131 | + exact h_trivial w _ _ (by simp [conjTranspose_map_evalInf_mul_signMatrix_mul, hv]) | |
| 132 | + (by simp [conjTranspose_map_evalInf_mul_signMatrix_mul, hu]) | |
| 133 | + · rw [Matrix.map_mul, Matrix.map_mul, h_fin, ← Matrix.map_mul, ← Matrix.map_mul] | |
| 134 | + | |
| 135 | +end Radical | |
| 136 | + | |
| 137 | +section Height | |
| 138 | + | |
| 139 | +variable {n : Type} [Fintype n] [DecidableEq n] {s : n → ℤˣ} {A : Matrix n n ℂ} | |
| 140 | + | |
| 141 | +theorem coe_uSign_mul_ne_zero (hA : A ≠ 0) (z : USign s) : (z : Matrix n n ℂ) * A ≠ 0 := | |
| 142 | + mt (z : GL n ℂ).mul_right_eq_zero.1 hA | |
| 143 | + | |
| 144 | +/-- If right translation by `y` increases a positive function by at most a factor `C y` | |
| 145 | +and `C y⁻¹ = C y`, its logarithm changes by at most `log (C y)`. -/ | |
| 146 | +lemma abs_log_sub_le_of_mul_le {G : Type*} [Group G] {N C : G → ℝ} | |
| 147 | + (h_pos : ∀ x, 0 < N x) (h_mul : ∀ x y, N (x * y) ≤ N x * C y) | |
| 148 | + (h_inv : ∀ y, C y⁻¹ = C y) (a b : G) : |log (N (a * b)) - log (N a)| ≤ log (C b) := by | |
| 149 | + refine Real.abs_log_sub_log_le_log (h_pos _) (h_pos _) (by simpa [mul_comm] using h_mul a b) ?_ | |
| 150 | + simpa [h_inv, mul_comm] using h_mul (a * b) b⁻¹ | |
| 151 | + | |
| 152 | +/-- For a matrix `A ≠ 0`, the function `x ↦ log ‖x⁻¹ A‖` on the unitary group of signature `s` | |
| 153 | +changes by at most `‖y‖` under right translation by `y` (operator norms). -/ | |
| 154 | +theorem abs_log_norm_inv_mul_sub_le (hA : A ≠ 0) (x y : USign s) : | |
| 155 | + |log ‖(((x * y)⁻¹ : USign s) : Matrix n n ℂ) * A‖ - | |
| 156 | + log ‖((x⁻¹ : USign s) : Matrix n n ℂ) * A‖| ≤ ‖(y : Matrix n n ℂ)‖ := by | |
| 157 | + let N (z : USign s) : ℝ := ‖((z⁻¹ : USign s) : Matrix n n ℂ) * A‖ | |
| 158 | + have N_pos (z : USign s) : 0 < N z := norm_pos_iff.2 (coe_uSign_mul_ne_zero hA z⁻¹) | |
| 159 | + refine (abs_log_sub_le_of_mul_le N_pos (C := fun z : USign s ↦ ‖(z : Matrix n n ℂ)‖) ?_ | |
| 160 | + U.norm_inv x y).trans (log_le_self (norm_nonneg _)) | |
| 161 | + intro a b | |
| 162 | + rw [mul_comm (N a), ← U.norm_inv b] | |
| 163 | + simpa only [N, _root_.mul_inv_rev, Subgroup.coe_mul, Units.val_mul, mul_assoc] using | |
| 164 | + norm_mul_le (b⁻¹ : USign s).val.val ((a⁻¹ : USign s).val.val * A) | |
| 165 | + | |
| 166 | +/-- If `r ∈ U(diag s)` dilates the non-zero matrix `A` by the factor `c` (in particular | |
| 167 | +`r A = c A`), left translation by `r` lowers `log ‖x⁻¹ A‖` by `log ‖c‖`. -/ | |
| 168 | +theorem log_norm_inv_mul_of_mem_dilationGroup (hA : A ≠ 0) {r : USign s} {c : ℂˣ} | |
| 169 | + (hr : (r, c) ∈ dilationGroup (m := n) A) (x : USign s) : | |
| 170 | + log ‖(((r * x)⁻¹ : USign s) : Matrix n n ℂ) * A‖ = | |
| 171 | + -log ‖(c : ℂ)‖ + log ‖((x⁻¹ : USign s) : Matrix n n ℂ) * A‖ := by | |
| 172 | + have h_inv : ((r⁻¹ : USign s) : Matrix n n ℂ) * A = ((c⁻¹ : ℂˣ) : ℂ) • A := (inv_mem hr).1 | |
| 173 | + have h_scale : (((r * x)⁻¹ : USign s) : Matrix n n ℂ) * A = | |
| 174 | + ((c⁻¹ : ℂˣ) : ℂ) • (((x⁻¹ : USign s) : Matrix n n ℂ) * A) := by | |
| 175 | + rw [_root_.mul_inv_rev, Subgroup.coe_mul, Units.val_mul, mul_assoc, h_inv, Matrix.mul_smul] | |
| 176 | + rw [h_scale, norm_smul, Units.val_inv_eq_inv_val, norm_inv, | |
| 177 | + log_mul (by simp) (norm_ne_zero_iff.2 (coe_uSign_mul_ne_zero hA x⁻¹)), log_inv] | |
| 178 | + | |
| 179 | +end Height | |
| 180 | + | |
| 181 | +/-- For E a CM field, let `GInf E s` be the product of the unitary groups U(diag s) over the | |
| 182 | +infinite places, and `A` a family of non-zero matrices with (A w)ᴴ diag(s) A w = 0. A cusp kernel | |
| 183 | +`e` of order `B` is a minimal idempotent with ‖x‖^(B+1)e(x) integrable, ‖x‖^B e(x) bounded and α ∗ | |
| 184 | +e = e for some compactly supported continuous α. It annihilates every bounded continuous `Ψ` that is | |
| 185 | +left invariant under each `r` whose components `r w` fix the columns of `A w` and satisfy vᴴ diag(s) | |
| 186 | +(r w) u = vᴴ diag(s) u for v, u orthogonal to them: `∫ e(x) Ψ(y x) dx = 0` for all `y`. | |
| 187 | + | |
| 188 | +A case of Harish-Chandra's theorem that the K-finite coefficients of a discrete series have | |
| 189 | +vanishing constant terms. -/ | |
| 190 | +theorem IsCuspKernel.integral_mul_eq_zero {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] | |
| 191 | + [Fintype n] [DecidableEq n] {B : ℕ} {e : GInf E s → ℂ} (he : IsCuspKernel B e) | |
| 192 | + {A : InfinitePlace E → Matrix n n ℂ} | |
| 193 | + (hA_iso : ∀ w : InfinitePlace E, (A w)ᴴ * (signMatrix s * A w) = 0) | |
| 194 | + (hA_ne : ∀ w : InfinitePlace E, A w ≠ 0) (Ψ : BoundedContinuousFunction (GInf E s) ℂ) | |
| 195 | + (hΨ : ∀ r : GInf E s, (∀ w : InfinitePlace E, (r w, 1) ∈ dilationGroup (m := n) (A w)) → | |
| 196 | + ∀ x : GInf E s, Ψ (r * x) = Ψ x) | |
| 197 | + (y : GInf E s) : ∫ x : GInf E s, e x * Ψ (y * x) = 0 := by | |
| 198 | + -- `P`: the pairs (r, c) such that r dilates `A` by c at every place. Under such an r the | |
| 199 | + -- height `H`, read at one place, drops by log ‖c‖. | |
| 200 | + let P : Subgroup (GInf E s × ℂˣ) := | |
| 201 | + ⨅ w : InfinitePlace E, (dilationGroup (A w)).comap (.prodMap (Pi.evalMonoidHom _ w) (.id _)) | |
| 202 | + have mem_P {r : GInf E s} {c : ℂˣ} : (r, c) ∈ P ↔ ∀ w, (r w, c) ∈ dilationGroup (A w) := mem_iInf | |
| 203 | + obtain ⟨w₀⟩ : Nonempty (InfinitePlace E) := inferInstance | |
| 204 | + have : Nonempty n := (Function.ne_iff.1 (hA_ne w₀)).nonempty | |
| 205 | + let H (x : GInf E s) : ℝ := log ‖(((x w₀)⁻¹ : USign s) : Matrix n n ℂ) * A w₀‖ | |
| 206 | + let size (x : GInf E s) : ℝ := ∏ w : InfinitePlace E, ‖(x w : Matrix n n ℂ)‖ | |
| 207 | + have H_cont : Continuous H := .log (by fun_prop) fun x ↦ | |
| 208 | + norm_ne_zero_iff.2 (coe_uSign_mul_ne_zero (hA_ne w₀) (x w₀)⁻¹) | |
| 209 | + have H_lip (x z : GInf E s) : |H (x * z) - H x| ≤ size z ^ (B + 1) := | |
| 210 | + calc |H (x * z) - H x| ≤ ‖(z w₀ : Matrix n n ℂ)‖ := abs_log_norm_inv_mul_sub_le (hA_ne w₀) _ _ | |
| 211 | + _ ≤ size z := (le_prod_opNorm z).2 w₀ | |
| 212 | + _ ≤ size z ^ (B + 1) := le_self_pow₀ (le_prod_opNorm z).1 B.succ_ne_zero | |
| 213 | + refine DiscreteSeries.integral_idempotentKernel_mul_eq_zero H (fun x ↦ size x ^ (B + 1)) P | |
| 214 | + he.toIsIdempotentKernel he.integrable_moment H_cont H_lip (fun ⟨r, c⟩ hr x ↦ ?_) | |
| 215 | + (fun W hW ↦ ?_) Ψ (fun r hr ↦ hΨ r (mem_P.1 hr)) y | |
| 216 | + · exact log_norm_inv_mul_of_mem_dilationGroup (hA_ne w₀) (mem_P.1 hr w₀) (x w₀) | |
| 217 | + · -- Dilations by 1 + δ exist in every conjugate of the ball of radius δ, place by place. | |
| 218 | + obtain ⟨δ, hδ, hδW⟩ := nhds_basis_closedBall.mem_iff.1 hW | |
| 219 | + have h_norm : 1 < ‖(1 + δ : ℂ)‖ := (Complex.re_le_norm _).trans_lt' (by simpa) | |
| 220 | + let c : ℂˣ := .mk0 (1 + δ) (mod_cast by positivity) | |
| 221 | + refine ⟨c, (log_pos h_norm).ne', fun x ↦ ?_⟩ | |
| 222 | + have h_place (w : InfinitePlace E) : ∃ z : USign s, | |
| 223 | + dist (z : Matrix n n ℂ) 1 ≤ δ ∧ (x w * z * (x w)⁻¹, c) ∈ dilationGroup (A w) := | |
| 224 | + DiscreteSeries.exists_conj_mem_dilationGroup (hA_iso w) (x w) hδ | |
| 225 | + choose z z_near z_dil using h_place | |
| 226 | + exact ⟨z, hδW (dist_pi_le_iff'.2 z_near), mem_P.2 z_dil⟩ | |
| 227 | + | |
| 228 | +namespace Space | |
| 229 | + | |
| 230 | +variable {E n : Type} {s : n → ℤˣ} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 231 | + (W : Space E n s) {F : G E s → ℂ} {B : ℕ} {e : GInf E s → ℂ} {a : Matrix n n (𝔸 E)} {g : G E s} | |
| 232 | + {C : ℝ} | |
| 233 | + | |
| 234 | +/-- The mean along a unipotent radical vanishes. Let `N` be the radical of an isotropic adelic | |
| 235 | +matrix `a` that vanishes at no infinite place, let `Γ` be the group of rational points of `W`, and | |
| 236 | +let `Γ ∩ N` have finite covolume in `N`. If the bounded continuous function `F` is fixed by right | |
| 237 | +convolution with a cusp kernel `e` and `F (g ·)` is left invariant under `Γ ∩ N`, the integral of | |
| 238 | +`F (g v y)` over `v ∈ (Γ ∩ N) \ N` is zero for every real `y`. Integrals over the quotient are taken | |
| 239 | +against `Subgroup.quotMeasure`, the Haar measure of `N` weighted by a cutoff for `Γ ∩ N`. -/ | |
| 240 | +theorem integral_unipotentRadical_eq_zero (he : IsCuspKernel B e) | |
| 241 | + (ha_iso : aᴴ * (stdForm E s * a) = 0) (ha_ne : ∀ w : InfinitePlace E, a.map (evalInf w) ≠ 0) | |
| 242 | + (h_fin : IsFiniteMeasure ((W.Γ.subgroupOf (unipotentRadical s a)).quotMeasure .haar)) | |
| 243 | + (h_cont : Continuous F) (hC : ∀ x : G E s, ‖F x‖ ≤ C) (h_fix : realConv e F = F) | |
| 244 | + (h_inv : (W.Γ ⊓ unipotentRadical s a).FixesLeft fun x : G E s ↦ F (g * x)) (y : GInf E s) : | |
| 245 | + ∫ v : unipotentRadical s a, F (g * ((v : G E s) * (y, 1))) | |
| 246 | + ∂(W.Γ.subgroupOf (unipotentRadical s a)).quotMeasure .haar = 0 := by | |
| 247 | + -- The mean Ψ(x) of F(g v x) is fixed by convolution with e, since F is, and killed by it, being | |
| 248 | + -- invariant under the real radical. | |
| 249 | + set N : Subgroup (G E s) := unipotentRadical s a | |
| 250 | + let ν : Measure N := (W.Γ.subgroupOf N).quotMeasure .haar | |
| 251 | + have h_unimodular : (Measure.haar : Measure N).IsMulRightInvariant := | |
| 252 | + isMulRightInvariant_of_finite_covolume h_fin | |
| 253 | + have mean_cont : Continuous fun x : GInf E s ↦ ∫ v : N, F (g * ((v : G E s) * (x, 1))) ∂ν := | |
| 254 | + continuous_of_dominated (by fun_prop) (fun _ ↦ .of_forall fun _ ↦ hC _) (integrable_const C) | |
| 255 | + (.of_forall (by fun_prop)) | |
| 256 | + let Ψ : BoundedContinuousFunction (GInf E s) ℂ := .ofNormedAddCommGroup _ mean_cont | |
| 257 | + (C * ν.real univ) fun x ↦ norm_integral_le_of_norm_le_const (.of_forall fun _ ↦ hC _) | |
| 258 | + have hΨ (x : GInf E s) : Ψ x = ∫ v : N, F (g * ((v : G E s) * (x, 1))) ∂ν := rfl | |
| 259 | + have h_assoc (v : G E s) (x z : GInf E s) : v * (x, 1) * (z, 1) = v * (x * z, 1) := by | |
| 260 | + rw [mul_assoc, Prod.mk_mul_mk x, one_mul] | |
| 261 | + -- F is fixed by convolution with e; exchange the two integrals. | |
| 262 | + have Ψ_fix : Ψ y = ∫ x : GInf E s, e x * Ψ (y * x) := | |
| 263 | + calc Ψ y = ∫ v : N, 1 * realConv e F (g * ((v : G E s) * (y, 1))) ∂ν := by simp [hΨ, h_fix] | |
| 264 | + _ = ∫ x : GInf E s, e x * ∫ v : N, 1 * F (g * ((v : G E s) * (y, 1)) * (x, 1)) ∂ν := | |
| 265 | + integral_mul_realConv (.of_continuous ⟨C, hC⟩ h_cont) he.integrable (integrable_const 1) _ | |
| 266 | + _ = ∫ x : GInf E s, e x * Ψ (y * x) := by simp only [hΨ, one_mul, mul_assoc g, h_assoc] | |
| 267 | + rw [← hΨ, Ψ_fix] | |
| 268 | + refine he.integral_mul_eq_zero (fun w ↦ ?_) ha_ne Ψ (fun r hr x ↦ ?_) y | |
| 269 | + · simp [conjTranspose_map_evalInf_mul_signMatrix_mul, ha_iso] | |
| 270 | + · -- (r, 1) lies in `N`, and ν is right invariant on functions invariant under the lattice. | |
| 271 | + let u : N := ⟨(r, 1), mk_one_mem_unipotentRadical hr⟩ | |
| 272 | + have h_lattice (γ : W.Γ.subgroupOf N) (v : N) : | |
| 273 | + F (g * (((γ • v : N) : G E s) * (x, 1))) = F (g * ((v : G E s) * (x, 1))) := by | |
| 274 | + obtain ⟨⟨γ, hγN⟩, hγΓ⟩ := γ | |
| 275 | + simpa [Subgroup.smul_def, mul_assoc] using h_inv γ ⟨hγΓ, hγN⟩ ((v : G E s) * (x, 1)) | |
| 276 | + calc Ψ (r * x) = ∫ v : N, F (g * (((v * u : N) : G E s) * (x, 1))) ∂ν := by | |
| 277 | + simp only [hΨ, u, Subgroup.coe_mul, h_assoc] | |
| 278 | + _ = Ψ x := (identDistrib_orbitMeasure_mul_right u | |
| 279 | + (F := fun v : N ↦ F (g * ((v : G E s) * (x, 1)))) h_lattice (by fun_prop)).integral_eq | |
| 280 | + | |
| 281 | +/-- Let `Γ` be the group of rational points of `W`. If the radical `N` of `a` lies in `(Γ ∩ N) K` | |
| 282 | +with `K` compact, then `Γ ∩ N` has finite covolume in `N`. -/ | |
| 283 | +theorem isFiniteMeasure_quotMeasure_of_isCompact {K : Set (G E s)} (hK : IsCompact K) | |
| 284 | + (h_cover : ∀ u ∈ unipotentRadical s a, ∃ γ ∈ W.Γ ⊓ unipotentRadical s a, γ * u ∈ K) : | |
| 285 | + IsFiniteMeasure ((W.Γ.subgroupOf (unipotentRadical s a)).quotMeasure .haar) := by | |
| 286 | + refine isFiniteMeasure_quotMeasure_of_cocompact (G := unipotentRadical s a) .haar | |
| 287 | + ⟨Subtype.val ⁻¹' K, hK.preimage_val, fun u ↦ ?_⟩ | |
| 288 | + obtain ⟨γ, ⟨hγΓ, hγN⟩, hγu⟩ := h_cover u u.property | |
| 289 | + exact ⟨⟨γ, hγN⟩, hγΓ, hγu⟩ | |
| 290 | + | |
| 291 | +/-- Let `Γ` be the group of rational points of `W`, and let the radical `N` of `a` lie in | |
| 292 | +`(Γ ∩ N) K` with `K` compact. If a continuous function `f`, left invariant under `Γ ∩ N`, has | |
| 293 | +integral zero over `(Γ ∩ N) \ N` and stays within `D` of a number `c` on `K`, then `‖c‖ ≤ D`. -/ | |
| 294 | +theorem norm_le_of_integral_eq_zero {K : Set (G E s)} (hK : IsCompact K) | |
| 295 | + (h_cover : ∀ u ∈ unipotentRadical s a, ∃ γ ∈ W.Γ ⊓ unipotentRadical s a, γ * u ∈ K) | |
| 296 | + {f : G E s → ℂ} (h_cont : Continuous f) (h_inv : (W.Γ ⊓ unipotentRadical s a).FixesLeft f) | |
| 297 | + (h_zero : ∫ v : unipotentRadical s a, f v | |
| 298 | + ∂(W.Γ.subgroupOf (unipotentRadical s a)).quotMeasure .haar = 0) | |
| 299 | + {c : ℂ} {D : ℝ} (hD : ∀ x ∈ K, dist (f x) c ≤ D) : ‖c‖ ≤ D := by | |
| 300 | + -- All values of `f` on `N` are within `D` of `c`, and their mean is zero. | |
| 301 | + set ν : Measure (unipotentRadical s a) := | |
| 302 | + (W.Γ.subgroupOf (unipotentRadical s a)).quotMeasure .haar | |
| 303 | + have h_fin : IsFiniteMeasure ν := W.isFiniteMeasure_quotMeasure_of_isCompact hK h_cover | |
| 304 | + have h_near (v : unipotentRadical s a) : f v ∈ closedBall c D := by | |
| 305 | + obtain ⟨γ, hγ, hγv⟩ := h_cover v v.property | |
| 306 | + simpa only [mem_closedBall, h_inv γ hγ v] using hD _ hγv | |
| 307 | + have h_mean : ⨍ v : unipotentRadical s a, f v ∂ν ∈ closedBall c D := | |
| 308 | + (convex_closedBall c D).average_mem isClosed_closedBall (.of_forall h_near) <| | |
| 309 | + .of_bound (by fun_prop) (‖c‖ + D) (.of_forall fun v ↦ norm_le_of_mem_closedBall (h_near v)) | |
| 310 | + simpa [average_eq, h_zero] using h_mean | |
| 311 | + | |
| 312 | +/-- A bound by the oscillation. Let `a` be isotropic and vanish at no infinite place, and let its | |
| 313 | +radical `N` lie in `(Γ ∩ N) K`, with `Γ` the rational points of `W` and `K` compact. Let `F` be | |
| 314 | +bounded, continuous and fixed by right convolution with a cusp kernel `e`, with `F (g ·)` left | |
| 315 | +invariant under `Γ ∩ N`. If `F (g x y)` is within `D` of `F (g y)` for all `x ∈ K`, with `y` real, | |
| 316 | +then `‖F (g y)‖ ≤ D`. -/ | |
| 317 | +theorem norm_le_of_dist_le (he : IsCuspKernel B e) (ha_iso : aᴴ * (stdForm E s * a) = 0) | |
| 318 | + (ha_ne : ∀ w : InfinitePlace E, a.map (evalInf w) ≠ 0) {K : Set (G E s)} (hK : IsCompact K) | |
| 319 | + (h_cover : ∀ u ∈ unipotentRadical s a, ∃ γ ∈ W.Γ ⊓ unipotentRadical s a, γ * u ∈ K) | |
| 320 | + (h_cont : Continuous F) (hC : ∀ x : G E s, ‖F x‖ ≤ C) (h_fix : realConv e F = F) | |
| 321 | + (h_inv : (W.Γ ⊓ unipotentRadical s a).FixesLeft fun x : G E s ↦ F (g * x)) (y : GInf E s) | |
| 322 | + {D : ℝ} (hD : ∀ x ∈ K, dist (F (g * (x * (y, 1)))) (F (g * (y, 1))) ≤ D) : | |
| 323 | + ‖F (g * (y, 1))‖ ≤ D := by | |
| 324 | + refine W.norm_le_of_integral_eq_zero hK h_cover (f := fun x ↦ F (g * (x * (y, 1)))) | |
| 325 | + (by fun_prop) (fun γ hγ x ↦ by simpa only [mul_assoc] using h_inv γ hγ (x * (y, 1))) ?_ hD | |
| 326 | + exact W.integral_unipotentRadical_eq_zero he ha_iso ha_ne | |
| 327 | + (W.isFiniteMeasure_quotMeasure_of_isCompact hK h_cover) h_cont hC h_fix h_inv y | |
| 328 | + | |
| 329 | +end Space | |
| 330 | + | |
| 331 | +end New | |
| 332 | + | |
| 333 | +end Cuspidal | |
| 334 | + | |
| 335 | +/-! | |
| 336 | +## Unipotent radical elements and bounded adelic matrices | |
| 337 | + | |
| 338 | +Algebra for the reduction step, which moves an adelic point of a unipotent radical close to `1` by a | |
| 339 | +rational element. The algebra is done for square matrices over a commutative ring `R` with | |
| 340 | +involution and a hermitian unit `J`. | |
| 341 | + | |
| 342 | +* `New.Reduction.IsIntBounded`: adelic matrices that are integral at the finite places and of | |
| 343 | + operator norm at most `r` at the infinite ones, with the behaviour of the bound under `star`, | |
| 344 | + multiples, products and differences. | |
| 345 | +-/ | |
| 346 | + | |
| 347 | +section UnipotentReduction | |
| 348 | + | |
| 349 | +open RightActions RingHom Matrix Norms.L2Operator Subgroup | |
| 350 | + | |
| 351 | +namespace New.Reduction | |
| 352 | + | |
| 353 | +variable {n R : Type*} [Fintype n] [DecidableEq n] [CommRing R] [StarRing R] | |
| 354 | + {J a y e : Matrix n n R} | |
| 355 | + | |
| 356 | +/-- The matrix `1 + 2 (T - Tᴴ - Tᴴ J T) J`. If `J` is hermitian and `T = w aᴴ` with | |
| 357 | +`aᴴ J a = aᴴ J w = 0`, it is `exp (2 S) = 1 + 2 S + 2 S²` for `S = (T - Tᴴ) J`, which has `S³ = 0`; | |
| 358 | +it preserves `J`, fixes `a` and acts trivially on `a^⊥ / a`. -/ | |
| 359 | +noncomputable def radicalElem (J T : Matrix n n R) : Matrix n n R := | |
| 360 | + 1 + 2 * ((T - Tᴴ - Tᴴ * J * T) * J) | |
| 361 | + | |
| 362 | +-- In this namespace `simp` unfolds `New.Reduction.radicalElem`. | |
| 363 | +attribute [scoped simp] radicalElem | |
| 364 | + | |
| 365 | +/-- If `J` is hermitian and `aᴴ J w = 0`, then `aᴴ J w z = 0` and `wᴴ J a z = 0` for all `z`. -/ | |
| 366 | +lemma form_mul_eq_zero (hJ : Jᴴ = J) {w : Matrix n n R} (hw : aᴴ * (J * w) = 0) | |
| 367 | + (z : Matrix n n R) : aᴴ * (J * (w * z)) = 0 ∧ wᴴ * (J * (a * z)) = 0 := by | |
| 368 | + have hw_adj : wᴴ * (J * a) = 0 := gram_eq_zero_symm hJ hw | |
| 369 | + simp [← mul_assoc, hw, hw_adj] | |
| 370 | + | |
| 371 | +/-- If `J` is hermitian and `aᴴ J a = aᴴ J w = 0`, then `radicalElem J (w aᴴ)` preserves `J`. -/ | |
| 372 | +lemma gram_radicalElem (hJ : Jᴴ = J) (ha : aᴴ * (J * a) = 0) {w : Matrix n n R} | |
| 373 | + (hw : aᴴ * (J * w) = 0) : (radicalElem J (w * aᴴ))ᴴ * J * radicalElem J (w * aᴴ) = J := by | |
| 374 | + -- Expand; the terms containing `aᴴ J a`, `aᴴ J w` or `wᴴ J a` vanish and the others cancel. | |
| 375 | + simp [radicalElem, hJ, form_mul_eq_zero hJ ha, form_mul_eq_zero hJ hw, mul_assoc, sub_mul, | |
| 376 | + mul_sub, two_mul, add_mul, mul_add] | |
| 377 | + abel | |
| 378 | + | |
| 379 | +/-- If `J` is hermitian and `aᴴ J a = aᴴ J w = 0`, then an element of `U J` with matrix | |
| 380 | +`radicalElem J (w aᴴ)` fixes `a` and acts trivially on `a^⊥ / a`. -/ | |
| 381 | +lemma mem_dilationGroup_of_eq_radicalElem (hJ : Jᴴ = J) (ha : aᴴ * (J * a) = 0) | |
| 382 | + {w : Matrix n n R} (hw : aᴴ * (J * w) = 0) {x : U J} | |
| 383 | + (hx : (x : Matrix n n R) = radicalElem J (w * aᴴ)) : (x, 1) ∈ dilationGroup a := by | |
| 384 | + have hw_adj : wᴴ * (J * a) = 0 := gram_eq_zero_symm hJ hw | |
| 385 | + refine mk_one_mem_dilationGroup_iff.2 ⟨?_, fun v v' hv hv' ↦ ?_⟩ | |
| 386 | + · simp [hx, ha, hw_adj, mul_assoc, sub_mul, add_mul] | |
| 387 | + · simp [hx, hv, form_mul_eq_zero hJ hv', mul_assoc, sub_mul, two_mul, add_mul, mul_add] | |
| 388 | + | |
| 389 | +/-- Let `J` be hermitian and `aᴴ J a = aᴴ J w = aᴴ J z = 0`. The product of the elements of the | |
| 390 | +radical of `a` with parameters `w` and `z` has the parameter `w + z - a wᴴ J z`. -/ | |
| 391 | +lemma radicalElem_mul (hJ : Jᴴ = J) (ha : aᴴ * (J * a) = 0) {w z : Matrix n n R} | |
| 392 | + (hw : aᴴ * (J * w) = 0) (hz : aᴴ * (J * z) = 0) : | |
| 393 | + radicalElem J (w * aᴴ) * radicalElem J (z * aᴴ) = | |
| 394 | + radicalElem J ((w + z - a * (wᴴ * J * z)) * aᴴ) := by | |
| 395 | + -- Expand; the terms containing `aᴴ J a`, `aᴴ J w`, `aᴴ J z` or their adjoints vanish. | |
| 396 | + simp [radicalElem, hJ, form_mul_eq_zero hJ ha, form_mul_eq_zero hJ hw, form_mul_eq_zero hJ hz, | |
| 397 | + mul_assoc, sub_mul, mul_sub, two_mul, mul_add, add_mul] | |
| 398 | + abel | |
| 399 | + | |
| 400 | +/-- Let `J` be hermitian and invertible, `aᴴ J a = aᴴ J y = 0` and `y e + 2 b aᴴ J = 1`, so that the | |
| 401 | +columns of `y` span `a^⊥`. Let `u` be an element of the unitary group `U J` that fixes the columns | |
| 402 | +of `a` and satisfies `wᴴ J u v = wᴴ J v` for `v`, `w` orthogonal to `a`, so it acts trivially on | |
| 403 | +`a^⊥ / a`. Then `u = radicalElem J (y e (u - 1 - a bᴴ J u) b aᴴ)`, where | |
| 404 | +`radicalElem J T = 1 + 2 (T - Tᴴ - Tᴴ J T) J`. -/ | |
| 405 | +lemma eq_radicalElem_of_mem_dilationGroup {u : U J} (hu : (u, 1) ∈ dilationGroup a) | |
| 406 | + (hJ : Jᴴ = J) (hJ_unit : IsUnit J) {b : Matrix n n R} (ha : aᴴ * (J * a) = 0) | |
| 407 | + (hy : aᴴ * (J * y) = 0) (h_split : y * e + 2 * b * aᴴ * J = 1) : | |
| 408 | + (u : Matrix n n R) = radicalElem J (y * (e * (u - 1 - a * bᴴ * J * u) * b) * aᴴ) := by | |
| 409 | + obtain ⟨hu_fixes, hu_trivial⟩ := mk_one_mem_dilationGroup_iff.1 hu | |
| 410 | + -- The relations in the form of rewriting rules for products associated to the right. | |
| 411 | + have ye_mul (z : Matrix n n R) : y * (e * z) = z - 2 * (b * (aᴴ * (J * z))) := by | |
| 412 | + simpa [sub_mul, mul_assoc] using congrArg (· * z) (eq_sub_of_add_eq h_split) | |
| 413 | + have ye_adj_mul (z : Matrix n n R) : eᴴ * (yᴴ * z) = z - 2 * (J * (a * (bᴴ * z))) := by | |
| 414 | + simpa [hJ, two_mul, add_mul, sub_mul, mul_assoc] | |
| 415 | + using congrArg (·ᴴ * z) (eq_sub_of_add_eq h_split) | |
| 416 | + have preserves_mul (z : Matrix n n R) : (u : Matrix n n R)ᴴ * (J * (u * z)) = J * z := by | |
| 417 | + rw [← mul_assoc, ← mul_assoc, | |
| 418 | + show (u : Matrix n n R)ᴴ * J * u = J from mem_unitaryGroupOf_iff.1 u.property] | |
| 419 | + -- `u` preserves `J` and fixes `a`, hence so does its adjoint for `J`. | |
| 420 | + have adj_fixes (z : Matrix n n R) : (u : Matrix n n R)ᴴ * (J * (a * z)) = J * (a * z) := by | |
| 421 | + simpa only [← mul_assoc (u : Matrix n n R), hu_fixes] using preserves_mul (a * z) | |
| 422 | + have fixes_adj (z : Matrix n n R) : aᴴ * (J * (u * z)) = aᴴ * (J * z) := by | |
| 423 | + conv_lhs => rw [← hu_fixes, conjTranspose_mul, mul_assoc, preserves_mul] | |
| 424 | + -- The candidate `x` has the parameter `y c aᴴ`. Both `y (e - 2 c aᴴ J)` and `y` are orthogonal to | |
| 425 | + -- `a`, and `u - 1` pairs them to zero. By the rules for `y e`, `J u J - J x J` is this pairing | |
| 426 | + -- times `e J`. | |
| 427 | + set c : Matrix n n R := e * (u - 1 - a * bᴴ * J * u) * b with hc | |
| 428 | + have h_sandwich : J * (u : Matrix n n R) * J - J * radicalElem J (y * c * aᴴ) * J = | |
| 429 | + (e - 2 * c * aᴴ * J)ᴴ * (yᴴ * (J * ((u - 1 : Matrix n n R) * y))) * e * J := by | |
| 430 | + simp [radicalElem, hc, form_mul_eq_zero hJ ha, ye_mul, ye_adj_mul, preserves_mul, adj_fixes, | |
| 431 | + fixes_adj, hJ, mul_assoc, mul_sub, sub_mul, two_mul, add_mul, mul_add] | |
| 432 | + abel | |
| 433 | + have h_trivial : yᴴ * (J * ((u - 1 : Matrix n n R) * y)) = 0 := by | |
| 434 | + simp [sub_mul, mul_sub, hu_trivial y y hy hy] | |
| 435 | + rw [h_trivial, mul_zero, zero_mul, zero_mul, sub_eq_zero] at h_sandwich | |
| 436 | + exact hJ_unit.mul_left_cancel (hJ_unit.mul_right_cancel h_sandwich) | |
| 437 | + | |
| 438 | +/-- Reduction in the radical of an isotropic matrix `a`. Let `J` be hermitian and invertible, | |
| 439 | +`aᴴ J a = aᴴ J y = 0` and `y e + 2 b s aᴴ J = 1`, so that the columns of `y` span `a^⊥`, and let | |
| 440 | +`u` fix `a` and act trivially on `a^⊥ / a`. Let `r` be any map on matrices; think of `r c` as a | |
| 441 | +lattice point near `c`, and of `s` as a scaling. Then there are matrices `c`, `d` and an element `x` | |
| 442 | +of `U J` with matrix `radicalElem J ((a (r d) - y (r c)) s aᴴ)` such that `x` fixes `a` and acts | |
| 443 | +trivially on `a^⊥ / a`, and `x u` is `radicalElem J ((y (c - r c) - a (d - r d)) s aᴴ)`. -/ | |
| 444 | +lemma exists_radicalElem_mul_eq {u : U J} (hu : (u, 1) ∈ dilationGroup a) (hJ : Jᴴ = J) | |
| 445 | + (hJ_unit : IsUnit J) (b s : Matrix n n R) (r : Matrix n n R → Matrix n n R) | |
| 446 | + (ha : aᴴ * (J * a) = 0) (hy : aᴴ * (J * y) = 0) (h_split : y * e + 2 * b * s * aᴴ * J = 1) : | |
| 447 | + ∃ (c d : Matrix n n R) (x : U J), | |
| 448 | + (x : Matrix n n R) = radicalElem J ((a * r d - y * r c) * s * aᴴ) ∧ | |
| 449 | + (x, 1) ∈ dilationGroup a ∧ | |
| 450 | + (x : Matrix n n R) * (u : Matrix n n R) = | |
| 451 | + radicalElem J ((y * (c - r c) - a * (d - r d)) * s * aᴴ) := by | |
| 452 | + -- `u` is `radicalElem J (z aᴴ)` with `z = y c s`, and `x` is `radicalElem J (w aᴴ)`. The | |
| 453 | + -- product has the parameter `w + z - a wᴴ J z`, and `d` is chosen so that `wᴴ J z = d s`. | |
| 454 | + let c : Matrix n n R := e * (u - 1 - a * (b * s)ᴴ * J * u) * b | |
| 455 | + let d : Matrix n n R := -(y * r c * s)ᴴ * J * y * c | |
| 456 | + let w : Matrix n n R := (a * r d - y * r c) * s | |
| 457 | + have hu_eq : (u : Matrix n n R) = radicalElem J (y * c * s * aᴴ) := by | |
| 458 | + simpa only [c, mul_assoc] using eq_radicalElem_of_mem_dilationGroup hu hJ hJ_unit ha hy | |
| 459 | + (b := b * s) (by simpa only [mul_assoc] using h_split) | |
| 460 | + have hw : aᴴ * (J * w) = 0 := by simp [w, ← mul_assoc, ha, hy, sub_mul, mul_sub] | |
| 461 | + have hz : aᴴ * (J * (y * c * s)) = 0 := by simp [form_mul_eq_zero hJ hy, mul_assoc] | |
| 462 | + have hd : wᴴ * J * (y * c * s) = d * s := by | |
| 463 | + simp [w, d, form_mul_eq_zero hJ hy, sub_mul, mul_assoc] | |
| 464 | + have h_param : w + y * c * s - a * (d * s) = (y * (c - r c) - a * (d - r d)) * s := by | |
| 465 | + noncomm_ring [w] | |
| 466 | + let x : U J := U.of hJ_unit (radicalElem J (w * aᴴ)) (gram_radicalElem hJ ha hw) | |
| 467 | + have hx : (x : Matrix n n R) = radicalElem J (w * aᴴ) := rfl | |
| 468 | + refine ⟨c, d, x, hx, mem_dilationGroup_of_eq_radicalElem hJ ha hw hx, ?_⟩ | |
| 469 | + rw [hx, hu_eq, radicalElem_mul hJ ha hw hz, hd, h_param] | |
| 470 | + | |
| 471 | +variable {E : Type*} [Field E] [CMType E] | |
| 472 | + | |
| 473 | +/-- The adelic matrix `a` is integral at all finite places and has operator norm at most `r` at | |
| 474 | +each infinite place. -/ | |
| 475 | +def IsIntBounded (r : ℝ) (a : Matrix n n (𝔸 E)) : Prop := | |
| 476 | + (RingHom.snd (NumberField.InfinitePlace E → ℂ) (𝔸f E)).mapMatrix a ∈ (Ô E).matrix ∧ | |
| 477 | + ∀ w : NumberField.InfinitePlace E, ‖(evalInf w).mapMatrix a‖ ≤ r | |
| 478 | + | |
| 479 | +variable {r : ℝ} {a b : Matrix n n (𝔸 E)} {t : ℝ} | |
| 480 | + | |
| 481 | +lemma IsIntBounded.star (ha : IsIntBounded r a) : IsIntBounded r aᴴ := by | |
| 482 | + refine ⟨fun i j ↦ star_mem_Ô (ha.1 j i), fun w ↦ ?_⟩ | |
| 483 | + exact (norm_star ((evalInf w).mapMatrix a)).trans_le (ha.2 w) | |
| 484 | + | |
| 485 | +lemma IsIntBounded.nsmul (ha : IsIntBounded r a) (M : ℕ) : IsIntBounded (M * r) (M • a) := | |
| 486 | + ⟨nsmul_mem ha.1 M, fun w ↦ by grw [map_nsmul, norm_nsmul_le, ha.2 w]⟩ | |
| 487 | + | |
| 488 | +lemma IsIntBounded.mul (ha : IsIntBounded r a) (hb : IsIntBounded t b) : | |
| 489 | + IsIntBounded (r * t) (a * b) := | |
| 490 | + ⟨by simpa only [map_mul] using mul_mem ha.1 hb.1, | |
| 491 | + fun w ↦ by simpa only [map_mul] using norm_mul_le_of_le (ha.2 w) (hb.2 w)⟩ | |
| 492 | + | |
| 493 | +lemma IsIntBounded.sub (ha : IsIntBounded r a) (hb : IsIntBounded t b) : | |
| 494 | + IsIntBounded (r + t) (a - b) := | |
| 495 | + ⟨by simpa only [map_sub] using sub_mem ha.1 hb.1, | |
| 496 | + fun w ↦ by simpa only [map_sub] using norm_sub_le_of_le (ha.2 w) (hb.2 w)⟩ | |
| 497 | + | |
| 498 | +end New.Reduction | |
| 499 | + | |
| 500 | +end UnipotentReduction | |
+411 −0 src/Lib/Adelic/Hecke/Basic.lean added View file
| @@ -0,0 +1,411 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import TauCeti.RepresentationTheory.Induction.Mackey.Subgroup | |
| 4 | +public import Mathlib.GroupTheory.DoubleCoset | |
| 5 | +public import Mathlib.RepresentationTheory.Coinduced | |
| 6 | +import Mathlib.Algebra.FiniteSupport.Basic | |
| 7 | +import Mathlib.CategoryTheory.Shift.Basic | |
| 8 | +public import Lib.Speed | |
| 9 | + | |
| 10 | +/-! | |
| 11 | +# Level spaces, Hecke operators, stabilisers and class sums | |
| 12 | + | |
| 13 | +For an abstract group `G` with subgroups `Γ`, `K`, `H` and a representation `π` over a commutative | |
| 14 | +semiring, this file defines the level space of `K`, Hecke operators and weighted class sums over | |
| 15 | +`Γ \ G / K`. The Hecke operator `New.heckeFun π K f = ∑ f(g) π(g)` sums over chosen representatives | |
| 16 | +`g` of `G ⧸ K` and is applied to vectors fixed by `K`. When `f (g * k) = f g` for `k ∈ K` and `v` is | |
| 17 | +such a vector, the term `f g • π g v` depends only on the coset `g K`. The file proves that, under | |
| 18 | +this condition, the value at `v` does not depend on the choice of representatives. | |
| 19 | + | |
| 20 | +## Main definitions and results | |
| 21 | + | |
| 22 | +* `New.levelSpace`: the vectors on which `K` acts through a character `χ`. | |
| 23 | +* `New.heckeFun`, `New.heckeCoset`: the operator `∑ f(g) π(g)` over chosen representatives of | |
| 24 | + `G / K`, and its value on the indicator function of a double coset `K g K`. | |
| 25 | +* `New.classAut`, `New.classSum`: the stabiliser `Γ ∩ g K g⁻¹`, and the sum over `Γ \ G / K` | |
| 26 | + weighted by the inverse orders of the stabilisers. | |
| 27 | +* `New.relIndex_mul_measure_inf`, `New.measure_inter_eq_inv_relIndex`: for `K` compact and `H` open, | |
| 28 | + the volume of `H ∩ K` times the index `[K : H ∩ K]` is the volume of `K`. | |
| 29 | +* `New.heckeFun_eq_sum`, `New.heckeFun_eq_sum_pullback`: on a vector fixed by `K`, the sum over any | |
| 30 | + other system of representatives. | |
| 31 | +* `New.heckeFun_heckeFun`: on a vector fixed by `K`, the composite of two operators is the operator | |
| 32 | + of a convolution. | |
| 33 | + | |
| 34 | +## Relation to the literature | |
| 35 | + | |
| 36 | +Known; see `Lib.Adelic.Hecke.ClassSums` for sources. | |
| 37 | +-/ | |
| 38 | + | |
| 39 | +@[expose] public section | |
| 40 | + | |
| 41 | +noncomputable section | |
| 42 | + | |
| 43 | +namespace New | |
| 44 | + | |
| 45 | +/-! | |
| 46 | +## Level spaces, Hecke operators, class sums and volumes | |
| 47 | + | |
| 48 | +The sums are Mathlib's `finsum`, which is zero when the support is infinite. Since `Nat.card` of an | |
| 49 | +infinite group is zero, a class with infinite stabiliser has weight zero. | |
| 50 | +-/ | |
| 51 | + | |
| 52 | +section HeckeDefs | |
| 53 | + | |
| 54 | +open DoubleCoset MeasureTheory Subgroup IsLocallyConstant | |
| 55 | + | |
| 56 | +variable (A G W : Type*) [Group G] [CommSemiring A] [AddCommMonoid W] [Module A W] | |
| 57 | + | |
| 58 | +/-- A representation in `Rep A G` may be applied to a group element as a function. -/ | |
| 59 | +scoped instance : CoeFun (Rep A G) (G → Module.End A ·) := ⟨(·.ρ)⟩ | |
| 60 | + | |
| 61 | +/-- The right regular representation of G on functions G → W: (g·F)(x) = F(xg). -/ | |
| 62 | +@[simps! apply_apply] | |
| 63 | +def rightRegular : Representation A G (G → W) where | |
| 64 | + toFun g := LinearMap.funLeft A W fun x ↦ x * g | |
| 65 | + map_one' := LinearMap.ext fun F ↦ funext fun x ↦ by simp | |
| 66 | + map_mul' g h := LinearMap.ext fun F ↦ funext fun x ↦ by simp [mul_assoc] | |
| 67 | + | |
| 68 | +variable {A G W} (π : Representation A G W) (Γ K H : Subgroup G) | |
| 69 | + | |
| 70 | +/-- For a representation π of G, a subgroup K and a character χ of K, the submodule of vectors v | |
| 71 | +with π(k)v = χ(k)v for all k in K. -/ | |
| 72 | +def levelSpace (χ : K →* A := 1) : Submodule A W where | |
| 73 | + carrier := {v : W | ∀ k : K, π k v = χ k • v} | |
| 74 | + add_mem' hv hw k := by rw [map_add, hv k, hw k, smul_add] | |
| 75 | + zero_mem' k := by rw [map_zero, smul_zero] | |
| 76 | + smul_mem' a v hv k := by rw [map_smul, hv k, smul_comm] | |
| 77 | + | |
| 78 | +/-- For a function f on G, the operator ∑ f(g)π(g), summed over chosen representatives g of G/K | |
| 79 | +(zero if infinitely many terms are nonzero). Let f be right K-invariant and supported on finitely | |
| 80 | +many cosets gK. On a vector fixed by K the value does not depend on the representatives | |
| 81 | +(`New.heckeFun_eq_sum`), and it is the action of f for the measure with vol K = 1. -/ | |
| 82 | +def heckeFun (f : G → A) : Module.End A W := ∑ᶠ q : G ⧸ K, f q.out • π q.out | |
| 83 | + | |
| 84 | +/-- The Hecke operator of the double coset KgK: the sum of π(h) over chosen representatives h of | |
| 85 | +the cosets hK in KgK (zero if there are infinitely many). -/ | |
| 86 | +def heckeCoset (g : G) : Module.End A W := heckeFun π K ((doubleCoset g K K).indicator 1) | |
| 87 | + | |
| 88 | +/-- The subgroup Γ ∩ gKg⁻¹, the stabiliser in Γ of the coset gK. -/ | |
| 89 | +def classAut (g : G) : Subgroup G := Γ ⊓ K.comap (MulAut.conj g⁻¹).toMonoidHom | |
| 90 | + | |
| 91 | +/-- The set Γ\G/K of double cosets of a group G with respect to subgroups Γ and K. -/ | |
| 92 | +abbrev DoubleCosets : Type _ := DoubleCoset.Quotient (Γ : Set G) K | |
| 93 | + | |
| 94 | +variable {π Γ K H} {Δ : Type*} [Group Δ] | |
| 95 | + | |
| 96 | +@[simp] | |
| 97 | +lemma mem_levelSpace {χ : K →* A} {v : W} : v ∈ levelSpace π K χ ↔ ∀ k : K, π k v = χ k • v := | |
| 98 | + .rfl | |
| 99 | + | |
| 100 | +/-- If `π k v = χ k • v` for all `k ∈ K` and the linear map `a` commutes with every `π k`, then | |
| 101 | +`a v` satisfies the same equations: it lies in the level space of `(K, χ)`. -/ | |
| 102 | +lemma map_mem_levelSpace_of_commute {χ : K →* A} {v : W} {a : W →ₗ[A] W} | |
| 103 | + (hv : v ∈ levelSpace π K χ) (h_comm : ∀ k : K, Commute (π k) a) : | |
| 104 | + a v ∈ levelSpace π K χ := by | |
| 105 | + intro k | |
| 106 | + rw [show π k (a v) = a (π k v) from LinearMap.congr_fun (h_comm k).eq v, hv k, map_smul] | |
| 107 | + | |
| 108 | +@[simp] | |
| 109 | +lemma mem_classAut {g γ : G} : γ ∈ classAut Γ K g ↔ γ ∈ Γ ∧ g⁻¹ * γ * g ∈ K := by simp [classAut] | |
| 110 | + | |
| 111 | +/-- If `r` is a system of representatives of the double cosets `e(Δ) \ G / K`, every `g` is | |
| 112 | +`e γ * r c * k` with `γ ∈ Δ`, `c` a double coset and `k ∈ K`. -/ | |
| 113 | +lemma exists_eq_map_mul_rep_mul (e : Δ →* G) (K : Subgroup G) | |
| 114 | + {r : DoubleCoset.Quotient (e.range : Set G) K → G} | |
| 115 | + (hr : ∀ c : DoubleCoset.Quotient (e.range : Set G) (K : Set G), | |
| 116 | + DoubleCoset.mk e.range K (r c) = c) (g : G) : | |
| 117 | + ∃ (c : DoubleCoset.Quotient (e.range : Set G) (K : Set G)) (γ : Δ), ∃ k : K, | |
| 118 | + g = e γ * r c * k := by | |
| 119 | + -- `g` and the representative of its class lie in the same double coset | |
| 120 | + obtain ⟨_, ⟨γ, rfl⟩, k, hk, hg⟩ := DoubleCoset.eq.1 (hr ⟦g⟧) | |
| 121 | + exact ⟨⟦g⟧, γ, ⟨k, hk⟩, hg⟩ | |
| 122 | + | |
| 123 | +/-- Let e : Δ → G be a homomorphism and r a system of representatives of e(Δ)\G/K, and let Δ act | |
| 124 | +freely at the point r(d)K of G/K. Then e(γ) r(d)K = r(c)K only for c = d and γ = 1. -/ | |
| 125 | +lemma eq_and_eq_one_of_doubleCoset_rep {e : Δ →* G} | |
| 126 | + {r : DoubleCoset.Quotient (e.range : Set G) K → G} | |
| 127 | + (hr : ∀ c : DoubleCoset.Quotient (e.range : Set G) (K : Set G), | |
| 128 | + DoubleCoset.mk e.range K (r c) = c) | |
| 129 | + {c d : DoubleCoset.Quotient (e.range : Set G) (K : Set G)} | |
| 130 | + (h_free : ∀ γ : Δ, (r d)⁻¹ * e γ * r d ∈ K → γ = 1) (γ : Δ) (hγ : (r c)⁻¹ * e γ * r d ∈ K) : | |
| 131 | + c = d ∧ γ = 1 := by | |
| 132 | + -- `r c` lies in the double coset of `r d`, so `c = d`; then freeness gives `γ = 1`. | |
| 133 | + have h_same : mk e.range K (r d) = mk e.range K (r c) := | |
| 134 | + DoubleCoset.eq.2 ⟨e γ, ⟨γ, rfl⟩, _, inv_mem hγ, by group⟩ | |
| 135 | + obtain rfl : c = d := by rw [← hr c, ← h_same, hr d] | |
| 136 | + exact ⟨rfl, h_free γ hγ⟩ | |
| 137 | + | |
| 138 | +/-- The class sum of f: the sum over the double cosets c in Γ\G/K of f(g_c)/#(Γ ∩ g_c K g_c⁻¹), g_c | |
| 139 | +a chosen representative. For f left invariant under Γ and right invariant under K the choice of | |
| 140 | +representatives does not matter. -/ | |
| 141 | +def classSum [Module ℚ W] (Γ K : Subgroup G) (f : G → W) : W := | |
| 142 | + ∑ᶠ c : DoubleCoset.Quotient (Γ : Set G) K, (Nat.card (classAut Γ K c.out) : ℚ)⁻¹ • f c.out | |
| 143 | + | |
| 144 | +/-- The order of the stabiliser Γ ∩ gKg⁻¹ depends only on the double coset ΓgK. -/ | |
| 145 | +lemma card_classAut_mul_mul {γ k : G} (hγ : γ ∈ Γ) (hk : k ∈ K) (g : G) : | |
| 146 | + Nat.card (classAut Γ K (γ * g * k)) = Nat.card (classAut Γ K g) := by | |
| 147 | + have hAut (x : G) : classAut Γ K x = TauCeti.mackeySubgroup x K Γ := by | |
| 148 | + ext δ | |
| 149 | + simp [mem_classAut] | |
| 150 | + rw [hAut, hAut] | |
| 151 | + exact Nat.card_congr (TauCeti.mackeySubgroupCongr hγ hk g).symm.toEquiv | |
| 152 | + | |
| 153 | +variable [TopologicalSpace G] [IsTopologicalGroup G] | |
| 154 | + | |
| 155 | +/-! ### Open and compact subgroups of a topological group -/ | |
| 156 | + | |
| 157 | +/-- A function on a topological group that is invariant under right translation by all elements | |
| 158 | +of a neighbourhood of 1 is locally constant. -/ | |
| 159 | +@[to_additive] | |
| 160 | +lemma isLocallyConstant_of_eventually_mul {X : Type*} {f : G → X} | |
| 161 | + (h_fix : ∀ᶠ k : G in nhds 1, ∀ x : G, f (x * k) = f x) : | |
| 162 | + IsLocallyConstant f := | |
| 163 | + -- The neighbourhoods of `x` are the left translates by `x` of those of `1`. | |
| 164 | + (iff_eventually_eq f).2 fun x ↦ by | |
| 165 | + rw [← map_mul_left_nhds_one x, Filter.eventually_map] | |
| 166 | + filter_upwards [h_fix] with k hk using hk x | |
| 167 | + | |
| 168 | +/-- For an open subgroup `H` of a topological group `G`, a compact subset `C` of `G` meets only | |
| 169 | +finitely many cosets `g H`. -/ | |
| 170 | +lemma finite_quotient_image_of_isCompact (hH : IsOpen (H : Set G)) {C : Set G} (hC : IsCompact C) : | |
| 171 | + ((↑) '' C : Set (G ⧸ H)).Finite := by | |
| 172 | + have : DiscreteTopology (G ⧸ H) := QuotientGroup.discreteTopology hH | |
| 173 | + exact (hC.image continuous_quotient_mk').finite_of_discrete | |
| 174 | + | |
| 175 | +/-- For a compact subgroup `K` and an open subgroup `H` of a topological group, the index | |
| 176 | +`[K : H ∩ K]` is finite, so it is nonzero as a natural number. -/ | |
| 177 | +@[to_additive relIndex_ne_zero_add] | |
| 178 | +lemma _root_.IsCompact.relIndex_ne_zero (hK : IsCompact (K : Set G)) | |
| 179 | + (hH : IsOpen (H : Set G)) : H.relIndex K ≠ 0 := by | |
| 180 | + -- An open subgroup of a compact group has finite index. | |
| 181 | + have : CompactSpace K := isCompact_iff_compactSpace.1 hK | |
| 182 | + exact (quotient_finite_of_isOpen (H.subgroupOf K) hH.preimage_val).card_pos.ne' | |
| 183 | + | |
| 184 | +/-- For `K` compact, `H` open and `μ` left invariant, `[K : H ∩ K] · μ (H ∩ K) = μ K`. -/ | |
| 185 | +@[to_additive] | |
| 186 | +lemma relIndex_mul_measure_inf (hK : IsCompact (K : Set G)) (hH : IsOpen (H : Set G)) | |
| 187 | + [MeasurableSpace G] [BorelSpace G] [T2Space G] (μ : Measure G) [μ.IsMulLeftInvariant] : | |
| 188 | + H.relIndex K * μ ↑(H ⊓ K) = μ K := by | |
| 189 | + -- Pull `μ` back to the group `K`; there `H ⊓ K` is a measurable subgroup of finite index, | |
| 190 | + -- and its cosets, all of the same measure, partition `K`. | |
| 191 | + have h_emb : MeasurableEmbedding K.subtype := .subtypeVal hK.measurableSet | |
| 192 | + have : (H.subgroupOf K).FiniteIndex := ⟨hK.relIndex_ne_zero hH⟩ | |
| 193 | + have : (μ.comap K.subtype).IsMulLeftInvariant := .comap _ h_emb | |
| 194 | + have h_index : | |
| 195 | + (H.subgroupOf K).index * μ.comap K.subtype (H.subgroupOf K) = μ.comap K.subtype Set.univ := | |
| 196 | + index_mul_measure _ (h_emb.measurable hH.measurableSet) _ | |
| 197 | + -- Push the identity forward: `μ.comap` of a subset of `K` is `μ` of its image in `G`. | |
| 198 | + have h_image : K.subtype '' (H.subgroupOf K) = ↑(H ⊓ K) := by | |
| 199 | + rw [← coe_map, subgroupOf_map_subtype] | |
| 200 | + rwa [h_emb.comap_apply, h_emb.comap_apply, h_image, Set.image_univ, coe_subtype, | |
| 201 | + Subtype.range_coe] at h_index | |
| 202 | + | |
| 203 | +/-- For `K` compact of mass one, `H` open and `μ` left invariant, `H ∩ K` has mass | |
| 204 | +`1 / [K : H ∩ K]`. -/ | |
| 205 | +@[to_additive measure_inter_eq_inv_relIndex_add] | |
| 206 | +lemma measure_inter_eq_inv_relIndex (hK : IsCompact (K : Set G)) (hH : IsOpen (H : Set G)) | |
| 207 | + [MeasurableSpace G] [BorelSpace G] [T2Space G] (μ : Measure G) [μ.IsMulLeftInvariant] | |
| 208 | + (hμ : μ K = 1) : μ (H ∩ K) = (↑(H.relIndex K))⁻¹ := by | |
| 209 | + have h_mul : H.relIndex K * μ ↑(H ⊓ K) = 1 := (relIndex_mul_measure_inf hK hH μ).trans hμ | |
| 210 | + simp [ENNReal.eq_inv_of_mul_eq_one_left h_mul] | |
| 211 | + | |
| 212 | +end HeckeDefs | |
| 213 | + | |
| 214 | +/-! | |
| 215 | +## Coset sums, transport and composition of Hecke operators | |
| 216 | + | |
| 217 | +* `New.heckeFun_comp`, `New.heckeFun_comp_inv_mul`: transport of `New.heckeFun` along a group | |
| 218 | + homomorphism, and its behaviour under left translation. | |
| 219 | +* `New.heckeFun_mem_levelSpace`: when the image under an operator lies in a level space. | |
| 220 | +-/ | |
| 221 | + | |
| 222 | +section HeckeBasic | |
| 223 | + | |
| 224 | +open Set Function HasFiniteSupport DoubleCoset QuotientGroup Finset | |
| 225 | + | |
| 226 | +variable {A : Type*} | |
| 227 | + {G W W' : Type*} [Group G] [CommSemiring A] [AddCommMonoid W] [Module A W] [AddCommMonoid W'] | |
| 228 | + [Module A W'] {π : Representation A G W} (K K' : Subgroup G) {χ' : K' →* A} (f : G → A) {v : W} | |
| 229 | + {G' : Type*} [Group G'] | |
| 230 | + | |
| 231 | +/-- The function f on G is nonzero at the chosen representatives of only finitely many cosets | |
| 232 | +gK. -/ | |
| 233 | +abbrev HasFiniteCosets : Prop := (support fun q : G ⧸ K ↦ f q.out).Finite | |
| 234 | + | |
| 235 | +/-- The function f on G is left and right K-invariant and supported on finitely many cosets gK. -/ | |
| 236 | +abbrev IsHeckeFunction : Prop := | |
| 237 | + HasFiniteCosets K f ∧ ∀ g : G, ∀ k ∈ K, f (g * k) = f g ∧ f (k * g) = f g | |
| 238 | + | |
| 239 | +variable {K K' f} | |
| 240 | + | |
| 241 | +/-- If `f` lives on finitely many cosets, its operator is the finite sum over those cosets. -/ | |
| 242 | +lemma heckeFun_eq_sum_toFinset (h : HasFiniteCosets K f) (v : W) : | |
| 243 | + heckeFun π K f v = ∑ q ∈ h.toFinset, f q.out • π q.out v := by | |
| 244 | + have h_support : support (fun q : G ⧸ K ↦ f q.out • π q.out) ⊆ h.toFinset := | |
| 245 | + fun q hq ↦ by simpa using left_ne_zero_of_smul hq | |
| 246 | + simp [heckeFun, finsum_eq_sum_of_support_subset _ h_support] | |
| 247 | + | |
| 248 | +/-- Let `f` live on finitely many cosets `g K`. A linear map `L` that intertwines `π g` and `π' g` | |
| 249 | +at `v` for all `g` intertwines the two operators of `f` at `v`. -/ | |
| 250 | +lemma map_heckeFun (L : W →ₗ[A] W') (h : HasFiniteCosets K f) | |
| 251 | + {π' : Representation A G W'} (hL : ∀ g : G, L (π g v) = π' g (L v)) : | |
| 252 | + L (heckeFun π K f v) = heckeFun π' K f (L v) := by simp [heckeFun_eq_sum_toFinset h, hL] | |
| 253 | + | |
| 254 | +lemma levelSpace_anti (hK : K ≤ K') : levelSpace π K' ≤ levelSpace π K := | |
| 255 | + fun v hv k ↦ by simpa using hv ⟨k, hK k.property⟩ | |
| 256 | + | |
| 257 | +/-- For a compact open subgroup K of a topological group G and g in G, the indicator function of KgK | |
| 258 | +is K-invariant on both sides and supported on finitely many left cosets of K. -/ | |
| 259 | +lemma isHeckeFunction_doubleCoset [TopologicalSpace G] [IsTopologicalGroup G] | |
| 260 | + (hK : IsOpen (K : Set G)) [CompactSpace K] (g : G) : | |
| 261 | + IsHeckeFunction K (indicator (doubleCoset g K K) (1 : G → A)) := by | |
| 262 | + classical | |
| 263 | + have hK_compact : IsCompact (K : Set G) := isCompact_iff_compactSpace.2 inferInstance | |
| 264 | + have h_compact : IsCompact (doubleCoset g K K) := | |
| 265 | + (hK_compact.mul isCompact_singleton).mul hK_compact | |
| 266 | + refine ⟨(finite_quotient_image_of_isCompact hK h_compact).subset fun q hq ↦ ?_, | |
| 267 | + fun x k hk ↦ ⟨?_, ?_⟩⟩ | |
| 268 | + · exact ⟨q.out, support_indicator_subset hq, q.out_eq⟩ | |
| 269 | + · -- `x * k` and `x` lie in the double coset together: absorb `k` in the right factor | |
| 270 | + simp [← inv_mul_eq_iff_eq_mul, mul_mem_cancel_right hk, indicator, mem_doubleCoset, ← mul_assoc] | |
| 271 | + · -- likewise with the left factor | |
| 272 | + simp [← mul_inv_eq_iff_eq_mul, mul_assoc, mul_mem_cancel_left hk, indicator, mem_doubleCoset] | |
| 273 | + | |
| 274 | +/-- Any representatives serve. Let `f (g * k) = f g` for `k ∈ K`, and let `v` be fixed by `K`. | |
| 275 | +Suppose the cosets `r i • K`, `i ∈ s`, are distinct and cover the support of `f`. Then (a) `f` lives | |
| 276 | +on finitely many cosets, and (b) its operator sends `v` to `∑ i ∈ s, f (r i) • π (r i) v`. -/ | |
| 277 | +lemma heckeFun_eq_sum (hf : ∀ (g : G) (k : K), f (g * k) = f g) | |
| 278 | + (hv : v ∈ levelSpace (A := A) π K) {ι : Type*} {s : Finset ι} {r : ι → G} | |
| 279 | + (hr : InjOn (fun i : ι ↦ (r i : G ⧸ K)) (SetLike.coe s)) | |
| 280 | + (hs : ∀ g : G, f g ≠ 0 → ∃ i ∈ s, (r i : G ⧸ K) = g) : | |
| 281 | + HasFiniteCosets K f ∧ heckeFun π K f v = ∑ i ∈ s, f (r i) • π (r i) v := by | |
| 282 | + classical | |
| 283 | + have support_subset (q : G ⧸ K) (hq : f q.out ≠ 0) : q ∈ s.image fun i ↦ (r i : G ⧸ K) := by | |
| 284 | + simpa using hs _ hq | |
| 285 | + refine ⟨(toFinite _).subset support_subset, ?_⟩ | |
| 286 | + -- The chosen representative of `g K` is some `g * k`, and `k` does not change `f g • π g v`. | |
| 287 | + have term (g : G) : f (g : G ⧸ K).out • π (g : G ⧸ K).out v = f g • π g v := by | |
| 288 | + obtain ⟨k, hk⟩ := mk_out_eq_mul K g | |
| 289 | + rw [hk, hf, map_mul, mul_apply_eq_comp, mem_levelSpace.1 hv k, MonoidHom.one_apply, one_smul] | |
| 290 | + have h_support : support (fun q : G ⧸ K ↦ f q.out • π q.out) ⊆ | |
| 291 | + s.image fun i ↦ (r i : G ⧸ K) := | |
| 292 | + fun q hq ↦ support_subset q (left_ne_zero_of_smul hq) | |
| 293 | + simp [heckeFun, finsum_eq_sum_of_support_subset _ h_support, sum_image hr, term] | |
| 294 | + | |
| 295 | +/-- Let f(gk) = f(g) for k ∈ K, let v be fixed by K, and let θ : G' → G induce an injection | |
| 296 | +G'/J → G/K covering the support of f. Suppose f(θ x) = 0 for the chosen representative x of every | |
| 297 | +coset outside a finite set s. Then f lives on finitely many cosets, and its operator sends v to | |
| 298 | +∑ f(θ x)π(θ x)v, over the representatives x of the cosets in s. -/ | |
| 299 | +lemma heckeFun_eq_sum_pullback {J : Subgroup G'} (hf : ∀ (g : G) (k : K), f (g * k) = f g) | |
| 300 | + (hv : v ∈ levelSpace (A := A) π K) (s : Finset (G' ⧸ J)) (θ : G' → G) | |
| 301 | + (hθ : ∀ g : G, f g ≠ 0 → ∃ x : G', (θ x : G ⧸ K) = g) | |
| 302 | + (h_inj : ∀ a b : G', (θ a)⁻¹ * θ b ∈ K ↔ a⁻¹ * b ∈ J) | |
| 303 | + (hs : ∀ q : G' ⧸ J, q ∉ s → f (θ q.out) = 0) : | |
| 304 | + HasFiniteCosets K f ∧ heckeFun π K f v = ∑ q ∈ s, f (θ q.out) • π (θ q.out) v := by | |
| 305 | + have h_coset (a b : G') : (θ a : G ⧸ K) = θ b ↔ (a : G' ⧸ J) = b := by | |
| 306 | + simp [QuotientGroup.eq, h_inj] | |
| 307 | + have h_injOn : InjOn (fun q : G' ⧸ J ↦ (θ q.out : G ⧸ K)) (SetLike.coe s) := by | |
| 308 | + simp [InjOn, h_coset] | |
| 309 | + refine heckeFun_eq_sum hf hv h_injOn fun g hg ↦ ?_ | |
| 310 | + obtain ⟨x, hx⟩ := hθ g hg | |
| 311 | + have h_out : (θ (x : G' ⧸ J).out : G ⧸ K) = g := by simp [← hx, h_coset] | |
| 312 | + refine ⟨x, ?_, h_out⟩ | |
| 313 | + by_contra h_not | |
| 314 | + -- `θ x.out = g * k` with `k ∈ K`, so `f g = f (θ x.out)`, which `hs` would make `0` | |
| 315 | + have h_mem : g⁻¹ * θ (x : G' ⧸ J).out ∈ K := QuotientGroup.eq.1 h_out.symm | |
| 316 | + apply hg | |
| 317 | + rw [← hf g ⟨_, h_mem⟩, mul_inv_cancel_left, hs _ h_not] | |
| 318 | + | |
| 319 | +/-- Let the homomorphism a : G' → G be surjective with a⁻¹(K) = J. Let f(gk) = f(g) and π(k)v = v | |
| 320 | +for k ∈ K, and let F = f∘a be nonzero on finitely many cosets gJ. If ρ(g)v = π(a(g))v for all g, | |
| 321 | +then the operator of F in ρ and the operator of f in π send v to the same vector. -/ | |
| 322 | +lemma heckeFun_comp {J : Subgroup G'} {F : G' → A} (a : G' →* G) | |
| 323 | + (hf : ∀ (g : G) (k : K), f (g * k) = f g) (hv : v ∈ levelSpace (A := A) π K) | |
| 324 | + (hF : HasFiniteCosets J F) (ha : Surjective a) (hK : ∀ g : G', a g ∈ K ↔ g ∈ J) | |
| 325 | + {ρ : Representation A G' W} (hρ : ∀ g : G', ρ g v = π (a g) v) | |
| 326 | + (hF_eq : ∀ g : G', F g = f (a g)) : | |
| 327 | + heckeFun ρ J F v = heckeFun π K f v := by | |
| 328 | + -- `a` induces a bijection of the coset spaces | |
| 329 | + have h_cover (g : G) (_ : f g ≠ 0) : ∃ x : G', (a x : G ⧸ K) = g := | |
| 330 | + (ha g).imp fun x hx ↦ congrArg QuotientGroup.mk hx | |
| 331 | + have h_inj (x y : G') : (a x)⁻¹ * a y ∈ K ↔ x⁻¹ * y ∈ J := by simp [← hK] | |
| 332 | + have h_zero (q : G' ⧸ J) (hq : q ∉ hF.toFinset) : f (a q.out) = 0 := by | |
| 333 | + simpa [← hF_eq] using hq | |
| 334 | + obtain ⟨-, h_sum⟩ := heckeFun_eq_sum_pullback hf hv hF.toFinset a h_cover h_inj h_zero | |
| 335 | + rw [h_sum, heckeFun_eq_sum_toFinset hF] | |
| 336 | + simp [hρ, hF_eq] | |
| 337 | + | |
| 338 | +/-- Let `f (g * k) = f g` for `k ∈ K`. If `f` lives on finitely many cosets `g K`, so does its left | |
| 339 | +translate `g ↦ f (x⁻¹ * g)`. -/ | |
| 340 | +lemma HasFiniteCosets.comp_inv_mul (hf_fin : HasFiniteCosets K f) | |
| 341 | + (hf : ∀ (g : G) (k : K), f (g * k) = f g) (x : G) : | |
| 342 | + HasFiniteCosets K (fun g : G ↦ f (x⁻¹ * g)) := by | |
| 343 | + -- The cosets where the translate lives are carried by `x⁻¹` to cosets where `f` lives. | |
| 344 | + have h_value (q : G ⧸ K) : f (x⁻¹ • q).out = f (x⁻¹ * q.out) := by | |
| 345 | + obtain ⟨k, hk⟩ := mk_out_eq_mul K (x⁻¹ * q.out) | |
| 346 | + rw [← MulAction.Quotient.mk_smul_out, smul_eq_mul, hk, hf] | |
| 347 | + refine (hf_fin.preimage (MulAction.injective x⁻¹).injOn).subset fun q hq ↦ ?_ | |
| 348 | + simpa [h_value] using hq | |
| 349 | + | |
| 350 | +/-- Let `f (g * k) = f g` for `k ∈ K`, let `f` live on finitely many cosets, and let `v` be fixed by | |
| 351 | +`K`. The operator of the left translate `g ↦ f (x⁻¹ * g)` sends `v` to `π x` of the image of `v` | |
| 352 | +under the operator of `f`. -/ | |
| 353 | +lemma heckeFun_comp_inv_mul (hf_fin : HasFiniteCosets K f) | |
| 354 | + (hf : ∀ (g : G) (k : K), f (g * k) = f g) (hv : v ∈ levelSpace (A := A) π K) (x : G) : | |
| 355 | + heckeFun π K (fun g : G ↦ f (x⁻¹ * g)) v = π x (heckeFun π K f v) := by | |
| 356 | + -- the representatives of the cosets for the translate are `x * q.out` | |
| 357 | + have h_right (g : G) (k : K) : f (x⁻¹ * (g * k)) = f (x⁻¹ * g) := by rw [← mul_assoc, hf] | |
| 358 | + have h_cover (g : G) (_ : f (x⁻¹ * g) ≠ 0) : ∃ y : G, ((x * y : G) : G ⧸ K) = g := | |
| 359 | + ⟨x⁻¹ * g, by simp⟩ | |
| 360 | + have h_zero (q : G ⧸ K) (hq : q ∉ hf_fin.toFinset) : f (x⁻¹ * (x * q.out)) = 0 := by | |
| 361 | + simpa using hq | |
| 362 | + obtain ⟨-, h_sum⟩ := heckeFun_eq_sum_pullback (f := fun g : G ↦ f (x⁻¹ * g)) h_right hv | |
| 363 | + hf_fin.toFinset (x * ·) h_cover (fun a b ↦ by simp) h_zero | |
| 364 | + simp [h_sum, heckeFun_eq_sum_toFinset hf_fin] | |
| 365 | + | |
| 366 | +/-- Let `f` and `f'` live on finitely many cosets `g K`, let `f` be right `K`-invariant, and let `v` | |
| 367 | +be fixed by `K`. Applying the operator of `f` and then that of `f'` to `v` is the same as applying | |
| 368 | +the operator of `x ↦ ∑ f' g * f (g⁻¹ * x)`. The sum runs over the chosen representatives `g` of the | |
| 369 | +cosets where `f'` is nonzero. -/ | |
| 370 | +lemma heckeFun_heckeFun (hf_fin : HasFiniteCosets K f) (hf : ∀ (g : G) (k : K), f (g * k) = f g) | |
| 371 | + (hv : v ∈ levelSpace (A := A) π K) {f' : G → A} (h' : HasFiniteCosets K f') : | |
| 372 | + heckeFun π K f' (heckeFun π K f v) = | |
| 373 | + heckeFun π K (fun x : G ↦ ∑ q ∈ h'.toFinset, f' q.out * f (q.out⁻¹ * x)) v := by | |
| 374 | + -- Each `π q.out (heckeFun π K f v)` is the operator of a left translate of `f` applied to `v`; | |
| 375 | + -- then exchange the two sums. | |
| 376 | + have h_linear : heckeFun π K (fun x : G ↦ ∑ q ∈ h'.toFinset, f' q.out * f (q.out⁻¹ * x)) = | |
| 377 | + ∑ q ∈ h'.toFinset, f' q.out • heckeFun π K (fun x : G ↦ f (q.out⁻¹ * x)) := by | |
| 378 | + simp [heckeFun, sum_smul, finsum_sum_comm, fun_smul_left (hf_fin.comp_inv_mul hf _), | |
| 379 | + fun_smul_right, ← smul_smul, ← smul_finsum'] | |
| 380 | + rw [heckeFun_eq_sum_toFinset h', h_linear] | |
| 381 | + simp [heckeFun_comp_inv_mul hf_fin hf hv] | |
| 382 | + | |
| 383 | +/-- Let `f` live on finitely many cosets `g K` with `f (g * k) = f g` for `k ∈ K` and | |
| 384 | +`χ' k * f (k * g) = f g` for `k ∈ K'`. The operator of `f` sends a vector fixed by `K` into the | |
| 385 | +level space of `(K', χ')`, where each `k ∈ K'` acts as the scalar `χ' k`. -/ | |
| 386 | +lemma heckeFun_mem_levelSpace (hf_fin : HasFiniteCosets K f) | |
| 387 | + (hf : ∀ (g : G) (k : K), f (g * k) = f g) | |
| 388 | + (hf_left : ∀ (g : G) (k : K'), χ' k * f (k * g) = f g) | |
| 389 | + (hv : v ∈ levelSpace (A := A) π K) : | |
| 390 | + heckeFun π K f v ∈ levelSpace π K' χ' := by | |
| 391 | + -- `π k` replaces `f` by `f (k⁻¹ * ·)`, which is `χ' k` times `f` | |
| 392 | + refine mem_levelSpace.2 fun k ↦ ?_ | |
| 393 | + have h_translate (g : G) : f ((k : G)⁻¹ * g) = χ' k * f g := by | |
| 394 | + simp [← hf_left ((k : G)⁻¹ * g) k] | |
| 395 | + have h_scale : heckeFun π K (fun g : G ↦ f ((k : G)⁻¹ * g)) = χ' k • heckeFun π K f := by | |
| 396 | + simp [heckeFun, h_translate, ← smul_smul, ← smul_finsum', fun_smul_left hf_fin] | |
| 397 | + rw [← heckeFun_comp_inv_mul hf_fin hf hv k, h_scale, LinearMap.smul_apply] | |
| 398 | + | |
| 399 | +/-- The operator of a `K`-bi-invariant function on finitely many cosets preserves the space of | |
| 400 | +vectors fixed by `K`. -/ | |
| 401 | +lemma IsHeckeFunction.heckeFun_mem (hv : v ∈ levelSpace (A := A) π K) (hb : IsHeckeFunction K f) : | |
| 402 | + heckeFun π K f v ∈ levelSpace π K := by | |
| 403 | + obtain ⟨h_finite, h_inv⟩ := hb | |
| 404 | + exact heckeFun_mem_levelSpace h_finite (fun g k ↦ (h_inv g k k.property).1) | |
| 405 | + (fun g k ↦ by simp [(h_inv g k k.property).2]) hv | |
| 406 | + | |
| 407 | +end HeckeBasic | |
| 408 | + | |
| 409 | +end New | |
| 410 | + | |
| 411 | +end | |
+808 −0 src/Lib/Adelic/Hecke/ClassSums.lean added View file
| @@ -0,0 +1,808 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Rat | |
| 4 | +import Mathlib.Algebra.Order.Star.Real | |
| 5 | +import Mathlib.RingTheory.PiTensorProduct | |
| 6 | +import Mathlib.RingTheory.SimpleRing.Principal | |
| 7 | +import TauCeti.Algebra.BigOperators.Finprod | |
| 8 | +import TauCeti.Data.Setoid.Basic | |
| 9 | +import TauCeti.GroupTheory.DoubleCoset.Map | |
| 10 | +import TauCeti.GroupTheory.DoubleCoset.Mass | |
| 11 | +public import Lib.Adelic.Hecke.Basic | |
| 12 | +public import Lib.Adelic.QuotientMeasure.Basic | |
| 13 | + | |
| 14 | +/-! | |
| 15 | +# Class sums as integrals over Γ\G, orbit unfolding and means over compact subgroups | |
| 16 | + | |
| 17 | +For subgroups `Γ`, `K` of a topological group `G`, `New.classSum Γ K f` is the sum of | |
| 18 | +`f g / #(Γ ∩ g K g⁻¹)` over representatives `g` of `Γ \ G / K`, where | |
| 19 | +`Γ ∩ g K g⁻¹ = New.classAut Γ K g`. The integral over `Γ \ G` with `vol K = 1` is defined from class | |
| 20 | +sums as the finite sum `New.classIntegral`, also called the mean (it is an average when `Γ = ⊥` and | |
| 21 | +`K` is the whole group). No measure theory is used. The mean `New.classIntegral` is used to average | |
| 22 | +smooth representations over compact subgroups. | |
| 23 | + | |
| 24 | +## Main definitions and results | |
| 25 | + | |
| 26 | +* `New.classIntegral`: the class sum at the level `rightStabilizer f ⊓ K`, divided by its index in | |
| 27 | + `K`. | |
| 28 | +* `New.HasFiniteType`: finitely many classes and finite stabilisers, with `K` open and compact. | |
| 29 | +* `New.classSum_eq_relIndex_smul`: change of level, by the index formula for orbit weights. | |
| 30 | +* `New.classIntegral_eq_classSum_mul`, `New.classIntegral_eq_inv_smul_classSum`: for left | |
| 31 | + Γ-invariant f, the mean can be computed at a smaller open level that fixes f, or one whose | |
| 32 | + conjugate by some a lies in K and fixes f (then for the right translate of f by a). | |
| 33 | +* `New.classIntegral_sum`: for smooth left Γ-invariant functions, the mean commutes with finite | |
| 34 | + sums, additive maps and right translation. | |
| 35 | +* `New.compactMean ρ H`: the mean over H. It is invariant under H on both sides | |
| 36 | + (`New.apply_compactMean`, `New.compactMean_apply`), projects onto the H-fixed vectors | |
| 37 | + (`New.compactMean_mem_levelSpace`, `New.compactMean_eq_self`), and is self-adjoint for an | |
| 38 | + invariant scalar product (`New.IsUnitary.compactMean_adjoint`). | |
| 39 | + | |
| 40 | +Notions from other files: | |
| 41 | +* `Subgroup.FixesLeft`: `Γ.FixesLeft f` says that `f (γ * g) = f g` for all γ in Γ and g in G. | |
| 42 | +* `New.levelSpace π K χ`: For a representation π of G, a subgroup K and a character χ of K (by | |
| 43 | + default trivial), the submodule of vectors v with π(k)v = χ(k)v for all k in K. | |
| 44 | + | |
| 45 | +## Relation to the literature | |
| 46 | + | |
| 47 | +Known result: weighted class sums for a pair (G,K), as in the theory of abstract Hecke operators and | |
| 48 | +of algebraic modular forms. They make sense for values in any rational vector space, without a Haar | |
| 49 | +measure. Source: G. Shimura, Introduction to the Arithmetic Theory of Automorphic Functions | |
| 50 | +(1971), ch. 3; B. Gross, Algebraic modular forms, Israel J. Math. 113 (1999) 61-93; M. Greenberg and | |
| 51 | +J. Voight, Lattice methods for algebraic modular forms on classical groups, arXiv 1209.2460. | |
| 52 | +-/ | |
| 53 | + | |
| 54 | +@[expose] public section | |
| 55 | + | |
| 56 | +noncomputable section | |
| 57 | + | |
| 58 | +section ClassMean | |
| 59 | + | |
| 60 | +open Pointwise DoubleCoset Finset SetLike Function MulAut Subgroup IsTopologicalGroup | |
| 61 | + | |
| 62 | +namespace New | |
| 63 | + | |
| 64 | +section Definitions | |
| 65 | + | |
| 66 | +variable {G W W' : Type*} [Group G] | |
| 67 | + | |
| 68 | +/-! ### Definitions -/ | |
| 69 | + | |
| 70 | +/-- The subgroup of k in G with f(gk) = f(g) for all g. -/ | |
| 71 | +def rightStabilizer (f : G → W) : Subgroup G where | |
| 72 | + carrier := {k : G | ∀ g : G, f (g * k) = f g} | |
| 73 | + mul_mem' {a b} ha hb g := by rw [← mul_assoc, hb, ha] | |
| 74 | + one_mem' g := by rw [mul_one] | |
| 75 | + inv_mem' {a} ha g := by rw [← ha, inv_mul_cancel_right] | |
| 76 | + | |
| 77 | +@[simp] lemma mem_rightStabilizer {f : G → W} {k : G} : | |
| 78 | + k ∈ rightStabilizer f ↔ ∀ g : G, f (g * k) = f g := .rfl | |
| 79 | + | |
| 80 | +variable (Γ K K' : Subgroup G) [AddCommGroup W] [Module ℚ W] (f : G → W) [TopologicalSpace G] | |
| 81 | + | |
| 82 | +/-- The class sum of `f` at the level `K ∩ Stab f`, divided by the index of that level in `K`. It is | |
| 83 | +the finite-sum analogue, defined without measure theory, of the integral of `f` over `Γ \ G` for the | |
| 84 | +Haar measure with `vol K = 1`, and is meant for `(Γ, K)` of finite type and `f` smooth and left | |
| 85 | +`Γ`-invariant. -/ | |
| 86 | +def classIntegral : W := | |
| 87 | + ((rightStabilizer f).relIndex K : ℚ)⁻¹ • classSum Γ (rightStabilizer f ⊓ K) f | |
| 88 | + | |
| 89 | +/-- The pair `(Γ, K)` has finite type: `K` is compact and open, `Γ \ G / K` is finite and every | |
| 90 | +`Γ ∩ g K g⁻¹` is finite. -/ | |
| 91 | +class HasFiniteType : Prop where | |
| 92 | + /-- There are finitely many double cosets `Γ g K`. -/ | |
| 93 | + finite_classes : Finite (DoubleCoset.Quotient (Γ : Set G) K) | |
| 94 | + /-- The stabiliser `Γ ∩ g K g⁻¹` of each point `g K` is finite. -/ | |
| 95 | + finite_aut (g : G) : Finite (classAut Γ K g) | |
| 96 | + /-- `K` is open in `G`. -/ | |
| 97 | + isOpen : IsOpen (K : Set G) | |
| 98 | + /-- `K` is compact. -/ | |
| 99 | + isCompact : IsCompact (K : Set G) | |
| 100 | + | |
| 101 | +-- `open New.HasFiniteType` turns the two finiteness fields into instances and gives every finite | |
| 102 | +-- type a `Fintype` instance, at low priority so that a structural `Fintype` instance wins. | |
| 103 | +scoped[New.HasFiniteType] attribute [instance] HasFiniteType.finite_classes HasFiniteType.finite_aut | |
| 104 | +scoped[New.HasFiniteType] attribute [instance low] Fintype.ofFinite | |
| 105 | + | |
| 106 | +open HasFiniteType | |
| 107 | + | |
| 108 | +/-! ### Smooth invariant functions, double cosets and their stabilisers -/ | |
| 109 | + | |
| 110 | +omit [TopologicalSpace G] in | |
| 111 | +/-- Every class in Γ\G/K' is the class of x q, with x the representative of a class in Γ\G/K and q | |
| 112 | +the representative of a coset in K/(K ∩ K'). -/ | |
| 113 | +lemma surjective_doubleCoset_mk_mul : | |
| 114 | + Surjective fun x : DoubleCosets Γ K × K ⧸ K'.subgroupOf K ↦ | |
| 115 | + DoubleCoset.mk Γ K' (x.1.out * x.2.out) := by | |
| 116 | + refine Quot.ind fun g ↦ ?_ | |
| 117 | + -- The representative of the class of `g` is some `γ * g * k`; pair it with the coset of `k⁻¹`, | |
| 118 | + -- whose representative is some `k⁻¹ * l` with `l ∈ K'`. | |
| 119 | + obtain ⟨γ, hγ, k, hk, h_out⟩ : ∃ γ ∈ Γ, ∃ k ∈ K, (mk Γ K g).out = γ * g * k := | |
| 120 | + (eq ..).1 (out_eq' ..).symm | |
| 121 | + lift k to K using hk | |
| 122 | + obtain ⟨l, h_out'⟩ := QuotientGroup.mk_out_eq_mul (K'.subgroupOf K) k⁻¹ | |
| 123 | + exact ⟨(mk Γ K g, ↑k⁻¹), ((eq ..).2 ⟨γ, hγ, l, l.2, by simp [h_out, h_out', mul_assoc]⟩).symm⟩ | |
| 124 | + | |
| 125 | +/-- The set of left Γ-invariant functions G → W whose stabiliser under right translation is open. -/ | |
| 126 | +def smoothInvariants : Set (G → W) := | |
| 127 | + {f : G → W | Γ.FixesLeft f ∧ IsOpen (rightStabilizer f : Set G)} | |
| 128 | + | |
| 129 | +open scoped Classical in | |
| 130 | +/-- Let `u` be an injection into `G` whose range contains `Γ` (for example `id`, or the inclusion of | |
| 131 | +a group that contains `Γ`), and let `(Γ, K)` have finite type. The `γ` with `u γ ∈ Γ` and | |
| 132 | +`g⁻¹ (u γ) h ∈ K` form a finite set, with as many elements as `Γ ∩ g K g⁻¹` if `g` and `h` lie in | |
| 133 | +one class of `Γ \ G / K` and with none otherwise. -/ | |
| 134 | +lemma exists_transporter {Δ : Type*} {u : Δ → G} (hu : Injective u) | |
| 135 | + (hΓ : (Γ : Set G) ⊆ Set.range u) (K : Subgroup G) [HasFiniteType Γ K] (g h : G) : | |
| 136 | + ∃ s : Finset Δ, (∀ γ : Δ, γ ∈ s ↔ u γ ∈ Γ ∧ g⁻¹ * u γ * h ∈ K) ∧ | |
| 137 | + #s = if mk Γ K g = mk Γ K h then Nat.card (classAut Γ K g) else 0 := by | |
| 138 | + split_ifs with h_class | |
| 139 | + · -- If `h = a * g * k`, the condition on `γ` says that `u γ * a` lies in `classAut Γ K g`. Take | |
| 140 | + -- the preimage under `u` of `classAut Γ K g * a⁻¹`, which lies in `Γ`, so in the range of `u`. | |
| 141 | + obtain ⟨a, ha, k, hk, rfl⟩ : ∃ a ∈ Γ, ∃ k ∈ K, h = a * g * k := (eq ..).1 h_class | |
| 142 | + let A : Finset G := univ.map ⟨(classAut Γ K g).subtype, (classAut Γ K g).subtype_injective⟩ | |
| 143 | + refine ⟨(A.map (Equiv.divRight a)).preimage u hu.injOn, fun γ ↦ ?_, ?_⟩ | |
| 144 | + · simp [A, ha, hk, ← mul_assoc, mul_mem_cancel_right] | |
| 145 | + · have h_sub : ∀ x ∈ A.map (Equiv.divRight a), x ∈ Γ := by | |
| 146 | + simp +contextual [A, ha, mul_mem_cancel_right] | |
| 147 | + rw [card_preimage, filter_eq_self.2 fun x hx ↦ hΓ (h_sub x hx), Nat.card_eq_fintype_card] | |
| 148 | + simp [A] | |
| 149 | + · -- Otherwise no `γ` qualifies, since `h = (u γ)⁻¹ * g * (g⁻¹ * u γ * h)`. | |
| 150 | + exact ⟨∅, fun γ ↦ iff_of_false (Finset.notMem_empty γ) fun ⟨hγ, hK⟩ ↦ | |
| 151 | + h_class ((eq ..).2 ⟨(u γ)⁻¹, inv_mem hγ, g⁻¹ * u γ * h, hK, by group⟩), rfl⟩ | |
| 152 | + | |
| 153 | +end Definitions | |
| 154 | + | |
| 155 | +open HasFiniteType | |
| 156 | + | |
| 157 | +variable {G W W' : Type*} [Group G] {Γ K K' : Subgroup G} [AddCommGroup W] [Module ℚ W] | |
| 158 | + [AddCommGroup W'] [Module ℚ W'] {f : G → W} | |
| 159 | + | |
| 160 | +/-- The order of the stabiliser `classAut Γ K g` depends only on the class ΓgK. -/ | |
| 161 | +lemma card_classAut_out (g : G) : | |
| 162 | + Nat.card (classAut Γ K g) = Nat.card (classAut Γ K (DoubleCoset.mk Γ K g).out) := by | |
| 163 | + -- The representative is some `γ * g * k`, and conjugation by `γ` matches the two stabilisers. | |
| 164 | + obtain ⟨γ, hγ, k, hk, h_out⟩ := mk_out_eq_mul Γ K g | |
| 165 | + rw [h_out, card_classAut_mul_mul hγ hk] | |
| 166 | + | |
| 167 | +/-- The integral over `Γ \ G` of a complex function commutes with multiplication by a constant. -/ | |
| 168 | +@[simp] lemma classIntegral_const_mul (β : ℂ) (f : G → ℂ) : | |
| 169 | + classIntegral Γ K (fun g : G ↦ β * f g) = β * classIntegral Γ K f := by | |
| 170 | + rcases eq_or_ne β 0 with rfl | hβ | |
| 171 | + · simp [classIntegral, classSum] | |
| 172 | + · have h_stab : rightStabilizer (fun g ↦ β * f g) = rightStabilizer f := | |
| 173 | + Subgroup.ext (by simp [hβ]) | |
| 174 | + rw [classIntegral, h_stab, classIntegral] | |
| 175 | + simp only [classSum, mul_finsum, mul_smul_comm] | |
| 176 | + | |
| 177 | +/-- For subgroups `Γ`, `K` of `G` and `f : G → W`, `classSum Γ K f` is the sum over double cosets | |
| 178 | +`c ∈ Γ\G/K` of `f(g_c)/#(Γ ∩ g_c K g_c⁻¹)`. The integral `classIntegral Γ K f` is the class sum at | |
| 179 | +level `K ∩ Stab f` divided by that level's index in `K`. If `K` fixes `f` under right translation, | |
| 180 | +the two are equal. -/ | |
| 181 | +lemma classIntegral_eq_classSum (hK : K ≤ rightStabilizer f) : | |
| 182 | + classIntegral Γ K f = classSum Γ K f := by | |
| 183 | + simp [classIntegral, relIndex_eq_one.2 hK, inf_eq_right.2 hK] | |
| 184 | + | |
| 185 | +omit [AddCommGroup W] [Module ℚ W] in | |
| 186 | +/-- A left `Γ`-invariant and right `K`-invariant `f` takes the same value at `g` and at the chosen | |
| 187 | +representative of the double coset `Γ g K`. -/ | |
| 188 | +lemma apply_doubleCoset_out (hl : Γ.FixesLeft f) (hK : K ≤ rightStabilizer f) (g : G) : | |
| 189 | + f (mk Γ K g).out = f g := by | |
| 190 | + obtain ⟨γ, hγ, k, hk, h_out⟩ := mk_out_eq_mul Γ K g | |
| 191 | + rw [h_out, hK hk, hl γ hγ] | |
| 192 | + | |
| 193 | +/-! ### Finite sums over the classes -/ | |
| 194 | + | |
| 195 | +variable [TopologicalSpace G] | |
| 196 | + | |
| 197 | +/-- If `(Γ, K)` has finite type (finitely many classes, finite stabilisers, `K` compact open), | |
| 198 | +then so has `(Γ, K')` for every open subgroup `K'` of `K`. -/ | |
| 199 | +lemma HasFiniteType.of_le [H : HasFiniteType Γ K] [IsTopologicalGroup G] (h_le : K' ≤ K) | |
| 200 | + (h_open : IsOpen (K' : Set G)) : HasFiniteType Γ K' := by | |
| 201 | + refine ⟨?_, fun g ↦ ?_, h_open, | |
| 202 | + H.isCompact.of_isClosed_subset (isClosed_of_isOpen _ h_open) h_le⟩ | |
| 203 | + · -- The open subgroup `K'` has finite index in the compact group `K`, and every class for `K'` | |
| 204 | + -- comes from a class for `K` and a coset of `K'` in `K`. | |
| 205 | + have h_index : Finite (K ⧸ K'.subgroupOf K) := | |
| 206 | + Nat.finite_of_card_ne_zero (H.isCompact.relIndex_ne_zero h_open) | |
| 207 | + exact .of_surjective _ (surjective_doubleCoset_mk_mul Γ K K') | |
| 208 | + · have h_aut : classAut Γ K' g ≤ classAut Γ K g := inf_le_inf_left Γ (comap_mono h_le) | |
| 209 | + exact .of_injective _ (Subgroup.inclusion_injective h_aut) | |
| 210 | + | |
| 211 | +/-- For a pair `(Γ, K)` of finite type (`K` compact open in the topological group `G`, `Γ \ G / K` | |
| 212 | +finite and every `Γ ∩ g K g⁻¹` finite) in which every stabiliser `classAut Γ K g = Γ ∩ g K g⁻¹` is | |
| 213 | +trivial, the class sum of the constant function `1` equals the number of double cosets `Γ g K`, as a | |
| 214 | +real number. Here `classSum Γ K f` is the sum over double cosets `c` in `Γ \ G / K` of | |
| 215 | +`f(g_c) / #(Γ ∩ g_c K g_c⁻¹)`, where `g_c` is a chosen representative of `c`. -/ | |
| 216 | +lemma card_classes_eq_classSum [HasFiniteType Γ K] (h_free : ∀ g : G, classAut Γ K g = ⊥) : | |
| 217 | + (Nat.card (DoubleCosets Γ K) : ℝ) = classSum Γ K 1 := by | |
| 218 | + simp [classSum, finsum_eq_sum_of_fintype, h_free] | |
| 219 | + | |
| 220 | +/-- Suppose `(Γ, K)` has finite type and all `Γ ∩ g K g⁻¹` are trivial, and let `f` be right | |
| 221 | +`K`-invariant with values in `A`. Then `classIntegral Γ K f`, the class sum of `f` at level | |
| 222 | +`K ∩ Stab f` divided by the index of that level in `K`, is a sum of elements of `A`, one for each | |
| 223 | +double coset in `Γ \ G / K`. -/ | |
| 224 | +lemma classIntegral_mem_nsmul [HasFiniteType Γ K] (h_free : ∀ g : G, classAut Γ K g = ⊥) | |
| 225 | + (hK : K ≤ rightStabilizer f) {A : Set W} (hA : ∀ g : G, f g ∈ A) : | |
| 226 | + classIntegral Γ K f ∈ Nat.card (DoubleCosets Γ K) • A := by | |
| 227 | + have h_sum : ∑ q : DoubleCosets Γ K, f q.out ∈ ∑ _q : DoubleCosets Γ K, A := | |
| 228 | + Set.finsetSum_mem_finsetSum univ _ _ fun q _ ↦ hA _ | |
| 229 | + simpa [classIntegral_eq_classSum hK, classSum, finsum_eq_sum_of_fintype, h_free] using h_sum | |
| 230 | + | |
| 231 | +/-- The class sum of a nonnegative function that is positive at some class representative is | |
| 232 | +positive. -/ | |
| 233 | +lemma classSum_pos [HasFiniteType Γ K] [PartialOrder W] [IsOrderedAddMonoid W] | |
| 234 | + [PosSMulStrictMono ℚ W] (h_nonneg : ∀ g : G, 0 ≤ f g) {c : DoubleCosets Γ K} | |
| 235 | + (hc : 0 < f c.out) : 0 < classSum Γ K f := by | |
| 236 | + rw [classSum, finsum_eq_sum_of_fintype] | |
| 237 | + have h_weight (q : DoubleCosets Γ K) : (0 : ℚ) < (Nat.card (classAut Γ K q.out) : ℚ)⁻¹ := | |
| 238 | + inv_pos.2 (Nat.cast_pos.2 Nat.card_pos) | |
| 239 | + exact sum_pos' (fun q _ ↦ smul_nonneg (h_weight q).le (h_nonneg _)) | |
| 240 | + ⟨c, mem_univ c, smul_pos (h_weight c) hc⟩ | |
| 241 | + | |
| 242 | +/-- The class sum of the constant function `1` is strictly positive when `(Γ, K)` | |
| 243 | +has finite type. -/ | |
| 244 | +lemma classSum_one_pos [HasFiniteType Γ K] : (0 : ℝ) < classSum Γ K 1 := | |
| 245 | + classSum_pos (fun _ ↦ zero_le_one) (c := mk Γ K 1) zero_lt_one | |
| 246 | + | |
| 247 | +/-- Additive maps commute with class sums. -/ | |
| 248 | +lemma map_classSum [HasFiniteType Γ K] {F : Type*} [FunLike F W W'] [AddMonoidHomClass F W W'] | |
| 249 | + (L : F) (f : G → W) : L (classSum Γ K f) = classSum Γ K fun g : G ↦ L (f g) := by | |
| 250 | + simp only [classSum, finsum_eq_sum_of_fintype, map_sum, map_rat_smul] | |
| 251 | + | |
| 252 | +/-- The class sum commutes with finite sums of functions. -/ | |
| 253 | +lemma classSum_sum [HasFiniteType Γ K] {ι : Type*} (s : Finset ι) (f : ι → G → W) : | |
| 254 | + classSum Γ K (fun g : G ↦ ∑ i ∈ s, f i g) = ∑ i ∈ s, classSum Γ K (f i) := by | |
| 255 | + simpa only [classSum, finsum_eq_sum_of_fintype, smul_sum] using sum_comm | |
| 256 | + | |
| 257 | +variable [IsTopologicalGroup G] | |
| 258 | + | |
| 259 | +/-! ### Change of level -/ | |
| 260 | + | |
| 261 | +/-- Change of level and of variable in a class sum, for `(Γ, K)` and `(Γ, K')` of finite type. Let | |
| 262 | +`L = a⁻¹ K' a ≤ K`, and let `F g` be the value of `f` at the representative of the class | |
| 263 | +`Γ (g a) K`. Then the class sum `∑ F g / #(Γ ∩ g K' g⁻¹)` over `Γ \ G / K'` is the index `[K : L]` | |
| 264 | +times the class sum of `f` over `Γ \ G / K`. -/ | |
| 265 | +lemma classSum_eq_relIndex_smul [H : HasFiniteType Γ K] [J : HasFiniteType Γ K'] | |
| 266 | + {L : Subgroup G} {F : G → W} (hLK : L ≤ K) (a : G) (hL : K'.comap (conj a) = L) | |
| 267 | + (hfF : ∀ g : G, f (mk Γ K (g * a)).out = F g) : | |
| 268 | + classSum Γ K' F = (L.relIndex K : ℚ) • classSum Γ K f := by | |
| 269 | + classical | |
| 270 | + set L₀ := K'.map ((conj a).symm : G →* G) | |
| 271 | + have h_map : L₀ = L := (Subgroup.map_equiv_eq_comap_symm (conj a).symm K').trans hL | |
| 272 | + subst h_map | |
| 273 | + -- Identify double cosets with orbits on `G ⧸ Γ`, translating the finer level by `a`. | |
| 274 | + let orbitEquiv (U : Subgroup G) := TauCeti.doubleCosetQuotientEquivOrbitRelQuotient Γ U | |
| 275 | + let fineEquiv := (quotientConjRight Γ K' a).trans (orbitEquiv L₀) | |
| 276 | + let π := Setoid.map_of_le (TauCeti.MulAction.orbitRel_le_of_subgroup_le (X := G ⧸ Γ) hLK) | |
| 277 | + let value (p : MulAction.orbitRel.Quotient K (G ⧸ Γ)) := f ((orbitEquiv K).symm p).out | |
| 278 | + let weight {U : Subgroup G} (p : MulAction.orbitRel.Quotient U (G ⧸ Γ)) : ℚ := | |
| 279 | + (TauCeti.cardStabilizerOnOrbit p : ℚ)⁻¹ | |
| 280 | + have : L₀.IsFiniteRelIndex K := by | |
| 281 | + rw [← hL] | |
| 282 | + exact ⟨H.isCompact.relIndex_ne_zero (J.isOpen.preimage (continuous_conj a))⟩ | |
| 283 | + have : Finite (MulAction.orbitRel.Quotient L₀ (G ⧸ Γ)) := Finite.of_equiv _ fineEquiv | |
| 284 | + have weight_mk (U : Subgroup G) (g : G) : | |
| 285 | + weight (orbitEquiv U (mk Γ U g)) = (Nat.card (classAut Γ U g) : ℚ)⁻¹ := by | |
| 286 | + simp only [weight, orbitEquiv, | |
| 287 | + TauCeti.cardStabilizerOnOrbit_doubleCosetQuotientEquivOrbitRelQuotient_mk, | |
| 288 | + TauCeti.natCard_mackeySubgroup_inv_subgroupOf] | |
| 289 | + rw [show classAut Γ U g = TauCeti.mackeySubgroup g U Γ from Subgroup.ext (by simp)] | |
| 290 | + have translate_aut (g : G) : classAut Γ L₀ (g * a) = classAut Γ K' g := | |
| 291 | + Subgroup.ext (by simp [mem_classAut, ← hL, conj_apply, mul_assoc]) | |
| 292 | + calc classSum Γ K' F = ∑ᶠ q, weight q • value (π q) := by | |
| 293 | + rw [classSum, ← finsum_comp_equiv fineEquiv] | |
| 294 | + refine finsum_congr fun q ↦ ?_ | |
| 295 | + have hq : fineEquiv q = orbitEquiv L₀ (mk Γ L₀ (q.out * a)) := by | |
| 296 | + conv_lhs => rw [← out_eq' q] | |
| 297 | + simp only [fineEquiv, Equiv.trans_apply, quotientConjRight_apply_mk, L₀] | |
| 298 | + rw [hq, weight_mk, translate_aut] | |
| 299 | + simp [value, orbitEquiv, π, TauCeti.doubleCosetQuotientEquivOrbitRelQuotient_mk, | |
| 300 | + TauCeti.Setoid.map_of_le_mk, ← hfF] | |
| 301 | + _ = ∑ᶠ p, ((L₀.relIndex K : ℚ) * weight p) • value p := by | |
| 302 | + -- The weights above each coarse orbit sum to its weight times the index. | |
| 303 | + rw [← TauCeti.finsum_fiberwise π _ (Set.toFinite _)] | |
| 304 | + refine finsum_congr fun p ↦ ?_ | |
| 305 | + rw [← TauCeti.finsum_mem_inv_cardStabilizerOnOrbit_preimage hLK p, | |
| 306 | + ← finsum_set_coe_eq_finsum_mem, finsum_smul] | |
| 307 | + exact finsum_congr fun q ↦ by rw [show π q = p from q.property] | |
| 308 | + _ = (L₀.relIndex K : ℚ) • classSum Γ K f := by | |
| 309 | + rw [classSum, smul_finsum, ← finsum_comp_equiv (orbitEquiv K)] | |
| 310 | + refine finsum_congr fun p ↦ ?_ | |
| 311 | + have hp := weight_mk K p.out | |
| 312 | + rw [out_eq'] at hp | |
| 313 | + simp [hp, value, mul_smul] | |
| 314 | + | |
| 315 | +/-- For `K' ≤ K` with `(Γ, K)` and `(Γ, K')` of finite type, the class sum of `1` at level `K'` is | |
| 316 | +`[K : K']` times that at level `K`. -/ | |
| 317 | +lemma classSum_one_of_le [HasFiniteType Γ K] [HasFiniteType Γ K'] (h_le : K' ≤ K) : | |
| 318 | + classSum Γ K' 1 = (K'.relIndex K : ℝ) * classSum Γ K 1 := by | |
| 319 | + rw [classSum_eq_relIndex_smul (f := 1) (F := 1) h_le 1 (Subgroup.ext (by simp)) fun _ ↦ rfl, | |
| 320 | + Rat.smul_def, Rat.cast_natCast] | |
| 321 | + | |
| 322 | +/-- For left `Γ`-invariant `f`, and `(Γ, K)`, `(Γ, K')` of finite type, the integral is | |
| 323 | +`[K : K']⁻¹` times the class sum for `K'` of `g ↦ f (g * a)`, whenever `K' ≤ K` and `a⁻¹ K' a` | |
| 324 | +(written `K'.comap (conj a)`) lies in both `K` and the right stabiliser of `f`. -/ | |
| 325 | +lemma classIntegral_eq_classSum_mul [H : HasFiniteType Γ K] [J : HasFiniteType Γ K'] | |
| 326 | + (hl : Γ.FixesLeft f) (a : G) (h_le : K'.comap (conj a) ≤ rightStabilizer f ⊓ K) (hK' : K' ≤ K) : | |
| 327 | + classIntegral Γ K f = (K'.relIndex K : ℚ)⁻¹ • classSum Γ K' fun g : G ↦ f (g * a) := by | |
| 328 | + -- Compare the class sums at the levels `K'` and `S = Stab f ∩ K` through `L = a⁻¹ K' a ≤ S`. | |
| 329 | + set S : Subgroup G := rightStabilizer f ⊓ K with hS | |
| 330 | + set L : Subgroup G := K'.comap (conj a) | |
| 331 | + have hL_open : IsOpen (L : Set G) := J.isOpen.preimage (continuous_conj a) | |
| 332 | + have HS : HasFiniteType Γ S := H.of_le inf_le_right (isOpen_mono h_le hL_open) | |
| 333 | + have h_sum : classSum Γ K' (fun g ↦ f (g * a)) = (L.relIndex S : ℚ) • classSum Γ S f := | |
| 334 | + classSum_eq_relIndex_smul h_le a rfl fun _ ↦ apply_doubleCoset_out hl inf_le_left _ | |
| 335 | + -- Comparing the two class sums of `1` gives `[K : L] = [K : K']`. | |
| 336 | + have h_mass := classSum_eq_relIndex_smul (Γ := Γ) (f := (1 : G → ℝ)) (F := 1) | |
| 337 | + (h_le.trans inf_le_right) a rfl (fun _ ↦ rfl) | |
| 338 | + rw [classSum_one_of_le hK', Rat.smul_def, Rat.cast_natCast] at h_mass | |
| 339 | + have h_index : K'.relIndex K = L.relIndex K := by | |
| 340 | + exact_mod_cast mul_right_cancel₀ (classSum_one_pos (Γ := Γ) (K := K)).ne' h_mass | |
| 341 | + have h_ne : (L.relIndex S : ℚ) ≠ 0 := Nat.cast_ne_zero.2 (HS.isCompact.relIndex_ne_zero hL_open) | |
| 342 | + calc classIntegral Γ K f = (S.relIndex K : ℚ)⁻¹ • classSum Γ S f := by | |
| 343 | + rw [classIntegral, hS, inf_relIndex_right] | |
| 344 | + _ = (K'.relIndex K : ℚ)⁻¹ • classSum Γ K' fun g : G ↦ f (g * a) := by | |
| 345 | + rw [h_index, ← relIndex_mul_relIndex _ S _ h_le inf_le_right, h_sum, Nat.cast_mul, | |
| 346 | + mul_inv_rev, mul_smul, inv_smul_smul₀ h_ne] | |
| 347 | + | |
| 348 | +/-- For left `Γ`-invariant `f`, the integral is `[K : K']⁻¹` times the class sum at a level | |
| 349 | +`K' ≤ K` that fixes `f`, for `(Γ, K)` and `(Γ, K')` of finite type. -/ | |
| 350 | +lemma classIntegral_eq_inv_smul_classSum [HasFiniteType Γ K] [HasFiniteType Γ K'] | |
| 351 | + (hl : Γ.FixesLeft f) (h_fix : K' ≤ rightStabilizer f) (hK' : K' ≤ K) : | |
| 352 | + classIntegral Γ K f = (K'.relIndex K : ℚ)⁻¹ • classSum Γ K' f := by | |
| 353 | + simpa only [mul_one] using | |
| 354 | + classIntegral_eq_classSum_mul hl 1 (fun k hk ↦ le_inf h_fix hK' (by simpa using hk)) hK' | |
| 355 | + | |
| 356 | +/-! ### Additivity and translation invariance -/ | |
| 357 | + | |
| 358 | +/-- Let `(Γ, K)` have finite type, let the `f i` be smooth and left `Γ`-invariant, `φ i` additive | |
| 359 | +maps and `F g = ∑ i ∈ s, φ i (f i (g * a i))`. Then the integral of `F` is the sum of the `φ i` of | |
| 360 | +the integrals of the `f i`: the integral is additive, commutes with additive maps of the values and | |
| 361 | +does not change under right translation. -/ | |
| 362 | +lemma classIntegral_sum [H : HasFiniteType Γ K] {ι : Type*} {F : G → W'} (s : Finset ι) | |
| 363 | + (φ : ι → W →+ W') (a : ι → G) {f : ι → G → W} (hf : ∀ i : ι, f i ∈ smoothInvariants Γ) | |
| 364 | + (hF : ∀ g : G, F g = ∑ i ∈ s, φ i (f i (g * a i))) : | |
| 365 | + classIntegral Γ K F = ∑ i ∈ s, φ i (classIntegral Γ K (f i)) := by | |
| 366 | + -- Compute every integral at one level `M`: the `k ∈ K` such that, for each `i ∈ s`, the | |
| 367 | + -- conjugate `(a i)⁻¹ * k * a i` lies in `K` and fixes `f i`. | |
| 368 | + have hf_left (i : ι) : Γ.FixesLeft (f i) := (hf i).1 | |
| 369 | + have hf_open (i : ι) : IsOpen (rightStabilizer (f i) : Set G) := (hf i).2 | |
| 370 | + let M : Subgroup G := K ⊓ ⨅ i : s, (rightStabilizer (f i) ⊓ K).comap (conj (a i)⁻¹) | |
| 371 | + have hM_open : IsOpen (M : Set G) := by | |
| 372 | + rw [coe_inf, coe_iInf] | |
| 373 | + exact H.isOpen.inter (isOpen_iInter_of_finite fun i ↦ | |
| 374 | + ((hf_open i).inter H.isOpen).preimage (continuous_conj _)) | |
| 375 | + have hM : HasFiniteType Γ M := H.of_le inf_le_left hM_open | |
| 376 | + have h_conj (i : ι) (hi : i ∈ s) : M.comap (conj (a i)) ≤ rightStabilizer (f i) ⊓ K := | |
| 377 | + fun k hk ↦ by simpa [mul_assoc] using mem_iInf.1 (Subgroup.mem_inf.1 hk).2 ⟨i, hi⟩ | |
| 378 | + have hF_left : Γ.FixesLeft F := fun γ hγ g ↦ by simp only [hF, mul_assoc, hf_left _ γ hγ] | |
| 379 | + have hF_right : M ≤ rightStabilizer F := fun k hk g ↦ by | |
| 380 | + rw [hF, hF] | |
| 381 | + refine sum_congr rfl fun i hi ↦ congrArg (φ i) ?_ | |
| 382 | + have h_mem : (a i)⁻¹ * k * a i ∈ rightStabilizer (f i) := | |
| 383 | + (h_conj i hi (by simpa [mul_assoc] using hk)).1 | |
| 384 | + simpa [mul_assoc] using h_mem (g * a i) | |
| 385 | + -- Class sums are finite rational combinations of values, so the `φ i` commute with them. | |
| 386 | + rw [classIntegral_eq_inv_smul_classSum hF_left hF_right inf_le_left, funext hF, classSum_sum, | |
| 387 | + smul_sum] | |
| 388 | + refine sum_congr rfl fun i hi ↦ ?_ | |
| 389 | + rw [classIntegral_eq_classSum_mul (hf_left i) (a i) (h_conj i hi) inf_le_left, map_rat_smul, | |
| 390 | + map_classSum] | |
| 391 | + | |
| 392 | +end New | |
| 393 | + | |
| 394 | +end ClassMean | |
| 395 | + | |
| 396 | +/-! ## Linearity of the integral over `Γ \ G`, and smooth functions -/ | |
| 397 | + | |
| 398 | +section Linearity | |
| 399 | + | |
| 400 | +open Finset MulAut Subgroup IsTopologicalGroup | |
| 401 | + | |
| 402 | +namespace New | |
| 403 | + | |
| 404 | +variable {G W W' : Type*} [Group G] {Γ K : Subgroup G} [AddCommGroup W] [Module ℚ W] | |
| 405 | + [AddCommGroup W'] [Module ℚ W'] {f : G → W} [TopologicalSpace G] [IsTopologicalGroup G] | |
| 406 | + | |
| 407 | +/-- Let `(Γ, K)` have finite type. The integral `classIntegral Γ K` over `Γ \ G` is additive on | |
| 408 | +`smoothInvariants Γ`, the left `Γ`-invariant functions fixed on the right by an open subgroup. -/ | |
| 409 | +lemma classIntegral_add [HasFiniteType Γ K] {g : G → W} (hf : f ∈ smoothInvariants Γ) | |
| 410 | + (hg : g ∈ smoothInvariants Γ) : | |
| 411 | + classIntegral Γ K (f + g) = classIntegral Γ K f + classIntegral Γ K g := by | |
| 412 | + -- The case of the two summands `f` and `g` of `classIntegral_sum`. | |
| 413 | + simpa using classIntegral_sum (F := f + g) (f := ![f, g]) univ (fun _ ↦ .id W) 1 | |
| 414 | + (Fin.forall_fin_two.2 ⟨hf, hg⟩) (by simp) | |
| 415 | + | |
| 416 | +/-- Let `(Γ, K)` have finite type, let `f` be smooth and left `Γ`-invariant, `L` an additive map and | |
| 417 | +`F g = L (f (g * a))`. Then the integral of `F` over `Γ \ G` is `L` of the integral of `f`: the | |
| 418 | +integral commutes with additive maps and does not change under right translation. -/ | |
| 419 | +lemma classIntegral_map_mul_right [HasFiniteType Γ K] (L : W →+ W') {F : G → W'} (a : G) | |
| 420 | + (hf : f ∈ smoothInvariants Γ) (hF : ∀ g : G, F g = L (f (g * a))) : | |
| 421 | + classIntegral Γ K F = L (classIntegral Γ K f) := by | |
| 422 | + -- The case of a single summand, translated by `a`, of `classIntegral_sum`. | |
| 423 | + simpa using classIntegral_sum {a} (fun _ ↦ L) id (fun _ ↦ hf) (by simpa using hF) | |
| 424 | + | |
| 425 | +variable (R : Type*) [CommSemiring R] [Module R W] | |
| 426 | + | |
| 427 | +/-- The smooth functions `G → W`, those fixed under right translation by an open subgroup, as a | |
| 428 | +subrepresentation of the right regular representation. -/ | |
| 429 | +def smoothFunctions : Subrepresentation (rightRegular R G W) where | |
| 430 | + toSubmodule := | |
| 431 | + -- A linear combination is fixed by the intersection of the two stabilisers. | |
| 432 | + .ofLinearComb {f : G → W | IsOpen (rightStabilizer f : Set G)} ⟨0, by simp [rightStabilizer]⟩ | |
| 433 | + fun f hf g hg _ _ ↦ isOpen_mono (H₁ := rightStabilizer f ⊓ rightStabilizer g) | |
| 434 | + (fun k hk x ↦ by simp [hk.1 x, hk.2 x]) (hf.inter hg) | |
| 435 | + apply_mem_toSubmodule a f hf := by | |
| 436 | + -- The translate of `f` by `a` is fixed by the conjugate `a * rightStabilizer f * a⁻¹`. | |
| 437 | + refine ((rightStabilizer f).comap (conj a⁻¹).toMonoidHom).isOpen_mono (fun k hk g ↦ ?_) | |
| 438 | + (hf.preimage (continuous_conj _)) | |
| 439 | + simpa [mul_assoc] using hk (g * a) | |
| 440 | + | |
| 441 | +end New | |
| 442 | + | |
| 443 | +end Linearity | |
| 444 | + | |
| 445 | +/-! | |
| 446 | +## Unfolding class sums along an orbit | |
| 447 | + | |
| 448 | +`New.classSum_card_orbit`: under `New.HasFiniteType`, if `G` acts on a set and `H` is the stabiliser | |
| 449 | +of a point `e`, the class sum of the number of points of `Γ e ∩ g K e` is the class sum of `1` for | |
| 450 | +the preimages of `Γ` and `K` in `H`. | |
| 451 | +-/ | |
| 452 | + | |
| 453 | +section OrbitClassSum | |
| 454 | + | |
| 455 | +open MulAction DoubleCoset Function Finset New.HasFiniteType | |
| 456 | + | |
| 457 | +open Classical in | |
| 458 | +/-- Let `ι` embed `H` with image the stabiliser of `e`, let `Δ`, `L` be the preimages of `Γ`, `K`, | |
| 459 | +with `(Δ, L)` of finite type (finitely many classes, finite stabilisers, `L` compact open), and let | |
| 460 | +`ι h = a⁻¹ g k` with `a ∈ Γ`, `k ∈ K`. Among the `γ ∈ Γ` with `g⁻¹ γ (ι d) ∈ K`, those with | |
| 461 | +`γ • e = a • e` are as many as the elements of `Δ ∩ h L h⁻¹` if `Δ h L = Δ d L`, and there are none | |
| 462 | +otherwise. -/ | |
| 463 | +lemma New.card_filter_smul_eq_ite_card_classAut {G H X : Type*} [Group G] [Group H] [MulAction G X] | |
| 464 | + [TopologicalSpace H] {Γ K : Subgroup G} {Δ L : Subgroup H} [HasFiniteType Δ L] {e : X} | |
| 465 | + {ι : H →* G} (hι : Injective ι) (he : stabilizer G e = ι.range) (hΔ : Δ = Γ.comap ι) | |
| 466 | + (hL : L = K.comap ι) {g a k : G} {h d : H} (ha : a ∈ Γ) (hk : k ∈ K) (hh : ι h = a⁻¹ * g * k) | |
| 467 | + {T : Finset G} (mem_T : ∀ γ : G, γ ∈ T ↔ γ ∈ Γ ∧ g⁻¹ * γ * ι d ∈ K) : | |
| 468 | + #{γ ∈ T | a • e = γ • e} = | |
| 469 | + if DoubleCoset.mk Δ L h = DoubleCoset.mk Δ L d then Nat.card (classAut Δ L h) else 0 := by | |
| 470 | + -- These `γ` are the `a * ι δ` with `δ ∈ Δ` and `h⁻¹ * δ * d ∈ L`. | |
| 471 | + obtain ⟨s, mem_s, card_s⟩ := exists_transporter Δ injective_id (by simp) L h d | |
| 472 | + have mem_s_iff (δ : H) : δ ∈ s ↔ a * ι δ ∈ T := by | |
| 473 | + have h_eq : ι (h⁻¹ * δ * d) = k⁻¹ * (g⁻¹ * (a * ι δ) * ι d) := by simp [hh, mul_assoc] | |
| 474 | + simp only [mem_s, id_eq, mem_T, hΔ, hL, Subgroup.mem_comap, h_eq, | |
| 475 | + K.mul_mem_cancel_left (inv_mem hk), Γ.mul_mem_cancel_left ha] | |
| 476 | + have fibre_eq : | |
| 477 | + {γ ∈ T | a • e = γ • e} = s.map ⟨fun δ ↦ a * ι δ, (mul_right_injective a).comp hι⟩ := by | |
| 478 | + ext γ | |
| 479 | + obtain ⟨x, rfl⟩ : ∃ x : G, a * x = γ := mul_left_surjective a γ | |
| 480 | + have smul_eq_iff : a • e = (a * x) • e ↔ ∃ δ : H, ι δ = x := by | |
| 481 | + rw [mul_smul, smul_left_cancel_iff, eq_comm, ← mem_stabilizer_iff, he, MonoidHom.mem_range] | |
| 482 | + suffices (a * x ∈ T ∧ ∃ δ : H, ι δ = x) ↔ ∃ δ : H, a * ι δ ∈ T ∧ ι δ = x by | |
| 483 | + simpa [smul_eq_iff, mem_s_iff] | |
| 484 | + grind | |
| 485 | + rw [fibre_eq, card_map, card_s] | |
| 486 | + | |
| 487 | +open Classical in | |
| 488 | +/-- The class sum of the function that is `#(Γ ∩ g K g⁻¹)` on the double coset `Γ g₀ K` and `0` | |
| 489 | +elsewhere is `1`: only the class of `g₀` contributes, and its weight cancels. -/ | |
| 490 | +lemma New.classSum_ite_card_classAut {G : Type*} [Group G] [TopologicalSpace G] {Γ K : Subgroup G} | |
| 491 | + [HasFiniteType Γ K] (g₀ : G) : | |
| 492 | + classSum Γ K (fun g : G ↦ ((if DoubleCoset.mk Γ K g = DoubleCoset.mk Γ K g₀ then | |
| 493 | + Nat.card (classAut Γ K g) else 0 : ℕ) : ℝ)) = 1 := by | |
| 494 | + rw [classSum, finsum_eq_single _ (DoubleCoset.mk Γ K g₀) fun c hc ↦ by simp [out_eq', hc], | |
| 495 | + out_eq', ite_eq_left rfl, Rat.smul_def, Rat.cast_inv, Rat.cast_natCast, | |
| 496 | + inv_mul_cancel₀ (Nat.cast_ne_zero.2 Nat.card_pos.ne')] | |
| 497 | + | |
| 498 | +open Classical in | |
| 499 | +/-- Let `ι` embed `H` with image the stabiliser of `e`, let `Δ`, `L` be the preimages of `Γ`, `K`, | |
| 500 | +with `(Δ, L)` of finite type (finitely many classes, finite stabilisers, `L` compact open), and let | |
| 501 | +`S = Γ e ∩ g K e`. Let `T h` be the set of `γ ∈ Γ` with `g⁻¹ γ (ι h) ∈ K`. Then the indicator of | |
| 502 | +`S` is the sum, over the classes `d` of `(Δ, L)` and the `γ ∈ T d`, of point masses | |
| 503 | +`1 / #(Δ ∩ d L d⁻¹)` at `γ • e`. -/ | |
| 504 | +lemma New.indicator_orbit_eq_sum {G H X : Type*} [Group G] [Group H] [MulAction G X] | |
| 505 | + [TopologicalSpace H] {Γ K : Subgroup G} {Δ L : Subgroup H} [HasFiniteType Δ L] {e : X} | |
| 506 | + {ι : H →* G} (hι : Injective ι) (he : stabilizer G e = ι.range) (hΔ : Δ = Γ.comap ι) | |
| 507 | + (hL : L = K.comap ι) {g : G} {S : Set X} | |
| 508 | + (hS : ∀ y : X, y ∈ S ↔ y ∈ orbit Γ e ∧ g⁻¹ • y ∈ orbit K e) {T : H → Finset G} | |
| 509 | + (mem_T : ∀ (h : H) (γ : G), γ ∈ T h ↔ γ ∈ Γ ∧ g⁻¹ * γ * ι h ∈ K) (y : X) : | |
| 510 | + S.indicator 1 y = ∑ d : DoubleCosets Δ L, ∑ γ ∈ T d.out, | |
| 511 | + if y = γ • e then (Nat.card (classAut Δ L d.out) : ℝ)⁻¹ else 0 := by | |
| 512 | + have mem_S (z : X) : z ∈ S ↔ (∃ a ∈ Γ, a • e = z) ∧ ∃ k ∈ K, k • e = g⁻¹ • z := by | |
| 513 | + simp [hS, orbit] | |
| 514 | + rw [Set.indicator_apply] | |
| 515 | + split_ifs with hy | |
| 516 | + · obtain ⟨⟨a, ha, rfl⟩, k, hk, hka⟩ := (mem_S y).1 hy | |
| 517 | + obtain ⟨h, hh⟩ : a⁻¹ * g * k ∈ ι.range := by simp [← he, mul_smul, hka] | |
| 518 | + -- Only the class of `h` contributes, with `#(Δ ∩ h L h⁻¹)` terms of the inverse size. | |
| 519 | + have inner_eq (d : DoubleCosets Δ L) : | |
| 520 | + (∑ γ ∈ T d.out, if a • e = γ • e then (Nat.card (classAut Δ L d.out) : ℝ)⁻¹ else 0) = | |
| 521 | + if DoubleCoset.mk Δ L h = d then 1 else 0 := by | |
| 522 | + rw [← sum_filter, sum_const, nsmul_eq_mul, | |
| 523 | + card_filter_smul_eq_ite_card_classAut hι he hΔ hL ha hk hh (mem_T _), out_eq'] | |
| 524 | + split_ifs with hd | |
| 525 | + · rw [card_classAut_out h, hd, mul_inv_cancel₀ (Nat.cast_ne_zero.2 Nat.card_pos.ne')] | |
| 526 | + · simp | |
| 527 | + simp only [inner_eq, sum_ite_eq, mem_univ, ite_true, Pi.one_apply] | |
| 528 | + · -- If `y = γ • e` with `γ ∈ T d`, then `y ∈ S`, so every term vanishes. | |
| 529 | + refine (sum_eq_zero fun d _ ↦ sum_eq_zero fun γ hγ ↦ ite_eq_right fun hyγ ↦ hy ?_).symm | |
| 530 | + obtain ⟨hγΓ, hγK⟩ := (mem_T _ γ).1 hγ | |
| 531 | + have h_fix : ι d.out • e = e := by simp [← mem_stabilizer_iff, he] | |
| 532 | + exact (mem_S y).2 ⟨⟨γ, hγΓ, hyγ.symm⟩, _, hγK, by rw [mul_smul, mul_smul, h_fix, hyγ]⟩ | |
| 533 | + | |
| 534 | +open Pointwise in | |
| 535 | +/-- Let `G` act on `X`, let `ι` embed `H` with image the stabiliser of `e`, and let `Δ`, `L` be the | |
| 536 | +preimages of `Γ`, `K`; both pairs have finite type (finitely many classes, finite stabilisers, | |
| 537 | +compact open levels). Then the class sum for `(Γ, K)` of the number of points of `Γ e ∩ g K e`, | |
| 538 | +that is `∑ #(Γ e ∩ g K e) / #(Γ ∩ g K g⁻¹)` over `Γ \ G / K`, is the class sum of `1` for | |
| 539 | +`(Δ, L)`. -/ | |
| 540 | +lemma New.classSum_card_orbit (G H : Type*) {X : Type*} [Group G] [Group H] [MulAction G X] | |
| 541 | + [TopologicalSpace G] [TopologicalSpace H] {Γ K : Subgroup G} {Δ L : Subgroup H} | |
| 542 | + [HasFiniteType Γ K] [HasFiniteType Δ L] (e : X) (ι : H →* G) (hι : Injective ι) | |
| 543 | + (he : stabilizer G e = ι.range) (hΔ : Δ = Γ.comap ι) (hL : L = K.comap ι) : | |
| 544 | + classSum Γ K (fun g : G ↦ ((orbit Γ e ∩ g • orbit K e).ncard : ℝ)) = classSum Δ L 1 := by | |
| 545 | + classical | |
| 546 | + -- By `indicator_orbit_eq_sum`, summing over all points counts `S g` as `∑ d, #(T g (ι d)) * w d`; | |
| 547 | + -- summing that over the classes of `g` leaves `∑ d, w d`, since each `ι d` lies in one class. | |
| 548 | + let S (g : G) : Set X := orbit Γ e ∩ g • orbit K e | |
| 549 | + let w (d : DoubleCosets Δ L) : ℝ := (Nat.card (classAut Δ L d.out) : ℝ)⁻¹ | |
| 550 | + -- `T g h` is the set of `γ ∈ Γ` with `g⁻¹ * γ * h ∈ K`; it has `#(Γ ∩ g K g⁻¹)` elements if `g` | |
| 551 | + -- and `h` lie in one class and is empty otherwise. | |
| 552 | + choose T mem_T card_T using exists_transporter Γ injective_id (by simp) K | |
| 553 | + have card_S (g : G) : ((S g).ncard : ℝ) = ∑ d : DoubleCosets Δ L, #(T g (ι d.out)) * w d := | |
| 554 | + calc ((S g).ncard : ℝ) = ∑' y : X, (S g).indicator 1 y := by simp [← _root_.tsum_subtype] | |
| 555 | + _ = ∑' y : X, ∑ d : DoubleCosets Δ L, ∑ γ ∈ T g (ι d.out), if y = γ • e then w d else 0 := | |
| 556 | + tsum_congr <| indicator_orbit_eq_sum hι he hΔ hL | |
| 557 | + (by simp [S, Set.mem_smul_set_iff_inv_smul_mem]) fun h ↦ mem_T g (ι h) | |
| 558 | + _ = ∑ d : DoubleCosets Δ L, ∑ γ ∈ T g (ι d.out), w d := | |
| 559 | + (hasSum_sum fun d _ ↦ hasSum_sum fun γ _ ↦ hasSum_ite_eq (γ • e) _).tsum_eq | |
| 560 | + _ = _ := by simp | |
| 561 | + calc classSum Γ K (fun g ↦ ((S g).ncard : ℝ)) | |
| 562 | + = ∑ d : DoubleCosets Δ L, classSum Γ K (fun g ↦ (#(T g (ι d.out)) : ℝ)) * w d := by | |
| 563 | + simp only [classSum, finsum_eq_sum_of_fintype, card_S, smul_sum, sum_mul, smul_mul_assoc] | |
| 564 | + exact sum_comm | |
| 565 | + _ = ∑ d : DoubleCosets Δ L, w d := by simp only [card_T, classSum_ite_card_classAut, one_mul] | |
| 566 | + _ = classSum Δ L 1 := by simp [classSum, finsum_eq_sum_of_fintype, w, Rat.smul_def] | |
| 567 | + | |
| 568 | +end OrbitClassSum | |
| 569 | + | |
| 570 | +/-! | |
| 571 | +## Smooth and unitary representations and the mean over a compact subgroup | |
| 572 | + | |
| 573 | +Averaging a smooth representation over a compact subgroup, without Haar measure: the mean is the | |
| 574 | +finite average `New.classIntegral` of a function that is fixed by a subgroup of finite index. | |
| 575 | + | |
| 576 | +* `New.map_compactMean_of_const`: a semilinear map that is constant on the `H`-orbit of `x` takes | |
| 577 | + the same value at the mean of `x`. | |
| 578 | +* `New.map_compactMean_of_factor`: the case of `φ ∘ ρ g` with `φ` invariant under a subgroup `K` | |
| 579 | + and `H ⊆ (g⁻¹ K g) · Stab x`. | |
| 580 | +-/ | |
| 581 | + | |
| 582 | +section CompactMean | |
| 583 | + | |
| 584 | +open Subgroup Topology ComplexOrder DoubleCoset Module | |
| 585 | + | |
| 586 | +namespace New | |
| 587 | + | |
| 588 | +section Unitary | |
| 589 | + | |
| 590 | +variable {G V : Type*} [Group G] [AddCommGroup V] [Module ℂ V] (ρ : Representation ℂ G V) | |
| 591 | + | |
| 592 | +/-- The sesquilinear form `B` is positive definite and invariant under `ρ`. -/ | |
| 593 | +structure IsUnitary (B : V →ₗ⋆[ℂ] V →ₗ[ℂ] ℂ) : Prop where | |
| 594 | + /-- `B x x` is a positive real number for `x ≠ 0`. -/ | |
| 595 | + pos (x : V) (hx : x ≠ 0) : 0 < B x x | |
| 596 | + /-- Every `ρ g` preserves `B`. -/ | |
| 597 | + map_map_eq (g : G) (x y : V) : B (ρ g x) (ρ g y) = B x y | |
| 598 | + | |
| 599 | +variable {ρ} in | |
| 600 | +/-- For a `ρ`-invariant scalar product `B`, the adjoint of `ρ g` is `ρ g⁻¹`. -/ | |
| 601 | +lemma IsUnitary.adjoint_eq_inv {B : V →ₗ⋆[ℂ] V →ₗ[ℂ] ℂ} (hB : IsUnitary ρ B) (g : G) (x y : V) : | |
| 602 | + B (ρ g x) y = B x (ρ g⁻¹ y) := by | |
| 603 | + rw [← hB.map_map_eq g x, ρ.self_inv_apply] | |
| 604 | + | |
| 605 | +end Unitary | |
| 606 | + | |
| 607 | +variable {G V W : Type*} [Group G] [AddCommGroup V] [Module ℂ V] [AddCommGroup W] [Module ℂ W] | |
| 608 | + (ρ : Representation ℂ G V) (H : Subgroup G) {x : V} [TopologicalSpace G] | |
| 609 | + | |
| 610 | +/-- The representation `ρ` is smooth: every vector is fixed by all `g` in some neighbourhood | |
| 611 | +of `1`. -/ | |
| 612 | +class IsSmoothRep (ρ : Representation ℂ G V) : Prop where | |
| 613 | + /-- The vector `x` is fixed by all `g` in some neighbourhood of `1`. -/ | |
| 614 | + eventually_fixed (x : V) : ∀ᶠ g : G in 𝓝 1, ρ g x = x | |
| 615 | + | |
| 616 | +/-- A complex vector space is a rational vector space, so class integrals can take values in it. -/ | |
| 617 | +local instance : Module ℚ V := .restrictScalars ℚ ℂ V | |
| 618 | + | |
| 619 | +/-- There is one double coset `{1} \ G / G`. -/ | |
| 620 | +instance : Unique (DoubleCoset.Quotient ({1} : Set G) (Set.univ : Set G)) where | |
| 621 | + default := ⟦1⟧ | |
| 622 | + uniq q := q.out_eq.symm.trans ((eq (H := ⊥) (K := ⊤)).2 (by simp)).symm | |
| 623 | + | |
| 624 | +variable [IsTopologicalGroup G] [IsSmoothRep ρ] [CompactSpace H] | |
| 625 | + | |
| 626 | +/-- For a compact group `G` the pair `({1}, G)` has finite type. -/ | |
| 627 | +instance [CompactSpace G] : HasFiniteType (⊥ : Subgroup G) ⊤ where | |
| 628 | + finite_classes := by simp [Fintype.finite] | |
| 629 | + finite_aut g := by simp [Fintype.finite] | |
| 630 | + isOpen := isOpen_univ | |
| 631 | + isCompact := isCompact_univ | |
| 632 | + | |
| 633 | +/-- For `ρ` smooth and `H` compact, the function `(a, b) ↦ ρ (a⁻¹ b) x` on `H × H` lies in | |
| 634 | +`smoothInvariants ⊥`: its stabiliser under right translation is open. -/ | |
| 635 | +lemma orbit_mem_smoothInvariants (x : V) : | |
| 636 | + (fun p : H × H ↦ ρ (p.1⁻¹ * p.2) x) ∈ smoothInvariants ⊥ := by | |
| 637 | + -- Invariance under `⊥` is trivial. The stabiliser is a subgroup, so it is open as soon as it is | |
| 638 | + -- a neighbourhood of `1`. | |
| 639 | + refine ⟨by simp, isOpen_of_mem_nhds _ (g := 1) ?_⟩ | |
| 640 | + let f : H × H → G := fun p ↦ p.1⁻¹ * p.2 | |
| 641 | + -- For `(k, q)` near `(1, p)` the element `(f q)⁻¹ * f (q * k)` is near `1`, so it fixes `x`. | |
| 642 | + have h_local (p : H × H) : | |
| 643 | + ∀ᶠ z : (H × H) × H × H in 𝓝 (1, p), ρ (f (z.2 * z.1)) x = ρ (f z.2) x := by | |
| 644 | + have h_cont : Continuous fun z : (H × H) × H × H ↦ (f z.2)⁻¹ * f (z.2 * z.1) := by fun_prop | |
| 645 | + filter_upwards [h_cont.tendsto' (1, p) 1 (by simp) (IsSmoothRep.eventually_fixed (ρ := ρ) x)] | |
| 646 | + with z hz | |
| 647 | + rwa [← ρ.inv_apply_eq_iff, ← mul_apply_eq_comp, ← map_mul] | |
| 648 | + -- By compactness one neighbourhood of `1` serves for all `q`. | |
| 649 | + exact (isCompact_univ.eventually_forall_of_forall_eventually fun p _ ↦ h_local p).mono | |
| 650 | + fun k hk q ↦ hk q (Set.mem_univ q) | |
| 651 | + | |
| 652 | +/-- The mean of `ρ` over a compact subgroup `H`: the mean of `ρ (a⁻¹ b)` over `(a, b) ∈ H × H`. | |
| 653 | +Invariance of class integrals under right translation (`classIntegral_map_mul_right`) then gives | |
| 654 | +both sides: right translation in `a` multiplies `a⁻¹ b` on the left, and in `b` on the right. -/ | |
| 655 | +@[irreducible] def compactMean : Module.End ℂ V where | |
| 656 | + toFun x := classIntegral ⊥ ⊤ fun p : H × H ↦ ρ (p.1⁻¹ * p.2) x | |
| 657 | + map_add' x y := by | |
| 658 | + rw [← classIntegral_add (orbit_mem_smoothInvariants ρ H x) (orbit_mem_smoothInvariants ρ H y)] | |
| 659 | + simp only [map_add, Pi.add_def] | |
| 660 | + map_smul' c x := classIntegral_map_mul_right (DistribSMul.toAddMonoidHom V c) 1 | |
| 661 | + (orbit_mem_smoothInvariants ρ H x) (by simp) | |
| 662 | + | |
| 663 | +variable {ρ H} | |
| 664 | +/-- An additive map `L` applied to the mean of `x` over `H` is the mean of | |
| 665 | +`L (ρ (h⁻¹ a⁻¹ b k) x)` over `(a, b) ∈ H × H`, for any `h, k ∈ H`. -/ | |
| 666 | +lemma map_compactMean (L : V →+ W) (h k : H) {F : H × H → W} | |
| 667 | + (hF : ∀ p : H × H, F p = L (ρ ((p.1 * h)⁻¹ * (p.2 * k)) x)) : | |
| 668 | + L (compactMean ρ H x) = classIntegral ⊥ ⊤ F := by | |
| 669 | + unfold compactMean | |
| 670 | + exact (classIntegral_map_mul_right L (h, k) (orbit_mem_smoothInvariants ρ H x) hF).symm | |
| 671 | + | |
| 672 | +/-! ### Properties of the mean -/ | |
| 673 | + | |
| 674 | +/-- The mean over `H` of any vector is fixed by `H`. -/ | |
| 675 | +@[simp] lemma apply_compactMean {h : G} (hh : h ∈ H) (x : V) : | |
| 676 | + ρ h (compactMean ρ H x) = compactMean ρ H x := | |
| 677 | + calc _ = classIntegral ⊥ ⊤ fun p : H × H ↦ ρ (p.1⁻¹ * p.2) x := | |
| 678 | + map_compactMean (ρ h).toAddMonoidHom ⟨h, hh⟩ 1 (by simp) | |
| 679 | + _ = compactMean ρ H x := (map_compactMean (.id V) 1 1 (by simp)).symm | |
| 680 | + | |
| 681 | +/-- Vectors in one `H`-orbit have the same mean over `H`. -/ | |
| 682 | +@[simp] lemma compactMean_apply {h : G} (hh : h ∈ H) (x : V) : | |
| 683 | + compactMean ρ H (ρ h x) = compactMean ρ H x := | |
| 684 | + calc _ = classIntegral ⊥ ⊤ fun p : H × H ↦ ρ (p.1⁻¹ * p.2) (ρ h x) := | |
| 685 | + map_compactMean (.id V) 1 1 (by simp) | |
| 686 | + _ = compactMean ρ H x := (map_compactMean (.id V) 1 ⟨h, hh⟩ (by simp)).symm | |
| 687 | + | |
| 688 | +/-- A semilinear map `φ` that takes the value `c` on the whole `H`-orbit of `x` takes the value `c` | |
| 689 | +at the mean of `x` over `H`. -/ | |
| 690 | +lemma map_compactMean_of_const {σ : ℂ →+* ℂ} (φ : V →ₛₗ[σ] W) {c : W} | |
| 691 | + (h_const : ∀ k ∈ H, φ (ρ k x) = c) : φ (compactMean ρ H x) = c := | |
| 692 | + calc φ (compactMean ρ H x) = classIntegral ⊥ ⊤ fun _ : H × H ↦ c := | |
| 693 | + map_compactMean φ.toAddMonoidHom 1 1 fun p ↦ (h_const _ (by simp [mul_mem])).symm | |
| 694 | + _ = classSum ⊥ ⊤ fun _ : H × H ↦ c := classIntegral_eq_classSum fun k _ ↦ by simp | |
| 695 | + -- There is a single double coset, and its weight is `1`. | |
| 696 | + _ = c := by simp [classSum, finsum_unique] | |
| 697 | + | |
| 698 | +/-- If `φ` is `K`-invariant and `H ⊆ (g⁻¹ K g) · Stab x`, then `φ ∘ ρ g` takes the same value on `x` | |
| 699 | +and on its mean over `H`. -/ | |
| 700 | +lemma map_compactMean_of_factor {K : Subgroup G} {φ : V →ₗ[ℂ] W} {g : G} | |
| 701 | + (hφ : ∀ k ∈ K, ∀ z : V, φ (ρ k z) = φ z) | |
| 702 | + (h_factor : ∀ k ∈ H, ∃ u : G, g * u * g⁻¹ ∈ K ∧ ρ (u⁻¹ * k) x = x) : | |
| 703 | + φ (ρ g (compactMean ρ H x)) = φ (ρ g x) := by | |
| 704 | + refine map_compactMean_of_const (φ ∘ₗ ρ g) fun k hk ↦ ?_ | |
| 705 | + obtain ⟨u, hu, h_fix⟩ := h_factor k hk | |
| 706 | + -- `g * k = (g * u * g⁻¹) * g * (u⁻¹ * k)`; the first factor lies in `K`, the last fixes `x`. | |
| 707 | + calc φ (ρ g (ρ k x)) = φ (ρ (g * u * g⁻¹) (ρ g (ρ (u⁻¹ * k) x))) := by simp | |
| 708 | + _ = φ (ρ g x) := by rw [hφ _ hu, h_fix] | |
| 709 | + | |
| 710 | +/-- The mean over `H` lies in `levelSpace ρ H`, the space of `H`-fixed vectors. -/ | |
| 711 | +lemma compactMean_mem_levelSpace (x : V) : compactMean ρ H x ∈ levelSpace ρ H := by simp | |
| 712 | + | |
| 713 | +@[simp] lemma compactMean_eq_self (x : V) (hx : x ∈ levelSpace ρ H 1) : compactMean ρ H x = x := | |
| 714 | + map_compactMean_of_const .id fun k hk ↦ by simpa using hx ⟨k, hk⟩ | |
| 715 | + | |
| 716 | +/-- For `ρ` smooth with invariant scalar product `B`, the mean of `ρ` over a compact subgroup `H` | |
| 717 | +is self-adjoint for `B`. -/ | |
| 718 | +lemma IsUnitary.compactMean_adjoint {B : V →ₗ⋆[ℂ] V →ₗ[ℂ] ℂ} (hB : IsUnitary ρ B) (x y : V) : | |
| 719 | + B (compactMean ρ H x) y = B x (compactMean ρ H y) := by | |
| 720 | + -- Both sides equal `B` of the two means: in each variable, `B` against an `H`-fixed vector is | |
| 721 | + -- constant on `H`-orbits. | |
| 722 | + have h_right : ∀ h ∈ H, B (compactMean ρ H x) (ρ h y) = B (compactMean ρ H x) y := fun h hh ↦ by | |
| 723 | + rw [← hB.map_map_eq h _ y, apply_compactMean hh] | |
| 724 | + have h_left : ∀ h ∈ H, B (ρ h x) (compactMean ρ H y) = B x (compactMean ρ H y) := fun h hh ↦ by | |
| 725 | + rw [← hB.map_map_eq h x, apply_compactMean hh] | |
| 726 | + calc B (compactMean ρ H x) y = B (compactMean ρ H x) (compactMean ρ H y) := | |
| 727 | + (map_compactMean_of_const (B (compactMean ρ H x)) h_right).symm | |
| 728 | + _ = B x (compactMean ρ H y) := map_compactMean_of_const (B.flip (compactMean ρ H y)) h_left | |
| 729 | + | |
| 730 | +end New | |
| 731 | + | |
| 732 | +end CompactMean | |
| 733 | + | |
| 734 | +/-! | |
| 735 | +## Sums over coset representatives | |
| 736 | + | |
| 737 | +`New.sum_mul_out`: for `H` of finite index in `G` and `f` right `H`-invariant, the sum of `f` over | |
| 738 | +the chosen representatives `q.out` of the cosets `q` equals the sum of `f (a * q.out)`. | |
| 739 | +-/ | |
| 740 | + | |
| 741 | +/-- A sum over coset representatives of `G ⧸ H` of a right `H`-invariant function does not | |
| 742 | +change under left translation. -/ | |
| 743 | +lemma New.sum_mul_out {G B : Type*} [Group G] [AddCommMonoid B] (H : Subgroup G) [Fintype (G ⧸ H)] | |
| 744 | + (f : G → B) (hf : ∀ x : G, ∀ y ∈ H, f (x * y) = f x) (a : G) : | |
| 745 | + ∑ q : G ⧸ H, f (a * q.out) = ∑ q : G ⧸ H, f q.out := by | |
| 746 | + -- `q ↦ a • q` permutes the cosets, and `(a • q).out = a * q.out * y` for some `y ∈ H`. | |
| 747 | + refine Fintype.sum_equiv (MulAction.toPerm a) _ _ fun q ↦ ?_ | |
| 748 | + obtain ⟨y, hy⟩ := QuotientGroup.mk_out_eq_mul H (a * q.out) | |
| 749 | + rw [MulAction.toPerm_apply, ← MulAction.Quotient.mk_smul_out, smul_eq_mul, hy, hf _ _ y.prop] | |
| 750 | + | |
| 751 | +/-! | |
| 752 | +## Commutation, integrality and a bound for class sums | |
| 753 | + | |
| 754 | +Under `New.HasFiniteType`, the class sum commutes with a second class sum and with multiplication by | |
| 755 | +a constant. | |
| 756 | +-/ | |
| 757 | + | |
| 758 | +namespace New | |
| 759 | + | |
| 760 | +open HasFiniteType Finset Nat | |
| 761 | + | |
| 762 | +variable {G G' W W' : Type*} [Group G] [Group G'] {Γ K : Subgroup G} {Γ' K' : Subgroup G'} | |
| 763 | + [AddCommGroup W] [Module ℚ W] [TopologicalSpace G] [TopologicalSpace G'] [HasFiniteType Γ K] | |
| 764 | + [HasFiniteType Γ' K'] {A : Type*} [Ring A] [Algebra ℚ A] | |
| 765 | + | |
| 766 | +/-- Class sums over `Γ \ G / K` and over `Γ' \ G' / K'` commute. -/ | |
| 767 | +lemma classSum_comm (f : G → G' → W) : | |
| 768 | + classSum Γ K (fun g : G ↦ classSum Γ' K' (f g)) = | |
| 769 | + classSum Γ' K' fun g' : G' ↦ classSum Γ K fun g : G ↦ f g g' := by | |
| 770 | + simpa only [classSum, finsum_eq_sum_of_fintype, smul_sum, smul_smul, mul_comm] using sum_comm | |
| 771 | + | |
| 772 | +lemma mul_classSum (a : A) (f : G → A) : | |
| 773 | + a * classSum Γ K f = classSum Γ K fun g : G ↦ a * f g := by | |
| 774 | + simp only [classSum, finsum_eq_sum_of_fintype, mul_sum, mul_smul_comm] | |
| 775 | + | |
| 776 | +@[simp] lemma classSum_mul (a : A) (f : G → A) : | |
| 777 | + classSum Γ K f * a = classSum Γ K fun g : G ↦ f g * a := by | |
| 778 | + simp only [classSum, finsum_eq_sum_of_fintype, sum_mul, smul_mul_assoc] | |
| 779 | + | |
| 780 | +/-- Integrality of class sums: if the order of every stabiliser `Γ ∩ g K g⁻¹` divides `M` and `f` | |
| 781 | +takes values in the additive submonoid `p`, then `M` times the class sum of `f` lies in `p`. -/ | |
| 782 | +lemma smul_classSum_mem {S : Type*} [SetLike S W] [AddSubmonoidClass S W] (p : S) {M : ℕ} | |
| 783 | + (hM : ∀ g : G, Nat.card (classAut Γ K g) ∣ M) {f : G → W} (hf : ∀ g : G, f g ∈ p) : | |
| 784 | + M • classSum Γ K f ∈ p := by | |
| 785 | + simp only [classSum, finsum_eq_sum_of_fintype, smul_sum] | |
| 786 | + refine sum_mem fun c _ ↦ ?_ | |
| 787 | + -- The weight `M / #classAut` of each class is a natural number. | |
| 788 | + rw [← cast_smul_eq_nsmul ℚ, smul_smul, ← div_eq_mul_inv, ← cast_div_charZero (hM _)] | |
| 789 | + simpa only [cast_smul_eq_nsmul] using nsmul_mem (hf _) _ | |
| 790 | + | |
| 791 | +/-- If the real function `f` is bounded above by `C ≥ 0`, its class sum is at most the number of | |
| 792 | +double cosets `Γ \ G / K` times `C`, since every weight `1 / #(Γ ∩ g K g⁻¹)` is at most `1`. -/ | |
| 793 | +lemma classSum_le_card_mul {f : G → ℝ} {C : ℝ} (hC : 0 ≤ C) (hf : ∀ g : G, f g ≤ C) : | |
| 794 | + classSum Γ K f ≤ Nat.card (DoubleCosets Γ K) * C := | |
| 795 | + calc classSum Γ K f = ∑ c : DoubleCosets Γ K, (Nat.card (classAut Γ K c.out) : ℚ)⁻¹ • f c.out := | |
| 796 | + finsum_eq_sum_of_fintype _ | |
| 797 | + _ ≤ ∑ _c : DoubleCosets Γ K, (1 : ℚ) • C := by grw [hf, Nat.cast_inv_le_one] | |
| 798 | + _ = _ := by simp | |
| 799 | + | |
| 800 | +/-- If `√(f g) ≤ M` for every `g`, the class sum of the real function `f` is at most the number of | |
| 801 | +double cosets `Γ \ G / K` times `M ^ 2`. -/ | |
| 802 | +lemma classSum_le_card_mul_sq {f : G → ℝ} {M : ℝ} (h_sqrt : ∀ g : G, √(f g) ≤ M) : | |
| 803 | + classSum Γ K f ≤ Nat.card (DoubleCosets Γ K) * M ^ 2 := | |
| 804 | + classSum_le_card_mul (sq_nonneg M) fun g ↦ (Real.sqrt_le_iff.1 (h_sqrt g)).2 | |
| 805 | + | |
| 806 | +end New | |
| 807 | + | |
| 808 | +end | |
+641 −0 src/Lib/Adelic/Landherr.lean added View file
| @@ -0,0 +1,641 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import Mathlib.Algebra.QuadraticAlgebra.Basic | |
| 4 | +import Mathlib.Algebra.QuadraticAlgebra.NormDeterminant | |
| 5 | +import Mathlib.Analysis.Complex.HalfPlane | |
| 6 | +import Mathlib.RingTheory.PicardGroup | |
| 7 | +public import Lib.Adelic.Unitary.ComponentsAndBlockSums | |
| 8 | +public import Lib.ClassField.Places.Ideles | |
| 9 | +public import Lib.GaloisRep.BaseChange.Defs | |
| 10 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 11 | +import Lib.Adelic.Unitary.GramMatrix | |
| 12 | +import Lib.Adelic.Witt.WittTheorem | |
| 13 | +import Lib.ClassField.Global.AlbertBrauerHasseNoether | |
| 14 | +import Lib.ClassField.Global.CMSplittingCharacters | |
| 15 | +import Lib.ClassField.Global.NormTheorems | |
| 16 | +import Lib.GaloisRep.Hilbert90.TameActions | |
| 17 | +import Lib.GaloisRep.Hilbert90.UnitaryGroups | |
| 18 | +import Lib.General.LinearAlgebra.MatrixPolynomials | |
| 19 | + | |
| 20 | +/-! | |
| 21 | +# Sums of two squares, Landherr's theorem and the Hasse principle for unitary cocycles | |
| 22 | + | |
| 23 | +Let `E` be a CM field with `New.HasPrimitiveRoot5040 E`, and let `F` be its maximal real subfield. | |
| 24 | +The file starts with a result on sums of two squares in quadratic algebras over `F`. It then proves | |
| 25 | +Landherr's theorem: a hermitian space that has an orthonormal frame at the finite places is | |
| 26 | +determined up to rational isometry by its signs at the infinite places. Finally it proves the Hasse | |
| 27 | +principle for cocycles of a cyclic Galois group of prime order in the definite unitary group, which | |
| 28 | +is used for base change. There `E' / E` is a Galois extension of CM fields of prime degree, and | |
| 29 | +`σ ≠ 1` generates its group. | |
| 30 | + | |
| 31 | +## Main definitions and results | |
| 32 | + | |
| 33 | +* `New.exists_sq_add_sq_quadraticAlgebra`: for `E` with a CM type, a totally positive `p` in `F` is | |
| 34 | + a sum of two squares in `F[X] / (X² - (q p - B²))` for every `B` in `F`. This holds when `p` has | |
| 35 | + valuation `1` outside a set `S` of finite places of `E`, and `q` has valuation `1` at the places | |
| 36 | + of `S` and at their complex conjugates. | |
| 37 | +* `New.Core.exists_form_eq_one`: a hermitian matrix representing `1` over the adeles does so over | |
| 38 | + `E`. | |
| 39 | +* `New.Core.exists_rat_frame_of_adelic`: the same for a diagonal matrix of signs, by induction on | |
| 40 | + the columns. | |
| 41 | +* `New.Space.landherr`, `New.Space.exists_x_eq_and_ratEmbed_conj_eq`: two spaces with the same signs | |
| 42 | + differ by a rational change of basis and by moving the point. | |
| 43 | +* `New.U.hasse_principle_coboundary`: a cocycle that splits over the finite adeles splits | |
| 44 | + rationally; the proof combines Hilbert 90 for `GL n` with Landherr's theorem `New.Space.landherr`. | |
| 45 | + | |
| 46 | +Notions from other files: | |
| 47 | +* `New.CMType`: makes the field `E` a CM number field with a chosen complex embedding `Φ w` of `E` | |
| 48 | + for each infinite place `w`. | |
| 49 | +* `New.𝔸`: the product of one copy of `ℂ` for each infinite place of `E` and the finite adeles | |
| 50 | + `𝔸f E`; this is the adele ring of `E` when `E` is totally complex. | |
| 51 | +* `New.Space`: a hermitian space with a point. It is a matrix `J` over `E` and `x : GL n (𝔸 E)` | |
| 52 | + with `xᴴ J x` equal to `New.stdForm E s`, which is `diag(s)` at the infinite places and `1` at | |
| 53 | + the finite places. | |
| 54 | + | |
| 55 | +## Relation to the literature | |
| 56 | + | |
| 57 | +Known result: Landherr's Hasse principle for hermitian forms. The Hasse principle is proved only | |
| 58 | +for adelically unimodular spaces of equal signature over a CM field containing the roots of unity of | |
| 59 | +order 5040. It uses Hasse's norm theorem and strong approximation for the adeles instead of | |
| 60 | +Hasse-Minkowski. Source: W. | |
| 61 | +Landherr, Äquivalenz Hermitescher Formen über einem beliebigen algebraischen Zahlkörper, Abh. Math. | |
| 62 | +Sem. Hamburg 11 (1936) 245-248; M. Kneser, Lectures on Galois cohomology of classical groups, TIFR | |
| 63 | +47 (1969), §5.5. | |
| 64 | +-/ | |
| 65 | + | |
| 66 | +@[expose] public section | |
| 67 | + | |
| 68 | +/-! | |
| 69 | +## A totally positive number as a sum of two squares | |
| 70 | + | |
| 71 | +Here `QuadraticAlgebra F μ 0` is `F[X] / (X² - μ)`. | |
| 72 | +-/ | |
| 73 | + | |
| 74 | +section SumOfTwoSquares | |
| 75 | + | |
| 76 | +open Algebra QuadraticAlgebra Set NumberField | |
| 77 | + | |
| 78 | +/-- Hasse principle for sums of two squares: a totally positive element `x` of a number field `M` | |
| 79 | +that is a limit of sums of two squares in the completion at each finite place is a sum of two | |
| 80 | +squares. Sums of two squares are written as norms from `M[X] / (X² + 1)`. -/ | |
| 81 | +lemma New.exists_norm_eq_of_forall_mem_closure {M : Type} [Field M] [NumberField M] {x : M} | |
| 82 | + (hx_pos : IsTotallyPositive x) | |
| 83 | + (h_local : ∀ w : FinPlace M, algebraMap M (LocField w) x ∈ | |
| 84 | + closure (range fun z : QuadraticAlgebra M (-1) 0 ↦ algebraMap M (LocField w) z.norm)) : | |
| 85 | + ∃ z : QuadraticAlgebra M (-1) 0, z.norm = x := by | |
| 86 | + -- If `-1` is a square in `M`, every element is a sum of two squares. | |
| 87 | + obtain ⟨r, hr⟩ | h_square := Classical.em (∃ r : M, r ^ 2 = -1 + 0 * r) | |
| 88 | + · refine ⟨⟨x + 4⁻¹, (x - 4⁻¹) * r⟩, ?_⟩ | |
| 89 | + rw [norm_def] | |
| 90 | + linear_combination (x - 4⁻¹) ^ 2 * hr | |
| 91 | + obtain rfl | hx_ne := eq_or_ne x 0 | |
| 92 | + · exact ⟨0, by simp⟩ | |
| 93 | + -- Otherwise `M(√-1)` is a quadratic extension of `M`, and Hasse's norm theorem applies. | |
| 94 | + have : Fact (∀ r : M, r ^ 2 ≠ -1 + 0 * r) := ⟨not_exists.1 h_square⟩ | |
| 95 | + have : NumberField (QuadraticAlgebra M (-1) 0) := .of_module_finite M _ | |
| 96 | + have : IsQuadraticExtension M (QuadraticAlgebra M (-1) 0) := .mk (finrank_eq_two (-1 : M) 0) | |
| 97 | + have norm_eq (z : QuadraticAlgebra M (-1) 0) : norm M z = z.norm := det_toLinearMap_eq_norm z | |
| 98 | + obtain ⟨z, hz⟩ : ∃ z : (QuadraticAlgebra M (-1) 0)ˣ, z.map (norm M) = .mk0 x hx_ne := | |
| 99 | + hasse_norm _ (by simpa [norm_eq] using h_local) hx_pos | |
| 100 | + exact ⟨z, (norm_eq z).symm.trans (congrArg Units.val hz)⟩ | |
| 101 | + | |
| 102 | +/-- Let `E` be a CM field with a primitive root of unity of order `5040` and maximal real subfield | |
| 103 | +`F`. The norm to `F` of an element of `E` is a sum of two squares in `F`. -/ | |
| 104 | +lemma New.exists_norm_eq_sq_add_sq {E : Type} [Field E] [NumberField E] [IsCMField E] | |
| 105 | + [HasPrimitiveRoot5040 E] (x : E) : | |
| 106 | + ∃ a b : maximalRealSubfield E, norm (maximalRealSubfield E) x = a ^ 2 + b ^ 2 := by | |
| 107 | + -- As `E = F(I)` with `I² = -1`, the norm of `x = a + b I` is `a² + b²`, with `a = T x` and | |
| 108 | + -- `-b = T (x * I)`. | |
| 109 | + obtain ⟨I, hI, hI_star⟩ := HasPrimitiveRoot5040.exists_mul_self_eq_neg_one (E := E) | |
| 110 | + have hI_sq : (I : E) * I = -1 := by simpa using congrArg (algebraMap (𝓞 E) E) hI | |
| 111 | + have hI_conj : star (I : E) = -I := by simpa using congrArg (algebraMap (𝓞 E) E) hI_star | |
| 112 | + let T (y : E) : maximalRealSubfield E := trace (maximalRealSubfield E) E (y / 2) | |
| 113 | + have hT (y : E) : (T y : E) = (y + star y) / 2 := by | |
| 114 | + simp [T, trace_maximalRealSubfield_eq_add_star, add_div] | |
| 115 | + refine ⟨T x, T (x * I), Subtype.ext ?_⟩ | |
| 116 | + push_cast | |
| 117 | + rw [norm_maximalRealSubfield_eq_mul_star, hT, hT, star_mul', hI_conj] | |
| 118 | + linear_combination (-(x - star x) ^ 2 / 4) * hI_sq | |
| 119 | + | |
| 120 | +/-- Let `E` be a CM field with a primitive root of unity of order `5040` and maximal real subfield | |
| 121 | +`F`, and let `u` be a finite place of `E` above the place `v` of `F`. Let `a` be a finite adele of | |
| 122 | +`E` that is fixed by conjugation and is a unit at every place. If the component of `a` at `u` is an | |
| 123 | +element `s` of `F`, then `s` is a limit of norms from `E` in the completion of `F` at `v`. -/ | |
| 124 | +lemma New.mem_closure_range_norm_of_apply_eq {E : Type} [Field E] [NumberField E] [IsCMField E] | |
| 125 | + [HasPrimitiveRoot5040 E] {a : 𝔸f E} (ha_real : star a = a) | |
| 126 | + (ha_unit : ∀ w : FinPlace E, Valued.v (a w) = 1) {u : FinPlace E} | |
| 127 | + {v : FinPlace (maximalRealSubfield E)} | |
| 128 | + (hu : u.comap (algebraMap (maximalRealSubfield E) E) = v) {s : maximalRealSubfield E} | |
| 129 | + (ha_u : a u = algebraMap E (u.adicCompletion E) (algebraMap (maximalRealSubfield E) E s)) : | |
| 130 | + algebraMap (maximalRealSubfield E) (LocField v) s ∈ closure (range fun x : E ↦ | |
| 131 | + algebraMap (maximalRealSubfield E) (LocField v) (norm (maximalRealSubfield E) x)) := by | |
| 132 | + -- The adele `a` is a norm `ȳ y`, so `s` is the component at `v` of the norm of `ȳ` to `F`. | |
| 133 | + obtain ⟨y, hy⟩ := exists_unit_star_mul_self_eq ha_real ha_unit | |
| 134 | + have norm_y : adeleNorm (maximalRealSubfield E) E (star y) v = | |
| 135 | + algebraMap (maximalRealSubfield E) (LocField v) s := by | |
| 136 | + apply (locMap _ hu).injective | |
| 137 | + simp [hy, ha_u, ← adeleMap_apply, Cohomology.finAdeleIncl_adeleNorm_eq_mul_star] | |
| 138 | + rw [← norm_y] | |
| 139 | + exact adeleNorm_mem_closure | |
| 140 | + | |
| 141 | +/-- Let `E` be a CM field with a CM type and a primitive root of unity of order `5040`, and let `p`, | |
| 142 | +`q`, `B` lie in its maximal real subfield `F`. Suppose that `p` is totally positive and has | |
| 143 | +valuation `1` at every finite place of `E` outside `S`. Suppose also that `q` has valuation `1` at | |
| 144 | +every place of `S` and at its complex conjugate. Then `p` is a sum of two squares in | |
| 145 | +`F[X] / (X² - (q p - B²))`: it is the norm of an element of the extension of this algebra by a | |
| 146 | +square root of `-1`. -/ | |
| 147 | +lemma New.exists_sq_add_sq_quadraticAlgebra {E : Type} [Field E] [CMType E] [HasPrimitiveRoot5040 E] | |
| 148 | + (p q B : maximalRealSubfield E) {S : Set (FinPlace E)} (hp_pos : IsTotallyPositive p) | |
| 149 | + (hp_unit : ∀ w ∉ S, w.valuation E p = 1) (hq_unit : ∀ w ∈ S.conjClosure, w.valuation E q = 1) : | |
| 150 | + ∃ z : QuadraticAlgebra (QuadraticAlgebra (maximalRealSubfield E) (q * p - B ^ 2) 0) (-1) 0, | |
| 151 | + z.norm = ⟨p, 0⟩ := by | |
| 152 | + classical | |
| 153 | + -- In a number field `M` over `E⁺` with a square root of `μ = q p - B²`, the element `p` is | |
| 154 | + -- everywhere locally a sum of two squares, hence globally by Hasse's norm theorem. | |
| 155 | + set μ : maximalRealSubfield E := q * p - B ^ 2 | |
| 156 | + suffices key : ∀ {M : Type} [Field M] [NumberField M] (i : maximalRealSubfield E →+* M) (m : M), | |
| 157 | + m * m = i μ → ∃ z : QuadraticAlgebra M (-1) 0, z.norm = i p by | |
| 158 | + -- Apply this to `E⁺` if `μ` is a square there, and to the field `E⁺(√μ)` if not. | |
| 159 | + obtain ⟨r, hr⟩ | h_square := Classical.em (∃ r : maximalRealSubfield E, r ^ 2 = μ + 0 * r) | |
| 160 | + · obtain ⟨z, hz⟩ := key (.id _) r (by simpa [sq] using hr) | |
| 161 | + exact ⟨⟨.C z.re, .C z.im⟩, by ext <;> simp_all [norm_def]⟩ | |
| 162 | + · have : Fact (∀ r : maximalRealSubfield E, r ^ 2 ≠ μ + 0 * r) := ⟨not_exists.1 h_square⟩ | |
| 163 | + have : NumberField (QuadraticAlgebra _ μ 0) := .of_module_finite (maximalRealSubfield E) _ | |
| 164 | + exact key (algebraMap _ (QuadraticAlgebra _ μ 0)) ω omega_mul_omega_eq_mk | |
| 165 | + intro M _ _ i m hm | |
| 166 | + refine exists_norm_eq_of_forall_mem_closure (fun σ ↦ hp_pos (σ.comp i)) fun w ↦ ?_ | |
| 167 | + -- Let `u` be a place of `E` above the place of `E⁺` below `w`. | |
| 168 | + obtain ⟨u, hu⟩ := FinPlace.comap_surjective (algebraMap (maximalRealSubfield E) E) (w.comap i) | |
| 169 | + -- The adele `a` that is `q⁻¹` on `S.conjClosure` and `p` elsewhere is a real unit, and its | |
| 170 | + -- component at `u` is `s`. | |
| 171 | + let a : 𝔸f E := algebraMap E (𝔸f E) (q⁻¹ - p) * idem S.conjClosure + algebraMap E (𝔸f E) p | |
| 172 | + have ha_real : star a = a := by simp [a, mem_maximalRealSubfield_iff_star_eq.1] | |
| 173 | + have ha_unit (v : FinPlace E) : Valued.v (a v) = 1 := by | |
| 174 | + by_cases hv : v ∈ S.conjClosure | |
| 175 | + · simp [a, hv, hq_unit v hv] | |
| 176 | + · simp [a, hv, hp_unit v (hv ∘ .inl)] | |
| 177 | + let s : maximalRealSubfield E := if u ∈ S.conjClosure then q⁻¹ else p | |
| 178 | + have ha_u : a u = algebraMap E (u.adicCompletion E) (algebraMap (maximalRealSubfield E) E s) := by | |
| 179 | + change a u = algebraMap E (𝔸f E) s u | |
| 180 | + by_cases h : u ∈ S.conjClosure <;> simp [a, s, h] | |
| 181 | + -- On `S.conjClosure`, `p = (B² + m²) q⁻¹` because `q p = B² + μ`; elsewhere `p = 1 * p`. | |
| 182 | + obtain ⟨z, hz⟩ : ∃ z : QuadraticAlgebra M (-1) 0, z.norm * i s = i p := by | |
| 183 | + by_cases h : u ∈ S.conjClosure | |
| 184 | + · have hq_ne : i q ≠ 0 := (map_ne_zero i).2 fun hq ↦ by simpa [hq] using hq_unit u h | |
| 185 | + exact ⟨⟨i B, m⟩, by simp [s, h, norm_def, hm, μ, field]⟩ | |
| 186 | + · exact ⟨1, by simp [s, h]⟩ | |
| 187 | + -- So `s` is a limit of norms from `E` at the place below `w`. Pass to the completion of `M` at | |
| 188 | + -- `w` and multiply by `z.norm`: this continuous map sends `s` to `p`, and norms from `E`, which | |
| 189 | + -- are sums of two squares, to sums of two squares. | |
| 190 | + let f (t : LocField (w.comap i)) : LocField w := | |
| 191 | + algebraMap M (LocField w) z.norm * locMap i rfl t | |
| 192 | + have hf_apply (t : maximalRealSubfield E) : | |
| 193 | + f (algebraMap _ _ t) = algebraMap M (LocField w) (z.norm * i t) := by simp [f] | |
| 194 | + rw [← hz, ← hf_apply] | |
| 195 | + refine map_mem_closure ((continuous_locMap i rfl).const_mul _) | |
| 196 | + (mem_closure_range_norm_of_apply_eq ha_real ha_unit hu ha_u) ?_ | |
| 197 | + rintro _ ⟨x, rfl⟩ | |
| 198 | + obtain ⟨b, c, hbc⟩ := exists_norm_eq_sq_add_sq x | |
| 199 | + have h_norm : (z * ⟨i b, i c⟩).norm = z.norm * i (norm (maximalRealSubfield E) x) := by | |
| 200 | + rw [map_mul, hbc] | |
| 201 | + simp [norm_def, sq] | |
| 202 | + exact ⟨z * ⟨i b, i c⟩, by simp only [h_norm, hf_apply]⟩ | |
| 203 | + | |
| 204 | +end SumOfTwoSquares | |
| 205 | + | |
| 206 | +/-! | |
| 207 | +## Landherr's theorem | |
| 208 | + | |
| 209 | +Vectors are one-column matrices `Matrix n Unit _`. | |
| 210 | +-/ | |
| 211 | + | |
| 212 | +namespace New | |
| 213 | + | |
| 214 | +open NumberField Matrix Cohomology Complex Set Function | |
| 215 | + | |
| 216 | +-- `s` gives the signs of a space at the infinite places. | |
| 217 | +variable {E : Type} {n : Type*} {s : n → ℤˣ} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 218 | + | |
| 219 | +/-- Let `E` be a CM field and `x` a finite adele of `E`. Then there are finite adeles `a` and | |
| 220 | +`b = 1 + x a` of the same norm: `ā a = b̄ b`. -/ | |
| 221 | +private lemma exists_finAdele_norm_eq_norm_one_add_mul (x : 𝔸f E) : | |
| 222 | + ∃ a b : 𝔸f E, 1 + x * a = b ∧ star a * a = star b * b := by | |
| 223 | + -- Patch `x (1 - x)` and `1 + x` along an idempotent `e` to an adele `d` dividing both. | |
| 224 | + obtain ⟨e, d, p, q, he, hd, hp, hq⟩ : ∃ e d p q : 𝔸f E, e * e = e ∧ | |
| 225 | + d = x * (1 - x) - e * (x * (1 - x) - (1 + x)) ∧ x * (1 - x) = d * p ∧ 1 + x = d * q := by | |
| 226 | + obtain ⟨e, he, ⟨p, -, hp⟩, -, q, -, hq⟩ := by | |
| 227 | + simpa [-IsIdempotentElem.mul_one_sub_self] using isValuationPair_Ô (x * (1 - x)) (1 + x) | |
| 228 | + exact ⟨e, _, p, q, he, rfl, hp, hq⟩ | |
| 229 | + -- As `(2 - x) (1 + x) - x (1 - x) = 2` is a unit, so is `d`, with inverse `z`. | |
| 230 | + obtain ⟨t, ht⟩ : ∃ t : 𝔸f E, t * 2 = 1 := | |
| 231 | + mod_cast (isUnit_natCast_finAdele (E := E) two_ne_zero).exists_left_inv | |
| 232 | + set z : 𝔸f E := t * ((2 - x) * q - p) | |
| 233 | + have hz : z * d = 1 := by linear_combination ht - t * (2 - x) * hq + t * hp | |
| 234 | + refine ⟨z * (x * (1 - e) - star e), z * (x * (1 - star e) + e), ?_, ?_⟩ | |
| 235 | + · -- The second bracket minus `x` times the first is `d`. | |
| 236 | + linear_combination (-1 : 𝔸f E) * hz + z * hd | |
| 237 | + · -- Both brackets have norm `x x̄ (1 - e) (1 - ē) + e ē`, because `e` and `ē` are idempotent. | |
| 238 | + have he_star : star e * star e = star e := by rw [← star_mul, he] | |
| 239 | + simp only [star_mul', star_sub, star_add, star_one, star_star] | |
| 240 | + linear_combination star z * z * (x + star x) * (he_star + he) | |
| 241 | + | |
| 242 | +/-- Let `E` be a CM field and `σ` an adele of `E`, written as a `1 × 1` matrix. Then there are | |
| 243 | +adeles `a` and `b = 1 + σ a` of the same norm: `ā a = b̄ b`. -/ | |
| 244 | +lemma Core.exists_norm_eq_norm_one_add_mul (σ : Matrix Unit Unit (𝔸 E)) : | |
| 245 | + ∃ a b : Matrix Unit Unit (𝔸 E), 1 + σ * a = b ∧ aᴴ * a = bᴴ * b := by | |
| 246 | + -- At a complex place take `a = b = (1 - x)⁻¹`, or `a = -1/2`, `b = 1/2` if `x = 1`. | |
| 247 | + have h_inf (x : ℂ) : ∃ a b : ℂ, 1 + x * a = b ∧ star a * a = star b * b := by | |
| 248 | + by_cases hx : x = 1 | |
| 249 | + · exact ⟨-2⁻¹, 2⁻¹, by norm_num [hx], by simp⟩ | |
| 250 | + · exact ⟨(1 - x)⁻¹, (1 - x)⁻¹, by field [sub_ne_zero.2 (Ne.symm hx)], rfl⟩ | |
| 251 | + have h_fin (x : 𝔸f E) : ∃ a b : 𝔸f E, 1 + x * a = b ∧ star a * a = star b * b := | |
| 252 | + exists_finAdele_norm_eq_norm_one_add_mul x | |
| 253 | + choose a b hab using h_inf | |
| 254 | + obtain ⟨a', b', h_shear, h_norm⟩ := h_fin (σ () ()).2 | |
| 255 | + refine ⟨of fun _ _ ↦ (fun w ↦ a ((σ () ()).1 w), a'), | |
| 256 | + of fun _ _ ↦ (fun w ↦ b ((σ () ()).1 w), b'), ?_, ?_⟩ | |
| 257 | + · simp [← ext_iff, Matrix.mul_apply, Prod.ext_iff, hab, h_shear, funext_iff] | |
| 258 | + · simpa [← ext_iff, Matrix.mul_apply, Prod.ext_iff, h_norm, funext_iff] using fun w ↦ (hab _).2 | |
| 259 | + | |
| 260 | +/-- Let `K` be a matrix over `E` that represents `1` over the adeles, into which `toAdele` embeds | |
| 261 | +`E`, and let `S` be finite. Then the value of `K` at some rational vector has positive real part | |
| 262 | +under each embedding `Φ w` of the CM type and is a unit at `S.conjClosure`, the places of `S` and | |
| 263 | +their conjugates. -/ | |
| 264 | +lemma Core.exists_form_pos_and_unit {K : Matrix n n E} (z : Matrix n Unit (𝔸 E)) | |
| 265 | + (hz : zᴴ * K.map toAdele * z = 1) {S : Set (FinPlace E)} (hS : S.Finite) : | |
| 266 | + ∃ u : Matrix n Unit E, | |
| 267 | + (∀ w : InfinitePlace E, 0 < (Φ w ((uᴴ * (K * u)) () ())).re) ∧ | |
| 268 | + ∀ w ∈ S.conjClosure, w.valuation E ((uᴴ * (K * u)) () ()) = 1 := by | |
| 269 | + -- Both conditions define an open set `U` of adeles that contains `1`. | |
| 270 | + let U : Set (𝔸 E) := (univ.pi fun _ : InfinitePlace E ↦ {c : ℂ | 0 < c.re}) ×ˢ | |
| 271 | + ⋂ w ∈ S.conjClosure, evalAt w ⁻¹' {x : LocField w | Valued.v.restrict x = 1} | |
| 272 | + have hU_open : IsOpen U := | |
| 273 | + (isOpen_set_pi finite_univ fun _ _ ↦ isOpen_re_gt 0).prod <| | |
| 274 | + hS.conjClosure.isOpen_biInter fun w _ ↦ | |
| 275 | + (Valued.isOpen_sphere _ one_ne_zero).preimage (continuous_evalAt w) | |
| 276 | + -- Strong approximation: approximate `z` by a rational `u` plus a term supported off `S` and | |
| 277 | + -- its conjugate. | |
| 278 | + obtain ⟨⟨u, y⟩, h_mem⟩ := | |
| 279 | + (Exchange.denseRange_rat_matrix_add hS.conjClosure.infinite_compl.nonempty 1).exists_mem_open | |
| 280 | + (hU_open.preimage (f := fun x : Matrix n Unit (𝔸 E) ↦ (xᴴ * K.map toAdele * x) () ()) | |
| 281 | + (by fun_prop)) ⟨z, by simp [U, hz]⟩ | |
| 282 | + refine ⟨u, fun w ↦ ?_, fun w hw ↦ ?_⟩ | |
| 283 | + · -- At the infinite places the second term is `0`. | |
| 284 | + simpa [U, ← Matrix.map_mul, Matrix.mul_assoc, Matrix.mul_add, Matrix.add_mul] using | |
| 285 | + h_mem.1 w (mem_univ w) | |
| 286 | + · -- It is `0` at `w` and at its conjugate as well. | |
| 287 | + have hw_conj : star w ∈ S.conjClosure := by simpa [conjClosure, or_comm] using hw | |
| 288 | + simpa [U, hw, hw_conj, idem_apply, -compl_sup, -mem_union, ← Matrix.map_mul, | |
| 289 | + Matrix.mul_assoc, Matrix.mul_add, Matrix.add_mul] using mem_iInter₂.1 h_mem.2 w hw | |
| 290 | + | |
| 291 | +/-- Hasse principle for representing `1`: let `E` satisfy `New.HasPrimitiveRoot5040` and let `K` be | |
| 292 | +a hermitian matrix over `E`, possibly degenerate. If `zᴴ K z = 1` for an adelic vector `z`, then | |
| 293 | +`wᴴ K w = 1` for a vector `w` over `E`. -/ | |
| 294 | +lemma Core.exists_form_eq_one [HasPrimitiveRoot5040 E] | |
| 295 | + (K : Matrix n n E) (hK : Kᴴ = K) (z : Matrix n Unit (𝔸 E)) | |
| 296 | + (hz : zᴴ * K.map toAdele * z = 1) : ∃ w : Matrix n Unit E, wᴴ * K * w = 1 := by | |
| 297 | + let N (u : Matrix n Unit E) : maximalRealSubfield E := | |
| 298 | + ⟨(uᴴ * (K * u)) () (), mem_maximalRealSubfield_iff_star_eq.2 | |
| 299 | + (IsHermitian.star_dotProduct_mulVec_comm hK _ _)⟩ | |
| 300 | + -- First `u` with `N u` positive at infinity, then `v` with `N v` a unit at the finitely many | |
| 301 | + -- places where `N u` is not, and at their conjugates. | |
| 302 | + obtain ⟨u, hu_pos, -⟩ := exists_form_pos_and_unit z hz finite_empty | |
| 303 | + have hu : (N u : E) ≠ 0 := fun h_zero ↦ by | |
| 304 | + simpa [show (uᴴ * (K * u)) () () = 0 from h_zero] using hu_pos Classical.ofNonempty | |
| 305 | + let S : Set (FinPlace E) := {w | w.valuation E (N u : E) ≠ 1} | |
| 306 | + have hS : S.Finite := by simpa [S] using finite_setOf_valued_val_ne_one | |
| 307 | + (principalIdele (.mk0 _ hu)) | |
| 308 | + obtain ⟨v, -, hv_unit⟩ := exists_form_pos_and_unit z hz hS | |
| 309 | + -- Each real embedding of `E⁺` is the restriction of some `Φ w`. | |
| 310 | + have h_tot : IsTotallyPositive (N u) := fun φ ↦ by | |
| 311 | + obtain ⟨w, hw⟩ := bijective_cmType_restrict.surjective (ofRealHom.comp φ) | |
| 312 | + exact (hu_pos w).trans_eq (congrArg re (RingHom.congr_fun hw (N u))) | |
| 313 | + -- With `2 B = uᴴ K v + vᴴ K u` and `μ = N v * N u - B²`, write `N u` as a sum of the two squares | |
| 314 | + -- `(p + r √μ)²` and `(q + s √μ)²`. | |
| 315 | + let B : maximalRealSubfield E := (N (u + v) - N u - N v) / (1 + 1) | |
| 316 | + let μ : maximalRealSubfield E := N v * N u - B ^ 2 | |
| 317 | + obtain ⟨p, q, r, s, h_re, h_im⟩ : ∃ p q r s : maximalRealSubfield E, | |
| 318 | + p * p + q * q + μ * (r * r + s * s) = N u ∧ p * r + q * s = 0 := by | |
| 319 | + obtain ⟨⟨x, y⟩, hxy⟩ := | |
| 320 | + exists_sq_add_sq_quadraticAlgebra (N u) (N v) B h_tot (fun _ ↦ not_not.1) hv_unit | |
| 321 | + obtain ⟨h_re, h_im⟩ : x.re * x.re + μ * x.im * x.im + (y.re * y.re + μ * y.im * y.im) = N u ∧ | |
| 322 | + x.re * x.im + x.im * x.re + (y.re * y.im + y.im * y.re) = 0 := by | |
| 323 | + simpa [QuadraticAlgebra.norm_def, QuadraticAlgebra.ext_iff] using hxy | |
| 324 | + exact ⟨x.re, y.re, x.im, y.im, by linear_combination h_re, by linear_combination h_im / 2⟩ | |
| 325 | + obtain ⟨i, hi_sq, hi_star⟩ := HasPrimitiveRoot5040.exists_mul_self_eq_neg_one (E := E) | |
| 326 | + -- Let `α = p + i q` and `β = i (r + i s)`. The vector `(α / N u) u + β (v - (B / N u) u)` has | |
| 327 | + -- norm `(ᾱ α + μ β̄ β) / N u = 1`. The cross terms cancel because `ᾱ β` is real (as | |
| 328 | + -- `p r + q s = 0`) and `uᴴ K (v - (B / N u) u)` is skew. | |
| 329 | + let form (x y : Matrix n Unit E) : E := (xᴴ * (K * y)) () () | |
| 330 | + have h_expand (a b : E) : form (a • u + b • v) (a • u + b • v) = | |
| 331 | + star a * a * N u + star a * b * form u v + star b * a * form v u + star b * b * N v := by | |
| 332 | + simp [form, N, Matrix.add_mul, Matrix.mul_add] | |
| 333 | + ring | |
| 334 | + have hB : form u v + form v u = 2 * B := by | |
| 335 | + simp [form, B, N, Matrix.add_mul, Matrix.mul_add] | |
| 336 | + ring | |
| 337 | + have hI_sq : (i : E) * i = -1 := by simpa using congrArg (algebraMap (𝓞 E) E) hi_sq | |
| 338 | + have hI_star : star (i : E) = -i := by simpa using congrArg (algebraMap (𝓞 E) E) hi_star | |
| 339 | + have h_real (x : maximalRealSubfield E) : star (x : E) = x := | |
| 340 | + mem_maximalRealSubfield_iff_star_eq.1 x.property | |
| 341 | + have h_re_coe : (p * p + q * q + (N v * N u - B ^ 2) * (r * r + s * s) : E) = N u := | |
| 342 | + congrArg Subtype.val h_re | |
| 343 | + have h_im_coe : (p * r + q * s : E) = 0 := congrArg Subtype.val h_im | |
| 344 | + obtain ⟨α, β, hα, hβ, h_cross⟩ : ∃ α β : E, star α * α = p * p + q * q ∧ | |
| 345 | + star β * β = r * r + s * s ∧ star β * α = star α * β := by | |
| 346 | + refine ⟨p + q * i, r * i - s, ?_⟩ | |
| 347 | + simp only [star_add, star_sub, star_mul', h_real, hI_star] | |
| 348 | + exact ⟨by linear_combination -(q * q : E) * hI_sq, by linear_combination -(r * r : E) * hI_sq, | |
| 349 | + by linear_combination -(2 * i : E) * h_im_coe⟩ | |
| 350 | + let w : Matrix n Unit E := ((α - β * B) / N u) • u + β • v | |
| 351 | + have h_norm : form w w = 1 := by | |
| 352 | + simp only [w, h_expand, star_div₀, star_sub, star_mul', h_real] | |
| 353 | + field_simp | |
| 354 | + linear_combination h_re_coe + hα + (N v * N u - B ^ 2 : E) * hβ | |
| 355 | + + (star α * β - star β * β * B) * hB + (form v u - B) * h_cross | |
| 356 | + exact ⟨w, ext fun _ _ ↦ by simpa only [form, Matrix.mul_assoc, Matrix.one_apply_eq] using h_norm⟩ | |
| 357 | + | |
| 358 | +/-- If `uᴴ u = 1`, and `u` and `uᴴ` are eigenvectors of `D` with eigenvalue `c`, then shearing by | |
| 359 | +`1 + u ρ` adds `c (u ρ + (u ρ)ᴴ + ρᴴ ρ)` to `D`. -/ | |
| 360 | +private lemma Core.conjTranspose_one_add_mul_mul_self {R : Type*} [CommRing R] [StarRing R] {c : R} | |
| 361 | + {D : Matrix n n R} {u : Matrix n Unit R} (hu : uᴴ * u = 1) (h_column : D * u = c • u) | |
| 362 | + (h_row : uᴴ * D = c • uᴴ) (ρ : Matrix Unit n R) : | |
| 363 | + (1 + u * ρ)ᴴ * D * (1 + u * ρ) = D + c • (u * ρ + (u * ρ)ᴴ + ρᴴ * ρ) := by | |
| 364 | + simp [Matrix.mul_add, Matrix.add_mul, Matrix.mul_assoc, ← Matrix.mul_assoc D u, | |
| 365 | + ← Matrix.mul_assoc uᴴ u, h_column, h_row, hu] | |
| 366 | + abel | |
| 367 | + | |
| 368 | +/-- Let `J` be hermitian, `c * c = 1`, `wᴴ (c J) w = 1`, and let `J'` be `J` projected to the | |
| 369 | +orthogonal complement of `w`. For a matrix `A` there is `A'`, namely `A` with its columns projected | |
| 370 | +to that complement and `w` added to column `j`, with `A'ᴴ J A' = Aᴴ J' A + c eⱼ eⱼᵀ`. -/ | |
| 371 | +private lemma Core.exists_gram_eq_gram_compl_add_single {J : Matrix n n E} (hJ : Jᴴ = J) {c : E} | |
| 372 | + (hc_star : star c = c) (hc : c * c = 1) {w : Matrix n Unit E} (hw : wᴴ * (c • J) * w = 1) | |
| 373 | + (A : Matrix n n E) (j : n) : | |
| 374 | + ∃ A' : Matrix n n E, | |
| 375 | + A'ᴴ * J * A' = Aᴴ * (J - c • J * w * wᴴ * J) * A + Matrix.single j j c := by | |
| 376 | + let J' : Matrix n n E := J - c • J * w * wᴴ * J | |
| 377 | + let β : Matrix Unit n E := -c • wᴴ * J * A + Matrix.single () j 1 | |
| 378 | + have hw_norm : wᴴ * J * w = c • 1 := by simp [← hw, smul_smul, hc] | |
| 379 | + have hJ'_w : J' * w = 0 := by | |
| 380 | + simp [J', Matrix.sub_mul, Matrix.mul_assoc, hw_norm, smul_smul, hc] | |
| 381 | + have hw_J' : wᴴ * J' = 0 := by | |
| 382 | + simp [J', Matrix.mul_sub, ← Matrix.mul_assoc, hw_norm, smul_smul, hc] | |
| 383 | + have h_pair : wᴴ * J * (A + w * β) = c • Matrix.single () j 1 := by | |
| 384 | + simp [Matrix.mul_add, ← Matrix.mul_assoc, hw_norm, β, smul_smul, hc] | |
| 385 | + use A + w * β | |
| 386 | + calc _ = (A + w * β)ᴴ * J' * (A + w * β) + | |
| 387 | + c • ((wᴴ * J * (A + w * β))ᴴ * (wᴴ * J * (A + w * β))) := by | |
| 388 | + simp [J', hJ, Matrix.mul_sub, Matrix.sub_mul, Matrix.mul_assoc] | |
| 389 | + _ = Aᴴ * J' * A + Matrix.single j j c := by | |
| 390 | + simp [h_pair, Matrix.mul_add, Matrix.add_mul, Matrix.mul_assoc, hJ'_w, hw_J', hc, hc_star, | |
| 391 | + ← Matrix.mul_assoc J' w] | |
| 392 | + | |
| 393 | +variable [HasPrimitiveRoot5040 E] | |
| 394 | + | |
| 395 | +/-- Let `J` be hermitian over `E` and let `Xᴴ J X` be the diagonal matrix with the signs `s i` at | |
| 396 | +`i ∈ insert j t`, for an adelic matrix `X` and `j ∉ t`. Then some rational vector `w` has norm | |
| 397 | +`s j` for `J`, and some adelic matrix `X'` has Gram matrix the diagonal of the signs at `i ∈ t` for | |
| 398 | +`J` projected to the orthogonal complement of `w`. -/ | |
| 399 | +private lemma Core.exists_adelic_frame_compl {j : n} {t : Finset n} (hj : j ∉ t) | |
| 400 | + {J : Matrix n n E} {X : Matrix n n (𝔸 E)} (hJ : Jᴴ = J) | |
| 401 | + (hX : Xᴴ * J.map toAdele * X = ∑ i ∈ insert j t, Matrix.single i i (s i : 𝔸 E)) : | |
| 402 | + ∃ w : Matrix n Unit E, wᴴ * ((s j : E) • J) * w = 1 ∧ ∃ X' : Matrix n n (𝔸 E), | |
| 403 | + X'ᴴ * (J - (s j : E) • J * w * wᴴ * J).map toAdele * X' = | |
| 404 | + ∑ i ∈ t, Matrix.single i i (s i : 𝔸 E) := by | |
| 405 | + -- `X * u`, column `j` of `X` times the sign `c`, has norm `1` for `c • J`; so has some | |
| 406 | + -- rational `w`. | |
| 407 | + let c : E := s j | |
| 408 | + let u : Matrix n Unit (𝔸 E) := Matrix.single j () (toAdele c) | |
| 409 | + set D : Matrix n n (𝔸 E) := ∑ i ∈ insert j t, Matrix.single i i (s i : 𝔸 E) | |
| 410 | + have h_column : D * u = toAdele c • u := by | |
| 411 | + simp +contextual [D, Matrix.sum_mul, Finset.sum_eq_single j, u, c] | |
| 412 | + have hu : uᴴ * u = 1 := by simp [u, c, ← ext_iff, ← Int.cast_mul] | |
| 413 | + have h_Xu_norm : (X * u)ᴴ * (c • J).map toAdele * (X * u) = 1 := | |
| 414 | + calc _ = toAdele c • (uᴴ * (Xᴴ * J.map toAdele * X * u)) := by | |
| 415 | + simp [map_smul', Matrix.mul_assoc] | |
| 416 | + _ = 1 := by simp [hX, h_column, hu, smul_smul, c, ← Int.cast_mul] | |
| 417 | + obtain ⟨w, hw⟩ : ∃ w : Matrix n Unit E, wᴴ * (c • J) * w = 1 := | |
| 418 | + exists_form_eq_one (c • J) (by simp [c, hJ]) (X * u) h_Xu_norm | |
| 419 | + -- Shear `X` to `X'`: column `j` becomes `0`, and `a * r i` times `X * u` is added to column | |
| 420 | + -- `i ≠ j`. Here `r i` is the product of `w` with that column, and `a` has the same norm as | |
| 421 | + -- `b = 1 + wᴴ J X u a`. | |
| 422 | + let v : Matrix Unit n (𝔸 E) := (wᴴ * J).map toAdele | |
| 423 | + let r : Matrix Unit n (𝔸 E) := v * X * (1 + -u * uᴴ) | |
| 424 | + obtain ⟨a, b, hb, h_norm⟩ := exists_norm_eq_norm_one_add_mul (v * X * u) | |
| 425 | + let ρ : Matrix Unit n (𝔸 E) := a * r + -uᴴ | |
| 426 | + let X' : Matrix n n (𝔸 E) := X + X * u * ρ | |
| 427 | + have h_pair : v * X' = b * r := by | |
| 428 | + simp [← hb, X', ρ, r, Matrix.mul_add, Matrix.mul_assoc, Matrix.add_mul] | |
| 429 | + abel | |
| 430 | + have h_row : uᴴ * D = toAdele c • uᴴ := by | |
| 431 | + simpa [D, conjTranspose_sum, c] using congrArg Matrix.conjTranspose h_column | |
| 432 | + have hD : D = (∑ i ∈ t, Matrix.single i i (s i : 𝔸 E)) + toAdele c • (u * uᴴ) := by | |
| 433 | + simp [D, u, c, hj, add_comm, ← Int.cast_mul] | |
| 434 | + have h_shear : X'ᴴ * J.map toAdele * X' = | |
| 435 | + (∑ i ∈ t, Matrix.single i i (s i : 𝔸 E)) + toAdele c • (rᴴ * (aᴴ * a) * r) := | |
| 436 | + calc _ = (1 + u * ρ)ᴴ * D * (1 + u * ρ) := by | |
| 437 | + simp [← hX, X', Matrix.mul_add, Matrix.add_mul, Matrix.mul_assoc] | |
| 438 | + _ = D + toAdele c • (u * ρ + (u * ρ)ᴴ + ρᴴ * ρ) := | |
| 439 | + conjTranspose_one_add_mul_mul_self hu h_column h_row ρ | |
| 440 | + _ = _ := by | |
| 441 | + simp [hD, ρ, Matrix.mul_add, Matrix.add_mul, Matrix.mul_assoc] | |
| 442 | + abel | |
| 443 | + -- Let `J'` be `J` projected to the orthogonal complement of `w`. The shear adds `c rᴴ aᴴ a r` | |
| 444 | + -- to the Gram matrix for `t`, and the projection subtracts `c rᴴ bᴴ b r`, which is the same. | |
| 445 | + let J' : Matrix n n E := J - c • J * w * wᴴ * J | |
| 446 | + have h_frame : X'ᴴ * J'.map toAdele * X' = ∑ i ∈ t, Matrix.single i i (s i : 𝔸 E) := | |
| 447 | + calc _ = X'ᴴ * J.map toAdele * X' - toAdele c • ((v * X')ᴴ * (v * X')) := by | |
| 448 | + simp [J', v, hJ, Matrix.map_sub, map_smul', Matrix.mul_sub, Matrix.sub_mul, | |
| 449 | + Matrix.mul_assoc] | |
| 450 | + _ = _ := by simp [h_shear, h_pair, h_norm, Matrix.mul_assoc] | |
| 451 | + exact ⟨w, hw, X', h_frame⟩ | |
| 452 | + | |
| 453 | +/-- Hasse principle for partial frames: let `E` satisfy `New.HasPrimitiveRoot5040`, let `J` be | |
| 454 | +hermitian over `E`, possibly degenerate, let `s` be a family of signs indexed by `n`, and let `D` be | |
| 455 | +the diagonal matrix with the sign `s i` at `i ∈ t` and `0` elsewhere. If `Xᴴ J X = D` for a square | |
| 456 | +matrix `X` over the adeles `𝔸 E`, into which `toAdele` embeds `E`, then `Aᴴ J A = D` for a square | |
| 457 | +matrix `A` over `E`. -/ | |
| 458 | +lemma Core.exists_rat_frame_of_adelic (t : Finset n) {J : Matrix n n E} {X : Matrix n n (𝔸 E)} | |
| 459 | + (hJ : Jᴴ = J) (hX : Xᴴ * J.map toAdele * X = ∑ i ∈ t, Matrix.single i i (s i : 𝔸 E)) : | |
| 460 | + ∃ A : Matrix n n E, Aᴴ * J * A = ∑ i ∈ t, Matrix.single i i (s i : E) := by | |
| 461 | + -- Induction on `t`: split off a rational vector `w` of norm `s j` and pass to its complement. | |
| 462 | + induction t using Finset.induction generalizing J X with | |
| 463 | + | empty => exact ⟨0, by simp⟩ | |
| 464 | + | insert j t hj ih => | |
| 465 | + -- Split off a rational vector `w` of norm `s j`; a shear of `X` is then a frame for `J` | |
| 466 | + -- projected to the orthogonal complement of `w`. | |
| 467 | + obtain ⟨w, hw, X', h_frame⟩ := exists_adelic_frame_compl hj hJ hX | |
| 468 | + obtain ⟨A, hA⟩ := ih (by simp [hJ, Matrix.mul_assoc]) h_frame | |
| 469 | + -- Project the columns of `A` to the orthogonal complement of `w` and add `w` to column `j`. | |
| 470 | + rw [Finset.sum_insert hj, add_comm, ← hA] | |
| 471 | + exact exists_gram_eq_gram_compl_add_single hJ (by simp) (by simp [← Int.cast_mul]) hw A j | |
| 472 | + | |
| 473 | +/-- A case of Landherr's theorem. Let `E` be a CM field containing a primitive root of unity of | |
| 474 | +order `5040`, and let a `Space E n s` be a Hermitian matrix `J` over `E` together with an adelic | |
| 475 | +`x : GL n (𝔸 E)` such that `xᴴ J x` is `diag(s)` at the infinite places and `1` at the finite | |
| 476 | +places. Then any two such spaces `V`, `W` with the same signs `s` are equivalent over `E`: there is | |
| 477 | +`a : GL n E` with `aᴴ V.J a = W.J`. -/ | |
| 478 | +lemma Space.landherr (V W : Space E n s) : ∃ a : GL n E, a.valᴴ * V.J * a = W.J := by | |
| 479 | + -- The matrix of a space with signs `s` is adelically, so rationally, equivalent to `diag(s)`. | |
| 480 | + have h_diag (Y : Space E n s) : ∃ a : GL n E, a.valᴴ * Y.J * a = (signedSpace E s).J := by | |
| 481 | + let X : GL n (𝔸 E) := Y.x * (signedSpace E s).x⁻¹ | |
| 482 | + have h_adelic : X.valᴴ * Y.J.map toAdele * X.val = (signedSpace E s).J.map toAdele := | |
| 483 | + gram_mul_of_gram_eq Y.gram_point (gram_inv_of_gram_eq (signedSpace E s).gram_point) | |
| 484 | + obtain ⟨A, hA⟩ : ∃ A : Matrix n n E, Aᴴ * Y.J * A = (signedSpace E s).J := by | |
| 485 | + simpa [signedSpace, sum_single_eq_diagonal] using Core.exists_rat_frame_of_adelic (s := s) | |
| 486 | + Finset.univ Y.isHermitian_J (h_adelic.trans (by simp [signedSpace, sum_single_eq_diagonal])) | |
| 487 | + exact ⟨(isUnit_of_mul_isUnit_right (x := Aᴴ * Y.J) | |
| 488 | + (by simp [hA, signedSpace, Pi.isUnit_iff])).unit, hA⟩ | |
| 489 | + obtain ⟨a, ha⟩ := h_diag V | |
| 490 | + obtain ⟨b, hb⟩ := h_diag W | |
| 491 | + exact ⟨a * b⁻¹, gram_mul_of_gram_eq ha (gram_inv_of_gram_eq hb)⟩ | |
| 492 | + | |
| 493 | +/-- Landherr's theorem for spaces with a point, for a CM field `E` satisfying | |
| 494 | +`New.HasPrimitiveRoot5040`. A space `Space E n s` is a Hermitian matrix `J` over `E` with a point | |
| 495 | +`x : GL n (𝔸 E)` such that `xᴴ J x` is `diag(s)` at the infinite places and `1` at the finite | |
| 496 | +places. Two spaces `V`, `W` with the same signs `s` differ by a rational change of basis `a` and by | |
| 497 | +moving the point by some `g` in the adelic unitary group `G E s`: `aᴴ V.J a = W.J`, | |
| 498 | +`W.x = a⁻¹ V.x g`, and under the embeddings `New.Space.ratEmbed` into `G E s` (sending `γ` to | |
| 499 | +`x⁻¹ γ x`), the map `γ ↦ a γ a⁻¹` from `U W.J` to `U V.J` becomes conjugation by `g`. Here | |
| 500 | +`g.toUnitary` is `g` as a matrix over `𝔸 E`, and `toAdele` embeds `E` in `𝔸 E`. -/ | |
| 501 | +lemma Space.exists_x_eq_and_ratEmbed_conj_eq (V W : Space E n s) : | |
| 502 | + ∃ (a : GL n E) (g : G E s) (h : a.valᴴ * V.J * a = W.J), | |
| 503 | + W.x = (a.map toAdele)⁻¹ * V.x * g.toUnitary ∧ | |
| 504 | + ∀ γ : U W.J, V.ratEmbed (U.conj a h γ) = g * W.ratEmbed γ * g⁻¹ := by | |
| 505 | + obtain ⟨a, ha⟩ := V.landherr W | |
| 506 | + -- `a * W.x` is a second frame of `V.J`, so `V.x⁻¹ * a * W.x` preserves the standard form. | |
| 507 | + have h_unitary : V.x⁻¹ * (a.map toAdele * W.x) ∈ U (stdForm E s) := | |
| 508 | + mem_unitaryGroupOf_iff.2 <| gram_mul_of_gram_eq (gram_inv_of_gram_eq V.gram_point) | |
| 509 | + (gram_mul_of_gram_eq (by simp [← ha, Matrix.mul_assoc]) W.gram_point) | |
| 510 | + refine ⟨a, G.toUnitary.symm ⟨_, h_unitary⟩, ha, by simp [mul_assoc], fun γ ↦ ?_⟩ | |
| 511 | + simp [ratEmbed, toRatCoords, U.map, MulEquiv.symm_apply_eq, mul_assoc, Subtype.ext_iff] | |
| 512 | + | |
| 513 | +end New | |
| 514 | + | |
| 515 | +/-! | |
| 516 | +## Galois descent and the Hasse principle for unitary cocycles | |
| 517 | + | |
| 518 | +`New.twistedNorm τ p δ` is the twisted norm `δ · τ δ ⋯ τ^(p-1) δ`; `New.U.mapEnd` and `New.galoisGf` | |
| 519 | +are the entrywise actions of `σ` on rational and finite adelic unitary matrices. | |
| 520 | +-/ | |
| 521 | + | |
| 522 | +section UnitaryHassePrinciple | |
| 523 | + | |
| 524 | +open NumberField Matrix Polynomial UniqueFactorizationMonoid ComplexOrder ComplexEmbedding | |
| 525 | + Module Function IsGalois | |
| 526 | + | |
| 527 | +namespace New | |
| 528 | + | |
| 529 | +variable {E E' n : Type} [Field E] [NumberField E] [Field E'] [NumberField E'] | |
| 530 | + [Algebra E E'] [IsGalois E E'] [Fintype n] [DecidableEq n] {σ : Gal(E'/E)} | |
| 531 | + | |
| 532 | +open scoped Classical in | |
| 533 | +/-- A normal matrix over a CM field (one commuting with its conjugate transpose) is killed by | |
| 534 | +the radical of its characteristic polynomial. -/ | |
| 535 | +@[simp] | |
| 536 | +lemma aeval_radical_charpoly [IsCMField E] {M : Matrix n n E} [IsStarNormal M] : | |
| 537 | + aeval M (radical M.charpoly) = 0 := by | |
| 538 | + -- The value `N` of the radical at `M` is nilpotent (Cayley–Hamilton) and commutes with `Nᴴ`, so | |
| 539 | + -- the trace of `Nᴴ * N` is nilpotent, hence zero; under a complex embedding it is the sum of the | |
| 540 | + -- squared norms of the entries of `N`. | |
| 541 | + set N : Matrix n n E := aeval M (radical M.charpoly) | |
| 542 | + obtain ⟨k, hk⟩ := exists_dvd_radical_self_pow M.charpoly_monic.ne_zero | |
| 543 | + have h_nil : IsNilpotent N := ⟨k, by simpa [aeval_self_charpoly] using map_dvd (aeval M) hk⟩ | |
| 544 | + have h_trace : (Nᴴ * N).trace = 0 := (isNilpotent_trace_of_isNilpotent | |
| 545 | + ((commute_conjTranspose_aeval M).isNilpotent_mul_left h_nil)).eq_zero | |
| 546 | + simpa [AddMonoidHom.map_trace, conjTranspose_map _ (map_star_complex _), ← ext_iff, | |
| 547 | + trace_conjTranspose_mul_self_eq_zero_iff] using congrArg (Φ Classical.ofNonempty) h_trace | |
| 548 | + | |
| 549 | +/-- For E'/E a Galois extension of number fields of prime degree and σ ≠ 1 in its Galois group, | |
| 550 | +every element of E' fixed by σ lies in E. -/ | |
| 551 | +lemma mem_range_algebraMap_of_fixed_of_prime (hσ : σ ≠ 1) [Fact (finrank E E').Prime] ⦃x : E'⦄ | |
| 552 | + (hx : σ x = x) : | |
| 553 | + x ∈ (algebraMap E E').range := by | |
| 554 | + -- The group has prime order, so every element is a power of `σ`. | |
| 555 | + rw [RingHom.mem_range, ← Set.mem_range, mem_range_algebraMap_iff_fixed, | |
| 556 | + (bijective_pow_of_ne_one_of_prime_finrank hσ).surjective.forall] | |
| 557 | + simp [iterate_fixed hx] | |
| 558 | + | |
| 559 | +/-- For E'/E a Galois extension of number fields of prime degree and σ ≠ 1 in its Galois group, | |
| 560 | +every finite adele of E' fixed by σ comes from a finite adele of E. Here `adeleMap σ` is the action | |
| 561 | +of σ on the finite adeles `𝔸f E'` and `finAdeleIncl E E'` includes the finite adeles of E in | |
| 562 | +these. -/ | |
| 563 | +lemma mem_range_finAdeleIncl_of_adeleMap_eq (hσ : σ ≠ 1) [Fact (finrank E E').Prime] ⦃x : 𝔸f E'⦄ | |
| 564 | + (hx : adeleMap σ x = x) : x ∈ (finAdeleIncl E E').range := by | |
| 565 | + rw [mem_range_finAdeleIncl_iff, (bijective_pow_of_ne_one_of_prime_finrank hσ).surjective.forall] | |
| 566 | + simp [← adeleMap_gal_pow, iterate_fixed hx] | |
| 567 | + | |
| 568 | +/-- Hasse principle for `H¹(⟨σ⟩, U(n))`, with `U(n) = {g | gᴴ g = 1}`, where `E' / E` is a Galois | |
| 569 | +extension of CM fields of prime degree `p` and `σ ≠ 1` is in its Galois group. Let `s` be a point | |
| 570 | +over `E'` such that `s = u σ(u)⁻¹` for a point `u` over the finite adeles of `E'` and the twisted | |
| 571 | +norm `s σ(s) ⋯ σ^(p-1)(s)` is `1`. Then `s = g σ(g)⁻¹` for a point `g` over `E'`, written as | |
| 572 | +`σ(g) = s⁻¹ g`. Here `Gf E' n` is the unitary group over the finite adeles, `map` takes `s` into it, | |
| 573 | +and `U.mapEnd` and `galoisGf` apply `σ` to each entry, `map_star_CM` saying that `σ` commutes with | |
| 574 | +complex conjugation. Landherr's theorem needs that `E` has a CM type and a primitive root of unity | |
| 575 | +of order `5040` (`CMType`, `New.HasPrimitiveRoot5040`). -/ | |
| 576 | +lemma U.hasse_principle_coboundary [IsCMField E'] | |
| 577 | + {E : Type} [Field E] [CMType E] [Algebra E E'] [IsGalois E E'] | |
| 578 | + {σ : Gal(E'/E)} (hσ : σ ≠ 1) [Fact (finrank E E').Prime] | |
| 579 | + [HasPrimitiveRoot5040 E] {s : U (1 : Matrix n n E')} (u : Gf E' n) | |
| 580 | + (hs : map (algebraMap E' (𝔸f E')) (fun x : E' ↦ (star_algebraMap_finAdele x).symm) | |
| 581 | + (one_map_ringHom (algebraMap E' (𝔸f E'))) s = u * (galoisGf σ u)⁻¹) | |
| 582 | + (hs_norm : twistedNorm (mapEnd (map_star_CM σ)) (finrank E E') s = 1) : | |
| 583 | + ∃ g : U (1 : Matrix n n E'), mapEnd (map_star_CM σ) g = s⁻¹ * g := by | |
| 584 | + -- Hilbert 90 for `GL n` gives `s = g σ(g)⁻¹`. The form `gᴴ g` descends to a matrix `J` over `E` | |
| 585 | + -- that is everywhere locally isometric to the standard form, hence globally (Landherr): | |
| 586 | + -- `lᴴ J l = 1`. Then `g l` is unitary and still splits `s`. | |
| 587 | + let a : E' →+* 𝔸f E' := algebraMap E' (𝔸f E') | |
| 588 | + have h_norm : twistedNorm (GeneralLinearGroup.map (σ : E' →+* E')) (orderOf σ) s.val = 1 := by | |
| 589 | + rw [orderOf_eq_prime (p := finrank E E') (by simp [← card_aut_eq_finrank]) hσ, | |
| 590 | + ← map_one (U (1 : Matrix n n E')).subtype, ← hs_norm] | |
| 591 | + exact (map_twistedNorm (U (1 : Matrix n n E')).subtype (fun _ ↦ rfl) _ s).symm | |
| 592 | + -- Hilbert 90 at level `1`, where the congruence condition always holds | |
| 593 | + obtain ⟨g, -, hg : s.val.val * g.val.map (σ : E' →+* E') = g.val, -⟩ := | |
| 594 | + (isTameAtLevel_gal σ).hilbert90_gl (Y := s.val.val - 1) (.inl inferInstance) s.val | |
| 595 | + (by simp) h_norm | |
| 596 | + -- `u⁻¹ g` is fixed by `σ`, since `s` is split by both `u` and `g`; so it comes from `E`. | |
| 597 | + have hs_mat : s.1.1.map a = (u * (galoisGf σ u)⁻¹).1.1 := congrArg (fun x : Gf E' n ↦ x.1.1) hs | |
| 598 | + have h_fixed_adelic : (u.val⁻¹ * g.map a).map (adeleMap σ) = u.val⁻¹ * g.map a := by | |
| 599 | + have hg_adelic : (u⁻¹).val.val * (s.val.val * g.val.map (σ : E' →+* E')).map a = | |
| 600 | + (u⁻¹).val.val * g.val.map a := by rw [hg] | |
| 601 | + -- `using!` identifies the inverse in `Gf E' n` with that in `GL n (𝔸f E')`. | |
| 602 | + exact Units.ext <| by simpa [a, hs_mat, comp_def, mul_assoc] using! hg_adelic | |
| 603 | + obtain ⟨y, hy⟩ : ∃ y : GL n (𝔸f E), y.map (adeleMap (algebraMap E E')) = u.val⁻¹ * g.map a := | |
| 604 | + exists_gl_map_eq_of_fixed (adeleMap_injective _) (mem_range_finAdeleIncl_of_adeleMap_eq hσ) | |
| 605 | + h_fixed_adelic | |
| 606 | + -- `gᴴ g` is fixed by `σ`, since `s` is unitary; so it comes from `E` too. | |
| 607 | + have h_fixed_form : (star g * 1 * g).map (σ : E' →+* E') = star g * 1 * g := by | |
| 608 | + refine Units.ext ?_ | |
| 609 | + simpa [star, conjTranspose_map _ (map_star_CM _), ← inv_val_eq_conjTranspose, mul_assoc, | |
| 610 | + -RingHom.coe_coe] using congrArg (fun M : Matrix n n E' ↦ Mᴴ * M) hg | |
| 611 | + obtain ⟨J, hJ⟩ : ∃ J : GL n E, J.map (algebraMap E E') = star g * 1 * g := | |
| 612 | + exists_gl_map_eq_of_fixed (RingHom.injective _) (mem_range_algebraMap_of_fixed_of_prime hσ) | |
| 613 | + h_fixed_form | |
| 614 | + have hJ_mat : g.valᴴ * 1 * g.val = J.val.map (algebraMap E E') := congrArg Units.val hJ.symm | |
| 615 | + -- Local isometries: `g` at the infinite places, `y` at the finite places. | |
| 616 | + have h_infinite (w : InfinitePlace E) : | |
| 617 | + (g.map (lift E' (Φ w))).valᴴ * signMatrix (1 : n → ℤˣ) * (g.map (lift E' (Φ w))).val = | |
| 618 | + J.val.map (Φ w) := by | |
| 619 | + simpa [← ext_iff, Matrix.mul_apply] using congrArg (Matrix.map · (lift E' (Φ w))) hJ_mat | |
| 620 | + have h_adelic : (g.map a).valᴴ * 1 * (g.map a).val = J.val.map (a ∘ algebraMap E E') := by | |
| 621 | + simpa [← ext_iff, Matrix.mul_apply, a] using congrArg (Matrix.map · a) hJ_mat | |
| 622 | + have h_finite : y.valᴴ * 1 * y.val = J.val.map (algebraMap E (𝔸f E)) := by | |
| 623 | + apply map_injective (adeleMap_injective (algebraMap E E')) | |
| 624 | + -- `y` becomes `u⁻¹ g` over `E'`, and `u⁻¹` is unitary. | |
| 625 | + simpa [← hy, comp_def, ↓map_conjTranspose_mul_mul, adeleMap_star] using! | |
| 626 | + gram_mul_of_gram_eq (mem_unitaryGroupOf_iff.1 u⁻¹.property) h_adelic | |
| 627 | + -- Landherr's theorem compares the space of `J` with the standard space `stdSpace E n`. | |
| 628 | + let V : Space E n 1 := ⟨J, _, gram_mkAdelicGL (fun w ↦ gram_inv_of_gram_eq (h_infinite w)) | |
| 629 | + (gram_inv_of_gram_eq h_finite)⟩ | |
| 630 | + obtain ⟨l, hl : l.valᴴ * J.val * l.val = (stdSpace E n).J⟩ := V.landherr (stdSpace E n) | |
| 631 | + refine ⟨⟨g * l.map (algebraMap E E'), mem_unitaryGroupOf_iff.2 (gram_mul_of_gram_eq hJ_mat ?_)⟩, | |
| 632 | + eq_inv_mul_of_mul_eq ?_⟩ | |
| 633 | + · simp [← map_conjTranspose_mul_mul, map_star_CM, hl, stdSpace] | |
| 634 | + · -- `σ` fixes `l`, so `s σ(g l) = s σ(g) l = g l`. | |
| 635 | + ext | |
| 636 | + simp only [RingHom.coe_coe] at hg | |
| 637 | + simp [U.map, ← mul_assoc, comp_def, hg] | |
| 638 | + | |
| 639 | +end New | |
| 640 | + | |
| 641 | +end UnitaryHassePrinciple | |
+864 −0 src/Lib/Adelic/QuotientMeasure/Basic.lean added View file
| @@ -0,0 +1,864 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import Mathlib.MeasureTheory.Group.ModularCharacter | |
| 4 | +public import Mathlib.Probability.IdentDistrib | |
| 5 | +public import Mathlib.Analysis.CStarAlgebra.Classes | |
| 6 | +public import Mathlib.Topology.Algebra.ProperAction.Basic | |
| 7 | +import TauCeti.MeasureTheory.Group.OrbitCutoff.Discrete | |
| 8 | +import TauCeti.MeasureTheory.Measure.Haar.Unique | |
| 9 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 10 | +import Mathlib.Topology.Algebra.ProperAction.Torsor | |
| 11 | +import Mathlib.Topology.Separation.CompletelyRegular | |
| 12 | +import Mathlib.Topology.Sheaves.Presheaf | |
| 13 | +public import Lib.Speed | |
| 14 | +public import TauCeti.MeasureTheory.Measure.Count.Topology | |
| 15 | +import Lib.General.Measure.IdempotentKernel | |
| 16 | + | |
| 17 | +/-! | |
| 18 | +# Quotient measures via cutoffs: unfolding, covolume, unimodularity, periodic means | |
| 19 | + | |
| 20 | +A group `H` with a measure `ν` acts on a measure space `(X, μ)`. Integration over `H \ X` is done on | |
| 21 | +`X` itself. A cutoff (`New.IsCutoff ν β`) is a measurable `β : X → [0, ∞]` with | |
| 22 | +`∫ β (h • x) dν(h) = 1` for every `x`. For a discrete subgroup `Γ` of a group `G` with counting | |
| 23 | +measure, and a Haar measure `μ` on `G`, `Γ.quotMeasure μ` integrates over `Γ \ G`, and its total | |
| 24 | +mass is the covolume of `Γ`. | |
| 25 | + | |
| 26 | +## Main definitions and results | |
| 27 | + | |
| 28 | +* `New.orbitMeasure`: the measure `β μ` on `X`, for the chosen weight `β = New.chosenCutoff ν`. It | |
| 29 | + is meant for `H`-invariant integrands, and for actions where a cutoff exists (`New.HasCutoff`); | |
| 30 | + then `β` is a cutoff (`New.isCutoff_chosenCutoff`). | |
| 31 | +* `New.IsCutoff.measurePreserving`, `New.measurePreserving_orbitMeasure`: the map `(x, h) ↦ h • x` | |
| 32 | + carries `(β μ) × ν` to `μ`; the other results on unfolding follow from this and Fubini's theorem. | |
| 33 | +* `New.identDistrib_orbitMeasure_of_unfold`, `New.identDistrib_orbitMeasure`: invariant functions | |
| 34 | + have the same distribution for every measure that unfolds to `μ`. So the choice of cutoff does not | |
| 35 | + matter when `ν` is inversion invariant and `μ` is invariant, both s-finite. | |
| 36 | +* `New.integral_quotMeasure_tsum`: `∫_{Γ\G} ∑_γ f(γ g) = ∫_G f`. | |
| 37 | +* `New.isMulRightInvariant_of_finite_covolume`: a group with a discrete subgroup of finite covolume | |
| 38 | + is unimodular. | |
| 39 | +* `New.quotMean_tsum_eq_integral`: the mean of `x ↦ ∑ γ, F (γ + x)` is `∫ F dμ` divided by the | |
| 40 | + covolume. | |
| 41 | + | |
| 42 | +## Relation to the literature | |
| 43 | + | |
| 44 | +Known result: Invariant integration on a quotient (Weil's formula), unfolding and unimodularity. | |
| 45 | +Here the quotient integral is integration against a measurable weight of total mass one on each | |
| 46 | +orbit, so no orbit space or section is needed to define it; existence is proved for proper actions | |
| 47 | +and for discrete subgroups. Source: O. Kallenberg, Invariant measures and disintegrations with | |
| 48 | +applications to Palm and related kernels, Probab. Theory Related Fields 139 (2007) 285-310, §2: | |
| 49 | +Lemma 2.1 and proper actions (pp. 287–288), the kernel (1) and Thm 2.4 (p. 289); there the weight | |
| 50 | +is normalised through a left Haar measure, while for existence here ν is right-invariant, so that | |
| 51 | +the orbit integrals can be made exactly one; see also D. Gentner, G. Last, Math. Z. 267 (2011), §2; | |
| 52 | +for the classical form, N. Bourbaki, Intégration VII, 1963. | |
| 53 | +-/ | |
| 54 | + | |
| 55 | +@[expose] public section | |
| 56 | + | |
| 57 | +/-! | |
| 58 | +## Cutoff weights and the quotient measure | |
| 59 | + | |
| 60 | +* `Subgroup.IsCocompact`: every element of `G` has a translate by the subgroup in a fixed compact | |
| 61 | + set. | |
| 62 | + | |
| 63 | +The definitions have additive versions, except `Subgroup.FixesLeft`. | |
| 64 | +-/ | |
| 65 | + | |
| 66 | +section QuotientMeasureDefs | |
| 67 | + | |
| 68 | +open MeasureTheory Measure | |
| 69 | + | |
| 70 | +variable {H X G : Type*} [MeasurableSpace H] [MeasurableSpace X] [SMul H X] (ν : Measure H) | |
| 71 | + (μ : Measure X) [Group G] (N : Subgroup G) | |
| 72 | + | |
| 73 | +/-- The subgroup N of G is cocompact: there is a compact C ⊂ G such that every g has a translate | |
| 74 | +γg in C with γ ∈ N. -/ | |
| 75 | +@[to_additive /-- The additive subgroup N of G is cocompact: there is a compact C ⊂ G such that | |
| 76 | +every g has a translate γ + g in C with γ ∈ N. -/] | |
| 77 | +abbrev Subgroup.IsCocompact [TopologicalSpace G] : Prop := | |
| 78 | + ∃ C : Set G, IsCompact C ∧ ∀ g : G, ∃ γ ∈ N, γ * g ∈ C | |
| 79 | + | |
| 80 | +/-- The function F on G is left invariant under the subgroup N: F(γg) = F(g) for all γ ∈ N and g | |
| 81 | +∈ G. -/ | |
| 82 | +@[simp] | |
| 83 | +abbrev Subgroup.FixesLeft {W : Sort*} (F : G → W) : Prop := ∀ γ ∈ N, ∀ g : G, F (γ * g) = F g | |
| 84 | + | |
| 85 | +namespace New | |
| 86 | + | |
| 87 | +/-- The property that β: X → [0, ∞] is measurable and ∫_H β(hx) dν(h) = 1 for every x in X. -/ | |
| 88 | +@[to_additive IsAddCutoff /-- The property that β: X → [0, ∞] is measurable and | |
| 89 | +∫_H β(h +ᵥ x) dν(h) = 1 for every x in X, for an additive action of H on X. -/] | |
| 90 | +def IsCutoff (β : X → ENNReal) : Prop := Measurable β ∧ ∀ x : X, ∫⁻ h : H, β (h • x) ∂ν = 1 | |
| 91 | + | |
| 92 | +/-- A chosen weight for the action of `H`, with measure `ν`, on `X`. It is a cutoff when the action | |
| 93 | +has one (`New.isCutoff_chosenCutoff`); otherwise it is an unspecified function. -/ | |
| 94 | +@[to_additive chosenAddCutoff /-- A chosen weight for the additive action of `H`, with measure | |
| 95 | +`ν`, on `X`. It is a cutoff when the action has one (`New.isAddCutoff_chosenAddCutoff`); otherwise | |
| 96 | +it is an unspecified function. -/] | |
| 97 | +noncomputable abbrev chosenCutoff : X → ENNReal := Classical.epsilon (IsCutoff ν) | |
| 98 | + | |
| 99 | +/-- The measure βμ on X for the weight β = `New.chosenCutoff ν`. When a cutoff exists | |
| 100 | +(`New.HasCutoff`), ν is inversion invariant and μ is H-invariant, both s-finite, integrating an | |
| 101 | +H-invariant function against it gives the integral over H\X, for every choice of cutoff. -/ | |
| 102 | +@[to_additive addOrbitMeasure /-- The measure βμ on X for the weight | |
| 103 | +β = `New.chosenAddCutoff ν`, for an additive action of H on X; the additive version of | |
| 104 | +`New.orbitMeasure`. -/] | |
| 105 | +noncomputable abbrev orbitMeasure : Measure X := μ.withDensity (chosenCutoff ν) | |
| 106 | + | |
| 107 | +/-- The hypothesis that the action of H, with measure ν, on X admits a cutoff: a measurable | |
| 108 | +weight with integral one over each orbit. -/ | |
| 109 | +@[to_additive HasAddCutoff /-- The hypothesis that the additive action of H, with measure ν, on X | |
| 110 | +admits a cutoff: a measurable weight with integral one over each orbit. -/] | |
| 111 | +abbrev HasCutoff (X : Type*) [MeasurableSpace X] [SMul H X] : Prop := | |
| 112 | + Fact (∃ β : X → ENNReal, IsCutoff (X := X) ν β) | |
| 113 | + | |
| 114 | +/-- If the action of `H`, with measure `ν`, on `X` has a cutoff, the chosen weight is a cutoff. -/ | |
| 115 | +@[to_additive isAddCutoff_chosenAddCutoff] | |
| 116 | +lemma isCutoff_chosenCutoff [h_cutoff : HasCutoff ν X] : | |
| 117 | + IsCutoff ν (chosenCutoff ν : X → ENNReal) := | |
| 118 | + Classical.epsilon_spec h_cutoff.out | |
| 119 | + | |
| 120 | +/-- Shortcut: the `MulAction` instance of a subgroup `N` on its ambient group `G`. -/ | |
| 121 | +@[to_additive] | |
| 122 | +instance (priority := high) mulActionSubgroupSelf : MulAction N G := inferInstance | |
| 123 | + | |
| 124 | +/-- Shortcut: the `SMul` instance of a subgroup `N` on its ambient group `G`. -/ | |
| 125 | +@[to_additive] | |
| 126 | +instance (priority := high) smulSubgroupSelf : SMul N G := inferInstance | |
| 127 | + | |
| 128 | +/-- The measure on G that computes integrals over N\G, when N with counting measure has a cutoff | |
| 129 | +(for example when N is discrete) and μ is invariant under N. It is μ weighted by a cutoff chosen for | |
| 130 | +the action of N, with counting measure, on G. By default μ is `volume`. -/ | |
| 131 | +@[to_additive /-- The measure on G that computes integrals over the quotient of G by the additive | |
| 132 | +subgroup N, when N with counting measure has a cutoff (for example when N is discrete) and μ is | |
| 133 | +invariant under N. It is μ weighted by a cutoff chosen for the action of N, with counting measure, | |
| 134 | +on G. By default μ is `volume`. -/] | |
| 135 | +noncomputable abbrev _root_.Subgroup.quotMeasure [MeasurableSpace G] | |
| 136 | + (μ : Measure G := by volume_tac) : Measure G := | |
| 137 | + orbitMeasure (@count N _) μ | |
| 138 | + | |
| 139 | +end New | |
| 140 | + | |
| 141 | +end QuotientMeasureDefs | |
| 142 | + | |
| 143 | +/-! | |
| 144 | +## Independence of the cutoff and unfolding | |
| 145 | + | |
| 146 | +* `New.lintegral_orbitMeasure_lintegral`: unfolding for lower integrals, | |
| 147 | + `∫_{H\X} ∫_H f(h • x) = ∫_X f`. | |
| 148 | +-/ | |
| 149 | + | |
| 150 | +section QuotientMeasure | |
| 151 | + | |
| 152 | +open MeasureTheory Measure ProbabilityTheory | |
| 153 | + | |
| 154 | +variable {H X W Y : Type*} [MeasurableSpace H] [MeasurableSpace X] [MeasurableSpace W] | |
| 155 | + [MeasurableSpace Y] [NormedAddCommGroup W] [NormedSpace ℝ W] [BorelSpace W] | |
| 156 | + {F : X → Y} {f : X → W} | |
| 157 | + | |
| 158 | +namespace New | |
| 159 | + | |
| 160 | +to_additive_name_hint Quot AddQuot | |
| 161 | + | |
| 162 | +/-- A measure that unfolds to `μ` computes the quotient measure. Suppose that the action of `H` on | |
| 163 | +`X` has a cutoff for `ν` (a weight with integral one over each orbit), let `σ` carry `ρ` to `ν`, and | |
| 164 | +let `(z, l) ↦ σ l • T z` carry `m × ρ` to `μ`, with `T` measurable. Then a measurable `H`-invariant | |
| 165 | +function `F` has the same distribution under `New.orbitMeasure ν μ` (`μ` weighted by a chosen | |
| 166 | +cutoff) as `F ∘ T` under `m`. -/ | |
| 167 | +@[to_additive identDistrib_addOrbitMeasure_of_unfold] | |
| 168 | +lemma identDistrib_orbitMeasure_of_unfold [SMul H X] [MeasurableSMul₂ H X] {ν : Measure H} | |
| 169 | + {μ : Measure X} {Z L : Type*} [MeasurableSpace Z] [MeasurableSpace L] {ρ : Measure L} | |
| 170 | + [SFinite ρ] [c : HasCutoff ν X] {σ : L → H} (hσ_pres : MeasurePreserving σ ρ ν) {T : Z → X} | |
| 171 | + {m : Measure Z} | |
| 172 | + (h_unfold : MeasurePreserving (fun p : Z × L ↦ σ p.2 • T p.1) (m.prod ρ) μ) (hF : Measurable F) | |
| 173 | + (hT : Measurable T) (h_inv : ∀ (h : H) (x : X), F (h • x) = F x) : | |
| 174 | + IdentDistrib F (F ∘ T) (orbitMeasure ν μ) m := by | |
| 175 | + -- Test both laws against a measurable `f`. Unfold `μ` along `(z, l) ↦ σ l • T z`: as `F` is | |
| 176 | + -- invariant, the integral over `l` is that of the chosen cutoff `β` over an orbit, which is `1`. | |
| 177 | + let β : X → ENNReal := chosenCutoff ν | |
| 178 | + have ⟨hβ_meas, hβ_one⟩ : IsCutoff ν β := isCutoff_chosenCutoff ν | |
| 179 | + have hσ : Measurable σ := hσ_pres.measurable | |
| 180 | + refine ⟨by fun_prop, by fun_prop, ext_of_lintegral _ fun f hf ↦ ?_⟩ | |
| 181 | + have h_orbit (x : X) : ∫⁻ l, β (σ l • x) ∂ρ = 1 := by | |
| 182 | + rw [← hβ_one x, ← hσ_pres.lintegral_comp (by fun_prop)] | |
| 183 | + calc | |
| 184 | + _ = ∫⁻ x, β x * f (F x) ∂μ := by | |
| 185 | + rw [lintegral_map hf hF] | |
| 186 | + exact lintegral_withDensity_eq_lintegral_mul _ hβ_meas (by fun_prop) | |
| 187 | + _ = ∫⁻ p, β (σ p.2 • T p.1) * f (F (T p.1)) ∂m.prod ρ := by | |
| 188 | + simp (disch := fun_prop) [← h_unfold.lintegral_comp, h_inv] | |
| 189 | + _ = ∫⁻ z, ∫⁻ l, β (σ l • T z) * f (F (T z)) ∂ρ ∂m := lintegral_prod _ (by fun_prop) | |
| 190 | + _ = ∫⁻ z, f (F (T z)) ∂m := by simp (disch := fun_prop) [lintegral_mul_const, h_orbit] | |
| 191 | + _ = ∫⁻ y, f y ∂m.map (F ∘ T) := (lintegral_map hf (hF.comp hT)).symm | |
| 192 | + | |
| 193 | +variable [Group H] [MulAction H X] [MeasurableInv H] [MeasurableSMul₂ H X] | |
| 194 | + {ν : Measure H} [SFinite (α := H) ν] | |
| 195 | + {μ : Measure X} [SFinite μ] [SMulInvariantMeasure H X μ] {β : X → ENNReal} | |
| 196 | + | |
| 197 | +@[to_additive] | |
| 198 | +instance {S : Subgroup H} : MeasurableSMul₂ S X := ⟨.smul (by fun_prop) measurable_snd⟩ | |
| 199 | + | |
| 200 | +/-! ### Unfolding with a given cutoff -/ | |
| 201 | + | |
| 202 | +/-- Let a group H act measurably on X, ν an s-finite measure on H, μ an s-finite H-invariant | |
| 203 | +measure on X, β : X → [0,∞] measurable. Then (x,h) ↦ hx pushes (βμ) × ν forward to the measure | |
| 204 | +with density x ↦ ∫ β(h⁻¹x) dν(h) with respect to μ. -/ | |
| 205 | +@[to_additive] | |
| 206 | +lemma measurePreserving_smul_prod (hβ : Measurable β) : | |
| 207 | + MeasurePreserving (fun p : X × H ↦ p.2 • p.1) ((μ.withDensity β).prod ν) | |
| 208 | + (μ.withDensity fun x : X ↦ ∫⁻ h : H, β (h • x) ∂ν.inv) := by | |
| 209 | + have h_smul : Measurable fun p : X × H ↦ p.2 • p.1 := by fun_prop | |
| 210 | + refine ⟨h_smul, ext fun s hs ↦ ?_⟩ | |
| 211 | + -- Both sides are integrals over `h`; for fixed `h` substitute `x ↦ h • x`, which preserves `μ`. | |
| 212 | + have h_slice (h : H) : μ.withDensity β ((h • ·) ⁻¹' s) = ∫⁻ x in s, β (h⁻¹ • x) ∂μ := by | |
| 213 | + rw [← (measurePreserving_smul h μ).setLIntegral_comp_preimage hs (by fun_prop)] | |
| 214 | + simp (disch := measurability) | |
| 215 | + rw [map_apply h_smul hs, prod_apply_symm (h_smul hs), withDensity_apply _ hs] | |
| 216 | + calc | |
| 217 | + _ = ∫⁻ h, ∫⁻ x in s, β (h⁻¹ • x) ∂μ ∂ν := lintegral_congr h_slice | |
| 218 | + _ = ∫⁻ x in s, ∫⁻ h, β (h⁻¹ • x) ∂ν ∂μ := lintegral_lintegral_swap (by fun_prop) | |
| 219 | + _ = ∫⁻ x in s, ∫⁻ h, β (h • x) ∂ν.inv ∂μ := by | |
| 220 | + simp (disch := fun_prop) [Measure.inv, lintegral_map] | |
| 221 | + | |
| 222 | +/-- Unfolding: for an inversion invariant s-finite measure `ν` on `H`, an s-finite invariant measure | |
| 223 | +`μ` on `X` and a cutoff `β`, the map `(x, h) ↦ h • x` carries `(β μ) × ν` to `μ`. -/ | |
| 224 | +@[to_additive] | |
| 225 | +lemma IsCutoff.measurePreserving [IsInvInvariant ν] (hβ : IsCutoff ν β) : | |
| 226 | + MeasurePreserving (fun p : X × H ↦ p.2 • p.1) ((μ.withDensity β).prod ν) μ := by | |
| 227 | + -- The density in `measurePreserving_smul_prod` is `1`: `ν` is invariant under inversion and the | |
| 228 | + -- integral of `β` over each orbit is `1`. | |
| 229 | + have ⟨hβ_meas, hβ_one⟩ := hβ | |
| 230 | + simpa [hβ_one] using measurePreserving_smul_prod (ν := ν) (μ := μ) hβ_meas | |
| 231 | + | |
| 232 | +/-- Independence of the cutoff. Let `ν` be an s-finite, inversion-invariant measure on the group `H` | |
| 233 | +and `μ` an s-finite, `H`-invariant measure on `X`. If `β` is a cutoff (measurable, with | |
| 234 | +`∫⁻ h, β (h • x) ∂ν = 1` for every `x`), then every measurable `H`-invariant `F` has the same | |
| 235 | +distribution under `μ.withDensity β` as under `orbitMeasure ν μ`, which is `μ` weighted by a fixed | |
| 236 | +chosen cutoff and stands in on `X` for the quotient measure on `H \ X`. -/ | |
| 237 | +lemma identDistrib_orbitMeasure [IsInvInvariant ν] (hβ : IsCutoff ν β) (hF : Measurable F) | |
| 238 | + (h_inv : ∀ (h : H) (x : X), F (h • x) = F x) : | |
| 239 | + IdentDistrib F F (orbitMeasure ν μ) (μ.withDensity β) := | |
| 240 | + identDistrib_orbitMeasure_of_unfold (c := ⟨β, hβ⟩) (.id ν) hβ.measurePreserving hF measurable_id | |
| 241 | + h_inv | |
| 242 | + | |
| 243 | +/-- A cutoff `β` for an inversion invariant s-finite measure `ν` on `H` is finite almost everywhere | |
| 244 | +for every s-finite `H`-invariant measure `μ` on `X`. -/ | |
| 245 | +lemma IsCutoff.ae_cutoff_lt_top [IsInvInvariant ν] (hβ : IsCutoff ν β) : | |
| 246 | + ∀ᵐ x : X ∂μ, β x < ⊤ := by | |
| 247 | + -- Unfold `μ`: the integral of `β` over each orbit is finite, so `β` is finite almost everywhere. | |
| 248 | + have ⟨h_meas, h_one⟩ := hβ | |
| 249 | + have h_orbit (x : X) : ∀ᵐ h : H ∂ν, β (h • x) < ⊤ := | |
| 250 | + ae_lt_top (by fun_prop) (by simp [h_one]) | |
| 251 | + rw [← hβ.measurePreserving.hasLaw.ae_iff (by measurability)] | |
| 252 | + have h_prod : ∀ᵐ p : X × H ∂(μ.withDensity β).prod ν, β (p.2 • p.1) < ⊤ := by | |
| 253 | + simp (disch := measurability) [ae_prod_iff_ae_ae, h_orbit] | |
| 254 | + exact h_prod | |
| 255 | + | |
| 256 | +/-- Let a group `H` act measurably on `X`, with `ν` an s-finite, inversion-invariant measure on `H` | |
| 257 | +and `μ` an s-finite, `H`-invariant measure on `X`. Let `β` be a cutoff, meaning a measurable | |
| 258 | +`β : X → [0, ∞]` with `∫ β (h • x) dν(h) = 1` for every `x`. Then for any measurable, `H`-invariant | |
| 259 | +`f` with values in a real normed space, the integral of `f` against the quotient measure | |
| 260 | +`orbitMeasure ν μ` (the measure `μ` weighted by a chosen cutoff) equals `∫ β(y) • f(y) dμ`. -/ | |
| 261 | +lemma IsCutoff.integral_orbitMeasure [IsInvInvariant ν] (hβ : IsCutoff ν β) | |
| 262 | + (h_inv : ∀ (h : H) (y : X), f (h • y) = f y) (hf : Measurable f := by fun_prop) : | |
| 263 | + ∫ y : X, f y ∂orbitMeasure ν μ = ∫ y : X, (β y).toReal • f y ∂μ := by | |
| 264 | + have ⟨hβ_meas, _⟩ := hβ | |
| 265 | + rw [(identDistrib_orbitMeasure hβ hf h_inv).integral_eq, | |
| 266 | + integral_withDensity_eq_integral_toReal_smul hβ_meas hβ.ae_cutoff_lt_top] | |
| 267 | + | |
| 268 | +/-! ### Unfolding with the chosen cutoff -/ | |
| 269 | + | |
| 270 | +/-- Unfolding for the quotient measure (Weil's formula): let `ν` be an s-finite, inversion-invariant | |
| 271 | +measure on `H`, and `μ` an s-finite, `H`-invariant measure on `X`. Suppose the action of `H` on `X` | |
| 272 | +has a cutoff, meaning a measurable weight on `X` whose `ν`-integral over each orbit is one. Then | |
| 273 | +`(x, h) ↦ h • x` carries `orbitMeasure ν μ × ν` to `μ`. Here `orbitMeasure ν μ` is `μ` weighted by a | |
| 274 | +chosen cutoff, a measure on `X` standing in for the quotient measure on `H \ X`. -/ | |
| 275 | +@[to_additive measurePreserving_addOrbitMeasure] | |
| 276 | +lemma measurePreserving_orbitMeasure [IsInvInvariant ν] [c : HasCutoff ν X] : | |
| 277 | + MeasurePreserving (fun p : X × H ↦ p.2 • p.1) ((orbitMeasure ν μ).prod ν) μ := | |
| 278 | + (isCutoff_chosenCutoff ν).measurePreserving | |
| 279 | + | |
| 280 | +/-- Unfold the orbit measure in the second factor of a product, keeping the first variable fixed. -/ | |
| 281 | +@[to_additive measurePreserving_prod_addOrbitMeasure] | |
| 282 | +lemma measurePreserving_prod_orbitMeasure [IsInvInvariant ν] [HasCutoff ν X] | |
| 283 | + {Z : Type*} [MeasurableSpace Z] (m : Measure Z) [SFinite m] : | |
| 284 | + MeasurePreserving (fun p : (Z × X) × H ↦ (p.1.1, p.2 • p.1.2)) | |
| 285 | + ((m.prod (orbitMeasure ν μ)).prod ν) (m.prod μ) := | |
| 286 | + ((MeasurePreserving.id m).prod measurePreserving_orbitMeasure).comp | |
| 287 | + (measurePreserving_prodAssoc m (orbitMeasure ν μ) ν) | |
| 288 | + | |
| 289 | +/-- Let the action of H on X have a cutoff for the inversion invariant measure ν and let the | |
| 290 | +invariant measure μ be positive on nonempty open sets. An H-stable property that holds almost | |
| 291 | +everywhere for the quotient measure `New.orbitMeasure` holds on a dense subset of X. -/ | |
| 292 | +lemma dense_of_ae_orbitMeasure [IsInvInvariant ν] [c : HasCutoff ν X] [TopologicalSpace X] | |
| 293 | + [BorelSpace X] [μ.IsOpenPosMeasure] | |
| 294 | + {p : X → Prop} (h_stable : ∀ (h : H) (x : X), p x → p (h • x)) | |
| 295 | + (h_ae : ∀ᵐ x : X ∂orbitMeasure ν μ, p x) : | |
| 296 | + Dense {x : X | p x} := by | |
| 297 | + -- The closure of `{x | p x}` is measurable, so unfolding shows that it has full measure for `μ`. | |
| 298 | + have h_full : ∀ᵐ x ∂μ, x ∈ closure {x | p x} := by | |
| 299 | + rw [← (measurePreserving_orbitMeasure (ν := ν)).hasLaw.ae_iff (by measurability)] | |
| 300 | + have h_ae_prod : ∀ᵐ z : X × H ∂(orbitMeasure ν μ).prod ν, p z.1 := | |
| 301 | + quasiMeasurePreserving_fst.ae h_ae | |
| 302 | + exact h_ae_prod.mono fun z hz ↦ subset_closure (h_stable z.2 z.1 hz) | |
| 303 | + exact .of_closure (dense_of_ae h_full) | |
| 304 | + | |
| 305 | +/-- A nonnegative integrable invariant function with zero integral for the orbit measure | |
| 306 | +vanishes on a dense set if the original measure is positive on nonempty open sets. -/ | |
| 307 | +lemma dense_eq_zero_of_integral_orbitMeasure_eq_zero [IsInvInvariant ν] [HasCutoff ν X] | |
| 308 | + [TopologicalSpace X] [BorelSpace X] [μ.IsOpenPosMeasure] {ρ : X → ℝ} | |
| 309 | + (hρ_nonneg : 0 ≤ ρ) (hρ_inv : ∀ (a : H) (x : X), ρ (a • x) = ρ x) | |
| 310 | + (hρ_int : Integrable ρ (orbitMeasure ν μ)) (h_zero : ∫ x, ρ x ∂orbitMeasure ν μ = 0) : | |
| 311 | + Dense {x | ρ x = 0} := | |
| 312 | + dense_of_ae_orbitMeasure (fun a x hx ↦ (hρ_inv a x).trans hx) | |
| 313 | + ((integral_eq_zero_iff_of_nonneg hρ_nonneg hρ_int).1 h_zero) | |
| 314 | + | |
| 315 | +/-- Unfolding for `lintegral`: let `ν` be an s-finite, inversion-invariant measure on `H`, and `μ` | |
| 316 | +an s-finite, `H`-invariant measure on `X`. Suppose the action has a cutoff, meaning a measurable | |
| 317 | +weight on `X` whose `ν`-integral over each orbit is one. Then for measurable `f : X → [0, ∞]`, | |
| 318 | +integrating the orbit integral `x ↦ ∫⁻ h, f (h • x) ∂ν` against `orbitMeasure ν μ` gives | |
| 319 | +`∫⁻ x, f x ∂μ`. Here `orbitMeasure ν μ` is `μ` weighted by a chosen cutoff, a measure on `X` | |
| 320 | +standing in for the quotient measure on `H \ X`. -/ | |
| 321 | +@[to_additive lintegral_addOrbitMeasure_lintegral] | |
| 322 | +lemma lintegral_orbitMeasure_lintegral [IsInvInvariant ν] [c : HasCutoff ν X] {f : X → ENNReal} | |
| 323 | + (hf : Measurable f) : | |
| 324 | + ∫⁻ x : X, ∫⁻ h : H, f (h • x) ∂ν ∂orbitMeasure ν μ = ∫⁻ x : X, f x ∂μ := by | |
| 325 | + rw [← (measurePreserving_orbitMeasure (ν := ν)).lintegral_comp hf] | |
| 326 | + exact lintegral_lintegral (by fun_prop) | |
| 327 | + | |
| 328 | +end New | |
| 329 | + | |
| 330 | +end QuotientMeasure | |
| 331 | + | |
| 332 | +/-! | |
| 333 | +## Existence of cutoffs and unfolding a sum over a discrete subgroup | |
| 334 | + | |
| 335 | +* `New.hasCutoff_of_proper`: a proper action on a σ-compact Hausdorff space has a cutoff. | |
| 336 | +* `New.hasCutoff_count`: a discrete subgroup `Γ` acting on `G` by left translation has a cutoff. | |
| 337 | +-/ | |
| 338 | + | |
| 339 | +section CutoffExistence | |
| 340 | + | |
| 341 | +open MeasureTheory Measure Set ENNReal | |
| 342 | + | |
| 343 | +namespace New | |
| 344 | + | |
| 345 | +variable {I H X G : Type*} [MeasurableSpace I] [MeasurableSpace H] [Countable I] [Group G] | |
| 346 | + [MeasurableSingletonClass I] [MeasurableSingletonClass H] [MeasurableSpace X] [TopologicalSpace G] | |
| 347 | + | |
| 348 | +/-! ### Counting measure and sums of weights -/ | |
| 349 | + | |
| 350 | +lemma measurePreserving_count (e : I ≃ H) : MeasurePreserving e count count := by | |
| 351 | + -- Push the sum of Dirac measures forward term by term and reindex it along `e`. | |
| 352 | + refine ⟨.of_discrete, (Measure.map_sum .of_discrete).trans ?_⟩ | |
| 353 | + simp [count, ← Function.comp_def] | |
| 354 | + | |
| 355 | +/-- The integral of a complex function against the counting measure of a countable set is its sum | |
| 356 | +(both are zero when the function is not summable). -/ | |
| 357 | +lemma integral_count_eq_tsum (f : I → ℂ) : ∫ x : I, f x ∂count = ∑' x : I, f x := by | |
| 358 | + simpa [count] using integral_sum_dirac (f := f) (c := 1) (x := id) fun _ ↦ ENNReal.one_ne_top | |
| 359 | + | |
| 360 | +/-- If nonnegative weights `f x` in `[0, ∞]` sum to one, the sum of their multiples of a complex | |
| 361 | +number `z` is `z`. -/ | |
| 362 | +lemma tsum_toReal_smul_of_tsum_eq_one {I : Type*} {f : I → ℝ≥0∞} (h : ∑' x : I, f x = 1) (z : ℂ) : | |
| 363 | + ∑' x : I, (f x).toReal • z = z := by | |
| 364 | + -- Each `f x` is finite, so `toReal` and the cast to `ℂ` commute with the sum. | |
| 365 | + have h_fin (x : I) : f x ≠ ∞ := ne_top_of_tsum_ne_top (by simp [h]) x | |
| 366 | + have h_real : ∑' x : I, (f x).toReal = 1 := by | |
| 367 | + rw [← tsum_toReal_eq h_fin, h, toReal_one] | |
| 368 | + simp [tsum_mul_right, ← Complex.ofReal_tsum, h_real] | |
| 369 | + | |
| 370 | +/-! ### Existence of cutoffs -/ | |
| 371 | + | |
| 372 | +section | |
| 373 | +variable [AddGroup H] [AddAction H X] [MeasurableAdd H] [MeasurableVAdd₂ H X] | |
| 374 | + {ν : Measure H} [SFinite (α := H) ν] [IsAddRightInvariant ν] | |
| 375 | + | |
| 376 | +/-- A proper additive action admits an orbit cutoff. Apply the multiplicative theorem to | |
| 377 | +the same action through the type synonym `Multiplicative H`. -/ | |
| 378 | +instance hasAddCutoff_of_proper [TopologicalSpace H] [TopologicalSpace X] [SigmaCompactSpace X] | |
| 379 | + [T2Space X] [OpensMeasurableSpace X] [ProperVAdd H X] [IsFiniteMeasureOnCompacts ν] | |
| 380 | + [NeZero ν] : HasAddCutoff ν X := by | |
| 381 | + let μ : Measure (Multiplicative H) := ν | |
| 382 | + have : MeasurableMul (Multiplicative H) := | |
| 383 | + ⟨measurable_const_add (M := H), measurable_add_const (M := H)⟩ | |
| 384 | + have : MeasurableSMul₂ (Multiplicative H) X := ⟨‹MeasurableVAdd₂ H X›.measurable_vadd⟩ | |
| 385 | + have : ProperSMul (Multiplicative H) X := ⟨‹ProperVAdd H X›.isProperMap_vadd_pair⟩ | |
| 386 | + have : μ.IsMulRightInvariant := ⟨‹ν.IsAddRightInvariant›.map_add_right_eq_self⟩ | |
| 387 | + have : SFinite μ := ‹SFinite ν› | |
| 388 | + have : IsFiniteMeasureOnCompacts μ := ‹IsFiniteMeasureOnCompacts ν› | |
| 389 | + have : NeZero μ := ‹NeZero ν› | |
| 390 | + obtain ⟨β, hβ⟩ := (hasOrbitCutoff_of_properSMul (ν := μ) (X := X)).exists_isOrbitCutoff | |
| 391 | + exact ⟨β, hβ.measurable, hβ.lintegral_smul⟩ | |
| 392 | +end | |
| 393 | + | |
| 394 | +variable (Γ N : Subgroup G) [DiscreteTopology Γ] [Group H] [MulAction H X] [MeasurableMul H] | |
| 395 | + [MeasurableSMul₂ H X] | |
| 396 | + {ν : Measure H} [SFinite (α := H) ν] [IsMulRightInvariant ν] [TopologicalSpace H] | |
| 397 | + | |
| 398 | +/-- A proper action of `H` on a σ-compact Hausdorff space `X` has a cutoff (a measurable weight with | |
| 399 | +integral one over each orbit) for every nonzero s-finite right-invariant measure `ν` on `H` that is | |
| 400 | +finite on compact sets. Tau Ceti constructs the weight using the first set in a compact exhaustion | |
| 401 | +whose orbit preimage has positive measure. -/ | |
| 402 | +@[to_additive existing hasAddCutoff_of_proper] | |
| 403 | +instance hasCutoff_of_proper [TopologicalSpace X] [SigmaCompactSpace X] [T2Space X] | |
| 404 | + [OpensMeasurableSpace X] [ProperSMul H X] [IsFiniteMeasureOnCompacts ν] [NeZero ν] : | |
| 405 | + HasCutoff ν X := by | |
| 406 | + obtain ⟨β, hβ⟩ := (hasOrbitCutoff_of_properSMul (ν := ν) (X := X)).exists_isOrbitCutoff | |
| 407 | + exact ⟨β, hβ.measurable, hβ.lintegral_smul⟩ | |
| 408 | + | |
| 409 | +/-! ### Cosets of a subgroup and subgroups of discrete subgroups -/ | |
| 410 | + | |
| 411 | +/-- For a subgroup `N` of `G`, the bijection `(G ⧸ N) × N ≃ G` sending `(q, u)` to `u * r⁻¹`, | |
| 412 | +where `r = q.out` is the chosen representative of the left coset `q`. The elements `r⁻¹` | |
| 413 | +represent the right cosets of `N`. -/ | |
| 414 | +noncomputable abbrev cosetProdEquiv : (G ⧸ N) × N ≃ G where | |
| 415 | + toFun := fun (q, u) ↦ u * q.out⁻¹ | |
| 416 | + invFun γ := | |
| 417 | + -- with `q` the coset of `γ⁻¹`, the element `γ * q.out` lies in `N` | |
| 418 | + (↑γ⁻¹, ⟨γ⁻¹⁻¹ * (↑γ⁻¹ : G ⧸ N).out, QuotientGroup.eq.1 (↑γ⁻¹ : G ⧸ N).out_eq.symm⟩) | |
| 419 | + left_inv x := by aesop | |
| 420 | + right_inv x := by aesop | |
| 421 | + | |
| 422 | +instance : DiscreteTopology (Γ.subgroupOf N) := | |
| 423 | + have h_cont : Continuous (Subtype.val : N → G) := continuous_subtypeVal | |
| 424 | + .preimage_of_continuous_injective Γ.carrier h_cont Subtype.val_injective | |
| 425 | + | |
| 426 | +instance : DiscreteTopology ↥(Γ ⊓ N) := | |
| 427 | + .of_subset (s := (Γ : Set G)) (inferInstanceAs (DiscreteTopology Γ)) (by simp) | |
| 428 | + | |
| 429 | +variable [IsTopologicalGroup G] [LocallyCompactSpace G] [SecondCountableTopology G] [T2Space G] | |
| 430 | + [MeasurableSpace G] [BorelSpace G] | |
| 431 | + {S X : Type*} [TopologicalSpace X] [SecondCountableTopology X] [LocallyCompactSpace X] | |
| 432 | + [SetLike S X] {N : S} {μ : Measure G} [IsHaarMeasure μ] | |
| 433 | + | |
| 434 | +@[to_additive] | |
| 435 | +instance : Countable Γ := countable_of_Lindelof_of_discrete | |
| 436 | + | |
| 437 | +instance : SecondCountableTopology N := TopologicalSpace.Subtype.secondCountableTopology _ | |
| 438 | + | |
| 439 | +/-- A closed set `N` in a locally compact space is locally compact, as a subspace. -/ | |
| 440 | +instance locallyCompactSpace_of_isClosed [hN : IsClosed (X := X) N] : LocallyCompactSpace N := | |
| 441 | + hN.locallyCompactSpace | |
| 442 | +/-! ### Discrete subgroups of a locally compact group -/ | |
| 443 | + | |
| 444 | +/-- A discrete subgroup `Γ` of `G`, with counting measure, acting on `G` by left translation has a | |
| 445 | +cutoff. -/ | |
| 446 | +@[to_additive addCutoff] | |
| 447 | +instance hasCutoff_count : HasCutoff (count (α := Γ)) G := inferInstance | |
| 448 | + | |
| 449 | +/-- For the trivial subgroup of `G` and a left Haar measure `μ`, the quotient measure is `μ`. -/ | |
| 450 | +lemma quotMeasure_bot : Subgroup.quotMeasure ⊥ μ = μ := by | |
| 451 | + -- The constant `1` is a cutoff for the trivial group, and the quotient measure does not depend | |
| 452 | + -- on the cutoff. | |
| 453 | + have h_cut : IsCutoff (count : Measure (⊥ : Subgroup G)) (1 : G → ℝ≥0∞) := | |
| 454 | + ⟨measurable_one, by simp⟩ | |
| 455 | + have h_map : (Subgroup.quotMeasure ⊥ μ).map id = (μ.withDensity 1).map id := | |
| 456 | + (identDistrib_orbitMeasure h_cut measurable_id (by simp)).map_eq | |
| 457 | + simpa using h_map | |
| 458 | + | |
| 459 | +/-- Unfolding of a sum over a discrete subgroup `Γ` of `G`, for a left Haar measure `μ` and an | |
| 460 | +integrable `f`: `g ↦ ∑' γ, f (γ * g)` is integrable for the quotient measure on `Γ \ G`, and its | |
| 461 | +integral is `∫ f dμ`. This is Weil's integration formula for a discrete subgroup. -/ | |
| 462 | +lemma integral_quotMeasure_tsum {f : G → ℂ} (hf : Integrable f μ) : | |
| 463 | + Integrable (fun g : G ↦ ∑' γ : Γ, f (γ * g)) (Γ.quotMeasure μ) ∧ | |
| 464 | + ∫ g : G, ∑' γ : Γ, f (γ * g) ∂Γ.quotMeasure μ = ∫ g : G, f g ∂μ := by | |
| 465 | + -- Transport the product of the quotient and counting measures along `(g, γ) ↦ γ * g`. | |
| 466 | + -- Then integrals against the counting measure are sums. | |
| 467 | + obtain ⟨h_prod, h_integral⟩ : | |
| 468 | + Integrable (fun p : G × Γ ↦ f (p.2 * p.1)) ((Γ.quotMeasure μ).prod count) ∧ | |
| 469 | + ∫ g : G, ∫ γ : Γ, f (γ * g) ∂count ∂Γ.quotMeasure μ = ∫ g : G, f g ∂μ := | |
| 470 | + (measurePreserving_orbitMeasure (ν := (count : Measure Γ))).fubini hf | |
| 471 | + exact ⟨by simpa only [integral_count_eq_tsum] using h_prod.integral_prod_left, | |
| 472 | + by simpa only [integral_count_eq_tsum] using h_integral⟩ | |
| 473 | + | |
| 474 | +/-- For a discrete subgroup `Γ` of `G`, a left Haar measure `μ` and an integrable `f`, the sum | |
| 475 | +`g ↦ ∑' γ, f (γ * g)` is integrable for the quotient measure on `Γ \ G`. -/ | |
| 476 | +lemma integrable_quotMeasure_tsum {f : G → ℂ} (hf : Integrable f μ) : | |
| 477 | + Integrable (fun g : G ↦ ∑' γ : Γ, f (γ * g)) (Γ.quotMeasure μ) := | |
| 478 | + (integral_quotMeasure_tsum Γ hf).1 | |
| 479 | + | |
| 480 | +/-- For a discrete subgroup `Γ` of `G`, a left Haar measure `μ` and an integrable `f`, the | |
| 481 | +integral of `g ↦ ∑' γ, f (γ * g)` over `Γ \ G` is `∫ f dμ`. -/ | |
| 482 | +lemma integral_quotMeasure_tsum_eq {f : G → ℂ} (hf : Integrable f μ) : | |
| 483 | + ∫ g : G, ∑' γ : Γ, f (γ * g) ∂Γ.quotMeasure μ = ∫ g : G, f g ∂μ := | |
| 484 | + (integral_quotMeasure_tsum Γ hf).2 | |
| 485 | + | |
| 486 | +end New | |
| 487 | + | |
| 488 | +end CutoffExistence | |
| 489 | + | |
| 490 | +/-! | |
| 491 | +## Transport along equivariant measure preserving maps | |
| 492 | + | |
| 493 | +Integrals over a quotient `H \ X` are integrals against the measure `New.orbitMeasure ν μ`, which is | |
| 494 | +`μ` weighted by a chosen cutoff. It depends on that choice, so only invariant functions have a well | |
| 495 | +defined distribution; results are stated with `IdentDistrib`. | |
| 496 | + | |
| 497 | +* `New.identDistrib_orbitMeasure_comp`: change of variables along an equivariant measure preserving | |
| 498 | + map. | |
| 499 | +-/ | |
| 500 | + | |
| 501 | +section QuotientTransport | |
| 502 | + | |
| 503 | +open MeasureTheory ProbabilityTheory New | |
| 504 | + | |
| 505 | +variable {H X H' Y Z : Type*} [MeasurableSpace H] [MeasurableSpace X] [MeasurableSpace H'] | |
| 506 | + [MeasurableSpace Y] [MeasurableSpace Z] [Group H] [MulAction H X] [MeasurableInv H] | |
| 507 | + [MeasurableSMul₂ H X] {ν : Measure H} [SFinite (α := H) ν] [ν.IsInvInvariant] | |
| 508 | + {μ : Measure X} [SFinite μ] [SMulInvariantMeasure H X μ] [HasCutoff ν X] | |
| 509 | + | |
| 510 | +/-- Change of variables on quotients. Let `σ : H → H'` and `T : X → Y` preserve the measures, with | |
| 511 | +`T (h • x) = σ h • T x`. For a measurable `H'`-invariant `F` on `Y`, the function `F ∘ T` on `H \ X` | |
| 512 | +and the function `F` on `H' \ Y` have the same distribution. -/ | |
| 513 | +@[to_additive identDistrib_addOrbitMeasure_comp] | |
| 514 | +lemma New.identDistrib_orbitMeasure_comp [SMul H' Y] [MeasurableSMul₂ H' Y] {ν' : Measure H'} | |
| 515 | + {μ' : Measure Y} [HasCutoff ν' Y] {σ : H → H'} (hσ : MeasurePreserving σ ν ν') {T : X → Y} | |
| 516 | + (hT : MeasurePreserving T μ μ') (h_equiv : ∀ (a : H) (x : X), T (a • x) = (σ a : H') • T x) | |
| 517 | + {F : Y → Z} (hF_inv : ∀ (a : H') (y : Y), F (a • y) = F y) (hF : Measurable F := by fun_prop) : | |
| 518 | + IdentDistrib (fun x : X ↦ F (T x)) F (orbitMeasure ν μ) (orbitMeasure ν' μ') := by | |
| 519 | + -- `orbitMeasure ν μ` unfolds to `μ`, and `T` is equivariant, so along `σ` and `T` it unfolds to | |
| 520 | + -- `μ'`. | |
| 521 | + have h_eq : (fun p : X × H ↦ σ p.2 • T p.1) = T ∘ fun p : X × H ↦ p.2 • p.1 := | |
| 522 | + funext fun p ↦ (h_equiv p.2 p.1).symm | |
| 523 | + have h_unfold : MeasurePreserving (fun p : X × H ↦ σ p.2 • T p.1) | |
| 524 | + ((orbitMeasure ν μ).prod ν) μ' := by | |
| 525 | + rw [h_eq] | |
| 526 | + exact hT.comp measurePreserving_orbitMeasure | |
| 527 | + exact (identDistrib_orbitMeasure_of_unfold hσ h_unfold hF hT.measurable hF_inv).symm | |
| 528 | + | |
| 529 | +/-- If `μ` is right invariant on the group `X` and `(h • x) * g = h • (x * g)`, then right | |
| 530 | +translation by `g` does not change the distribution on `H \ X` of a measurable `H`-invariant | |
| 531 | +function. -/ | |
| 532 | +lemma New.identDistrib_orbitMeasure_mul_right [Group X] [MeasurableMul₂ X] [IsScalarTower H X X] | |
| 533 | + [μ.IsMulRightInvariant] (g : X) {F : X → Z} (hF_inv : ∀ (h : H) (y : X), F (h • y) = (F y : Z)) | |
| 534 | + (hF : Measurable F := by fun_prop) : | |
| 535 | + IdentDistrib (fun x : X ↦ F (x * g)) F (orbitMeasure ν μ) (orbitMeasure ν μ) := | |
| 536 | + identDistrib_orbitMeasure_comp (.id _) (measurePreserving_mul_right μ g) | |
| 537 | + (fun h x ↦ smul_mul_assoc h x g) hF_inv hF | |
| 538 | + | |
| 539 | +end QuotientTransport | |
| 540 | + | |
| 541 | +/-! | |
| 542 | +## Unimodularity and finite covolume of cocompact discrete subgroups | |
| 543 | + | |
| 544 | +* `New.isFiniteMeasure_quotMeasure_of_cocompact`: a cocompact discrete subgroup has finite covolume. | |
| 545 | +-/ | |
| 546 | + | |
| 547 | +section Unimodular | |
| 548 | + | |
| 549 | +open MeasureTheory Set Measure NeZero | |
| 550 | + | |
| 551 | +namespace New | |
| 552 | + | |
| 553 | +/-- Haar measure on a compact topological group is right invariant. -/ | |
| 554 | +instance {G : Type*} [Group G] [TopologicalSpace G] | |
| 555 | + [IsTopologicalGroup G] [MeasurableSpace G] [BorelSpace G] {μ : Measure G} | |
| 556 | + [IsHaarMeasure μ] [CompactSpace G] : IsMulRightInvariant μ := | |
| 557 | + isMulRightInvariant_of_isHaarMeasure_of_isFiniteMeasure μ | |
| 558 | + | |
| 559 | +variable {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [LocallyCompactSpace G] | |
| 560 | + [SecondCountableTopology G] [T2Space G] [MeasurableSpace G] [BorelSpace G] | |
| 561 | + {μ : Measure G} [IsHaarMeasure μ] | |
| 562 | + {Γ : Subgroup G} [DiscreteTopology Γ] | |
| 563 | + | |
| 564 | +@[to_additive ne_addQuot] | |
| 565 | +instance : NeZero (Γ.quotMeasure μ) := | |
| 566 | + -- Unfolding carries `Γ.quotMeasure μ ⊗ count` to `μ`, which is not zero. | |
| 567 | + ⟨fun h_zero ↦ by | |
| 568 | + have h_map : ((Γ.quotMeasure μ).prod count).map (fun p : G × Γ ↦ p.2 • p.1) = μ := | |
| 569 | + measurePreserving_orbitMeasure.map_eq | |
| 570 | + simp [h_zero, ne'] at h_map⟩ | |
| 571 | + | |
| 572 | +/-- A group with a lattice is unimodular: if Γ is discrete in the locally compact second | |
| 573 | +countable Hausdorff group G and Γ\G has finite volume for the left Haar measure μ, then μ is | |
| 574 | +right invariant. -/ | |
| 575 | +lemma isMulRightInvariant_of_finite_covolume (_h_finite : IsFiniteMeasure (Γ.quotMeasure μ)) : | |
| 576 | + IsMulRightInvariant μ := by | |
| 577 | + -- Right translation by `g` scales `μ` by the modular character. It commutes with the left action | |
| 578 | + -- of `Γ`, so the quotient has the same volume for `μ` and for the scaled measure. | |
| 579 | + refine ⟨fun g ↦ ?_⟩ | |
| 580 | + have h_mod : μ.map (· * g) = modularCharacterFun g • μ := | |
| 581 | + map_right_mul_eq_modularCharacterFun_smul μ g | |
| 582 | + have h_equiv (γ : Γ) (x : G) : γ • x * g = γ • (x * g) := smul_mul_assoc γ x g | |
| 583 | + have h_translate : MeasurePreserving (· * g) μ (modularCharacterFun g • μ) := | |
| 584 | + ⟨measurable_mul_const g, h_mod⟩ | |
| 585 | + have h_vol : ∫⁻ _ : G, 1 ∂Γ.quotMeasure (modularCharacterFun g • μ) = | |
| 586 | + ∫⁻ _ : G, 1 ∂Γ.quotMeasure μ := | |
| 587 | + (identDistrib_orbitMeasure_comp (.id (count : Measure Γ)) h_translate h_equiv | |
| 588 | + (fun _ _ ↦ rfl) measurable_one).symm.lintegral_eq | |
| 589 | + -- The volume is finite and nonzero, so the factor is one. (`withDensity_apply` would expand the | |
| 590 | + -- quotient measures, so it is removed from `simp`.) | |
| 591 | + have h_scale : (modularCharacterFun g : ENNReal) * Γ.quotMeasure μ univ = | |
| 592 | + Γ.quotMeasure μ univ := by | |
| 593 | + simpa [← coe_nnreal_smul, -withDensity_apply, withDensity_smul_measure] using h_vol | |
| 594 | + have h_one : modularCharacterFun g = 1 := by | |
| 595 | + simpa [ne, ENNReal.mul_eq_right, -withDensity_apply] using h_scale | |
| 596 | + rw [h_mod, h_one, one_smul] | |
| 597 | + | |
| 598 | +instance [IsMulRightInvariant μ] : IsInvInvariant μ := by | |
| 599 | + -- The two measures agree on the symmetric set `K₀ ∪ K₀⁻¹` of positive finite measure. | |
| 600 | + obtain ⟨K₀⟩ : Nonempty (TopologicalSpace.PositiveCompacts G) := inferInstance | |
| 601 | + let K : TopologicalSpace.PositiveCompacts G := K₀ ⊔ K₀.map _ continuous_inv (isOpenMap_inv G) | |
| 602 | + refine ⟨isMulLeftInvariant_eq_of_apply_eq μ.inv μ | |
| 603 | + (measure_pos_of_nonempty_interior μ K.interior_nonempty).ne' K.isCompact.measure_lt_top.ne ?_⟩ | |
| 604 | + simp [K, union_comm, ← Set.inv_preimage, preimage_preimage] | |
| 605 | + | |
| 606 | +variable (μ) | |
| 607 | + | |
| 608 | +/-- A cocompact discrete subgroup `Γ` of `G` has finite covolume: if some compact set `C` meets | |
| 609 | +every orbit `Γ g`, the quotient measure of the left Haar measure `μ` on `Γ \ G` is finite. -/ | |
| 610 | +@[to_additive isFiniteMeasure_addOrbitMeasure] | |
| 611 | +lemma isFiniteMeasure_quotMeasure_of_cocompact : | |
| 612 | + Γ.IsCocompact → IsFiniteMeasure (Γ.quotMeasure μ) := by | |
| 613 | + -- Unfolding: the mass of the quotient is at most the integral over it of the number of `γ` with | |
| 614 | + -- `γ • x ∈ C` (that number is at least one), and this integral is at most `μ C < ∞`. | |
| 615 | + rintro ⟨C, hC, h_meets⟩ | |
| 616 | + set σ : Measure G := Γ.quotMeasure μ | |
| 617 | + let E : Set (G × Γ) := (fun p : G × Γ ↦ p.2 • p.1) ⁻¹' C | |
| 618 | + have h_one_le (x : G) : 1 ≤ count (Prod.mk x ⁻¹' E) := by | |
| 619 | + obtain ⟨γ, hγ, hγC⟩ := h_meets x | |
| 620 | + have h_mem : (⟨γ, hγ⟩ : Γ) ∈ Prod.mk x ⁻¹' E := hγC | |
| 621 | + exact (le_tsum _ ⟨⟨γ, hγ⟩, h_mem⟩).trans le_count_apply | |
| 622 | + constructor | |
| 623 | + calc σ univ = ∫⁻ _, 1 ∂σ := lintegral_one.symm | |
| 624 | + _ ≤ ∫⁻ x, count (Prod.mk x ⁻¹' E) ∂σ := lintegral_mono h_one_le | |
| 625 | + _ = σ.prod count E := (prod_apply (hC.measurableSet.preimage (by fun_prop))).symm | |
| 626 | + -- unfolding: `(x, γ) ↦ γ • x` carries the product measure to `μ` | |
| 627 | + _ ≤ μ C := measurePreserving_orbitMeasure.measure_preimage_le C | |
| 628 | + _ < ⊤ := hC.measure_lt_top | |
| 629 | + | |
| 630 | +omit [T2Space G] in | |
| 631 | +/-- If the left Haar measure `μ` is also right invariant, every s-finite right invariant measure | |
| 632 | +is `d • μ` for some `d` in `[0, ∞]`. -/ | |
| 633 | +lemma exists_eq_smul_haar [μ.IsMulRightInvariant] {ν : Measure G} [SFinite ν] | |
| 634 | + (_hν : ν.IsMulRightInvariant) : | |
| 635 | + ∃ d : ENNReal, ν = d • μ := by | |
| 636 | + -- Compare the left invariant measures `ν.inv` and `(μ V)⁻¹ • μ`, for a set `V` of finite positive | |
| 637 | + -- measure, by `measure_mul_lintegral_eq`. | |
| 638 | + obtain ⟨V, hV_meas, -, hV_pos, hV_fin⟩ : | |
| 639 | + ∃ V : Set G, MeasurableSet V ∧ V ⊆ univ ∧ 0 < μ V ∧ μ V < ⊤ := | |
| 640 | + μ.exists_subset_measure_lt_top .univ (NeZero.pos _) | |
| 641 | + refine ⟨ν.inv V * (μ V)⁻¹, Eq.symm ?_⟩ | |
| 642 | + refine ext_of_lintegral _ fun f hf ↦ ?_ | |
| 643 | + have h_compare : ν.inv V * ∫⁻ y : G, f y ∂(μ V)⁻¹ • μ = | |
| 644 | + ∫⁻ x : G, ((μ V)⁻¹ • μ) ((· * x) ⁻¹' V) * f x⁻¹ ∂ν.inv := | |
| 645 | + measure_mul_lintegral_eq ν.inv ((μ V)⁻¹ • μ) hV_meas f hf | |
| 646 | + -- Right invariance of `μ` makes the weight one. | |
| 647 | + have h_weight (x : G) : ((μ V)⁻¹ • μ) ((· * x) ⁻¹' V) = 1 := by | |
| 648 | + simp [ENNReal.inv_mul_cancel hV_pos.ne' hV_fin.ne] | |
| 649 | + -- The two inversions cancel. | |
| 650 | + simpa [h_weight, mul_assoc, measurableEmbedding_inv.lintegral_map, inv_def] using h_compare | |
| 651 | + | |
| 652 | +end New | |
| 653 | + | |
| 654 | +end Unimodular | |
| 655 | + | |
| 656 | +namespace New | |
| 657 | + | |
| 658 | +/-! | |
| 659 | +## The mean of a periodic function over a compact quotient | |
| 660 | + | |
| 661 | +The mean of a periodic function on a topological abelian group `B` over a compact quotient `B ⧸ B₀`, | |
| 662 | +for the Haar probability measure. Functions stay on `B`; they are read on the quotient through | |
| 663 | +chosen representatives `q.out`. | |
| 664 | + | |
| 665 | +* `New.quotMean_quotMean`: the mean may be computed in two steps, along a continuous homomorphism | |
| 666 | + from a product `A × A'` onto `B`. | |
| 667 | +-/ | |
| 668 | + | |
| 669 | +section PeriodicMean | |
| 670 | +/- `B₀` and `A₀` are subgroups with compact quotient, `F` is a function on `B` and `φ` is a | |
| 671 | +homomorphism from `A` to `B`. -/ | |
| 672 | +variable {B A : Type*} [AddCommGroup B] [TopologicalSpace B] [IsTopologicalAddGroup B] | |
| 673 | + (B₀ : AddSubgroup B) [CompactSpace (B ⧸ B₀)] | |
| 674 | + (F : B → ℂ) [AddCommGroup A] [TopologicalSpace A] [IsTopologicalAddGroup A] | |
| 675 | + (A₀ : AddSubgroup A) [CompactSpace (A ⧸ A₀)] (φ : A →+ B) | |
| 676 | + | |
| 677 | +/-- The property that a function F on a topological abelian group B is continuous and satisfies | |
| 678 | +F(γ+x)=F(x) for all γ in the subgroup B₀ and all x. -/ | |
| 679 | +def IsContPeriodic : Prop := Continuous F ∧ ∀ γ ∈ B₀, ∀ x : B, F (γ + x) = F x | |
| 680 | + | |
| 681 | +/-- The Borel σ-algebra on the quotient B/B₀ of a topological abelian group B by a subgroup B₀. -/ | |
| 682 | +scoped instance IsDualFamily.quotMeasurableSpace : MeasurableSpace (B ⧸ B₀) := borel _ | |
| 683 | + | |
| 684 | +open IsDualFamily MeasureTheory QuotientAddGroup Function | |
| 685 | + | |
| 686 | +instance : BorelSpace (B ⧸ B₀) := ⟨rfl⟩ | |
| 687 | + | |
| 688 | +instance : IsProbabilityMeasure (α := B ⧸ B₀) (Measure.addHaarMeasure ⊤) := | |
| 689 | + ⟨Measure.addHaarMeasure_self⟩ | |
| 690 | + | |
| 691 | +/-- The mean of a complex-valued function `F` over the compact quotient `B ⧸ B₀`. It is the integral | |
| 692 | +of `F q.out` against the Haar probability measure, where `q.out` is a chosen coset | |
| 693 | +representative. -/ | |
| 694 | +noncomputable def quotMean : ℂ := ∫ q : B ⧸ B₀, F q.out ∂Measure.addHaarMeasure ⊤ | |
| 695 | + | |
| 696 | +/-- A bound for `F` bounds its mean, the measure being a probability measure. -/ | |
| 697 | +lemma norm_quotMean_le {F : B → ℂ} {C : ℝ} (h : ∀ x : B, ‖F x‖ ≤ C) : ‖quotMean B₀ F‖ ≤ C := by | |
| 698 | + simpa [quotMean] using norm_integral_le_of_norm_le_const (μ := .addHaarMeasure ⊤) | |
| 699 | + (.of_forall fun q : B ⧸ B₀ ↦ h q.out) | |
| 700 | + | |
| 701 | +variable {B₀ F} | |
| 702 | + | |
| 703 | +@[simp] | |
| 704 | +lemma quotMean_const_mul (c : ℂ) (F : B → ℂ) : | |
| 705 | + quotMean B₀ (fun x : B ↦ c * F x) = c * quotMean B₀ F := | |
| 706 | + integral_const_mul c _ | |
| 707 | + | |
| 708 | +@[simp] | |
| 709 | +lemma quotMean_const (c : ℂ) : quotMean B₀ (fun _ : B ↦ c) = c := by simp [quotMean] | |
| 710 | + | |
| 711 | +omit [IsTopologicalAddGroup B] [CompactSpace (B ⧸ B₀)] in | |
| 712 | +/-- A continuous `B₀`-periodic function takes at the chosen representative of the coset of `x` | |
| 713 | +the same value as at `x`. -/ | |
| 714 | +lemma IsContPeriodic.apply_out_mk (h : IsContPeriodic B₀ F) (x : B) : | |
| 715 | + F (mk x : B ⧸ B₀).out = F x := by | |
| 716 | + obtain ⟨γ, hγ⟩ : ∃ γ : B₀, (mk x : B ⧸ B₀).out = x + γ := mk_out_eq_add B₀ x | |
| 717 | + rw [hγ, add_comm, h.2 γ γ.property x] | |
| 718 | + | |
| 719 | +omit [IsTopologicalAddGroup B] [CompactSpace (B ⧸ B₀)] in | |
| 720 | +/-- A continuous `B₀`-periodic function, read at coset representatives, is continuous on | |
| 721 | +`B ⧸ B₀`. -/ | |
| 722 | +lemma IsContPeriodic.continuous_out (h : IsContPeriodic B₀ F) : | |
| 723 | + Continuous fun q : B ⧸ B₀ ↦ F q.out := by | |
| 724 | + -- the composite with the projection is `F` | |
| 725 | + refine (isQuotientMap_mk B₀).continuous_iff.2 ?_ | |
| 726 | + simpa [comp_def, h.apply_out_mk] using h.1 | |
| 727 | + | |
| 728 | +/-- A continuous `B₀`-periodic function, read at coset representatives, is integrable on the | |
| 729 | +compact quotient `B ⧸ B₀`. -/ | |
| 730 | +lemma IsContPeriodic.integrable_out (h : IsContPeriodic B₀ F) : | |
| 731 | + Integrable (fun q : B ⧸ B₀ ↦ F q.out) (Measure.addHaarMeasure ⊤) := | |
| 732 | + h.continuous_out.integrable_of_hasCompactSupport (.of_compactSpace _) | |
| 733 | + | |
| 734 | +/-- A translate of a continuous `B₀`-periodic function has the same mean over `B ⧸ B₀`. -/ | |
| 735 | +lemma quotMean_translate (h : IsContPeriodic B₀ F) (a : B) : | |
| 736 | + quotMean B₀ (fun x : B ↦ F (x + a)) = quotMean B₀ F := by | |
| 737 | + -- Haar measure on the quotient is invariant under translation by the class of `a` | |
| 738 | + calc | |
| 739 | + _ = ∫ q : B ⧸ B₀, F (q + a).out ∂.addHaarMeasure ⊤ := by simp [quotMean, ← h.apply_out_mk] | |
| 740 | + _ = _ := integral_add_right_eq_self (fun q : B ⧸ B₀ ↦ F q.out) ↑a | |
| 741 | + | |
| 742 | +/-- Let `φ : A × A' → B` be a continuous surjective homomorphism that sends `A₀ × A₁` into `B₀`; all | |
| 743 | +three quotients are compact and `A` is second countable. For `F` continuous and `B₀`-periodic, the | |
| 744 | +mean of `F (φ (a, a'))` over `A' ⧸ A₁` and then over `A ⧸ A₀` is the mean of `F` over `B ⧸ B₀`. -/ | |
| 745 | +lemma quotMean_quotMean (h : IsContPeriodic B₀ F) [SecondCountableTopology A] {A' : Type*} | |
| 746 | + [AddCommGroup A'] [TopologicalSpace A'] [IsTopologicalAddGroup A'] (A₁ : AddSubgroup A') | |
| 747 | + [CompactSpace (A' ⧸ A₁)] (φ : A × A' →+ B) (hφ : Continuous φ) | |
| 748 | + (h₀ : ∀ a ∈ A₀, ∀ b ∈ A₁, φ (a, b) ∈ B₀) (hs : Surjective φ) : | |
| 749 | + quotMean A₀ (fun a : A ↦ quotMean A₁ fun b : A' ↦ F (φ (a, b))) = quotMean B₀ F := by | |
| 750 | + -- `φ` induces a continuous surjective homomorphism `ψ` of the compact quotients, so `ψ` | |
| 751 | + -- preserves the Haar probability measures; then Fubini. | |
| 752 | + have h_le : A₀.prod A₁ ≤ B₀.comap φ := by | |
| 753 | + rintro ⟨a, b⟩ ⟨ha, hb⟩ | |
| 754 | + exact h₀ a ha b hb | |
| 755 | + let ψ : (A ⧸ A₀) × (A' ⧸ A₁) →+ B ⧸ B₀ := | |
| 756 | + (map (A₀.prod A₁) B₀ φ h_le).comp (prodAddEquiv A₀ A₁).symm.toAddMonoidHom | |
| 757 | + have hψ_mk (x : A × A') : (φ x : B ⧸ B₀) = ψ (x.1, x.2) := rfl | |
| 758 | + -- continuity of a map on a quotient is tested after composing with the projection | |
| 759 | + have hψ_cont : Continuous ψ := | |
| 760 | + (isOpenQuotientMap_mk.prodMap isOpenQuotientMap_mk).continuous_comp_iff.1 | |
| 761 | + (continuous_mk.comp hφ) | |
| 762 | + have hψ_surj : Surjective ψ := fun q ↦ by | |
| 763 | + obtain ⟨x, hx⟩ := (mk_surjective.comp hs) q | |
| 764 | + exact ⟨(x.1, x.2), (hψ_mk x).symm.trans hx⟩ | |
| 765 | + have hψ_preserving : MeasurePreserving ψ | |
| 766 | + ((Measure.addHaarMeasure ⊤).prod (.addHaarMeasure ⊤)) (.addHaarMeasure ⊤) := | |
| 767 | + ψ.measurePreserving hψ_cont hψ_surj (by simp) | |
| 768 | + -- periodicity lets `F` be read at any representative | |
| 769 | + have h_read (p : (A ⧸ A₀) × (A' ⧸ A₁)) : F (φ (p.1.out, p.2.out)) = F (ψ p).out := by | |
| 770 | + rw [← h.apply_out_mk, hψ_mk] | |
| 771 | + simp | |
| 772 | + calc quotMean A₀ (fun a : A ↦ quotMean A₁ fun b : A' ↦ F (φ (a, b))) | |
| 773 | + = ∫ p : A ⧸ A₀, ∫ q : A' ⧸ A₁, F (ψ (p, q)).out ∂.addHaarMeasure ⊤ ∂.addHaarMeasure ⊤ := by | |
| 774 | + simp only [quotMean, ← h_read] | |
| 775 | + _ = quotMean B₀ F := (hψ_preserving.fubini h.integrable_out).2 | |
| 776 | + | |
| 777 | +/-- The mean of a continuous `B₀`-periodic function may be computed after pull-back along a | |
| 778 | +continuous surjective homomorphism `φ : A → B` that sends `A₀` into `B₀`. -/ | |
| 779 | +lemma quotMean_comp (h : IsContPeriodic B₀ F) (h₀ : ∀ a ∈ A₀, φ a ∈ B₀) (hs : Surjective φ) | |
| 780 | + (hφ : Continuous φ := by | |
| 781 | + simp | |
| 782 | + fun_prop) : | |
| 783 | + quotMean A₀ (fun a : A ↦ F (φ a)) = quotMean B₀ F := by | |
| 784 | + -- `quotMean_quotMean` with the trivial group as first factor | |
| 785 | + have h_surj : Surjective (φ.comp (AddMonoidHom.snd Unit A)) := hs.comp Prod.snd_surjective | |
| 786 | + have h_two : quotMean (⊤ : AddSubgroup Unit) (fun _ : Unit ↦ quotMean A₀ fun a : A ↦ F (φ a)) = | |
| 787 | + quotMean B₀ F := | |
| 788 | + quotMean_quotMean (A := Unit) ⊤ h A₀ (φ.comp (AddMonoidHom.snd Unit A)) hφ.snd' | |
| 789 | + (fun _ _ ↦ h₀) h_surj | |
| 790 | + -- the mean over the trivial quotient is evaluation of the constant | |
| 791 | + rwa [quotMean_const] at h_two | |
| 792 | + | |
| 793 | +end PeriodicMean | |
| 794 | + | |
| 795 | +/-! | |
| 796 | +## The periodic mean as an average against the quotient measure | |
| 797 | + | |
| 798 | +Let `B₀` be a discrete cocompact subgroup of a locally compact abelian group `B` with Haar measure | |
| 799 | +`μ`. The measure `B₀.quotMeasure μ` on `B`, assumed finite, plays the role of the restriction of | |
| 800 | +`μ` to a fundamental domain; its mass is the covolume of `B₀`. | |
| 801 | + | |
| 802 | +* `New.average_quotMeasure_eq_quotMean`: the mean `New.quotMean` of a continuous periodic function | |
| 803 | + over `B ⧸ B₀` is its average against `B₀.quotMeasure μ`. | |
| 804 | +-/ | |
| 805 | + | |
| 806 | +section PeriodicUnfolding | |
| 807 | + | |
| 808 | +open MeasureTheory Measure QuotientAddGroup IsDualFamily | |
| 809 | + | |
| 810 | +variable {B : Type*} [AddCommGroup B] [TopologicalSpace B] [IsTopologicalAddGroup B] | |
| 811 | + [MeasurableSpace B] [BorelSpace B] [PolishSpace B] [LocallyCompactSpace B] (B₀ : AddSubgroup B) | |
| 812 | + (μ : Measure B) [CompactSpace (B ⧸ B₀)] [DiscreteTopology B₀] [μ.IsAddHaarMeasure] | |
| 813 | + [IsFiniteMeasure (B₀.quotMeasure μ)] | |
| 814 | + | |
| 815 | +/-- Here `B₀.quotMeasure μ` is μ weighted by a cutoff for the action of B₀, a measure on B that | |
| 816 | +computes integrals over B ⧸ B₀. `quotMean B₀ F` is the integral of F over B ⧸ B₀ against the Haar | |
| 817 | +probability measure. For B₀ discrete and cocompact in B, μ a Haar measure with `B₀.quotMeasure μ` | |
| 818 | +finite, and F continuous and B₀-periodic, the average of F against `B₀.quotMeasure μ` equals | |
| 819 | +`quotMean B₀ F`. -/ | |
| 820 | +lemma average_quotMeasure_eq_quotMean {F : B → ℂ} (hF : IsContPeriodic B₀ F) : | |
| 821 | + ⨍ x : B, F x ∂B₀.quotMeasure μ = quotMean B₀ F := by | |
| 822 | + have h_mk : Measurable (mk : B → B ⧸ B₀) := continuous_mk.measurable | |
| 823 | + -- The image `m` of `B₀.quotMeasure μ` in the quotient is translation invariant, because `μ` is: | |
| 824 | + -- `identDistrib_addOrbitMeasure_comp` transports the distribution of an invariant function, here | |
| 825 | + -- `mk`, along an equivariant measure preserving map, here the translation by `a`. | |
| 826 | + set m : Measure (B ⧸ B₀) := (B₀.quotMeasure μ).map mk with hm | |
| 827 | + have h_translate (a : B) : | |
| 828 | + (B₀.quotMeasure μ).map (fun x : B ↦ (mk (a + x) : B ⧸ B₀)) = m := by | |
| 829 | + have h_equiv (γ : B₀) (x : B) : a + (γ +ᵥ x) = γ +ᵥ (a + x) := add_left_comm a (γ : B) x | |
| 830 | + exact (identDistrib_addOrbitMeasure_comp (.id (count : Measure B₀)) | |
| 831 | + (measurePreserving_add_left μ a) h_equiv (by simp) h_mk).map_eq | |
| 832 | + have h_inv : m.IsAddLeftInvariant := | |
| 833 | + ⟨forall_mk.2 fun a ↦ (Measure.map_map (measurable_const_add _) h_mk).trans (h_translate a)⟩ | |
| 834 | + -- So it is the Haar probability measure times the total mass of `B₀.quotMeasure μ`. | |
| 835 | + have h_haar : m = (B₀.quotMeasure μ) Set.univ • addHaarMeasure ⊤ := by | |
| 836 | + simpa [hm, h_mk, -withDensity_apply] using addHaarMeasure_unique m ⊤ | |
| 837 | + have h_integral : ∫ x : B, F x ∂B₀.quotMeasure μ = | |
| 838 | + (B₀.quotMeasure μ).real Set.univ • quotMean B₀ F := | |
| 839 | + calc ∫ x : B, F x ∂B₀.quotMeasure μ = ∫ x : B, F (mk x : B ⧸ B₀).out ∂B₀.quotMeasure μ := by | |
| 840 | + simp only [hF.apply_out_mk] | |
| 841 | + _ = ∫ q : B ⧸ B₀, F q.out ∂m := (integral_map h_mk.aemeasurable | |
| 842 | + hF.continuous_out.aestronglyMeasurable).symm | |
| 843 | + _ = (B₀.quotMeasure μ).real Set.univ • quotMean B₀ F := by | |
| 844 | + rw [h_haar, integral_smul_measure, ← real_def, quotMean] | |
| 845 | + -- The mass is finite and not zero, and the average divides by it. | |
| 846 | + rw [average_eq, h_integral, inv_smul_smul₀ measureReal_univ_ne_zero] | |
| 847 | + | |
| 848 | +/-- Unfolding: if `F` is integrable on `B` and `G x = ∑_{γ ∈ B₀} F (γ + x)` converges everywhere | |
| 849 | +and is continuous and `B₀`-periodic, then the mean of `G` over `B ⧸ B₀` is `∫ F dμ` divided by the | |
| 850 | +covolume of `B₀` (the mass of `B₀.quotMeasure μ`). -/ | |
| 851 | +lemma quotMean_tsum_eq_integral {F G : B → ℂ} (hF : Integrable F μ) (hG : IsContPeriodic B₀ G) | |
| 852 | + (h_sum : ∀ x : B, HasSum (fun γ : B₀ ↦ (F (γ +ᵥ x) : ℂ)) (G x)) : | |
| 853 | + quotMean B₀ G = ((B₀.quotMeasure μ).real Set.univ)⁻¹ • ∫ x : B, F x ∂μ := by | |
| 854 | + -- Average `G` against `B₀.quotMeasure μ` and unfold `∫ F` into the sums over `B₀`. | |
| 855 | + have h_unfold : ∫ x : B, ∫ γ : B₀, F (γ +ᵥ x) ∂count ∂B₀.quotMeasure μ = ∫ x : B, F x ∂μ := | |
| 856 | + (measurePreserving_addOrbitMeasure.fubini hF).2 | |
| 857 | + have h_orbit (x : B) : ∫ γ : B₀, F (γ +ᵥ x) ∂count = G x := by | |
| 858 | + rw [integral_count_eq_tsum, (h_sum x).tsum_eq] | |
| 859 | + rw [← average_quotMeasure_eq_quotMean B₀ μ hG, average_eq, ← h_unfold] | |
| 860 | + simp only [h_orbit] | |
| 861 | + | |
| 862 | +end PeriodicUnfolding | |
| 863 | + | |
| 864 | +end New | |
+615 −0 src/Lib/Adelic/QuotientMeasure/IwasawaUnfolding.lean added View file
| @@ -0,0 +1,615 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 4 | +import Mathlib.Topology.Algebra.ProperAction.Torsor | |
| 5 | +import Mathlib.Topology.Separation.CompletelyRegular | |
| 6 | +import TauCeti.MeasureTheory.Group.OrbitCutoff.OrbitSum | |
| 7 | +public import Lib.Adelic.QuotientMeasure.Basic | |
| 8 | + | |
| 9 | +/-! | |
| 10 | +# Unfolding over orbits and integration in Iwasawa coordinates | |
| 11 | + | |
| 12 | +This file proves integration formulas on a quotient `Γ \ G` by a discrete subgroup `Γ`. An integral | |
| 13 | +over `Γ \ G` of a sum over translates is unfolded to an integral over the quotient by the subgroup | |
| 14 | +that keeps a block, in particular by the stabiliser of a point. Integrals of functions invariant | |
| 15 | +under a closed subgroup `N` are then written in Iwasawa coordinates `G = N · i(M) · K`. | |
| 16 | + | |
| 17 | +* `Γ.quotMeasure μ`: the measure on `G` that integrates left `Γ`-invariant functions over `Γ \ G`. | |
| 18 | +* `N.FixesLeft F`: `F (γ * g) = F g` for all `γ ∈ N` and `g ∈ G`. | |
| 19 | + | |
| 20 | +## Main definitions and results | |
| 21 | + | |
| 22 | +* `New.integral_tsum_eq_integral_tsum_block`: the integral over `Γ \ G` of the sum over all | |
| 23 | + translates of a block `C` is the integral over `S \ G` of the sum over `C`, where `S` is the | |
| 24 | + group that keeps `C`. `New.integral_tsum_block` adds integrability and termwise integration. | |
| 25 | +* `New.integral_tsum_orbit_eq_integral_stabilizer`: the case of one orbit, with `S` the image of the | |
| 26 | + stabiliser of a point. | |
| 27 | +* `New.lintegral_iwasawa`: `dn dm dk` in the coordinates `i m * n * k` is a multiple of Haar | |
| 28 | + measure. | |
| 29 | +* `New.integral_quotMeasure_iwasawa`: the integral over `Γ \ G` of a function `F` invariant under | |
| 30 | + `N` and `Γ` is a nonzero constant times the integral of `w m * F (i m * k)`, where conjugation by | |
| 31 | + `i m` scales the Haar measure of `N` by `w m`. | |
| 32 | + | |
| 33 | +## Relation to the literature | |
| 34 | + | |
| 35 | +Known result: The unfolding trick and the integration formula in Iwasawa coordinates on a quotient | |
| 36 | +by a discrete subgroup. Weil's formula for invariant integration on a quotient is in | |
| 37 | +`Lib.Adelic.QuotientMeasure.Basic`. | |
| 38 | +-/ | |
| 39 | + | |
| 40 | +@[expose] public section | |
| 41 | + | |
| 42 | +/-! | |
| 43 | +## Unfolding a sum over an orbit | |
| 44 | + | |
| 45 | +The unfolding trick for sums over a countable set `Y` with an action of a group `Λ`, which `i` | |
| 46 | +identifies with a discrete subgroup `Γ` of `G`. The summands `k y : G → ℂ` are measurable and | |
| 47 | +equivariant: `k (γ • y) (i γ * x) = k y x`. | |
| 48 | +-/ | |
| 49 | + | |
| 50 | +section OrbitUnfolding | |
| 51 | + | |
| 52 | +open MeasureTheory Measure MulAction ProbabilityTheory ENNReal Set | |
| 53 | + | |
| 54 | +variable {Λ G Y : Type*} [Group Λ] [Group G] [TopologicalSpace G] [MeasurableSpace G] | |
| 55 | + [MulAction Λ Y] [Countable Y] {i : Λ →* G} | |
| 56 | + | |
| 57 | +omit [Group G] [TopologicalSpace G] in | |
| 58 | +/-- If the `k y` are almost everywhere strongly measurable and `∑ ‖k y‖` has finite integral, then | |
| 59 | +the integrals of the `k y` sum to the integral of `∑ k y`. -/ | |
| 60 | +lemma New.hasSum_integral_of_lintegral_tsum_lt_top {k : Y → G → ℂ} {ν : Measure G} | |
| 61 | + (h_fin : ∫⁻ x : G, ∑' y : Y, ‖k y x‖ₑ ∂ν < ∞) | |
| 62 | + (h_meas : ∀ y : Y, AEStronglyMeasurable (k y) ν := by fun_prop) : | |
| 63 | + HasSum (fun y : Y ↦ ∫ x : G, k y x ∂ν) (∫ x : G, ∑' y : Y, k y x ∂ν) := by | |
| 64 | + rw [lintegral_tsum (by fun_prop)] at h_fin | |
| 65 | + rw [integral_tsum h_meas h_fin.ne] | |
| 66 | + have h_le : ∑' y : Y, ‖∫ x, k y x ∂ν‖ₑ ≤ ∑' y : Y, ∫⁻ x, ‖k y x‖ₑ ∂ν := | |
| 67 | + tsum_le_tsum fun y ↦ eNorm_integral_le_lintegral_eNorm (k y) | |
| 68 | + exact (Summable.of_eNorm (h_le.trans_lt h_fin).ne).hasSum | |
| 69 | + | |
| 70 | +/-- Transport the action, the description of the block and the equivariance of the summands | |
| 71 | +along the isomorphism from `Λ` to its image. -/ | |
| 72 | +private lemma New.exists_range_action_on_block {G Λ Y V : Type*} [Group G] [Group Λ] | |
| 73 | + [MulAction Λ Y] {i : Λ →* G} (hi : Function.Injective i) {S : Subgroup G} {C D : Set Y} | |
| 74 | + (hC : ∀ γ : Λ, ∀ y ∈ C, γ • y ∈ C ↔ i γ ∈ S) | |
| 75 | + (hD : ∀ y : Y, y ∈ D ↔ ∃ γ : Λ, γ • y ∈ C) {k : Y → G → V} | |
| 76 | + (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x) : | |
| 77 | + ∃ action : MulAction i.range Y, letI := action | |
| 78 | + (∀ γ : i.range, ∀ y ∈ C, γ • y ∈ C ↔ (γ : G) ∈ S) ∧ | |
| 79 | + (∀ y : Y, y ∈ D ↔ ∃ γ : i.range, γ • y ∈ C) ∧ | |
| 80 | + (∀ (γ : i.range) (y : Y) (x : G), k (γ • y) ((γ : G) * x) = k y x) := by | |
| 81 | + let e := MonoidHom.ofInjective hi | |
| 82 | + refine ⟨MulAction.compHom Y e.symm.toMonoidHom, ?_, ?_, ?_⟩ | |
| 83 | + · intro γ y hy | |
| 84 | + change e.symm γ • y ∈ C ↔ (γ : G) ∈ S | |
| 85 | + simpa only [e, MonoidHom.apply_ofInjective_symm] using hC (e.symm γ) y hy | |
| 86 | + · intro y | |
| 87 | + rw [hD] | |
| 88 | + exact ⟨fun ⟨γ, hγ⟩ ↦ ⟨e γ, (show e.symm (e γ) • y ∈ C by simpa using hγ)⟩, | |
| 89 | + fun ⟨γ, hγ⟩ ↦ ⟨e.symm γ, hγ⟩⟩ | |
| 90 | + · intro γ y x | |
| 91 | + change k (e.symm γ • y) ((γ : G) * x) = k y x | |
| 92 | + simpa only [e, MonoidHom.apply_ofInjective_symm] using hk (e.symm γ) y x | |
| 93 | + | |
| 94 | +variable [IsTopologicalGroup G] [LocallyCompactSpace G] [SecondCountableTopology G] [T2Space G] | |
| 95 | + [BorelSpace G] | |
| 96 | + | |
| 97 | +omit [Countable Y] in | |
| 98 | +/-- The sum over a stable subset has the same distribution for either choice of cutoff. -/ | |
| 99 | +private lemma New.identDistrib_tsum_cutoff {Γ S : Subgroup G} [DiscreteTopology S] | |
| 100 | + [MulAction Γ Y] {μ : Measure G} [IsHaarMeasure μ] {T : Set Y} {E : Type*} | |
| 101 | + [AddCommMonoid E] [TopologicalSpace E] [MeasurableSpace E] | |
| 102 | + (hS : S ≤ Γ) (hT : ∀ (s : S) (y : Y), (Subgroup.inclusion hS s) • y ∈ T ↔ y ∈ T) | |
| 103 | + {k : Y → G → E} (hm : Measurable fun x ↦ ∑' y : T, k y x) | |
| 104 | + (hk : ∀ (γ : Γ) (y : Y) (x : G), k (γ • y) ((γ : G) * x) = k y x) : | |
| 105 | + IdentDistrib (fun x ↦ ∑' y : T, k y x) (fun x ↦ ∑' y : T, k y x) | |
| 106 | + (S.cutoffMeasure μ) (S.quotMeasure μ) := by | |
| 107 | + classical | |
| 108 | + have : Countable S := countable_of_Lindelof_of_discrete | |
| 109 | + have hβ := isCutoff_chosenCutoff (count : Measure S) (X := G) | |
| 110 | + refine IsOrbitCutoff.identDistrib_cutoffMeasure ⟨hβ.1, hβ.2⟩ hm fun s x ↦ ?_ | |
| 111 | + let γ := Subgroup.inclusion hS s | |
| 112 | + change ∑' y : T, k y ((γ : G) * x) = ∑' y : T, k y x | |
| 113 | + rw [tsum_subtype T fun y ↦ k y ((γ : G) * x), ← (MulAction.toPerm γ).tsum_eq, | |
| 114 | + tsum_subtype T fun y ↦ k y x] | |
| 115 | + refine tsum_congr fun y ↦ ?_ | |
| 116 | + have h_mem : γ • y ∈ T ↔ y ∈ T := hT s y | |
| 117 | + simp only [toPerm_apply, indicator, h_mem, hk γ y x] | |
| 118 | + | |
| 119 | +omit [Countable Y] in | |
| 120 | +/-- The block sum is invariant under its stabilizer, and the sum over all its translates is | |
| 121 | +invariant under the entire group. Both sums therefore have the same law for either cutoff. -/ | |
| 122 | +private lemma New.identDistrib_tsum_block {Γ S : Subgroup G} [DiscreteTopology Γ] | |
| 123 | + [MulAction Γ Y] {μ : Measure G} [IsHaarMeasure μ] {C D : Set Y} | |
| 124 | + (hS : S ≤ Γ) (hC : ∀ γ : Γ, ∀ y ∈ C, γ • y ∈ C ↔ (γ : G) ∈ S) | |
| 125 | + (hD : ∀ y : Y, y ∈ D ↔ ∃ γ : Γ, γ • y ∈ C) {E : Type*} [AddCommMonoid E] | |
| 126 | + [TopologicalSpace E] [MeasurableSpace E] {k : Y → G → E} | |
| 127 | + (hm : ∀ T : Set Y, Measurable fun x ↦ ∑' y : T, k y x) | |
| 128 | + (hk : ∀ (γ : Γ) (y : Y) (x : G), k (γ • y) ((γ : G) * x) = k y x) : | |
| 129 | + IdentDistrib (fun x ↦ ∑' y : D, k y x) (fun x ↦ ∑' y : D, k y x) | |
| 130 | + (Γ.cutoffMeasure μ) (Γ.quotMeasure μ) ∧ | |
| 131 | + IdentDistrib (fun x ↦ ∑' y : C, k y x) (fun x ↦ ∑' y : C, k y x) | |
| 132 | + (S.cutoffMeasure μ) (S.quotMeasure μ) := by | |
| 133 | + have : DiscreteTopology S := .of_subset (s := (Γ : Set G)) inferInstance hS | |
| 134 | + constructor | |
| 135 | + · refine identDistrib_tsum_cutoff (le_refl Γ) (fun γ y ↦ ?_) (hm D) hk | |
| 136 | + change γ • y ∈ D ↔ y ∈ D | |
| 137 | + rw [hD, hD] | |
| 138 | + exact ⟨fun ⟨δ, h⟩ ↦ ⟨δ * γ, by simpa [mul_smul] using h⟩, | |
| 139 | + fun ⟨δ, h⟩ ↦ ⟨δ * γ⁻¹, by simpa [mul_smul] using h⟩⟩ | |
| 140 | + · refine identDistrib_tsum_cutoff hS (fun s y ↦ ?_) (hm C) hk | |
| 141 | + let γ := Subgroup.inclusion hS s | |
| 142 | + refine ⟨fun hy ↦ ?_, fun hy ↦ (hC γ y hy).2 s.property⟩ | |
| 143 | + simpa [γ] using (hC γ⁻¹ _ hy).2 (S.inv_mem s.property) | |
| 144 | + | |
| 145 | +/-- Unfolding of a sum over the translates of a block. The group `Λ` acts on `Y` and `i` maps it | |
| 146 | +isomorphically onto the discrete subgroup `Γ` of `G`; the terms are measurable and satisfy | |
| 147 | +`k (γ • y) (i γ * x) = k y x`. The block `C ⊆ Y` is such that `γ` carries a point of `C` into `C` | |
| 148 | +exactly when `i γ` lies in `S ≤ Γ`, and `D` is the union of the translates of `C`. Suppose that | |
| 149 | +`∑_D ‖k y‖` has finite integral over `Γ \ G` or that `∑_C ‖k y‖` has finite integral over `S \ G`. | |
| 150 | +Then `∑_C k y` is integrable over `S \ G`. Its integral equals the integral of `∑_D k y` over | |
| 151 | +`Γ \ G`. It also equals the sum over `D` of the integrals of `k y` against the measure of `Γ \ G`. | |
| 152 | +-/ | |
| 153 | +lemma New.integral_tsum_block (hi : Function.Injective i) {Γ S : Subgroup G} | |
| 154 | + [DiscreteTopology Γ] (hΓ : i.range = Γ) {μ : Measure G} [IsHaarMeasure μ] {C D : Set Y} | |
| 155 | + (hS : S ≤ Γ) (hC : ∀ γ : Λ, ∀ y ∈ C, γ • y ∈ C ↔ i γ ∈ S) | |
| 156 | + (hD : ∀ y : Y, y ∈ D ↔ ∃ γ : Λ, γ • y ∈ C) {k : Y → G → ℂ} (hk_meas : ∀ y : Y, Measurable (k y)) | |
| 157 | + (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x) | |
| 158 | + (h_fin : ∫⁻ x : G, ∑' y : D, ‖k y x‖ₑ ∂Γ.quotMeasure μ < ∞ ∨ | |
| 159 | + ∫⁻ x : G, ∑' y : C, ‖k y x‖ₑ ∂S.quotMeasure μ < ∞) : | |
| 160 | + Integrable (fun x : G ↦ ∑' y : C, k y x) (S.quotMeasure μ) ∧ | |
| 161 | + ∫ x : G, ∑' y : D, k y x ∂Γ.quotMeasure μ = ∫ x : G, ∑' y : C, k y x ∂S.quotMeasure μ ∧ | |
| 162 | + ∑' y : D, ∫ x : G, k y x ∂Γ.quotMeasure μ = ∫ x : G, ∑' y : C, k y x ∂S.quotMeasure μ := by | |
| 163 | + subst Γ | |
| 164 | + obtain ⟨action, hC, hD, hk⟩ := exists_range_action_on_block hi hC hD hk | |
| 165 | + let := action | |
| 166 | + obtain ⟨hD_norm, hC_norm⟩ := identDistrib_tsum_block (μ := μ) (k := fun y x ↦ ‖k y x‖ₑ) | |
| 167 | + hS hC hD (fun T ↦ Measurable.tsum fun y : T ↦ (hk_meas y).eNorm) | |
| 168 | + (fun γ y x ↦ congrArg eNorm (hk γ y x)) | |
| 169 | + obtain ⟨h_left, h_right⟩ := identDistrib_tsum_block (μ := μ) (k := k) hS hC hD | |
| 170 | + (fun T ↦ Measurable.tsum fun y : T ↦ hk_meas y) hk | |
| 171 | + rw [← hD_norm.lintegral_eq, ← hC_norm.lintegral_eq] at h_fin | |
| 172 | + obtain ⟨hD_fin, _, _, hC_int, h_eq⟩ := Subgroup.integral_tsum_block hS hC hD hk_meas hk h_fin | |
| 173 | + rw [hD_norm.lintegral_eq] at hD_fin | |
| 174 | + have h_integral := h_left.integral_eq.symm.trans (h_eq.trans h_right.integral_eq) | |
| 175 | + exact ⟨h_right.integrable_iff.mp hC_int, h_integral, | |
| 176 | + (hasSum_integral_of_lintegral_tsum_lt_top hD_fin | |
| 177 | + (fun y : D ↦ (hk_meas y).aestronglyMeasurable)).tsum_eq.trans h_integral⟩ | |
| 178 | + | |
| 179 | +/-- Unfolding of the integral of a sum over the translates of a block. Let `i` map `Λ` | |
| 180 | +isomorphically onto the discrete subgroup `Γ`, let `γ` carry a point of `C` into `C` exactly when | |
| 181 | +`i γ` lies in `S ≤ Γ`, and let `D` be the union of the translates of `C`. Let the `k y` be | |
| 182 | +measurable with `k (γ • y) (i γ * x) = k y x`. If `∑_C ‖k y‖` has finite integral over `S \ G`, | |
| 183 | +then the integral of `∑_D k y` over `Γ \ G` is the integral of `∑_C k y` over `S \ G`. -/ | |
| 184 | +lemma New.integral_tsum_eq_integral_tsum_block (hi : Function.Injective i) {Γ S : Subgroup G} | |
| 185 | + [DiscreteTopology Γ] (hΓ : i.range = Γ) {μ : Measure G} [IsHaarMeasure μ] {C D : Set Y} | |
| 186 | + (hS : S ≤ Γ) (hC : ∀ γ : Λ, ∀ y ∈ C, γ • y ∈ C ↔ i γ ∈ S) | |
| 187 | + (hD : ∀ y : Y, y ∈ D ↔ ∃ γ : Λ, γ • y ∈ C) {k : Y → G → ℂ} (hk_meas : ∀ y : Y, Measurable (k y)) | |
| 188 | + (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x) | |
| 189 | + (h_fin : ∫⁻ x : G, ∑' y : C, ‖k y x‖ₑ ∂S.quotMeasure μ < ∞) : | |
| 190 | + ∫ x : G, ∑' y : D, k y x ∂Γ.quotMeasure μ = ∫ x : G, ∑' y : C, k y x ∂S.quotMeasure μ := | |
| 191 | + (integral_tsum_block hi hΓ hS hC hD hk_meas hk (Or.inr h_fin)).2.1 | |
| 192 | + | |
| 193 | +/-- Unfolding of a sum of integrals over the translates of a block. Let `i` map `Λ` isomorphically | |
| 194 | +onto the discrete subgroup `Γ`, let `γ` carry a point of `C` into `C` exactly when `i γ` lies in | |
| 195 | +`S ≤ Γ`, and let `D` be the union of the translates of `C`. Let the `k y` be measurable with | |
| 196 | +`k (γ • y) (i γ * x) = k y x`. If `∑_C ‖k y‖` has finite integral over `S \ G`, then the sum over | |
| 197 | +`D` of the integrals of `k y` against the measure of `Γ \ G` is the integral of `∑_C k y` over | |
| 198 | +`S \ G`. -/ | |
| 199 | +lemma New.tsum_integral_eq_integral_tsum_block (hi : Function.Injective i) {Γ S : Subgroup G} | |
| 200 | + [DiscreteTopology Γ] (hΓ : i.range = Γ) {μ : Measure G} [IsHaarMeasure μ] {C D : Set Y} | |
| 201 | + (hS : S ≤ Γ) (hC : ∀ γ : Λ, ∀ y ∈ C, γ • y ∈ C ↔ i γ ∈ S) | |
| 202 | + (hD : ∀ y : Y, y ∈ D ↔ ∃ γ : Λ, γ • y ∈ C) {k : Y → G → ℂ} (hk_meas : ∀ y : Y, Measurable (k y)) | |
| 203 | + (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x) | |
| 204 | + (h_fin : ∫⁻ x : G, ∑' y : C, ‖k y x‖ₑ ∂S.quotMeasure μ < ∞) : | |
| 205 | + ∑' y : D, ∫ x : G, k y x ∂Γ.quotMeasure μ = ∫ x : G, ∑' y : C, k y x ∂S.quotMeasure μ := | |
| 206 | + (integral_tsum_block hi hΓ hS hC hD hk_meas hk (Or.inr h_fin)).2.2 | |
| 207 | + | |
| 208 | +omit [TopologicalSpace G] [IsTopologicalGroup G] [LocallyCompactSpace G] [SecondCountableTopology G] | |
| 209 | + [T2Space G] [MeasurableSpace G] [BorelSpace G] [Countable Y] in | |
| 210 | +/-- If `k (γ • y) (i γ * x) = k y x`, then the term `k y` is invariant on the left under the image | |
| 211 | +`S` of the stabiliser of `y`. -/ | |
| 212 | +lemma New.fixesLeft_map_stabilizer {S : Subgroup G} {k : Y → G → ℂ} | |
| 213 | + (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x) | |
| 214 | + {y : Y} (h_stab : (stabilizer Λ y).map i = S) : S.FixesLeft (k y) := by | |
| 215 | + subst h_stab | |
| 216 | + rintro _ ⟨γ, hγ, rfl⟩ x | |
| 217 | + rw [← hk γ y x, mem_stabilizer_iff.1 hγ] | |
| 218 | + | |
| 219 | +/-- Unfolding of a sum over an orbit. Let `i` be injective with discrete range `Γ`, let the terms | |
| 220 | +`k z` be measurable and equivariant, and let `S` be the image under `i` of the stabiliser of `y`. | |
| 221 | +Suppose that the sum of the `‖k z‖` over the orbit of `y` has finite integral over `Γ \ G`, or that | |
| 222 | +`k y` is integrable over `S \ G`. Then `k y` is integrable over `S \ G`, and its integral equals the | |
| 223 | +integral over `Γ \ G` of the sum of the `k z` over the orbit, and also the sum of their | |
| 224 | +integrals. -/ | |
| 225 | +lemma New.integral_tsum_orbit_eq_integral_stabilizer (hi : Function.Injective i) | |
| 226 | + [DiscreteTopology i.range] {μ : Measure G} [IsHaarMeasure μ] | |
| 227 | + {k : Y → G → ℂ} (hk_meas : ∀ y : Y, Measurable (k y)) | |
| 228 | + (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x) {y : Y} | |
| 229 | + (h_fin : ∫⁻ x : G, ∑' z : orbit Λ y, ‖k z x‖ₑ ∂i.range.quotMeasure μ < ∞ ∨ | |
| 230 | + Integrable (k y) (((stabilizer Λ y).map i).quotMeasure μ)) : | |
| 231 | + Integrable (k y) (((stabilizer Λ y).map i).quotMeasure μ) ∧ | |
| 232 | + ∫ x : G, ∑' z : orbit Λ y, k z x ∂i.range.quotMeasure μ = | |
| 233 | + ∫ x : G, k y x ∂((stabilizer Λ y).map i).quotMeasure μ ∧ | |
| 234 | + ∑' z : orbit Λ y, ∫ x : G, k z x ∂i.range.quotMeasure μ = | |
| 235 | + ∫ x : G, k y x ∂((stabilizer Λ y).map i).quotMeasure μ := by | |
| 236 | + -- The case `C = {y}` of `integral_tsum_block`: the orbit is the union of the translates of `{y}`. | |
| 237 | + have hC : ∀ γ : Λ, ∀ z ∈ ({y} : Set Y), | |
| 238 | + γ • z ∈ ({y} : Set Y) ↔ i γ ∈ (stabilizer Λ y).map i := by | |
| 239 | + simp [Subgroup.mem_map_iff_mem hi] | |
| 240 | + have hD (z : Y) : z ∈ orbit Λ y ↔ ∃ γ : Λ, γ • z ∈ ({y} : Set Y) := by | |
| 241 | + simp [mem_orbit_symm (a₁ := z), mem_orbit_iff] | |
| 242 | + have h_block : ∫⁻ x, ∑' z : orbit Λ y, ‖k z x‖ₑ ∂i.range.quotMeasure μ < ∞ ∨ | |
| 243 | + ∫⁻ x, ∑' z : ({y} : Set Y), ‖k z x‖ₑ ∂((stabilizer Λ y).map i).quotMeasure μ < ∞ := | |
| 244 | + h_fin.imp_right fun h_int ↦ by simpa [HasFiniteIntegral] using h_int.hasFiniteIntegral | |
| 245 | + simpa using | |
| 246 | + integral_tsum_block hi rfl ((stabilizer Λ y).map_le_range i) hC hD hk_meas hk h_block | |
| 247 | + | |
| 248 | +/-- Unfolding of a sum over an orbit, with the subgroups and the orbit given by equations: `Γ` is | |
| 249 | +the discrete range of the injective map `i`, `S` the image of the stabiliser of `y`, and `D` the | |
| 250 | +orbit of `y`. Here `Γ.quotMeasure μ` is the measure on `G` that computes integrals over `Γ \ G`: the | |
| 251 | +Haar measure `μ` weighted by a cutoff for `Γ`, and likewise for `S`. The terms `k z` are measurable | |
| 252 | +and equivariant. Suppose that `∑ ‖k z‖`, over all `z : Y`, has finite integral over `Γ \ G` or that | |
| 253 | +`k y` is integrable over `S \ G`. Then `k y` is integrable over `S \ G`, and its integral equals the | |
| 254 | +integral of `∑_D k z` over `Γ \ G` and also the sum over `D` of the integrals of `k z` against | |
| 255 | +`Γ.quotMeasure μ`. -/ | |
| 256 | +lemma New.integral_tsum_orbit_of_lt_top_or_integrable (hi : Function.Injective i) {Γ S : Subgroup G} | |
| 257 | + [DiscreteTopology Γ] (hΓ : i.range = Γ) {μ : Measure G} [IsHaarMeasure μ] {D : Set Y} | |
| 258 | + {k : Y → G → ℂ} (hk_meas : ∀ y : Y, Measurable (k y)) | |
| 259 | + (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x) | |
| 260 | + {y : Y} (h_stab : (stabilizer Λ y).map i = S) (h_orbit : ∀ z : Y, z ∈ D ↔ y ∈ orbit Λ z) | |
| 261 | + (h_fin : ∫⁻ x : G, ∑' z : Y, ‖k z x‖ₑ ∂Γ.quotMeasure μ < ∞ ∨ | |
| 262 | + Integrable (k y) (S.quotMeasure μ)) : | |
| 263 | + Integrable (k y) (S.quotMeasure μ) ∧ | |
| 264 | + ∫ x : G, ∑' z : D, k z x ∂Γ.quotMeasure μ = ∫ x : G, k y x ∂S.quotMeasure μ ∧ | |
| 265 | + ∑' z : D, ∫ x : G, k z x ∂Γ.quotMeasure μ = ∫ x : G, k y x ∂S.quotMeasure μ := by | |
| 266 | + obtain rfl : D = orbit Λ y := Set.ext fun z ↦ (h_orbit z).trans mem_orbit_symm | |
| 267 | + subst hΓ h_stab | |
| 268 | + -- The sum over the orbit is at most the sum over all of `Y`. | |
| 269 | + exact integral_tsum_orbit_eq_integral_stabilizer hi hk_meas hk <| h_fin.imp_left <| | |
| 270 | + (lintegral_mono fun x ↦ tsum_comp_le_tsum_of_injective Subtype.val_injective _).trans_lt | |
| 271 | + | |
| 272 | +/-- Left invariance of `k y` and unfolding over the orbit `D` of `y`, as one statement. Here `i` | |
| 273 | +maps `Λ` isomorphically onto the discrete subgroup `Γ`, `S` is the image under `i` of the stabiliser | |
| 274 | +of `y`, and the `k z` are measurable and equivariant. The conclusion has two parts. The first says | |
| 275 | +that `k y` is left `S`-invariant (`S.FixesLeft (k y)`). The second is the implication proved in | |
| 276 | +`integral_tsum_orbit_of_lt_top_or_integrable`: if `∑ ‖k z‖` has finite integral over `Γ \ G` or | |
| 277 | +`k y` is integrable over `S \ G`, then `k y` is integrable over `S \ G`, and its integral equals | |
| 278 | +both the integral of `∑_D k z` over `Γ \ G` and the sum over `D` of the integrals of the `k z`. -/ | |
| 279 | +lemma New.integral_tsum_orbit (hi : Function.Injective i) {Γ S : Subgroup G} | |
| 280 | + [DiscreteTopology Γ] (hΓ : i.range = Γ) {μ : Measure G} [IsHaarMeasure μ] {D : Set Y} | |
| 281 | + {k : Y → G → ℂ} (hk_meas : ∀ y : Y, Measurable (k y)) | |
| 282 | + (hk : ∀ (γ : Λ) (y : Y) (x : G), k (γ • y) (i γ * x) = k y x) | |
| 283 | + {y : Y} (h_stab : (stabilizer Λ y).map i = S) (h_orbit : ∀ z : Y, z ∈ D ↔ y ∈ orbit Λ z) : | |
| 284 | + S.FixesLeft (k y) ∧ | |
| 285 | + ((∫⁻ x : G, ∑' z : Y, ‖k z x‖ₑ ∂Γ.quotMeasure μ < ∞ ∨ Integrable (k y) (S.quotMeasure μ)) → | |
| 286 | + Integrable (k y) (S.quotMeasure μ) ∧ | |
| 287 | + ∫ x : G, ∑' z : D, k z x ∂Γ.quotMeasure μ = ∫ x : G, k y x ∂S.quotMeasure μ ∧ | |
| 288 | + ∑' z : D, ∫ x : G, k z x ∂Γ.quotMeasure μ = ∫ x : G, k y x ∂S.quotMeasure μ) := | |
| 289 | + ⟨fixesLeft_map_stabilizer hk h_stab, | |
| 290 | + integral_tsum_orbit_of_lt_top_or_integrable hi hΓ hk_meas hk h_stab h_orbit⟩ | |
| 291 | + | |
| 292 | +end OrbitUnfolding | |
| 293 | + | |
| 294 | +/-! | |
| 295 | +## Iwasawa integration formula | |
| 296 | + | |
| 297 | +Integration in Iwasawa coordinates on a unimodular group `G = N · i(M) · K`, with `N` closed, `K` | |
| 298 | +compact and `i : M →* G` continuous. It is used for constant terms along a unipotent radical `N`. | |
| 299 | +-/ | |
| 300 | + | |
| 301 | +section IwasawaIntegration | |
| 302 | + | |
| 303 | +open MeasureTheory Measure ENNReal NeZero ProbabilityTheory Function | |
| 304 | + | |
| 305 | +/-- Let `J f x` be measurable in `x`, and let `J f x₀` be obtained from `J f y` by a finite nonzero | |
| 306 | +factor that depends on `y` only. Then this factor can be absorbed into a measurable weight: for | |
| 307 | +measurable `β` there is a measurable `g` with `g y * J f y = β y * J f x₀`. -/ | |
| 308 | +lemma New.exists_measurable_mul_eq_of_scale {X : Type*} [MeasurableSpace X] | |
| 309 | + {J : (X → ℝ≥0∞) → X → ℝ≥0∞} {x₀ : X} (hJ : ∀ f : X → ℝ≥0∞, Measurable f → Measurable (J f)) | |
| 310 | + (h_scale : ∀ y : X, ∃ r : ℝ≥0∞, r ≠ 0 ∧ r ≠ ∞ ∧ | |
| 311 | + ∀ f : X → ℝ≥0∞, Measurable f → r * J f y = J f x₀) | |
| 312 | + {β : X → ℝ≥0∞} (hβ : Measurable β) : | |
| 313 | + ∃ g : X → ℝ≥0∞, Measurable g ∧ | |
| 314 | + ∀ (y : X) (f : X → ℝ≥0∞), Measurable f → g y * J f y = β y * J f x₀ := by | |
| 315 | + by_cases! h_const : ∀ (y : X) (f : X → ℝ≥0∞), Measurable f → J f y = J f x₀ | |
| 316 | + · exact ⟨β, hβ, fun y f hf ↦ by rw [h_const y f hf]⟩ | |
| 317 | + -- Otherwise some `J f` is everywhere finite and nonzero; the factor at `x` is `J f x₀ / J f x`. | |
| 318 | + obtain ⟨y₀, f, hf, h_ne⟩ := h_const | |
| 319 | + obtain ⟨r, hr_zero, hr_top, hr⟩ := h_scale y₀ | |
| 320 | + have h_zero : J f x₀ ≠ 0 := fun h ↦ h_ne (by simpa [h, hr_zero] using hr f hf) | |
| 321 | + have h_top : J f x₀ ≠ ∞ := fun h ↦ | |
| 322 | + h_ne (by simpa [h, hr_zero, hr_top, mul_eq_top] using hr f hf) | |
| 323 | + refine ⟨fun x ↦ β x * (J f x₀ / J f x), hβ.mul (measurable_const.div (hJ f hf)), | |
| 324 | + fun x φ hφ ↦ ?_⟩ | |
| 325 | + obtain ⟨s, hs_zero, -, hs⟩ := h_scale x | |
| 326 | + have hx_zero : J f x ≠ 0 := fun h ↦ h_zero (by rw [← hs f hf, h, mul_zero]) | |
| 327 | + have hx_top : J f x ≠ ∞ := fun h ↦ h_top (by rw [← hs f hf, h, mul_top hs_zero]) | |
| 328 | + have h_div : J f x₀ / J f x = s := by | |
| 329 | + rw [← hs f hf, ENNReal.mul_div_cancel_right hx_zero hx_top] | |
| 330 | + simp only [h_div, mul_assoc, hs φ hφ] | |
| 331 | + | |
| 332 | +/-- A function that is integrable for `∞ • q` vanishes `q`-almost everywhere. -/ | |
| 333 | +lemma New.ae_eq_zero_of_integrable_top_smul {X : Type*} [MeasurableSpace X] {q : Measure X} | |
| 334 | + {F : X → ℂ} (h_int : Integrable F (∞ • q)) : F =ᵐ[q] 0 := by | |
| 335 | + have hF : AEStronglyMeasurable F q := | |
| 336 | + h_int.aestronglyMeasurable.mono_ac (absolutelyContinuous_smul top_ne_zero) | |
| 337 | + have h_lt : ∞ * ∫⁻ x, ‖F x‖ₑ ∂q < ∞ := by | |
| 338 | + simpa [HasFiniteIntegral] using h_int.hasFiniteIntegral | |
| 339 | + have h_norm : ∫⁻ x, ‖F x‖ₑ ∂q = 0 := by simpa [mul_lt_top_iff] using h_lt | |
| 340 | + filter_upwards [(lintegral_eq_zero_iff' hF.eNorm).1 h_norm] with x hx using by simpa using hx | |
| 341 | + | |
| 342 | +/-- Division of an integral formula by a factor `c ∈ (0, ∞]` of the measure. For finite nonzero `V` | |
| 343 | +there is `a ≠ 0` such that, if `F` is measurable and integrable for `c • q` with integral `V * I`, | |
| 344 | +then `F` is integrable for `q` with integral `a * I`. -/ | |
| 345 | +lemma New.exists_integral_eq_mul_of_smul_measure {X : Type*} [MeasurableSpace X] (q : Measure X) | |
| 346 | + {c V : ℝ≥0∞} (hc : c ≠ 0) (hV_zero : V ≠ 0) (hV_top : V ≠ ∞) : | |
| 347 | + ∃ a ≠ (0 : ℝ), ∀ (F : X → ℂ) (I : ℂ), Measurable F → Integrable F (c • q) → | |
| 348 | + ∫ x : X, F x ∂(c • q) = V.toReal * I → Integrable F q ∧ ∫ x : X, F x ∂q = a * I := by | |
| 349 | + have hV : V.toReal ≠ 0 := toReal_ne_zero.2 ⟨hV_zero, hV_top⟩ | |
| 350 | + rcases eq_or_ne c ∞ with rfl | hc_top | |
| 351 | + · -- For `c = ∞`, integrability forces `F = 0` almost everywhere, and both sides vanish. | |
| 352 | + refine ⟨1, one_ne_zero, fun F I _ h_int h_eq ↦ ?_⟩ | |
| 353 | + have hF_zero : F =ᵐ[q] 0 := ae_eq_zero_of_integrable_top_smul h_int | |
| 354 | + obtain rfl : I = 0 := by simpa [hV] using h_eq | |
| 355 | + exact ⟨(integrable_zero X ℂ q).congr hF_zero.symm, by simp [integral_eq_zero_of_ae hF_zero]⟩ | |
| 356 | + · have hc_real : c.toReal ≠ 0 := toReal_ne_zero.2 ⟨hc, hc_top⟩ | |
| 357 | + refine ⟨V.toReal / c.toReal, div_ne_zero hV hc_real, | |
| 358 | + fun F I _ h_int h_eq ↦ ⟨(integrable_smul_measure hc hc_top).1 h_int, ?_⟩⟩ | |
| 359 | + rw [integral_smul_measure, Complex.real_smul] at h_eq | |
| 360 | + simp [div_mul_eq_mul_div, ← h_eq, hc_real] | |
| 361 | + | |
| 362 | +/-- Let `i a` lie in `N` only for `a = 1`, let `δ` be injective, and let `Γ` contain every `i (δ d)` | |
| 363 | +and lie in the union of the `N · i (δ d)⁻¹`. Then every element of `Γ` is uniquely `i (δ d) * γ` | |
| 364 | +with `γ ∈ Γ ∩ N`. -/ | |
| 365 | +lemma New.exists_equiv_prod_subgroupOf {G M D : Type*} [Group G] [Group M] {N Γ : Subgroup G} | |
| 366 | + {i : M →* G} (h_triv : ∀ a : M, i a ∈ N → a = 1) {δ : D → M} (hδ : δ.Injective) | |
| 367 | + (hδ_mem : ∀ d : D, i (δ d) ∈ Γ) (hΓ : ∀ g ∈ Γ, ∃ d : D, g * i (δ d) ∈ N) : | |
| 368 | + ∃ e : D × Γ.subgroupOf N ≃ Γ, | |
| 369 | + ∀ (d : D) (γ : Γ.subgroupOf N), (e (d, γ) : G) = i (δ d) * (γ : N) := by | |
| 370 | + let φ (p : D × Γ.subgroupOf N) : Γ := | |
| 371 | + ⟨i (δ p.1) * (p.2 : N), mul_mem (hδ_mem p.1) (Subgroup.mem_subgroupOf.1 p.2.property)⟩ | |
| 372 | + refine ⟨.ofBijective φ ⟨?_, fun g ↦ ?_⟩, fun d γ ↦ rfl⟩ | |
| 373 | + · rintro ⟨d, γ⟩ ⟨d', γ'⟩ h | |
| 374 | + have h_eq : i (δ d) * (γ : N) = i (δ d') * (γ' : N) := congrArg Subtype.val h | |
| 375 | + have h_mem : i ((δ d)⁻¹ * δ d') ∈ N := by | |
| 376 | + simpa [QuotientGroup.eq] using congrArg (QuotientGroup.mk : G → G ⧸ N) h_eq | |
| 377 | + obtain rfl : d = d' := hδ (inv_mul_eq_one.1 (h_triv _ h_mem)) | |
| 378 | + simpa using h_eq | |
| 379 | + · obtain ⟨d, h_mem⟩ : ∃ d : D, (g : G)⁻¹ * i (δ d) ∈ N := hΓ _ (inv_mem g.property) | |
| 380 | + let γ : Γ.subgroupOf N := | |
| 381 | + ⟨⟨(g : G)⁻¹ * i (δ d), h_mem⟩, mul_mem (inv_mem g.property) (hδ_mem d)⟩ | |
| 382 | + exact ⟨(d, γ⁻¹), by simp [φ, γ]⟩ | |
| 383 | + | |
| 384 | +variable {G M : Type*} [Group G] [Group M] [TopologicalSpace G] [IsTopologicalGroup G] | |
| 385 | + [PolishSpace G] (w : M → ℝ) [MeasurableSpace G] [BorelSpace G] [TopologicalSpace M] | |
| 386 | + [IsTopologicalGroup M] [MeasurableSpace M] [BorelSpace M] | |
| 387 | + (μ : Measure G) [IsHaarMeasure μ] [IsMulRightInvariant μ] | |
| 388 | + (ν : Measure M) [IsHaarMeasure ν] | |
| 389 | + {N K Γ : Subgroup G} [IsMulRightInvariant ν] [CompactSpace K] | |
| 390 | + (κ : Measure K) [IsHaarMeasure κ] | |
| 391 | + {lam : Measure N} [IsHaarMeasure lam] (i : M →* G) | |
| 392 | + | |
| 393 | +omit [IsHaarMeasure ν] [IsHaarMeasure lam] in | |
| 394 | +/-- Let `N` be unimodular, and let conjugation by `i m` multiply integrals over `N` by `w m`. The | |
| 395 | +integral of `f (i a * u * (n * i m * k) * l⁻¹)` over `K × M × N`, times `w m`, is the integral of | |
| 396 | +`f (i a * u * l⁻¹)`. -/ | |
| 397 | +lemma New.ofReal_mul_lintegral_iwasawa_translate [IsMulRightInvariant lam] | |
| 398 | + (h_conj : ∀ (m : M) (f : G → ℝ≥0∞), Measurable f → | |
| 399 | + ∫⁻ n : N, f (i m * n * (i m)⁻¹) ∂lam = ENNReal.ofReal (w m) * ∫⁻ n : N, f n ∂lam) | |
| 400 | + {f : G → ℝ≥0∞} (hf : Measurable f) (n : N) (m : M) (k : K) : | |
| 401 | + ENNReal.ofReal (w m) * | |
| 402 | + ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, f (i a * u * (n * i m * k) * l⁻¹) ∂lam ∂ν ∂κ = | |
| 403 | + ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, f (i a * u * l⁻¹) ∂lam ∂ν ∂κ := by | |
| 404 | + -- Absorb `n` into `u`, move `i m` past `u`, then absorb `m` into `a` and `k` into `l`. | |
| 405 | + have h_move (x z : G) : ENNReal.ofReal (w m) * ∫⁻ u : N, f (x * u * (n * i m * k) * z) ∂lam = | |
| 406 | + ∫⁻ u : N, f (x * i m * u * (k * z)) ∂lam := | |
| 407 | + calc ENNReal.ofReal (w m) * ∫⁻ u : N, f (x * u * (n * i m * k) * z) ∂lam | |
| 408 | + _ = ENNReal.ofReal (w m) * ∫⁻ u : N, f (x * u * i m * (k * z)) ∂lam := by | |
| 409 | + rw [← lintegral_mul_right_eq_self (fun u : N ↦ f (x * u * i m * (k * z))) n] | |
| 410 | + simp [mul_assoc] | |
| 411 | + _ = ∫⁻ u : N, f (x * (i m * u * (i m)⁻¹) * i m * (k * z)) ∂lam := | |
| 412 | + (h_conj m (fun y ↦ f (x * y * i m * (k * z))) (by fun_prop)).symm | |
| 413 | + _ = ∫⁻ u : N, f (x * i m * u * (k * z)) ∂lam := by simp [mul_assoc] | |
| 414 | + calc | |
| 415 | + _ = ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, f (i (a * m) * u * (k * l⁻¹)) ∂lam ∂ν ∂κ := by | |
| 416 | + simp only [← lintegral_const_mul' _ _ ofReal_ne_top, map_mul, ← h_move] | |
| 417 | + _ = ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, f (i a * u * (k * l⁻¹)) ∂lam ∂ν ∂κ := | |
| 418 | + lintegral_congr fun l ↦ | |
| 419 | + lintegral_mul_right_eq_self (fun a : M ↦ ∫⁻ u : N, f (i a * u * (k * l⁻¹)) ∂lam) m | |
| 420 | + _ = ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, f (i a * u * l⁻¹) ∂lam ∂ν ∂κ := by | |
| 421 | + rw [← lintegral_mul_right_eq_self _ k] | |
| 422 | + simp | |
| 423 | + | |
| 424 | +omit [PolishSpace G] [IsMulRightInvariant ν] [CompactSpace K] in | |
| 425 | +/-- Suppose that conjugation by `i m` multiplies integrals over `N` by `w m`. The integral of | |
| 426 | +`g ((i a * u)⁻¹ * (x * l))` over `K × M × N` is the same for `x = n * i m * k` as for `x = 1`. -/ | |
| 427 | +lemma New.lintegral_iwasawa_inv_mul_translate | |
| 428 | + (h_conj : ∀ (m : M) (f : G → ℝ≥0∞), Measurable f → | |
| 429 | + ∫⁻ n : N, f (i m * n * (i m)⁻¹) ∂lam = ENNReal.ofReal (w m) * ∫⁻ n : N, f n ∂lam) | |
| 430 | + {g : G → ℝ≥0∞} (hg : Measurable g) (n : N) (m : M) (k : K) : | |
| 431 | + ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, g ((i a * u)⁻¹ * (n * i m * k * l)) ∂lam ∂ν ∂κ = | |
| 432 | + ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, g ((i a * u)⁻¹ * l) ∂lam ∂ν ∂κ := by | |
| 433 | + -- Move `(i a)⁻¹` past `u⁻¹` to absorb `n` into `u`; then absorb `m` into `a` and `k` into `l`. | |
| 434 | + have h_absorb (a : M) (z : G) : | |
| 435 | + ∫⁻ u : N, g ((i a * u)⁻¹ * (n * z)) ∂lam = ∫⁻ u : N, g ((i a * u)⁻¹ * z) ∂lam := by | |
| 436 | + have h_move (y : G) : ∫⁻ u : N, g ((i a * u)⁻¹ * y) ∂lam = | |
| 437 | + ENNReal.ofReal (w a) * ∫⁻ u : N, g ((i a)⁻¹ * ((u : G)⁻¹ * y)) ∂lam := by | |
| 438 | + simpa [mul_assoc] using h_conj a (fun x ↦ g ((i a)⁻¹ * (x⁻¹ * y))) (by fun_prop) | |
| 439 | + rw [h_move, h_move, ← lintegral_mul_left_eq_self _ n] | |
| 440 | + simp [mul_assoc] | |
| 441 | + calc | |
| 442 | + _ = ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, g ((i a * u)⁻¹ * (i m * (k * l))) ∂lam ∂ν ∂κ := by | |
| 443 | + simp only [mul_assoc, h_absorb] | |
| 444 | + _ = ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, g ((i a * u)⁻¹ * (k * l)) ∂lam ∂ν ∂κ := by | |
| 445 | + refine lintegral_congr fun l ↦ ?_ | |
| 446 | + rw [← lintegral_mul_left_eq_self _ m] | |
| 447 | + simp [mul_assoc] | |
| 448 | + _ = ∫⁻ l : K, ∫⁻ a : M, ∫⁻ u : N, g ((i a * u)⁻¹ * l) ∂lam ∂ν ∂κ := | |
| 449 | + lintegral_mul_left_eq_self (fun l : K ↦ ∫⁻ a : M, ∫⁻ u : N, g ((i a * u)⁻¹ * l) ∂lam ∂ν) k | |
| 450 | + | |
| 451 | +variable [LocallyCompactSpace G] | |
| 452 | + | |
| 453 | +/-- Iwasawa integration formula. Let `G`, `M` and the closed subgroup `N` be unimodular, `K` | |
| 454 | +compact, `i : M →* G` continuous, and `w : M → ℝ`. Suppose that `G = N · i(M) · K` and that | |
| 455 | +conjugation by `i m` multiplies integrals over `N` by `w m > 0`. Then the measure `dn dm dk` in the | |
| 456 | +coordinates `i m * n * k` is `d` times the Haar measure `μ` on `G`, for some `d ∈ [0, ∞]` (`d` may | |
| 457 | +be infinite, for instance if `i` has noncompact kernel). Here `lam`, `ν`, `κ` are Haar measures on | |
| 458 | +`N`, `M`, `K`. -/ | |
| 459 | +lemma New.lintegral_iwasawa [PolishSpace M] [LocallyCompactSpace M] | |
| 460 | + (hN : IsClosed (N : Set G)) (hw_pos : ∀ m : M, 0 < w m) (hi : Continuous i) | |
| 461 | + (h_dec : ∀ g : G, ∃ n : N, ∃ m : M, ∃ k : K, g = n * i m * k) | |
| 462 | + (h_conj : ∀ (m : M) (f : G → ℝ≥0∞), Measurable f → | |
| 463 | + ∫⁻ n : N, f (i m * n * (i m)⁻¹) ∂lam = ENNReal.ofReal (w m) * ∫⁻ n : N, f n ∂lam) | |
| 464 | + [IsMulRightInvariant lam] : | |
| 465 | + ∃ d : ℝ≥0∞, ∀ f : G → ℝ≥0∞, Measurable f → | |
| 466 | + ∫⁻ k : K, ∫⁻ m : M, ∫⁻ n : N, f (i m * n * k) ∂lam ∂ν ∂κ = d * ∫⁻ g : G, f g ∂μ := by | |
| 467 | + -- Let `J f y` be the integral of `f (i m * n * y * k⁻¹)`; the left side is `J f 1`. Moving `y` | |
| 468 | + -- only divides `J f y` by `w`, so `J f 1 = ∫ g y * J f y` for a suitable weight `g`. After Fubini | |
| 469 | + -- and a translation of `y`, this is `∫ d x * f x`, where `d x`, an integral of `g`, is constant. | |
| 470 | + obtain ⟨β, hβ, hβ_int⟩ := (inferInstance : HasCutoff μ G).out | |
| 471 | + have hβ_one : ∫⁻ x, β x ∂μ = 1 := by simpa using hβ_int 1 | |
| 472 | + let π : Measure ((M × N) × K) := (ν.prod lam).prod κ | |
| 473 | + let b (p : M × N) : G := i p.1 * p.2 | |
| 474 | + have hπ (φ : G → K → ℝ≥0∞) (hφ : Measurable (uncurry φ)) : | |
| 475 | + ∫⁻ h, φ (b h.1) h.2 ∂π = ∫⁻ k : K, ∫⁻ m : M, ∫⁻ n : N, φ (i m * n) k ∂lam ∂ν ∂κ := by | |
| 476 | + rw [lintegral_prod_symm _ (by fun_prop)] | |
| 477 | + exact lintegral_congr fun k ↦ lintegral_prod _ (by fun_prop) | |
| 478 | + let J (f : G → ℝ≥0∞) (y : G) : ℝ≥0∞ := ∫⁻ h, f (b h.1 * y * h.2⁻¹) ∂π | |
| 479 | + have hJ (f : G → ℝ≥0∞) (hf : Measurable f) (y : G) : | |
| 480 | + J f y = ∫⁻ k : K, ∫⁻ m : M, ∫⁻ n : N, f (i m * n * y * k⁻¹) ∂lam ∂ν ∂κ := | |
| 481 | + hπ (fun x k ↦ f (x * y * k⁻¹)) (by fun_prop) | |
| 482 | + have h_scale (y : G) : ∃ r : ℝ≥0∞, r ≠ 0 ∧ r ≠ ∞ ∧ | |
| 483 | + ∀ f : G → ℝ≥0∞, Measurable f → r * J f y = J f 1 := by | |
| 484 | + obtain ⟨n, m, k, rfl⟩ := h_dec y | |
| 485 | + refine ⟨.ofReal (w m), (ofReal_pos.2 (hw_pos m)).ne', ofReal_ne_top, fun f hf ↦ ?_⟩ | |
| 486 | + simpa only [hJ f hf, mul_one] using | |
| 487 | + ofReal_mul_lintegral_iwasawa_translate w ν κ i h_conj hf n m k | |
| 488 | + -- The weight `g` satisfies `g y * J f y = β y * J f 1`. | |
| 489 | + obtain ⟨g, hg, hgJ⟩ := exists_measurable_mul_eq_of_scale (fun f hf ↦ by fun_prop) h_scale hβ | |
| 490 | + let d (x : G) : ℝ≥0∞ := ∫⁻ h, g ((b h.1)⁻¹ * (x * h.2)) ∂π | |
| 491 | + have hd (x : G) : d x = d 1 := by | |
| 492 | + obtain ⟨n, m, k, rfl⟩ := h_dec x | |
| 493 | + have hd_eq (z : G) := hπ (fun y l ↦ g (y⁻¹ * (z * l))) (by fun_prop) | |
| 494 | + simpa only [d, hd_eq, one_mul] using lintegral_iwasawa_inv_mul_translate w ν κ i h_conj hg n m k | |
| 495 | + refine ⟨d 1, fun f hf ↦ ?_⟩ | |
| 496 | + calc ∫⁻ k : K, ∫⁻ m : M, ∫⁻ n : N, f (i m * n * k) ∂lam ∂ν ∂κ | |
| 497 | + _ = J f 1 := by | |
| 498 | + rw [hJ f hf, ← lintegral_inv_eq_self] | |
| 499 | + simp | |
| 500 | + _ = ∫⁻ y, g y * J f y ∂μ := by simp [hgJ _ f hf, lintegral_mul_const _ hβ, hβ_one] | |
| 501 | + _ = ∫⁻ h, ∫⁻ y, g y * f (b h.1 * y * h.2⁻¹) ∂μ ∂π := by | |
| 502 | + simp (disch := fun_prop) only [J, ← lintegral_const_mul] | |
| 503 | + exact lintegral_lintegral_swap (by fun_prop) | |
| 504 | + _ = ∫⁻ h, ∫⁻ x, g ((b h.1)⁻¹ * (x * h.2)) * f x ∂μ ∂π := by | |
| 505 | + congr with ⟨p, k⟩ | |
| 506 | + rw [← lintegral_mul_left_eq_self _ (b p)⁻¹, ← lintegral_mul_right_eq_self _ (k : G)] | |
| 507 | + simp [mul_assoc] | |
| 508 | + _ = ∫⁻ x, ∫⁻ h, g ((b h.1)⁻¹ * (x * h.2)) * f x ∂π ∂μ := lintegral_lintegral_swap (by fun_prop) | |
| 509 | + _ = ∫⁻ x, d x * f x ∂μ := lintegral_congr fun x ↦ lintegral_mul_const _ (by fun_prop) | |
| 510 | + _ = d 1 * ∫⁻ x, f x ∂μ := by simp_rw [hd, lintegral_const_mul _ hf] | |
| 511 | + | |
| 512 | +omit [TopologicalSpace M] [IsTopologicalGroup M] [MeasurableSpace M] [BorelSpace M] in | |
| 513 | +/-- Let `i a` lie in the closed unimodular subgroup `N` only for `a = 1`, let `δ` be injective, and | |
| 514 | +let the discrete group `Γ` contain every `i (δ d)` and lie in the union of the `N · i (δ d)⁻¹`. | |
| 515 | +Suppose that conjugation by `i m` multiplies integrals over `N` by `w m`. Then `w m` times the | |
| 516 | +integral over `(Γ ∩ N) \ N` (that is, against `quotMeasure lam`) of a sum over `Γ` unfolds to a sum | |
| 517 | +over `d` of integrals over `N` against the Haar measure `lam`. -/ | |
| 518 | +lemma New.ofReal_mul_lintegral_quotMeasure_tsum | |
| 519 | + (hN : IsClosed (N : Set G)) | |
| 520 | + (h_conj : ∀ (m : M) (f : G → ℝ≥0∞), Measurable f → | |
| 521 | + ∫⁻ n : N, f (i m * n * (i m)⁻¹) ∂lam = ENNReal.ofReal (w m) * ∫⁻ n : N, f n ∂lam) | |
| 522 | + (h_triv : ∀ a : M, i a ∈ N → a = 1) {D : Type*} [Countable D] {δ : D → M} (hδ : δ.Injective) | |
| 523 | + (hδ_mem : ∀ d : D, i (δ d) ∈ Γ) (hΓ : ∀ g ∈ Γ, ∃ d : D, g * i (δ d) ∈ N) [DiscreteTopology Γ] | |
| 524 | + {f : G → ℝ≥0∞} (hf : Measurable f) (m : M) (k : G) : | |
| 525 | + ENNReal.ofReal (w m) * | |
| 526 | + ∫⁻ n : N, ∑' γ : Γ, f (γ * (n * (i m * k))) ∂(Γ.subgroupOf N).quotMeasure lam = | |
| 527 | + ∑' d : D, ∫⁻ n : N, f (i (δ d * m) * n * k) ∂lam := by | |
| 528 | + -- Write the elements of `Γ` as `i (δ d) * γ` with `γ ∈ Γ ∩ N`, unfold the quotient measure to | |
| 529 | + -- `lam`, and move `i m` past `n`. | |
| 530 | + obtain ⟨e, he⟩ := exists_equiv_prod_subgroupOf h_triv hδ hδ_mem hΓ | |
| 531 | + simp only [← e.tsum_eq, tsum_prod', he] | |
| 532 | + rw [lintegral_tsum (by fun_prop), ← ENNReal.tsum_mul_left] | |
| 533 | + refine tsum_congr fun d ↦ ?_ | |
| 534 | + calc ENNReal.ofReal (w m) * ∫⁻ n : N, ∑' γ : Γ.subgroupOf N, | |
| 535 | + f (i (δ d) * (γ : N) * (n * (i m * k))) ∂(Γ.subgroupOf N).quotMeasure lam | |
| 536 | + _ = ENNReal.ofReal (w m) * ∫⁻ n : N, f (i (δ d) * n * i m * k) ∂lam := by | |
| 537 | + rw [← lintegral_orbitMeasure_lintegral (ν := (count : Measure (Γ.subgroupOf N))) | |
| 538 | + (f := fun n : N ↦ f (i (δ d) * n * i m * k)) (by fun_prop)] | |
| 539 | + simp [lintegral_count, Subgroup.smul_def, mul_assoc] | |
| 540 | + _ = ∫⁻ n : N, f (i (δ d) * (i m * n * (i m)⁻¹) * i m * k) ∂lam := | |
| 541 | + (h_conj m (fun y ↦ f (i (δ d) * y * i m * k)) (by fun_prop)).symm | |
| 542 | + _ = ∫⁻ n : N, f (i (δ d * m) * n * k) ∂lam := by simp [mul_assoc] | |
| 543 | + | |
| 544 | +/-- Unfolding in Iwasawa coordinates. Let `μ`, `ν`, `κ`, `lam` be Haar measures on the unimodular | |
| 545 | +group `G`, the unimodular group `M`, the compact subgroup `K` and the closed subgroup `N`, and let | |
| 546 | +`i` and `w` be continuous. Suppose that `G = N · i(M) · K`, that conjugation by `i m` multiplies | |
| 547 | +integrals over `N` by `w m > 0`, and that `i a` lies in `N` only for `a = 1`. Let `δ` be injective, | |
| 548 | +and let `Γ` be discrete, contain every `i (δ d)` and lie in the union of the `N · i (δ d)⁻¹`, with | |
| 549 | +`Γ ∩ N` cocompact in `N` (`IsCocompact`: every element of `N` has a left translate by `Γ ∩ N` in a | |
| 550 | +fixed compact set). Let `α` be a measure on `M` that unfolds to `ν` along `δ`. There is `c ≠ 0` such | |
| 551 | +that for measurable `F`, left invariant under `N` and `Γ` (`FixesLeft`): if | |
| 552 | +`(m, k) ↦ w m * F (i m * k)` is integrable for `α × κ`, then `F` is integrable over `Γ \ G` (against | |
| 553 | +`Γ.quotMeasure μ`), and its integral is `c` times the integral of `w m * F (i m * k)`. -/ | |
| 554 | +lemma New.integral_quotMeasure_iwasawa [PolishSpace M] [LocallyCompactSpace M] | |
| 555 | + (hN : IsClosed (N : Set G)) (hw : Continuous w) (hw_pos : ∀ m : M, 0 < w m) (hi : Continuous i) | |
| 556 | + (h_dec : ∀ g : G, ∃ n : N, ∃ m : M, ∃ k : K, g = n * i m * k) | |
| 557 | + (h_conj : ∀ (m : M) (f : G → ℝ≥0∞), Measurable f → | |
| 558 | + ∫⁻ n : N, f (i m * n * (i m)⁻¹) ∂lam = ENNReal.ofReal (w m) * ∫⁻ n : N, f n ∂lam) | |
| 559 | + (h_triv : ∀ a : M, i a ∈ N → a = 1) {D : Type*} | |
| 560 | + [Countable D] {δ : D → M} (hδ : δ.Injective) (α : Measure M) [SFinite α] | |
| 561 | + (hα : ∀ f : M → ℝ≥0∞, Measurable f → ∫⁻ m : M, f m ∂ν = ∫⁻ m : M, ∑' d : D, f (δ d * m) ∂α) | |
| 562 | + (hδ_mem : ∀ d : D, i (δ d) ∈ Γ) (hΓ : ∀ g ∈ Γ, ∃ d : D, g * i (δ d) ∈ N) [DiscreteTopology Γ] | |
| 563 | + (h_cocpt : (Γ.subgroupOf N).IsCocompact) : | |
| 564 | + ∃ c ≠ (0 : ℝ), ∀ F : G → ℂ, Measurable F → N.FixesLeft F → Γ.FixesLeft F → | |
| 565 | + Integrable (fun p : M × K ↦ (w p.1 : ℂ) * F (i p.1 * p.2)) (α.prod κ) → | |
| 566 | + Integrable F (Γ.quotMeasure μ) ∧ | |
| 567 | + ∫ g : G, F g ∂Γ.quotMeasure μ = | |
| 568 | + c * ∫ p : M × K, (w p.1 : ℂ) * F (i p.1 * p.2) ∂α.prod κ := by | |
| 569 | + -- The Iwasawa formula with factor `r`, unfolded along `Γ = {i (δ d) * γ}`, says that the measure | |
| 570 | + -- `w · (α × κ) × (Γ ∩ N)\N` in the coordinates `n * i m * k` is the quotient of `r • μ` by `Γ`. | |
| 571 | + -- The cocompact subgroup `Γ ∩ N` is a lattice in `N`, so `N` is unimodular. | |
| 572 | + let lam' : Measure N := (Γ.subgroupOf N).quotMeasure lam | |
| 573 | + have h_finite : IsFiniteMeasure lam' := isFiniteMeasure_quotMeasure_of_cocompact lam h_cocpt | |
| 574 | + have : lam.IsMulRightInvariant := isMulRightInvariant_of_finite_covolume h_finite | |
| 575 | + obtain ⟨r, h_iwa⟩ := lintegral_iwasawa (lam := lam) w μ ν κ i hN hw_pos hi h_dec h_conj | |
| 576 | + -- For `f = 1` the left side of `h_iwa` is a product of nonzero total masses. | |
| 577 | + have hr : r ≠ 0 := fun h ↦ by simpa [h, NeZero.ne] using h_iwa 1 measurable_one | |
| 578 | + have hw_meas : Measurable fun p : M × K ↦ ENNReal.ofReal (w p.1) := by fun_prop | |
| 579 | + let ρ : Measure (M × K) := (α.prod κ).withDensity fun p ↦ .ofReal (w p.1) | |
| 580 | + let σ (p : M × K) : G := i p.1 * p.2 | |
| 581 | + let τ (p : (M × K) × N) : G := p.2 * σ p.1 | |
| 582 | + have h_unfold : MeasurePreserving (fun p : ((M × K) × N) × Γ ↦ p.2 • τ p.1) | |
| 583 | + ((ρ.prod lam').prod count) (r • μ) := by | |
| 584 | + refine ⟨by fun_prop, ext_of_lintegral _ fun f hf ↦ ?_⟩ | |
| 585 | + calc | |
| 586 | + _ = ∫⁻ p : M × K, ∫⁻ n : N, ∑' γ : Γ, f (γ * (n * (i p.1 * p.2))) ∂lam' ∂ρ := by | |
| 587 | + simp (disch := fun_prop) only [lintegral_map, lintegral_prod, lintegral_count, | |
| 588 | + Subgroup.smul_def, smul_eq_mul, τ, σ] | |
| 589 | + _ = ∫⁻ k : K, ∫⁻ m : M, ∑' d : D, ∫⁻ n : N, f (i (δ d * m) * n * k) ∂lam ∂α ∂κ := by | |
| 590 | + rw [lintegral_withDensity_eq_lintegral_mul _ hw_meas (by fun_prop), | |
| 591 | + lintegral_prod_symm _ (by fun_prop)] | |
| 592 | + simp only [Pi.mul_apply, lam', | |
| 593 | + ofReal_mul_lintegral_quotMeasure_tsum w i hN h_conj h_triv hδ hδ_mem hΓ hf] | |
| 594 | + _ = ∫⁻ k : K, ∫⁻ m : M, ∫⁻ n : N, f (i m * n * k) ∂lam ∂ν ∂κ := | |
| 595 | + lintegral_congr fun k ↦ (hα (fun m ↦ ∫⁻ n : N, f (i m * n * k) ∂lam) (by fun_prop)).symm | |
| 596 | + _ = ∫⁻ g, f g ∂(r • μ) := by rw [h_iwa f hf, lintegral_smul_measure, smul_eq_mul] | |
| 597 | + obtain ⟨c, hc, h_div⟩ := exists_integral_eq_mul_of_smul_measure (Γ.quotMeasure μ) hr | |
| 598 | + (NeZero.ne (lam' .univ)) (measure_ne_top lam' .univ) | |
| 599 | + refine ⟨c, hc, fun F hF hFN hFΓ h_weighted ↦ ?_⟩ | |
| 600 | + -- By `h_unfold`, `F` on `Γ \ G` has the law of `F ∘ τ`, and `F ∘ τ` does not depend on `n`. | |
| 601 | + have hFτ (p : (M × K) × N) : F (τ p) = F (σ p.1) := hFN p.2 p.2.property (σ p.1) | |
| 602 | + have h_law : IdentDistrib F (fun p : M × K ↦ F (σ p)) (r • Γ.quotMeasure μ) | |
| 603 | + (lam' .univ • ρ) := by | |
| 604 | + rw [← show Γ.quotMeasure (r • μ) = r • Γ.quotMeasure μ from withDensity_smul_measure r _] | |
| 605 | + refine (identDistrib_orbitMeasure_of_unfold (T := τ) (.id (count : Measure Γ)) h_unfold hF | |
| 606 | + (by fun_prop) fun γ x ↦ hFΓ γ γ.property x).trans ⟨by fun_prop, by fun_prop, ?_⟩ | |
| 607 | + simp (disch := fun_prop) only [hFτ, ← map_fst_prod, map_map, comp_def] | |
| 608 | + have h_int : Integrable (fun p : M × K ↦ F (σ p)) ρ := by | |
| 609 | + simpa [ρ, integrable_withDensity_iff_integrable_smul' hw_meas, hw_pos, le_of_lt] | |
| 610 | + using h_weighted | |
| 611 | + refine h_div F _ hF (h_law.integrable_iff.2 (h_int.smul_measure (measure_ne_top lam' .univ))) ?_ | |
| 612 | + rw [h_law.integral_eq, integral_smul_measure, | |
| 613 | + integral_withDensity_eq_integral_toReal_smul hw_meas (by simp)] | |
| 614 | + simp [σ, hw_pos, le_of_lt] | |
| 615 | +end IwasawaIntegration | |
+101 −0 src/Lib/Adelic/QuotientMeasure/MovingTheQuotient.lean added View file
| @@ -0,0 +1,101 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import Lib.Adelic.QuotientMeasure.Basic | |
| 4 | +import TauCeti.MeasureTheory.Group.Arithmetic | |
| 5 | + | |
| 6 | +/-! | |
| 7 | +# Moving a quotient from one variable to another | |
| 8 | + | |
| 9 | +Let `Λ → R` be a homomorphism from a countable group to a subgroup `R` of a group `G`, and let `F` | |
| 10 | +on `R × G` be invariant under the diagonal action of `Λ`. The integral of `F` over | |
| 11 | +`Λ \ (R × G)` may be computed as an integral over `R × (Λ \ G)` or over `(Λ \ R) × G` | |
| 12 | +(`New.integral_cutoff_swap`). | |
| 13 | + | |
| 14 | +Notions from other files: | |
| 15 | +* `New.orbitMeasure ν μ`: the measure `μ` weighted by a chosen cutoff; it computes integrals over | |
| 16 | + the quotient. | |
| 17 | + | |
| 18 | +## Relation to the literature | |
| 19 | + | |
| 20 | +A consequence of a known result: the integral over a quotient does not depend on the cutoff. See | |
| 21 | +`Lib.Adelic.QuotientMeasure.Basic`. | |
| 22 | +-/ | |
| 23 | + | |
| 24 | +@[expose] public section | |
| 25 | + | |
| 26 | +open MeasureTheory Measure | |
| 27 | + | |
| 28 | +namespace New | |
| 29 | + | |
| 30 | +/-- Let `ν` be an inversion invariant measure on a group `H`, `μ` an `H`-invariant measure on `X` | |
| 31 | +and `β` a cutoff, that is, a measurable weight with `∫_H β (h • x) dν = 1` for every `x`. A | |
| 32 | +measurable `H`-invariant function `f` is integrable for the quotient measure `orbitMeasure ν μ` | |
| 33 | +(the measure `μ` weighted by a chosen cutoff) if and only if `β • f` is integrable for `μ`. -/ | |
| 34 | +lemma IsCutoff.integrable_orbitMeasure_iff {H X : Type*} [Group H] [MeasurableSpace H] | |
| 35 | + [MeasurableInv H] [MeasurableSpace X] [MulAction H X] [MeasurableSMul₂ H X] | |
| 36 | + {ν : Measure H} [SFinite ν] [ν.IsInvInvariant] | |
| 37 | + {μ : Measure X} [SFinite μ] [SMulInvariantMeasure H X μ] | |
| 38 | + {β : X → ENNReal} (hβ : IsCutoff ν β) {f : X → ℂ} | |
| 39 | + (h_inv : ∀ (h : H) (x : X), f (h • x) = f x) (hf : Measurable f) : | |
| 40 | + Integrable f (orbitMeasure ν μ) ↔ Integrable (fun x : X ↦ (β x).toReal • f x) μ := by | |
| 41 | + have hβ_meas : Measurable β := hβ.1 | |
| 42 | + rw [(identDistrib_orbitMeasure hβ hf h_inv).integrable_iff, | |
| 43 | + integrable_withDensity_iff_integrable_smul' hβ_meas hβ.ae_cutoff_lt_top] | |
| 44 | + | |
| 45 | +/-- **Moving the quotient from one variable to the other.** Let `R` be a subgroup of `G`, with left | |
| 46 | +invariant measures `ν` and `μ`, and let `i` be a homomorphism from a countable group `Λ` to `R`. | |
| 47 | +Let the translates under `Λ` of the measurable weight `β` on `G` add up to one, so that `β μ` and | |
| 48 | +`β ν` compute integrals over `Λ \ G` and `Λ \ R`. If `F` on `R × G` is measurable, invariant under | |
| 49 | +the diagonal action of `Λ` and integrable over `(Λ \ R) × G`, then | |
| 50 | +`∫_{Λ \ G} ∫_R F = ∫_{Λ \ R} ∫_G F`. -/ | |
| 51 | +theorem integral_cutoff_swap {G Λ : Type*} [Group G] [MeasurableSpace G] [MeasurableMul₂ G] | |
| 52 | + [Group Λ] [Countable Λ] {R : Subgroup G} | |
| 53 | + (μ : Measure G) [SFinite μ] [μ.IsMulLeftInvariant] | |
| 54 | + (ν : Measure R) [SFinite ν] [ν.IsMulLeftInvariant] (i : Λ →* R) {β : G → ENNReal} | |
| 55 | + (hβ : Measurable β) (hβ_one : ∀ x : G, ∑' l : Λ, β (i l * x) = 1) {F : R × G → ℂ} | |
| 56 | + (hF : Measurable F) (hF_inv : ∀ (l : Λ) (s : R) (x : G), F (i l * s, i l * x) = F (s, x)) | |
| 57 | + (h_int : Integrable (fun p : R × G ↦ (β p.1).toReal • F p) (ν.prod μ)) : | |
| 58 | + ∫ x : G, (β x).toReal • ∫ s : R, F (s, x) ∂ν ∂μ = | |
| 59 | + ∫ s : R, (β s).toReal • ∫ x : G, F (s, x) ∂μ ∂ν := by | |
| 60 | + -- Both `β s` and `β x` are cutoffs for the diagonal action of `Λ` on `R × G`, and the integral of | |
| 61 | + -- an invariant function does not depend on the cutoff. | |
| 62 | + let : MeasurableSpace Λ := ⊤ | |
| 63 | + let : MulAction Λ (R × G) := .compHom (R × G) i | |
| 64 | + have h_smul (l : Λ) (p : R × G) : l • p = (i l * p.1, i l * p.2) := rfl | |
| 65 | + have : MeasurableSMul₂ Λ (R × G) := | |
| 66 | + ⟨measurable_from_prod_countable_right fun l ↦ | |
| 67 | + (measurable_fst.const_mul (i l)).prodMk (measurable_snd.const_mul (i l : G))⟩ | |
| 68 | + have h_pres (l : Λ) : MeasurePreserving (fun p : R × G ↦ l • p) (ν.prod μ) (ν.prod μ) := | |
| 69 | + (measurePreserving_mul_left ν (i l)).prod (measurePreserving_mul_left μ (i l : G)) | |
| 70 | + have : SMulInvariantMeasure Λ (R × G) (ν.prod μ) := | |
| 71 | + ⟨fun l T hT ↦ (h_pres l).measure_preimage hT.nullMeasurableSet⟩ | |
| 72 | + have h_fst : IsCutoff (count : Measure Λ) fun p : R × G ↦ β p.1 := | |
| 73 | + ⟨by fun_prop, fun p ↦ by simpa [lintegral_count, h_smul] using hβ_one p.1⟩ | |
| 74 | + have h_snd : IsCutoff (count : Measure Λ) fun p : R × G ↦ β p.2 := | |
| 75 | + ⟨by fun_prop, fun p ↦ by simpa [lintegral_count, h_smul] using hβ_one p.2⟩ | |
| 76 | + have h_inv (l : Λ) (p : R × G) : F (l • p) = F p := hF_inv l p.1 p.2 | |
| 77 | + have h_int_snd : Integrable (fun p : R × G ↦ (β p.2).toReal • F p) (ν.prod μ) := by | |
| 78 | + rwa [← h_snd.integrable_orbitMeasure_iff h_inv hF, h_fst.integrable_orbitMeasure_iff h_inv hF] | |
| 79 | + calc ∫ x : G, (β x).toReal • ∫ s : R, F (s, x) ∂ν ∂μ | |
| 80 | + = ∫ p : R × G, (β p.2).toReal • F p ∂ν.prod μ := by | |
| 81 | + simp only [integral_prod_symm _ h_int_snd, integral_smul] | |
| 82 | + _ = ∫ p : R × G, (β p.1).toReal • F p ∂ν.prod μ := by | |
| 83 | + rw [← h_snd.integral_orbitMeasure h_inv hF, h_fst.integral_orbitMeasure h_inv hF] | |
| 84 | + _ = ∫ s : R, (β s).toReal • ∫ x : G, F (s, x) ∂μ ∂ν := by | |
| 85 | + simp only [integral_prod _ h_int, integral_smul] | |
| 86 | + | |
| 87 | +/-- If `a` is integrable on a subgroup `R` of `G` and `e` is integrable on `G` for a left invariant | |
| 88 | +measure, then `(s, x) ↦ a s * e (g * s⁻¹ * x)` is integrable on `R × G`. -/ | |
| 89 | +lemma integrable_mul_comp_inv_mul {G : Type*} [Group G] [MeasurableSpace G] [MeasurableMul₂ G] | |
| 90 | + [MeasurableInv G] {R : Subgroup G} {μ : Measure G} [SFinite μ] [μ.IsMulLeftInvariant] | |
| 91 | + {ν : Measure R} [SFinite ν] {a : R → ℂ} (ha : Integrable a ν) {e : G → ℂ} | |
| 92 | + (he : Integrable e μ) (g : G) : | |
| 93 | + Integrable (fun p : R × G ↦ a p.1 * e (g * (p.1 : G)⁻¹ * p.2)) (ν.prod μ) := by | |
| 94 | + -- The shear `(s, x) ↦ (s, g * s⁻¹ * x)` preserves the product measure. | |
| 95 | + have h_shear : MeasurePreserving (fun p : R × G ↦ (p.1, g * (p.1 : G)⁻¹ * p.2)) | |
| 96 | + (ν.prod μ) (ν.prod μ) := | |
| 97 | + (MeasurePreserving.id ν).skew_product (g := fun (s : R) (x : G) ↦ g * (s : G)⁻¹ * x) | |
| 98 | + (by fun_prop) (.of_forall fun s ↦ map_mul_left_eq_self μ (g * (s : G)⁻¹)) | |
| 99 | + exact h_shear.integrable_comp_of_integrable (ha.mul_prod he) | |
| 100 | + | |
| 101 | +end New | |
+338 −0 src/Lib/Adelic/QuotientMeasure/UnfoldingInStages.lean added View file
| @@ -0,0 +1,338 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import TauCeti.MeasureTheory.Group.OrbitCutoff.Stages | |
| 4 | +public import Lib.Adelic.QuotientMeasure.Basic | |
| 5 | + | |
| 6 | +/-! | |
| 7 | +# Pushing forward quotient measures, unfolding in stages and vanishing criteria | |
| 8 | + | |
| 9 | +This file studies integrals over a quotient `Γ \ G` by a discrete subgroup `Γ`, with `μ` a Haar | |
| 10 | +measure. For a `Γ`-invariant `F`, `(Γ.quotMeasure μ)[F]` is the integral of `F` over `Γ \ G`. Such | |
| 11 | +integrals are compared with integrals over a quotient `Λ \ H` of a second group mapping to `G`, and | |
| 12 | +are written as iterated integrals with inner integral over `Λ \ H`. From this follow two criteria | |
| 13 | +for the integral of a continuous left `Γ`-invariant function to vanish. | |
| 14 | + | |
| 15 | +## Main definitions and results | |
| 16 | + | |
| 17 | +* `New.exists_integral_comp_quotMeasure_eq_smul`: for a continuous surjection `H → G` of unimodular | |
| 18 | + groups taking `Λ` into `Γ`, the integral over `Λ \ H` of a pulled-back invariant function is a | |
| 19 | + fixed multiple of its integral over `Γ \ G`. Unimodular means the Haar measures are also right | |
| 20 | + invariant. | |
| 21 | +* `New.integral_quotMeasure_stages`: the integral over `Γ \ G` is an iterated integral whose inner | |
| 22 | + integral is over `Λ \ H`. | |
| 23 | +* `New.integral_quotMeasure_eq_integral_cosetMeasure`: the case of a closed subgroup, with the outer | |
| 24 | + integral over `i(H) \ G` (`New.cosetMeasure`). | |
| 25 | +* `New.Exchange.exists_integral_stages_eq_mul`: for a subgroup `L × H`, if the inner integrals | |
| 26 | + through every `g` are `ρ g * c`, with `re ρ` nonnegative and nonzero near some point, then the | |
| 27 | + integral over `Γ \ G` is `R * c` for a fixed `R ≠ 0`, with `Γ` the image of `Λ ≤ H`. | |
| 28 | +* `New.integral_quotMeasure_eq_zero_of_mean`: the integral vanishes if an average of translates of | |
| 29 | + `F` by elements of a closed subgroup `H ≥ Γ` is `a • F` and these elements scale the Haar measure | |
| 30 | + of `H` by `d ≠ a`. | |
| 31 | +* `New.integral_quotMeasure_eq_zero_of_twist`: the integral vanishes if `F (u * y) = c • F y` with | |
| 32 | + `‖c‖ = 1` and `c ≠ 1`. | |
| 33 | + | |
| 34 | +## Relation to the literature | |
| 35 | + | |
| 36 | +Known; see `Lib.Adelic.QuotientMeasure.Basic` for sources. | |
| 37 | +-/ | |
| 38 | + | |
| 39 | +@[expose] public section | |
| 40 | + | |
| 41 | +/-! ## Pushing forward quotient measures and unfolding in stages -/ | |
| 42 | + | |
| 43 | +section UnfoldingInStages | |
| 44 | + | |
| 45 | +open MeasureTheory Measure Topology MulAction Function ProbabilityTheory | |
| 46 | + | |
| 47 | +variable {G H V : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] | |
| 48 | + [LocallyCompactSpace G] [SecondCountableTopology G] [T2Space G] [MeasurableSpace G] [BorelSpace G] | |
| 49 | + [Group H] [TopologicalSpace H] [IsTopologicalGroup H] [LocallyCompactSpace H] | |
| 50 | + [SecondCountableTopology H] [MeasurableSpace H] [BorelSpace H] [NormedAddCommGroup V] | |
| 51 | + [NormedSpace ℝ V] [MeasurableSpace V] [BorelSpace V] | |
| 52 | + {Γ : Subgroup G} [DiscreteTopology Γ] | |
| 53 | + (Λ : Subgroup H) [DiscreteTopology Λ] | |
| 54 | + (μ : Measure G) [IsHaarMeasure μ] | |
| 55 | + (ν : Measure H) [IsHaarMeasure ν] | |
| 56 | + | |
| 57 | +private lemma identDistrib_cutoffMeasure_quotMeasure {G Y : Type*} [Group G] [TopologicalSpace G] | |
| 58 | + [IsTopologicalGroup G] [LocallyCompactSpace G] [SecondCountableTopology G] [T2Space G] | |
| 59 | + [MeasurableSpace G] [BorelSpace G] [MeasurableSpace Y] | |
| 60 | + {Γ : Subgroup G} [DiscreteTopology Γ] {μ : Measure G} [SFinite μ] | |
| 61 | + [SMulInvariantMeasure Γ G μ] {F : G → Y} (hF : Measurable F) (hF_inv : Γ.FixesLeft F) : | |
| 62 | + IdentDistrib F F (Γ.cutoffMeasure μ) (Γ.quotMeasure μ) := by | |
| 63 | + have : Countable Γ := countable_of_Lindelof_of_discrete | |
| 64 | + have hβ := New.isCutoff_chosenCutoff (count : Measure Γ) (X := G) | |
| 65 | + exact MeasureTheory.IsOrbitCutoff.identDistrib_cutoffMeasure ⟨hβ.1, hβ.2⟩ hF fun γ g ↦ | |
| 66 | + hF_inv γ γ.property g | |
| 67 | + | |
| 68 | +/-- Let `π : H → G` be a continuous surjective homomorphism with `π Λ ≤ Γ` (both discrete), and let | |
| 69 | +`μ` and `ν` be Haar measures on `G` and `H` that are also right invariant. There is a real `c` such | |
| 70 | +that, for all measurable left `Γ`-invariant `F`, the integral of `F ∘ π` over `Λ \ H` is `c` times | |
| 71 | +the integral of `F` over `Γ \ G`. -/ | |
| 72 | +lemma New.exists_integral_comp_quotMeasure_eq_smul [T2Space H] | |
| 73 | + [μ.IsMulRightInvariant] [ν.IsMulRightInvariant] | |
| 74 | + {π : H →* G} (hπ : Continuous π) (hπ_surj : Surjective π) (hΛ : Λ ≤ Γ.comap π) : | |
| 75 | + ∃ c : ℝ, ∀ F : G → V, Measurable F → Γ.FixesLeft F → | |
| 76 | + ∫ r : H, F (π r) ∂Λ.quotMeasure ν = c • ∫ g : G, F g ∂Γ.quotMeasure μ := by | |
| 77 | + obtain ⟨c, hc⟩ := | |
| 78 | + Subgroup.exists_integral_comp_cutoffMeasure_eq_smul (V := V) Λ μ ν hπ hπ_surj hΛ | |
| 79 | + refine ⟨c, fun F hF hF_inv ↦ ?_⟩ | |
| 80 | + have hF_inv_Λ : Λ.FixesLeft (fun r ↦ F (π r)) := fun γ hγ r ↦ by | |
| 81 | + simpa [map_mul] using hF_inv (π γ) (hΛ hγ) (π r) | |
| 82 | + rw [← (identDistrib_cutoffMeasure_quotMeasure (F := fun r ↦ F (π r)) (hF.comp hπ.measurable) | |
| 83 | + hF_inv_Λ).integral_eq, | |
| 84 | + ← (identDistrib_cutoffMeasure_quotMeasure hF hF_inv).integral_eq] | |
| 85 | + exact hc F hF hF_inv | |
| 86 | + | |
| 87 | +/-- Unfolding in stages. Let `i : H → G` be an injective homomorphism with `i Λ = Γ` (both | |
| 88 | +discrete), `ν` a Haar measure on `H`, and let `(z, h) ↦ i h * T z` carry `m ⊗ ν` to `μ`. Let `F` | |
| 89 | +be measurable, left `Γ`-invariant and integrable on `Γ \ G`. Then (a) the integral of | |
| 90 | +`a ↦ F (i a * T z)` over `Λ \ H` is `m`-integrable in `z` and (b) its integral against `m` is the | |
| 91 | +integral of `F` over `Γ \ G`. -/ | |
| 92 | +lemma New.integral_quotMeasure_stages [T2Space H] {Z : Type*} [MeasurableSpace Z] {m : Measure Z} | |
| 93 | + {μ : Measure G} [SFinite m] (T : Z → G) {i : H →* G} (hi : Injective i) | |
| 94 | + (hT : MeasurePreserving (fun p : Z × H ↦ i p.2 * T p.1) (m.prod ν) μ) (hΓ : Λ.map i = Γ) | |
| 95 | + {F : G → V} (hF : Measurable F) (hF_inv : Γ.FixesLeft F) | |
| 96 | + (hF_int : Integrable F (Γ.quotMeasure μ)) : | |
| 97 | + Integrable (fun z : Z ↦ ∫ a : H, F (i a * T z) ∂Λ.quotMeasure ν) m ∧ | |
| 98 | + ∫ g : G, F g ∂Γ.quotMeasure μ = ∫ z : Z, ∫ a : H, F (i a * T z) ∂Λ.quotMeasure ν ∂m := by | |
| 99 | + -- The map `((z, a), l) ↦ i l * (i a * T z)` unfolds `m ⊗ Λ.quotMeasure ν` to `μ`, so `F` on | |
| 100 | + -- `Γ \ G` is distributed as `(z, a) ↦ F (i a * T z)`; Fubini's theorem finishes. | |
| 101 | + let e : Λ ≃* Γ := (Λ.equivMapOfInjective _ hi).trans (.subgroupCongr hΓ) | |
| 102 | + have h_unfold : MeasurePreserving (fun p : (Z × H) × Λ ↦ e p.2 • (i p.1.2 * T p.1.1)) | |
| 103 | + ((m.prod (Λ.quotMeasure ν)).prod count) μ := by | |
| 104 | + -- Unfold `Λ \ H` to `H` in the second factor by `(a, l) ↦ l • a`, then apply `hT`. | |
| 105 | + simpa [Function.comp_def, Subgroup.smul_def, e, mul_assoc] using | |
| 106 | + hT.comp (measurePreserving_prod_orbitMeasure (ν := count (α := Λ)) m) | |
| 107 | + have h_dist : | |
| 108 | + IdentDistrib F (fun p : Z × H ↦ F (i p.2 * T p.1)) (Γ.quotMeasure μ) | |
| 109 | + (m.prod (Λ.quotMeasure ν)) := | |
| 110 | + identDistrib_orbitMeasure_of_unfold (measurePreserving_count e.toEquiv) h_unfold hF | |
| 111 | + hT.measurable fun γ ↦ hF_inv γ γ.property | |
| 112 | + have h_int := h_dist.integrable_snd hF_int | |
| 113 | + exact ⟨h_int.integral_prod_left, h_dist.integral_eq.trans (integral_prod _ h_int)⟩ | |
| 114 | + | |
| 115 | +/-- The quotient measure on `i(H) \ G`, carried by `G`, of the Haar measures `μ` on `G` and `ν` on | |
| 116 | +`H`, for `H` acting on `G` by left translation through `i`; it is used for closed embeddings | |
| 117 | +`i : H → G`. -/ | |
| 118 | +noncomputable def New.cosetMeasure (i : H →* G) : Measure G := | |
| 119 | + letI := compHom G i | |
| 120 | + orbitMeasure ν μ | |
| 121 | + | |
| 122 | +/-- For a closed embedding, the coset measure is s-finite and unfolds to Haar measure. -/ | |
| 123 | +private lemma New.cosetMeasure_unfold [ν.IsMulRightInvariant] | |
| 124 | + {i : H →* G} (hi : IsClosedEmbedding i) : | |
| 125 | + SFinite (cosetMeasure μ ν i) ∧ MeasurePreserving (fun p : G × H ↦ i p.2 * p.1) | |
| 126 | + ((cosetMeasure μ ν i).prod ν) μ := by | |
| 127 | + let : MulAction H G := compHom G i | |
| 128 | + have : SMulInvariantMeasure H G μ := ⟨by simp [compHom_smul_def]⟩ | |
| 129 | + have : ProperSMul H G := properSMul_of_isClosedEmbedding i hi fun _ _ ↦ rfl | |
| 130 | + have : HasCutoff ν G := hasCutoff_of_proper | |
| 131 | + exact ⟨inferInstanceAs (SFinite (orbitMeasure ν μ)), measurePreserving_orbitMeasure⟩ | |
| 132 | + | |
| 133 | +/-- Integration in stages. Let `i : H → G` be a closed embedding, `Λ` a discrete subgroup of the | |
| 134 | +unimodular group `H`, and `F` measurable, left `i(Λ)`-invariant and integrable on `i(Λ) \ G`. Then | |
| 135 | +(a) the integral of `a ↦ F (i a * g)` over `Λ \ H` is integrable in `g` on `i(H) \ G` and (b) its | |
| 136 | +integral there is the integral of `F` over `i(Λ) \ G`. -/ | |
| 137 | +lemma New.integral_quotMeasure_eq_integral_cosetMeasure [T2Space H] | |
| 138 | + [ν.IsMulRightInvariant] {i : H →* G} | |
| 139 | + (hi : IsClosedEmbedding i) {F : G → V} (hF : Measurable F) (hF_inv : (Λ.map i).FixesLeft F) | |
| 140 | + (hF_int : Integrable F ((Λ.map i).quotMeasure μ)) : | |
| 141 | + Integrable (fun g : G ↦ ∫ a : H, F (i a * g) ∂Λ.quotMeasure ν) (cosetMeasure μ ν i) ∧ | |
| 142 | + ∫ g : G, F g ∂(Λ.map i).quotMeasure μ = | |
| 143 | + ∫ g : G, ∫ a : H, F (i a * g) ∂Λ.quotMeasure ν ∂cosetMeasure μ ν i := by | |
| 144 | + have : DiscreteTopology (Λ.map i) := (hi.isEmbedding.homeomorphImage Λ).discreteTopology | |
| 145 | + obtain ⟨h_sfinite, h_unfold⟩ := cosetMeasure_unfold μ ν hi | |
| 146 | + exact integral_quotMeasure_stages Λ ν (T := fun g : G ↦ g) hi.injective h_unfold (hΓ := rfl) hF | |
| 147 | + hF_inv hF_int | |
| 148 | + | |
| 149 | +/-- Let `i : H → G` be a closed embedding of a unimodular group and `ρ ≥ 0` a function on `G`, | |
| 150 | +invariant under left translation by `i(H)`, integrable and with integral zero for the quotient | |
| 151 | +measure `New.cosetMeasure` on `i(H) \ G`. Then `ρ` vanishes on a dense set. -/ | |
| 152 | +lemma New.dense_eq_zero_of_integral_cosetMeasure_eq_zero [ν.IsMulRightInvariant] {i : H →* G} | |
| 153 | + (hi : IsClosedEmbedding i) {ρ : G → ℝ} (hρ_nonneg : 0 ≤ ρ) | |
| 154 | + (hρ_inv : ∀ (a : H) (g : G), ρ (i a * g) = ρ g) (hρ_int : Integrable ρ (cosetMeasure μ ν i)) | |
| 155 | + (h_zero : ∫ g : G, ρ g ∂cosetMeasure μ ν i = 0) : Dense {g : G | ρ g = 0} := by | |
| 156 | + let : MulAction H G := compHom G i | |
| 157 | + have : SMulInvariantMeasure H G μ := ⟨by simp [compHom_smul_def]⟩ | |
| 158 | + have : ProperSMul H G := properSMul_of_isClosedEmbedding i hi fun _ _ ↦ rfl | |
| 159 | + have : HasCutoff ν G := hasCutoff_of_proper | |
| 160 | + exact dense_eq_zero_of_integral_orbitMeasure_eq_zero hρ_nonneg hρ_inv hρ_int h_zero | |
| 161 | + | |
| 162 | +/-- Let `i : H → G` be a closed embedding of a unimodular group and `ρ ≥ 0` a continuous function | |
| 163 | +on `G`, invariant under left translation by `i(H)` and integrable for the quotient measure | |
| 164 | +`New.cosetMeasure` on `i(H) \ G`. If its integral is zero, then `ρ = 0`. -/ | |
| 165 | +lemma New.eq_zero_of_integral_cosetMeasure_eq_zero [ν.IsMulRightInvariant] {i : H →* G} | |
| 166 | + (hi : IsClosedEmbedding i) {ρ : G → ℝ} (hρ_cont : Continuous ρ) (hρ_nonneg : 0 ≤ ρ) | |
| 167 | + (hρ_inv : ∀ (a : H) (g : G), ρ (i a * g) = ρ g) (hρ_int : Integrable ρ (cosetMeasure μ ν i)) | |
| 168 | + (h_zero : ∫ g : G, ρ g ∂cosetMeasure μ ν i = 0) : ρ = 0 := | |
| 169 | + hρ_cont.ext_on (dense_eq_zero_of_integral_cosetMeasure_eq_zero μ ν hi hρ_nonneg hρ_inv hρ_int | |
| 170 | + h_zero) continuous_zero fun _ hg ↦ hg | |
| 171 | + | |
| 172 | +/-- Let `i : H → G` be a closed embedding of a unimodular group and `ρ : G → ℂ` invariant under | |
| 173 | +left translation by `i(H)`, with nonnegative real part, integrable and with integral zero for the | |
| 174 | +quotient measure `New.cosetMeasure` on `i(H) \ G`. Then the real part of `ρ` vanishes on a dense | |
| 175 | +set. -/ | |
| 176 | +lemma New.dense_re_eq_zero_of_integral_cosetMeasure_eq_zero [ν.IsMulRightInvariant] {i : H →* G} | |
| 177 | + (hi : IsClosedEmbedding i) {ρ : G → ℂ} (hρ_nonneg : ∀ g : G, 0 ≤ (ρ g).re) | |
| 178 | + (hρ_inv : ∀ (a : H) (g : G), ρ (i a * g) = ρ g) (hρ_int : Integrable ρ (cosetMeasure μ ν i)) | |
| 179 | + (h_zero : ∫ g : G, ρ g ∂cosetMeasure μ ν i = 0) : Dense {g : G | (ρ g).re = 0} := | |
| 180 | + dense_eq_zero_of_integral_cosetMeasure_eq_zero μ ν hi (ρ := fun g ↦ (ρ g).re) hρ_nonneg | |
| 181 | + (fun a g ↦ by rw [hρ_inv]) hρ_int.re ((integral_re hρ_int).trans (congrArg Complex.re h_zero)) | |
| 182 | + | |
| 183 | +variable [T2Space H] | |
| 184 | + | |
| 185 | +omit [LocallyCompactSpace G] [SecondCountableTopology G] [T2Space G] [MeasurableSpace G] | |
| 186 | + [BorelSpace G] in | |
| 187 | +/-- Let `i : L × H → G` be a continuous homomorphism, `κ` a right invariant measure on `L`, `ν` a | |
| 188 | +right invariant Haar measure on `H`, and `F` continuous, left invariant under the image of the | |
| 189 | +discrete `Λ ≤ H`. The integral of `F (i (l, a) * g)` over `a` in `Λ \ H` and then over `l` in `L` | |
| 190 | +is unchanged if `g` is replaced by `i k * g`. -/ | |
| 191 | +lemma New.integral_integral_quotMeasure_translate {L : Type*} [Group L] [TopologicalSpace L] | |
| 192 | + [MeasurableSpace L] [MeasurableMul L] (κ : Measure L) [κ.IsMulRightInvariant] | |
| 193 | + [ν.IsMulRightInvariant] {i : L × H →* G} (hi : Continuous i) {F : G → ℂ} (hF : Continuous F) | |
| 194 | + (hF_inv : (Λ.map (i.comp (MonoidHom.inr L H))).FixesLeft F) (k : L × H) (g : G) : | |
| 195 | + ∫ l : L, ∫ a : H, F (i (l, a) * (i k * g)) ∂Λ.quotMeasure ν ∂κ = | |
| 196 | + ∫ l : L, ∫ a : H, F (i (l, a) * g) ∂Λ.quotMeasure ν ∂κ := by | |
| 197 | + -- Translate first in `Λ \ H`, then in `L`. | |
| 198 | + have h_fibre (l : L) : | |
| 199 | + ∫ a, F (i (l, a * k.2) * g) ∂Λ.quotMeasure ν = ∫ a, F (i (l, a) * g) ∂Λ.quotMeasure ν := by | |
| 200 | + have h_left (γ : Λ) (a : H) : F (i (l, γ • a) * g) = F (i (l, a) * g) := by | |
| 201 | + simpa [Subgroup.smul_def, ← mul_assoc, ← map_mul] using | |
| 202 | + hF_inv (i (1, γ)) ⟨γ, γ.property, rfl⟩ (i (l, a) * g) | |
| 203 | + exact (identDistrib_orbitMeasure_mul_right (F := fun a ↦ F (i (l, a) * g)) k.2 h_left | |
| 204 | + (Continuous.measurable (by fun_prop))).integral_eq | |
| 205 | + calc | |
| 206 | + _ = ∫ l, ∫ a, F (i (l * k.1, a * k.2) * g) ∂Λ.quotMeasure ν ∂κ := by | |
| 207 | + simp [Prod.mul_def, ← mul_assoc, ← map_mul] | |
| 208 | + _ = ∫ l, ∫ a, F (i (l * k.1, a) * g) ∂Λ.quotMeasure ν ∂κ := by simp only [h_fibre] | |
| 209 | + _ = ∫ l, ∫ a, F (i (l, a) * g) ∂Λ.quotMeasure ν ∂κ := | |
| 210 | + integral_mul_right_eq_self (fun l ↦ ∫ a, F (i (l, a) * g) ∂Λ.quotMeasure ν) k.1 | |
| 211 | + | |
| 212 | +/-- Let `i` embed `L × H` as a closed subgroup of `G`, with `L` and `H` unimodular, and let `Λ ≤ H` | |
| 213 | +be discrete with image `Γ`. For `F` continuous, left `Γ`-invariant and integrable on `Γ \ G`, the | |
| 214 | +integral of `F (i (l, a) * g)` over `a` in `Λ \ H` and then over `l` in `L` is integrable in `g` on | |
| 215 | +the quotient of `G` by `L × H`, and its integral there is the integral of `F` over `Γ \ G`. -/ | |
| 216 | +lemma New.integral_quotMeasure_eq_integral_cosetMeasure_prod {L : Type*} [Group L] | |
| 217 | + [TopologicalSpace L] [IsTopologicalGroup L] [PolishSpace L] [LocallyCompactSpace L] | |
| 218 | + [MeasurableSpace L] [BorelSpace L] (κ : Measure L) [IsHaarMeasure κ] [κ.IsMulRightInvariant] | |
| 219 | + [ν.IsMulRightInvariant] {i : L × H →* G} (hi : IsClosedEmbedding i) {F : G → ℂ} | |
| 220 | + (hF : Continuous F) (hF_inv : (Λ.map (i.comp (MonoidHom.inr L H))).FixesLeft F) | |
| 221 | + (hF_int : Integrable F ((Λ.map (i.comp (MonoidHom.inr L H))).quotMeasure μ)) : | |
| 222 | + Integrable (fun g : G ↦ ∫ l : L, ∫ a : H, F (i (l, a) * g) ∂Λ.quotMeasure ν ∂κ) | |
| 223 | + (cosetMeasure μ (κ.prod ν) i) ∧ | |
| 224 | + ∫ g : G, F g ∂(Λ.map (i.comp (MonoidHom.inr L H))).quotMeasure μ = | |
| 225 | + ∫ g : G, ∫ l : L, ∫ a : H, F (i (l, a) * g) ∂Λ.quotMeasure ν ∂κ | |
| 226 | + ∂cosetMeasure μ (κ.prod ν) i := by | |
| 227 | + -- Unfold `Γ \ G` over `((L × H) \ G) × L` with fibre `Λ \ H`, then integrate over `L` first. | |
| 228 | + have hi_inr : IsEmbedding (i ∘ Prod.mk 1) := hi.isEmbedding.comp (isEmbedding_prodMkRight 1) | |
| 229 | + have : DiscreteTopology (Λ.map (i.comp (.inr L H))) := (hi_inr.homeomorphImage Λ).discreteTopology | |
| 230 | + let m : Measure G := cosetMeasure μ (κ.prod ν) i -- the measure on the quotient by `L × H` | |
| 231 | + obtain ⟨h_sfinite, h_orbit⟩ := cosetMeasure_unfold μ (κ.prod ν) hi | |
| 232 | + have h_unfold : MeasurePreserving | |
| 233 | + (fun p : (G × L) × H ↦ i (1, p.2) * (i (p.1.2, 1) * p.1.1)) ((m.prod κ).prod ν) μ := by | |
| 234 | + simpa [Function.comp_def, MeasurableEquiv.prodAssoc, ← mul_assoc, ← map_mul] using | |
| 235 | + h_orbit.comp (measurePreserving_prodAssoc m κ ν) | |
| 236 | + obtain ⟨h_int, h_eq⟩ := integral_quotMeasure_stages Λ ν | |
| 237 | + (T := fun p : G × L ↦ i (p.2, 1) * p.1) (i := i.comp (.inr L H)) hi_inr.injective h_unfold | |
| 238 | + (hΓ := rfl) hF.measurable hF_inv hF_int | |
| 239 | + rw [h_eq, integral_prod _ h_int] | |
| 240 | + constructor | |
| 241 | + · simpa [← mul_assoc, ← map_mul] using h_int.integral_prod_left | |
| 242 | + · simp [m, ← mul_assoc, ← map_mul] | |
| 243 | + | |
| 244 | +/-- Let `i` embed `L × H` as a closed subgroup of `G`, with `L` and `H` unimodular, let `Λ ≤ H` be | |
| 245 | +discrete, and write `Γ` for the image of `Λ` under `a ↦ i (1, a)`. Let `ρ : G → ℂ` have real part | |
| 246 | +that is nonnegative, and nonzero near some point `g₀`. There is `R ≠ 0`, independent of `F` and | |
| 247 | +`c`, with the following property. Suppose (a) `F` is continuous, left `Γ`-invariant and integrable | |
| 248 | +on `Γ \ G`. Suppose (b) each `g` has a `k` in `L × H` for which the integral of | |
| 249 | +`F (i (l, a) * (i k * g))` over `a` in `Λ \ H` and then over `l` in `L` is `ρ g * c`. Then the | |
| 250 | +integral of `F` over `Γ \ G` is `R * c`. -/ | |
| 251 | +lemma New.Exchange.exists_integral_stages_eq_mul {L : Type*} [Group L] [TopologicalSpace L] | |
| 252 | + [IsTopologicalGroup L] [PolishSpace L] [LocallyCompactSpace L] [MeasurableSpace L] | |
| 253 | + [BorelSpace L] (κ : Measure L) [IsHaarMeasure κ] [κ.IsMulRightInvariant] [ν.IsMulRightInvariant] | |
| 254 | + (i : L × H →* G) (hi : IsClosedEmbedding i) {g₀ : G} (ρ : G → ℂ) | |
| 255 | + (hρ_nonneg : ∀ g : G, 0 ≤ (ρ g).re) (hρ_ne : ∀ᶠ g : G in 𝓝 g₀, (ρ g).re ≠ 0) : | |
| 256 | + ∃ R : ℂ, R ≠ 0 ∧ ∀ F : G → ℂ, Continuous F → | |
| 257 | + (Λ.map (i.comp (MonoidHom.inr L H))).FixesLeft F → | |
| 258 | + Integrable F ((Λ.map (i.comp (MonoidHom.inr L H))).quotMeasure μ) → | |
| 259 | + ∀ c : ℂ, | |
| 260 | + (∀ g : G, ∃ k : L × H, | |
| 261 | + ∫ l : L, ∫ a : H, F (i (l, a) * (i k * g)) ∂Λ.quotMeasure ν ∂κ = ρ g * c) → | |
| 262 | + ∫ g : G, F g ∂(Λ.map (i.comp (MonoidHom.inr L H))).quotMeasure μ = R * c := by | |
| 263 | + -- By unfolding in stages the integral of `F` is `ρ_integral * c`. If `c ≠ 0`, then `ρ_integral` | |
| 264 | + -- is nonzero, as `ρ` is then invariant and integrable on the quotient. | |
| 265 | + let ρ_integral : ℂ := ∫ g : G, ρ g ∂cosetMeasure μ (κ.prod ν) i | |
| 266 | + obtain ⟨R, hR_ne, hR_eq⟩ : ∃ R : ℂ, R ≠ 0 ∧ (ρ_integral ≠ 0 → R = ρ_integral) := | |
| 267 | + ⟨if ρ_integral = 0 then 1 else ρ_integral, by grind⟩ | |
| 268 | + refine ⟨R, hR_ne, fun F hF hF_inv hF_int c h_inner ↦ ?_⟩ | |
| 269 | + -- The inner integral is unchanged by translation in `L × H`; this removes the element `k`. | |
| 270 | + let innerIntegral (g : G) : ℂ := ∫ l : L, ∫ a : H, F (i (l, a) * g) ∂Λ.quotMeasure ν ∂κ | |
| 271 | + have h_translate (k : L × H) (g : G) : innerIntegral (i k * g) = innerIntegral g := | |
| 272 | + integral_integral_quotMeasure_translate Λ ν κ hi.continuous hF hF_inv k g | |
| 273 | + have h_inner_eq : innerIntegral = fun g : G ↦ ρ g * c := | |
| 274 | + funext fun g ↦ (h_inner g).elim fun k hk ↦ (h_translate k g).symm.trans hk | |
| 275 | + obtain ⟨h_int, h_stages⟩ : Integrable innerIntegral (cosetMeasure μ (κ.prod ν) i) ∧ | |
| 276 | + _ = ∫ g : G, innerIntegral g ∂cosetMeasure μ (κ.prod ν) i := | |
| 277 | + integral_quotMeasure_eq_integral_cosetMeasure_prod Λ μ ν κ hi hF hF_inv hF_int | |
| 278 | + rw [h_inner_eq, integral_mul_const] at h_stages | |
| 279 | + obtain rfl | hc := eq_or_ne c 0 | |
| 280 | + · simpa using h_stages | |
| 281 | + suffices h_ne : ρ_integral ≠ 0 by rwa [hR_eq h_ne] | |
| 282 | + intro h_zero | |
| 283 | + have hρ_int : Integrable ρ (cosetMeasure μ (κ.prod ν) i) := by | |
| 284 | + simpa [h_inner_eq, hc] using h_int.div_const c | |
| 285 | + have hρ_inv (k : L × H) (g : G) : ρ (i k * g) = ρ g := | |
| 286 | + mul_right_cancel₀ hc (by simpa only [h_inner_eq] using h_translate k g) | |
| 287 | + exact mem_closure_iff_frequently.1 (dense_re_eq_zero_of_integral_cosetMeasure_eq_zero μ | |
| 288 | + (κ.prod ν) hi hρ_nonneg hρ_inv hρ_int h_zero g₀) hρ_ne | |
| 289 | + | |
| 290 | +end UnfoldingInStages | |
| 291 | + | |
| 292 | +/-! | |
| 293 | +## Vanishing of quotient integrals by averaging or by a twist | |
| 294 | + | |
| 295 | +The first criterion is proved by unfolding the integral along `H` | |
| 296 | +(`New.integral_quotMeasure_stages`). The second follows from the first, applied to a closed | |
| 297 | +subgroup built from the twist. | |
| 298 | +-/ | |
| 299 | + | |
| 300 | +section QuotientVanishing | |
| 301 | + | |
| 302 | +open MeasureTheory Measure MulAction ProbabilityTheory Subgroup | |
| 303 | + | |
| 304 | +variable {G V : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] | |
| 305 | + [LocallyCompactSpace G] [SecondCountableTopology G] [T2Space G] [MeasurableSpace G] [BorelSpace G] | |
| 306 | + [NormedAddCommGroup V] [NormedSpace ℂ V] [CompleteSpace V] | |
| 307 | + (μ : Measure G) [IsHaarMeasure μ] | |
| 308 | + {Γ : Subgroup G} [DiscreteTopology Γ] {F : G → V} | |
| 309 | + | |
| 310 | +/-- Let `Γ ≤ H ≤ G` with `Γ` discrete and `H` closed, and let `F` be continuous and left | |
| 311 | +`Γ`-invariant. Let `κ` be a probability measure and `translator x b` elements of `H`, measurable in | |
| 312 | +`b`, such that right translation by `translator x b` carries the Haar measure of `H` to `d` times | |
| 313 | +itself and the `κ`-average over `b` of `F (s * translator x b * x)` is `a • F (s * x)` for all `s` | |
| 314 | +in `H`. If `a ≠ d`, the integral of `F` over `Γ \ G` vanishes. -/ | |
| 315 | +lemma New.integral_quotMeasure_eq_zero_of_mean (hF_inv : Γ.FixesLeft F) (hF : Continuous F) | |
| 316 | + {H : Subgroup G} [IsClosed (H : Set G)] (hΓH : Γ ≤ H) | |
| 317 | + {C : Type*} [MeasurableSpace C] (κ : Measure C) [IsProbabilityMeasure κ] | |
| 318 | + (translator : G → C → H) (h_meas : ∀ x : G, Measurable (translator x)) (d : NNReal) | |
| 319 | + (h_scale : ∀ (x : G) (b : C), (haar : Measure H).map (· * translator x b) = d • haar) | |
| 320 | + {a : ℂ} (ha : a ≠ (d : ℂ)) | |
| 321 | + (h_mean : ∀ (s : H) (x : G), ∫ b : C, F (↑(s * translator x b) * x) ∂κ = a • F (s * x)) : | |
| 322 | + (Γ.quotMeasure μ)[F] = 0 := by | |
| 323 | + borelize V | |
| 324 | + rw [← (identDistrib_cutoffMeasure_quotMeasure hF.measurable hF_inv).integral_eq] | |
| 325 | + exact Subgroup.integral_cutoffMeasure_eq_zero_of_mean μ hF hF_inv inferInstance hΓH haar κ | |
| 326 | + translator h_meas d h_scale ha h_mean | |
| 327 | + | |
| 328 | +/-- Let `F` be continuous and left invariant under the discrete subgroup `Γ`. If left translation | |
| 329 | +by some `u` multiplies `F` by a constant `c ≠ 1` of modulus one, the integral of `F` over | |
| 330 | +`Γ \ G` vanishes. -/ | |
| 331 | +lemma New.integral_quotMeasure_eq_zero_of_twist (hF_inv : Γ.FixesLeft F) (hF : Continuous F) | |
| 332 | + {u : G} {c : ℂ} (hc : ‖c‖ = 1) (hc_ne : c ≠ 1) (hu : ∀ y : G, F (u * y) = c • F y) : | |
| 333 | + (Γ.quotMeasure μ)[F] = 0 := by | |
| 334 | + borelize V | |
| 335 | + rw [← (identDistrib_cutoffMeasure_quotMeasure hF.measurable hF_inv).integral_eq] | |
| 336 | + exact Subgroup.integral_cutoffMeasure_eq_zero_of_twist μ hF hF_inv hc hc_ne hu | |
| 337 | + | |
| 338 | +end QuotientVanishing | |
+419 −0 src/Lib/Adelic/Reduction/DefiniteClassSums.lean added View file
| @@ -0,0 +1,419 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 4 | +import Mathlib.Topology.Algebra.ProperConstSMul | |
| 5 | +import TauCeti.Topology.Algebra.Group.Units | |
| 6 | +import TauCeti.Topology.Instances.Matrix | |
| 7 | +public import Lib.Adelic.Reduction.FiniteVolume | |
| 8 | +public import Lib.Adelic.Reduction.FirstMinimumShortBases | |
| 9 | +public import Lib.Adelic.Hecke.ClassSums | |
| 10 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 11 | +import Lib.Adelic.Unitary.WeakApproximation | |
| 12 | +import Lib.DiscreteSeries.Haar.GramPolar | |
| 13 | +import Lib.DiscreteSeries.Haar.TotalMass | |
| 14 | +import Lib.General.Measure.IdempotentKernel | |
| 15 | + | |
| 16 | +/-! | |
| 17 | +# Mahler's criterion for hermitian spaces and class sums for definite spaces | |
| 18 | + | |
| 19 | +For a hermitian space `V : New.Space E n s`, the rational unitary group embeds in the adelic unitary | |
| 20 | +group `New.G E s` with image `V.Γ`, and in its finite part with image `V.Γf`. Mahler's criterion | |
| 21 | +follows from short bases, whose Gram matrices take finitely many values. It gives compactness modulo | |
| 22 | +the rational points when all signs agree. For the signs `1`, it also gives finiteness of classes. | |
| 23 | +For such a space, the integral over `Γ \ G` of a suitable invariant function is then a class | |
| 24 | +sum. Here `K₀` is `New.stdLevel`, and `New.classSum` sums over the double cosets `Γf \ G_f / K` with | |
| 25 | +weights `1 / #(Γf ∩ g K g⁻¹)`. | |
| 26 | + | |
| 27 | +## Main definitions and results | |
| 28 | + | |
| 29 | +* `New.Space.mahler_criterion`: Mahler's criterion; the `g` of bounded height lie in `V.Γ * C` for | |
| 30 | + one compact set `C`. | |
| 31 | +* `New.Space.isCocompact_of_definite`: if all signs agree, the adelic group is compact modulo | |
| 32 | + `V.Γ`. `New.Space.isCocompact_Gamma` is the case of the signs `1`. | |
| 33 | +* `New.Space.isCocompact_finitePart`: for the signs `1`, the finite part of the group is | |
| 34 | + compact modulo `V.Γf`. | |
| 35 | +* `New.Space.hasFiniteType_of_isLevel`: for the signs `1`, finitely many classes with finite | |
| 36 | + stabilisers. | |
| 37 | +* `New.Space.integral_quotMeasure_eq_classSum`: take a space with signs `1` and a continuous, left | |
| 38 | + `Γ`-invariant function on `G`. Suppose that its average over the infinite places is fixed under | |
| 39 | + right translation by an open `K ≤ K₀`. Then its integral over `Γ \ G` is `[K₀ : K]⁻¹` times the | |
| 40 | + class sum of this average. `New.Space.classIntegral_eq_integral` is the case of functions of the | |
| 41 | + finite part. | |
| 42 | + | |
| 43 | +Notions from other files: | |
| 44 | +* `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with xᴴJx | |
| 45 | + equal to diag(s), with s the signs, at the infinite places and 1 at the finite places. | |
| 46 | +* `New.Space.move`: the space `V.move g` is the space with the same J and the point x g; its lattice | |
| 47 | + `baseLattice` is the lattice at `g`, and the norm of `archCoords u` is the length of u at `g`. | |
| 48 | +* `New.Space.height`: the height ht(g) = 1/λ, with λ the first minimum cut off at 1 | |
| 49 | + (`New.Space.firstMinimum`) of the moved space `V.move g`. | |
| 50 | +* `New.IsLevel`: an open subgroup of `K₀`, with index `New.stdLevelIndex` in `K₀`. | |
| 51 | + | |
| 52 | +## Relation to the literature | |
| 53 | + | |
| 54 | +Known; see `Lib.Adelic.Reduction.FiniteVolume` and `Lib.Adelic.QuotientMeasure.Basic` for sources. | |
| 55 | +-/ | |
| 56 | + | |
| 57 | +@[expose] public section | |
| 58 | + | |
| 59 | +/-! | |
| 60 | +## Mahler compactness, and finiteness of classes in the definite case | |
| 61 | + | |
| 62 | +`V` is a matrix `J` over `E` with an adelic point `x`. `New.G E s` is the unitary group of the | |
| 63 | +standard form. `V.ratEmbed γ = x⁻¹ γ x` embeds `U(J)(E)` in it with image `V.Γ` (finite parts: | |
| 64 | +`V.Γf`), and `V.toRatCoords g = x g x⁻¹`. | |
| 65 | +-/ | |
| 66 | + | |
| 67 | +section MahlerSpace | |
| 68 | + | |
| 69 | +open Matrix NumberField QuotientGroup PiLp ConjAct | |
| 70 | +open scoped Pointwise | |
| 71 | + | |
| 72 | +namespace New.Space | |
| 73 | + | |
| 74 | +variable {E : Type*} [Field E] [CMType E] | |
| 75 | + {n : Type*} [Fintype n] [DecidableEq n] {s : n → ℤˣ} (V : Space E n s) | |
| 76 | + | |
| 77 | +/-- For a hermitian space `V` with a point, there is a constant `c` such that for every `g` in | |
| 78 | +`G E s` some basis of `Eⁿ`, the columns of `Y`, lies in `(V.move g).latticeBall (c * V.height g)`. | |
| 79 | +That is, each column is a vector of the base lattice of the moved space `V.move g` (the same form | |
| 80 | +with the point `V.x * g`) whose length `‖archCoords y‖` in that space is at most `c * V.height g`. | |
| 81 | +Here `V.height g = 1 / λ`, where `λ` is the first minimum of `V.move g` cut off at `1`. -/ | |
| 82 | +lemma exists_short_basis_matrix : | |
| 83 | + ∃ c : ℕ, ∀ g : G E s, ∃ Y : GL n E, ∀ j : n, | |
| 84 | + Y.val.col j ∈ (V.move g).latticeBall (c * V.height g) := | |
| 85 | + ⟨shortBasisConst E n (Ideal.absNorm (differentIdeal ℤ (𝓞 E))), | |
| 86 | + fun g ↦ (V.move g).exists_short_basis (Ideal.absNorm_mem (differentIdeal ℤ (𝓞 E)))⟩ | |
| 87 | + | |
| 88 | +/-- Points with a bounded rational frame from `H` are compact modulo the rational isometries in `H`: | |
| 89 | +for a compact set `C` of adelic matrices and a subgroup `H` of `GL n E` there is a compact | |
| 90 | +`K ⊆ G E s` such that, whenever `x g⁻¹ x⁻¹ r ∈ C` for some `r ∈ H` (`x` the point of `V`, | |
| 91 | +`V.toRatCoords g = x g x⁻¹`, `toAdele` embeds `E` in its adeles), some element `γ` of the group | |
| 92 | +`U V.J` of rational isometries lies in `H` and has `V.ratEmbed γ * g ∈ K`. -/ | |
| 93 | +lemma exists_isCompact_of_bounded_frame {C : Set (Matrix n n (𝔸 E))} (hC : IsCompact C) | |
| 94 | + (H : Subgroup (GL n E)) : | |
| 95 | + ∃ K : Set (G E s), IsCompact K ∧ | |
| 96 | + ∀ (g : G E s) (r : H), | |
| 97 | + (V.toRatCoords g⁻¹ : GL n (𝔸 E)).val * (r : GL n E).val.map toAdele ∈ C → | |
| 98 | + ∃ γ : U V.J, V.ratEmbed γ * g ∈ K ∧ γ.val ∈ H := by | |
| 99 | + -- The Gram matrix `gram r` takes finitely many values on the `r` with `x g⁻¹ x⁻¹ r ∈ C`. For | |
| 100 | + -- each value `T` fix one `rep T ∈ H`; then `γ = rep (gram r) r⁻¹` is a rational isometry and | |
| 101 | + -- `(γ g)⁻¹` lies in `x⁻¹ C (rep T)⁻¹ x`. | |
| 102 | + let gram (r : H) : Matrix n n E := r.val.valᴴ * V.J * r.val | |
| 103 | + let rep : Matrix n n E → H := gram.invFun | |
| 104 | + let gramValues : Set (Matrix n n E) := | |
| 105 | + {T | T.map toAdele ∈ (fun c ↦ cᴴ * V.J.map toAdele * c) '' C} | |
| 106 | + -- a compact set of adelic matrices contains finitely many rational ones | |
| 107 | + have h_finite : gramValues.Finite := | |
| 108 | + finite_setOf_map_toAdele_mem (hC.image_of_continuous fun c ↦ cᴴ * V.J.map toAdele * c) | |
| 109 | + let rightFactor (T : Matrix n n E) : Matrix n n (𝔸 E) := | |
| 110 | + ((rep T : GL n E).val.map toAdele)⁻¹ * V.x.val | |
| 111 | + refine ⟨(G.adeleMatrix ⁻¹' ((V.x⁻¹.val • C) * rightFactor '' gramValues))⁻¹, | |
| 112 | + (G.isClosedEmbedding_adeleMatrix.isCompact_preimage | |
| 113 | + ((hC.smul V.x⁻¹.val).mul (h_finite.image rightFactor).isCompact)).inv, fun g r hr ↦ ?_⟩ | |
| 114 | + let c : Matrix n n (𝔸 E) := (V.toRatCoords g⁻¹ : GL n (𝔸 E)).val * r.val.val.map toAdele | |
| 115 | + -- `x g⁻¹ x⁻¹` is an isometry of the adelic form, so `c` and `r` have one Gram matrix | |
| 116 | + have h_gram_map : cᴴ * V.J.map toAdele * c = (gram r).map toAdele := by | |
| 117 | + unfold c | |
| 118 | + rw [U.gram_invariant] | |
| 119 | + simp [gram] | |
| 120 | + let γ : U V.J := ⟨(rep (gram r)).val * r.val⁻¹, mem_unitaryGroupOf_iff.2 <| | |
| 121 | + gram_mul_of_gram_eq (gram.invFun_eq ⟨r, rfl⟩) (gram_inv_of_gram_eq rfl)⟩ | |
| 122 | + refine ⟨γ, ?_, (rep (gram r) * r⁻¹).prop⟩ | |
| 123 | + have h_mat : (V.x⁻¹.val • c) * rightFactor (gram r) = (V.ratEmbed γ * g)⁻¹.adeleMatrix := by | |
| 124 | + simp [c, γ, rep, rightFactor, ratEmbed, toRatCoords, G.adeleMatrix, mul_assoc, U.map] | |
| 125 | + change (V.ratEmbed γ * g)⁻¹.adeleMatrix ∈ (V.x⁻¹.val • C) * rightFactor '' gramValues | |
| 126 | + rw [← h_mat] | |
| 127 | + exact Set.mul_mem_mul (Set.smul_mem_smul_set hr) (Set.mem_image_of_mem _ ⟨c, hr, h_gram_map⟩) | |
| 128 | + | |
| 129 | +/-- One half of the Mahler–Godement compactness criterion, for the unitary group of a hermitian | |
| 130 | +space: for each real `R` there is a compact subset `C` of the adelic unitary group `G E s` such that | |
| 131 | +every `g` with `V.height g ≤ R` has `γ * g ∈ C` for some `γ` in the group `V.Γ` of rational points | |
| 132 | +(the elements `x⁻¹γx`, with `x` the point of `V` and `γ` in the rational unitary group of `V.J`). | |
| 133 | +Here `V.height g = 1/λ`, where `λ` is the first minimum of the moved space `V.move g` cut off at `1` | |
| 134 | +(`firstMinimum`). -/ | |
| 135 | +lemma mahler_criterion (R : ℝ) : | |
| 136 | + ∃ C : Set (G E s), IsCompact C ∧ ∀ g : G E s, V.height g ≤ R → ∃ γ ∈ V.Γ, γ * g ∈ C := by | |
| 137 | + -- At a point `g` of height at most `R` the lattice holds a basis `Y` of length at most `c * R`. | |
| 138 | + -- So `(x g)⁻¹ Y`, with `x` the point of `V`, lies in a compact box, and `Y` is a bounded rational | |
| 139 | + -- frame in the sense of `exists_isCompact_of_bounded_frame`. | |
| 140 | + obtain ⟨c, h_short⟩ := V.exists_short_basis_matrix | |
| 141 | + let box : Set (Matrix n n (𝔸 E)) := Set.matrix (Metric.closedBall 0 (c * R) ×ˢ Ô E) | |
| 142 | + obtain ⟨K, hK, h_frame⟩ := V.exists_isCompact_of_bounded_frame | |
| 143 | + ((Core.isCompact_closedBall_prod_integral (c * R)).matrix.smul V.x) ⊤ | |
| 144 | + refine ⟨K, hK, fun g hg ↦ ?_⟩ | |
| 145 | + obtain ⟨Y, hY⟩ := h_short g | |
| 146 | + have h_box : (V.move g).x⁻¹.val * Y.val.map toAdele ∈ box := fun i j ↦ by | |
| 147 | + -- the finite part is integral as the column lies in the lattice; `w` is an infinite place | |
| 148 | + refine ⟨?_, (hY j).1 i⟩ | |
| 149 | + rw [mem_closedBall_zero_iff, pi_norm_le_iff_of_nonempty] | |
| 150 | + exact fun w ↦ (norm_apply_le ((V.move g).archCoords (Y.val.col j)) (w, i)).trans | |
| 151 | + (by grw [(hY j).2, hg]) | |
| 152 | + have h_frame_eq : V.x • ((V.move g).x⁻¹.val * Y.val.map toAdele) = | |
| 153 | + (V.toRatCoords g⁻¹).val.val * Y.val.map toAdele := by | |
| 154 | + simp [move, toRatCoords, mul_assoc, Units.smul_def] | |
| 155 | + obtain ⟨γ, hγ, -⟩ := h_frame g ⟨Y, Subgroup.mem_top Y⟩ ⟨_, h_box, h_frame_eq⟩ | |
| 156 | + exact ⟨V.ratEmbed γ, ⟨γ, rfl⟩, hγ⟩ | |
| 157 | + | |
| 158 | +/-- If all signs `s i` are equal (the space is definite), then the adelic unitary group `G E s` is | |
| 159 | +compact modulo the group `V.Γ` of rational points: there is a compact `C` such that every `g` has | |
| 160 | +`γ * g ∈ C` for some `γ ∈ V.Γ`. The hypothesis `h_definite` may be omitted when `simp` proves it, | |
| 161 | +as for constant `s`. | |
| 162 | + | |
| 163 | +A special case of the compactness theorem for anisotropic groups (Borel–Harish-Chandra, | |
| 164 | +Mostow–Tamagawa), part of the reduction theory. -/ | |
| 165 | +lemma isCocompact_of_definite (h_definite : ∀ i j : n, s i = s j := by simp) : | |
| 166 | + V.Γ.IsCocompact := by | |
| 167 | + obtain ⟨C, hC, h_cover⟩ := V.mahler_criterion 1 | |
| 168 | + -- In a definite space all heights are `1`. | |
| 169 | + exact ⟨C, hC, fun g ↦ h_cover g (V.height_eq_one_of_definite h_definite g).le⟩ | |
| 170 | + | |
| 171 | +/-- If all the signs of `V` are `1`, then `G E 1` is compact modulo the group `V.Γ` of rational | |
| 172 | +points: some compact set meets every coset `V.Γ g`. -/ | |
| 173 | +lemma isCocompact_Gamma (V : Space E n 1) : V.Γ.IsCocompact := | |
| 174 | + V.isCocompact_of_definite fun _ _ ↦ rfl | |
| 175 | + | |
| 176 | +variable (V : Space E n 1) | |
| 177 | + | |
| 178 | +/-- For a space with all signs `1`, the subgroup `V.Γf` of finite parts of the rational points is | |
| 179 | +cocompact in the finite adelic unitary group: some compact set meets every coset `V.Γf g`. -/ | |
| 180 | +lemma isCocompact_finitePart : V.Γf.IsCocompact := by | |
| 181 | + -- Project the compact set of `isCocompact_Gamma` to the finite places. | |
| 182 | + obtain ⟨C, hC, h_cover⟩ := V.isCocompact_Gamma | |
| 183 | + refine ⟨Prod.snd '' C, hC.image continuous_snd, fun g ↦ ?_⟩ | |
| 184 | + obtain ⟨-, ⟨(γ : U V.J), rfl⟩, hγ⟩ := h_cover (1, g) | |
| 185 | + exact ⟨V.embFin γ, ⟨γ, rfl⟩, V.ratEmbed γ * (1, g), hγ, rfl⟩ | |
| 186 | + | |
| 187 | +/-- For a space with all signs `1` and a level `K` (an open subgroup of `stdLevel E n`), the pair | |
| 188 | +`(Γf, K)` has finite type (`HasFiniteType`): there are finitely many double cosets `Γf \ Gf / K`, | |
| 189 | +the stabilisers `Γf ∩ g K g⁻¹` are finite, and `K` is open and compact. | |
| 190 | + | |
| 191 | +A special case of Borel's finiteness of class numbers. Only forms with an adelic orthonormal frame | |
| 192 | +are covered, at open subgroups of the standard level. -/ | |
| 193 | +instance hasFiniteType_of_isLevel {K : Subgroup (Gf E n)} [hK : IsLevel K] : | |
| 194 | + HasFiniteType V.Γf K := by | |
| 195 | + refine ⟨?_, fun g ↦ ?_, hK.isOpen, hK.isCompact⟩ | |
| 196 | + · -- A compact set `C` with `Γf C = Gf` meets finitely many cosets of the open group `K`. | |
| 197 | + obtain ⟨C, hC, hcover⟩ := V.isCocompact_finitePart | |
| 198 | + refine (finite_quotient_image_of_isCompact hK.isOpen hC).of_surjective | |
| 199 | + (fun c ↦ ⟦c.val.out⟧) (Quot.ind fun g ↦ ?_) | |
| 200 | + -- the class of `g` comes from the coset of `γ * g ∈ C` | |
| 201 | + obtain ⟨γ, hγ, (hγg : γ * g ∈ C)⟩ := hcover g | |
| 202 | + obtain ⟨k, hk⟩ := mk_out_eq_mul K (γ * g) | |
| 203 | + have h_class : DoubleCoset.mk V.Γf K g = DoubleCoset.mk V.Γf K (⟦γ * g⟧ : Gf E n ⧸ K).out := | |
| 204 | + (DoubleCoset.eq ..).mpr ⟨γ, hγ, k, k.prop, hk⟩ | |
| 205 | + exact ⟨⟨γ * g, γ * g, hγg, rfl⟩, h_class.symm⟩ | |
| 206 | + · -- The discrete closed group `Γf` meets the compact set `g K g⁻¹` in a finite set. | |
| 207 | + exact ((hK.isCompact.preimage_smul (toConjAct g⁻¹)).inter_left | |
| 208 | + V.Γf.isClosed_of_discreteTopology).finite (IsDiscrete.mono ⟨mod_cast inferInstance⟩ | |
| 209 | + inf_le_left) | |
| 210 | + | |
| 211 | +end New.Space | |
| 212 | + | |
| 213 | +end MahlerSpace | |
| 214 | + | |
| 215 | +/-! | |
| 216 | +## Unimodularity and the integral over [G] as a class sum | |
| 217 | + | |
| 218 | +The Haar measures of `New.Gf` (finite points) and `New.G` (all adelic points) are right invariant. | |
| 219 | +-/ | |
| 220 | + | |
| 221 | +namespace New | |
| 222 | + | |
| 223 | +open MeasureTheory Measure Set DoubleCoset Subgroup HasFiniteType | |
| 224 | + | |
| 225 | +section StandardClasses | |
| 226 | + | |
| 227 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 228 | + | |
| 229 | +/-- The set of classes of the standard space I_n for a subgroup K: double cosets of the finite | |
| 230 | +adelic unitary group by its rational points on the left and K on the right. -/ | |
| 231 | +abbrev StdClasses (K : Subgroup (Gf E n)) : Type := DoubleCosets (stdSpace E n).Γf K | |
| 232 | + | |
| 233 | +noncomputable instance {K : Subgroup (Gf E n)} [HasFiniteType stdRatPoints K] : | |
| 234 | + Fintype (StdClasses K) := @.ofFinite _ HasFiniteType.finite_classes | |
| 235 | + | |
| 236 | +end StandardClasses | |
| 237 | + | |
| 238 | +section FinitePart | |
| 239 | + | |
| 240 | +variable {E n : Type*} [Field E] [CMType E] [Fintype n] [DecidableEq n] | |
| 241 | + | |
| 242 | +/-- `Gf E n` is unimodular: the rational points of the standard space are a lattice in it. -/ | |
| 243 | +instance : (volume : Measure (Gf E n)).IsMulRightInvariant := | |
| 244 | + isMulRightInvariant_of_finite_covolume | |
| 245 | + (isFiniteMeasure_quotMeasure_of_cocompact _ (stdSpace E n).isCocompact_finitePart) | |
| 246 | + | |
| 247 | +/-- A level `K` (an open subgroup of `stdLevel E n`) has volume `1 / [stdLevel E n : K]`, as | |
| 248 | +`vol (stdLevel E n) = 1`. -/ | |
| 249 | +lemma measureReal_eq_inv_stdLevelIndex (K : Subgroup (Gf E n)) [hK : IsLevel K] : | |
| 250 | + volume.real (K : Set (Gf E n)) = (stdLevelIndex K : ℝ)⁻¹ := by | |
| 251 | + rw [measureReal_def, ← inter_eq_left.2 (SetLike.coe_subset_coe.2 hK.le), | |
| 252 | + measure_inter_eq_inv_relIndex isCompact_stdLevel hK.isOpen volume volume_stdLevel, | |
| 253 | + ENNReal.toReal_inv, ENNReal.toReal_natCast] | |
| 254 | + | |
| 255 | +lemma measureReal_pos_of_isLevel (K : Subgroup (Gf E n)) [hK : IsLevel K] : | |
| 256 | + 0 < volume.real (K : Set (Gf E n)) := | |
| 257 | + ENNReal.toReal_pos (hK.isOpen.measure_ne_zero _ ⟨1, K.one_mem⟩) hK.isCompact.measure_ne_top | |
| 258 | + | |
| 259 | +/-- The group `Gf E Unit` of `1 × 1` matrices is commutative. -/ | |
| 260 | +instance : IsMulCommutative (Gf E Unit) where | |
| 261 | + -- `1 × 1` matrices over a commutative ring commute | |
| 262 | + is_comm := ⟨by aesop (add simp [Matrix.mul_apply, mul_comm])⟩ | |
| 263 | + | |
| 264 | +end FinitePart | |
| 265 | + | |
| 266 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {s : n → ℤˣ} | |
| 267 | + {W : Type*} [RCLike W] | |
| 268 | + | |
| 269 | +/-- `G` is unimodular, as a product of unimodular groups. -/ | |
| 270 | +instance : (volume : Measure (G E s)).IsMulRightInvariant := by | |
| 271 | + apply_rules [prod.instIsMulRightInvariant, pi.isMulRightInvariant] | |
| 272 | + | |
| 273 | +namespace Space | |
| 274 | + | |
| 275 | +/-- Unfolding on a space with all signs `1`: for `Φ` integrable on `G`, the sum | |
| 276 | +`g ↦ ∑ γ ∈ Γ, Φ (γ g)` over the rational points `Γ = V.Γ`, written as an integral for the counting | |
| 277 | +measure, is integrable on `[G]`, with the same integral as `Φ`. Integration on `[G] = Γ \ G` is by | |
| 278 | +`V.quotMeasure`. -/ | |
| 279 | +lemma integral_quotMeasure_integral {V : Space E n 1} {Φ : G E (1 : n → ℤˣ) → W} | |
| 280 | + (hΦ : Integrable Φ) : | |
| 281 | + Integrable (fun g : G E (1 : n → ℤˣ) ↦ ∫ γ : V.Γ, Φ (γ • g) ∂count) V.quotMeasure ∧ | |
| 282 | + ∫ g : G E (1 : n → ℤˣ), ∫ γ : V.Γ, Φ (γ • g) ∂count ∂V.quotMeasure = | |
| 283 | + ∫ g : G E (1 : n → ℤˣ), Φ g := by | |
| 284 | + obtain ⟨h_prod, h_eq⟩ := (measurePreserving_orbitMeasure (ν := count (α := V.Γ))).fubini hΦ | |
| 285 | + exact ⟨h_prod.integral_prod_left, h_eq⟩ | |
| 286 | + | |
| 287 | +/-- Let `f g` be the integral of `F` over `G_∞ × {g}` (`G_∞ = GInf E 1` is the group at the | |
| 288 | +infinite places), let the level `K` fix `f` under right translation (`rightStabilizer f`), and let | |
| 289 | +`u` be a finite point such that the indicator of `G_∞ × u K` times `F` is integrable. Then the | |
| 290 | +integral of `F` over `G_∞ × u K` is `[stdLevel E n : K]⁻¹ * f u`. -/ | |
| 291 | +lemma integral_indicator_univ_prod_coset {F : G E (1 : n → ℤˣ) → W} {f : Gf E n → W} | |
| 292 | + (hF_avg : ∀ g : Gf E n, ∫ x : GInf E (1 : n → ℤˣ), F (x, g) = f g) | |
| 293 | + (K : Subgroup (Gf E n)) [hK : IsLevel K] (hf_stab : K ≤ rightStabilizer f) (u : Gf E n) | |
| 294 | + (h_int : Integrable ((univ ×ˢ ((u * ·) '' (K : Set (Gf E n)))).indicator F)) : | |
| 295 | + ∫ g : GInf E (1 : n → ℤˣ) × Gf E n, (univ ×ˢ ((u * ·) '' (K : Set (Gf E n)))).indicator F g = | |
| 296 | + (stdLevelIndex K : W)⁻¹ * f u := by | |
| 297 | + classical | |
| 298 | + let Φ : G E (1 : n → ℤˣ) → W := (univ ×ˢ ((u * ·) '' K)).indicator F | |
| 299 | + -- As `f` is constant on `u K`, the integral is `vol K * f u`. | |
| 300 | + have h_slice (k : Gf E n) : | |
| 301 | + ∫ x, Φ (x, u * k) = (K : Set (Gf E n)).indicator (fun _ ↦ f u) k := by | |
| 302 | + by_cases hk : k ∈ K | |
| 303 | + · simp [Φ, hk, hF_avg, hf_stab hk u] | |
| 304 | + · simp [Φ, hk] | |
| 305 | + calc ∫ g, Φ g = ∫ k, ∫ x, Φ (x, k) := integral_prod_symm _ h_int | |
| 306 | + _ = ∫ k, ∫ x, Φ (x, u * k) := (integral_mul_left_eq_self _ u).symm | |
| 307 | + _ = (stdLevelIndex K : W)⁻¹ * f u := by | |
| 308 | + simp [h_slice, integral_indicator_const _ hK.isOpen.measurableSet, | |
| 309 | + measureReal_eq_inv_stdLevelIndex, RCLike.real_smul_eq_coe_mul] | |
| 310 | + | |
| 311 | +/-- Let `V` be a space with all signs `1`: a hermitian matrix `J` over `E` and a point `x`. Write | |
| 312 | +`V.Γ` for its rational points `x⁻¹γx` (`γ ∈ U(J)(E)`) in `G = G_∞ × G_f`, and `V.Γf` for their | |
| 313 | +finite parts in `Gf E n`. Let `F` be a continuous left `V.Γ`-invariant function on `G` whose | |
| 314 | +integral over `G_∞` at `(·, g)` is `f g`, and let `K` be a level (an open subgroup of | |
| 315 | +`K₀ = stdLevel E n = G_f ∩ GL_n(Ô)`) that fixes `f` under right translation. Then the integral of | |
| 316 | +`F` over `V.Γ \ G` against `V.quotMeasure` (with `vol G_∞ = vol K₀ = 1`) is `[K₀ : K]⁻¹` times the | |
| 317 | +class sum of `f`, which is the sum over the double cosets `V.Γf g K` of | |
| 318 | +`f g / #(V.Γf ∩ g K g⁻¹)`. -/ | |
| 319 | +lemma integral_quotMeasure_eq_classSum {V : Space E n 1} {F : G E (1 : n → ℤˣ) → W} | |
| 320 | + {f : Gf E n → W} (hF_left : V.Γ.FixesLeft F) | |
| 321 | + (hF_avg : ∀ g : Gf E n, ∫ x : GInf E (1 : n → ℤˣ), F (x, g) = f g) | |
| 322 | + (K : Subgroup (Gf E n)) [hK : IsLevel K] (hf_stab : K ≤ rightStabilizer f) | |
| 323 | + (hF_cont : Continuous F) : | |
| 324 | + ∫ g : G E (1 : n → ℤˣ), F g ∂V.quotMeasure = (stdLevelIndex K : W)⁻¹ * classSum V.Γf K f := by | |
| 325 | + classical | |
| 326 | + -- Cut `F` into the pieces `Φ u` on the cosets `G_∞ × u K`, `u` a class representative, and unfold | |
| 327 | + -- each piece. The projection to `Gf E n` maps `V.Γ` bijectively onto `V.Γf`. | |
| 328 | + let finPart (γ : V.Γ) : Gf E n := (γ : G E (1 : n → ℤˣ)).2 | |
| 329 | + have h_inj : Function.Injective finPart := | |
| 330 | + (V.fact_embFin_injective.out.injOn_range (g := Prod.snd)).injective | |
| 331 | + have h_surj : ∀ a ∈ V.Γf, ∃ γ : V.Γ, finPart γ = a := | |
| 332 | + forall_mem_range.2 fun γ ↦ ⟨⟨V.ratEmbed γ, γ, rfl⟩, rfl⟩ | |
| 333 | + -- `T g h : Finset V.Γ` is the set of `γ` with `g⁻¹ * finPart γ * h ∈ K`; it has | |
| 334 | + -- `#(classAut V.Γf K g)` elements if `g` and `h` lie in one class, and none otherwise. | |
| 335 | + choose T hT card_T using exists_transporter V.Γf h_inj h_surj K | |
| 336 | + let Φ (u : Gf E n) : G E (1 : n → ℤˣ) → W := (univ ×ˢ ((u * ·) '' K)).indicator F | |
| 337 | + have h_int (u : Gf E n) : Integrable (Φ u) := by | |
| 338 | + have h_compact : | |
| 339 | + IsCompact (univ ×ˢ ((u * ·) '' (K : Set (Gf E n))) : Set (G E (1 : n → ℤˣ))) := | |
| 340 | + isCompact_univ.prod (hK.isCompact.image (continuous_const_mul u)) | |
| 341 | + exact (hF_cont.continuousOn.integrableOn_compact h_compact).integrable_indicator | |
| 342 | + h_compact.measurableSet | |
| 343 | + -- The `γ` that move `g` into `G_∞ × u K` form the finite set `T u g.2`, and `F (γ * g) = F g`. | |
| 344 | + have h_orbit (u : Gf E n) (g : G E (1 : n → ℤˣ)) : | |
| 345 | + ∫ γ : V.Γ, Φ u (γ • g) ∂count = ((T u g.2).card : ℝ) • F g := by | |
| 346 | + have h_ind : (fun γ : V.Γ ↦ Φ u (γ • g)) = (T u g.2 : Set V.Γ).indicator fun _ ↦ F g := by | |
| 347 | + ext ⟨_, δ, rfl⟩ | |
| 348 | + have hγ : (V.ratEmbed δ).2 ∈ V.Γf := ⟨δ, rfl⟩ | |
| 349 | + simp [Φ, finPart, indicator, hT, hγ, Subgroup.smul_def, hF_left _ ⟨δ, rfl⟩, mul_assoc] | |
| 350 | + rw [h_ind, integral_indicator_const _ (T u g.2).measurableSet, measureReal_def, | |
| 351 | + count_apply_finset, ENNReal.toReal_natCast] | |
| 352 | + -- Only the class `c` of `g.2` contributes, with as many terms as `c.out` has automorphisms. | |
| 353 | + let weight (c : DoubleCosets V.Γf K) : ℝ := (Nat.card (classAut V.Γf K c.out) : ℝ)⁻¹ | |
| 354 | + have h_weight (c : DoubleCosets V.Γf K) : weight c * Nat.card (classAut V.Γf K c.out) = 1 := | |
| 355 | + have h_finite : Finite (classAut V.Γf K c.out) := finite_aut c.out | |
| 356 | + inv_mul_cancel₀ (Nat.cast_ne_zero.2 Nat.card_pos.ne') | |
| 357 | + have h_term (g : G E (1 : n → ℤˣ)) (c : DoubleCosets V.Γf K) : | |
| 358 | + weight c • ∫ γ : V.Γ, Φ c.out (γ • g) ∂count = | |
| 359 | + if c = DoubleCoset.mk V.Γf K g.2 then F g else 0 := by | |
| 360 | + rw [h_orbit, card_T, out_eq', smul_smul] | |
| 361 | + split_ifs | |
| 362 | + · rw [h_weight, one_smul] | |
| 363 | + · rw [Nat.cast_zero, mul_zero, zero_smul] | |
| 364 | + have h_sum (g : G E (1 : n → ℤˣ)) : F g = ∑ c, weight c • ∫ γ : V.Γ, Φ c.out (γ • g) ∂count := by | |
| 365 | + simp only [h_term, Finset.sum_ite_eq', Finset.mem_univ, ite_true] | |
| 366 | + have h_unfold (c : DoubleCosets V.Γf K) : | |
| 367 | + Integrable (fun g : G E (1 : n → ℤˣ) ↦ ∫ γ : V.Γ, Φ c.out (γ • g) ∂count) V.quotMeasure ∧ | |
| 368 | + ∫ g, ∫ γ : V.Γ, Φ c.out (γ • g) ∂count ∂V.quotMeasure = ∫ g, Φ c.out g := | |
| 369 | + integral_quotMeasure_integral (h_int c.out) | |
| 370 | + have h_vol (u : Gf E n) : ∫ g, Φ u g = (stdLevelIndex K : W)⁻¹ * f u := | |
| 371 | + integral_indicator_univ_prod_coset hF_avg K hf_stab u (h_int u) | |
| 372 | + calc ∫ g, F g ∂V.quotMeasure | |
| 373 | + = ∑ c, ∫ g, weight c • ∫ γ : V.Γ, Φ c.out (γ • g) ∂count ∂V.quotMeasure := by | |
| 374 | + rw [funext h_sum] | |
| 375 | + exact integral_finsetSum _ fun c _ ↦ (h_unfold c).left.smul (weight c) | |
| 376 | + _ = ∑ c, weight c • ((stdLevelIndex K : W)⁻¹ * f c.out) := by | |
| 377 | + simp only [integral_smul, (h_unfold _).right, h_vol] | |
| 378 | + _ = (stdLevelIndex K : W)⁻¹ * classSum V.Γf K f := by | |
| 379 | + rw [classSum, finsum_eq_sum_of_fintype, Finset.mul_sum] | |
| 380 | + exact Finset.sum_congr rfl fun c _ ↦ by rw [mul_smul_comm, inv_natCast_smul_eq ℝ ℚ] | |
| 381 | + | |
| 382 | +/-- If averaging `F` over the infinite factor gives `f`, its quotient integral equals the class | |
| 383 | +integral of `f` at any level `K`, divided by the index of `K` in the standard level. -/ | |
| 384 | +lemma integral_quotMeasure_eq_classIntegral {V : Space E n 1} {F : G E (1 : n → ℤˣ) → W} | |
| 385 | + {f : Gf E n → W} (h_left : V.Γ.FixesLeft F) | |
| 386 | + (h_avg : ∀ g : Gf E n, ∫ x : GInf E (1 : n → ℤˣ), F (x, g) = f g) | |
| 387 | + (K : Subgroup (Gf E n)) [hK : IsLevel K] (hf : IsOpen (rightStabilizer f : Set (Gf E n))) | |
| 388 | + (h_cont : Continuous F) : | |
| 389 | + ∫ g, F g ∂V.quotMeasure = (stdLevelIndex K : W)⁻¹ * classIntegral V.Γf K f := by | |
| 390 | + -- At the level fixing `f` inside `K`, the class-sum formula applies. | |
| 391 | + -- Indices multiply in the tower: [stdLevel : S] = [K : S] * [stdLevel : K]. | |
| 392 | + let S := rightStabilizer f ⊓ K | |
| 393 | + have : IsLevel S := ⟨inf_le_of_right_le hK.le, hf.inter hK.isOpen⟩ | |
| 394 | + have h_index : (stdLevelIndex S : W) = (rightStabilizer f).relIndex K * stdLevelIndex K := by | |
| 395 | + rw [← inf_relIndex_right, ← Nat.cast_mul, relIndex_mul_relIndex _ _ _ inf_le_right hK.le] | |
| 396 | + rw [integral_quotMeasure_eq_classSum h_left h_avg S inf_le_left h_cont, h_index, mul_inv_rev, | |
| 397 | + mul_assoc, classIntegral, inv_natCast_smul_eq ℚ W, smul_eq_mul] | |
| 398 | + | |
| 399 | +/-- Let `V` be a space with all signs `1`. Write `V.Γ` for its rational points `x⁻¹γx` | |
| 400 | +(`γ ∈ U(J)(E)`) in `G = G_∞ × G_f` and `V.Γf` for their finite parts, and let `K` be a level, an | |
| 401 | +open subgroup of `K₀ = stdLevel E n = G_f ∩ GL_n(Ô)`. Let `y` on `G_f` be left `V.Γf`-invariant with | |
| 402 | +open right stabiliser. Then `classIntegral V.Γf K y` equals `[K₀ : K]` times the integral of | |
| 403 | +`g ↦ y g_fin` over `V.Γ \ G` against `V.quotMeasure` (with `vol G_∞ = vol K₀ = 1`), where | |
| 404 | +`classIntegral V.Γf K y` is the sum over the double cosets `V.Γf g K'` of | |
| 405 | +`y g / #(V.Γf ∩ g K' g⁻¹)`, with `K' = rightStabilizer y ⊓ K`, divided by `[K : K']`. -/ | |
| 406 | +theorem classIntegral_eq_integral {V : Space E n 1} {y : Gf E n → W} | |
| 407 | + (hy : y ∈ smoothInvariants V.Γf) (K : Subgroup (Gf E n)) [hK : IsLevel K] : | |
| 408 | + classIntegral V.Γf K y = | |
| 409 | + (stdLevelIndex K : W) * ∫ g : G E (1 : n → ℤˣ), y g.2 ∂V.quotMeasure := by | |
| 410 | + obtain ⟨hy_left, hy_open⟩ := hy | |
| 411 | + have h_left : V.Γ.FixesLeft fun g ↦ y g.2 := | |
| 412 | + forall_mem_range.2 fun γ g ↦ hy_left _ ⟨γ, rfl⟩ g.2 | |
| 413 | + rw [integral_quotMeasure_eq_classIntegral h_left (f := y) (fun g ↦ by simp) K hy_open | |
| 414 | + (isLocallyConstant_of_eventually_mul <| hy_open.mem_nhds (one_mem _)).continuous.snd', | |
| 415 | + mul_inv_cancel_left₀ (Nat.cast_ne_zero.2 (isCompact_stdLevel.relIndex_ne_zero hK.isOpen))] | |
| 416 | + | |
| 417 | +end Space | |
| 418 | + | |
| 419 | +end New | |
+806 −0 src/Lib/Adelic/Reduction/FiniteVolume.lean added View file
| @@ -0,0 +1,806 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Real | |
| 4 | +import Mathlib.Data.Int.Log | |
| 5 | +import Mathlib.Dynamics.Ergodic.Action.Regular | |
| 6 | +import Mathlib.RingTheory.PiTensorProduct | |
| 7 | +import Mathlib.Topology.Algebra.Group.Matrix | |
| 8 | +import TauCeti.NumberTheory.NumberField.Countable | |
| 9 | +import TauCeti.Topology.Algebra.Group.Units | |
| 10 | +import TauCeti.Topology.Algebra.InfiniteSum.ENNReal | |
| 11 | +import TauCeti.Topology.Instances.Matrix | |
| 12 | +public import Lib.Adelic.Reduction.MinkowskiTheorems | |
| 13 | +public import Lib.Adelic.Unitary.ComponentsAndBlockSums | |
| 14 | +public import Lib.DiscreteSeries.Haar.CayleyChart | |
| 15 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 16 | +import Lib.Adelic.Unitary.WeakApproximation | |
| 17 | +import Lib.General.NumberTheory.SUnitsAndClassNumber | |
| 18 | + | |
| 19 | +/-! | |
| 20 | +# Adelic reduction theory, Mahler's criterion and finite volume of the arithmetic quotient | |
| 21 | + | |
| 22 | +This file develops reduction theory for `GL_n` over the adeles: every adelic frame `y` has a | |
| 23 | +rational basis `Y` such that `y⁻¹ Y` lies in one fixed compact set after its columns are scaled by | |
| 24 | +powers of `2` at the infinite places. For a hermitian space `V` (`New.Space`), a weighted Haar | |
| 25 | +measure on the adelic unitary group `G` computes integrals over `[G] = V.Γ \ G`. | |
| 26 | + | |
| 27 | +## Main definitions and results | |
| 28 | + | |
| 29 | +* `New.Core.exists_isCompact_profileBases`: one compact set `M` bounds a reduced basis at every `y`. | |
| 30 | +* `New.exists_isBoundedDualBasis`: Mahler's criterion for frames of forms that may vary. The | |
| 31 | + criterion for the unitary group of one space is `New.Space.mahler_criterion` in | |
| 32 | + `Lib.Adelic.Reduction.DefiniteClassSums`. | |
| 33 | +* `New.Space.quotMeasure`: for a space `V` with rational points `New.Space.Γ`, the measure | |
| 34 | + `Subgroup.quotMeasure` on `G` for counting measure on `Γ`. It integrates `Γ`-invariant functions | |
| 35 | + over `[G] = Γ \ G`. | |
| 36 | +* `New.Space.lintegral_encard_ne_top`: the count of rational `n × t` matrices is integrable over | |
| 37 | + `V.Γ \ G` if `2 t < n`. | |
| 38 | +* `New.Space.isFiniteMeasure_quotMeasure`: finite volume, the case `t = 0`. | |
| 39 | + | |
| 40 | +Notions from other files: | |
| 41 | +* `New.𝔸`: the ring `ℂ ^ f × 𝔸_f`, one copy of `ℂ` for each infinite place of `E` times the finite | |
| 42 | + adeles. It is the adele ring of `E` when `E` is totally complex; `New.toAdele` embeds `E` in it. | |
| 43 | +* `New.ideleAbs`: the module (adelic absolute value) of an idele. | |
| 44 | +* `New.Core.twoAtInfinity`: the idele of `E` that is `2` at all infinite places and `1` at the | |
| 45 | + finite places. | |
| 46 | +* `New.Core.profileBases M x y`: the `Y` in `GL_n(E)` with `y⁻¹ Y (D x)⁻¹ ∈ M`, where | |
| 47 | + `D x = New.Core.dyadicDiag x` is diagonal with entries `twoAtInfinity E ^ x i`. The integer vector | |
| 48 | + `x` is called the profile of such a basis. | |
| 49 | +* `New.Space`: a matrix `J` over `E` and a point `x` in `GL_n(𝔸)` with `xᴴ J x` equal to `diag s` at | |
| 50 | + the infinite places, for signs `s`, and `1` at the finite places. | |
| 51 | + | |
| 52 | +## Relation to the literature | |
| 53 | + | |
| 54 | +Known results: reduction theory for adele groups (the compactness criterion of Mahler and Godement, | |
| 55 | +finite covolume) and Weil's convergence criterion. Finite volume is proved here only for unitary | |
| 56 | +groups over CM fields, by counting reduced bases, and Weil's criterion only when twice the number of | |
| 57 | +vectors is below the rank. The adelic Minkowski theorems come from | |
| 58 | +`Lib.Adelic.Reduction.MinkowskiTheorems`, with crude explicit constants. Source: A. Borel, Some | |
| 59 | +finiteness properties of adele groups over number fields, Publ. IHES 16 (1963), 4.5-5.8; A. Weil, | |
| 60 | +Sur la formule de Siegel dans la théorie des groupes classiques, Acta Math. 113 (1965), Prop. 8; | |
| 61 | +Bombieri-Vaaler, On Siegel's lemma, Invent. Math. 73 (1983). | |
| 62 | + | |
| 63 | +For the adelic points of unitary groups and their Haar measures, see | |
| 64 | +`Lib.Adelic.Unitary.WeakApproximation`. | |
| 65 | +-/ | |
| 66 | + | |
| 67 | +@[expose] public section | |
| 68 | + | |
| 69 | +/-! ## Reduced rational bases in a compact set of adelic matrices -/ | |
| 70 | + | |
| 71 | +section CompactBases | |
| 72 | + | |
| 73 | +open Matrix Set | |
| 74 | + | |
| 75 | +namespace New.Core | |
| 76 | + | |
| 77 | +variable {E : Type*} [Field E] [CMType E] {n : Type*} [Fintype n] [DecidableEq n] | |
| 78 | + | |
| 79 | +/-- Minkowski's first theorem in rank one. Let `a` be an idele such that `a` times `2 ^ N` at the | |
| 80 | +infinite places has adelic absolute value greater than `(2 * rootDiscr E) ^ f`, with `rootDiscr E` | |
| 81 | +the root discriminant of `E`, where `f = numInfPlaces E` is the number of infinite places. Then this | |
| 82 | +product times some `b` in the closed unit box (absolute value at most `1` at the infinite places, in | |
| 83 | +the ring `Ô E` of integral finite adeles at the finite places) is a non-zero element `ξ` of `E`. -/ | |
| 84 | +lemma exists_mul_twoAtInfinity_pow_mul_eq_toAdele {a : (𝔸 E)ˣ} {N : ℕ} | |
| 85 | + (h_lt : (2 * NumberField.rootDiscr E) ^ numInfPlaces E < | |
| 86 | + ideleAbs a * (2 ^ (2 * numInfPlaces E)) ^ N) : | |
| 87 | + ∃ ξ : E, ξ ≠ 0 ∧ ∃ b ∈ (Metric.closedBall 0 1 ×ˢ Ô E : Set (𝔸 E)), | |
| 88 | + a.val * (twoAtInfinity E ^ N).val * b = toAdele ξ := by | |
| 89 | + let y : GL (Fin 1) (𝔸 E) := .scalar (Fin 1) a * dyadicDiag fun _ ↦ (N : ℤ) | |
| 90 | + obtain ⟨ξ, h_box, hξ⟩ := | |
| 91 | + exists_ne_zero_inv_mulVec_mem y (by simpa [y, ideleAbs_det_dyadicDiag] using h_lt) | |
| 92 | + obtain ⟨h_ball, h_integral⟩ := h_box 0 | |
| 93 | + refine ⟨ξ 0, by simpa [funext_iff] using hξ, (y⁻¹.val *ᵥ toAdele ∘ ξ) 0, | |
| 94 | + ⟨Metric.ball_subset_closedBall h_ball, h_integral⟩, ?_⟩ | |
| 95 | + simp [y, dyadicDiag, mul_assoc] | |
| 96 | + | |
| 97 | +open Pointwise in | |
| 98 | +/-- The ideles in a compact set `C` of adeles with adelic absolute value at least `c > 0` | |
| 99 | +form a compact subset of the idele group. -/ | |
| 100 | +lemma isCompact_setOf_le_ideleAbs {C : Set (𝔸 E)} (hC : IsCompact C) {c : ℝ} | |
| 101 | + (hc : 0 < c) : IsCompact {a : (𝔸 E)ˣ | a.val ∈ C ∧ c ≤ ideleAbs a} := by | |
| 102 | + -- Scale by a common archimedean power of two so that Minkowski's theorem finds | |
| 103 | + -- a nonzero rational element in each scaled unit box. These elements form a finite set. | |
| 104 | + obtain ⟨N, hN⟩ : ∃ N : ℕ, | |
| 105 | + (2 * NumberField.rootDiscr E) ^ numInfPlaces E / c < (2 ^ (2 * numInfPlaces E)) ^ N := | |
| 106 | + pow_unbounded_of_one_lt _ (by simp [one_lt_pow₀]) | |
| 107 | + let t : 𝔸 E := (twoAtInfinity E ^ N).val | |
| 108 | + have hB := isCompact_closedBall_prod_integral (E := E) | |
| 109 | + have hF := finite_setOf_toAdele_mem ((hC.image_of_continuous fun a ↦ a * t).mul hB) | |
| 110 | + -- The inverse of `a` lies in the compact image of the box times the finite set of inverses. | |
| 111 | + have h_inverse := (hB.mul (hF.image (fun ξ ↦ toAdele ξ⁻¹)).isCompact).image_of_continuous | |
| 112 | + (fun b ↦ MulOpposite.op (t * b)) | |
| 113 | + refine (Units.isClosedEmbedding_embedProduct.isCompact_preimage | |
| 114 | + (hC.prod h_inverse)).of_isClosed_subset | |
| 115 | + (.and hC.isClosed.preimage_of_continuous (isClosed_le continuous_const (by fun_prop))) ?_ | |
| 116 | + rintro a ⟨ha, h_abs⟩ | |
| 117 | + obtain ⟨ξ, hξ, b, hb, h_eq⟩ := | |
| 118 | + exists_mul_twoAtInfinity_pow_mul_eq_toAdele (by grw [← h_abs, ← div_lt_iff₀' hc, hN]) | |
| 119 | + have h_inv : a⁻¹.val = t * (b * toAdele ξ⁻¹) := | |
| 120 | + Units.inv_eq_of_mul_eq_one_right | |
| 121 | + (by rw [← mul_assoc, ← mul_assoc, h_eq, ← map_mul, mul_inv_cancel₀ hξ, map_one]) | |
| 122 | + exact ⟨ha, ⟨b * toAdele ξ⁻¹, | |
| 123 | + mul_mem_mul hb (mem_image_of_mem _ ⟨_, mem_image_of_mem _ ha, b, hb, h_eq⟩), | |
| 124 | + congrArg MulOpposite.op h_inv.symm⟩⟩ | |
| 125 | + | |
| 126 | +/-- For a compact set `M` of adelic `n × n` matrices and `c > 0`, the invertible matrices `A` that | |
| 127 | +lie in `M` and whose determinant has adelic absolute value `ideleAbs A.det` at least `c` form a | |
| 128 | +compact subset of `GL n (𝔸 E)`, where `𝔸 E` is the ring of adeles of `E`. -/ | |
| 129 | +lemma isCompact_setOf_le_ideleAbs_det {M : Set (Matrix n n (𝔸 E))} (hM : IsCompact M) {c : ℝ} | |
| 130 | + (hc : 0 < c) : IsCompact {A : GL n (𝔸 E) | A.val ∈ M ∧ c ≤ ideleAbs A.det} := by | |
| 131 | + -- The determinants lie in a compact set of ideles, and the inverse is the adjugate | |
| 132 | + -- divided by the determinant. | |
| 133 | + have h_det := isCompact_setOf_le_ideleAbs (hM.image_of_continuous Matrix.det) hc | |
| 134 | + refine (Units.isClosedEmbedding_embedProduct.isCompact_preimage | |
| 135 | + ((hM.prod h_det).image_of_continuous | |
| 136 | + (fun (A, d) ↦ (A, MulOpposite.op (d⁻¹.val • A.adjugate))))).of_isClosed_subset | |
| 137 | + (.and hM.isClosed.preimage_of_continuous (isClosed_le continuous_const (by fun_prop))) ?_ | |
| 138 | + rintro A ⟨hA, h_abs⟩ | |
| 139 | + let d := GeneralLinearGroup.det A | |
| 140 | + have h_inv : A⁻¹.val = d⁻¹.val • A.val.adjugate := by | |
| 141 | + rw [coe_units_inv, inv_def, ← GeneralLinearGroup.val_det_apply, Ring.inverse_unit] | |
| 142 | + exact ⟨(A.val, d), ⟨hA, mem_image_of_mem _ hA, h_abs⟩, | |
| 143 | + Prod.ext rfl (congrArg MulOpposite.op h_inv.symm)⟩ | |
| 144 | + | |
| 145 | +/-- Let `M` and `K` be compact. There is a compact set `B` of adeles such that, whenever the Gram | |
| 146 | +matrix `yᴴ J y` lies in `K` and `Y` is a rational basis with `y⁻¹ Y (dyadicDiag x)⁻¹ ∈ M` (that is, | |
| 147 | +`Y ∈ profileBases M x y`), every entry `(Yᴴ J Y) i j`, divided by `2 ^ (x i + x j)` at the infinite | |
| 148 | +places, lies in `B`. Here `dyadicDiag x` is diagonal with entries `2 ^ x i` at the infinite places | |
| 149 | +and `1` at the finite places, and `toAdele` embeds `E` in its adeles. -/ | |
| 150 | +lemma exists_compact_gram_entry {M : Set (GL n (𝔸 E))} {K : Set (Matrix n n (𝔸 E))} | |
| 151 | + (hM : IsCompact M) (hK : IsCompact K) : | |
| 152 | + ∃ B : Set (𝔸 E), IsCompact B ∧ | |
| 153 | + ∀ {J : Matrix n n E} {y : GL n (𝔸 E)} {x : n → ℤ} {Y : GL n E}, | |
| 154 | + y.valᴴ * J.map toAdele * y.val ∈ K → Y ∈ profileBases M x y → ∀ i j : n, | |
| 155 | + (twoAtInfinity E ^ (-(x i + x j))).val * toAdele ((Y.valᴴ * J * Y.val) i j) ∈ B := by | |
| 156 | + -- Take for `B` the set of all entries of the matrices `Aᴴ * C * A` with `A ∈ M` and `C ∈ K`. | |
| 157 | + let entry (i j : n) : GL n (𝔸 E) × Matrix n n (𝔸 E) → 𝔸 E := | |
| 158 | + fun (A, C) ↦ (A.valᴴ * C * A.val) i j | |
| 159 | + refine ⟨⋃ (i : n) (j : n), entry i j '' M ×ˢ K, | |
| 160 | + isCompact_iUnion fun i ↦ isCompact_iUnion fun j ↦ (hM.prod hK).image_of_continuous _, | |
| 161 | + fun {J y x Y} hy hY i j ↦ ?_⟩ | |
| 162 | + let A : GL n (𝔸 E) := y⁻¹ * Y.map toAdele * (dyadicDiag x)⁻¹ | |
| 163 | + let C : Matrix n n (𝔸 E) := y.valᴴ * J.map toAdele * y.val | |
| 164 | + refine mem_iUnion₂.2 ⟨i, j, (A, C), ⟨hY, hy⟩, ?_⟩ | |
| 165 | + -- In `Aᴴ * C * A` the factors `y` cancel. | |
| 166 | + have h_cancel : A.valᴴ * C * A.val = (dyadicDiag x : GL n (𝔸 E))⁻¹.valᴴ * | |
| 167 | + ((Y.map toAdele).valᴴ * J.map toAdele * (Y.map toAdele).val) * (dyadicDiag x)⁻¹.val := | |
| 168 | + gram_mul_of_gram_eq (gram_mul_of_gram_eq (gram_inv_of_gram_eq rfl) rfl) rfl | |
| 169 | + -- The two copies of `(dyadicDiag x)⁻¹` scale the `(i, j)` entry; compare place by place. | |
| 170 | + change (A.valᴴ * C * A.val) i j = _ | |
| 171 | + rw [h_cancel] | |
| 172 | + ext <;> | |
| 173 | + simp [dyadicDiag, twoAtInfinity, field, zpow_add₀, ← map_zpow, ← map_inv, ← Matrix.map_mul] | |
| 174 | + | |
| 175 | +variable (E n) in | |
| 176 | +/-- For a CM field `E`, there are a compact set `M` of invertible adelic matrices and an integer `c` | |
| 177 | +such that every `y` in `GL n (𝔸 E)` has a profile `x : n → ℤ` and a rational basis `Y` with | |
| 178 | +`y⁻¹ Y (dyadicDiag x)⁻¹ ∈ M` (that is, `Y ∈ profileBases M x y`), where `dyadicDiag x` is diagonal | |
| 179 | +with entries `2 ^ x i` at the infinite places and `1` at the finite places. Moreover `∑ i, x i ≤ c` | |
| 180 | +whenever `ideleAbs y.det ≥ 1`. -/ | |
| 181 | +lemma exists_isCompact_profileBases : | |
| 182 | + ∃ (M : Set (GL n (𝔸 E))) (c : ℤ), IsCompact M ∧ | |
| 183 | + ∀ y : GL n (𝔸 E), ∃ x : n → ℤ, ∃ Y ∈ profileBases M x y, | |
| 184 | + 1 ≤ ideleAbs y.det → ∑ i : n, x i ≤ c := by | |
| 185 | + -- Take the reduced basis of `exists_basis_frameLength_le_two_zpow` and let `C ≥ 1` bound the | |
| 186 | + -- constant there. The matrix `y⁻¹ * Yᵀ * (dyadicDiag x)⁻¹` has entries in the unit box and | |
| 187 | + -- determinant of module at least `C⁻¹`, so it stays in the compact set of | |
| 188 | + -- `isCompact_setOf_le_ideleAbs_det`. | |
| 189 | + let C : ℝ := max ((8 * (numInfPlaces E * Fintype.card n) * NumberField.rootDiscr E) ^ | |
| 190 | + (numInfPlaces E * Fintype.card n)) 1 | |
| 191 | + let M : Set (GL n (𝔸 E)) := | |
| 192 | + {A | A.val ∈ (Metric.closedBall 0 1 ×ˢ Ô E : Set (𝔸 E)).matrix ∧ C⁻¹ ≤ ideleAbs A.det} | |
| 193 | + refine ⟨M, Int.log (2 ^ (2 * numInfPlaces E)) C, | |
| 194 | + isCompact_setOf_le_ideleAbs_det isCompact_closedBall_prod_integral.matrix (by positivity), | |
| 195 | + fun y ↦ ?_⟩ | |
| 196 | + obtain ⟨Y, x, hdet, h_integral, h_length, hvol⟩ := exists_basis_frameLength_le_two_zpow y | |
| 197 | + replace hvol : ideleAbs y.det * (2 ^ (2 * numInfPlaces E)) ^ ∑ i, x i ≤ C := | |
| 198 | + hvol.trans (le_max_left _ 1) | |
| 199 | + let Z : GL n E := .mk'' Yᵀ (by simpa using hdet) | |
| 200 | + refine ⟨x, Z, ⟨fun i j ↦ ?_, ?_⟩, fun hy ↦ ?_⟩ | |
| 201 | + · -- A single coordinate is at most the Euclidean length. | |
| 202 | + have h_coord (w : NumberField.InfinitePlace E) : | |
| 203 | + ‖((y⁻¹.val *ᵥ toAdele ∘ Y j) i).1 w‖ ≤ 2 ^ x j := | |
| 204 | + (norm_apply_le_frameLength y (Y j) w i).trans (h_length j) | |
| 205 | + have h_entry : (y⁻¹ * Z.map toAdele * (dyadicDiag x)⁻¹).val i j = | |
| 206 | + (y⁻¹.val *ᵥ toAdele ∘ Y j) i * (twoAtInfinity E ^ (-x j)).val := by | |
| 207 | + change _ = (y⁻¹.val * Yᵀ.map toAdele) i j * _ | |
| 208 | + simp [Z, dyadicDiag, ← map_inv] | |
| 209 | + simpa [h_entry, pi_norm_le_iff_of_nonneg, twoAtInfinity, field, ← map_zpow, ← map_inv] | |
| 210 | + using And.intro h_coord (h_integral j i) | |
| 211 | + · -- The determinant of the rational matrix `Z` has module `1` by the product formula. | |
| 212 | + have h_det : ideleAbs (y⁻¹ * Z.map toAdele * (dyadicDiag x)⁻¹).det = | |
| 213 | + (ideleAbs y.det * (2 ^ (2 * numInfPlaces E)) ^ ∑ i, x i)⁻¹ := by | |
| 214 | + simp [field, ideleAbs_det_dyadicDiag] | |
| 215 | + rw [h_det] | |
| 216 | + exact inv_anti₀ (mul_pos (by simp) (by positivity)) hvol | |
| 217 | + · have h_pow : ((2 ^ (2 * numInfPlaces E) : ℕ) : ℝ) ^ ∑ i, x i ≤ C := | |
| 218 | + hvol.trans' (by simpa [field] using hy) | |
| 219 | + exact (Int.zpow_le_iff_le_log (by simp [one_lt_pow₀]) (by positivity)).1 h_pow | |
| 220 | + | |
| 221 | +end New.Core | |
| 222 | + | |
| 223 | +end CompactBases | |
| 224 | + | |
| 225 | +/-! | |
| 226 | +## Mahler's criterion for frames of varying forms | |
| 227 | + | |
| 228 | +Let an adelic frame `y` of a rational form `J` have its Gram matrix in a compact set. Take the | |
| 229 | +basis dual to a reduced basis at `y` (`New.Core.exists_isCompact_profileBases`), with some of its | |
| 230 | +columns set to zero. This matrix is bounded at `y` and has one of finitely many Gram matrices | |
| 231 | +(`New.exists_isBoundedDualBasis`). | |
| 232 | +-/ | |
| 233 | + | |
| 234 | +section MahlerForms | |
| 235 | + | |
| 236 | +open Matrix New Core Units Set | |
| 237 | + | |
| 238 | +namespace New | |
| 239 | + | |
| 240 | +variable {E : Type*} [Field E] [CMType E] {n : Type*} [Fintype n] [DecidableEq n] | |
| 241 | + | |
| 242 | +/-- The finite part of an invertible adelic matrix. -/ | |
| 243 | +noncomputable abbrev finitePartGL (g : GL n (𝔸 E)) : GL n (𝔸f E) := | |
| 244 | + g.map (RingHom.snd (NumberField.InfinitePlace E → ℂ) (𝔸f E)) | |
| 245 | + | |
| 246 | +/-- The basis `W` dual to `Y` for the form `J`, so that `Yᴴ J W = 1`. -/ | |
| 247 | +noncomputable def formDual (J Y : GL n E) : GL n E := (star Y * J)⁻¹ | |
| 248 | + | |
| 249 | +variable (E) in | |
| 250 | +/-- The diagonal matrix with entry `0` at the indices in `s` and `1` at the others. -/ | |
| 251 | +noncomputable def projectionOff (s : Finset n) : Matrix n n E := | |
| 252 | + diagonal fun i : n ↦ if i ∈ s then 0 else 1 | |
| 253 | + | |
| 254 | +/-- The basis dual to `Y` for the form `J`, with the columns indexed by `s` set to zero. -/ | |
| 255 | +noncomputable def formDualOff (J Y : GL n E) (s : Finset n) : Matrix n n E := | |
| 256 | + (formDual J Y).val * projectionOff E s | |
| 257 | + | |
| 258 | +/-- The columns of `Y` indexed by `s` span an isotropic subspace for `J`, and the basis `W` dual to | |
| 259 | +`Y` is bounded at the frame `y`: the finite part of `W⁻¹ y` lies in `Cf`, and the matrix `Z` made | |
| 260 | +from `W` by setting the columns indexed by `s` to zero has `y⁻¹ Z ∈ C` and `Zᴴ J Z ∈ F`. -/ | |
| 261 | +structure IsBoundedDualBasis (F : Set (Matrix n n E)) (C : Set (Matrix n n (𝔸 E))) | |
| 262 | + (Cf : Set (GL n (𝔸f E))) (J : GL n E) (y : GL n (𝔸 E)) (Y : GL n E) (s : Finset n) : | |
| 263 | + Prop where | |
| 264 | + /-- The columns of `Y` indexed by `s` span an isotropic subspace. -/ | |
| 265 | + isotropic : ∀ i ∈ s, ∀ j ∈ s, (Y.valᴴ * J.val * Y.val) i j = 0 | |
| 266 | + /-- The Gram matrix of the remaining dual columns lies in `F`. -/ | |
| 267 | + gram_mem : (formDualOff J Y s)ᴴ * J.val * formDualOff J Y s ∈ F | |
| 268 | + /-- The remaining dual columns, in the coordinates of `y`, form a matrix in `C`. -/ | |
| 269 | + frame_mem : y⁻¹.val * (formDualOff J Y s).map toAdele ∈ C | |
| 270 | + /-- The finite part of `W⁻¹ y`, for the whole dual basis `W`, lies in `Cf`. -/ | |
| 271 | + finitePart_mem : finitePartGL ((formDual J Y)⁻¹.map toAdele * y) ∈ Cf | |
| 272 | + | |
| 273 | +/-- For `m = y⁻¹ Y (dyadicDiag x)⁻¹`, the product of `mᴴ` with the Gram matrix `yᴴ J y` is | |
| 274 | +`(dyadicDiag x)⁻¹ᴴ W⁻¹ y`, where `W = formDual J Y` is the basis dual to `Y` for the form `J`. | |
| 275 | +Here `dyadicDiag x` is diagonal with entries `2 ^ x i` at the infinite places and `1` at the | |
| 276 | +others. -/ | |
| 277 | +lemma star_frame_mul_gram_eq_star_dyadicDiag_inv_mul (J Y : GL n E) (y : GL n (𝔸 E)) (x : n → ℤ) : | |
| 278 | + star (y⁻¹ * Y.map toAdele * (dyadicDiag x)⁻¹) * (star y * J.map toAdele * y) = | |
| 279 | + star (dyadicDiag x : GL n (𝔸 E))⁻¹ * ((formDual J Y)⁻¹.map toAdele * y) := by | |
| 280 | + ext1 | |
| 281 | + simp [formDual, mul_assoc, star_eq_conjTranspose, conjTranspose_nonsing_inv] | |
| 282 | + | |
| 283 | +/-- The conjugate transpose of `(dyadicDiag x)⁻¹` times the projection off `s` is diagonal, with | |
| 284 | +entry `0` at the indices in `s` and, at the other indices `j`, the idele that is `2 ^ (-x j)` at | |
| 285 | +the infinite places and `1` at the finite ones. -/ | |
| 286 | +lemma star_dyadicDiag_inv_mul_projectionOff (x : n → ℤ) (s : Finset n) : | |
| 287 | + (star (dyadicDiag x : GL n (𝔸 E))⁻¹).val * (projectionOff E s).map toAdele = | |
| 288 | + diagonal fun j : n ↦ if j ∈ s then 0 else (twoAtInfinity E ^ (-x j)).val := by | |
| 289 | + -- The diagonal entries are real, hence `star` fixes the first factor. | |
| 290 | + have h_star : (star (dyadicDiag x : GL n (𝔸 E))⁻¹).val = | |
| 291 | + diagonal fun j ↦ (twoAtInfinity E ^ (-x j)).val := by | |
| 292 | + simp [dyadicDiag, twoAtInfinity, star_eq_conjTranspose, ← map_zpow, ← map_inv, funext_iff, | |
| 293 | + Prod.ext_iff] | |
| 294 | + rw [h_star, projectionOff, diagonal_map (map_zero _), diagonal_mul_diagonal] | |
| 295 | + simp [apply_ite toAdele] | |
| 296 | + | |
| 297 | +/-- Mahler's criterion for frames of forms that may vary, by the dual of a reduced basis. Given a | |
| 298 | +compact `K`, there are a finite `F` and compact `C`, `Cf` such that, for each invertible `J` over | |
| 299 | +`E` and adelic frame `y` with `yᴴ J y ∈ K`, some rational basis `Y` and set `s` of its columns | |
| 300 | +satisfy `New.IsBoundedDualBasis`. That is, the columns in `s` span an isotropic subspace; the | |
| 301 | +basis dual to `Y`, with its columns in `s` set to zero, has its Gram matrix in `F` and lies in `C` | |
| 302 | +in the coordinates of `y`; and the whole dual basis is bounded at the finite places by `Cf`. -/ | |
| 303 | +lemma exists_isBoundedDualBasis {K : Set (GL n (𝔸 E))} (hK : IsCompact K) : | |
| 304 | + ∃ (F : Set (Matrix n n E)) (C : Set (Matrix n n (𝔸 E))) (Cf : Set (GL n (𝔸f E))), | |
| 305 | + F.Finite ∧ IsCompact C ∧ IsCompact Cf ∧ | |
| 306 | + ∀ (J : GL n E) (y : GL n (𝔸 E)), star y * J.map toAdele * y ∈ K → | |
| 307 | + ∃ (Y : GL n E) (s : Finset n), IsBoundedDualBasis F C Cf J y Y s := by | |
| 308 | + -- Take a reduced basis `Y` at `y`, of profile `x` for the compact set `M`. Call `j` short if | |
| 309 | + -- `x j < c / 2`, for `c` as below; `s` is the set of short indices. | |
| 310 | + obtain ⟨M, _, hM, exists_basis⟩ := exists_isCompact_profileBases E n | |
| 311 | + -- `(Yᴴ J Y) i j`, divided by `2 ^ (x i + x j)` at infinity, lies in a compact set of adeles | |
| 312 | + -- (`h_entry`); an element of `E` with this property is zero once `x i + x j < c`. | |
| 313 | + obtain ⟨entries, h_entries, h_entry⟩ := exists_compact_gram_entry hM (hK.image continuous_val) | |
| 314 | + obtain ⟨c, hc⟩ : ∃ c : ℤ, ∀ e < c, ∀ {a : E}, | |
| 315 | + (twoAtInfinity E ^ (-e)).val * toAdele a ∈ entries → a = 0 := | |
| 316 | + exists_eq_zero_of_zpow_mul_mem h_entries | |
| 317 | + -- `Cf` holds the finite parts of the `B ∈ Mᴴ K`, and `C` the products `B⁻¹ Δ` with `Δ` | |
| 318 | + -- integral and bounded by `2⁻¹ ^ (c / 2)` at infinity. | |
| 319 | + let Ω : Set (Matrix n n (𝔸 E)) := | |
| 320 | + (Metric.closedBall 0 (2⁻¹ ^ (c / 2)) ×ˢ SetLike.coe (Ô E)).matrix | |
| 321 | + let N : Set (GL n (𝔸 E)) := (fun (m, S) ↦ star m * S) '' M ×ˢ K | |
| 322 | + have hN : IsCompact N := (hM.prod hK).image_of_continuous fun p ↦ star p.1 * p.2 | |
| 323 | + let C : Set (Matrix n n (𝔸 E)) := (fun (B, Δ) ↦ B⁻¹.val * Δ) '' N ×ˢ Ω | |
| 324 | + have hC : IsCompact C := | |
| 325 | + (hN.prod (isCompact_closedBall_prod_integral _).matrix).image_of_continuous fun p ↦ | |
| 326 | + p.1⁻¹.val * p.2 | |
| 327 | + -- A rational Gram matrix `Aᴴ S A` with `A ∈ C` and `S ∈ K` has finitely many values. | |
| 328 | + let F : Set (Matrix n n E) := {G | ∃ p ∈ C ×ˢ K, p.1ᴴ * p.2.val * p.1 = G.map toAdele} | |
| 329 | + refine ⟨F, C, finitePartGL '' N, | |
| 330 | + finite_setOf_map_toAdele_mem ((hC.prod hK).image_of_continuous fun p ↦ p.1ᴴ * p.2.val * p.1), | |
| 331 | + hC, | |
| 332 | + hN.image continuous_snd.generalLinearGroup_map, fun J y hy ↦ ?_⟩ | |
| 333 | + obtain ⟨x, Y, hY, -⟩ := exists_basis y | |
| 334 | + let s : Finset n := {j | x j < c / 2} | |
| 335 | + let Z : Matrix n n E := formDualOff J Y s | |
| 336 | + have h_isotropic (i : n) (hi : i ∈ s) (j : n) (hj : j ∈ s) : | |
| 337 | + (Y.valᴴ * J.val * Y.val) i j = 0 := by | |
| 338 | + simp only [s, Finset.mem_filter_univ] at hi hj | |
| 339 | + exact hc _ (by omega) (h_entry (mem_image_of_mem val hy) hY i j) | |
| 340 | + -- `B = mᴴ S` for `m = y⁻¹ Y (dyadicDiag x)⁻¹ ∈ M` and `S = yᴴ J y ∈ K`. | |
| 341 | + let B : GL n (𝔸 E) := | |
| 342 | + star (y⁻¹ * Y.map toAdele * (dyadicDiag x)⁻¹) * (star y * J.map toAdele * y) | |
| 343 | + have hB_mem : B ∈ N := ⟨(y⁻¹ * Y.map toAdele * (dyadicDiag x)⁻¹, _), ⟨hY, hy⟩, rfl⟩ | |
| 344 | + have hB_eq : B = star (dyadicDiag x : GL n (𝔸 E))⁻¹ * ((formDual J Y)⁻¹.map toAdele * y) := | |
| 345 | + star_frame_mul_gram_eq_star_dyadicDiag_inv_mul J Y y x | |
| 346 | + let A : Matrix n n (𝔸 E) := y⁻¹.val * Z.map toAdele | |
| 347 | + -- `B A` is diagonal: entry `j` is `0` for short `j`, else `2 ^ (-x j)` at infinity. | |
| 348 | + have h_diagonal : | |
| 349 | + B.val * A = diagonal fun j ↦ if j ∈ s then 0 else (twoAtInfinity E ^ (-x j)).val := by | |
| 350 | + have h_cancel : B * y⁻¹ * (formDual J Y).map toAdele = star (dyadicDiag x : GL n (𝔸 E))⁻¹ := by | |
| 351 | + simp [hB_eq, mul_assoc] | |
| 352 | + rw [← star_dyadicDiag_inv_mul_projectionOff, ← h_cancel] | |
| 353 | + simp [A, Z, formDualOff, mul_assoc] | |
| 354 | + have hΔ : B.val * A ∈ Ω := by | |
| 355 | + have h_long (j : n) (hj : j ∉ s) : c / 2 ≤ x j := by simpa [s] using hj | |
| 356 | + simpa [h_diagonal, Ω, diagonal_mem_matrix_iff, ite_mem, zpow_nonneg, twoAtInfinity, | |
| 357 | + ← map_zpow, ← map_inv, field] using h_long | |
| 358 | + have h_frame : A ∈ C := ⟨(B, B.val * A), ⟨hB_mem, hΔ⟩, B.inv_mul_cancel_left A⟩ | |
| 359 | + have h_gram : Aᴴ * (star y * J.map toAdele * y).val * A = (Zᴴ * J.val * Z).map toAdele := by | |
| 360 | + simp [A, mul_assoc, star_eq_conjTranspose, ← Matrix.map_mul, conjTranspose_nonsing_inv] | |
| 361 | + -- `dyadicDiag x` is `1` at the finite places. | |
| 362 | + have h_finite : finitePartGL B = finitePartGL ((formDual J Y)⁻¹.map toAdele * y) := by | |
| 363 | + simp [hB_eq, Units.ext_iff, dyadicDiag, twoAtInfinity, star_eq_conjTranspose, ← map_zpow, | |
| 364 | + ← map_inv] | |
| 365 | + exact ⟨Y, s, { | |
| 366 | + isotropic := h_isotropic, frame_mem := h_frame, finitePart_mem := ⟨B, hB_mem, h_finite⟩ | |
| 367 | + gram_mem := ⟨(A, star y * J.map toAdele * y), ⟨h_frame, hy⟩, h_gram⟩ }⟩ | |
| 368 | + | |
| 369 | +end New | |
| 370 | + | |
| 371 | +end MahlerForms | |
| 372 | + | |
| 373 | +/-! | |
| 374 | +## Haar measure on the adelic unitary group and integration over [G] | |
| 375 | + | |
| 376 | +The `volume` on the adelic unitary group `New.G` is a Haar measure: `G` is a product whose first | |
| 377 | +factor `GInf` carries a product (pi) Haar measure, and `volume` on `G` is the product measure. | |
| 378 | +-/ | |
| 379 | + | |
| 380 | +section GroupMeasure | |
| 381 | + | |
| 382 | +open MeasureTheory Measure NumberField | |
| 383 | + | |
| 384 | +namespace New | |
| 385 | + | |
| 386 | +variable {E n : Type} [Field E] [NumberField E] [IsCMField E] [Fintype n] [DecidableEq n] | |
| 387 | + {s : n → ℤˣ} | |
| 388 | + | |
| 389 | +deriving instance MeasurableMul₂, MeasurableInv for G | |
| 390 | + | |
| 391 | +instance : (volume : Measure (G E s)).IsHaarMeasure := | |
| 392 | + have : (volume : Measure (GInf E s)).IsHaarMeasure := pi.isHaarMeasure _ | |
| 393 | + prod.instIsHaarMeasure volume volume | |
| 394 | + | |
| 395 | +instance : SFinite (volume : Measure (G E s)) := inferInstance | |
| 396 | + | |
| 397 | +/-- The measure on `G E s` that computes integrals over the quotient `V.Γ \ G E s` by the rational | |
| 398 | +points of the space `V`: Haar measure weighted by a cutoff for counting measure on `V.Γ`, chosen so | |
| 399 | +that integrating `∑ γ : V.Γ, F (γ • g)` against it gives `∫⁻ F` for `volume`. -/ | |
| 400 | +noncomputable abbrev Space.quotMeasure {E : Type} [Field E] [CMType E] | |
| 401 | + (V : Space E n s) : Measure (G E s) := | |
| 402 | + V.Γ.quotMeasure | |
| 403 | + | |
| 404 | +end New | |
| 405 | + | |
| 406 | +end GroupMeasure | |
| 407 | + | |
| 408 | +/-! ## Finite volume of [G] and integrability of counts of rational matrices -/ | |
| 409 | + | |
| 410 | +namespace New | |
| 411 | + | |
| 412 | +open NumberField Matrix MeasureTheory New.Core Set ENNReal Finset Fintype Function | |
| 413 | + | |
| 414 | +section | |
| 415 | + | |
| 416 | +variable {E n : Type*} [Field E] [CMType E] [Fintype n] [DecidableEq n] {s : n → ℤˣ} | |
| 417 | + (V : Space E n s) | |
| 418 | + | |
| 419 | +omit [Fintype n] [DecidableEq n] in | |
| 420 | +/-- If `θ - star θ` is invertible, then `S + θ • T` determines the hermitian matrices `S`, `T`. -/ | |
| 421 | +lemma Core.eq_of_add_smul_eq_of_hermitian {θ : E} (hθ : IsUnit (θ - star θ)) | |
| 422 | + {S T S' T' : Matrix n n E} (hS : Sᴴ = S) (hT : Tᴴ = T) (hS' : S'ᴴ = S') (hT' : T'ᴴ = T') | |
| 423 | + (h_eq : S + θ • T = S' + θ • T') : (S, T) = (S', T') := by | |
| 424 | + -- Subtract the conjugate transpose of the equation and cancel `θ - star θ`. | |
| 425 | + have h_star : S + star θ • T = S' + star θ • T' := by | |
| 426 | + simpa [hS, hT, hS', hT'] using congrArg conjTranspose h_eq | |
| 427 | + have h_sub : (θ - star θ) • T = (θ - star θ) • T' := by | |
| 428 | + linear_combination (norm := module) h_eq - h_star | |
| 429 | + obtain rfl : T = T' := hθ.smul_left_cancel.1 h_sub | |
| 430 | + rw [add_right_cancel h_eq] | |
| 431 | + | |
| 432 | +/-- For a compact set `B` of adelic matrices there is a finite constant `C` such that, for all | |
| 433 | +`x : n → ℤ`, at most `C * (2 ^ numInfPlaces E) ^ ∑ i, ∑ j, (x i + x j)₊` hermitian matrices `T` | |
| 434 | +over `E` land in `B` when `T i j` is scaled by `2 ^ (-(x i + x j))` at the infinite places. Here | |
| 435 | +`numInfPlaces E` is the number of infinite places, and `twoAtInfinity E` is the idele that is `2` | |
| 436 | +at these places and `1` at the finite ones. -/ | |
| 437 | +lemma Core.encard_hermitian_le {B : Set (Matrix n n (𝔸 E))} (hB : IsCompact B) : | |
| 438 | + ∃ C : ℝ≥0∞, C ≠ ∞ ∧ ∀ x : n → ℤ, | |
| 439 | + {T : Matrix n n E | Tᴴ = T ∧ | |
| 440 | + (of fun i j : n ↦ ↑(twoAtInfinity E ^ (-(x i + x j))) * toAdele (T i j)) ∈ B}.encard ≤ | |
| 441 | + C * ENNReal.ofReal ((2 ^ numInfPlaces E) ^ ∑ i : n, ∑ j : n, (x i + x j).toNat) := by | |
| 442 | + -- For `θ ≠ star θ` the map `(S, T) ↦ S + θ • T` is injective on pairs of hermitian matrices, so | |
| 443 | + -- the square of the count is at most a count of arbitrary matrices that scale into `B + θ • B`. | |
| 444 | + open Pointwise in | |
| 445 | + obtain ⟨θ, hθ⟩ : ∃ θ : E, IsUnit (θ - star θ) := exists_isUnit_sub_star | |
| 446 | + let B' : Set (n × n → 𝔸 E) := vec '' (B + toAdele θ • B) | |
| 447 | + have hB' : IsCompact B' := (hB.add (hB.smul (toAdele θ))).image_of_continuous vec | |
| 448 | + (by fun_prop [vec]) | |
| 449 | + obtain ⟨C₀, hC₀, h_count⟩ := encard_le_of_dyadic_box hB' | |
| 450 | + obtain ⟨C, hC⟩ : ∃ C : ℝ≥0∞, C ^ (2 : ℝ) = C₀ := rpow_left_surjective two_ne_zero C₀ | |
| 451 | + refine ⟨C, fun h_top ↦ hC₀ (by simp [← hC, h_top]), fun x ↦ ?_⟩ | |
| 452 | + let H : Set (Matrix n n E) := {T | Tᴴ = T ∧ | |
| 453 | + (of fun i j : n ↦ ↑(twoAtInfinity E ^ (-(x i + x j))) * toAdele (T i j)) ∈ B} | |
| 454 | + suffices h_sq : ((H ×ˢ H).encard : ℝ≥0∞) ≤ | |
| 455 | + C₀ * ENNReal.ofReal (((2 ^ numInfPlaces E) ^ ∑ p : n × n, (x p.1 + x p.2).toNat) ^ 2) by | |
| 456 | + rw [← ENNReal.pow_le_pow_left_iff two_ne_zero] | |
| 457 | + simpa [H, ← hC, encard_prod, sq, mul_pow, sum_prod_type, ← pow_mul, mul_mul_mul_comm] using h_sq | |
| 458 | + refine h_count (fun (i, j) ↦ x i + x j) (fun (S, T) ↦ (S + θ • T).vec) ?_ ?_ | |
| 459 | + · rintro ⟨S, T⟩ ⟨⟨hS, -⟩, hT, -⟩ ⟨S', T'⟩ ⟨⟨hS', -⟩, hT', -⟩ h_vec | |
| 460 | + exact eq_of_add_smul_eq_of_hermitian hθ hS hT hS' hT' (vec_bijective.injective h_vec) | |
| 461 | + · -- If `S` and `T` scale into `B`, then `S + θ • T` scales into `B + θ • B`. | |
| 462 | + rintro ⟨S, T⟩ ⟨⟨-, hS⟩, -, hT⟩ | |
| 463 | + refine ⟨_, add_mem_add hS (smul_mem_smul_set hT), funext fun (i, j) ↦ ?_⟩ | |
| 464 | + simp [add_comm (-x i), mul_add, mul_left_comm] | |
| 465 | + | |
| 466 | +/-- The module (adelic absolute value) of the determinant of the point `V.x` of a space is `1`. -/ | |
| 467 | +lemma Space.ideleAbs_det_x : ideleAbs V.x.det = 1 := by | |
| 468 | + let J : GL n (𝔸 E) := .map toAdele V.isUnit_J.unit | |
| 469 | + -- By `V.gram_point` the matrix `xᴴ J x` is the standard form, whose square is `1`. | |
| 470 | + have h_sq : (star V.x * J * V.x) ^ 2 = 1 := Units.ext (by simp [J, sq, star, V.gram_point]) | |
| 471 | + -- The rational `det J` has module `1` by the product formula, so `|det x| ^ 4 = 1`. | |
| 472 | + simpa [J, field, pow_eq_one_iff_of_nonneg] using congrArg (fun g ↦ ideleAbs g.det) h_sq | |
| 473 | + | |
| 474 | +variable (E n) in | |
| 475 | +/-- The invertible adelic matrices with entries in the closed unit box (absolute value at most `1` | |
| 476 | +at the infinite places, integral at the finite places) and determinant of module at least `1`. -/ | |
| 477 | +def Core.unitBoxGL : Set (GL n (𝔸 E)) := | |
| 478 | + {A : GL n (𝔸 E) | A.val ∈ (Metric.closedBall 0 1 ×ˢ Ô E).matrix ∧ 1 ≤ ideleAbs A.det} | |
| 479 | + | |
| 480 | +lemma Core.isCompact_unitBoxGL : IsCompact (unitBoxGL E n) := | |
| 481 | + isCompact_setOf_le_ideleAbs_det isCompact_closedBall_prod_integral.matrix one_pos | |
| 482 | + | |
| 483 | +open Pointwise in | |
| 484 | +/-- From one basis `Y` of profile `x` one gets many: with `T = ∑ (x i - x j)₊`, the number | |
| 485 | +`2 ^ (2 * numInfPlaces E * T)` is at most `((2 * rootDiscr E) ^ numInfPlaces E) ^ card (n × n)` | |
| 486 | +times the number of bases of profile `x` for `M * unitBoxGL E n`. These come from adding to column | |
| 487 | +`j` of `Y` the columns `i` times integers of `E` of size less than `2 ^ (x j - x i)`. Here | |
| 488 | +`profileBases M x y` is the set of rational `Y` with `y⁻¹ Y (dyadicDiag x)⁻¹ ∈ M`, where | |
| 489 | +`dyadicDiag x` is diagonal with entries `2 ^ x i` at infinity and `1` at the finite places. | |
| 490 | +`numInfPlaces E` is the number of infinite places and `rootDiscr E` the root discriminant. | |
| 491 | +`unitBoxGL E n` is the set of invertible adelic matrices with entries of absolute value at most `1` | |
| 492 | +at infinity and integral at the finite places, and determinant of module at least `1`. -/ | |
| 493 | +lemma Core.two_pow_sq_le_encard_profileBases {M : Set (GL n (𝔸 E))} {x : n → ℤ} | |
| 494 | + {y : GL n (𝔸 E)} {Y : GL n E} (hY : Y ∈ profileBases M x y) : | |
| 495 | + (2 ^ (numInfPlaces E * ∑ p : n × n, (x p.1 - x p.2).toNat)) ^ 2 ≤ | |
| 496 | + ENNReal.ofReal (((2 * rootDiscr E) ^ numInfPlaces E) ^ card (n × n)) * | |
| 497 | + (profileBases (M * unitBoxGL E n) x y).encard := by | |
| 498 | + let D : GL (n × n) (𝔸 E) := Core.dyadicDiag fun p ↦ (x p.1 - x p.2).toNat | |
| 499 | + let U : Set (n × n → E) := {u | ∀ p, (D⁻¹.val *ᵥ toAdele ∘ u) p ∈ Metric.ball 0 1 ×ˢ Ô E} | |
| 500 | + suffices h_sub : | |
| 501 | + U ⊆ (fun Z : GL n E ↦ (Y.inv * Z.val - 1).vec) '' profileBases (M * unitBoxGL E n) x y by | |
| 502 | + calc | |
| 503 | + _ = ENNReal.ofReal (ideleAbs D.det) := by | |
| 504 | + simp [D, ideleAbs_det_dyadicDiag_natCast, ← pow_mul, -Int.ofNat_toNat] | |
| 505 | + _ ≤ ENNReal.ofReal (((2 * rootDiscr E) ^ numInfPlaces E) ^ card (n × n)) * U.encard := | |
| 506 | + minkowski_first D | |
| 507 | + _ ≤ _ := by grw [h_sub, encard_image_le] | |
| 508 | + intro u hu | |
| 509 | + -- An integer of absolute value less than `1` at all infinite places is zero. | |
| 510 | + have u_zero (p : n × n) (h_le : x p.1 ≤ x p.2) : u p = 0 := by | |
| 511 | + obtain ⟨h_norm, h_int⟩ : (∀ v : InfinitePlace E, ‖Φ v (u p)‖ < 1) ∧ IsIntegral ℤ (u p) := by | |
| 512 | + simpa [h_le, D, Core.dyadicDiag, ← map_inv, pi_norm_lt_iff, mulVec_diagonal] using hu p | |
| 513 | + exact eq_zero_of_forall_norm_lt_one h_int h_norm | |
| 514 | + -- So `1 + uᵀ` is unitriangular for the order of the `x i`. | |
| 515 | + have h_det : (1 + (of u.curry)ᵀ).det = 1 := | |
| 516 | + det_eq_one_of_unitriangular fun i j (h_le : x j ≤ x i) ↦ by simp [u_zero (j, i) h_le] | |
| 517 | + let Z : GL n E := .mk'' (1 + (of u.curry)ᵀ) (by simp [h_det, -transpose_of]) | |
| 518 | + -- The conjugate of `Z` by the diagonal matrix of `x` has its entries in the unit box. | |
| 519 | + have h_conj : dyadicDiag x * Z.map toAdele * (dyadicDiag x)⁻¹ ∈ unitBoxGL E n := by | |
| 520 | + refine ⟨fun i j ↦ ?_, by simp [Z, field]⟩ | |
| 521 | + have h_box : (D⁻¹.val *ᵥ toAdele ∘ u) (j, i) ∈ Metric.closedBall 0 1 ×ˢ Ô E := | |
| 522 | + prod_mono_left Metric.ball_subset_closedBall (hu (j, i)) | |
| 523 | + -- The `(i, j)` entry is `1` if `i = j`, is `0` if `x j ≤ x i`, else is the entry of `h_box`. | |
| 524 | + obtain rfl | h_ne := eq_or_ne i j | |
| 525 | + · simp [Z, Core.dyadicDiag, ← map_inv diagGL, -map_inv, u_zero (i, i) le_rfl] | |
| 526 | + obtain h_le | h_le := le_total (x j) (x i) | |
| 527 | + · simp [Z, Core.dyadicDiag, ← map_inv diagGL, -map_inv, u_zero (j, i) h_le, h_ne] | |
| 528 | + simpa [h_ne, h_le, Z, D, Core.dyadicDiag, ← map_inv diagGL, -map_inv, mul_comm, | |
| 529 | + _root_.zpow_sub, mul_assoc, mulVec_diagonal] using h_box | |
| 530 | + -- The basis `Y * Z` has profile `x` for `M * unitBoxGL E n`, and `Y⁻¹ * (Y * Z) - 1 = uᵀ`. | |
| 531 | + exact ⟨Y * Z, mem_mul.2 ⟨_, hY, _, h_conj, by simp [mul_assoc]⟩, | |
| 532 | + by simp [Z, funext_iff, -transpose_of]⟩ | |
| 533 | + | |
| 534 | +/-- For a compact `M` there is a compact set `S` of adeles that holds the Gram entries | |
| 535 | +`(Yᴴ V.J Y) i j`, divided by `2 ^ (x i + x j)` at the infinite places, for every space `V` with | |
| 536 | +signs `s` and every rational basis `Y` with `V.x⁻¹ Y (dyadicDiag x)⁻¹ ∈ M`. -/ | |
| 537 | +lemma Space.exists_isCompact_gram_entry_mem {M : Set (GL n (𝔸 E))} (hM : IsCompact M) | |
| 538 | + (s : n → ℤˣ) : ∃ S : Set (𝔸 E), IsCompact S ∧ | |
| 539 | + ∀ (V : Space E n s) {x : n → ℤ} {Y : GL n E}, Y ∈ profileBases M x V.x → | |
| 540 | + ∀ i j : n, (twoAtInfinity E ^ (-(x i + x j))).val * (Y.valᴴ * V.J * Y) i j ∈ S := by | |
| 541 | + obtain ⟨S, hS, gram_mem⟩ := exists_compact_gram_entry hM (isCompact_singleton (x := stdForm E s)) | |
| 542 | + exact ⟨S, hS, fun V x Y hY ↦ gram_mem V.gram_point hY⟩ | |
| 543 | + | |
| 544 | +/-- If `Y` is a basis of profile `x` at the point of `V` (that is, | |
| 545 | +`V.x⁻¹ Y (dyadicDiag x)⁻¹ ∈ M`) and `∑ i, x i ≤ c`, then `x` is nearly symmetric about `0`: for | |
| 546 | +some permutation `σ` all `|x (σ i) + x i|` are at most a constant `B`, which depends only on the | |
| 547 | +compact set `M`, on `c` and on the signs `s`. -/ | |
| 548 | +lemma Space.exists_perm_natAbs_add_le {M : Set (GL n (𝔸 E))} (hM : IsCompact M) (c : ℤ) : | |
| 549 | + ∃ B : ℕ, ∀ (V : Space E n s) (x : n → ℤ) (Y : GL n E), Y ∈ profileBases M x V.x → | |
| 550 | + ∑ i : n, x i ≤ c → ∃ σ : Equiv.Perm n, ∀ i : n, (x (σ i) + x i).natAbs ≤ B := by | |
| 551 | + -- The scaled entries of the Gram matrices lie in a compact set `S`. An element of `E` that lies | |
| 552 | + -- in `S` after scaling by `2 ^ (-e)` with `e < d` is zero. | |
| 553 | + obtain ⟨S, hS, gram_mem⟩ := exists_isCompact_gram_entry_mem hM s | |
| 554 | + obtain ⟨d, hd⟩ := exists_eq_zero_of_zpow_mul_mem hS | |
| 555 | + refine ⟨(2 * c - card n * d).toNat + d.natAbs, fun V x Y hY hx ↦ ?_⟩ | |
| 556 | + -- The Gram matrix of `Y` is invertible, so for some permutation `σ` its entries at `(σ i, i)` | |
| 557 | + -- are non-zero. Hence `d ≤ x (σ i) + x i`, and these sums are bounded above too, as `∑ x ≤ c`. | |
| 558 | + have h_det : (Y.valᴴ * V.J * Y.val).det ≠ 0 := (star Y * V.isUnit_J.unit * Y).det_ne_zero | |
| 559 | + obtain ⟨σ, entry_ne⟩ : ∃ σ : Equiv.Perm n, ∀ i, (Y.valᴴ * V.J * Y.val) (σ i) i ≠ 0 := by | |
| 560 | + rw [det_apply] at h_det | |
| 561 | + simpa [smul_eq_zero_iff_eq, prod_eq_zero_iff] using exists_ne_zero_of_sum_ne_zero h_det | |
| 562 | + have pair_ge (i : n) : 0 ≤ x (σ i) + x i - d := | |
| 563 | + sub_nonneg_of_le <| le_of_not_gt fun h_lt ↦ entry_ne i (hd _ h_lt (gram_mem V hY (σ i) i)) | |
| 564 | + refine ⟨σ, fun i ↦ ?_⟩ | |
| 565 | + have h_le : x (σ i) + x i ≤ ∑ j, x j + ∑ j, x j - card n * d + d := by | |
| 566 | + simpa [sum_add_distrib, σ.sum_comp] using single_le_sum (fun j _ ↦ pair_ge j) (mem_univ i) | |
| 567 | + grind [pair_ge i] | |
| 568 | + | |
| 569 | +omit [DecidableEq n] in | |
| 570 | +/-- The inequality of exponents behind `Space.lintegral_encard_ne_top`. Write `ν = ∑ (-x i)₊`, | |
| 571 | +`P = ∑ (x i + x j)₊` and `T = ∑ (x i - x j)₊`. Suppose `|x (σ i) + x i| ≤ B` for a permutation `σ`, | |
| 572 | +and that `2 m` is less than the number `N` of indices whenever there is at least one index. Then | |
| 573 | +`4 m ν + 2 P + ∑ |x i| ≤ 4 T + 6 (N + 1) ^ 2 B`. -/ | |
| 574 | +lemma Core.sum_toNat_neg_add_le {m B : ℕ} (h_rank : Nonempty n → 2 * m < card n) {x : n → ℤ} | |
| 575 | + {σ : Equiv.Perm n} (h_pair : ∀ i : n, (x (σ i) + x i).natAbs ≤ B) : | |
| 576 | + 4 * (m * ∑ i : n, (-x i).toNat) + 2 * ∑ i : n, ∑ j : n, (x i + x j).toNat + | |
| 577 | + ∑ i : n, (x i).natAbs ≤ | |
| 578 | + 4 * ∑ i : n, ∑ j : n, (x i - x j).toNat + 6 * ((card n + 1) ^ 2 * B) := by | |
| 579 | + -- Term by term, `∑ |x i| + 2 N ν + 2 P ≤ 2 ν + 4 T + O(B)`. | |
| 580 | + have h_sum : ∑ i, ((x i).natAbs + ∑ j, 2 * ((-x (σ i)).toNat + (x i + x j).toNat)) ≤ | |
| 581 | + ∑ i, ((-x i).toNat + (-x (σ i)).toNat + B + | |
| 582 | + ∑ j, ((x i - x j).toNat + 3 * (x i - x (σ j)).toNat + 5 * B)) := by | |
| 583 | + gcongr with i _ j _ | |
| 584 | + · grind [h_pair i] | |
| 585 | + · grind [h_pair i, h_pair j] | |
| 586 | + -- The rank condition gives `(2 m + 1) ν ≤ N ν`. | |
| 587 | + have h_mul : (2 * m + 1) * ∑ i, (-x i).toNat ≤ card n * ∑ i, (-x i).toNat := by | |
| 588 | + simp only [mul_sum] | |
| 589 | + exact sum_le_sum fun i _ ↦ Nat.mul_le_mul_right _ (h_rank ⟨i⟩) | |
| 590 | + simp only [sum_add_distrib, mul_add, ← mul_sum, Equiv.sum_comp σ fun i ↦ (-x i).toNat, | |
| 591 | + fun i ↦ Equiv.sum_comp σ fun j ↦ (x i - x j).toNat, sum_const, card_univ, smul_eq_mul] at h_sum | |
| 592 | + lia | |
| 593 | + | |
| 594 | +end | |
| 595 | + | |
| 596 | +variable {E n : Type} [Field E] [CMType E] [Fintype n] [DecidableEq n] {s : n → ℤˣ} | |
| 597 | + (V : Space E n s) | |
| 598 | + | |
| 599 | +open Pointwise in | |
| 600 | +/-- For `g` in the adelic unitary group `G E s`, a basis at `g` is a rational `Z` in | |
| 601 | +`profileBases N x (V.move g).x`, that is, one with `(V.x * g)⁻¹ Z (dyadicDiag x)⁻¹ ∈ N`; its Gram | |
| 602 | +matrix is `Zᴴ V.J Z`. Let `𝒯` hold the Gram matrices of all bases, and for each such matrix `T` | |
| 603 | +let `r T` be a basis at `A T` with Gram matrix `T`. If `B` contains every group element whose | |
| 604 | +adelic matrix `G.adeleMatrix` lies in `N * N⁻¹`, then the number of bases at `g`, times a weight | |
| 605 | +`w`, is at most the sum over `γ ∈ V.Γ` and `T ∈ 𝒯` of `w` times the indicator of `γ g ∈ A T * B`. -/ | |
| 606 | +lemma Space.encard_profileBases_mul_le_lintegral {N : Set (GL n (𝔸 E))} {x : n → ℤ} | |
| 607 | + {𝒯 : Set (Matrix n n E)} {A : Matrix n n E → G E s} {r : Matrix n n E → GL n E} | |
| 608 | + {B : Set (G E s)} (hB : G.adeleMatrix ⁻¹' (Units.val '' (N * N⁻¹)) ⊆ B) | |
| 609 | + (h_gram : ∀ g : G E s, ∀ Z ∈ profileBases N x (V.move g).x, Z.valᴴ * V.J * Z.val ∈ 𝒯) | |
| 610 | + (h_basis : ∀ g : G E s, ∀ Z ∈ profileBases N x (V.move g).x, | |
| 611 | + r (Z.valᴴ * V.J * Z.val) ∈ profileBases N x (V.move (A (Z.valᴴ * V.J * Z.val))).x) | |
| 612 | + (h_gram_basis : ∀ g : G E s, ∀ Z ∈ profileBases N x (V.move g).x, | |
| 613 | + (r (Z.valᴴ * V.J * Z.val)).valᴴ * V.J * (r (Z.valᴴ * V.J * Z.val)).val = | |
| 614 | + Z.valᴴ * V.J * Z.val) | |
| 615 | + (w : ℝ≥0∞) (g : G E s) : | |
| 616 | + (profileBases N x (V.move g).x).encard * w ≤ | |
| 617 | + ∫⁻ γ : V.Γ, ∑' T : 𝒯, | |
| 618 | + ((fun h : G E s ↦ (A T)⁻¹ * h) ⁻¹' B).indicator (fun _ ↦ w) (γ • g) ∂.count := by | |
| 619 | + -- A basis `Z` at `g` with Gram matrix `T` gives `γ = r T * Z⁻¹` in `V.Γ` with `γ g ∈ A T * B`; | |
| 620 | + -- `Z` is determined by the pair `(T, γ)`. | |
| 621 | + let Bases : Set (GL n E) := profileBases N x (V.move g).x | |
| 622 | + let F (T : 𝒯) : G E s → ℝ≥0∞ := ((fun h ↦ (A T)⁻¹ * h) ⁻¹' B).indicator fun _ ↦ w | |
| 623 | + let T (Z : Bases) : 𝒯 := ⟨(Z : GL n E).valᴴ * V.J * (Z : GL n E), h_gram g Z Z.property⟩ | |
| 624 | + have h_unitary (Z : Bases) : r (T Z) * (Z : GL n E)⁻¹ ∈ U V.J := | |
| 625 | + mem_unitaryGroupOf_iff.2 <| gram_mul_of_gram_eq (h_gram_basis g Z Z.property) | |
| 626 | + (gram_inv_of_gram_eq rfl) | |
| 627 | + let γ (Z : Bases) : V.Γ := ⟨V.ratEmbed ⟨r (T Z) * (Z : GL n E)⁻¹, h_unitary Z⟩, _, rfl⟩ | |
| 628 | + have h_inj : Injective fun Z ↦ (T Z, γ Z) := by | |
| 629 | + simp +contextual [Injective, Subtype.ext_iff, V.ratEmbed_injective.eq_iff, γ] | |
| 630 | + have h_val (Z : Bases) : F (T Z) (γ Z • g) = w := by | |
| 631 | + refine indicator_of_mem (s := _ ⁻¹' B) (hB ⟨_, mul_mem_mul (h_basis g Z Z.property) | |
| 632 | + (inv_mem_inv.2 Z.property), ?_⟩) fun _ ↦ w | |
| 633 | + simp [γ, T, move, ratEmbed, toRatCoords, G.adeleMatrix, U.map, Matrix.mul_assoc] | |
| 634 | + calc | |
| 635 | + _ = ∑' Z : Bases, F (T Z) (γ Z • g) := by simp [h_val, Bases] | |
| 636 | + _ ≤ ∑' q : 𝒯 × V.Γ, F q.1 (q.2 • g) := | |
| 637 | + tsum_comp_le_tsum_of_injective h_inj fun q ↦ F q.1 (q.2 • g) | |
| 638 | + _ = ∫⁻ γ : V.Γ, ∑' T, F T (γ • g) ∂.count := by | |
| 639 | + rw [lintegral_count, tsum_comm, tsum_prod'] | |
| 640 | + | |
| 641 | +open Pointwise in | |
| 642 | +/-- Unfolding over the rational points `V.Γ` of the adelic unitary group `G E s`, for a hermitian | |
| 643 | +space `V` over a CM field `E` with its point `V.x`. Suppose that for each `g`, `f g` is at most | |
| 644 | +`ω x` times the number of rational bases of some profile `x` at the moved point | |
| 645 | +`(V.move g).x = V.x * g`, that is, of `Y` with `(V.x * g)⁻¹ Y (dyadicDiag x)⁻¹` in the compact set | |
| 646 | +`N`, where `dyadicDiag x` is diagonal with entries `2 ^ x i` at the infinite places and `1` at the | |
| 647 | +finite places. Bases with the same Gram matrix differ by `V.Γ`, and there are | |
| 648 | +`O(2 ^ (numInfPlaces E * ∑ i, ∑ j, (x i + x j)₊))` Gram matrices of profile `x`, so `f` has finite | |
| 649 | +integral against `V.quotMeasure` (the measure on `G E s` that integrates invariant functions over | |
| 650 | +`V.Γ \ G`) if `ω x` times this power of `2` is summable over `x`. -/ | |
| 651 | +lemma Space.lintegral_ne_top_of_le_encard_profileBases {N : Set (GL n (𝔸 E))} (hN : IsCompact N) | |
| 652 | + {ω : (n → ℤ) → ℝ≥0∞} | |
| 653 | + (hω : ∑' x : n → ℤ, 2 ^ (numInfPlaces E * ∑ i : n, ∑ j : n, (x i + x j).toNat) * ω x ≠ ∞) | |
| 654 | + {f : G E s → ℝ≥0∞} | |
| 655 | + (hf : ∀ g : G E s, ∃ x : n → ℤ, f g ≤ (profileBases N x (V.move g).x).encard * ω x) : | |
| 656 | + ∫⁻ g : G E s, f g ∂V.quotMeasure ≠ ∞ := by | |
| 657 | + -- The scaled entries of the Gram matrices lie in a compact set `S`; this bounds their number. | |
| 658 | + obtain ⟨S, hS, gram_mem⟩ := exists_isCompact_gram_entry_mem hN s | |
| 659 | + let gram (x : n → ℤ) : Set (Matrix n n E) := {T | Tᴴ = T ∧ | |
| 660 | + (of fun i j ↦ ↑(twoAtInfinity E ^ (-(x i + x j))) * toAdele (T i j)) ∈ S.matrix} | |
| 661 | + obtain ⟨C, hC, card_gram⟩ : ∃ C : ℝ≥0∞, C ≠ ∞ ∧ ∀ x : n → ℤ, | |
| 662 | + (gram x).encard ≤ C * 2 ^ (numInfPlaces E * ∑ i, ∑ j, (x i + x j).toNat) := by | |
| 663 | + simpa [gram, ← pow_mul] using encard_hermitian_le (n := n) hS.matrix | |
| 664 | + -- For each profile `x` and Gram matrix `T` that occur, fix a point `A x T` and a basis `r x T` | |
| 665 | + -- there. A point `g` with a basis of Gram matrix `T` is in a translate `γ⁻¹ (A x T * B)`. | |
| 666 | + let Occurs (x : n → ℤ) (T : Matrix n n E) : Prop := | |
| 667 | + ∃ g : G E s, ∃ Z ∈ profileBases N x (V.move g).x, Z.valᴴ * V.J * Z = T | |
| 668 | + choose! A r hr gram_r using fun (x : n → ℤ) (T : Matrix n n E) (hT : Occurs x T) ↦ hT | |
| 669 | + let B : Set (G E s) := G.adeleMatrix ⁻¹' (Units.val '' (N * N⁻¹)) | |
| 670 | + have hB : IsCompact B := | |
| 671 | + G.isClosedEmbedding_adeleMatrix.isCompact_preimage | |
| 672 | + ((hN.mul hN.inv).image_of_continuous Units.val) | |
| 673 | + -- For `p = (x, T)`, `F p` is `ω x` times the indicator of `A x T * B`. | |
| 674 | + let F (p : Σ x, gram x) : G E s → ℝ≥0∞ := | |
| 675 | + ((fun g ↦ (A p.1 p.2)⁻¹ * g) ⁻¹' B).indicator fun _ ↦ ω p.1 | |
| 676 | + have F_meas (p : Σ x, gram x) : Measurable (F p) := | |
| 677 | + measurable_const.indicator (measurable_const_mul (A p.1 p.2)⁻¹ hB.measurableSet) | |
| 678 | + have bases_le (g : G E s) (x : n → ℤ) : | |
| 679 | + (profileBases N x (V.move g).x).encard * ω x ≤ ∫⁻ γ : V.Γ, ∑' p, F p (γ • g) ∂.count := by | |
| 680 | + calc | |
| 681 | + _ ≤ ∫⁻ γ : V.Γ, ∑' T : gram x, F ⟨x, T⟩ (γ • g) ∂.count := | |
| 682 | + V.encard_profileBases_mul_le_lintegral (𝒯 := gram x) subset_rfl | |
| 683 | + (fun h Z hZ ↦ ⟨IsSelfAdjoint.conjugate' V.conjTranspose_J _, gram_mem (V.move h) hZ⟩) | |
| 684 | + (fun h Z hZ ↦ hr x _ ⟨h, Z, hZ, rfl⟩) (fun h Z hZ ↦ gram_r x _ ⟨h, Z, hZ, rfl⟩) _ g | |
| 685 | + _ ≤ ∫⁻ γ : V.Γ, ∑' p, F p (γ • g) ∂.count := | |
| 686 | + lintegral_mono fun γ ↦ tsum_comp_le_tsum_of_injective sigma_mk_injective fun p ↦ F p (γ • g) | |
| 687 | + refine ne_top_of_le_ne_top (mul_ne_top (mul_ne_top hC hω) (hB.measure_ne_top (μ := volume))) ?_ | |
| 688 | + calc | |
| 689 | + ∫⁻ g, f g ∂V.quotMeasure ≤ ∫⁻ g, ∫⁻ γ : V.Γ, ∑' p, F p (γ • g) ∂.count ∂V.quotMeasure := | |
| 690 | + lintegral_mono fun g ↦ (hf g).elim fun x hx ↦ hx.trans (bases_le g x) | |
| 691 | + _ = ∑' p, ∫⁻ g, F p g := by | |
| 692 | + rw [lintegral_orbitMeasure_lintegral (.tsum F_meas), | |
| 693 | + lintegral_tsum fun p ↦ (F_meas p).aemeasurable] | |
| 694 | + -- Each pair `(x, T)` contributes at most `ω x` times the measure of `A x T * B`. | |
| 695 | + _ ≤ ∑' p : Σ x, gram x, ω p.1 * volume B := | |
| 696 | + tsum_le_tsum fun p ↦ by grw [lintegral_indicator_const_le, measure_preimage_mul] | |
| 697 | + _ = (∑' x, (gram x).encard * ω x) * volume B := by | |
| 698 | + simp_rw [ENNReal.tsum_mul_right, tsum_sigma', tsum_set_const] | |
| 699 | + _ ≤ C * (∑' x, 2 ^ (numInfPlaces E * ∑ i, ∑ j, (x i + x j).toNat) * ω x) * volume B := by | |
| 700 | + grw [card_gram] | |
| 701 | + simp [mul_assoc, ENNReal.tsum_mul_left] | |
| 702 | + | |
| 703 | +/-- Let `M` and `Ω` be compact. There is a finite `C` such that, if `g` lies in the adelic unitary | |
| 704 | +group `G E s` and `Y` is a rational basis of profile `x` at the moved point `V.x * g`, then at most | |
| 705 | +`C * 4 ^ (numInfPlaces E * #t * ∑ (-x i)₊)` rational `n × t` matrices `ξ` satisfy | |
| 706 | +`(V.toRatCoords g)⁻¹ ξ ∈ Ω`, where `V.toRatCoords g = V.x * g * V.x⁻¹` and `numInfPlaces E` is the | |
| 707 | +number of infinite places. The hypothesis on `Y` means `(V.x * g)⁻¹ Y (dyadicDiag x)⁻¹ ∈ M`, for | |
| 708 | +the diagonal matrix `dyadicDiag x` with entries `2 ^ x i` at the infinite places and `1` at the | |
| 709 | +finite ones. -/ | |
| 710 | +lemma Space.exists_encard_le_of_mem_profileBases {t : Type*} [Fintype t] {M : Set (GL n (𝔸 E))} | |
| 711 | + (hM : IsCompact M) {Ω : Set (Matrix n t (𝔸 E))} (hΩ : IsCompact Ω) : | |
| 712 | + ∃ C : ℝ≥0∞, C ≠ ∞ ∧ ∀ {g : G E s} {x : n → ℤ} {Y : GL n E}, Y ∈ profileBases M x (V.move g).x → | |
| 713 | + {ξ : Matrix n t E | (V.toRatCoords g).val⁻¹.val * ξ.map toAdele ∈ Ω}.encard ≤ | |
| 714 | + C * (2 ^ (numInfPlaces E * ∑ p : t × n, (-x p.2).toNat)) ^ 2 := by | |
| 715 | + classical | |
| 716 | + -- Row `i` of `Y⁻¹ ξ` is `2 ^ (-x i)` times row `i` of some `A⁻¹ * V.x⁻¹ * η` with `A ∈ M` and | |
| 717 | + -- `η ∈ Ω`; these products lie in a compact set `B`. | |
| 718 | + let B : Set (t × n → 𝔸 E) := (fun (A, η) (j, i) ↦ (A.inv * V.x.inv * η) i j) '' M ×ˢ Ω | |
| 719 | + have hB : IsCompact B := (hM.prod hΩ).image_of_continuous _ <| by | |
| 720 | + have : Continuous fun u : GL n (𝔸 E) ↦ u.inv := Units.continuous_coe_inv | |
| 721 | + fun_prop | |
| 722 | + obtain ⟨C, hC, h_count⟩ := encard_le_of_dyadic_box (α := Matrix n t E) hB | |
| 723 | + refine ⟨C, hC, fun {g x Y} hY ↦ ?_⟩ | |
| 724 | + have h_inj : Injective fun ξ : Matrix n t E ↦ (Y⁻¹.val * ξ).vec := | |
| 725 | + vec_bijective.injective.comp (mul_right_injective_of_invertible Y⁻¹.val) | |
| 726 | + refine (h_count (fun p ↦ -x p.2) _ h_inj.injOn fun ξ hξ ↦ ?_).trans_eq (by simp [← pow_mul]) | |
| 727 | + let A : GL n (𝔸 E) := (V.move g).x⁻¹ * Y.map toAdele * (dyadicDiag x)⁻¹ | |
| 728 | + let η : Matrix n t (𝔸 E) := (V.toRatCoords g).val⁻¹.val * ξ.map toAdele | |
| 729 | + refine ⟨(A, η), ⟨hY, hξ⟩, funext fun p ↦ ?_⟩ | |
| 730 | + simp [A, η, Core.dyadicDiag, move, toRatCoords, ← Matrix.map_mul, ← map_inv, Matrix.mul_assoc] | |
| 731 | + | |
| 732 | +open Pointwise in | |
| 733 | +/-- Let `Ω` be a compact set of adelic `n × t` matrices, and suppose `2 * card t < card n` unless | |
| 734 | +`n` is empty. For `g` in the adelic unitary group `G E s`, count the rational `n × t` matrices `ξ` | |
| 735 | +with `(V.toRatCoords g)⁻¹ ξ ∈ Ω`, where `V.toRatCoords g = V.x * g * V.x⁻¹`. This count has a finite | |
| 736 | +integral over the quotient `V.Γ \ G` by the rational points, that is, against `V.quotMeasure`. -/ | |
| 737 | +lemma Space.lintegral_encard_ne_top {t : Type*} [Fintype t] {Ω : Set (Matrix n t (𝔸 E))} | |
| 738 | + (hΩ : IsCompact Ω) (h_rank : Nonempty n → 2 * card t < card n) : | |
| 739 | + ∫⁻ g : G E s, {ξ : Matrix n t E | (V.toRatCoords g).val⁻¹.val * ξ.map toAdele ∈ Ω}.encard | |
| 740 | + ∂V.quotMeasure ≠ ⊤ := by | |
| 741 | + -- Reduction theory gives each `g` a profile `x : n → ℤ` of a rational basis. The count at `g` is | |
| 742 | + -- at most a weight `ω x` times the number of bases of profile `x` at `g`, and `ω x` times the | |
| 743 | + -- bound for the number of Gram matrices is summable over `x`. | |
| 744 | + obtain ⟨M, c, hM, exists_basis⟩ := exists_isCompact_profileBases E n | |
| 745 | + obtain ⟨B, hB⟩ := exists_perm_natAbs_add_le (s := s) hM c | |
| 746 | + obtain ⟨q, hq⟩ : ∃ q : ℝ≥0∞, q ^ (2 : ℝ) = 2 ^ numInfPlaces E := | |
| 747 | + rpow_left_surjective two_ne_zero _ | |
| 748 | + have one_lt_q : 1 < q := (rpow_lt_rpow_iff two_pos).1 (by simp [hq, one_lt_pow₀]) | |
| 749 | + obtain ⟨C₁, hC₁, few_ξ⟩ := V.exists_encard_le_of_mem_profileBases hM hΩ | |
| 750 | + let C₂ : ℝ≥0∞ := C₁ * 2 ^ (numInfPlaces E * (3 * ((card n + 1) ^ 2 * B))) | |
| 751 | + -- `R` is the constant of Minkowski's first theorem. Up to a constant factor, `P x` bounds the | |
| 752 | + -- number of Gram matrices of profile `x`. | |
| 753 | + let R : ℝ≥0∞ := .ofReal (((2 * rootDiscr E) ^ numInfPlaces E) ^ card (n × n)) | |
| 754 | + let P (x : n → ℤ) : ℝ≥0∞ := 2 ^ (numInfPlaces E * ∑ i, ∑ j, (x i + x j).toNat) | |
| 755 | + let ω (x : n → ℤ) : ℝ≥0∞ := (∏ i, q⁻¹ ^ (x i).natAbs) * (C₂ * R) / P x | |
| 756 | + have h_geometric : ∑' k : ℤ, q⁻¹ ^ k.natAbs < ∞ := | |
| 757 | + lt_of_le_of_lt (le_of_add_le_left (tsum_nat_add_neg CompleteLattice.summable).ge) | |
| 758 | + (by simp [tsum_add, one_lt_q]) | |
| 759 | + -- `P x` cancels the denominator of `ω x`; a product of geometric series in `q⁻¹ < 1` remains. | |
| 760 | + have hω : ∑' x : n → ℤ, P x * ω x < ∞ := | |
| 761 | + calc | |
| 762 | + _ ≤ (∏ _i : n, ∑' k : ℤ, q⁻¹ ^ k.natAbs) * (C₂ * R) := by | |
| 763 | + grw [mul_div_le, ENNReal.tsum_mul_right, ENNReal.prod_tsum] | |
| 764 | + _ < ∞ := by simp [C₂, R, mul_lt_top_iff, Ne.lt_top, hC₁, ENNReal.pow_lt_top h_geometric] | |
| 765 | + refine V.lintegral_ne_top_of_le_encard_profileBases (hM.mul isCompact_unitBoxGL) hω.ne fun g ↦ ?_ | |
| 766 | + obtain ⟨x, Y, hY, hx⟩ := exists_basis (V.move g).x | |
| 767 | + obtain ⟨σ, hσ⟩ := hB (V.move g) x Y hY (hx (V.move g).ideleAbs_det_x.ge) | |
| 768 | + -- Up to constants, `ν` is an upper bound for the count, `T` a lower one for the number of bases. | |
| 769 | + let ν : ℝ≥0∞ := (2 ^ (numInfPlaces E * ∑ p : t × n, (-x p.2).toNat)) ^ 2 | |
| 770 | + let T : ℝ≥0∞ := (2 ^ (numInfPlaces E * ∑ p : n × n, (x p.1 - x p.2).toNat)) ^ 2 | |
| 771 | + have many_bases : T ≤ R * (profileBases (M * unitBoxGL E n) x (V.move g).x).encard := | |
| 772 | + two_pow_sq_le_encard_profileBases hY | |
| 773 | + -- Compare exponents of `q`, where `q ^ 2 = 2 ^ numInfPlaces E`. | |
| 774 | + have exponents : C₁ * ν * P x * q ^ ∑ i, (x i).natAbs ≤ C₂ * T := | |
| 775 | + calc | |
| 776 | + _ = C₁ * q ^ (4 * (card t * ∑ i, (-x i).toNat) + 2 * ∑ i, ∑ j, (x i + x j).toNat + | |
| 777 | + ∑ i, (x i).natAbs) := by | |
| 778 | + simp [ν, P, pow_mul _ (numInfPlaces E), ← hq, sum_prod_type] | |
| 779 | + ring | |
| 780 | + _ ≤ C₁ * q ^ (4 * ∑ i, ∑ j, (x i - x j).toNat + 6 * ((card n + 1) ^ 2 * B)) := by | |
| 781 | + grw [sum_toNat_neg_add_le h_rank hσ] | |
| 782 | + exact one_lt_q.le | |
| 783 | + _ = C₂ * T := by | |
| 784 | + simp [C₂, T, pow_mul _ (numInfPlaces E), ← hq, sum_prod_type] | |
| 785 | + ring | |
| 786 | + refine ⟨x, ?_⟩ | |
| 787 | + calc | |
| 788 | + _ ≤ C₁ * ν := few_ξ hY | |
| 789 | + _ ≤ C₂ * T / (q ^ ∑ i, (x i).natAbs) / P x := by | |
| 790 | + rwa [ENNReal.le_div_iff_mul_le (.inl (by positivity)) (.inr (by finiteness)), | |
| 791 | + ENNReal.le_div_iff_mul_le (.inl (by positivity)) (.inr (by finiteness))] | |
| 792 | + _ ≤ (profileBases (M * unitBoxGL E n) x (V.move g).x).encard * ω x := by | |
| 793 | + grw [many_bases] | |
| 794 | + simp only [ω, div_eq_mul_inv, prod_pow_eq_pow_sum, ENNReal.inv_pow] | |
| 795 | + exact le_of_eq (by ring) | |
| 796 | + | |
| 797 | +/-- The quotient `V.Γ \ G` of the adelic unitary group by its rational points has finite volume. | |
| 798 | + | |
| 799 | +This is the finite volume theorem for adelic quotients in the case of unitary groups over CM | |
| 800 | +fields of hermitian forms with an adelic orthonormal frame, of any rank and signs. -/ | |
| 801 | +instance Space.isFiniteMeasure_quotMeasure : IsFiniteMeasure V.quotMeasure := by | |
| 802 | + -- The case `t = Empty`: there is exactly one matrix `ξ`, so the integrand is `1`. | |
| 803 | + simpa [isFiniteMeasure_iff, lt_top_iff_ne_top, ENat.card, Cardinal.mk_eq_one] using | |
| 804 | + V.lintegral_encard_ne_top (t := Empty) isCompact_univ (by simp [card_pos_iff]) | |
| 805 | + | |
| 806 | +end New | |
+996 −0 src/Lib/Adelic/Reduction/FirstMinimumShortBases.lean added View file
| @@ -0,0 +1,996 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import Mathlib.Analysis.CStarAlgebra.Matrix | |
| 4 | +import Mathlib.Algebra.Order.Archimedean.Real.Hom | |
| 5 | +import Mathlib.Algebra.Order.Star.Real | |
| 6 | +import Mathlib.MeasureTheory.Group.GeometryOfNumbers | |
| 7 | +import Mathlib.RingTheory.Coalgebra.CoassocSimps | |
| 8 | +import Mathlib.RingTheory.PiTensorProduct | |
| 9 | +import Mathlib.Topology.Algebra.ProperConstSMul | |
| 10 | +import Mathlib.Topology.Separation.Connected | |
| 11 | +import TauCeti.Algebra.Module.ZLattice.Covolume | |
| 12 | +public import Lib.Adelic.Unitary.ComponentsAndBlockSums | |
| 13 | +public import Lib.General.NumberTheory.EmbeddingsAndDifferent | |
| 14 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 15 | +import Lib.Adelic.Unitary.GramMatrix | |
| 16 | +import Lib.Adelic.Unitary.RationalPoints | |
| 17 | +import Lib.Base | |
| 18 | +import Lib.General.Measure.HaarModulus | |
| 19 | +import Lib.General.NumberTheory.SUnitsAndClassNumber | |
| 20 | + | |
| 21 | +/-! | |
| 22 | +# Transference, first minima and short bases of lattices of hermitian spaces | |
| 23 | + | |
| 24 | +Minkowski's bound and weak transference in a Euclidean space `E` of dimension `m` give short vectors | |
| 25 | +and a covering radius for a subgroup `Λ` whose dual has no nonzero vectors shorter than `ρ > 0`. For | |
| 26 | +a hermitian space `V` with a point, the lattice of `V` defines a first minimum, cut off at `1`, and | |
| 27 | +a height on the adelic unitary group, against which growth and decay are measured. | |
| 28 | + | |
| 29 | +## Main definitions and results | |
| 30 | + | |
| 31 | +* `New.weak_transference`: if `m ≥ 1`, `Λ` has a nonzero vector shorter than `2 m / ρ`. | |
| 32 | +* `New.weak_transference_covering_radius`: every vector is within `m ^ 2 / ρ` of `Λ`. | |
| 33 | +* `New.Space.archCoords`, `New.Space.firstMinimum`, `New.Space.height`: the archimedean coordinates | |
| 34 | + of a rational vector, the first minimum of the lattice cut off at `1`, and the inverse of the | |
| 35 | + first minimum of the moved space `V.move g`, the height at `g`. | |
| 36 | +* `New.Space.IsModerate`, `New.Space.IsRapid`: moderate growth and rapid decay against the height. | |
| 37 | +* `New.Space.form_eq_zero_of_norm_mul_lt_one`, `New.Space.firstMinimum_move_eq_one`, | |
| 38 | + `New.Space.firstMinimum_pos`: lattice vectors whose lengths have product below `1` are orthogonal; | |
| 39 | + the minimum is `1` in a definite space, and positive in any space as the lattice is discrete. The | |
| 40 | + comparison of heights on `Γ g Ξ` for compact `Ξ` is `New.Space.exists_height_le_mul` in | |
| 41 | + `Lib.Adelic.AutomorphicForms.Basic`. | |
| 42 | +* `New.Space.exists_short_basis`: the lattice contains a basis of vectors of length at most a | |
| 43 | + constant over the first minimum. | |
| 44 | + | |
| 45 | +Notions from other files: | |
| 46 | +* `New.Space`: a hermitian space with a point, given by a matrix J over a CM field E (class | |
| 47 | + `CMType E`) and x in GL_n(𝔸) with xᴴJx equal to diag(s) at the infinite places and 1 at the finite | |
| 48 | + places; `V.move g` is (J, xg). | |
| 49 | +* `New.G`: the adelic unitary group G = G_∞ × G_f for signs s at the infinite places and the | |
| 50 | + identity matrix at the finite places. | |
| 51 | +* `New.Space.vecAtPoint`: for a space (J, x), the adelic coordinates x⁻¹y of a vector y in E^n. | |
| 52 | +* `New.Space.baseLattice`: for a space (J, x), the lattice E^n ∩ x_f Ô^n, as an additive subgroup of | |
| 53 | + E^n. | |
| 54 | +* `New.Space.sum`: for spaces V, W with signs s, t, the space with concatenated signs whose matrix | |
| 55 | + and point are the block diagonal sums of those of V and W. | |
| 56 | + | |
| 57 | +## Relation to the literature | |
| 58 | + | |
| 59 | +Known result: Transference theorem for the covering radius of a lattice against its dual's first | |
| 60 | +minimum. The constant here is m squared in dimension m, where the sharp forms have a constant linear | |
| 61 | +in m. The result holds for any subgroup of a Euclidean space whose dual has no short nonzero vector, | |
| 62 | +and is proved by projecting along a short vector. Source: Lagarias-Lenstra-Schnorr, Korkin-Zolotarev | |
| 63 | +bases and successive minima of a lattice and its reciprocal lattice, Combinatorica 10 (1990); sharp | |
| 64 | +forms in Banaszczyk, Math. Ann. 296 (1993), and Miller-Stephens-Davidowitz, Kissing numbers and | |
| 65 | +transference theorems from generalized tail bounds, SIAM J. Discrete Math. 33 (2019). | |
| 66 | + | |
| 67 | +See also `Lib.Adelic.AutomorphicForms.Cuspidality` and `Lib.Adelic.Reduction.FiniteVolume`. | |
| 68 | +-/ | |
| 69 | + | |
| 70 | +@[expose] public section | |
| 71 | + | |
| 72 | +noncomputable section | |
| 73 | + | |
| 74 | +/-! | |
| 75 | +## Weak transference: Minkowski's bound and the covering radius | |
| 76 | + | |
| 77 | +Geometry of numbers in a Euclidean space `E` of dimension `m`, for a subgroup `Λ` whose dual has no | |
| 78 | +nonzero vectors shorter than `ρ > 0`. This hypothesis forces `Λ` to span `E`, but `Λ` need not be | |
| 79 | +discrete. | |
| 80 | +-/ | |
| 81 | + | |
| 82 | +section Transference | |
| 83 | + | |
| 84 | +open Module Submodule MeasureTheory LinearMap.BilinForm Matrix | |
| 85 | + | |
| 86 | +namespace New | |
| 87 | + | |
| 88 | +variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] | |
| 89 | + | |
| 90 | +/-- Minkowski's bound. If the nonzero vectors of a lattice in a Euclidean space of | |
| 91 | +dimension `m ≥ 1` have length at least `ρ > 0`, its covolume is at least `(ρ / √m) ^ m`. -/ | |
| 92 | +lemma minkowski_pow_le_covolume [FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] | |
| 93 | + (Λ : Submodule ℤ E) [DiscreteTopology Λ] [IsZLattice ℝ Λ] | |
| 94 | + {ρ : ℝ} (hρ : 0 < ρ) (hm : 0 < finrank ℝ E) | |
| 95 | + (h_long : ∀ y ∈ Λ, y ≠ 0 → ρ ≤ ‖y‖) : | |
| 96 | + (ρ / √(finrank ℝ E)) ^ finrank ℝ E ≤ ZLattice.covolume Λ := by | |
| 97 | + -- In orthonormal coordinates the open cube of half-side `ρ / √m` contains no nonzero point. | |
| 98 | + let m := finrank ℝ E | |
| 99 | + let o := stdOrthonormalBasis ℝ E | |
| 100 | + let B : Set (Fin m → ℝ) := Metric.ball 0 (ρ / √m) | |
| 101 | + let C : Set E := o.toBasis.equivFun ⁻¹' B | |
| 102 | + have h_symm (x : E) (hx : x ∈ C) : -x ∈ C := by | |
| 103 | + simpa [C, B] using hx | |
| 104 | + have h_conv : Convex ℝ C := (convex_ball 0 _).linear_preimage o.toBasis.equivFun.toLinearMap | |
| 105 | + have h_no_point (x : Λ) (hx : x ≠ 0) : (x : E) ∉ C := by | |
| 106 | + have h_bound : ρ / √m ≤ ‖(o.repr x).ofLp‖ := by | |
| 107 | + grw [h_long x x.property (by simpa using hx), ← o.repr.norm_map, PiLp.norm_eq_of_L2, | |
| 108 | + norm_le_pi_norm] | |
| 109 | + simp [m, field] | |
| 110 | + simpa [C, B, Metric.mem_ball, dist_zero_right] using not_lt.2 h_bound | |
| 111 | + let b := Free.chooseBasis ℤ Λ | |
| 112 | + let D := ZSpan.fundamentalDomain (b.ofZLatticeBasis ℝ Λ) | |
| 113 | + have hD : IsAddFundamentalDomain Λ.toAddSubgroup D volume := | |
| 114 | + ZLattice.isAddFundamentalDomain b (volume : Measure E) | |
| 115 | + have : Countable Λ.toAddSubgroup := inferInstanceAs (Countable Λ) | |
| 116 | + -- Compare the volume of the cube to that of the fundamental domain. | |
| 117 | + have h_vol : volume C ≤ volume D * 2 ^ m := not_lt.1 fun h ↦ by | |
| 118 | + obtain ⟨x, hx, hxC⟩ := exists_ne_zero_mem_lattice_of_measure_mul_two_pow_lt_measure | |
| 119 | + (L := Λ.toAddSubgroup) hD h_symm h_conv h | |
| 120 | + exact h_no_point x hx hxC | |
| 121 | + have hC : volume C = ENNReal.ofReal ((ρ / √m) ^ m) * 2 ^ m := by | |
| 122 | + have h_pres := (PiLp.volume_preserving_ofLp (Fin m)).comp o.measurePreserving_repr | |
| 123 | + change volume ((WithLp.ofLp ∘ o.repr) ⁻¹' B) = _ | |
| 124 | + rw [h_pres.measure_preimage (Metric.isOpen_ball.measurableSet.nullMeasurableSet)] | |
| 125 | + change volume (Metric.ball (0 : Fin m → ℝ) (ρ / √m)) = _ | |
| 126 | + simp [Real.volume_pi_ball, m, hρ, hm, mul_pow, mul_comm] | |
| 127 | + have h_covol : ENNReal.ofReal (ZLattice.covolume Λ) = volume D := by | |
| 128 | + rw [ZLattice.covolume_eq_measure_fundamentalDomain Λ volume hD, measureReal_def, | |
| 129 | + ENNReal.ofReal_toReal (ZSpan.fundamentalDomain_isBounded _).measure_lt_top.ne] | |
| 130 | + rw [hC, ← h_covol, ENNReal.mul_le_mul_iff_left (by positivity) (by finiteness)] at h_vol | |
| 131 | + exact (ENNReal.ofReal_le_ofReal_iff (ZLattice.covolume_nonneg Λ)).1 h_vol | |
| 132 | + | |
| 133 | +/-- A subgroup `Λ` of a Euclidean space spans the space if the nonzero vectors of its dual (the `y` | |
| 134 | +with `⟪y, x⟫ ∈ ℤ` for all `x ∈ Λ`) have length at least `ρ > 0`. -/ | |
| 135 | +lemma span_eq_top_of_le_norm_dual (Λ : Submodule ℤ E) [Module.Finite ℝ E] {ρ : ℝ} (hρ : 0 < ρ) | |
| 136 | + (h_dual : ∀ y ∈ dualSubmodule (innerₗ E) Λ, y ≠ 0 → ρ ≤ ‖y‖) : | |
| 137 | + span ℝ (Λ : Set E) = ⊤ := by | |
| 138 | + -- The orthogonal complement lies in the dual, so it is discrete; being connected, it is zero. | |
| 139 | + have h_mem (u : (span ℝ (Λ : Set E))ᗮ) : (u : E) ∈ dualSubmodule (innerₗ E) Λ := | |
| 140 | + fun y hy ↦ by simp [real_inner_comm, u.property y (subset_span hy)] | |
| 141 | + have : DiscreteTopology (span ℝ (Λ : Set E))ᗮ := | |
| 142 | + .of_forall_le_norm hρ fun u hu ↦ h_dual u (h_mem u) (by simpa using hu) | |
| 143 | + exact orthogonal_eq_bot_iff.1 (subsingleton_iff_eq_bot.1 PreconnectedSpace.trivial_of_discrete) | |
| 144 | + | |
| 145 | +/-- Weak transference. Let `Λ` be a subgroup of a Euclidean space of dimension `m ≥ 1`. If the | |
| 146 | +nonzero vectors of its dual (the `y` with `⟪y, x⟫ ∈ ℤ` for all `x ∈ Λ`) have length at least | |
| 147 | +`ρ > 0`, then `Λ` has a nonzero vector of length less than `2 m / ρ`. | |
| 148 | + | |
| 149 | +A consequence of Minkowski's convex body theorem. -/ | |
| 150 | +lemma weak_transference (Λ : Submodule ℤ E) [Module.Finite ℝ E] {ρ : ℝ} (hρ : 0 < ρ) | |
| 151 | + (h_dual : ∀ y ∈ dualSubmodule (innerₗ E) Λ, y ≠ 0 → ρ ≤ ‖y‖) (hm : 0 < finrank ℝ E) : | |
| 152 | + ∃ b ∈ Λ, b ≠ 0 ∧ ‖b‖ < 2 * finrank ℝ E / ρ := by | |
| 153 | + -- Otherwise `Λ` is a lattice, and Minkowski's bounds for `Λ` and its dual contradict each other. | |
| 154 | + by_contra! h_long | |
| 155 | + have h_pos : 0 < 2 * finrank ℝ E / ρ := by positivity | |
| 156 | + have : DiscreteTopology Λ := .of_forall_le_norm h_pos fun u hu ↦ h_long u u.2 (by simpa using hu) | |
| 157 | + have : IsZLattice ℝ Λ := ⟨span_eq_top_of_le_norm_dual Λ hρ h_dual⟩ | |
| 158 | + borelize E | |
| 159 | + -- The covolumes of the lattice and its dual are reciprocal. | |
| 160 | + have h_dual' : ∀ y ∈ ZLattice.dual Λ, y ≠ 0 → ρ ≤ ‖y‖ := by | |
| 161 | + simpa only [ZLattice.dual_def] using h_dual | |
| 162 | + have h_mul : ZLattice.covolume (ZLattice.dual Λ) * ZLattice.covolume Λ = 1 := by | |
| 163 | + rw [ZLattice.covolume_dual, inv_mul_cancel₀ (ZLattice.covolume_ne_zero Λ volume)] | |
| 164 | + have two_pow_le : (ρ / √(finrank ℝ E) * (2 * finrank ℝ E / ρ / √(finrank ℝ E))) ^ finrank ℝ E | |
| 165 | + ≤ 1 := by | |
| 166 | + rw [mul_pow, ← h_mul] | |
| 167 | + exact mul_le_mul (minkowski_pow_le_covolume (ZLattice.dual Λ) hρ hm h_dual') | |
| 168 | + (minkowski_pow_le_covolume Λ h_pos hm h_long) | |
| 169 | + (by positivity) (ZLattice.covolume_nonneg (ZLattice.dual Λ) volume) | |
| 170 | + have h_two : ρ / √(finrank ℝ E) * (2 * finrank ℝ E / ρ / √(finrank ℝ E)) = 2 := by simp [field] | |
| 171 | + rw [h_two] at two_pow_le | |
| 172 | + exact two_pow_le.not_gt (one_lt_pow₀ one_lt_two hm.ne') | |
| 173 | + | |
| 174 | +/-- Covering radius. Let `Λ` be a subgroup of a Euclidean space of dimension `m`. If the nonzero | |
| 175 | +vectors of its dual (the `y` with `⟪y, x⟫ ∈ ℤ` for all `x ∈ Λ`) have length at least `ρ > 0`, then | |
| 176 | +every vector `u` lies within distance `m ^ 2 / ρ` of some vector of `Λ`. | |
| 177 | + | |
| 178 | +Known result: the Lagarias–Lenstra–Schnorr transference theorem for the covering radius of a | |
| 179 | +lattice against its dual's first minimum, here with a weaker constant. -/ | |
| 180 | +lemma weak_transference_covering_radius (Λ : Submodule ℤ E) [Module.Finite ℝ E] {ρ : ℝ} | |
| 181 | + (hρ : 0 < ρ) (h_dual : ∀ y ∈ dualSubmodule (innerₗ E) Λ, y ≠ 0 → ρ ≤ ‖y‖) (u : E) : | |
| 182 | + ∃ x ∈ Λ, ‖u - x‖ ≤ finrank ℝ E ^ 2 / ρ := by | |
| 183 | + -- Induction on the dimension: each step along a short vector `b ∈ Λ` costs at most `‖b‖ / 2`. | |
| 184 | + induction hn : finrank ℝ E generalizing E with | |
| 185 | + | zero => exact ⟨0, zero_mem Λ, by simp [finrank_zero_iff_forall_zero.1 hn u]⟩ | |
| 186 | + | succ n ih => | |
| 187 | + obtain ⟨b, hb, hb_ne, norm_b⟩ := weak_transference Λ hρ h_dual (by lia) | |
| 188 | + -- Project `Λ` and `u` to the hyperplane orthogonal to `b`. The dual of the image `Λ'` lies in | |
| 189 | + -- the dual of `Λ`, so the induction hypothesis applies to it. | |
| 190 | + let Λ' : Submodule ℤ (ℝ ∙ b)ᗮ := | |
| 191 | + Λ.map ((ℝ ∙ b)ᗮ.orthogonalProjectionOnto.toLinearMap.restrictScalars ℤ) | |
| 192 | + have h_dual' (y : (ℝ ∙ b)ᗮ) (hy : y ∈ dualSubmodule (innerₗ _) Λ') (hy_ne : y ≠ 0) : ρ ≤ ‖y‖ := | |
| 193 | + h_dual y (fun z hz ↦ by simpa using hy _ ⟨z, hz, rfl⟩) (by simpa using hy_ne) | |
| 194 | + have : Fact (finrank ℝ E = n + 1) := ⟨hn⟩ | |
| 195 | + obtain ⟨_, ⟨x, hx, rfl⟩, norm_x⟩ := | |
| 196 | + ih Λ' h_dual' ((ℝ ∙ b)ᗮ.orthogonalProjectionOnto u) (finrank_orthogonal_span_singleton hb_ne) | |
| 197 | + -- The projection of `u - x` is `u - x - t • b` for a real `t`; round `t` to an integer. | |
| 198 | + obtain ⟨t, ht⟩ : ∃ t : ℝ, ‖u - x - t • b‖ ≤ n ^ 2 / ρ := | |
| 199 | + ⟨inner ℝ b u / ‖b‖ ^ 2 - inner ℝ b x / ‖b‖ ^ 2, by | |
| 200 | + simpa [starProjection_singleton, sub_sub_sub_comm u, ← sub_smul] using norm_x⟩ | |
| 201 | + refine ⟨x + round t • b, add_mem hx (smul_mem _ _ hb), ?_⟩ | |
| 202 | + calc ‖u - (x + round t • b)‖ | |
| 203 | + _ ≤ ‖u - x - t • b‖ + |t - round t| * ‖b‖ := by | |
| 204 | + grw [← sub_sub, norm_sub_le_norm_sub_add_norm_sub _ (t • b), ← Int.cast_smul_eq_zsmul ℝ, | |
| 205 | + ← sub_smul, norm_smul, Real.norm_eq_abs] | |
| 206 | + _ ≤ n ^ 2 / ρ + 1 / 2 * (2 * (n + 1 : ℕ) / ρ) := by grw [ht, abs_sub_round, norm_b, hn] | |
| 207 | + _ ≤ (n + 1 : ℕ) ^ 2 / ρ := by | |
| 208 | + field_simp | |
| 209 | + push_cast | |
| 210 | + linarith [n.cast_nonneg (α := ℝ)] | |
| 211 | + | |
| 212 | +/-- Short vectors span. If every vector of a finite-dimensional Euclidean space lies within distance | |
| 213 | +`r > 0` of a set `S`, then the vectors of `S` of length at most `3 r` span the space. -/ | |
| 214 | +lemma span_norm_le_eq_top_of_covering [Module.Finite ℝ E] {S : Set E} {r : ℝ} (hr : 0 < r) | |
| 215 | + (h_cover : ∀ u : E, ∃ x ∈ S, ‖u - x‖ ≤ r) : | |
| 216 | + span ℝ {x ∈ S | ‖x‖ ≤ 3 * r} = ⊤ := by | |
| 217 | + -- A vector `x` of `S` within `r` of a vector `u` of length `2 r` has length at most `3 r` and is | |
| 218 | + -- not orthogonal to `u`. So no nonzero vector is orthogonal to all short vectors. | |
| 219 | + rw [← Submodule.orthogonal_eq_bot_iff, Submodule.eq_bot_iff] | |
| 220 | + intro y hy | |
| 221 | + by_contra hy_ne | |
| 222 | + let u : E := (2 * r / ‖y‖) • y | |
| 223 | + have hu_norm : ‖u‖ = 2 * r := by simp [u, norm_smul, abs_of_pos hr, hy_ne] | |
| 224 | + obtain ⟨x, hx_mem, hx_near⟩ := h_cover u | |
| 225 | + have hx_norm : ‖x‖ ≤ 3 * r := by linarith [norm_sub_norm_le x u, norm_sub_rev x u] | |
| 226 | + have hx_span : x ∈ span ℝ {x ∈ S | ‖x‖ ≤ 3 * r} := subset_span ⟨hx_mem, hx_norm⟩ | |
| 227 | + have h_orth : inner ℝ u x = 0 := inner_left_of_mem_orthogonal hx_span (smul_mem _ _ hy) | |
| 228 | + have h_sq : ‖u - x‖ ^ 2 ≤ r ^ 2 := by gcongr | |
| 229 | + rw [norm_sub_sq_real, h_orth, hu_norm] at h_sq | |
| 230 | + nlinarith [sq_nonneg ‖x‖] | |
| 231 | + | |
| 232 | +end New | |
| 233 | + | |
| 234 | +end Transference | |
| 235 | + | |
| 236 | +/-! | |
| 237 | +## Dilations, first minimum, height, moderate and rapid functions | |
| 238 | + | |
| 239 | +* `New.dilationGroup`: pairs `(g, c)` of a unitary matrix `g` and a unit `c` such that `g` scales | |
| 240 | + the columns of a matrix `A` by `c` and satisfies `wᴴ J (g v) = wᴴ J v` for `v`, `w` orthogonal to | |
| 241 | + `A`, that is, acts trivially on the orthogonal complement modulo its radical. | |
| 242 | +-/ | |
| 243 | + | |
| 244 | +section Height | |
| 245 | + | |
| 246 | +open NumberField Matrix | |
| 247 | + | |
| 248 | +namespace New | |
| 249 | + | |
| 250 | +variable {n : Type _} [Fintype n] [DecidableEq n] | |
| 251 | + {R : Type _} [CommRing R] [StarRing R] {m : Type _} (A : Matrix n m R) | |
| 252 | + {E : Type*} [Field E] [CMType E] | |
| 253 | + | |
| 254 | +/-- The dilations along the columns of `A` for the form `J` (implicit, read from the type of the | |
| 255 | +unitary group `U J`): the pairs `(g, c)` in `U J × Rˣ` such that `g` is the scalar `c` on the | |
| 256 | +columns of `A` and `wᴴ J g v = wᴴ J v` whenever `Aᴴ J v = 0` and `Aᴴ J w = 0`. The test objects `v`, | |
| 257 | +`w` are square matrices, standing for families of vectors orthogonal to the columns of `A`. -/ | |
| 258 | +def dilationGroup {J : Matrix n n R} : Subgroup (U J × Rˣ) := | |
| 259 | + Subgroup.ofDiv | |
| 260 | + {g : U J × Rˣ | | |
| 261 | + ((g.1 : GL n R) : Matrix n n R) * A = g.2 • A ∧ | |
| 262 | + ∀ v w : Matrix n n R, Aᴴ * (J * v) = 0 → Aᴴ * (J * w) = 0 → | |
| 263 | + wᴴ * (J * (((g.1 : GL n R) : Matrix n n R) * v)) = wᴴ * (J * v)} | |
| 264 | + ⟨1, by simp⟩ <| by | |
| 265 | + rintro ⟨g, c⟩ ⟨hg_scale, hg_form⟩ ⟨k, d⟩ ⟨hk_scale, hk_form⟩ | |
| 266 | + let M (u : U J) : Matrix n n R := (u : GL n R) | |
| 267 | + have M_mul (u u' : U J) : M (u * u') = M u * M u' := rfl | |
| 268 | + change M g * A = c • A at hg_scale | |
| 269 | + change M k * A = d • A at hk_scale | |
| 270 | + refine ⟨?_, fun v w hv hw ↦ ?_⟩ | |
| 271 | + · -- Multiply by the scalar `d` and use `k * A = d • A`. | |
| 272 | + change M (g * k⁻¹) * A = (c * d⁻¹) • A | |
| 273 | + rw [← smul_left_cancel_iff d, ← Matrix.mul_smul, ← hk_scale, ← Matrix.mul_assoc, ← M_mul, | |
| 274 | + inv_mul_cancel_right, hg_scale, smul_smul, mul_comm c, mul_inv_cancel_left] | |
| 275 | + · -- `k⁻¹ * v` is again orthogonal to `A`, because `k` preserves `J` and scales `A`. | |
| 276 | + have h_cancel : M k * (M k⁻¹ * v) = v := by simp [M, ← mul_assoc] | |
| 277 | + have h_orth : Aᴴ * (J * (M k⁻¹ * v)) = 0 := by | |
| 278 | + -- Replace `Aᴴ * J` by `(k * A)ᴴ * J * k` and cancel. | |
| 279 | + rw [← Matrix.mul_assoc, ← U.gram_invariant k A] | |
| 280 | + simp [M, hk_scale, Matrix.mul_assoc, Units.smul_def, hv] | |
| 281 | + -- So neither `k⁻¹` nor `g` changes the pairing with `w`. | |
| 282 | + change wᴴ * (J * (M (g * k⁻¹) * v)) = wᴴ * (J * v) | |
| 283 | + rw [M_mul, mul_assoc, hg_form _ w h_orth hw, ← hk_form _ w h_orth hw, h_cancel] | |
| 284 | + | |
| 285 | +namespace Space | |
| 286 | + | |
| 287 | +variable {s : n → ℤˣ} (V : Space E n s) | |
| 288 | + | |
| 289 | +/-- The additive map sending y ∈ E^n to the archimedean components of x⁻¹y (`V.vecAtPoint y`), with | |
| 290 | +x the point of V, as a vector in a Euclidean space indexed by the infinite places and `n`. Its norm | |
| 291 | +is the length of y. -/ | |
| 292 | +def archCoords : (n → E) →+ EuclideanSpace ℂ (InfinitePlace E × n) := | |
| 293 | + AddMonoidHom.mk' | |
| 294 | + (fun y : n → E ↦ WithLp.toLp 2 fun p : InfinitePlace E × n ↦ (V.vecAtPoint y p.2).1 p.1) | |
| 295 | + (fun x y ↦ by ext p; simp) | |
| 296 | + | |
| 297 | +/-- The set of vectors `y` of the lattice `V.baseLattice` whose length `‖V.archCoords y‖` is at most | |
| 298 | +`r`. -/ | |
| 299 | +abbrev latticeBall (r : ℝ) : Set (n → E) := {y ∈ V.baseLattice | ‖V.archCoords y‖ ≤ r} | |
| 300 | + | |
| 301 | +/-- The first minimum cut off at 1: `λ = min(1, inf ‖y‖)`, where `y` runs over the nonzero vectors | |
| 302 | +of the lattice `V.baseLattice` and `‖y‖` is the norm of `V.archCoords y`. -/ | |
| 303 | +def firstMinimum : ℝ := | |
| 304 | + sInf (insert 1 ((fun y : n → E ↦ ‖V.archCoords y‖) '' {y ∈ V.baseLattice | y ≠ 0})) | |
| 305 | + | |
| 306 | +/-- The height `ht(g) = 1 / λ`, with `λ` the first minimum cut off at 1 (`New.Space.firstMinimum`) | |
| 307 | +of the moved space `V.move g`. -/ | |
| 308 | +def height (g : G E s) : ℝ := (V.move g).firstMinimum⁻¹ | |
| 309 | + | |
| 310 | +/-- A function `F` on the adelic unitary group has moderate growth: `|F g| ≤ C * ht(g) ^ B` for all | |
| 311 | +`g`, for some real `C` and natural number `B`, where `ht` is the height `V.height`. -/ | |
| 312 | +def IsModerate (F : G E s → ℂ) : Prop := | |
| 313 | + ∃ (C : ℝ) (B : ℕ), ∀ g : G E s, ‖F g‖ ≤ C * V.height g ^ B | |
| 314 | + | |
| 315 | +/-- A function `F` on the adelic unitary group has rapid decay: `|F g| * ht(g) ^ B` is bounded for | |
| 316 | +every natural number `B`, where `ht` is the height `V.height`. -/ | |
| 317 | +def IsRapid (F : G E s → ℂ) : Prop := ∀ B : ℕ, ∃ C : ℝ, ∀ g : G E s, ‖F g‖ * V.height g ^ B ≤ C | |
| 318 | + | |
| 319 | +end Space | |
| 320 | + | |
| 321 | +end New | |
| 322 | + | |
| 323 | +end Height | |
| 324 | + | |
| 325 | +/-! | |
| 326 | +## The first minimum: bounds, positivity, orthogonality of short vectors | |
| 327 | + | |
| 328 | +A space `V` (`New.Space`) with point `x` gives a lattice `New.Space.baseLattice` in `E ^ n` and a | |
| 329 | +length `‖V.archCoords y‖` (`New.Space.archCoords`), from the finite and the infinite part of the | |
| 330 | +coordinates `x⁻¹ y` (`New.Space.vecAtPoint`) respectively. | |
| 331 | + | |
| 332 | +* `New.Space.form_eq_zero_of_norm_mul_lt_one`: lattice vectors with product of lengths below `1` are | |
| 333 | + orthogonal, as the value of the form is an algebraic integer (`New.Space.isIntegral_form`) that | |
| 334 | + is small at every infinite place (`New.Space.norm_form_le_norm_archCoords_mul`). | |
| 335 | +-/ | |
| 336 | + | |
| 337 | +section FirstMinimum | |
| 338 | + | |
| 339 | +open EuclideanSpace Matrix Finset ComplexOrder Norms.L2Operator Prod | |
| 340 | + | |
| 341 | +namespace New.Space | |
| 342 | + | |
| 343 | +variable {E : Type*} [Field E] [CMType E] {n : Type _} [Fintype n] [DecidableEq n] | |
| 344 | +variable {s : n → ℤˣ} {V : Space E n s} | |
| 345 | +variable {m : Type*} [Fintype m] | |
| 346 | + | |
| 347 | +/-- At an infinite place `w`, the standard adelic form `stdForm E s` is the complex hermitian form | |
| 348 | +with the diagonal matrix `signMatrix s` of the signs `s`. Here `z.1 w` is the complex component at | |
| 349 | +`w` of an adele `z : 𝔸 E`. -/ | |
| 350 | +lemma stdForm_dotProduct_fst (a b : n → 𝔸 E) (w : NumberField.InfinitePlace E) : | |
| 351 | + (star a ⬝ᵥ stdForm E s *ᵥ b).1 w = | |
| 352 | + star (fun i : n ↦ (a i).1 w) ⬝ᵥ signMatrix s *ᵥ fun i : n ↦ (b i).1 w := by | |
| 353 | + simp [dotProduct, stdForm, mulVec_diagonal, fst_sum, signMatrix] | |
| 354 | + | |
| 355 | +/-- A rational vector `a` is zero if its adelic coordinates `V.vecAtPoint a = x⁻¹ a` (`x` the point | |
| 356 | +of `V`) vanish at one infinite place `w`; `z.1 w` is the component at `w` of an adele `z`. -/ | |
| 357 | +lemma eq_zero_of_vecAtPoint_fst_eq_zero {a : n → E} {w : NumberField.InfinitePlace E} | |
| 358 | + (h : (fun i : n ↦ (V.vecAtPoint a i).1 w) = 0) : | |
| 359 | + a = 0 := by | |
| 360 | + -- Multiply by the point `V.x`, which takes `V.vecAtPoint a` back to the rational vector `a`. | |
| 361 | + have h_vec : V.x.val *ᵥ V.vecAtPoint a = toAdele ∘ a := by simp [vecAtPoint] | |
| 362 | + ext i | |
| 363 | + have h_place := congrArg (fun v : n → 𝔸 E ↦ (v i).1 w) h_vec | |
| 364 | + simpa [mulVec, dotProduct, fst_sum, fun j ↦ congrFun h j] using h_place.symm | |
| 365 | + | |
| 366 | +/-- Moving the point `x` of `V` to `x g`, for `g` in the adelic unitary group, multiplies the adelic | |
| 367 | +coordinates `x⁻¹ ξ` of a rational vector `ξ` by the matrix of `g⁻¹`. -/ | |
| 368 | +lemma vecAtPoint_move (g : G E s) (ξ : n → E) : | |
| 369 | + (V.move g).vecAtPoint ξ = g⁻¹.adeleMatrix *ᵥ V.vecAtPoint ξ := by | |
| 370 | + change (g⁻¹.adeleMatrix * V.x⁻¹.val) *ᵥ (toAdele ∘ ξ) = g⁻¹.adeleMatrix *ᵥ V.x⁻¹.val *ᵥ | |
| 371 | + (toAdele ∘ ξ) | |
| 372 | + rw [mulVec_mulVec] | |
| 373 | + | |
| 374 | +/-- For a rational isometry `γ` of `V` and `g` in `G`, the coordinates of `γ y` at `γ g` are the | |
| 375 | +coordinates of `y` at `g`. Here `γ` enters `G` as x⁻¹γx, with x the point of `V` | |
| 376 | +(`New.Space.ratEmbed`), and the coordinates at `g` are those in the moved space `V.move g`. -/ | |
| 377 | +lemma move_ratEmbed_mul_vecAtPoint_mulVec (γ : U V.J) (g : G E s) (y : n → E) : | |
| 378 | + (V.move (V.ratEmbed γ * g)).vecAtPoint ((γ : Matrix n n E) *ᵥ y) = | |
| 379 | + (V.move g).vecAtPoint y := | |
| 380 | + calc (V.move (V.ratEmbed γ * g)).vecAtPoint ((γ : Matrix n n E) *ᵥ y) | |
| 381 | + _ = (V.ratEmbed γ * g)⁻¹.adeleMatrix *ᵥ (V.ratEmbed γ).adeleMatrix *ᵥ V.vecAtPoint y := by | |
| 382 | + rw [vecAtPoint_move, ratEmbed_mulVec_vecAtPoint] | |
| 383 | + _ = g⁻¹.adeleMatrix *ᵥ V.vecAtPoint y := by | |
| 384 | + rw [mulVec_mulVec, ← G.adeleMatrix_mul, _root_.mul_inv_rev, inv_mul_cancel_right] | |
| 385 | + _ = (V.move g).vecAtPoint y := (vecAtPoint_move g y).symm | |
| 386 | + | |
| 387 | +/-- For a space `V` = (J, x), a rational isometry `γ` of J (an element of `U V.J`), and `g` in the | |
| 388 | +adelic unitary group `G E s` of the standard form (diag(s) at the infinite places, 1 at the finite | |
| 389 | +places), we have L_{γg} = γ L_g. Here L_g = E^n ∩ x_f g_f Ô^n is the base lattice of the moved space | |
| 390 | +`V.move g`, and `γ` enters `G E s` as x⁻¹γx (`New.Space.ratEmbed`). -/ | |
| 391 | +lemma baseLattice_move_ratEmbed_mul (γ : U V.J) (g : G E s) : | |
| 392 | + ((V.move (V.ratEmbed γ * g)).baseLattice : Set (n → E)) = | |
| 393 | + (fun y : n → E ↦ (γ : Matrix n n E) *ᵥ y) '' (V.move g).baseLattice := by | |
| 394 | + -- Membership of `γ y` on the left and of `y` on the right read the same coordinates. | |
| 395 | + have h_mem_iff (y : n → E) : | |
| 396 | + (γ : Matrix n n E) *ᵥ y ∈ (V.move (V.ratEmbed γ * g)).baseLattice ↔ | |
| 397 | + y ∈ (V.move g).baseLattice := by | |
| 398 | + simp [baseLattice, move_ratEmbed_mul_vecAtPoint_mulVec] | |
| 399 | + ext z | |
| 400 | + refine ⟨fun hz ↦ ⟨((γ⁻¹ : U V.J) : Matrix n n E) *ᵥ z, ?_, by simp [mulVec_mulVec]⟩, ?_⟩ | |
| 401 | + · exact (h_mem_iff _).1 (by simpa [mulVec_mulVec] using hz) | |
| 402 | + · rintro ⟨y, hy, rfl⟩ | |
| 403 | + exact (h_mem_iff y).2 hy | |
| 404 | + | |
| 405 | +/-- For a space `V` = (J, x), a rational isometry `γ` of J (an element of `U V.J`), `g` in the | |
| 406 | +adelic unitary group `G E s` of the standard form (diag(s) at the infinite places, 1 at the finite | |
| 407 | +places), and `y` in E^n, we have ‖γy‖_{γg} = ‖y‖_g. Here ‖y‖_g is the norm of the archimedean | |
| 408 | +coordinates of `y` in the moved space `V.move g`, and `γ` enters `G E s` as x⁻¹γx | |
| 409 | +(`New.Space.ratEmbed`), since x carries the form J to the standard one. -/ | |
| 410 | +lemma norm_archCoords_move_ratEmbed_mul_mulVec (γ : U V.J) (g : G E s) (y : n → E) : | |
| 411 | + ‖(V.move (V.ratEmbed γ * g)).archCoords ((γ : Matrix n n E) *ᵥ y)‖ = | |
| 412 | + ‖(V.move g).archCoords y‖ := by | |
| 413 | + simp [archCoords, move_ratEmbed_mul_vecAtPoint_mulVec] | |
| 414 | + | |
| 415 | +/-- Every rational vector has a nonzero integer multiple in the lattice `V.baseLattice` of the | |
| 416 | +vectors whose adelic coordinates are integral at the finite places. -/ | |
| 417 | +lemma exists_smul_mem_baseLattice (ξ : n → E) : ∃ N : ℕ, N ≠ 0 ∧ N • ξ ∈ V.baseLattice := by | |
| 418 | + simpa [← nsmul_eq_mul, baseLattice] using | |
| 419 | + exists_forall_mul_mem_Ô fun i : n ↦ (V.vecAtPoint ξ i).2 | |
| 420 | + | |
| 421 | +/-! ### The first minimum and comparison of lengths -/ | |
| 422 | + | |
| 423 | +/-- A number `l` is at most the first minimum of `V`, cut off at `1`, iff it is at most `1` and at | |
| 424 | +most the length `‖V.archCoords y‖` of every nonzero vector `y` of the lattice `V.baseLattice`. -/ | |
| 425 | +lemma le_firstMinimum_iff {l : ℝ} : | |
| 426 | + l ≤ V.firstMinimum ↔ | |
| 427 | + l ≤ 1 ∧ ∀ y : n → E, y ∈ V.baseLattice → y ≠ 0 → l ≤ ‖V.archCoords y‖ := by | |
| 428 | + have h_bdd : BddBelow | |
| 429 | + (insert 1 ((fun y : n → E ↦ ‖V.archCoords y‖) '' {y | y ∈ V.baseLattice ∧ y ≠ 0})) := | |
| 430 | + BddBelow.insert 1 ⟨0, Set.forall_mem_image.2 fun _ _ ↦ norm_nonneg _⟩ | |
| 431 | + rw [firstMinimum, le_csInf_iff h_bdd (Set.insert_nonempty _ _)] | |
| 432 | + simp only [Set.forall_mem_insert, Set.forall_mem_image, Set.mem_ofPred_eq, and_imp] | |
| 433 | + | |
| 434 | +/-- For nonzero `y` in `V.baseLattice`, `V.firstMinimum ≤ ‖V.archCoords y‖`. -/ | |
| 435 | +lemma firstMinimum_le {y : n → E} (hy : y ∈ V.baseLattice) (hy_ne : y ≠ 0) : | |
| 436 | + V.firstMinimum ≤ ‖V.archCoords y‖ := | |
| 437 | + (le_firstMinimum_iff.mp le_rfl).2 y hy hy_ne | |
| 438 | + | |
| 439 | +/-- `V.firstMinimum` is at most `1`. -/ | |
| 440 | +@[simp] | |
| 441 | +lemma firstMinimum_le_one : V.firstMinimum ≤ 1 := (le_firstMinimum_iff.mp le_rfl).1 | |
| 442 | + | |
| 443 | +/-- Let the adelic coordinates `V.vecAtPoint ξ` of `ξ` be `N • k` times those of `η` in a second | |
| 444 | +space `W`. If `N * k` is integral at the finite places (`z.2` is the finite part of an adele `z`, | |
| 445 | +`Ô E` the ring of integral finite adeles) and `η` lies in the lattice of `W`, then `ξ` lies in the | |
| 446 | +lattice of `V`. -/ | |
| 447 | +lemma mem_baseLattice_of_vecAtPoint_eq [DecidableEq m] {ξ : n → E} | |
| 448 | + {t : m → ℤˣ} {W : Space E m t} {η : m → E} {k : Matrix n m (𝔸 E)} {N : ℕ} | |
| 449 | + (h_crd : V.vecAtPoint ξ = N • k *ᵥ W.vecAtPoint η) | |
| 450 | + (hk_int : ∀ (i : n) (j : m), N * (k i j).2 ∈ Ô E) (hη : η ∈ W.baseLattice) : | |
| 451 | + ξ ∈ V.baseLattice := by | |
| 452 | + -- A finite coordinate of `ξ` is a sum of products `(N * k i j) * (coordinate of η)` in `Ô E`. | |
| 453 | + intro i | |
| 454 | + have h_coord : (V.vecAtPoint ξ i).2 = ∑ j : m, N * (k i j).2 * (W.vecAtPoint η j).2 := by | |
| 455 | + simp [h_crd, mulVec, dotProduct, mul_sum, mul_assoc, snd_sum] | |
| 456 | + rw [h_coord] | |
| 457 | + exact sum_mem fun j _ ↦ mul_mem (hk_int i j) (hη j) | |
| 458 | + | |
| 459 | +/-- Let the adelic coordinates `V.vecAtPoint ξ` of `ξ` be `N • k` times those of `η` in a second | |
| 460 | +space `W`, with `k` of operator norm at most `c` at each infinite place `w` (`z.1 w` is the | |
| 461 | +component at `w` of an adele `z`). Then the length `‖V.archCoords ξ‖` is at most `N * c` times the | |
| 462 | +length of `η` in `W`. -/ | |
| 463 | +lemma norm_archCoords_le_of_vecAtPoint_eq [DecidableEq m] {ξ : n → E} | |
| 464 | + {t : m → ℤˣ} {W : Space E m t} {η : m → E} {k : Matrix n m (𝔸 E)} {N : ℕ} {c : ℝ} | |
| 465 | + (hk_norm : ∀ w : NumberField.InfinitePlace E, ‖k.map fun a : 𝔸 E ↦ a.1 w‖ ≤ c) | |
| 466 | + (h_crd : V.vecAtPoint ξ = N • k *ᵥ W.vecAtPoint η) : | |
| 467 | + ‖V.archCoords ξ‖ ≤ N * c * ‖W.archCoords η‖ := by | |
| 468 | + have hc : 0 ≤ c := (norm_nonneg _).trans (hk_norm Classical.ofNonempty) | |
| 469 | + -- At each infinite place, `‖k v‖ ≤ ‖k‖ * ‖v‖` for the operator norm. | |
| 470 | + have h_place (w : NumberField.InfinitePlace E) : | |
| 471 | + ∑ i, ‖(V.vecAtPoint ξ i).1 w‖ ^ 2 ≤ N ^ 2 * c ^ 2 * ∑ j, ‖(W.vecAtPoint η j).1 w‖ ^ 2 := by | |
| 472 | + let A : Matrix n m ℂ := k.map fun a : 𝔸 E ↦ a.1 w | |
| 473 | + let v : EuclideanSpace ℂ m := .toLp 2 fun j ↦ (W.vecAtPoint η j).1 w | |
| 474 | + calc ∑ i, ‖(V.vecAtPoint ξ i).1 w‖ ^ 2 | |
| 475 | + _ = N ^ 2 * ‖(WithLp.toLp 2 (A *ᵥ v.ofLp) : EuclideanSpace ℂ n)‖ ^ 2 := by | |
| 476 | + simp [A, v, h_crd, mulVec, norm_sq_eq, ← mul_sum, mul_pow, dotProduct, fst_sum] | |
| 477 | + _ ≤ N ^ 2 * (c * ‖v‖) ^ 2 := by | |
| 478 | + grw [← hk_norm w] | |
| 479 | + gcongr | |
| 480 | + exact l2_opNorm_mulVec A v | |
| 481 | + _ = N ^ 2 * c ^ 2 * ∑ j, ‖(W.vecAtPoint η j).1 w‖ ^ 2 := by | |
| 482 | + rw [mul_pow, norm_sq_eq, mul_assoc] | |
| 483 | + -- Square both sides and sum over the places. | |
| 484 | + refine le_of_sq_le_sq ?_ (by positivity) | |
| 485 | + simpa [mul_pow, norm_sq_eq, Fintype.sum_prod_type, ← mul_sum, archCoords] using | |
| 486 | + sum_le_sum fun w (_ : w ∈ univ) ↦ h_place w | |
| 487 | + | |
| 488 | +/-- If the coordinates of `ξ` in `V` are `N • k` times those of `η` in `W`, with `k` of operator | |
| 489 | +norm at most `c` at each infinite place, then `ξ` is a lattice vector if `η` is one and `N * k` is | |
| 490 | +integral at the finite places, and the length of `ξ` is at most `N * c` times that of `η`. -/ | |
| 491 | +lemma mem_and_norm_le_of_vecAtPoint [DecidableEq m] (ξ : n → E) | |
| 492 | + {t : m → ℤˣ} (W : Space E m t) (η : m → E) (k : Matrix n m (𝔸 E)) (N : ℕ) {c : ℝ} | |
| 493 | + (hk_norm : ∀ w : NumberField.InfinitePlace E, ‖k.map fun a : 𝔸 E ↦ a.1 w‖ ≤ c) | |
| 494 | + (h_crd : V.vecAtPoint ξ = N • k *ᵥ W.vecAtPoint η) : | |
| 495 | + ((∀ (i : n) (j : m), N * (k i j).2 ∈ Ô E) → η ∈ W.baseLattice → ξ ∈ V.baseLattice) ∧ | |
| 496 | + ‖V.archCoords ξ‖ ≤ N * c * ‖W.archCoords η‖ := | |
| 497 | + ⟨mem_baseLattice_of_vecAtPoint_eq h_crd, norm_archCoords_le_of_vecAtPoint_eq hk_norm h_crd⟩ | |
| 498 | + | |
| 499 | +/-- Let Ω be a compact subset of G_f, the finite part of the adelic unitary group. There is a | |
| 500 | +natural number c ≠ 0 with the following property. For γ in the rational unitary group, g and g' in G | |
| 501 | +and a real R, suppose that g⁻¹γg' (γ embedded by `V.ratEmbed`) has finite part in Ω and operator | |
| 502 | +norm at most R at every infinite place. If y lies in the lattice of `V.move g'`, then cγy lies in | |
| 503 | +the lattice of `V.move g` and its length there is at most cR times the length of y in | |
| 504 | +`V.move g'`. -/ | |
| 505 | +lemma exists_smul_mulVec_mem_latticeBall {Ω : Set (Gf E n)} (hΩ : IsCompact Ω) : | |
| 506 | + ∃ c ≠ (0 : ℕ), ∀ {γ : U V.J} {g g' : G E s} {R : ℝ}, | |
| 507 | + (g⁻¹ * V.ratEmbed γ * g').2 ∈ Ω → | |
| 508 | + (∀ w : NumberField.InfinitePlace E, | |
| 509 | + ‖(((g⁻¹ * V.ratEmbed γ * g').1 w).val.val : Matrix n n ℂ)‖ ≤ R) → | |
| 510 | + ∀ y : n → E, y ∈ (V.move g').baseLattice → | |
| 511 | + (c : E) • γ *ᵥ y ∈ (V.move g).latticeBall (c * R * ‖(V.move g').archCoords y‖) := by | |
| 512 | + -- One integer `c` clears the denominators of all matrices in `Ω`. | |
| 513 | + obtain ⟨c, hc, h_integral⟩ := exists_natCast_smul_mem_of_isCompact E | |
| 514 | + (hΩ.image_of_continuous fun k : Gf E n ↦ (k.val.val : Matrix n n (𝔸f E))) | |
| 515 | + (isOpen_Ô.matrix.mem_nhds (Ô E).matrix.zero_mem) | |
| 516 | + refine ⟨c, hc, fun {γ g g' R} h_mem h_norm y hy ↦ ?_⟩ | |
| 517 | + -- The matrix of `g⁻¹ γ g'` takes the coordinates of `y` at `g'` to those of `γ y` at `g`. | |
| 518 | + let k := (g⁻¹ * V.ratEmbed γ * g').adeleMatrix | |
| 519 | + have h_crd : (V.move g).vecAtPoint ((c : E) • γ *ᵥ y) = | |
| 520 | + c • k *ᵥ (V.move g').vecAtPoint y := by | |
| 521 | + simp [k, vecAtPoint_move, ← ratEmbed_mulVec_vecAtPoint, ← G.adeleMatrix_mul, funext_iff] | |
| 522 | + have h_entries : ∀ i j : n, (c : 𝔸f E) * (k i j).2 ∈ Ô E := | |
| 523 | + h_integral _ ⟨_, h_mem, rfl⟩ | |
| 524 | + obtain ⟨h_lattice, h_length⟩ := mem_and_norm_le_of_vecAtPoint _ _ _ k c h_norm h_crd | |
| 525 | + exact ⟨h_lattice h_entries hy, h_length⟩ | |
| 526 | + | |
| 527 | +variable (V) in | |
| 528 | +/-- The hermitian form `V.J` takes algebraic integer values on pairs of vectors of the lattice | |
| 529 | +`V.baseLattice`. -/ | |
| 530 | +lemma isIntegral_form {a b : n → E} (ha : a ∈ V.baseLattice) (hb : b ∈ V.baseLattice) : | |
| 531 | + IsIntegral ℤ (star a ⬝ᵥ V.J *ᵥ b) := by | |
| 532 | + -- The finite adelic image of the value is a sum of products of integral coordinates. | |
| 533 | + have h_fin : (toAdele (star a ⬝ᵥ V.J *ᵥ b)).2 = | |
| 534 | + ∑ i : n, star (V.vecAtPoint a i).2 * (V.vecAtPoint b i).2 := by | |
| 535 | + rw [← stdForm_vecAtPoint] | |
| 536 | + simp [dotProduct, stdForm, mulVec_diagonal, snd_sum] | |
| 537 | + rw [← algebraMap_mem_Ô, ← toAdele_apply_snd, h_fin] | |
| 538 | + exact sum_mem fun i _ ↦ mul_mem (star_mem_Ô (ha i)) (hb i) | |
| 539 | + | |
| 540 | +variable (V) in | |
| 541 | +/-- The coordinates of the rational vector `a` in the basis `V.x` at the infinite place `w`, as a | |
| 542 | +vector in the Euclidean space `ℂ^n`. -/ | |
| 543 | +def coordsAt (w : NumberField.InfinitePlace E) (a : n → E) : EuclideanSpace ℂ n := | |
| 544 | + .toLp 2 fun i : n ↦ (V.vecAtPoint a i).1 w | |
| 545 | + | |
| 546 | +variable (V) in | |
| 547 | +/-- The length of `a` at one infinite place, in the coordinates of `V`, is at most its length | |
| 548 | +`‖V.archCoords a‖` over all infinite places. -/ | |
| 549 | +lemma norm_coordsAt_le (w : NumberField.InfinitePlace E) (a : n → E) : | |
| 550 | + ‖V.coordsAt w a‖ ≤ ‖V.archCoords a‖ := by | |
| 551 | + rw [norm_eq, norm_eq, Fintype.sum_prod_type] | |
| 552 | + -- The summand at `w` is at most the sum over all infinite places. | |
| 553 | + exact Real.sqrt_le_sqrt <| single_le_sum (f := fun v ↦ ∑ i : n, ‖V.archCoords a (v, i)‖ ^ 2) | |
| 554 | + (fun v _ ↦ by positivity) (mem_univ w) | |
| 555 | + | |
| 556 | +variable (V) in | |
| 557 | +/-- The Cauchy–Schwarz inequality for the form at one infinite place `w`: in the embedding `Φ w`, | |
| 558 | +the value of the hermitian form `V.J` on `a` and `b` has absolute value at most the product of the | |
| 559 | +lengths of `a` and `b` at `w`. -/ | |
| 560 | +lemma norm_form_le (w : NumberField.InfinitePlace E) (a b : n → E) : | |
| 561 | + ‖Φ w (star a ⬝ᵥ V.J *ᵥ b)‖ ≤ ‖V.coordsAt w a‖ * ‖V.coordsAt w b‖ := by | |
| 562 | + -- At `w` the value is `∑ ± star (a i) * b i` in coordinates. | |
| 563 | + have h_place : Φ w (star a ⬝ᵥ V.J *ᵥ b) = | |
| 564 | + ∑ i : n, star (V.coordsAt w a i) * (((s i : ℤ) : ℂ) * V.coordsAt w b i) := by | |
| 565 | + rw [← toAdele_apply_fst, ← stdForm_vecAtPoint] | |
| 566 | + simp [dotProduct, stdForm, mulVec_diagonal, fst_sum, coordsAt] | |
| 567 | + calc ‖Φ w (star a ⬝ᵥ V.J *ᵥ b)‖ | |
| 568 | + _ ≤ ∑ i : n, ‖V.coordsAt w a i‖ * ‖V.coordsAt w b i‖ := by | |
| 569 | + rw [h_place] | |
| 570 | + exact norm_sum_le_of_le _ fun i _ ↦ by simp [abs_unit_intCast] | |
| 571 | + _ ≤ ‖V.coordsAt w a‖ * ‖V.coordsAt w b‖ := by | |
| 572 | + rw [norm_eq, norm_eq] | |
| 573 | + exact Real.sum_mul_le_sqrt_mul_sqrt _ _ _ | |
| 574 | + | |
| 575 | +variable (V) in | |
| 576 | +/-- At each infinite place `w`, the value of the hermitian form `V.J` on `a` and `b`, embedded by | |
| 577 | +`Φ w`, has absolute value at most the product of the lengths of `a` and `b` over all infinite | |
| 578 | +places. -/ | |
| 579 | +lemma norm_form_le_norm_archCoords_mul (w : NumberField.InfinitePlace E) (a b : n → E) : | |
| 580 | + ‖Φ w (star a ⬝ᵥ V.J *ᵥ b)‖ ≤ ‖V.archCoords a‖ * ‖V.archCoords b‖ := by | |
| 581 | + grw [V.norm_form_le w a b, V.norm_coordsAt_le w a, V.norm_coordsAt_le w b] | |
| 582 | + | |
| 583 | +/-- Two vectors of the lattice of `V` whose lengths have product less than `1` are orthogonal for | |
| 584 | +the hermitian form `V.J`. -/ | |
| 585 | +lemma form_eq_zero_of_norm_mul_lt_one {a b : n → E} (ha : a ∈ V.baseLattice) | |
| 586 | + (hb : b ∈ V.baseLattice) (h_short : ‖V.archCoords a‖ * ‖V.archCoords b‖ < 1) : | |
| 587 | + star a ⬝ᵥ V.J *ᵥ b = 0 := by | |
| 588 | + -- The value of the form is an algebraic integer whose conjugates have norm less than `1`. | |
| 589 | + exact eq_zero_of_forall_norm_lt_one (V.isIntegral_form ha hb) fun w ↦ | |
| 590 | + (V.norm_form_le_norm_archCoords_mul w a b).trans_lt h_short | |
| 591 | + | |
| 592 | +/-- A definite space has no nonzero isotropic vector. Let `V` be a hermitian space with a point over | |
| 593 | +the CM field `E`: a matrix `J = V.J` over `E` and an invertible adelic matrix `x` with `xᴴJx` equal | |
| 594 | +to `diag(s)` at the infinite places and `1` at the finite places, for signs `s i = ±1` indexed by | |
| 595 | +the finite type `n`. If all signs are equal and `ξ ∈ E^n` has `ξᴴJξ = 0`, then `ξ = 0`. -/ | |
| 596 | +lemma eq_zero_of_isotropic_of_definite {s : n → ℤˣ} {V : Space E n s} | |
| 597 | + (h_definite : ∀ i j : n, s i = s j) (ξ : n → E) (h_iso : star ξ ⬝ᵥ V.J *ᵥ ξ = 0) : | |
| 598 | + ξ = 0 := by | |
| 599 | + -- Let `v` be the coordinates `x⁻¹ξ` at an infinite place `w`. There the value of the form is | |
| 600 | + -- `vᴴ diag(s) v`, which is `± vᴴ v` as all signs are equal. | |
| 601 | + ext i | |
| 602 | + let w : NumberField.InfinitePlace E := Classical.ofNonempty | |
| 603 | + let v : n → ℂ := fun j : n ↦ (V.vecAtPoint ξ j).1 w | |
| 604 | + have h_form : star v ⬝ᵥ signMatrix s *ᵥ v = 0 := by | |
| 605 | + rw [← stdForm_dotProduct_fst, V.stdForm_vecAtPoint, h_iso] | |
| 606 | + simp | |
| 607 | + have h_sign : signMatrix s *ᵥ v = ((s i : ℤ) : ℂ) • v := by | |
| 608 | + ext j | |
| 609 | + simp [signMatrix, mulVec_diagonal, h_definite j i] | |
| 610 | + have h_norm : star v ⬝ᵥ v = 0 := by | |
| 611 | + rw [h_sign, dotProduct_smul] at h_form | |
| 612 | + simpa using h_form | |
| 613 | + have h_vec : v = 0 := dotProduct_star_self_eq_zero.1 h_norm | |
| 614 | + exact congrFun (eq_zero_of_vecAtPoint_fst_eq_zero h_vec) i | |
| 615 | + | |
| 616 | +/-! ### Lower bounds for the first minimum -/ | |
| 617 | + | |
| 618 | +/-- If all signs are equal, so that `V` is definite, then its first minimum is at least `1`: every | |
| 619 | +nonzero lattice vector has length at least `1`. -/ | |
| 620 | +lemma one_le_firstMinimum (h_definite : ∀ i j : n, s i = s j) : 1 ≤ V.firstMinimum := by | |
| 621 | + -- A lattice vector of length less than `1` is isotropic, hence zero. | |
| 622 | + refine le_firstMinimum_iff.2 ⟨le_rfl, fun y hy hy_ne ↦ le_of_not_gt fun h_short ↦ ?_⟩ | |
| 623 | + have h_iso : star y ⬝ᵥ V.J *ᵥ y = 0 := form_eq_zero_of_norm_mul_lt_one hy hy | |
| 624 | + ((mul_le_of_le_one_right (norm_nonneg _) h_short.le).trans_lt h_short) | |
| 625 | + exact hy_ne (eq_zero_of_isotropic_of_definite h_definite y h_iso) | |
| 626 | + | |
| 627 | +/-- Let `V` be a hermitian space with a point over the CM field `E`: a matrix `J` and an adelic `x` | |
| 628 | +with `xᴴJx = diag(s)` at the infinite places and `1` at the finite places. If all signs `s i` are | |
| 629 | +equal, so that `V` is definite, then for every `g` in the adelic unitary group `G E s` the moved | |
| 630 | +space `V.move g`, with point `xg`, has `firstMinimum` equal to `1`. Here `firstMinimum` is | |
| 631 | +`min(1, inf ‖y‖)`, with `y` running over the nonzero vectors of `baseLattice` and `‖y‖` the norm of | |
| 632 | +`archCoords y`. -/ | |
| 633 | +lemma firstMinimum_move_eq_one (h_definite : ∀ i j : n, s i = s j) (g : G E s) : | |
| 634 | + (V.move g).firstMinimum = 1 := | |
| 635 | + le_antisymm firstMinimum_le_one (one_le_firstMinimum h_definite) | |
| 636 | + | |
| 637 | +variable (V) in | |
| 638 | +/-- The height of every adelic point of a definite hermitian space is one. -/ | |
| 639 | +lemma height_eq_one_of_definite (h_definite : ∀ i j : n, s i = s j) (g : G E s) : | |
| 640 | + V.height g = 1 := by | |
| 641 | + rw [height, firstMinimum_move_eq_one h_definite, inv_one] | |
| 642 | + | |
| 643 | +variable (V) in | |
| 644 | +/-- The lattice of `V` is discrete: only finitely many of its vectors have length at most `r`. -/ | |
| 645 | +lemma finite_latticeBall (r : ℝ) : (V.latticeBall r).Finite := by | |
| 646 | + -- The coordinates of these vectors lie in a compact box, and `E ^ n` is discrete in `𝔸 ^ n`. | |
| 647 | + let box : Set (n → 𝔸 E) := Set.univ.pi fun _ ↦ Metric.closedBall 0 r ×ˢ Ô E | |
| 648 | + have h_box : IsCompact box := | |
| 649 | + isCompact_univ_pi fun _ ↦ (isCompact_closedBall 0 r).prod isCompact_Ô | |
| 650 | + have h_finite : (V.vecAtPoint ⁻¹' box).Finite := | |
| 651 | + isCovolOneLattice_ratVectors.finite_preimage (h_box.preimage_smul V.x⁻¹) | |
| 652 | + refine h_finite.subset fun y ⟨h_mem, h_le⟩ i _ ↦ ⟨?_, h_mem i⟩ | |
| 653 | + rw [mem_closedBall_zero_iff, pi_norm_le_iff_of_nonempty] | |
| 654 | + exact fun w ↦ (PiLp.norm_apply_le (V.archCoords y) (w, i)).trans h_le | |
| 655 | + | |
| 656 | +/-- A nonzero rational vector has positive length. -/ | |
| 657 | +lemma norm_archCoords_pos {y : n → E} (hy_ne : y ≠ 0) : 0 < ‖V.archCoords y‖ := by | |
| 658 | + refine norm_pos_iff.2 fun h_zero ↦ hy_ne ?_ | |
| 659 | + exact eq_zero_of_vecAtPoint_fst_eq_zero (w := Classical.ofNonempty) | |
| 660 | + (funext fun i ↦ show V.archCoords y (Classical.ofNonempty, i) = 0 by simp [h_zero]) | |
| 661 | + | |
| 662 | +/-- The first minimum of `V`, cut off at `1`, is positive. -/ | |
| 663 | +lemma firstMinimum_pos : 0 < V.firstMinimum := by | |
| 664 | + -- By discreteness only finitely many lengths are at most `1`. Let `l` be the least of `1` and | |
| 665 | + -- the nonzero ones among them. | |
| 666 | + let S : Set ℝ := insert 1 ((fun y : n → E ↦ ‖V.archCoords y‖) '' {y ∈ V.latticeBall 1 | y ≠ 0}) | |
| 667 | + have hS : S.Finite := (((V.finite_latticeBall 1).sep _).image _).insert 1 | |
| 668 | + obtain ⟨l, hl_mem, hl_least⟩ := Set.exists_min_image S id hS (Set.insert_nonempty _ _) | |
| 669 | + have hl_pos : 0 < l := by | |
| 670 | + obtain rfl | ⟨y, ⟨-, hy_ne⟩, rfl⟩ := hl_mem | |
| 671 | + exacts [one_pos, norm_archCoords_pos hy_ne] | |
| 672 | + have hl_one : l ≤ 1 := hl_least 1 (Set.mem_insert _ _) | |
| 673 | + refine hl_pos.trans_le (le_firstMinimum_iff.2 ⟨hl_one, fun y hy hy_ne ↦ ?_⟩) | |
| 674 | + obtain h_short | h_long := le_total ‖V.archCoords y‖ 1 | |
| 675 | + · exact hl_least _ (Set.mem_insert_of_mem _ ⟨y, ⟨⟨hy, h_short⟩, hy_ne⟩, rfl⟩) | |
| 676 | + · exact hl_one.trans h_long | |
| 677 | + | |
| 678 | +end New.Space | |
| 679 | + | |
| 680 | +end FirstMinimum | |
| 681 | + | |
| 682 | +/-! | |
| 683 | +## Short bases of lattices by transference | |
| 684 | + | |
| 685 | +The lattice `L` of a hermitian space `V` contains a basis of `E ^ n` whose lengths are bounded by a | |
| 686 | +constant over the first minimum. For a nonzero `d` in the different, the dual of `2 d⁻¹ L` has no | |
| 687 | +nonzero vector shorter than the first minimum, as `L` is unimodular. So transference applies to | |
| 688 | +`2 d⁻¹ L`. | |
| 689 | +-/ | |
| 690 | + | |
| 691 | +section ShortBasis | |
| 692 | + | |
| 693 | +open NumberField Matrix Submodule Fintype Finset RealInnerProductSpace Prod | |
| 694 | + | |
| 695 | +namespace New.Space | |
| 696 | + | |
| 697 | +variable {E n : Type*} [Field E] [CMType E] | |
| 698 | +variable [Fintype n] [DecidableEq n] {s : n → ℤˣ} (V : Space E n s) | |
| 699 | +variable {N : ℕ} [NeZero N] | |
| 700 | + | |
| 701 | +/-- Let `V` be a hermitian space over the CM field `E`, given by a matrix `V.J` over `E` and a point | |
| 702 | +`x`, and let `V.baseLattice = E^n ∩ x_f Ô^n` be the `y` with `x⁻¹ y` integral at the finite places. | |
| 703 | +Let `d` be in the different of `E` and `a ∈ E ^ n`. If the trace from `E` to `ℚ` of `ξᴴ V.J a` is an | |
| 704 | +integer for every `ξ` in `V.baseLattice`, then `d • a` lies in `V.baseLattice`. -/ | |
| 705 | +lemma smul_mem_baseLattice_of_trace_int {d : 𝓞 E} (h_diff : d ∈ differentIdeal ℤ (𝓞 E)) | |
| 706 | + {a : n → E} (h_trace : ∀ ξ : n → E, ξ ∈ V.baseLattice → | |
| 707 | + ∃ k : ℤ, (Algebra.trace ℚ E (star ξ ⬝ᵥ V.J *ᵥ a) : ℝ) = k) : | |
| 708 | + d.val • a ∈ V.baseLattice := by | |
| 709 | + -- The character `ψf` kills the pairing of `a` with every integral finite adelic vector `y`: the | |
| 710 | + -- condition is closed, so the dense rational vectors suffice. | |
| 711 | + have h_char : ∀ y : n → 𝔸f E, (∀ i ∈ Set.univ, y i ∈ (Ô E : Set (𝔸f E))) → | |
| 712 | + ψf E (star y ⬝ᵥ snd ∘ V.vecAtPoint a) = 1 := | |
| 713 | + isClosed_property (by | |
| 714 | + have h_eq : (fun (ξ : n → E) (i : n) ↦ (V.vecAtPoint ξ i).2) = | |
| 715 | + (fun y : n → 𝔸f E ↦ V.xFin⁻¹ • y) ∘ Pi.map fun _ : n ↦ algebraMap E (𝔸f E) := by | |
| 716 | + funext ξ i | |
| 717 | + simp [-coe_units_inv, xFin, ← map_inv, mulVec, vecAtPoint, dotProduct, snd_sum, | |
| 718 | + Units.smul_def] | |
| 719 | + exact h_eq ▸ (MulAction.surjective V.xFin⁻¹).denseRange.comp | |
| 720 | + (.piMap fun _ ↦ denseRange_algebraMap_finAdele) (by fun_prop)) | |
| 721 | + (isClosed_imp (isOpen_set_pi Set.finite_univ fun _ _ ↦ isOpen_Ô) | |
| 722 | + (isClosed_eq (by fun_prop) continuous_one)) fun ξ hξ ↦ by | |
| 723 | + have h_pair : (star fun j : n ↦ (V.vecAtPoint ξ j).2) ⬝ᵥ snd ∘ V.vecAtPoint a = | |
| 724 | + algebraMap E (𝔸f E) (star ξ ⬝ᵥ V.J *ᵥ a) := by | |
| 725 | + rw [← toAdele_apply_snd, ← stdForm_vecAtPoint] | |
| 726 | + simp [dotProduct, stdForm, mulVec_diagonal, snd_sum] | |
| 727 | + simpa [h_pair, ψf_coe, fourierChar_eq_one_iff] using h_trace ξ fun j ↦ hξ j trivial | |
| 728 | + -- So the finite part of each coordinate of `V.vecAtPoint a` lies in the inverse different. | |
| 729 | + intro i | |
| 730 | + refine (by simpa [↓map_smulₛₗ] using forall_ψf_mul_eq_one_iff.1 · d h_diff) fun u hu ↦ by | |
| 731 | + simpa using h_char (Pi.single i (star u)) (by simp [star_mem_Ô, hu, Pi.single_apply, apply_ite]) | |
| 732 | + | |
| 733 | +/-- For `d` in `E` and a vector `x` of the archimedean coordinate space, the real inner product of | |
| 734 | +`x` with the coordinates of `(2 / d) ξ`, written with the components `(V.vecAtPoint ξ i).1 w` at the | |
| 735 | +infinite places `w` and the embeddings `Φ w` of `E`: the factor `1 / d` moves onto `x` as division | |
| 736 | +by the conjugate of `Φ w d`. -/ | |
| 737 | +lemma inner_archCoords_two_div_smul (d : E) (x : EuclideanSpace ℂ (InfinitePlace E × n)) | |
| 738 | + (ξ : n → E) : ⟪x, V.archCoords ((2 / d) • ξ)⟫ = ∑ w : InfinitePlace E, | |
| 739 | + 2 * (∑ i : n, star ((V.vecAtPoint ξ i).1 w) * (x ⟨w, i⟩ / star (Φ w d))).re := by | |
| 740 | + have h_term (z v e : ℂ) : ⟪z, 2 / e * v⟫ = 2 * (star v * (z / star e)).re := by | |
| 741 | + simp [inner, div_eq_mul_inv] | |
| 742 | + ring | |
| 743 | + have h_smul : V.archCoords ((2 / d) • ξ) = | |
| 744 | + WithLp.toLp 2 fun p : InfinitePlace E × n ↦ 2 / Φ p.1 d * (V.vecAtPoint ξ p.2).1 p.1 := by | |
| 745 | + simp [archCoords, map_ofNat] | |
| 746 | + simp only [h_smul, PiLp.inner_apply, sum_prod_type, h_term, mul_sum, Complex.re_sum] | |
| 747 | + | |
| 748 | +/-- Let `V` be a hermitian space with a point, `d` a nonzero element of the different of `E`, and | |
| 749 | +`x` a nonzero vector of the Euclidean space indexed by the infinite places and `n`. Suppose the | |
| 750 | +real inner product of `x` with `V.archCoords ((2 / d) ξ)` is an integer for every `ξ` in | |
| 751 | +`V.baseLattice = E^n ∩ x_f Ô^n`. Here `V.archCoords` sends a vector to the archimedean components of | |
| 752 | +its image under the inverse of the point. Then `‖x‖ ≥ V.firstMinimum`, which is | |
| 753 | +`min(1, least length of a nonzero lattice vector)`. -/ | |
| 754 | +lemma firstMinimum_le_norm_of_inner_int {d : 𝓞 E} (hd : d ≠ 0) | |
| 755 | + (h_diff : d ∈ differentIdeal ℤ (𝓞 E)) {x : EuclideanSpace ℂ (InfinitePlace E × n)} | |
| 756 | + (hx_ne : x ≠ 0) | |
| 757 | + (h_int : ∀ ξ : n → E, ξ ∈ V.baseLattice → | |
| 758 | + ∃ k : ℤ, ⟪x, V.archCoords ((2 / d.val) • ξ)⟫ = k) : | |
| 759 | + V.firstMinimum ≤ ‖x‖ := by | |
| 760 | + -- With `t = (x_V⁻¹)ᴴ (x / star d)` at the infinite places (x_V the point of `V`), pairing with | |
| 761 | + -- `x` becomes a dot product with `t`. It will turn out that `t = J a` at the infinite places, | |
| 762 | + -- with `d • a` in the lattice and as long as `x`. | |
| 763 | + let t : n → 𝔸 E := V.x⁻¹.valᴴ *ᵥ fun i : n ↦ | |
| 764 | + (fun w : InfinitePlace E ↦ x ⟨w, i⟩ / star (Φ w d), 0) | |
| 765 | + have h_pair (ξ : n → E) : | |
| 766 | + ⟪x, V.archCoords ((2 / d.val) • ξ)⟫ = | |
| 767 | + ∑ w : InfinitePlace E, 2 * ((star (toAdele ∘ ξ) ⬝ᵥ t).1 w).re := by | |
| 768 | + rw [inner_archCoords_two_div_smul] | |
| 769 | + simp [t, ↓← star_mulVec_dotProduct, vecAtPoint, dotProduct, fst_sum] | |
| 770 | + -- Every rational vector has a multiple in the lattice, so the coordinates of `t` pair rationally | |
| 771 | + -- with `E`. Hence they come from `E`: `t` is `V.J *ᵥ a` at the infinite places. | |
| 772 | + have h_rat (i : n) (b : E) : ∃ q : ℚ, ∑ w : InfinitePlace E, 2 * (Φ w b * (t i).1 w).re = q := by | |
| 773 | + obtain ⟨M, hM, h_mem⟩ := V.exists_smul_mem_baseLattice (Pi.single i (star b)) | |
| 774 | + obtain ⟨k, hk⟩ := h_int _ h_mem | |
| 775 | + have h_eq : (M : ℝ) * ∑ w : InfinitePlace E, 2 * (Φ w b * (t i).1 w).re = k := by | |
| 776 | + rw [smul_comm, map_nsmul, inner_smul_right_eq_smul, h_pair, nsmul_eq_mul] at hk | |
| 777 | + simpa [dotProduct, Pi.single_apply, apply_ite] using hk | |
| 778 | + exact ⟨k / M, by simp [← h_eq, hM]⟩ | |
| 779 | + choose c hc using fun i : n ↦ exists_eq_Φ_of_forall_sum_re_rat (h_rat i) | |
| 780 | + obtain ⟨a, rfl⟩ : ∃ a : n → E, V.J *ᵥ a = c := mulVec_surjective_iff_isUnit.2 V.isUnit_J c | |
| 781 | + -- Apply `(x_V)ᴴ` to `t = J a` at `w`: by `map_J` the sides agree up to the factor `d` and the | |
| 782 | + -- signs `s`. | |
| 783 | + have h_abs (w : InfinitePlace E) (i : n) : | |
| 784 | + ‖x ⟨w, i⟩‖ = ‖Φ w d.val * (V.vecAtPoint a i).1 w‖ := by | |
| 785 | + have h_left : ((V.x.valᴴ *ᵥ t) i).1 w = x ⟨w, i⟩ / star (Φ w d) := by | |
| 786 | + simp [t, ← conjTranspose_mul] | |
| 787 | + have h_right : ((V.x.valᴴ *ᵥ t) i).1 w = (s i : ℤ) * (V.vecAtPoint a i).1 w := by | |
| 788 | + trans ((V.x.valᴴ *ᵥ V.J.map toAdele *ᵥ toAdele ∘ a) i).1 w | |
| 789 | + · simp [mulVec, hc, dotProduct, fst_sum] | |
| 790 | + · simp [map_J, ← mul_assoc, ← conjTranspose_mul, ← (diagonal _).mulVec_mulVec, vecAtPoint, | |
| 791 | + stdForm, mulVec_diagonal] | |
| 792 | + rw [h_left, div_eq_iff (by simp [hd])] at h_right | |
| 793 | + simp [h_right, abs_unit_intCast, mul_comm] | |
| 794 | + have h_norm : ‖x‖ = ‖V.archCoords (d.val • a)‖ := by | |
| 795 | + simp [PiLp.norm_eq_of_L2, archCoords, h_abs, -algebraMap_smul] | |
| 796 | + rw [h_norm] | |
| 797 | + refine V.firstMinimum_le (fun i ↦ ?_) fun h0 ↦ hx_ne (by simpa [h0] using h_norm) | |
| 798 | + -- It remains to see that `d • a` is in the lattice, which holds as ξᴴJa has integral trace for | |
| 799 | + -- ξ in the lattice. | |
| 800 | + refine V.smul_mem_baseLattice_of_trace_int h_diff (fun ξ hξ ↦ ?_) i | |
| 801 | + obtain ⟨k, hk⟩ := h_int ξ hξ | |
| 802 | + refine ⟨k, ?_⟩ | |
| 803 | + calc (Algebra.trace ℚ E (star ξ ⬝ᵥ V.J *ᵥ a) : ℝ) | |
| 804 | + _ = ∑ w : InfinitePlace E, 2 * (Φ w (star ξ ⬝ᵥ V.J *ᵥ a)).re := trace_eq_sum_Φ _ | |
| 805 | + _ = ⟪x, V.archCoords ((2 / d.val) • ξ)⟫ := by simp [h_pair, hc, dotProduct, fst_sum] | |
| 806 | + _ = k := hk | |
| 807 | + | |
| 808 | +/-- Approximation by lattice vectors. Let `d` be a nonzero element of the different of `E`. Every | |
| 809 | +point `u` of the archimedean coordinate space lies within `(2 f n)² / λ` of the archimedean | |
| 810 | +coordinates of `(2 / d) a` for some `a` in the lattice `V.baseLattice`. Here `n` in the bound means | |
| 811 | +`Fintype.card n`, and `f` is the number of infinite places. `λ` is the first minimum | |
| 812 | +`V.firstMinimum` of `V`, cut off at `1`. -/ | |
| 813 | +lemma exists_norm_sub_archCoords_le {d : 𝓞 E} (hd : d ≠ 0) (h_diff : d ∈ differentIdeal ℤ (𝓞 E)) | |
| 814 | + (u : EuclideanSpace ℂ (InfinitePlace E × n)) : | |
| 815 | + ∃ a ∈ V.baseLattice, ‖u - V.archCoords ((2 / d.val) • a)‖ ≤ | |
| 816 | + (2 * (Core.numInfPlaces E * Fintype.card n)) ^ 2 / V.firstMinimum := by | |
| 817 | + -- Transference for `2 d⁻¹ L` in the coordinate space, of real dimension `2 f n`; a nonzero | |
| 818 | + -- vector of its dual has length at least `V.firstMinimum`. | |
| 819 | + let Λ : Submodule ℤ (EuclideanSpace ℂ (InfinitePlace E × n)) := | |
| 820 | + (V.baseLattice.map | |
| 821 | + (.mk' (fun ξ : n → E ↦ V.archCoords ((2 / d.val) • ξ)) (by simp))).toIntSubmodule | |
| 822 | + have h_dual (x : EuclideanSpace ℂ (InfinitePlace E × n)) | |
| 823 | + (hx : x ∈ LinearMap.BilinForm.dualSubmodule (innerₗ _) Λ) (hx_ne : x ≠ 0) : | |
| 824 | + V.firstMinimum ≤ ‖x‖ := | |
| 825 | + V.firstMinimum_le_norm_of_inner_int hd h_diff hx_ne fun ξ hξ ↦ | |
| 826 | + let ⟨k, hk⟩ := hx _ ⟨ξ, hξ, rfl⟩ | |
| 827 | + ⟨k, by simpa using hk.symm⟩ | |
| 828 | + simpa [Λ, ← mem_toAddSubgroup, finrank_real_of_complex] using | |
| 829 | + weak_transference_covering_radius Λ V.firstMinimum_pos h_dual u | |
| 830 | + | |
| 831 | +/-- A set `S` of rational vectors spans `E ^ n` over `E` if the archimedean coordinates | |
| 832 | +`V.archCoords ξ` (the components of `x⁻¹ ξ` at the infinite places, `x` the point of `V`) of its | |
| 833 | +members span their space over `ℝ`. -/ | |
| 834 | +lemma span_eq_top_of_span_archCoords {S : Set (n → E)} | |
| 835 | + (h_span : span ℝ (V.archCoords '' S) = ⊤) : span E S = ⊤ := by | |
| 836 | + -- A linear form `φ` on `E ^ n` extends at a place `w` to a real linear map `ψ` on the | |
| 837 | + -- coordinate space. If `φ` vanishes on `S`, then `ψ = 0`, so `φ = 0`. | |
| 838 | + by_contra h_ne | |
| 839 | + obtain ⟨φ, hφ_ne, hφ⟩ := (span E S).exists_le_ker_of_lt_top (lt_top_iff_ne_top.2 h_ne) | |
| 840 | + let w : InfinitePlace E := Classical.arbitrary _ | |
| 841 | + let ψ : EuclideanSpace ℂ (InfinitePlace E × n) →ₗ[ℝ] ℂ := | |
| 842 | + { toFun u := ∑ i : n, (∑ j : n, (V.x.val i j).1 w * u (w, j)) * Φ w (φ (Pi.single i 1)) | |
| 843 | + map_add' u v := by simp [mul_add, add_mul, sum_add_distrib] | |
| 844 | + map_smul' t u := by simp [mul_sum, sum_mul, mul_assoc, mul_left_comm] } | |
| 845 | + have h_extend (ξ : n → E) : ψ (V.archCoords ξ) = Φ w (φ ξ) := by | |
| 846 | + have h_frame (i : n) : ∑ j : n, (V.x.val i j).1 w * V.archCoords ξ (w, j) = Φ w (ξ i) := by | |
| 847 | + simpa [mulVec, dotProduct, fst_sum, archCoords] using congrArg (fun v : n → 𝔸 E ↦ (v i).1 w) | |
| 848 | + (show V.x.val *ᵥ V.vecAtPoint ξ = toAdele ∘ ξ by simp [vecAtPoint]) | |
| 849 | + have h_sum : φ ξ = ∑ i : n, ξ i * φ (Pi.single i 1) := by | |
| 850 | + simpa using congrArg φ (pi_eq_sum_univ' ξ) | |
| 851 | + simp [ψ, h_frame, h_sum] | |
| 852 | + have hψ : ψ = 0 := LinearMap.ext_on h_span <| Set.forall_mem_image.2 fun ξ hξ ↦ by | |
| 853 | + simp [h_extend, LinearMap.mem_ker.1 (hφ (subset_span hξ))] | |
| 854 | + exact hφ_ne (LinearMap.ext fun ξ ↦ by simpa [hψ] using (h_extend ξ).symm) | |
| 855 | + | |
| 856 | +section | |
| 857 | + | |
| 858 | +variable {E n : Type*} [Field E] [NumberField E] [Fintype n] | |
| 859 | + | |
| 860 | +instance : NeZero (differentIdeal ℤ (𝓞 E)).absNorm := | |
| 861 | + ⟨mt Ideal.absNorm_eq_zero_iff.mp differentIdeal_ne_bot⟩ | |
| 862 | + | |
| 863 | +variable (E n) in | |
| 864 | +/-- The constant `6 N (f n)²` in the bound for short bases, where `f` is the number of infinite | |
| 865 | +places of `E` and `n` is the rank. -/ | |
| 866 | +noncomputable abbrev shortBasisConst (N : ℕ) : ℕ := | |
| 867 | + 6 * N * (Core.numInfPlaces E * Fintype.card n) ^ 2 | |
| 868 | + | |
| 869 | +end | |
| 870 | + | |
| 871 | +/-- Short bases. `V` is a hermitian space with a point: a matrix `J` over `E` and `x ∈ GL_n(𝔸)` with | |
| 872 | +`xᴴJx` equal to `diag(s)` at the infinite places and `1` at the finite places. Let `N ≠ 0` be a | |
| 873 | +natural number in the different of `E`. The lattice `V.baseLattice` contains a basis of `E ^ n`, the | |
| 874 | +columns of `Y`, whose vectors `y` have length `‖V.archCoords y‖` at most `6 N (f n)² / λ`. Here `n` | |
| 875 | +in the bound means `Fintype.card n`, `f` is the number of infinite places and `λ` the first minimum | |
| 876 | +of `V`, cut off at `1`. The constant `shortBasisConst E n N` is `N / 2` times the transference bound | |
| 877 | +`3 (2 f n)²` in real dimension `2 f n`. -/ | |
| 878 | +lemma exists_short_basis (h_diff : (N : 𝓞 E) ∈ differentIdeal ℤ (𝓞 E)) : | |
| 879 | + ∃ Y : GL n E, ∀ j : n, | |
| 880 | + Y.val.col j ∈ V.latticeBall (shortBasisConst E n N / V.firstMinimum) := by | |
| 881 | + -- The vectors `(2 / N) a`, for `a` in the lattice, come within `r` of every point. So those of | |
| 882 | + -- length at most `3 r` span, and then `a` has length at most `3 r N / 2`. | |
| 883 | + suffices h_top : span E (V.latticeBall (shortBasisConst E n N / V.firstMinimum)) = ⊤ from | |
| 884 | + exists_GL_col_mem_of_span _ h_top.ge | |
| 885 | + cases isEmpty_or_nonempty n | |
| 886 | + · exact Subsingleton.elim _ _ | |
| 887 | + let r : ℝ := (2 * (Core.numInfPlaces E * card n)) ^ 2 / V.firstMinimum | |
| 888 | + have hr : 0 < r := div_pos (by positivity) V.firstMinimum_pos | |
| 889 | + have h_scale (a : n → E) : | |
| 890 | + V.archCoords ((2 / (N : 𝓞 E).val) • a) = (2 / N : ℝ) • V.archCoords a := by | |
| 891 | + simp [div_eq_inv_mul, mul_smul, map_inv_natCast_smul _ E ℝ, two_smul] | |
| 892 | + have hN : (0 : ℝ) < N := mod_cast NeZero.pos N | |
| 893 | + have h_span : span ℝ {x ∈ (fun a : n → E ↦ (2 / N : ℝ) • V.archCoords a) '' V.baseLattice | | |
| 894 | + ‖x‖ ≤ 3 * r} = ⊤ := | |
| 895 | + span_norm_le_eq_top_of_covering hr fun u ↦ | |
| 896 | + let ⟨a, ha, h_near⟩ := V.exists_norm_sub_archCoords_le NeZero.out h_diff u | |
| 897 | + ⟨_, ⟨a, ha, (h_scale a).symm⟩, h_near⟩ | |
| 898 | + refine V.span_eq_top_of_span_archCoords (top_unique (h_span.ge.trans (span_le.2 ?_))) | |
| 899 | + rintro _ ⟨⟨a, ha, rfl⟩, h_short⟩ | |
| 900 | + rw [norm_smul, Real.norm_of_nonneg (by positivity)] at h_short | |
| 901 | + refine smul_mem _ _ (subset_span ⟨a, ⟨ha, ?_⟩, rfl⟩) | |
| 902 | + calc ‖V.archCoords a‖ | |
| 903 | + _ ≤ (2 / N : ℝ)⁻¹ * (3 * r) := (le_inv_mul_iff₀ (by positivity)).2 h_short | |
| 904 | + _ = shortBasisConst E n N / V.firstMinimum := by | |
| 905 | + simp [r, shortBasisConst] | |
| 906 | + field | |
| 907 | + | |
| 908 | +/-- Short bases in the standard space `New.stdSpace`, which has all signs `1` and so is definite. | |
| 909 | +Let `N ≠ 0` be a natural number in the different of `E` and `g` a finite adelic unitary matrix. Some | |
| 910 | +`Y` in `GL n E` has `g⁻¹ Y` integral (all entries in `Ô E`, `New.IsIntMatrix`) and entries of | |
| 911 | +absolute value at most `6 N (f n)²` at every complex embedding, where `f` is the number of infinite | |
| 912 | +places. -/ | |
| 913 | +lemma exists_short_basis_stdSpace (h_diff : (N : 𝓞 E) ∈ differentIdeal ℤ (𝓞 E)) (g : Gf E n) : | |
| 914 | + ∃ Y : GL n E, | |
| 915 | + IsIntMatrix (Ô E) | |
| 916 | + ((g⁻¹.val.val : Matrix n n (𝔸f E)) * Y.val.map (algebraMap E (𝔸f E))) ∧ | |
| 917 | + ∀ (φ : E →+* ℂ) (i j : n), ‖φ (Y i j)‖ ≤ shortBasisConst E n N := by | |
| 918 | + -- Take a short basis at the point `(1, g)` of the standard space, which is definite. | |
| 919 | + let P : Space E n (fun _ : n ↦ 1) := (stdSpace E n).move (1, g) | |
| 920 | + obtain ⟨Y, hY⟩ : ∃ Y : GL n E, ∀ j : n, | |
| 921 | + Y.val.col j ∈ P.latticeBall (shortBasisConst E n N / P.firstMinimum) := | |
| 922 | + P.exists_short_basis h_diff | |
| 923 | + choose h_mem h_norm using hY | |
| 924 | + refine ⟨Y, fun i j ↦ ?_, fun φ i j ↦ ?_⟩ | |
| 925 | + · -- An entry of `g⁻¹ Y` is a finite coordinate of a column of `Y` at the point `(1, g)`. | |
| 926 | + have h_entry : (g⁻¹.val.val * Y.val.map (algebraMap E (𝔸f E))) i j = | |
| 927 | + (P.vecAtPoint (Y.val.col j) i).2 := by | |
| 928 | + simp [P, ↓vecAtPoint_move, Matrix.mul_apply, Matrix.mulVec, dotProduct, vecAtPoint, snd_sum] | |
| 929 | + rw [h_entry] | |
| 930 | + exact h_mem j i | |
| 931 | + -- Here `1 ≤ firstMinimum`, and the norm of a column bounds its coordinate at the place of `φ`. | |
| 932 | + have h_min : 1 ≤ P.firstMinimum := one_le_firstMinimum fun _ _ ↦ rfl | |
| 933 | + have h_abs : ‖φ (Y i j)‖ = ‖P.archCoords (Y.val.col j) (.mk φ, i)‖ := by | |
| 934 | + simp [P, archCoords, ↓vecAtPoint_move, Matrix.mulVec, dotProduct, ← InfinitePlace.apply, | |
| 935 | + vecAtPoint, fst_sum, Matrix.one_apply] | |
| 936 | + calc ‖φ (Y i j)‖ | |
| 937 | + _ ≤ ‖P.archCoords (Y.val.col j)‖ := h_abs.trans_le (PiLp.norm_apply_le _ _) | |
| 938 | + _ ≤ shortBasisConst E n N / P.firstMinimum := h_norm j | |
| 939 | + _ ≤ shortBasisConst E n N := div_le_self (Nat.cast_nonneg _) h_min | |
| 940 | + | |
| 941 | +end New.Space | |
| 942 | + | |
| 943 | +end ShortBasis | |
| 944 | + | |
| 945 | +/-! ## The first minimum of the lattice of an orthogonal sum of spaces -/ | |
| 946 | + | |
| 947 | +section FirstMinimumSum | |
| 948 | + | |
| 949 | +open Function New Space EuclideanSpace | |
| 950 | + | |
| 951 | +/-- The first minimum, cut off at 1, of an orthogonal sum is the smaller first minimum of its | |
| 952 | +two summands. A nonzero lattice vector in either summand can be padded with zeros without | |
| 953 | +changing its length. -/ | |
| 954 | +lemma New.Rows.firstMinimum_sum {E n n' : Type*} [Field E] [CMType E] [Fintype n] | |
| 955 | + [DecidableEq n] [Fintype n'] [DecidableEq n'] {s : n → ℤˣ} {s' : n' → ℤˣ} {g : G E s} | |
| 956 | + {h : G E s'} {V : Space E n s} {W : Space E n' s'} : | |
| 957 | + ((V.sum W).move (G.sum (g, h))).firstMinimum = | |
| 958 | + (V.move g).firstMinimum ⊓ (W.move h).firstMinimum := by | |
| 959 | + have h_lattice (y : n ⊕ n' → E) : | |
| 960 | + y ∈ ((V.sum W).move (G.sum (g, h))).baseLattice ↔ | |
| 961 | + y ∘ .inl ∈ (V.move g).baseLattice ∧ y ∘ .inr ∈ (W.move h).baseLattice := by | |
| 962 | + simp [baseLattice, ↓vecAtPoint_move, vecAtPoint, sum, comp_def, ← map_inv, | |
| 963 | + Matrix.fromBlocks_mulVec] | |
| 964 | + have h_sq (y : n ⊕ n' → E) : | |
| 965 | + ‖((V.sum W).move (.sum (g, h))).archCoords y‖ ^ 2 = | |
| 966 | + ‖(V.move g).archCoords (y ∘ .inl)‖ ^ 2 + ‖(W.move h).archCoords (y ∘ .inr)‖ ^ 2 := by | |
| 967 | + simp [norm_sq_eq, archCoords, ↓vecAtPoint_move, vecAtPoint, sum, comp_def, ← map_inv, | |
| 968 | + Fintype.sum_prod_type, Matrix.fromBlocks_mulVec, Finset.sum_add_distrib] | |
| 969 | + apply le_antisymm | |
| 970 | + · apply le_inf | |
| 971 | + · refine le_firstMinimum_iff.2 ⟨firstMinimum_le_one, fun y hy hy₀ ↦ ?_⟩ | |
| 972 | + let y' : n ⊕ n' → E := Sum.elim y 0 | |
| 973 | + have h_ne : y' ≠ 0 := fun h_eq ↦ hy₀ (congrArg (fun f ↦ f ∘ Sum.inl) h_eq) | |
| 974 | + refine (firstMinimum_le ((h_lattice y').2 ⟨hy, zero_mem _⟩) h_ne).trans ?_ | |
| 975 | + refine le_of_sq_le_sq ?_ (norm_nonneg _) | |
| 976 | + rw [h_sq] | |
| 977 | + simp [show y' ∘ Sum.inr = 0 from rfl, show y' ∘ Sum.inl = y from rfl] | |
| 978 | + · refine le_firstMinimum_iff.2 ⟨firstMinimum_le_one, fun y hy hy₀ ↦ ?_⟩ | |
| 979 | + let y' : n ⊕ n' → E := Sum.elim 0 y | |
| 980 | + have h_ne : y' ≠ 0 := fun h_eq ↦ hy₀ (congrArg (fun f ↦ f ∘ Sum.inr) h_eq) | |
| 981 | + refine (firstMinimum_le ((h_lattice y').2 ⟨zero_mem _, hy⟩) h_ne).trans ?_ | |
| 982 | + refine le_of_sq_le_sq ?_ (norm_nonneg _) | |
| 983 | + rw [h_sq] | |
| 984 | + simp [show y' ∘ Sum.inl = 0 from rfl, show y' ∘ Sum.inr = y from rfl] | |
| 985 | + · refine le_firstMinimum_iff.2 ⟨by simp [firstMinimum_le_one], fun y hy hy₀ ↦ ?_⟩ | |
| 986 | + obtain ⟨h_inl, h_inr⟩ := (h_lattice y).1 hy | |
| 987 | + -- One of the components is nonzero, and it is no longer than the original vector. | |
| 988 | + obtain h_left | h_right := Sum.exists.1 (ne_iff.1 hy₀) | |
| 989 | + · exact inf_le_left.trans <| (firstMinimum_le h_inl (ne_iff.2 h_left)).trans <| | |
| 990 | + le_of_sq_le_sq (by simp [h_sq]) (norm_nonneg _) | |
| 991 | + · exact inf_le_right.trans <| (firstMinimum_le h_inr (ne_iff.2 h_right)).trans <| | |
| 992 | + le_of_sq_le_sq (by simp [h_sq]) (norm_nonneg _) | |
| 993 | + | |
| 994 | +end FirstMinimumSum | |
| 995 | + | |
| 996 | +end | |
+51 −0 src/Lib/Adelic/Reduction/FrameNormalization.lean added View file
| @@ -0,0 +1,51 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +public import Lib.Adelic.Unitary.Defs | |
| 4 | +public import Lib.General.LinearAlgebra.IntegralLattices | |
| 5 | +import Lib.Adelic.Adeles.IdeleModulus | |
| 6 | +import Lib.General.LinearAlgebra.HermiteForm | |
| 7 | +import Lib.General.LinearAlgebra.PolarDecomposition | |
| 8 | + | |
| 9 | +/-! | |
| 10 | +# Normalisation of adelic frames | |
| 11 | + | |
| 12 | +A rectangular frame with a left inverse can be made orthonormal at infinity and primitive at | |
| 13 | +the finite places by a change of basis preserving the flag of column weights. | |
| 14 | +-/ | |
| 15 | + | |
| 16 | +@[expose] public section | |
| 17 | + | |
| 18 | +noncomputable section | |
| 19 | + | |
| 20 | +open Matrix NumberField | |
| 21 | + | |
| 22 | +namespace New | |
| 23 | + | |
| 24 | +variable {E : Type*} [Field E] [NumberField E] {n k : Type*} | |
| 25 | + [Fintype n] [Fintype k] [DecidableEq k] | |
| 26 | + | |
| 27 | +/-- The columns are orthonormal at each infinite place. At the finite places both the matrix and | |
| 28 | +a left inverse have integral entries. -/ | |
| 29 | +structure IsNormalizedAdelicFrame (X : Matrix n k (𝔸 E)) : Prop where | |
| 30 | + /-- The columns are orthonormal at the infinite place `w`. -/ | |
| 31 | + orthonormal (w : InfinitePlace E) : (X.map (evalInf w))ᴴ * X.map (evalInf w) = 1 | |
| 32 | + /-- At the finite places, the frame and a left inverse have integral entries. -/ | |
| 33 | + primitive : IsPrimitiveMatrix (Ô E) (X.map (RingHom.snd (InfinitePlace E → ℂ) (𝔸f E))) | |
| 34 | + | |
| 35 | +/-- The columns of an adelic frame can be normalised by a block upper triangular change of basis | |
| 36 | +for any natural-number weights on the columns. -/ | |
| 37 | +theorem exists_blockTriangular_normalizedFrame [DecidableEq n] {X : Matrix n k (𝔸 E)} | |
| 38 | + (hX : HasLeftInv X) (wt : k → ℕ) : | |
| 39 | + ∃ b : GL k (𝔸 E), b.val.BlockTriangular wt ∧ IsNormalizedAdelicFrame (X * b.val) := by | |
| 40 | + let fin := RingHom.snd (InfinitePlace E → ℂ) (𝔸f E) | |
| 41 | + choose a ha horth using fun w : InfinitePlace E ↦ exists_orthonormal_mul wt (hX.map (evalInf w)) | |
| 42 | + obtain ⟨c, hc, hprim⟩ := isValuationPair_Ô.exists_isPrimitiveMatrix_mul (hX.map fin) wt | |
| 43 | + refine ⟨mkAdelicGL (a, c), fun i j hij ↦ Prod.ext (funext fun w ↦ ha w hij) (hc hij), ?_⟩ | |
| 44 | + constructor | |
| 45 | + · intro w | |
| 46 | + rw [Matrix.map_mul] | |
| 47 | + exact horth w | |
| 48 | + · rw [Matrix.map_mul] | |
| 49 | + exact hprim | |
| 50 | + | |
| 51 | +end New | |
+658 −0 src/Lib/Adelic/Reduction/MinkowskiTheorems.lean added View file
| @@ -0,0 +1,658 @@ | ||
| 1 | +module | |
| 2 | + | |
| 3 | +import Mathlib.Algebra.Order.Star.Real | |
| 4 | +import Mathlib.Algebra.Ring.IsFormallyReal | |
| 5 | +import Mathlib.Data.Int.Log | |
| 6 | +import Mathlib.MeasureTheory.Measure.Lebesgue.VolumeOfBalls | |
| 7 | +import TauCeti.Algebra.Module.ZLattice.Basic | |
| 8 | +import TauCeti.LinearAlgebra.LinearIndependent.Extraction.Estimates | |
| 9 | +import TauCeti.NumberTheory.GeometryOfNumbers.MinkowskiSecond | |
| 10 | +public import Lib.Adelic.Adeles.IdeleModulus | |
| 11 | +public import Lib.Adelic.Unitary.Defs | |
| 12 | +import Lib.Adelic.Adeles.StrongApproximation | |
| 13 | +import Lib.General.Algebra.IntegerPowerProducts | |
| 14 | + | |
| 15 | +/-! | |
| 16 | +# Adelic Minkowski theorems and counts of rational points in boxes | |
| 17 | + | |
| 18 | +This file proves Minkowski's first theorem and the upper bound in his second theorem over the | |
| 19 | +adeles, for the lattice attached to `y : GL n (𝔸 E)`. This lattice consists of the rational vectors | |
| 20 | +`ξ` with `y⁻¹ ξ` integral at the finite places, measured by `y⁻¹ ξ` at the infinite places. Here | |
| 21 | +`New.𝔸 E` is `ℂ ^ f × 𝔸f E` with `f = New.Core.numInfPlaces E`; here `[CMType E]` makes `E` a number | |
| 22 | +field whose infinite places are all complex, each place `w` with a chosen embedding `Φ w : E → ℂ`. | |
| 23 | +`New.toAdele` is the diagonal embedding, `New.ideleAbs` the adelic absolute value and `New.Ô` the | |
| 24 | +ring of integral finite adeles, and the unit box is `ball 0 1 ×ˢ Ô E` (sup norm) in each coordinate. | |
| 25 | + | |
| 26 | +## Main definitions and results | |
| 27 | + | |
| 28 | +* `New.minkowski_first`: a lower bound for the number of rational `ξ` with `y⁻¹ ξ` in the unit box. | |
| 29 | +* `New.Core.twoAtInfinity`, `New.Core.dyadicDiag`, `New.Core.profileBases`: the idele that is `2` at | |
| 30 | + infinity, the diagonal matrices `D` of its powers, and the rational bases `Y` with `y⁻¹ Y D⁻¹` in | |
| 31 | + a given set. | |
| 32 | +* `New.Core.frameLattice`, `New.Core.frameLength`: the lattice of `y` and the Euclidean length of | |
| 33 | + `y⁻¹ ξ` at infinity. | |
| 34 | +* `New.Core.minkowski_second_theorem`: the second theorem. The lattice contains a basis of `E ^ n` | |
| 35 | + for which `|det y|` times the product of the `2 f`-th powers of the lengths is bounded in terms of | |
| 36 | + `f`, `n` and the discriminant. The proof embeds `frameLattice y` as a `ℤ`-lattice in | |
| 37 | + `n → InfinitePlace E → ℂ`, bounds its covolume by unfolding over `𝔸 ^ n / E ^ n`, and extracts an | |
| 38 | + `E`-basis from Tau Ceti's real successive minima. | |
| 39 | +* `New.exists_basis_frameLength_le_two_zpow`: a bound of the same kind, with a larger constant, for | |
| 40 | + the lengths rounded up to powers `2 ^ x j`. | |
| 41 | +* `New.Core.encard_le_of_dyadic_box`: at most `C * 4 ^ (f * ∑ i, (x i)⁺)` rational vectors `ξ` have | |
| 42 | + the vector of the `twoAtInfinity E ^ (-x i) * ξ i` in a given compact set. | |
| 43 | +* `New.Core.exists_eq_zero_of_zpow_mul_mem`: for a compact set `B` of adeles and all large `m`, no | |
| 44 | + nonzero `a` in `E` has `twoAtInfinity E ^ m * a` in `B`. | |
| 45 | + | |
| 46 | +Notions from other files: | |
| 47 | +* `New.ratVectors`: the image of `E ^ n` in `𝔸 E ^ n` under the diagonal embedding, as an additive | |
| 48 | + subgroup. | |
| 49 | + | |
| 50 | +## Relation to the literature | |
| 51 | + | |
| 52 | +Part of a known result: Reduction theory, here the adelic Minkowski theorems. For Mahler-Godement | |
| 53 | +compactness and finite covolume see `Lib.Adelic.Reduction.FiniteVolume`. | |
| 54 | +-/ | |
| 55 | + | |
| 56 | +@[expose] public section | |
| 57 | + | |
| 58 | +noncomputable section | |
| 59 | + | |
| 60 | +/-! ## Minkowski's first theorem with multiplicity -/ | |
| 61 | + | |
| 62 | +section MinkowskiFirst | |
| 63 | + | |
| 64 | +open Set ENNReal Fintype Matrix MeasureTheory Metric NumberField Measure | |
| 65 | + | |
| 66 | +namespace New | |
| 67 | + | |
| 68 | +variable {E : Type*} [Field E] [CMType E] {n : Type*} [Fintype n] [DecidableEq n] (y : GL n (𝔸 E)) | |
| 69 | + | |
| 70 | +/-- Unfolding: the number of rational `ξ` with `y⁻¹ (ξ + x) ∈ S`, integrated over the quotient of | |
| 71 | +`𝔸 ^ n` by the subgroup `E ^ n = ratVectors E n`, is `|det y| * volume S`. The integral over the | |
| 72 | +quotient is taken against `quotMeasure`, the measure on `𝔸 ^ n` given by `volume` weighted by a | |
| 73 | +cutoff for this subgroup; its total mass is the covolume `1`. -/ | |
| 74 | +lemma lintegral_encard_rat_points {S : Set (n → 𝔸 E)} (hS : MeasurableSet S) : | |
| 75 | + ENNReal.ofReal (ideleAbs y.det) * volume S = | |
| 76 | + ∫⁻ x : n → 𝔸 E, {ξ : n → E | | |
| 77 | + y⁻¹.val *ᵥ (toAdele ∘ ξ + x) ∈ S}.encard ∂(ratVectors E n).quotMeasure := by | |
| 78 | + -- Unfolding: `(x, ξ) ↦ y⁻¹ (ξ + x)` carries `quotMeasure ⊗ count` to `|det y| • volume`. The | |
| 79 | + -- measure of the preimage of `S` is the left side, and by Fubini it is also the right side. | |
| 80 | + have h_scale : MeasurePreserving (y⁻¹.1 *ᵥ ·) volume (ENNReal.ofReal (ideleAbs y.det) • volume) := | |
| 81 | + ⟨by fun_prop, (volume_map_mulVec_adele y⁻¹).trans (by simp)⟩ | |
| 82 | + have h_unfold : MeasurePreserving (fun p : (n → 𝔸 E) × ratVectors E n ↦ y⁻¹.val *ᵥ (p.2 +ᵥ p.1)) | |
| 83 | + ((ratVectors E n).quotMeasure.prod count) (ENNReal.ofReal (ideleAbs y.det) • volume) := | |
| 84 | + h_scale.comp measurePreserving_addOrbitMeasure | |
| 85 | + rw [← smul_eq_mul, ← smul_apply, ← h_unfold.measure_preimage hS.nullMeasurableSet, | |
| 86 | + Measure.prod_apply (h_unfold.measurable hS)] | |
| 87 | + refine lintegral_congr fun x ↦ ?_ | |
| 88 | + -- the fibre over `x` is counted in `ratVectors E n`, the image of `n → E` under `toAdele ∘ ·` | |
| 89 | + rw [count_apply .of_discrete] | |
| 90 | + let e : (n → E) ≃ ratVectors E n := .ofInjective _ (toAdele (E := E)).injective.comp_left | |
| 91 | + exact_mod_cast encard_congr e.subtypeEquivOfSubtype.symm | |
| 92 | + | |
| 93 | +omit [DecidableEq n] in | |
| 94 | +/-- The box of radius `r`, the adelic vectors with all entries of absolute value below `r` at the | |
| 95 | +`f = numInfPlaces E` infinite places and integral at the finite places, has volume | |
| 96 | +`((r ^ 2 * π * (2 / rd)) ^ f) ^ card n`, where `rd = rootDiscr E` is the root discriminant. -/ | |
| 97 | +lemma volume_pi_ball_prod_integral {r : ℝ} (hr : 0 < r) : | |
| 98 | + volume (univ.pi fun _ : n ↦ (ball 0 r ×ˢ Ô E : Set (𝔸 E))) = ENNReal.ofReal | |
| 99 | + (((r ^ 2 * Real.pi * (2 / rootDiscr E)) ^ Core.numInfPlaces E) ^ card n) := by | |
| 100 | + have h_inf : volume (ball (0 : InfinitePlace E → ℂ) r) = | |
| 101 | + ENNReal.ofReal (r ^ 2 * Real.pi) ^ Core.numInfPlaces E := by | |
| 102 | + simp [volume_pi, ball_pi _ hr, ofReal_mul (sq_nonneg r), ofReal_pow hr.le, ← NNReal.coe_real_pi] | |
| 103 | + have h_entry : volume (ball 0 r ×ˢ Ô E : Set (𝔸 E)) = | |
| 104 | + ENNReal.ofReal ((r ^ 2 * Real.pi * (2 / rootDiscr E)) ^ Core.numInfPlaces E) := by | |
| 105 | + rw [volume_eq_prod, prod_prod, h_inf, volume_Ô, mul_pow (r ^ 2 * Real.pi), ← inv_div, inv_pow, | |
| 106 | + ← volÔ_eq, ← ofReal_pow (by positivity), ofReal_mul (by positivity), ofReal_coe_nnreal] | |
| 107 | + rw [volume_pi, pi_pi, h_entry, Finset.prod_const, Finset.card_univ, | |
| 108 | + ← ofReal_pow (by positivity [rootDiscr_pos E])] | |
| 109 | + | |
| 110 | +open Pointwise in | |
| 111 | +/-- Minkowski's first theorem with multiplicity: for `y` in `GL n (𝔸 E)`, the adelic absolute value | |
| 112 | +`|det y|` is at most `(2 rd) ^ (f n)` times the number of `ξ` in `E ^ n` with `y⁻¹ ξ` integral at | |
| 113 | +the finite places and all its entries of absolute value below `1` at the infinite places. Here | |
| 114 | +`rd = rootDiscr E` is the root discriminant, `f` the number of infinite places and `n` stands for | |
| 115 | +`card n`. -/ | |
| 116 | +lemma minkowski_first : | |
| 117 | + ENNReal.ofReal (ideleAbs y.det) ≤ | |
| 118 | + ENNReal.ofReal (((2 * rootDiscr E) ^ Core.numInfPlaces E) ^ card n) * | |
| 119 | + {ξ : n → E | ∀ i : n, (y⁻¹.val *ᵥ toAdele ∘ ξ) i ∈ ball 0 1 ×ˢ Ô E}.encard := by | |
| 120 | + -- Blichfeldt's argument for the box `S` of radius `1 / 2`: two rational points of a translate of | |
| 121 | + -- `y S` differ by a point of `y` times the box of radius `1`. | |
| 122 | + let box : Set (𝔸 E) := ball 0 2⁻¹ ×ˢ Ô E | |
| 123 | + let S : Set (n → 𝔸 E) := univ.pi fun _ ↦ box | |
| 124 | + set N : ℕ∞ := {ξ : n → E | ∀ i : n, (y⁻¹.val *ᵥ toAdele ∘ ξ) i ∈ ball 0 1 ×ˢ Ô E}.encard | |
| 125 | + have h_count (x : n → 𝔸 E) : {ξ : n → E | y⁻¹.val *ᵥ (toAdele ∘ ξ + x) ∈ S}.encard ≤ N := by | |
| 126 | + obtain h_empty | ⟨ξ₀, hξ₀⟩ := {ξ | y⁻¹.val *ᵥ (toAdele ∘ ξ + x) ∈ S}.eq_empty_or_nonempty | |
| 127 | + · simp only [h_empty, encard_empty, zero_le] | |
| 128 | + refine encard_le_encard_of_injOn (f := (· - ξ₀)) (fun ξ hξ i ↦ ?_) sub_left_injective.injOn | |
| 129 | + simpa [box, mulVec_add, mulVec_sub, ← two_mul] using | |
| 130 | + sub_mem_sub (hξ i (mem_univ i)) (hξ₀ i (mem_univ i)) | |
| 131 | + -- Averaging the count over the translates gives `|det y| vol S`. | |
| 132 | + have h_mean : .ofReal (ideleAbs y.det) * volume S ≤ (N : ℝ≥0∞) := by | |
| 133 | + rw [lintegral_encard_rat_points y (.univ_pi fun _ ↦ (isOpen_ball.prod isOpen_Ô).measurableSet)] | |
| 134 | + exact lintegral_le_const (.of_forall fun x ↦ mod_cast h_count x) | |
| 135 | + -- It remains to see `1 ≤ ((2 rd) ^ f) ^ n * vol S`, and the right side is `π ^ (f n)`. | |
| 136 | + set c : ℝ := ((2 * rootDiscr E) ^ Core.numInfPlaces E) ^ card n with hc | |
| 137 | + have h_base : 2 * rootDiscr E * (2⁻¹ ^ 2 * Real.pi * (2 / rootDiscr E)) = Real.pi := by | |
| 138 | + field [(rootDiscr_pos E).ne'] | |
| 139 | + have h_vol : 1 ≤ ENNReal.ofReal c * volume S := by | |
| 140 | + rw [volume_pi_ball_prod_integral (by positivity), | |
| 141 | + ← ofReal_mul (by positivity [rootDiscr_pos E]), hc, ← mul_pow, ← mul_pow, h_base, | |
| 142 | + one_le_ofReal] | |
| 143 | + exact one_le_pow₀ (one_le_pow₀ (by linarith [Real.two_le_pi])) | |
| 144 | + calc _ ≤ ENNReal.ofReal c * volume S * ENNReal.ofReal (ideleAbs y.det) := | |
| 145 | + le_mul_of_one_le_left' h_vol | |
| 146 | + _ ≤ ENNReal.ofReal c * N := by grw [mul_assoc, mul_comm (volume S), h_mean] | |
| 147 | + | |
| 148 | +/-- Minkowski's first theorem: if `|det y| > (2 * rootDiscr E) ^ (f * n)`, with `f` the number of | |
| 149 | +infinite places, some nonzero rational `ξ` has `y⁻¹ ξ` integral at the finite places and all | |
| 150 | +its entries of absolute value `< 1` at the infinite places. -/ | |
| 151 | +lemma exists_ne_zero_inv_mulVec_mem | |
| 152 | + (h_det : ((2 * rootDiscr E) ^ Core.numInfPlaces E) ^ card n < ideleAbs y.det) : | |
| 153 | + ∃ ξ : n → E, (∀ i : n, (y⁻¹.val *ᵥ toAdele ∘ ξ) i ∈ ball 0 1 ×ˢ Ô E) ∧ ξ ≠ 0 := by | |
| 154 | + -- more than one rational `ξ` has `y⁻¹ ξ` in the box, so one of them is not zero | |
| 155 | + have h_count : 1 < {ξ : n → E | ∀ i : n, (y⁻¹.val *ᵥ toAdele ∘ ξ) i ∈ ball 0 1 ×ˢ Ô E}.encard := | |
| 156 | + mod_cast one_lt_of_lt_mul_right (α := ℝ≥0∞) | |
| 157 | + (((ofReal_lt_ofReal_iff ideleAbs_pos).2 h_det).trans_le (minkowski_first y)) | |
| 158 | + exact exists_ne_of_one_lt_encard h_count 0 | |
| 159 | + | |
| 160 | +end New | |
| 161 | + | |
| 162 | +end MinkowskiFirst | |
| 163 | + | |
| 164 | +/-! ## Minkowski's second theorem and counts of rational points in boxes -/ | |
| 165 | + | |
| 166 | +section MinkowskiSecond | |
| 167 | + | |
| 168 | +open NumberField Finset Fintype Prod Complex Int Matrix Real Function Metric | |
| 169 | + | |
| 170 | +namespace New.Core | |
| 171 | + | |
| 172 | +variable (E : Type _) [Field E] [CMType E] {n : Type _} [Fintype n] [DecidableEq n] | |
| 173 | + | |
| 174 | +/-! ### Isometries, determinants and powers of two at infinity -/ | |
| 175 | + | |
| 176 | +/-- The idele of `E` that is `2` at all infinite places and `1` at the finite places. -/ | |
| 177 | +def twoAtInfinity (E : Type _) [Field E] [NumberField E] : (𝔸 E)ˣ := | |
| 178 | + Units.map ⟨⟨fun z : ℂ ↦ (fun _ ↦ z, 1), rfl⟩, by aesop⟩ (Units.mk0 2 (by simp)) | |
| 179 | + | |
| 180 | +variable {E} | |
| 181 | + | |
| 182 | +/-- A matrix `Q` with orthonormal columns, that is `Qᴴ * Q = 1`, preserves the sum of the squared | |
| 183 | +absolute values of the entries of a vector. -/ | |
| 184 | +lemma sum_norm_sq_mulVec_of_isometry {m : Type*} [Fintype m] {Q : Matrix m n ℂ} (hQ : Qᴴ * Q = 1) | |
| 185 | + (v : n → ℂ) : ∑ i : m, ‖(Q *ᵥ v) i‖ ^ 2 = ∑ i : n, ‖v i‖ ^ 2 := by | |
| 186 | + have h_inner : star (Q *ᵥ v) ⬝ᵥ (Q *ᵥ v) = star v ⬝ᵥ v := by | |
| 187 | + rw [star_mulVec, ← dotProduct_mulVec, mulVec_mulVec, hQ, one_mulVec] | |
| 188 | + simpa [dotProduct, ← ofReal_inj, ← conj_mul'] using h_inner | |
| 189 | + | |
| 190 | +/-- The adelic absolute value of the determinant of the adelic matrix with components `a w` at the | |
| 191 | +infinite places `w` and finite part `b` (`mkAdelicGL`) is the product of the `‖det (a w)‖ ^ 2` and | |
| 192 | +of the absolute value `finIdeleAbs` of the finite idele `det b`. -/ | |
| 193 | +lemma ideleAbs_det_mkAdelicGL (a : InfinitePlace E → GL n ℂ) (b : GL n (𝔸f E)) : | |
| 194 | + ideleAbs (mkAdelicGL (a, b)).det = | |
| 195 | + (∏ w : InfinitePlace E, ‖(a w).val.det‖ ^ 2) * finIdeleAbs b.det := by | |
| 196 | + simp [finIdeleAbs, ideleAbs, det_apply, fst_sum, fst_prod, snd_sum, snd_prod] | |
| 197 | + | |
| 198 | +/-- For an integer vector `x`, the diagonal adelic matrix whose `i`-th entry is `2 ^ x i` at the | |
| 199 | +infinite places and `1` at the finite places. -/ | |
| 200 | +def dyadicDiag {E : Type _} [Field E] [NumberField E] | |
| 201 | + (x : n → ℤ) : GL n (𝔸 E) := diagGL fun i : n ↦ twoAtInfinity E ^ x i | |
| 202 | + | |
| 203 | +/-- The set of `Y` in `GL n E` with `y⁻¹ Y D⁻¹` in `M`, where `D = dyadicDiag x` is diagonal with | |
| 204 | +entries `2 ^ x i` at infinity and `1` at the finite places. -/ | |
| 205 | +def profileBases (M : Set (GL n (𝔸 E))) (x : n → ℤ) (y : GL n (𝔸 E)) : Set (GL n E) := | |
| 206 | + {Y : GL n E | y⁻¹ * Y.map toAdele * (dyadicDiag x)⁻¹ ∈ M} | |
| 207 | + | |
| 208 | +/-- The adeles with components of absolute value at most `r` (by default `1`) at the infinite places | |
| 209 | +and integral at the finite places form a compact set. -/ | |
| 210 | +lemma isCompact_closedBall_prod_integral (r : ℝ := 1) : | |
| 211 | + IsCompact (closedBall 0 r ×ˢ Ô E : Set (𝔸 E)) := | |
| 212 | + (isCompact_closedBall 0 r).prod isCompact_Ô | |
| 213 | + | |
| 214 | +/-- The matrix `dyadicDiag x`, with diagonal entries `2 ^ x i` at the infinite places and `1` at | |
| 215 | +the finite ones, has determinant of adelic absolute value `(2 ^ (2 f)) ^ ∑ i, x i`, with `f` the | |
| 216 | +number of infinite places. -/ | |
| 217 | +lemma ideleAbs_det_dyadicDiag (x : n → ℤ) : | |
| 218 | + ideleAbs (dyadicDiag x : GL n (𝔸 E)).det = (2 ^ (2 * numInfPlaces E)) ^ ∑ i : n, x i := by | |
| 219 | + have h_two : ideleAbs (twoAtInfinity E) = 2 ^ (2 * numInfPlaces E) := by | |
| 220 | + simp [ideleAbs, twoAtInfinity, pow_mul] | |
| 221 | + have h_det : (dyadicDiag x : GL n (𝔸 E)).det = ∏ i : n, twoAtInfinity E ^ x i := | |
| 222 | + Units.ext (by simp [dyadicDiag, diagGL]) | |
| 223 | + simp [h_det, h_two, DiscreteSeries.zpow_sum_of_ne_zero] | |
| 224 | + | |
| 225 | +/-- The matrix `dyadicDiag x` for natural exponents `x i` has determinant of adelic absolute value | |
| 226 | +`((2 ^ f) ^ ∑ i, x i) ^ 2`, with `f` the number of infinite places. -/ | |
| 227 | +lemma ideleAbs_det_dyadicDiag_natCast (x : n → ℕ) : | |
| 228 | + ideleAbs (dyadicDiag fun i : n ↦ (x i : ℤ) : GL n (𝔸 E)).det = | |
| 229 | + ((2 ^ numInfPlaces E) ^ ∑ i : n, x i) ^ 2 := by | |
| 230 | + rw [ideleAbs_det_dyadicDiag, ← Nat.cast_sum, zpow_natCast] | |
| 231 | + ring | |
| 232 | + | |
| 233 | +/-- For natural exponents `x i`, all entries of the inverse of `dyadicDiag x` (the diagonal matrix | |
| 234 | +with entries `2 ^ x i` at the infinite places and `1` at the finite ones) have absolute value at | |
| 235 | +most `1` at the infinite places and lie in the ring `Ô E` of integral finite adeles. -/ | |
| 236 | +lemma dyadicDiag_inv_mem (x : n → ℕ) : | |
| 237 | + (dyadicDiag fun i : n ↦ (x i : ℤ) : GL n (𝔸 E))⁻¹.val ∈ | |
| 238 | + Set.matrix (closedBall (0 : InfinitePlace E → ℂ) 1 ×ˢ Ô E) := by | |
| 239 | + simpa [dyadicDiag, diagonal_mem_matrix_iff, Pi.pow_def, twoAtInfinity, ← map_inv] using | |
| 240 | + fun i ↦ inv_le_one_of_one_le₀ (one_le_pow₀ (n := x i) (one_le_two (α := ℝ))) | |
| 241 | + | |
| 242 | +/-- The inverse of `dyadicDiag x` multiplies the `i`-th entry of an adelic vector by | |
| 243 | +`twoAtInfinity E ^ (-x i)`. -/ | |
| 244 | +lemma dyadicDiag_inv_mulVec_apply (x : n → ℤ) (v : n → 𝔸 E) (i : n) : | |
| 245 | + ((dyadicDiag x)⁻¹.val *ᵥ v) i = (twoAtInfinity E ^ (-x i)).val * v i := by | |
| 246 | + simp [dyadicDiag, diagGL, mulVec_diagonal, ← map_inv, -map_zpow] | |
| 247 | + | |
| 248 | +/-- An invertible matrix with entries in `E` has, over the adeles, a determinant of absolute value | |
| 249 | +`1`: this is the product formula for `det Y`. -/ | |
| 250 | +@[simp↓] | |
| 251 | +lemma ideleAbs_det_map_toAdele (Y : GL n E) : ideleAbs (Y.map toAdele).det = 1 := by | |
| 252 | + rw [Y.map_det toAdele, ideleAbs_toAdele] | |
| 253 | + | |
| 254 | +/-- The lattice `E ^ n ∩ z_f Ô ^ n` of an adelic frame `z`: the rational vectors `ξ` such that | |
| 255 | +`z⁻¹ ξ` is integral at the finite places. -/ | |
| 256 | +def frameLattice (z : GL n (𝔸 E)) : Set (n → E) := | |
| 257 | + {ξ : n → E | ∀ i : n, ((z⁻¹.val *ᵥ toAdele ∘ ξ) i).2 ∈ Ô E} | |
| 258 | + | |
| 259 | +/-- The length of a rational vector `ξ` at an adelic frame `z`: the Euclidean norm of the | |
| 260 | +coordinates of `z⁻¹ ξ` at all infinite places together. -/ | |
| 261 | +def frameLength (z : GL n (𝔸 E)) (ξ : n → E) : ℝ := | |
| 262 | + ‖WithLp.toLp 2 fun p : InfinitePlace E × n ↦ ((z⁻¹.val *ᵥ toAdele ∘ ξ) p.2).1 p.1‖ | |
| 263 | + | |
| 264 | +/-- Each coordinate of `z⁻¹ ξ` at an infinite place `w` has absolute value at most the length | |
| 265 | +`frameLength z ξ`, the Euclidean norm of all these coordinates together. -/ | |
| 266 | +lemma norm_apply_le_frameLength (z : GL n (𝔸 E)) (ξ : n → E) (w : InfinitePlace E) (i : n) : | |
| 267 | + ‖((z⁻¹.val *ᵥ toAdele ∘ ξ) i).1 w‖ ≤ frameLength z ξ := | |
| 268 | + PiLp.norm_apply_le | |
| 269 | + (WithLp.toLp 2 fun p : InfinitePlace E × n ↦ ((z⁻¹.val *ᵥ toAdele ∘ ξ) p.2).1 p.1) (w, i) | |
| 270 | + | |
| 271 | +/-- A nonzero rational vector `ξ` has positive length `frameLength z ξ`, the Euclidean norm of | |
| 272 | +`z⁻¹ ξ` at all infinite places together. -/ | |
| 273 | +lemma frameLength_pos (z : GL n (𝔸 E)) {ξ : n → E} (hξ : ξ ≠ 0) : 0 < frameLength z ξ := by | |
| 274 | + -- If the length vanishes, so does `ξ = z (z⁻¹ ξ)` at the infinite places. | |
| 275 | + refine lt_of_not_ge fun h_le ↦ hξ (funext fun i ↦ ?_) | |
| 276 | + obtain ⟨w⟩ : Nonempty (InfinitePlace E) := inferInstance | |
| 277 | + have h_coord : evalInf w ∘ (z⁻¹.val *ᵥ toAdele ∘ ξ) = 0 := | |
| 278 | + funext fun j ↦ norm_le_zero_iff.1 ((norm_apply_le_frameLength z ξ w j).trans h_le) | |
| 279 | + have h_frame := (evalInf w).map_mulVec z.val (z⁻¹.val *ᵥ toAdele ∘ ξ) i | |
| 280 | + rw [h_coord, mulVec_zero] at h_frame | |
| 281 | + simpa using h_frame | |
| 282 | + | |
| 283 | +/-- The archimedean space `(E ⊗_ℚ ℝ) ^ n ≅ n → InfinitePlace E → ℂ`. -/ | |
| 284 | +private abbrev ArchSpace (E n : Type*) [Field E] := n → InfinitePlace E → ℂ | |
| 285 | + | |
| 286 | +/-- Action of the infinite component of `z⁻¹` on `ArchSpace E n`. -/ | |
| 287 | +private def archEquiv (z : GL n (𝔸 E)) : ArchSpace E n ≃ₗ[InfinitePlace E → ℂ] ArchSpace E n := | |
| 288 | + (GeneralLinearGroup.toLin (z.map (RingHom.fst _ (𝔸f E)))⁻¹).toLinearEquiv | |
| 289 | + | |
| 290 | +/-- Archimedean coordinates `ξ ↦ (z⁻¹ ξ)_∞`, viewed as a `ℚ`-linear map into `ℂ ^ (f × n)`. -/ | |
| 291 | +private def archMap (z : GL n (𝔸 E)) : (n → E) →ₗ[ℚ] ArchSpace E n := | |
| 292 | + (archEquiv z).toLinearMap.restrictScalars ℚ ∘ₗ | |
| 293 | + (RingHom.pi Φ).toAddMonoidHom.toRatLinearMap.compLeft n | |
| 294 | + | |
| 295 | +private lemma archMap_apply (z : GL n (𝔸 E)) (ξ : n → E) (i : n) : | |
| 296 | + archMap z ξ i = ((z⁻¹.val *ᵥ toAdele ∘ ξ) i).1 := | |
| 297 | + funext fun w ↦ by | |
| 298 | + simp [archMap, archEquiv, GeneralLinearGroup.toLin, mulVec, dotProduct, fst_sum, ← map_inv, | |
| 299 | + -Units.val_inv_eq_inv_val] | |
| 300 | + | |
| 301 | +private lemma archMap_injective (z : GL n (𝔸 E)) : Injective (archMap z) := | |
| 302 | + (archEquiv z).injective.comp fun _ _ h ↦ funext fun i ↦ (RingHom.pi Φ).injective (congrFun h i) | |
| 303 | + | |
| 304 | +/-- The additive map `ξ ↦ z⁻¹ ξ` from `n → E` to `n → 𝔸 E`. -/ | |
| 305 | +private def frameMap (z : GL n (𝔸 E)) : (n → E) →+ (n → 𝔸 E) := | |
| 306 | + z⁻¹.val.mulVecLin.toAddMonoidHom.comp (toAdele.toAddMonoidHom.compLeft n) | |
| 307 | + | |
| 308 | +/-- The lattice `frameLattice z` viewed as a `ℤ`-submodule of `n → E`. -/ | |
| 309 | +private def frameLatticeSubmodule (z : GL n (𝔸 E)) : Submodule ℤ (n → E) := | |
| 310 | + ((AddSubgroup.pi Set.univ fun _ : n ↦ | |
| 311 | + (Ô E).toAddSubgroup.comap (AddMonoidHom.snd _ _)).comap (frameMap z)).toIntSubmodule | |
| 312 | + | |
| 313 | +/-- The archimedean image of `frameLattice z` as a `ℤ`-submodule of `ArchSpace E n`. -/ | |
| 314 | +private abbrev archLattice (z : GL n (𝔸 E)) : Submodule ℤ (ArchSpace E n) := | |
| 315 | + (frameLatticeSubmodule z).map ((archMap z).restrictScalars ℤ) | |
| 316 | + | |
| 317 | +private instance (z : GL n (𝔸 E)) : DiscreteTopology (archLattice z) := by | |
| 318 | + refine continuous_subtypeVal.discrete_of_tendsto_cofinite_cocompact | |
| 319 | + (tendsto_cofinite_cocompact_iff.mpr fun C hC ↦ ?_) | |
| 320 | + let K : Set (n → 𝔸 E) := | |
| 321 | + (fun p : ArchSpace E n × (n → 𝔸f E) ↦ z.val *ᵥ fun i ↦ (p.1 i, p.2 i)) '' | |
| 322 | + (C ×ˢ Set.univ.pi fun _ : n ↦ (Ô E : Set (𝔸f E))) | |
| 323 | + have hK : IsCompact K := (hC.prod (isCompact_univ_pi fun _ ↦ isCompact_Ô)).image (by fun_prop) | |
| 324 | + have h_fin : (Subtype.val ⁻¹' (archMap z '' {ξ : n → E | toAdele ∘ ξ ∈ K}) : | |
| 325 | + Set (archLattice z)).Finite := | |
| 326 | + ((isCovolOneLattice_ratVectors.finite_preimage hK).image (archMap z)).preimage | |
| 327 | + Subtype.val_injective.injOn | |
| 328 | + refine h_fin.subset ?_ | |
| 329 | + rintro ⟨_, ξ, hξ, rfl⟩ hCξ | |
| 330 | + exact ⟨ξ, ⟨(archMap z ξ, fun i ↦ (frameMap z ξ i).2), ⟨hCξ, fun i _ ↦ hξ i trivial⟩, | |
| 331 | + by simp [frameMap, AddMonoidHom.compLeft, archMap_apply]⟩, rfl⟩ | |
| 332 | + | |
| 333 | +private instance (z : GL n (𝔸 E)) : IsZLattice ℝ (archLattice z) := by | |
| 334 | + have h_dense : DenseRange (archMap z) := | |
| 335 | + (archEquiv z).surjective.denseRange.comp (.piMap fun _ ↦ denseRange_Φ) | |
| 336 | + ((archEquiv z).toLinearMap.restrictScalars ℝ).continuous_of_finiteDimensional | |
| 337 | + refine ⟨Submodule.eq_top_iff'.mpr (isClosed_property h_dense | |
| 338 | + (Submodule.isClosed_of_finiteDimensional _) fun ξ ↦ ?_)⟩ | |
| 339 | + obtain ⟨N, hN, h_int⟩ := exists_forall_mul_mem_Ô fun i : n ↦ (frameMap z ξ i).2 | |
| 340 | + have h_lat : N • ξ ∈ frameLatticeSubmodule z := fun i _ ↦ by | |
| 341 | + change (frameMap z (N • ξ) i).2 ∈ Ô E | |
| 342 | + rw [map_nsmul] | |
| 343 | + simpa [← Nat.cast_smul_eq_nsmul (𝔸f E)] using h_int i | |
| 344 | + have h_mem : (N : ℝ) • archMap z ξ ∈ archLattice z := | |
| 345 | + ⟨N • ξ, h_lat, by rw [LinearMap.restrictScalars_apply, map_nsmul, Nat.cast_smul_eq_nsmul]⟩ | |
| 346 | + exact (Submodule.smul_mem_iff _ (Nat.cast_ne_zero.2 hN)).1 (Submodule.subset_span h_mem) | |
| 347 | + | |
| 348 | +open MeasureTheory MeasurableEquiv in | |
| 349 | +/-- Let `z ∈ GL n (𝔸 E)` and let `F` be the fundamental domain of `archLattice z` for a `ℤ`-basis | |
| 350 | +of it. For every adelic vector `x`, at most one rational vector `ξ` has `z⁻¹ (ξ + x)` in | |
| 351 | +`F × Ô ^ n`. -/ | |
| 352 | +private lemma subsingleton_setOf_inv_mulVec_add_mem (z : GL n (𝔸 E)) (x : n → 𝔸 E) : | |
| 353 | + {ξ : n → E | z⁻¹.val *ᵥ (toAdele ∘ ξ + x) ∈ (arrowProdEquivProdArrow _ _ n ⁻¹' | |
| 354 | + (ZSpan.fundamentalDomain ((Module.finBasis ℤ (archLattice z)).ofZLatticeBasis ℝ | |
| 355 | + (archLattice z)) ×ˢ Set.univ.pi fun _ : n ↦ (Ô E : Set (𝔸f E))) : | |
| 356 | + Set (n → 𝔸 E))}.Subsingleton := by | |
| 357 | + let b := Module.finBasis ℤ (archLattice z) | |
| 358 | + let β := b.ofZLatticeBasis ℝ (archLattice z) | |
| 359 | + let F : Set (ArchSpace E n) := ZSpan.fundamentalDomain β | |
| 360 | + intro ξ₁ h₁ ξ₂ h₂ | |
| 361 | + let y (ξ : n → E) : n → 𝔸 E := z⁻¹.val *ᵥ (toAdele ∘ ξ + x) | |
| 362 | + have h_diff : y ξ₁ - y ξ₂ = frameMap z (ξ₁ - ξ₂) := by | |
| 363 | + simp [y, frameMap, map_sub, AddMonoidHom.compLeft, mulVec_add] | |
| 364 | + have h_fin : ξ₁ - ξ₂ ∈ frameLatticeSubmodule z := fun i _ ↦ by | |
| 365 | + change (frameMap z (ξ₁ - ξ₂) i).2 ∈ Ô E | |
| 366 | + rw [← h_diff] | |
| 367 | + exact (Ô E).sub_mem (h₁.2 i trivial) (h₂.2 i trivial) | |
| 368 | + have h_lat : archMap z (ξ₁ - ξ₂) ∈ Submodule.span ℤ (Set.range β) := by | |
| 369 | + rw [b.ofZLatticeBasis_span ℝ] | |
| 370 | + exact ⟨ξ₁ - ξ₂, h_fin, rfl⟩ | |
| 371 | + have h_mem₁ : (fun i ↦ (y ξ₁ i).1) - 0 ∈ F := by | |
| 372 | + rw [sub_zero] | |
| 373 | + exact h₁.1 | |
| 374 | + have h_mem₂ : (fun i ↦ (y ξ₁ i).1) - archMap z (ξ₁ - ξ₂) ∈ F := by | |
| 375 | + have h_eq : (fun i ↦ (y ξ₁ i).1) - archMap z (ξ₁ - ξ₂) = fun i ↦ (y ξ₂ i).1 := by | |
| 376 | + funext i | |
| 377 | + rw [Pi.sub_apply, archMap_apply] | |
| 378 | + change (y ξ₁ i).1 - (frameMap z (ξ₁ - ξ₂) i).1 = (y ξ₂ i).1 | |
| 379 | + rw [← h_diff] | |
| 380 | + simp | |
| 381 | + rw [h_eq] | |
| 382 | + exact h₂.1 | |
| 383 | + have h_zero : 0 = archMap z (ξ₁ - ξ₂) := | |
| 384 | + ZSpan.eq_of_sub_mem_fundamentalDomain β (zero_mem _) h_lat h_mem₁ h_mem₂ | |
| 385 | + exact sub_eq_zero.1 ((map_eq_zero_iff (archMap z) (archMap_injective z)).1 h_zero.symm) | |
| 386 | + | |
| 387 | +open MeasureTheory MeasurableEquiv in | |
| 388 | +/-- The covolume of `archLattice z` satisfies `|det z| * covolume (archLattice z) ≤ | |
| 389 | +(rd / 2) ^ (f n)`, obtained by unfolding `F × Ô ^ n` over `𝔸 ^ n / E ^ n` for a fundamental domain | |
| 390 | +`F` of `archLattice z`. -/ | |
| 391 | +private lemma ideleAbs_det_mul_covolume_le (z : GL n (𝔸 E)) : | |
| 392 | + ideleAbs z.det * ZLattice.covolume (archLattice z) ≤ | |
| 393 | + ((rootDiscr E / 2) ^ numInfPlaces E) ^ card n := by | |
| 394 | + -- A fundamental domain `F` of `archLattice z` times `Ô ^ n` contains `z⁻¹ (ξ + x)` for at most | |
| 395 | + -- one rational `ξ`, so `lintegral_encard_rat_points` bounds `|det z| * covolume * volÔ ^ n ≤ 1`. | |
| 396 | + let b := Module.finBasis ℤ (archLattice z) | |
| 397 | + let β := b.ofZLatticeBasis ℝ (archLattice z) | |
| 398 | + let F : Set (ArchSpace E n) := ZSpan.fundamentalDomain β | |
| 399 | + let S : Set (n → 𝔸 E) := | |
| 400 | + arrowProdEquivProdArrow _ _ n ⁻¹' (F ×ˢ Set.univ.pi fun _ : n ↦ (Ô E : Set (𝔸f E))) | |
| 401 | + have hS : MeasurableSet S := (arrowProdEquivProdArrow ..).measurable | |
| 402 | + ((ZSpan.fundamentalDomain_measurableSet _).prod (.univ_pi fun _ ↦ isOpen_Ô.measurableSet)) | |
| 403 | + have h_vol : (ENNReal.ofReal (ideleAbs z.det) * volume S).toReal ≤ 1 := | |
| 404 | + ENNReal.toReal_mono ENNReal.one_ne_top <| | |
| 405 | + (lintegral_encard_rat_points z hS).trans_le <| lintegral_le_const <| | |
| 406 | + .of_forall fun x ↦ mod_cast Set.encard_le_one_iff_subsingleton.2 | |
| 407 | + (subsingleton_setOf_inv_mulVec_add_mem z x) | |
| 408 | + rw [ENNReal.toReal_mul, ENNReal.toReal_ofReal ideleAbs_pos.le, | |
| 409 | + (volume_measurePreserving_arrowProdEquivProdArrow ..).measure_preimage_equiv, | |
| 410 | + Measure.volume_eq_prod, Measure.prod_prod, volume_pi_pi, Finset.prod_const, Finset.card_univ, | |
| 411 | + volume_Ô, ENNReal.toReal_mul, ENNReal.toReal_pow, ENNReal.coe_toReal, volÔ_eq, inv_pow, | |
| 412 | + ← mul_assoc] at h_vol | |
| 413 | + rw [ZLattice.covolume_eq_measure_fundamentalDomain _ volume (ZLattice.isAddFundamentalDomain b _)] | |
| 414 | + simpa [F, β, Measure.real] using (mul_inv_le_iff₀ (by positivity [rootDiscr_pos E])).1 h_vol | |
| 415 | + | |
| 416 | +open MeasureTheory in | |
| 417 | +/-- Minkowski's second theorem over `E`. For `z` in `GL n (𝔸 E)` the lattice `frameLattice z`, of | |
| 418 | +the rational `ξ` with `z⁻¹ ξ` integral at the finite places, contains a basis `y 0, …, y (n - 1)` | |
| 419 | +of `E ^ n`, ordered by length, with `|det z| * ∏ j, ‖y j‖ ^ (2 f) ≤ (2 f n rd) ^ (f n)`. Here | |
| 420 | +`‖ξ‖ = frameLength z ξ` is the Euclidean norm of `z⁻¹ ξ` at all infinite places together, `f` is | |
| 421 | +the number of infinite places, `n` stands for `card n`, `rd` is the root discriminant and | |
| 422 | +`|det z|` the adelic absolute value. Only the upper bound of the theorem is proved. -/ | |
| 423 | +theorem minkowski_second_theorem (z : GL n (𝔸 E)) : | |
| 424 | + ∃ y : Fin (Fintype.card n) → n → E, | |
| 425 | + LinearIndependent E y ∧ | |
| 426 | + (∀ j : Fin (Fintype.card n), y j ∈ frameLattice z) ∧ | |
| 427 | + (Monotone fun j : Fin (Fintype.card n) ↦ frameLength z (y j)) ∧ | |
| 428 | + ideleAbs z.det * ∏ j : Fin (Fintype.card n), frameLength z (y j) ^ (2 * numInfPlaces E) ≤ | |
| 429 | + (2 * (numInfPlaces E * Fintype.card n) * rootDiscr E) ^ | |
| 430 | + (numInfPlaces E * Fintype.card n) := by | |
| 431 | + -- Take a real basis of `archLattice z` attaining the successive minima of the sup-norm unit ball. | |
| 432 | + let K : ConvexBody (ArchSpace E n) := .closedUnitBall _ | |
| 433 | + have hK0 : (0 : ArchSpace E n) ∈ interior (K : Set (ArchSpace E n)) := | |
| 434 | + ConvexBody.zero_mem_interior_of_coe_eq_closedBall ConvexBody.coe_closedUnitBall | |
| 435 | + have h_dim : Module.finrank ℝ (ArchSpace E n) = Module.finrank ℚ E * card n := by | |
| 436 | + simp [ArchSpace, Module.finrank_pi_fintype, Complex.finrank_real_complex, | |
| 437 | + finrank_eq_two_mul_card_infinitePlace, numInfPlaces, mul_comm] | |
| 438 | + let e_dim := Fin.castOrderIso h_dim.symm | |
| 439 | + obtain ⟨w, hwL, -, hwK, -⟩ := ZLattice.exists_basis_gauge_eq_successiveMin (archLattice z) hK0 | |
| 440 | + choose u hu_mem hu_eq using fun r ↦ Submodule.mem_map.1 (hwL (e_dim r)) | |
| 441 | + simp only [LinearMap.restrictScalars_apply] at hu_eq | |
| 442 | + -- Extract `card n` vectors independent over `E` with sup-norm product controlled by the minima. | |
| 443 | + have h_indep : LinearIndependent ℝ (archMap z ∘ u) := by | |
| 444 | + simpa [Function.comp_def, hu_eq] using w.linearIndependent.comp e_dim e_dim.injective | |
| 445 | + have h_norm (r : Fin (Module.finrank ℚ E * card n)) : | |
| 446 | + ‖archMap z (u r)‖ ≤ ZLattice.successiveMin (archLattice z) K (e_dim r) := by | |
| 447 | + rw [hu_eq r] | |
| 448 | + exact (ConvexBody.mem_smul_iff_norm_le_of_coe_eq_closedBall ConvexBody.coe_closedUnitBall | |
| 449 | + (ZLattice.successiveMin_nonneg _ _ _)).1 (hwK (e_dim r)) | |
| 450 | + obtain ⟨s, hs_indep, -, hs_prod⟩ := | |
| 451 | + TauCeti.exists_linearIndependent_comp_finrank_mul_prod_pow_le (F := ℚ) (K := E) (E := ℝ) | |
| 452 | + (f := archMap z) (u := u) h_indep (fun _ ↦ norm_nonneg _) h_norm | |
| 453 | + ((ZLattice.monotone_successiveMin (archLattice z) hK0).comp e_dim.monotone) | |
| 454 | + let σ := Tuple.sort fun j ↦ frameLength z (u (s j)) | |
| 455 | + refine ⟨u ∘ s ∘ σ, hs_indep.comp σ σ.injective, fun j i ↦ hu_mem (s (σ j)) i trivial, | |
| 456 | + Tuple.monotone_sort fun k ↦ frameLength z (u (s k)), ?_⟩ | |
| 457 | + -- Compare `frameLength` with the sup norm and apply Minkowski's 2nd theorem to `archLattice z`. | |
| 458 | + set f := numInfPlaces E with hf | |
| 459 | + have h_l2 (ξ : n → E) : frameLength z ξ ^ 2 ≤ (f * card n : ℝ) * ‖archMap z ξ‖ ^ 2 := by | |
| 460 | + rw [frameLength, PiLp.norm_sq_eq_of_L2] | |
| 461 | + exact (Finset.sum_le_sum fun p _ ↦ pow_le_pow_left₀ (norm_nonneg _) | |
| 462 | + (by simpa [archMap_apply] using | |
| 463 | + (norm_le_pi_norm _ p.1).trans (norm_le_pi_norm (archMap z ξ) p.2)) | |
| 464 | + 2).trans_eq (by simp [f, mul_assoc]) | |
| 465 | + have h_volK : 1 ≤ volume.real (K : Set (ArchSpace E n)) := by | |
| 466 | + simpa [K, Measure.real, ArchSpace, volume_pi, closedBall_pi _ zero_le_one, | |
| 467 | + NNReal.coe_real_pi] using one_le_pow₀ (one_le_pow₀ (by linarith [Real.two_le_pi])) | |
| 468 | + have h_two_pow : (2 : ℝ) ^ Module.finrank ℝ (ArchSpace E n) = 4 ^ (f * card n) := by | |
| 469 | + rw [h_dim, finrank_eq_two_mul_card_infinitePlace, ← hf, mul_assoc 2, pow_mul] | |
| 470 | + norm_num | |
| 471 | + have h_symm : ∀ x ∈ K, -x ∈ K := fun x hx ↦ by | |
| 472 | + simpa [← SetLike.mem_coe, K] using hx | |
| 473 | + have h_min : ∏ i, ZLattice.successiveMin (archLattice z) K i ≤ | |
| 474 | + 4 ^ (f * card n) * ZLattice.covolume (archLattice z) := | |
| 475 | + (le_mul_of_one_le_right (Finset.prod_nonneg fun i _ ↦ ZLattice.successiveMin_nonneg _ _ i) | |
| 476 | + h_volK).trans ((ZLattice.prod_successiveMin_mul_measureReal_le_two_pow_mul_covolume | |
| 477 | + (archLattice z) volume h_symm).trans_eq (by rw [h_two_pow])) | |
| 478 | + dsimp only [Function.comp_apply] | |
| 479 | + rw [Equiv.prod_comp σ fun j ↦ frameLength z (u (s j)) ^ (2 * f)] | |
| 480 | + have h_det_nonneg : 0 ≤ ideleAbs z.det := ideleAbs_pos.le | |
| 481 | + calc ideleAbs z.det * ∏ j, frameLength z (u (s j)) ^ (2 * f) | |
| 482 | + ≤ ideleAbs z.det * ∏ j, ((f * card n : ℝ) * ‖archMap z (u (s j))‖ ^ 2) ^ f := | |
| 483 | + mul_le_mul_of_nonneg_left (Finset.prod_le_prod₀ | |
| 484 | + (fun _ _ ↦ pow_nonneg (norm_nonneg _) _) fun j _ ↦ by | |
| 485 | + rw [pow_mul] | |
| 486 | + exact pow_le_pow_left₀ (sq_nonneg _) (h_l2 _) f) h_det_nonneg | |
| 487 | + _ = (f * card n : ℝ) ^ (f * card n) * | |
| 488 | + (ideleAbs z.det * (∏ j, ‖archMap z (u (s j))‖) ^ (2 * f)) := by | |
| 489 | + simp only [mul_pow, prod_mul_distrib, prod_const, card_univ, Fintype.card_fin, ← pow_mul, | |
| 490 | + mul_comm f, prod_pow] | |
| 491 | + ring | |
| 492 | + _ ≤ (f * card n : ℝ) ^ (f * card n) * | |
| 493 | + (4 ^ (f * card n) * (ideleAbs z.det * ZLattice.covolume (archLattice z))) := by | |
| 494 | + rw [hf, ← finrank_eq_two_mul_card_infinitePlace] | |
| 495 | + grw [hs_prod] | |
| 496 | + have h_reindex : (∏ l, ZLattice.successiveMin (archLattice z) K (e_dim l)) = | |
| 497 | + ∏ i, ZLattice.successiveMin (archLattice z) K i := e_dim.toEquiv.prod_comp _ | |
| 498 | + rw [h_reindex] | |
| 499 | + grw [h_min] | |
| 500 | + exact le_of_eq (by ring) | |
| 501 | + _ ≤ (2 * (f * card n) * rootDiscr E) ^ (f * card n) := by | |
| 502 | + grw [ideleAbs_det_mul_covolume_le] | |
| 503 | + rw [← hf, ← pow_mul, ← mul_pow, ← mul_pow] | |
| 504 | + exact le_of_eq (by ring) | |
| 505 | + | |
| 506 | +/-- Minkowski's second theorem with dyadic bounds. For `y` in `GL n (𝔸 E)` there are an invertible | |
| 507 | +matrix `Y` over `E` and integers `x j` such that each row `Y j` lies in `frameLattice y` (the | |
| 508 | +vectors `ξ ∈ Eⁿ` with `y⁻¹ ξ` integral at all finite places) and has `frameLength` at most | |
| 509 | +`2 ^ x j`, and `|det y| * (2 ^ (2 f)) ^ ∑ j, x j ≤ (8 f n rd) ^ (f n)`. Here `frameLength y ξ` is | |
| 510 | +the Euclidean norm of the coordinates of `y⁻¹ ξ` at all infinite places together, `f` is the number | |
| 511 | +of infinite places, `n` stands for `card n`, `rd` is the root discriminant and `|det y|` is the | |
| 512 | +adelic absolute value. -/ | |
| 513 | +theorem _root_.New.exists_basis_frameLength_le_two_zpow (y : GL n (𝔸 E)) : | |
| 514 | + ∃ (Y : Matrix n n E) (x : n → ℤ), | |
| 515 | + Y.det ≠ 0 ∧ | |
| 516 | + (∀ j : n, Y j ∈ frameLattice y) ∧ | |
| 517 | + (∀ j : n, frameLength y (Y j) ≤ 2 ^ x j) ∧ | |
| 518 | + ideleAbs y.det * (2 ^ (2 * numInfPlaces E)) ^ ∑ j : n, x j ≤ | |
| 519 | + (8 * (numInfPlaces E * Fintype.card n) * rootDiscr E) ^ | |
| 520 | + (numInfPlaces E * Fintype.card n) := by | |
| 521 | + -- Round the lengths of the basis of `minkowski_second_theorem` up to powers of `2`; this | |
| 522 | + -- at most doubles each of them. | |
| 523 | + obtain ⟨v, h_indep, h_mem, -, h_prod⟩ := minkowski_second_theorem y | |
| 524 | + let e : n ≃ Fin (card n) := equivFin n | |
| 525 | + let len (j : n) : ℝ := frameLength y (v (e j)) | |
| 526 | + have len_pos (j : n) : 0 < len j := frameLength_pos y (h_indep.ne_zero (e j)) | |
| 527 | + have pow_le (j : n) : (2 : ℝ) ^ clog 2 (len j) ≤ 2 * len j := by | |
| 528 | + have h_lt : (2 : ℝ) ^ (clog 2 (len j) - 1) < len j := | |
| 529 | + mod_cast zpow_pred_clog_lt_self one_lt_two (len_pos j) | |
| 530 | + rw [zpow_sub_one₀ two_ne_zero] at h_lt | |
| 531 | + linarith | |
| 532 | + have h_det : det (of fun j ↦ v (e j)) ≠ 0 := ((isUnit_iff_isUnit_det _).1 | |
| 533 | + (linearIndependent_row_iff_isUnit.1 (h_indep.comp e e.injective))).ne_zero | |
| 534 | + refine ⟨of fun j ↦ v (e j), fun j ↦ clog 2 (len j), h_det, fun j ↦ h_mem (e j), | |
| 535 | + fun j ↦ mod_cast self_le_zpow_clog one_lt_two (len j), ?_⟩ | |
| 536 | + set f : ℕ := numInfPlaces E | |
| 537 | + calc ideleAbs y.det * (2 ^ (2 * f)) ^ ∑ j : n, clog 2 (len j) | |
| 538 | + = ideleAbs y.det * ∏ j : n, ((2 : ℝ) ^ clog 2 (len j)) ^ (2 * f) := by | |
| 539 | + rw [prod_pow, ← DiscreteSeries.zpow_sum_of_ne_zero two_ne_zero, ← zpow_natCast, | |
| 540 | + ← zpow_natCast, zpow_comm] | |
| 541 | + _ ≤ ideleAbs y.det * ∏ j : n, (2 * len j) ^ (2 * f) := by | |
| 542 | + gcongr with j | |
| 543 | + exacts [ideleAbs_pos.le, pow_le j] | |
| 544 | + _ = 4 ^ (f * card n) * (ideleAbs y.det * ∏ j, frameLength y (v j) ^ (2 * f)) := by | |
| 545 | + simp only [mul_pow, prod_mul_distrib, prod_const, card_univ, len, ← e.prod_comp] | |
| 546 | + rw [pow_mul 2, ← pow_mul] | |
| 547 | + ring | |
| 548 | + _ ≤ 4 ^ (f * card n) * (2 * (f * card n) * rootDiscr E) ^ (f * card n) := by gcongr | |
| 549 | + _ = (8 * (f * card n) * rootDiscr E) ^ (f * card n) := by rw [← mul_pow]; ring | |
| 550 | + | |
| 551 | +open MeasureTheory ENNReal Set | |
| 552 | + | |
| 553 | +/-! ### Counting rational points -/ | |
| 554 | + | |
| 555 | +open Pointwise in | |
| 556 | +/-- Let `box` be the set of adelic vectors with entries of size at most `1` at infinity and | |
| 557 | +integral at the finite places, and let `t = twoAtInfinity E` be the idele that is `2` at infinity | |
| 558 | +and `1` at the finite places. If the vector of the `t ^ (-x i) * u i` lies in `B` and `v` lies in | |
| 559 | +`F`, then `u + v` multiplied by the inverse of the diagonal matrix of the `t ^ max (x i) 0` lies in | |
| 560 | +`box * B + box * F`. -/ | |
| 561 | +lemma dyadicDiag_toNat_inv_mulVec_add_mem {B F : Set (n → 𝔸 E)} (x : n → ℤ) {u v : n → 𝔸 E} | |
| 562 | + (hu : (fun i : n ↦ (twoAtInfinity E ^ (-x i)).val * u i) ∈ B) (hv : v ∈ F) : | |
| 563 | + (dyadicDiag fun i : n ↦ ((x i).toNat : ℤ))⁻¹.val *ᵥ (u + v) ∈ | |
| 564 | + (univ.pi fun _ : n ↦ (closedBall 0 1 ×ˢ Ô E : Set (𝔸 E))) * B + | |
| 565 | + (univ.pi fun _ : n ↦ (closedBall 0 1 ×ˢ Ô E : Set (𝔸 E))) * F := by | |
| 566 | + -- nonpositive powers of `twoAtInfinity E` lie in the box, and `-x⁺ = (-x⁺ + x) - x` | |
| 567 | + set box : Set (n → 𝔸 E) := univ.pi fun _ ↦ closedBall 0 1 ×ˢ Ô E | |
| 568 | + have pow_mem (m : n → ℤ) (hm : m ≤ 0) : (fun i ↦ (twoAtInfinity E ^ m i).val) ∈ box := by | |
| 569 | + simpa [box, field, twoAtInfinity, ← map_zpow, Pi.le_def] using hm | |
| 570 | + have h_eq : (dyadicDiag fun i ↦ ((x i).toNat : ℤ))⁻¹.val *ᵥ (u + v) = | |
| 571 | + (fun i ↦ (twoAtInfinity E ^ (-x⁺ + x) i).val) * | |
| 572 | + (fun i ↦ (twoAtInfinity E ^ (-x i)).val * u i) + | |
| 573 | + (fun i ↦ (twoAtInfinity E ^ (-x⁺) i).val) * v := by | |
| 574 | + ext1 i | |
| 575 | + simp only [dyadicDiag_inv_mulVec_apply, show ((x i).toNat : ℤ) = x⁺ i by simp [posPart], | |
| 576 | + Pi.add_apply, Pi.mul_apply, Pi.neg_apply, ← mul_assoc, ← Units.val_mul, ← _root_.zpow_add, | |
| 577 | + add_neg_cancel_right, mul_add] | |
| 578 | + rw [h_eq] | |
| 579 | + exact Set.add_mem_add (Set.mul_mem_mul (pow_mem _ (neg_add_nonpos_iff.2 (le_posPart x))) hu) | |
| 580 | + (Set.mul_mem_mul (pow_mem _ (neg_nonpos.2 (posPart_nonneg x))) hv) | |
| 581 | + | |
| 582 | +open Pointwise in | |
| 583 | +/-- Counting rational points in a box. For a compact set `B` of adelic vectors there is a finite `C` | |
| 584 | +with the following property. For every `x : n → ℤ`, let `f a` (`a ∈ S`) be a family of distinct | |
| 585 | +rational vectors such that the vector with entries `twoAtInfinity E ^ (-x i) * f a i` lies in `B` | |
| 586 | +for every `a`, where `twoAtInfinity E` is the idele that is `2` at infinity and `1` at the finite | |
| 587 | +places. Then the family has at most `C * ((2 ^ r) ^ ∑ i, max (x i) 0) ^ 2` members, with | |
| 588 | +`r = numInfPlaces E` the number of infinite places. -/ | |
| 589 | +lemma encard_le_of_dyadic_box {α : Type*} {B : Set (n → 𝔸 E)} (hB : IsCompact B) : | |
| 590 | + ∃ C : ℝ≥0∞, C ≠ ∞ ∧ | |
| 591 | + ∀ (x : n → ℤ) {S : Set α} (f : α → n → E), | |
| 592 | + (h_inj : InjOn f S) → | |
| 593 | + (h_mem : ∀ a ∈ S, (fun i : n ↦ (twoAtInfinity E ^ (-x i)).val * toAdele (f a i)) ∈ B) → | |
| 594 | + S.encard ≤ C * ENNReal.ofReal (((2 ^ numInfPlaces E) ^ ∑ i : n, (x i).toNat) ^ 2) := by | |
| 595 | + -- Let `F` be a compact set into which every `v` is moved by a rational vector. Translate the | |
| 596 | + -- points `f a` so that all land in `D K`, with `K = box * B + box * F` and `D = dyadicDiag x⁺`, | |
| 597 | + -- and count the rational points there on average (`lintegral_encard_rat_points`). | |
| 598 | + obtain ⟨F, hF, h_move⟩ := | |
| 599 | + IsCovolOneLattice.exists_compact_cover_of_range (ratVectors E n) rfl | |
| 600 | + let box : Set (n → 𝔸 E) := univ.pi fun _ ↦ closedBall 0 1 ×ˢ Ô E | |
| 601 | + let K : Set (n → 𝔸 E) := box * B + box * F | |
| 602 | + have hK : IsCompact K := | |
| 603 | + have h_box := isCompact_univ_pi fun _ ↦ isCompact_closedBall_prod_integral | |
| 604 | + (h_box.mul hB).add (h_box.mul hF) | |
| 605 | + refine ⟨volume K, hK.measure_ne_top, fun x S f h_inj h_mem ↦ ?_⟩ | |
| 606 | + let D : GL n (𝔸 E) := dyadicDiag fun i ↦ ((x i).toNat : ℤ) | |
| 607 | + -- for each shift `v`, add to the points `f a` the rational vector `ξ` that moves `v` into `F` | |
| 608 | + have h_count (v : n → 𝔸 E) : | |
| 609 | + S.encard ≤ {η : n → E | D⁻¹.val *ᵥ (toAdele ∘ η + v) ∈ K}.encard := by | |
| 610 | + obtain ⟨ξ, hξ⟩ := h_move v | |
| 611 | + refine encard_le_encard_of_injOn (f := fun a ↦ f a + ξ) (fun a ha ↦ ?_) | |
| 612 | + ((add_left_injective ξ).comp_injOn h_inj) | |
| 613 | + have h_add : toAdele ∘ (f a + ξ) + v = toAdele ∘ f a + (toAdele ∘ ξ + v) := by | |
| 614 | + simp [add_assoc] | |
| 615 | + rw [mem_ofPred_eq, h_add] | |
| 616 | + exact dyadicDiag_toNat_inv_mulVec_add_mem x (h_mem a ha) hξ | |
| 617 | + -- the mean of these counts over `v` is `|det D| * volume K` | |
| 618 | + rw [mul_comm (volume K), ← ideleAbs_det_dyadicDiag_natCast, | |
| 619 | + lintegral_encard_rat_points D hK.measurableSet] | |
| 620 | + exact (le_iInf fun v ↦ mod_cast h_count v).trans (iInf_le_lintegral _) | |
| 621 | + | |
| 622 | +end New.Core | |
| 623 | + | |
| 624 | +end MinkowskiSecond | |
| 625 | + | |
| 626 | +/-! ## Rational elements scaled into a compact set of adeles -/ | |
| 627 | + | |
| 628 | +open Pointwise in | |
| 629 | +/-- For a compact set `B` of adeles there is an integer `c` such that, for every integer `e < c`, an | |
| 630 | +element `a` of `E` (embedded diagonally by `toAdele`) that lies in `B` after multiplication by | |
| 631 | +`2 ^ (-e)` at the infinite places, that is by `twoAtInfinity E ^ (-e)`, is zero. -/ | |
| 632 | +lemma New.Core.exists_eq_zero_of_zpow_mul_mem {E : Type*} [Field E] [CMType E] {B : Set (𝔸 E)} | |
| 633 | + (hB : IsCompact B) : | |
| 634 | + ∃ c : ℤ, ∀ e : ℤ, e < c → ∀ {a : E}, | |
| 635 | + (twoAtInfinity E ^ (-e)).val * toAdele a ∈ B → a = 0 := by | |
| 636 | + -- The set `F` of rational points of `box * B` is finite, so some `N : ℕ` is not a quotient of two | |
| 637 | + -- of its elements. But for `e < -N` both `N * a` and `a` lie in `F`, which forces `a = 0`. | |
| 638 | + let box : Set (𝔸 E) := Metric.closedBall 0 1 ×ˢ Ô E | |
| 639 | + let F : Set E := {x | toAdele x ∈ box * B} | |
| 640 | + have F_finite : F.Finite := | |
| 641 | + finite_setOf_toAdele_mem (isCompact_closedBall_prod_integral.mul hB) | |
| 642 | + obtain ⟨N, hN⟩ : ∃ N : ℕ, (N : E) ∉ F / F := | |
| 643 | + ((F_finite.div F_finite).preimage_embedding Nat.castEmbedding).exists_notMem | |
| 644 | + refine ⟨-N, fun e he a ha ↦ by_contra fun ha_ne ↦ ?_⟩ | |
| 645 | + have h_multiple (k : ℕ) (hk : k * (2 : ℝ) ^ e ≤ 1) : k * a ∈ F := by | |
| 646 | + have h_box : k * (twoAtInfinity E ^ e).val ∈ box := by | |
| 647 | + simpa [box, twoAtInfinity, ← map_zpow, Pi.mul_def] using hk | |
| 648 | + -- `toAdele (k * a) = (k * 2 ^ e) * (2 ^ (-e) * a)` | |
| 649 | + simpa [F, mul_assoc] using Set.mul_mem_mul h_box ha | |
| 650 | + have h_scale : (N : ℝ) * 2 ^ e ≤ 2 ^ N * 2 ^ (-N : ℤ) := by | |
| 651 | + gcongr | |
| 652 | + exacts [mod_cast N.lt_two_pow_self.le, one_le_two] | |
| 653 | + have h_one : (2 : ℝ) ^ e ≤ 1 := zpow_le_one_of_nonpos₀ one_le_two (by lia) | |
| 654 | + have ha_mem : a ∈ F := by simpa using h_multiple 1 (by simpa using h_one) | |
| 655 | + exact hN ⟨N * a, h_multiple N (by simpa using h_scale), a, ha_mem, | |
| 656 | + mul_div_cancel_right₀ (N : E) ha_ne⟩ | |
| 657 | + | |
| 658 | +end | |