# The record ThetaLocalInputs

## Statement

`ThetaLocalInputs` is a structure of the type `Prop` with fifty-three fields. Each field is a proof of one proposition, so a proof of the structure is the conjunction of fifty-three propositions. It has no parameters. All field types except one are in the namespace `GlobalTheory.Published`, the named statements of published results. The exception is `logDerOne`.

This step groups the fields by theme. The themes come from the names of the fields and of their types, by their names. This step does not unfold the field types, except `LogDerOne`.

**Theta correspondence and Weil representations (14 fields).** These fields give statements on the [[Weil representation|H3Q2703KKV]], the [[theta correspondence|6WB6TKE70H]] for [[unitary groups|0R9R0Y1HDK]], the Siegel-Weil formula and the doubling method.

- `weilSiegelFormulaUnitary : WeilSiegelFormulaUnitary`
- `rallisInnerProductConvergent : RallisInnerProductConvergent`
- `doublingMethod : DoublingMethodLocalZetaIntegrals`
- `unramifiedDoublingGL : UnramifiedDoublingGL`
- `realMetaplecticRepresentation : RealMetaplecticRepresentation`
- `gLHoweDuality : GLHoweDuality`
- `kudlaSplittingSplitUnitary : KudlaSplittingSplitUnitary`
- `metaplecticRepresentation : MetaplecticRepresentation`
- `stoneVonNeumann : StoneVonNeumann`
- `thetaRationalInvariance : ThetaRationalInvariance`
- `weilRepresentationUnitaryPair : WeilRepresentationUnitaryPair`
- `howeDualityReal : HoweDualityReal`
- `siegelSetUnitary : SiegelSetUnitary`
- `weilRepresentationExists : WeilRepresentationExists`

**Representations of $\mathrm{GL}_n$ and of finite groups (11 fields).**

- `greenSeriesSt : GreenSeriesSt`
- `cuspidalMirabolic : CuspidalMirabolic`
- `weylBranching : WeylBranching`
- `bernsteinUnitaryProductIrreducible : BernsteinUnitaryProductIrreducible`
- `zelevinskyPolynomialRing : ZelevinskyPolynomialRing`
- `bernsteinZelevinskyFiniteness : BernsteinZelevinskyFiniteness`
- `borelCasselman : BorelCasselman`
- `radfordShufflePolynomial : RadfordShufflePolynomial`
- `idealInvariantsOneOrbitSt : IdealInvariantsOneOrbitSt`
- `formalDegreeCompactDual : FormalDegreeCompactDual`
- `schurOrthogonalitySquareIntegrable : SchurOrthogonalitySquareIntegrable`

**Real groups, discrete series and Harish-Chandra modules (12 fields).**

- `kFiniteVectorsUnitary : KFiniteVectorsUnitary`
- `discreteSeriesLowestKType : DiscreteSeriesLowestKType`
- `holomorphicDiscreteSeries : HolomorphicDiscreteSeries`
- `gKGlobalisation : GKGlobalisation`
- `harishChandraModules : HarishChandraModules`
- `discreteSeriesCover : DiscreteSeriesCover`
- `discreteSeriesUpqExists : DiscreteSeriesUpqExists`
- `discreteSeriesHermitianUnique : DiscreteSeriesHermitianUnique`
- `discreteSeriesExists : DiscreteSeriesExists`
- `harishChandraFinite : HarishChandraFinite`
- `discreteSeriesCoverExists : DiscreteSeriesCoverExists`
- `casselmanWallach : CasselmanWallach`

**Automorphic forms (8 fields).** These fields give statements on [[cusp forms|SV5EEBF861]] (boundedness, decay, trace class) and on factorisation and strong approximation.

- `cuspTraceClass : CuspTraceClass`
- `flathFactorisation : FlathFactorisation`
- `dixmierMalliavinFactorisation : DixmierMalliavinFactorisation`
- `cuspBounded : CuspBounded`
- `strongApproxSU : StrongApproxSU`
- `cuspDecayBound : CuspDecayBound`
- `cuspRapidDecay : CuspRapidDecay`
- `cuspDecaySobolev : CuspDecaySobolev`

**Number theory, $L$-functions and Hermitian forms (8 fields).**

- `linnik : Linnik`
- `complexMultiplicationJSt : ComplexMultiplicationJSt`
- `heckeLPartialContinuation : HeckeLPartialContinuation`
- `logDerOne : GlobalTheory.Mem.An.LogDerOne`
- `heckeLEntireAndNonzeroAtOne : HeckeLEntireAndNonzeroAtOne`
- `quadraticClassFieldTheory : QuadraticClassFieldTheory`
- `hermitianLocalGlobal : HermitianLocalGlobal`
- `hermitianHassePrinciple : HermitianHassePrinciple`

The counts are $14 + 11 + 12 + 8 + 8 = 53$.

The one field type outside `GlobalTheory.Published` is `LogDerOne`. It says: there is a real $C$ such that for each integer $q > 1$ and each primitive Dirichlet character $\chi$ modulo $q$,

$$
\Bigl| \frac{L'(1, \chi)}{L(1, \chi)} - Z(\chi) \Bigr| \le C \log(3q),
$$

where $Z(\chi) = \sum_\rho m_\rho/(1-\rho)$. The sum is a finite sum (`finsum`) over the zeros $\rho$ of $L(s, \chi)$ with $0 < \mathrm{Re}\,\rho < 1$ and $|\mathrm{Im}\,\rho| \le 1$, and $m_\rho$ is the order of the zero at $\rho$.


## Lean

```lean
structure GlobalTheory.FunPr.ThetaLocalInputs : Prop
```

The declaration is in `Development/AutomorphicArithmetic/ThetaCorrespondence/ThetaPairLifts/LocalTypeDictionary/BernsteinUnitaryProductIrreducible.lean`, line 6. Its [page](/code/decl/?n=GlobalTheory.FunPr.ThetaLocalInputs) has the full list of what it uses and what uses it, and a link to the source.

## Proof

There is no proof. This is a structure definition. It only lists the fifty-three field types.

## Notes

The type `KudlaSplittingSplitUnitary` of the field `kudlaSplittingSplitUnitary` is proved in the code by the theorem `GlobalTheory.kudlaSplittingSplitUnitary`, and the type `WeilRepresentationUnitaryPair` is proved by the theorem `GlobalTheory.weilRepresentationUnitaryPair`. The structure still asks for both as fields. The dependency list shows these two theorems because their names are the same as two field names in the namespace `GlobalTheory`. The structure does not use them, so this step lists them as routine.

Many fields have the same names and types as fields of [the record UnitaryGroupThirdPlaceHypotheses](/step/unitary-group-third-place-hypotheses-def/), for example `cuspRapidDecay`, `doublingMethod`, `strongApproxSU` and `casselmanWallach`. The trunk takes both records as hypotheses, so it asks for these statements twice.

In the trunk, `ThetaLocalInputs` is the input $F$ of [HypsAlt is nonempty from the closed bound](/step/nonempty-hyps/). That proof reads the fields `siegelSetUnitary` and `howeDualityReal` and passes $F$ as a whole to several theorems. The theorem `UpperTheory.LiteratureTheorems.published_results_first` builds a value of the structure from `OpenLiteratureStatements`, with one theorem of the form `..._of_literature O` for each field. That theorem does not read its argument `O`. The code also proves `LogDerOne` alone, in the theorem `PositivityTheory.Prw.logDerOne_holds`.

## Uses


The proof also uses these declarations in a routine way, for example to unfold a definition or to pass an argument on: [`GlobalTheory.kudlaSplittingSplitUnitary`](/code/decl/?n=GlobalTheory.kudlaSplittingSplitUnitary), [`GlobalTheory.weilRepresentationUnitaryPair`](/code/decl/?n=GlobalTheory.weilRepresentationUnitaryPair).

The proof cites these declarations, but their steps are not written yet. The text above tells what each one gives: [`GlobalTheory.Mem.An.LogDerOne`](/code/decl/?n=GlobalTheory.Mem.An.LogDerOne), [`GlobalTheory.Published.BernsteinUnitaryProductIrreducible`](/code/decl/?n=GlobalTheory.Published.BernsteinUnitaryProductIrreducible), [`GlobalTheory.Published.BernsteinZelevinskyFiniteness`](/code/decl/?n=GlobalTheory.Published.BernsteinZelevinskyFiniteness), [`GlobalTheory.Published.BorelCasselman`](/code/decl/?n=GlobalTheory.Published.BorelCasselman), [`GlobalTheory.Published.CasselmanWallach`](/code/decl/?n=GlobalTheory.Published.CasselmanWallach), [`GlobalTheory.Published.ComplexMultiplicationJSt`](/code/decl/?n=GlobalTheory.Published.ComplexMultiplicationJSt), [`GlobalTheory.Published.CuspBounded`](/code/decl/?n=GlobalTheory.Published.CuspBounded), [`GlobalTheory.Published.CuspDecayBound`](/code/decl/?n=GlobalTheory.Published.CuspDecayBound), [`GlobalTheory.Published.CuspDecaySobolev`](/code/decl/?n=GlobalTheory.Published.CuspDecaySobolev), [`GlobalTheory.Published.CuspRapidDecay`](/code/decl/?n=GlobalTheory.Published.CuspRapidDecay), [`GlobalTheory.Published.CuspTraceClass`](/code/decl/?n=GlobalTheory.Published.CuspTraceClass), [`GlobalTheory.Published.CuspidalMirabolic`](/code/decl/?n=GlobalTheory.Published.CuspidalMirabolic), [`GlobalTheory.Published.DiscreteSeriesCover`](/code/decl/?n=GlobalTheory.Published.DiscreteSeriesCover), [`GlobalTheory.Published.DiscreteSeriesCoverExists`](/code/decl/?n=GlobalTheory.Published.DiscreteSeriesCoverExists), [`GlobalTheory.Published.DiscreteSeriesExists`](/code/decl/?n=GlobalTheory.Published.DiscreteSeriesExists), [`GlobalTheory.Published.DiscreteSeriesHermitianUnique`](/code/decl/?n=GlobalTheory.Published.DiscreteSeriesHermitianUnique), [`GlobalTheory.Published.DiscreteSeriesLowestKType`](/code/decl/?n=GlobalTheory.Published.DiscreteSeriesLowestKType), [`GlobalTheory.Published.DiscreteSeriesUpqExists`](/code/decl/?n=GlobalTheory.Published.DiscreteSeriesUpqExists), [`GlobalTheory.Published.DixmierMalliavinFactorisation`](/code/decl/?n=GlobalTheory.Published.DixmierMalliavinFactorisation), [`GlobalTheory.Published.DoublingMethodLocalZetaIntegrals`](/code/decl/?n=GlobalTheory.Published.DoublingMethodLocalZetaIntegrals), [`GlobalTheory.Published.FlathFactorisation`](/code/decl/?n=GlobalTheory.Published.FlathFactorisation), [`GlobalTheory.Published.FormalDegreeCompactDual`](/code/decl/?n=GlobalTheory.Published.FormalDegreeCompactDual), [`GlobalTheory.Published.GKGlobalisation`](/code/decl/?n=GlobalTheory.Published.GKGlobalisation), [`GlobalTheory.Published.GLHoweDuality`](/code/decl/?n=GlobalTheory.Published.GLHoweDuality), [`GlobalTheory.Published.GreenSeriesSt`](/code/decl/?n=GlobalTheory.Published.GreenSeriesSt), [`GlobalTheory.Published.HarishChandraFinite`](/code/decl/?n=GlobalTheory.Published.HarishChandraFinite), [`GlobalTheory.Published.HarishChandraModules`](/code/decl/?n=GlobalTheory.Published.HarishChandraModules), [`GlobalTheory.Published.HeckeLEntireAndNonzeroAtOne`](/code/decl/?n=GlobalTheory.Published.HeckeLEntireAndNonzeroAtOne), [`GlobalTheory.Published.HeckeLPartialContinuation`](/code/decl/?n=GlobalTheory.Published.HeckeLPartialContinuation), [`GlobalTheory.Published.HermitianHassePrinciple`](/code/decl/?n=GlobalTheory.Published.HermitianHassePrinciple), [`GlobalTheory.Published.HermitianLocalGlobal`](/code/decl/?n=GlobalTheory.Published.HermitianLocalGlobal), [`GlobalTheory.Published.HolomorphicDiscreteSeries`](/code/decl/?n=GlobalTheory.Published.HolomorphicDiscreteSeries), [`GlobalTheory.Published.HoweDualityReal`](/code/decl/?n=GlobalTheory.Published.HoweDualityReal), [`GlobalTheory.Published.IdealInvariantsOneOrbitSt`](/code/decl/?n=GlobalTheory.Published.IdealInvariantsOneOrbitSt), [`GlobalTheory.Published.KFiniteVectorsUnitary`](/code/decl/?n=GlobalTheory.Published.KFiniteVectorsUnitary), [`GlobalTheory.Published.KudlaSplittingSplitUnitary`](/code/decl/?n=GlobalTheory.Published.KudlaSplittingSplitUnitary), [`GlobalTheory.Published.Linnik`](/code/decl/?n=GlobalTheory.Published.Linnik), [`GlobalTheory.Published.MetaplecticRepresentation`](/code/decl/?n=GlobalTheory.Published.MetaplecticRepresentation), [`GlobalTheory.Published.QuadraticClassFieldTheory`](/code/decl/?n=GlobalTheory.Published.QuadraticClassFieldTheory), [`GlobalTheory.Published.RadfordShufflePolynomial`](/code/decl/?n=GlobalTheory.Published.RadfordShufflePolynomial), [`GlobalTheory.Published.RallisInnerProductConvergent`](/code/decl/?n=GlobalTheory.Published.RallisInnerProductConvergent), [`GlobalTheory.Published.RealMetaplecticRepresentation`](/code/decl/?n=GlobalTheory.Published.RealMetaplecticRepresentation), [`GlobalTheory.Published.SchurOrthogonalitySquareIntegrable`](/code/decl/?n=GlobalTheory.Published.SchurOrthogonalitySquareIntegrable), [`GlobalTheory.Published.SiegelSetUnitary`](/code/decl/?n=GlobalTheory.Published.SiegelSetUnitary), [`GlobalTheory.Published.StoneVonNeumann`](/code/decl/?n=GlobalTheory.Published.StoneVonNeumann), [`GlobalTheory.Published.StrongApproxSU`](/code/decl/?n=GlobalTheory.Published.StrongApproxSU), [`GlobalTheory.Published.ThetaRationalInvariance`](/code/decl/?n=GlobalTheory.Published.ThetaRationalInvariance), [`GlobalTheory.Published.UnramifiedDoublingGL`](/code/decl/?n=GlobalTheory.Published.UnramifiedDoublingGL), [`GlobalTheory.Published.WeilRepresentationExists`](/code/decl/?n=GlobalTheory.Published.WeilRepresentationExists), [`GlobalTheory.Published.WeilRepresentationUnitaryPair`](/code/decl/?n=GlobalTheory.Published.WeilRepresentationUnitaryPair), [`GlobalTheory.Published.WeilSiegelFormulaUnitary`](/code/decl/?n=GlobalTheory.Published.WeilSiegelFormulaUnitary), [`GlobalTheory.Published.WeylBranching`](/code/decl/?n=GlobalTheory.Published.WeylBranching), [`GlobalTheory.Published.ZelevinskyPolynomialRing`](/code/decl/?n=GlobalTheory.Published.ZelevinskyPolynomialRing).

## Used by

- [HypsAlt is nonempty from the closed bound](/step/nonempty-hyps/)
- [The bundle ThetaLocalInputs from the literature](/step/published-results-first/)
- [EveryCharacter from theta integrals and local matching](/step/theta-local-matching/)

## Status

Drafted. The text follows the Lean code, but no person has checked it against the code with the rules of spec 05.7 yet. If you check it, [tell us](https://github.com/tamnd/riemann/issues/new?template=error.yml).

A model wrote the first draft (`writer@claude-opus-5-5`). A person checks it before its status goes up.
