# The Siegel–Weil and Rallis formulas · Sernau readable

Sernau readable · `72fead102f663d5c7a407964a13dc0cf9d977207`

Lib.SiegelWeil is a readable-edition source group with 27 Lean files.

## Guides that cite this group

- [Nelson · GRH via exercises](https://riemannhypothesissolved.com/guides/nelson-exercises/) · 10 files
- [Bolan · The Alpöge–Claude argument for Dirichlet GRH](https://riemannhypothesissolved.com/guides/bolan/) · 14 files
- [Li · Alpöge’s proof of the generalized Riemann hypothesis for Dirichlet L-functions: a detailed exposition](https://riemannhypothesissolved.com/guides/yutian-li/)
- [Liu · The Rhythm of Primes](https://riemannhypothesissolved.com/guides/liu-rhythm-of-primes/)
- [Nguyen Duc · The GRH Lean Handbook](https://riemannhypothesissolved.com/guides/grh-lean-handbook/) · 25 files

[Verification of the shorter editions](https://riemannhypothesissolved.com/status/#shorter-editions)

## Group overview

**Written by AI, checked against the code**

`Lib.SiegelWeil.Formula.WeilRange` develops reduction theory for a hermitian space split into p hyperbolic planes and proves the formula for the specified unimodular pair over a CM field with `WeilData` when the other space has rank greater than 2p. ([Formula.WeilRange 5–12](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Formula/WeilRange.lean#L5-L12) · [Formula.WeilRange 44–47](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Formula/WeilRange.lean#L44-L47) · [Formula.WeilRange 745–764](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Formula/WeilRange.lean#L745-L764)) Its Siegel sets and summable bounds on zero terms enter the proof, whose formula expresses a theta mean as a sum of zero terms. ([Formula.WeilRange 16–25](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Formula/WeilRange.lean#L16-L25)) `Lib.SiegelWeil.Tower.ConstantTerm` studies the constant terms of the theta kernel and theta integral along an isotropic line. ([Tower.ConstantTerm 7–10](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/ConstantTerm.lean#L7-L10)) When the zero-vector term vanishes and the Iwasawa integrand is integrable, the integral of the constant-term sum, grouped by isotropic lines, equals a nonzero constant times an integral in Iwasawa coordinates. ([Tower.ConstantTerm 20–22](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/ConstantTerm.lean#L20-L22) · [Tower.ConstantTerm 664–684](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/ConstantTerm.lean#L664-L684))

## Member modules

- [Lagrangians, zero terms of the Weil representation and vanishing of dominated functionals](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Formula.LagrangianZeroTerms) · `Lib.SiegelWeil.Formula.LagrangianZeroTerms` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Formula.LagrangianZeroTerms/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Formula/LagrangianZeroTerms.lean)
- [Strong approximation and constancy of automorphic functions in equal rank](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Formula.StrongApproximation) · `Lib.SiegelWeil.Formula.StrongApproximation` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Formula.StrongApproximation/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Formula/StrongApproximation.lean)
- [Siegel sets and the Siegel–Weil formula in Weil's range](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Formula.WeilRange) · `Lib.SiegelWeil.Formula.WeilRange` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Formula.WeilRange/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Formula/WeilRange.lean)
- [Masses of definite hermitian lattices and ideal zeta bounds for adelic Gauss sums](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Mass) · `Lib.SiegelWeil.Mass` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Mass/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Mass.lean)
- [Neighbours of the standard lattice](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.NeighbourLattices) · `Lib.SiegelWeil.NeighbourLattices` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.NeighbourLattices/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/NeighbourLattices.lean)
- [Gauss sums of classes modulo a lattice at a finite place](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.OneVector.ClassGaussSums) · `Lib.SiegelWeil.OneVector.ClassGaussSums` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.OneVector.ClassGaussSums/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/OneVector/ClassGaussSums.lean)
- [Local measure bounds and local densities at a finite place](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.OneVector.FinitePlaceDensity) · `Lib.SiegelWeil.OneVector.FinitePlaceDensity` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.OneVector.FinitePlaceDensity/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/OneVector/FinitePlaceDensity.lean)
- [Classes modulo a lattice at a finite place](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.OneVector.ResidueClasses) · `Lib.SiegelWeil.OneVector.ResidueClasses` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.OneVector.ResidueClasses/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/OneVector/ResidueClasses.lean)
- [Bounds for local densities at finitely many finite places](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.OneVector.SemilocalDensityBounds) · `Lib.SiegelWeil.OneVector.SemilocalDensityBounds` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.OneVector.SemilocalDensityBounds/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/OneVector/SemilocalDensityBounds.lean)
- [Siegel–Weil for one vector, Siegel's class sum formula and the ratio of masses](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.OneVector.SiegelClassSum) · `Lib.SiegelWeil.OneVector.SiegelClassSum` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.OneVector.SiegelClassSum/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/OneVector/SiegelClassSum.lean)
- [The quadrics of the standard form at a finite place](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.OneVector.StandardQuadrics) · `Lib.SiegelWeil.OneVector.StandardQuadrics` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.OneVector.StandardQuadrics/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/OneVector/StandardQuadrics.lean)
- [Doubling: clean data, the doubling identity and the inner product formula](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.RallisInner.Doubling) · `Lib.SiegelWeil.RallisInner.Doubling` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.RallisInner.Doubling/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/RallisInner/Doubling.lean)
- [Rallis' inner product formula for sharp data and injectivity of the theta lift](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.RallisInner.SharpData) · `Lib.SiegelWeil.RallisInner.SharpData` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.RallisInner.SharpData/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/RallisInner/SharpData.lean)
- [Holomorphic Fock vectors and a reproducing formula by theta lifts](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Reproduction) · `Lib.SiegelWeil.Reproduction` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Reproduction/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Reproduction.lean)
- [Fourier coefficients along the centre of a unipotent radical and their partial means](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.SingularForms.CentreCoefficients) · `Lib.SiegelWeil.SingularForms.CentreCoefficients` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.SingularForms.CentreCoefficients/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/SingularForms/CentreCoefficients.lean)
- [Singular forms governed by unimodular coefficients](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.SingularForms.UnimodularCoefficients) · `Lib.SiegelWeil.SingularForms.UnimodularCoefficients` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.SingularForms.UnimodularCoefficients/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/SingularForms/UnimodularCoefficients.lean)
- [The constant term of a theta integral, unfolded along isotropic lines](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.ConstantTerm) · `Lib.SiegelWeil.Tower.ConstantTerm` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.ConstantTerm/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/ConstantTerm.lean)
- [Products of `L`-values and Tate's integral at the finite places](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.FiniteTateIntegral) · `Lib.SiegelWeil.Tower.FiniteTateIntegral` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.FiniteTateIntegral/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/FiniteTateIntegral.lean)
- [The functional equation of the `L`-function of a tamely ramified character](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.FunctionalEquation) · `Lib.SiegelWeil.Tower.FunctionalEquation` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.FunctionalEquation/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/FunctionalEquation.lean)
- [Removing a plane: the constant term on the side of the large space](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.LargeSideConstantTerm) · `Lib.SiegelWeil.Tower.LargeSideConstantTerm` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.LargeSideConstantTerm/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/LargeSideConstantTerm.lean)
- [Standard partners, shear invariance, Gauss sums along lines and coefficients of lifts](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.LineGaussSums) · `Lib.SiegelWeil.Tower.LineGaussSums` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.LineGaussSums/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/LineGaussSums.lean)
- [Coordinates on a line parabolic and Poisson's formula for terms along lines](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.LineTerms) · `Lib.SiegelWeil.Tower.LineTerms` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.LineTerms/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/LineTerms.lean)
- [Principal ideles and a majorant on the complex torus](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.PrincipalIdeles) · `Lib.SiegelWeil.Tower.PrincipalIdeles` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.PrincipalIdeles/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/PrincipalIdeles.lean)
- [The real cone integral](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.RealConeIntegral) · `Lib.SiegelWeil.Tower.RealConeIntegral` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.RealConeIntegral/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/RealConeIntegral.lean)
- [The test vector of the zeta integral](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.Tower.TestVector) · `Lib.SiegelWeil.Tower.TestVector` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.Tower.TestVector/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/Tower/TestVector.lean)
- [The series of translates weighted by the coefficients of the vacuum](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.UnramifiedSeries.RallisSeries) · `Lib.SiegelWeil.UnramifiedSeries.RallisSeries` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.UnramifiedSeries.RallisSeries/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/UnramifiedSeries/RallisSeries.lean)
- [Vacuum coefficients, coset representatives and the weight of steps through neighbours](https://riemannhypothesissolved.com/sernau/file/Lib.SiegelWeil.UnramifiedSeries.VacuumCoefficients) · `Lib.SiegelWeil.UnramifiedSeries.VacuumCoefficients` · [Read this file](https://riemannhypothesissolved.com/sernau/read/Lib.SiegelWeil.UnramifiedSeries.VacuumCoefficients/) · [Pinned source](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/SiegelWeil/UnramifiedSeries/VacuumCoefficients.lean)

[Pinned source tree](https://github.com/lsernau/grh-lean/tree/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src) · [Independent verification](https://math.mit.edu/~drew/shortgrh/)

---

The Siegel–Weil and Rallis formulas · Sernau readable. Web page: https://riemannhypothesissolved.com/sernau/group/lib-siegelweil/ · updated 2026-11-29 · site map for machines: https://riemannhypothesissolved.com/llms.txt
