# Final assembly: GRH for Dirichlet L-functions, then the Riemann hypothesis: its Lean files in plain English

Written by AI from the Lean source at commit 40e56bab; each sentence checked against the code by a second pass.

Alpöge original · Cluster k2463 (https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/) · 34 Lean files, by distance from Main.lean · data: https://riemannhypothesissolved.com/api/file-lines/k2463.json

## Contents

- 2 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.SmallClassNumbers.CorGKOf](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.SmallClassNumbers.CorGKOf)
- 3 import steps from Main:
  - [Development.AutomorphicArithmetic.Foundations.GaloisRepresentations.IntegralStructures.RowSrc](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.Foundations.GaloisRepresentations.IntegralStructures.RowSrc)
- 4 import steps from Main:
  - [Development.AutomorphicArithmetic.CharacterBoxes.MainConclusion](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.CharacterBoxes.MainConclusion)
  - [Development.AutomorphicArithmetic.Foundations.GaloisRepresentations.ThetaParseval.ThetaKernels.TLiftK](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.Foundations.GaloisRepresentations.ThetaParseval.ThetaKernels.TLiftK)
- 5 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.VwinOfRow](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.VwinOfRow)
- 6 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TPCohC](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TPCohC)
- 7 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.CuspidalRankFourRegularAlgebraicTotallyComplex](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.CuspidalRankFourRegularAlgebraicTotallyComplex)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.AfBcPolar](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.AfBcPolar)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BirthAwChain](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BirthAwChain)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.EGIndAutCs](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.EGIndAutCs)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.ExistsPrimeIndex](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.ExistsPrimeIndex)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.Hypotheses4Z](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.Hypotheses4Z)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TwistConjugateSelfDual](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TwistConjugateSelfDual)
- 8 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.AbelianUnitPowers.Hypotheses2](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.AbelianUnitPowers.Hypotheses2)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.AbelianUnitPowers.Hypotheses4L](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.AbelianUnitPowers.Hypotheses4L)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.MixedUnitCongruences.MixedUnitPublishedTheorems](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.MixedUnitCongruences.MixedUnitPublishedTheorems)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.NewtonThorneSym](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.NewtonThorneSym)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwChain](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwChain)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwOne](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwOne)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwTw](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwTw)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.RankFourAutomorphyOfTensor](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.RankFourAutomorphyOfTensor)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.BaseChangeUnits.BaseChangeNorms.Hypotheses4Z](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.BaseChangeUnits.BaseChangeNorms.Hypotheses4Z)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BcUpCyc](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BcUpCyc)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BcUpSol](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BcUpSol)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SatK](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SatK)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TIsoOfFrob](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TIsoOfFrob)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TSelfTwGal](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TSelfTwGal)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TUpQuad](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TUpQuad)
- 9 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.OneUseOf](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.OneUseOf)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.BaseChangeUnits.LiftC](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.BaseChangeUnits.LiftC)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SVQuadBC](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SVQuadBC)
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TWeylC](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TWeylC)
- 10 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TSelfDualR](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TSelfDualR)
- 11 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SatakePolarizationOfCuspidalTransfer](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SatakePolarizationOfCuspidalTransfer)

## The files

### Development.AutomorphicArithmetic.AutomorphicVarieties.SmallClassNumbers.CorGKOf

2 import steps from Main · 29 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.SmallClassNumbers.CorGKOf)

**Proves polynomial bounds for logarithmically weighted sums of normalized Selmer lengths.**

The proof combines a rank-three congruence-number estimate with a character-by-character Selmer estimate derived using Kato’s vanishing, rigidity, and unramified automorphy. It assembles the local, automorphic, Galois-cohomological, and complex multiplication inputs from the literature and obtains the required hypotheses by patching with weak descent. The general bound specializes via the imaginary quadratic field of discriminant −3 to the trivial character modulo 2.

Key declarations:

- `UpperTheory.V.SmallClassNumbers.corGK_of`: Under the stated hypotheses, if at least one character with kernel H satisfies GD at each summed prime, all lengths in those kernel classes are finite and their log-weighted normalized sum is at most 2c₅ φ([(ℤ/Nℤ)× : H]) [N(e+1)]^A (log p + log p′) for distinct auxiliary primes p and p′ neither of which divides 30N|disc K|.

  ```lean
  theorem corGK_of (hH : UpperTheory.V.Af.HypothesesH') : U3.CorGK := …
  ```
- `UpperTheory.V.SmallClassNumbers.litN`: Establishes the rank-N literature hypothesis by assembling local, automorphic, Galois-cohomological, and complex multiplication inputs.

  ```lean
  theorem litN : GlobalTheory.Mem.LiteralAutomorphy.LiteratureRankNHypothesis := …
  ```
- `UpperTheory.V.SmallClassNumbers.corGK`: Establishes the general finiteness and weighted Selmer-length bound by supplying the hypotheses of the conditional result.

  ```lean
  theorem corGK : U3.CorGK := …
  ```
- `UpperTheory.V.SmallClassNumbers.bound`: For every positive even e, the Selmer lengths for the trivial character modulo 2 are finite at primes ℓ ≥ 5 with ℓ − 1 not dividing 2e, and their logarithmically weighted normalized sum over any finite set of such primes is bounded by C(e + 1)^A for uniform constants C and A.

  ```lean
  theorem bound : Bound := …
  ```

### Development.AutomorphicArithmetic.Foundations.GaloisRepresentations.IntegralStructures.RowSrc

3 import steps from Main · 8 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.Foundations.GaloisRepresentations.IntegralStructures.RowSrc)

**Proves a local–global compatibility statement for Galois representations attached to polarized cuspidal representations over CM fields.**

For a regular algebraic polarized cuspidal representation over a CM field, the theorem supplies a continuous semisimple ℓ-adic Galois representation with specified weight and local compatibility properties, using the reciprocity notion recT. It applies the Galois-representation theorem for a theta lift to the established theta-lift input. MainConclusion uses the result to establish EveryCharacter and then the Riemann hypothesis.

Key declarations:

- `UpperTheory.Gal.Int.galoisLocalGlobalStrong_recParameter`: For a positive-rank regular algebraic polarized cuspidal pair over a CM field, supplies a continuous semisimple ℓ-adic Galois representation and Hodge–Tate weight multisets, with recT comparisons in the zero-monodromy toral and sufficiently large split tame cases and crystallinity at spherical places above ℓ.

  ```lean
  theorem galoisLocalGlobalStrong_recParameter : UpperTheory.GalStar.Row0b recT := …
  ```

Blueprint: [Galois representations of polarized representations](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/chap-galois/thm-galois-reps-polarized.md) (Merten's blueprint) · [Producer of the Galois row](https://github.com/nasqret/riemann-rev/blob/6ccea03b21e96b70356c07afb85a88d581b61e86/data/model.json#L2031) (Naskręcki's atlas)

### Development.AutomorphicArithmetic.CharacterBoxes.MainConclusion

4 import steps from Main · 14 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.CharacterBoxes.MainConclusion)

**Proves right-half-plane nonvanishing for Dirichlet L-functions and deduces the Riemann hypothesis.**

For every positive modulus and every Dirichlet character, the associated L-function is nonzero in Re s > 1/2, with s = 1 excluded for the principal character. The proof uses a Galois local–global compatibility hypothesis to obtain the automorphy input for the nonvanishing theorem, supplies local Langlands parameter existence, and discharges the compatibility hypothesis with a theorem derived from a theta lift. It then applies the imported reduction to the Riemann hypothesis. Supplements.Kernels.MainTheorems uses the nonvanishing theorem to put every zero of a primitive Dirichlet L-function in the open critical strip on the critical line.

Key declarations:

- `UpperTheory.FinalTheorems.everyCharacter_of_row`: Derives right-half-plane nonvanishing for all Dirichlet L-functions from the Galois local–global compatibility hypothesis for the local Langlands parameters.

  ```lean
  theorem UpperTheory.FinalTheorems.everyCharacter_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.EveryCharacter := …
  ```
- `UpperTheory.FinalTheorems.everyCharacter`: Establishes L(s, χ) ≠ 0 for every Dirichlet character χ of positive modulus when Re s > 1/2 and either χ is nonprincipal or s ≠ 1.

  ```lean
  theorem UpperTheory.FinalTheorems.everyCharacter : UpperTheory.EveryCharacter := …
  ```
- `UpperTheory.FinalTheorems.riemannHypothesis`: Establishes that every nontrivial zero of the Riemann zeta function has real part 1/2.

  ```lean
  theorem UpperTheory.FinalTheorems.riemannHypothesis : RiemannHypothesis := …
  ```

Blueprint: [GRH from Galois representations](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/architecture/thm-grh-from-galois.md) (Merten's blueprint) · [GRH, half-plane form](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/main-theorems/thm-half-plane.md) (Merten's blueprint) · [The Riemann Hypothesis](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/main-theorems/thm-riemann-hypothesis.md) (Merten's blueprint) · [Closed half-plane assembly](https://github.com/nasqret/riemann-rev/blob/6ccea03b21e96b70356c07afb85a88d581b61e86/data/model.json#L1981) (Naskręcki's atlas) · [The half-plane theorem from one row](https://github.com/nasqret/riemann-rev/blob/6ccea03b21e96b70356c07afb85a88d581b61e86/data/model.json#L2005) (Naskręcki's atlas)

### Development.AutomorphicArithmetic.Foundations.GaloisRepresentations.ThetaParseval.ThetaKernels.TLiftK

4 import steps from Main · 5 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.Foundations.GaloisRepresentations.ThetaParseval.ThetaKernels.TLiftK)

**Supplies the theta-lift existence statement TLiftK.**

The theorem tLiftK applies tLift_holds_k to establish TLiftK. RowSrc passes tLiftK to galoisRepresentations_of_thetaLift to prove galoisLocalGlobalStrong_recParameter.

Key declarations:

- `UpperTheory.TP.K.tLiftK`: Under the stated CM, unitary-space, and character hypotheses, for every target rank d at or above a threshold, an automorphic representation with weights satisfying d + mW(w) ≤ 2λ(w)ₖ at every w and k admits a theta lift of rank d.

  ```lean
  theorem UpperTheory.TP.K.tLiftK : UpperTheory.TP.TLiftK := …
  ```

Blueprint: [Theta lifts from definite unitary groups do not vanish](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/chap-galois/sec-gal-assembly/thm-theta-lift-nonvanishing.md) (Merten's blueprint) · [Theta-lift existence at high rank](https://github.com/nasqret/riemann-rev/blob/6ccea03b21e96b70356c07afb85a88d581b61e86/data/model.json#L2081) (Naskręcki's atlas)

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.VwinOfRow

5 import steps from Main · 5 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.VwinOfRow)

**Derives the automorphic window from a Galois local–global compatibility hypothesis for local reciprocity.**

The proof uses the compatibility hypothesis both to supply the open-image condition and as the Galois input to the automorphic window theorem. It supplies isobaric base change from an imported theorem. MainConclusion uses the resulting window to obtain EveryCharacter and then derives the Riemann hypothesis from EveryCharacter.

Key declarations:

- `UpperTheory.One.vwin_of_row`: The Galois local–global compatibility hypothesis for the specified local reciprocity law implies the automorphic window VWin.

  ```lean
  theorem UpperTheory.One.vwin_of_row (h : UpperTheory.GalStar.Row0b fun h rc => UpperTheory.Zero.LLC.IsRecT h rc) : UpperTheory.Top.VWin := …
  ```

Blueprint: [The Tate–Shafarevich bound](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/chap-sha/thm-sha-bound/_section.md) (Merten's blueprint) · [Cohomological window from the row](https://github.com/nasqret/riemann-rev/blob/6ccea03b21e96b70356c07afb85a88d581b61e86/data/model.json#L2813) (Naskręcki's atlas)

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TPCohC

6 import steps from Main · 31 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TPCohC)

**Derives Clozel’s cohomological criterion with prescribed algebraic coefficients from the rank-N literature hypotheses.**

For a cuspidal representation of GL(n) over a totally complex number field, the proof uses infinitesimal-character matching with the dual of the prescribed coefficient representation to establish regular algebraicity. Clozel’s theorem yields cohomology for some algebraic coefficients, and Wigner vanishing forces the required character match. The proof then transports cohomology along an isomorphism to the prescribed coefficients. PublishedHypothesesFromPatching uses the result as its totally complex cohomological input.

Key declarations:

- `UpperTheory.V.Af.clozelCohC_alt`: Under the rank-N literature hypotheses, a cuspidal representation over a totally complex number field is cohomological with the prescribed algebraic coefficients when its infinitesimal character matches that of their dual at every complex embedding.

  ```lean
  theorem UpperTheory.V.Af.clozelCohC_alt :
      _root_.GlobalTheory.Mem.LiteralAutomorphy.LiteratureRankNHypothesis → UpperTheory.V.Published.ClozelCohC := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.CuspidalRankFourRegularAlgebraicTotallyComplex

7 import steps from Main · 24 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.CuspidalRankFourRegularAlgebraicTotallyComplex)

**Defines regular algebraicity with a uniform local window condition for rank-four cuspidal representations over totally complex fields.**

For a rank-four cuspidal representation over a totally complex number field, the predicate combines regular algebraicity with the existence of a single real parameter satisfying the local window condition at every finite place. Two elementary lemmas pass through the regular algebraicity hypothesis and form the conjunction, respectively. PotentialModularityTower uses the conjunction in its automorphy condition, and SeedOf4P supplies it using mkReg'.

Key declarations:

- `UpperTheory.V.Z.Win.Birth.CuspidalRankFourRegularAlgebraicTotallyComplex`: Requires a rank-four cuspidal representation over a totally complex number field to be regular algebraic and to satisfy the uniform local window condition.

  ```lean
  def CuspidalRankFourRegularAlgebraicTotallyComplex {L : Type} [Field L] [NumberField L] [IsTotallyComplex L] (π : CuspSub L 4) : Prop := (CG.mk π).IsRegAlg ∧ ImaginaryQuadraticEtaCharacter.AllWin π
  ```
- `UpperTheory.V.Z.Win.Birth.mkReg`: Given regular algebraicity and the uniform local window condition, yields the ordinary rank-four cuspidal regular algebraicity predicate.

  ```lean
  theorem mkReg {L : Type} [Field L] [NumberField L] [IsTotallyComplex L] {π : CuspSub L 4} (h : (CG.mk π).IsRegAlg) (_ : ImaginaryQuadraticEtaCharacter.AllWin π) :
      CuspidalRankFourRegularAlgebraic π := …
  ```
- `UpperTheory.V.Z.Win.Birth.mkReg'`: Given regular algebraicity and the uniform local window condition, constructs the predicate that requires both.

  ```lean
  theorem mkReg' {L : Type} [Field L] [NumberField L] [IsTotallyComplex L] {π : CuspSub L 4} (h : (CG.mk π).IsRegAlg) (u : ImaginaryQuadraticEtaCharacter.AllWin π) :
      CuspidalRankFourRegularAlgebraicTotallyComplex π := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.AfBcPolar

7 import steps from Main · 14 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.AfBcPolar)

**Rules out quadratic self-twists of cuspidal representations whose attached Galois representations stay irreducible over the extension.**

The theorem specializes the no-self-twist criterion using Frobenius comparison for the attached Galois representation and its quadratic sign twist, with Schur’s lemma on the irreducible restriction. PolarOfLift and TUpQuad use it to eliminate the self-twist alternative and obtain a cuspidal quadratic base change.

Key declarations:

- `UpperTheory.V.Af.Bc.noTwist_of_prints`: Under the stated automorphic hypotheses, a cuspidal representation of GL(n) over a totally real field has no self-twist by the Hecke character of a quadratic extension if its attached continuous ℓ-adic representation remains irreducible over that extension.

  ```lean
  theorem UpperTheory.V.Af.Bc.noTwist_of_prints (hP : _root_.UpperTheory.V.Af.Hypotheses') : NoTwist := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BirthAwChain

7 import steps from Main · 47 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BirthAwChain)

**Propagates local character bounds for rank-two automorphic Galois representations through base change and twisting.**

Under HypothesesH', a continuous rank-two Galois representation over a totally real field must restrict irreducibly to the top and have a regular algebraic cuspidal attachment with plain toral components or Satake data at each finite place. The proof uses quadratic CM base change, an algebraic twist and cyclic base change along a solvable tower. Each resulting regular algebraic cuspidal attachment has toral components and one exponent t such that at each finite place of residue cardinality q, cuspidal-support character values on uniformizers have modulus strictly between q^(t−1/2) and q^(t+1/2). BirthIndS and AutomorphicLiftGsp4OfInputs use the bounds for sphericity at nonsplit places.

Key declarations:

- `UpperTheory.V.Z.Win.Birth.awChain_of_printsH`: Under HypothesesH', a continuous rank-two Galois representation satisfying PR (a regular algebraic cuspidal attachment over the totally real base with plain toral components or Satake data at each finite place) and irreducible on restriction to the top has AllW after quadratic CM restriction, an algebraic character twist and solvable Galois restriction.

  ```lean
  theorem UpperTheory.V.Z.Win.Birth.awChain_of_printsH :
      _root_.UpperTheory.V.Af.HypothesesH' → UpperTheory.V.Z.Win.Birth.AwChain := …
  ```
- `contTwist`: Twisting a continuous matrix representation by a continuous character preserves continuity.

  ```lean
  private theorem contTwist {Γ k : Type} [Group Γ] [TopologicalSpace Γ] [IsTopologicalGroup Γ] [Field k] [TopologicalSpace k]
      [IsTopologicalRing k] {n : ℕ} {r : Γ →* GL (Fin n) k} {χ : Γ →* kˣ} (hr : Continuous r) (hχ : Continuous χ) :
      Continuous (tw r χ) := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.EGIndAutCs

7 import steps from Main · 42 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.EGIndAutCs)

**Derives regular algebraic cuspidal automorphy for semisimple rank-four Galois representations with quadratic induction data.**

The cuspidal induction hypothesis gives the induced representation’s infinitesimal character at each complex embedding as the multiset sum of the two rank-two characters above it, and distinctness of the four weights gives regular algebraicity. The induced Satake parameters identify the resulting cuspidal representation with the inverse cyclotomic twist of the given Galois representation. Twisting back gives automorphy in the original normalization. BirthTop and IndAutLOfSplit use the theorem as a rank-four automorphy input.

Key declarations:

- `UpperTheory.V.Z.InvariantSubmoduleMonicPolynomial.E.indAutCs_of_alt`: Given the automorphic and cuspidal induction hypotheses, a semisimple rank-four Galois representation with the characteristic polynomials of quadratic induction between totally complex number fields from an attached rank-two representation is regular algebraic cuspidal automorphic if the four weights above each complex embedding are distinct and every nonsplit finite place is unramified with Satake parameters for the rank-two input at every place above it.

  ```lean
  theorem UpperTheory.V.Z.InvariantSubmoduleMonicPolynomial.E.indAutCs_of_alt (hP : _root_.UpperTheory.V.Af.Hypotheses') (h : IndCs) : IndAutCs := …
  ```
- `infOf_two`: The normalized rank-two infinitesimal character consists of the two integer weights shifted by one half.

  ```lean
  private theorem infOf_two (m : Fin 2 → ℤ) : infOf m = {1 / 2 + (m 0 : ℂ), 1 / 2 + (m 1 : ℂ)} := …
  ```
- `infOf_add`: If the four integer weights are distinct, the union of the two normalized rank-two infinitesimal characters has no repetitions and lies in 3/2 + ℤ.

  ```lean
  private theorem infOf_add {m m' : Fin 2 → ℤ} (h : Function.Injective ![m 0, m 1, m' 0, m' 1]) :
      (infOf m + infOf m').Nodup ∧ ∀ z ∈ infOf m + infOf m', ∃ n : ℤ, z = (n : ℂ) + (((4 : ℕ) : ℂ) - 1) / 2 := …
  ```
- `tw_back`: Twisting by the inverse cyclotomic character and then by the cyclotomic character recovers the original representation.

  ```lean
  private theorem tw_back {F Ω : Type} [Field F] [NumberField F] [Field Ω] [Algebra F Ω] {l : ℕ} [Fact l.Prime]
      (R : G F Ω →* GL (Fin 4) (Qbar l)) : R = tw (tw R (cycBar F Ω l)⁻¹) (cycBar F Ω l ^ (1 : ℤ) * 1) := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.ExistsPrimeIndex

7 import steps from Main · 143 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.ExistsPrimeIndex)

**Proves rank-two base change with preservation of infinitesimal characters for solvable and real-to-complex quadratic extensions.**

Under Af.Hypotheses′ and the respective rank-two lifting hypotheses, both results start with a regular algebraic cuspidal representation attached to a continuous Galois representation and produce a regular algebraic cuspidal lift attached to its restriction when that restriction is irreducible. The solvable proof iterates prime-degree cyclic lifts using fixed fields of normal subgroups of prime index. Irreducibility rules out the self-twist alternative, and Frobenius compatibility identifies the restricted Galois data. AutNewformAOfEx applies the quadratic and solvable lifts in succession.

Key declarations:

- `UpperTheory.V.Z.Bc.upSolI_of_alt`: Under Af.Hypotheses′ and the prime-degree cyclic lifting hypothesis, if the continuous Galois representation attached to a rank-two regular algebraic cuspidal input stays irreducible along a solvable Galois extension of totally complex fields, there is a regular algebraic cuspidal lift attached to that restriction and preserving infinitesimal characters under pullback.

  ```lean
  theorem UpperTheory.V.Z.Bc.upSolI_of_alt :
      _root_.UpperTheory.V.Af.Hypotheses' → CyclicBaseChangeLiftRankTwo → UpSolI := …
  ```
- `UpperTheory.V.Z.Bc.upQuadI_of_alt`: Under Af.Hypotheses′ and the quadratic lifting hypothesis, if the continuous Galois representation attached to a rank-two regular algebraic cuspidal input over a totally real field stays irreducible over a totally complex quadratic extension, there is a regular algebraic cuspidal lift attached to that restriction and preserving infinitesimal characters under pullback.

  ```lean
  theorem UpperTheory.V.Z.Bc.upQuadI_of_alt (hP : _root_.UpperTheory.V.Af.Hypotheses') (h : QuadLiftRealToComplexRankTwo) : UpQuadI := …
  ```
- `upCycI`: Under Af.Hypotheses′ and CyclicBaseChangeLiftRankTwo, a rank-two regular algebraic cuspidal input with an attached continuous Galois representation admits a regular algebraic cuspidal lift with matching infinitesimal characters and Frobenius data along a prime-degree cyclic extension of totally complex fields when the restriction is irreducible.

  ```lean
  private theorem upCycI (hP : _root_.UpperTheory.V.Af.Hypotheses') (hL : CyclicBaseChangeLiftRankTwo) (F E Ω : Type) [Field F] [NumberField F] [IsTotallyComplex F] [Field E]
      [NumberField E] [IsTotallyComplex E] [Field Ω] [Algebra F E] [Algebra F Ω] [Algebra E Ω] [IsScalarTower F E Ω] [IsAlgClosure E Ω]
      [IsGalois F E] (l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (hp : (Module.finrank F E).Prime) (r : G F Ω →* GL (Fin 2) (Qbar l))
      (π : CuspSub F 2) (hr : Continuous r) (hreg : (CG.mk π).IsRegAlg) (hatt : AttC ι r π) (hirr : IsIrr (r.comp (galEmb F E Ω))) :
      ∃ P : CuspSub E 2, (CG.mk P).IsRegAlg ∧ AttC ι (r.comp (galEmb F E Ω)) P ∧
        ∀ (τ : E →+* ℂ) m, π.HasInfChar (τ.comp (algebraMap F E)) m → P.HasInfChar τ m := …
  ```
- `exists_prime_index`: Every nontrivial finite solvable group has a normal subgroup of prime index.

  ```lean
  private theorem exists_prime_index (Γ : Type) [Group Γ] [Finite Γ] [Nontrivial Γ] [Group.IsSolvable Γ] :
      ∃ M : Subgroup Γ, M.Normal ∧ M.index.Prime := …
  ```
- `algSat_pow`: Algebraic normalization of Satake parameters commutes with raising each parameter and the residue cardinality to the same power.

  ```lean
  private theorem algSat_pow (n q f : ℕ) (B : Multiset ℂˣ) :
      algSat n (q ^ f) (B.map (· ^ f)) = (algSat n q B).map (· ^ f) := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.Hypotheses4Z

7 import steps from Main · 15 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.Hypotheses4Z)

**Collects automorphy, weight-one Eisenstein, and auxiliary Hilbert modular form hypotheses in a single bundle.**

The bundle combines automorphy and descent hypotheses with a weight-one Hilbert Eisenstein existence statement and the existence of level-one Hilbert modular forms congruent to 1 at arbitrarily large weights. MPropMHol uses the two Hilbert modular form inputs in a product construction, and SeedIIZ uses that construction together with the automorphy hypotheses.

Key declarations:

- `UpperTheory.V.Z.Bc.Hypotheses4Z'`: Bundles the automorphy and descent hypotheses with the two Hilbert modular form inputs.

  ```lean
  structure Hypotheses4Z' : Prop where
    h : _root_.UpperTheory.V.Af.HypothesesH'
    eis : Published.HilbertEisOne
    one : Lit.OneUse
  ```
- `UpperTheory.V.Z.Bc.Hypotheses4Z'.h`: Supplies the automorphy hypotheses together with descent, cyclic base change, definite quaternion algebra existence, and semisimplicity inputs.

  ```lean
    h : _root_.UpperTheory.V.Af.HypothesesH'
  ```
- `UpperTheory.V.Z.Bc.Hypotheses4Z'.eis`: Assumes a holomorphic weight-one Hilbert Eisenstein form with divisor-sum coefficients for every finite-order Hecke character over a totally real field that is odd at every real place and has nontrivial conductor.

  ```lean
    eis : Published.HilbertEisOne
  ```
- `UpperTheory.V.Z.Bc.Hypotheses4Z'.one`: Assumes that for each odd prime p there are holomorphic level-one Hilbert modular forms of arbitrarily large positive weights divisible by p−1 whose Fourier expansions are congruent to 1 modulo the p-adic maximal ideal.

  ```lean
    one : Lit.OneUse
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TwistConjugateSelfDual

7 import steps from Main · 32 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TwistConjugateSelfDual)

**Proves that algebraic character twists preserve regular algebraic cuspidal automorphy over totally complex fields.**

The proof twists the cuspidal representation by the algebraic Hecke character corresponding to the ℓ-adic twisting character. At each complex embedding, the twist translates all infinitesimal weights by the same integer, preserving distinctness and the required integrality. Compatibility of Galois attachment with twisting identifies the resulting representation. EGIndAutCs uses the theorem to undo an inverse cyclotomic twist after quadratic induction.

Key declarations:

- `UpperTheory.V.Sd.twist_conjugate_selfDual`: Over a totally complex number field, if r is attached to a regular algebraic cuspidal representation π, twisting r by an algebraic ℓ-adic character gives the representation attached to the corresponding Hecke-character twist of π, which is again regular algebraic and cuspidal.

  ```lean
  theorem UpperTheory.V.Sd.twist_conjugate_selfDual :
      _root_.UpperTheory.V.Af.Hypotheses' → UpperTheory.V.Sd.TwC := …
  ```
- `isAlg_of_pos`: Over a totally complex field, the algebraicity formula on totally positive elements gives the same formula on all nonzero elements.

  ```lean
  private theorem isAlg_of_pos {K : Type} [Field K] [NumberField K] [IsTotallyComplex K] {κ : HChar K}
      {m : (K →+* ℂ) → ℤ} (hκ : IsAlgPos κ m) : κ.IsAlg m := …
  ```
- `regAlg_twist`: Twisting a regular algebraic cuspidal representation by an algebraic Hecke character preserves regular algebraicity.

  ```lean
  private theorem regAlg_twist {K : Type} [Field K] [NumberField K] [IsTotallyComplex K] {n : ℕ} {P : CuspSub K n}
      (h : (CG.mk P).IsRegAlg) {κ : HChar K} {m : (K →+* ℂ) → ℤ} (hκ : κ.IsAlg m) : (CG.mk (P.twist κ)).IsRegAlg := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.AbelianUnitPowers.Hypotheses2

8 import steps from Main · 12 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.AbelianUnitPowers.Hypotheses2)

**Collects four automorphy and base-change assumptions into a single proposition.**

HypothesesL bundles background automorphic-form hypotheses, existence of rank-two Galois representations with prescribed Eisenstein congruence data, automorphy of the inverse cyclotomic twist of the trace-zero adjoint over ℚ, and a self-twist or cuspidal base-change alternative for prime-degree cyclic extensions of totally imaginary number fields.

Key declarations:

- `UpperTheory.V.Sd.HypothesesL`: Asserts the conjunction of the four hypotheses below.

  ```lean
  structure HypothesesL : Prop where
    af : Af.Hypotheses₂
    eg : PropEG
    adj : Lit.AdAutQ
    bc : Z.Bc.LiftC
  ```
- `UpperTheory.V.Sd.HypothesesL.af`: Assumes the background automorphic-form package, including Galois representations for newforms and strong multiplicity one over totally real fields.

  ```lean
    af : Af.Hypotheses₂
  ```
- `UpperTheory.V.Sd.HypothesesL.eg`: Assumes that characters satisfying the prescribed conditions yield a continuous irreducible automorphic rank-two Galois representation over ℚ with specified Eisenstein congruence data in every sufficiently large weight of matching parity.

  ```lean
    eg : PropEG
  ```
- `UpperTheory.V.Sd.HypothesesL.adj`: Assumes that for a continuous automorphic rank-two Galois representation over ℚ that remains irreducible on every open subgroup, the inverse cyclotomic twist of its trace-zero adjoint is automorphic.

  ```lean
    adj : Lit.AdAutQ
  ```
- `UpperTheory.V.Sd.HypothesesL.bc`: Assumes that along a prime-degree cyclic extension of totally imaginary number fields, a regular algebraic cuspidal representation either has Satake multisets invariant at almost every finite place under twisting by a nontrivial norm character or admits a cuspidal weak base change with the pulled-back infinitesimal character.

  ```lean
    bc : Z.Bc.LiftC
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.AbelianUnitPowers.Hypotheses4L

8 import steps from Main · 14 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.AbelianUnitPowers.Hypotheses4L)

**Collects six hypotheses on automorphic forms, adjoint and symmetric-cube automorphy, quadratic induction, and Hilbert modular forms.**

Hypotheses4L collects background automorphic-form assumptions. For a continuous rank-two Galois representation over ℚ attached to a regular algebraic cuspidal representation and irreducible on every open subgroup, it assumes regular algebraic cuspidal attachment for the inverse cyclotomic twist of the trace-zero adjoint and for the symmetric cube when that cube is irreducible. It also assumes an alternative between matching local data above the same place and cuspidal quadratic automorphic induction, weight-one Hilbert Eisenstein series with prescribed divisor-sum coefficients, and Hilbert modular forms congruent to 1 in sufficiently divisible weights.

Key declarations:

- `UpperTheory.V.Sd.Hypotheses4L.adj`: Assumes that the inverse cyclotomic twist of the trace-zero adjoint is attached to a regular algebraic cuspidal representation whenever the original rank-two Galois representation over ℚ has such an attachment, is continuous, and remains irreducible on every open subgroup.

  ```lean
    adj : Lit.AdAutQ
  ```
- `UpperTheory.V.Sd.Hypotheses4L.cube`: Assumes that the symmetric cube of a continuous rank-two Galois representation over ℚ is attached to a regular algebraic cuspidal representation if the original has such an attachment and remains irreducible on every open subgroup and the cube is irreducible.

  ```lean
    cube : Lit.SymmetricCubeAutomorphyOverRationals
  ```
- `UpperTheory.V.Sd.Hypotheses4L.ind`: Assumes that across a quadratic extension of totally real fields, a cuspidal representation either has matching infinitesimal characters and almost-everywhere matching Satake data above the same place or admits cuspidal automorphic induction with prescribed local data.

  ```lean
    ind : Published.QuadInduction
  ```
- `UpperTheory.V.Sd.Hypotheses4L.eis`: Assumes the existence of a holomorphic weight-one Hilbert Eisenstein series with divisor-sum coefficients for each finite-order Hecke character that is odd at every real place and has nontrivial conductor.

  ```lean
    eis : Published.HilbertEisOne
  ```
- `UpperTheory.V.Sd.Hypotheses4L.one`: Assumes that for each odd prime p and coefficient-field identification there is an N such that every positive weight divisible by (p − 1)p^N admits a level-one Hilbert modular form of trivial character congruent to 1 modulo the p-adic maximal ideal.

  ```lean
    one : Published.HilbertOne
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.MixedUnitCongruences.MixedUnitPublishedTheorems

8 import steps from Main · 14 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.MixedUnitCongruences.MixedUnitPublishedTheorems)

**Collects five automorphic and Hilbert modular hypotheses for the mixed-unit congruence setting.**

MixedUnitPublishedTheorems bundles background automorphic-form assumptions with adjoint automorphy over ℚ and a quadratic automorphic induction alternative over totally real fields. It also assumes the existence of weight-one Hilbert Eisenstein series with prescribed divisor-sum coefficients and, for each odd prime p, of level-one Hilbert modular forms congruent to 1 modulo the p-adic maximal ideal in arbitrarily large weights divisible by p − 1.

Key declarations:

- `UpperTheory.V.Sd.MixedUnitPublishedTheorems`: Asserts the conjunction of the five hypotheses described above.

  ```lean
  structure MixedUnitPublishedTheorems : Prop where
    h : Af.HypothesesH
    adj : Lit.AdAutQ
    ind : Published.QuadInduction
    eis : Published.HilbertEisOne
    one : Lit.OneUse
  ```
- `UpperTheory.V.Sd.MixedUnitPublishedTheorems.adj`: Assumes that for a continuous rank-two Galois representation over ℚ attached to a regular algebraic cuspidal representation and irreducible on every open subgroup, the inverse cyclotomic twist of its trace-zero adjoint is also attached to a regular algebraic cuspidal representation.

  ```lean
    adj : Lit.AdAutQ
  ```
- `UpperTheory.V.Sd.MixedUnitPublishedTheorems.ind`: Assumes that a cuspidal representation over a quadratic totally real extension either has matching infinitesimal characters and almost-everywhere matching Satake data above the same place or admits cuspidal automorphic induction with prescribed local data.

  ```lean
    ind : Published.QuadInduction
  ```
- `UpperTheory.V.Sd.MixedUnitPublishedTheorems.eis`: Assumes the existence of a holomorphic weight-one Hilbert Eisenstein series with divisor-sum coefficients for every finite-order Hecke character of nontrivial conductor that is odd at every real place.

  ```lean
    eis : Published.HilbertEisOne
  ```
- `UpperTheory.V.Sd.MixedUnitPublishedTheorems.one`: Assumes that for every totally real field, odd prime p, and identification of the p-adic algebraic closure with ℂ, there are level-one Hilbert modular forms of trivial character congruent to 1 modulo the p-adic maximal ideal in arbitrarily large positive weights divisible by p − 1.

  ```lean
    one : Lit.OneUse
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.NewtonThorneSym

8 import steps from Main · 41 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.NewtonThorneSym)

**States symmetric-power transfer, a criterion excluding self-twists, and adjoint and symmetric-cube automorphy over ℚ as hypotheses.**

NewtonThorneSym posits regular algebraic cuspidal symmetric-power lifts for regular algebraic cuspidal GL₂ representations over ℚ without nontrivial self-twists. At finite places, given valid reciprocity and both local components, it compares Weil characteristic polynomials and preserves zero monodromy. SymLow specializes SymSat to the symmetric square. A continuous attached rank-two Galois representation irreducible on each open subgroup excludes nontrivial self-twists. For these inputs with regular algebraic cuspidal attachment over ℚ, the last two hypotheses assert such attachment for the inverse cyclotomic twist of the trace-zero adjoint and the symmetric cube if irreducible.

Key declarations:

- `UpperTheory.V.Lit.NewtonThorneSym`: Asserts that a regular algebraic cuspidal GL₂ representation over ℚ with no nontrivial Hecke-character self-twist has a regular algebraic cuspidal lift to GLₙ₊₁ for each n ≥ 1, such that at each finite place, given valid local reciprocity and both local components, source eigenvalues a and b give lift eigenvalues aⁿ⁻ⁱbⁱ for 0 ≤ i ≤ n at the same Weil element, counted with multiplicity, and zero source monodromy implies zero lift monodromy.

  ```lean
  def NewtonThorneSym : Prop := …
  ```
- `UpperTheory.V.Lit.NonCM`: Asserts that a cuspidal GL₂ representation over ℚ has no nontrivial Hecke-character self-twist if its attached continuous Galois representation stays irreducible on every open subgroup.

  ```lean
  def NonCM : Prop :=
    ∀ (Ω : Type) [Field Ω] [CharZero Ω] [IsAlgClosure ℚ Ω] (l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (ρ : G ℚ Ω →* GL (Fin 2) (Qbar l))
      (π : TR.CuspSub ℚ 2), Continuous ρ → AttR ι ρ π → IrrOpen ρ → ∀ χ : HChar ℚ, χ ≠ 1 → ¬ π.Iso (π.twist χ)
  ```
- `UpperTheory.V.Lit.SymSat`: Asserts the same regular algebraic cuspidal symmetric-power existence under the same hypotheses, with a source Satake pair {α, β} and a lift Satake multiset of αⁿ⁻ⁱβⁱ for 0 ≤ i ≤ n at almost all primes.

  ```lean
  def SymSat : Prop :=
    ∀ π : TR.CuspSub ℚ 2, π.IsRegAlg → (∀ χ : HChar ℚ, χ ≠ 1 → ¬ π.Iso (π.twist χ)) → ∀ n : ℕ, 1 ≤ n →
      ∃ P : TR.CuspSub ℚ (n + 1), P.IsRegAlg ∧ ∀ᶠ w : HeightOneSpectrum (𝓞 ℚ) in Filter.cofinite, ∃ α β : ℂˣ, π.HasSat w {α, β} ∧
        P.HasSat w ((Finset.range (n + 1)).val.map fun i => α ^ (n - i) * β ^ i)
  ```
- `UpperTheory.V.Lit.AdAutQ`: Asserts regular algebraic cuspidal attachment for the inverse cyclotomic twist of the trace-zero adjoint of a continuous rank-two Galois representation over ℚ that has such an attachment and stays irreducible on every open subgroup.

  ```lean
  def AdAutQ : Prop :=
    ∀ (Ω : Type) [Field Ω] [CharZero Ω] [IsAlgClosure ℚ Ω] (l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (ρ : G ℚ Ω →* GL (Fin 2) (Qbar l)),
      Continuous ρ → IsAutR ι ρ → IrrOpen ρ → IsAutR ι (tw (ad0 ρ) (cycBar ℚ Ω l)⁻¹)
  ```
- `UpperTheory.V.Lit.SymmetricCubeAutomorphyOverRationals`: Asserts regular algebraic cuspidal attachment for the symmetric cube of a continuous rank-two Galois representation over ℚ that has such an attachment and stays irreducible on every open subgroup, provided the cube itself is irreducible.

  ```lean
  def SymmetricCubeAutomorphyOverRationals : Prop :=
    ∀ (Ω : Type) [Field Ω] [CharZero Ω] [IsAlgClosure ℚ Ω] (l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (ρ : G ℚ Ω →* GL (Fin 2) (Qbar l)),
      Continuous ρ → IsAutR ι ρ → IrrOpen ρ → IsIrr (sym3 ρ) → IsAutR ι (sym3 ρ)
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwChain

8 import steps from Main · 46 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwChain)

**Proves a uniform local window bound in rank two after CM base change, algebraic twisting, and solvable base change.**

Under HypothesesH, start with a continuous rank-two Galois representation attached to a regular algebraic cuspidal form satisfying the PlainR condition over a totally real field. After restriction to a quadratic CM extension, an algebraic character twist, and solvable Galois base change, every attached regular algebraic cuspidal form satisfies the window condition at all finite places, provided the original representation stays irreducible over the final field. After restriction, awReal establishes the window, awTw preserves it through twisting, and awUp ascends it using continuity of the twist. AutomorphyRankFour uses this bound for its twisted rank-two input.

Key declarations:

- `UpperTheory.V.Z.Win.Birth.awChain`: Under HypothesesH, propagates the rank-two window condition along quadratic CM base change, an algebraic character twist, and solvable Galois base change, assuming irreducibility over the final field.

  ```lean
  theorem UpperTheory.V.Z.Win.Birth.awChain :
      UpperTheory.V.Af.HypothesesH → UpperTheory.V.Z.Win.Birth.AwChain := …
  ```
- `contTwist`: The scalar twist of a continuous general linear representation by a continuous character is continuous.

  ```lean
  private theorem contTwist {Γ k : Type} [Group Γ] [TopologicalSpace Γ] [IsTopologicalGroup Γ] [Field k] [TopologicalSpace k]
      [IsTopologicalRing k] {n : ℕ} {r : Γ →* GL (Fin n) k} {χ : Γ →* kˣ} (hr : Continuous r) (hχ : Continuous χ) :
      Continuous (tw r χ) := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwOne

8 import steps from Main · 14 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwOne)

**Transfers a uniform local window condition between cuspidal representations attached to the same Galois representation.**

Over a totally complex number field in rank at least two, a window parameter valid at every finite place for one attached cuspidal representation also works for every regular algebraic cuspidal representation attached to the same ℓ-adic representation. Frobenius characteristic polynomials identify the Satake multisets at almost all places, and strong multiplicity one transfers the window with the same parameter. AwTw applies the theorem after character twisting, and ExistsPrimeIndex applies it after base change.

Key declarations:

- `UpperTheory.V.Z.Win.Birth.awOne`: Over a totally complex number field in rank at least two, a single attached cuspidal representation satisfying the uniform local window condition suffices to establish it for every regular algebraic cuspidal representation attached to the same ℓ-adic representation.

  ```lean
  theorem UpperTheory.V.Z.Win.Birth.awOne :
      UpperTheory.V.Z.Win.Birth.AwOne := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwTw

8 import steps from Main · 15 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.AwTw)

**Proves that the uniform local window condition survives algebraic character twists of cuspidally automorphic Galois representations.**

Over a totally complex number field in rank at least two, suppose an ℓ-adic representation has a regular algebraic cuspidal realization and every such realization satisfies the uniform local window condition. Twisting that realization by the Hecke character corresponding to the algebraic Galois character shifts its window parameter from t to t + b, with b independent of the finite place. Compatibility of attachment with twisting and awOne give the resulting window for every regular algebraic cuspidal realization of the twisted representation. AwChain uses this step between quadratic CM base change and solvable base change.

Key declarations:

- `UpperTheory.V.Z.Win.Birth.awTw`: Over a totally complex number field in rank at least two, the uniform local window condition for every regular algebraic cuspidal realization of a cuspidally automorphic ℓ-adic representation carries over to every such realization after twisting by an algebraic character.

  ```lean
  theorem UpperTheory.V.Z.Win.Birth.awTw :
      UpperTheory.V.Z.Win.Birth.AwTw := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.RankFourAutomorphyOfTensor

8 import steps from Main · 65 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.AutomorphyLifting.PrimeIndexConstruction.RankFourAutomorphyOfTensor)

**Defines a rank-four tensor automorphy target and supporting propositions for induction, base change, and local windows.**

The tensor proposition asks for a single j between 1 and 9 such that every admissible rank-two auxiliary datum at j gives a rank-four tensor with cuspidal automorphy and uniform local windows on the eligible restrictions. Other definitions formulate quadratic induction, window transfer along a tower, sphericality from unramifiedness, split control at bad places, and potential unramifiedness for ordinary twists. Two elementary lemmas package conjugate self-dual automorphy and its local witness data. AutomorphyRankFour proves the tensor proposition from additional inputs.

Key declarations:

- `UpperTheory.V.Z.Win.Birth.RankFourAutomorphyOfTensor`: For a continuous rank-two representation over ℚ satisfying IsAutR, IrrOpen and PR, given exponent-one TauDat, asks for a single exponent j from 1 to 9 such that every compatible integral model and admissible auxiliary datum at j gives a tensor with regular algebraic cuspidal automorphy and uniform local windows on each irreducible restriction to a totally complex abelian extension of ℚ disjoint from the chosen imaginary quadratic field K′ and satisfying GoodAt.

  ```lean
  def RankFourAutomorphyOfTensor : Prop :=
    ∀ (Ω : Type) [Field Ω] [CharZero Ω] [IsAlgClosure ℚ Ω] (l : ℕ) [Fact l.Prime]
      (ι : Qbar l ≃+* ℂ) (K' : IntermediateField ℚ Ω) [NumberField K'], Module.finrank ℚ K' = 2 → IsTotallyComplex K' →
      ∀ ρ : G ℚ Ω →* GL (Fin 2) (Qbar l), Continuous ρ → IsAutR ι ρ → IrrOpen ρ → PR ι ρ →
      ∀ (g0 : G ℚ Ω) (m : ℕ) (c₁ : Coef l) (κ : G K' Ω →* (Qbar l)ˣ), g0 ∉ K'.fixingSubgroup →
      (∃ τ s, TauDat ι K' g0 (m * 1) c₁ τ s (κ ^ 1)) →
      ∃ j : ℕ, 1 ≤ j ∧ j ≤ 9 ∧ ∀ (ρ₁ τ : G ℚ Ω →* M2 c₁.O) s, RepIso ρ (mapRep (algebraMap c₁.O (PadicAlgCl l)) ρ₁).toHomUnits →
        TauDat ι K' g0 (m * j) c₁ τ s (κ ^ j) → AutOffS ι K' ρ (tenB ρ₁ τ) ∧ OffW ι K' ρ (tenB ρ₁ τ)
  ```
- `UpperTheory.V.Z.Win.Birth.OffW`: Requires uniform local windows for the regular algebraic cuspidal realizations of each irreducible tensor restriction to a totally complex abelian extension of ℚ that excludes the chosen quadratic field and satisfies GoodAt.

  ```lean
  def OffW {Ω : Type} [Field Ω] [CharZero Ω] [IsAlgClosure ℚ Ω] {l : ℕ} [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (K' : IntermediateField ℚ Ω)
      (ρ : G ℚ Ω →* GL (Fin 2) (Qbar l)) (R : G ℚ Ω →* GL (Fin 4) (Qbar l)) : Prop :=
    ∀ (L : IntermediateField ℚ Ω) [NumberField L] [IsTotallyComplex L], IsAbelianGalois ℚ L → ¬ K' ≤ L → GoodAt K' L ρ →
      IsIrr (R.comp (resQ L)) → AllW ι (R.comp (resQ L))
  ```
- `UpperTheory.V.Z.Win.Birth.IndAutLP`: Given IndDat and a plain regular algebraic cuspidal realization of the starting rank-two representation, asks for regular algebraic cuspidal automorphy and uniform local windows for the rank-four representation restricted to the tower field T.L.

  ```lean
  def IndAutLP : Prop :=
    ∀ (Ω : Type) [Field Ω] [CharZero Ω] [IsAlgClosure ℚ Ω] (l : ℕ) [Fact l.Prime] (c : Coef l) (D : Raw Ω c) (T : Tower D)
      (k₀ : IntermediateField ℚ Ω) [NumberField k₀] [IsTotallyReal k₀] (φ : G ℚ Ω →* (Qbar l)ˣ) (ι : Qbar l ≃+* ℂ) (k t : ℕ)
      (r : G k₀ Ω →* GL (Fin 2) (Qbar l)) (α β : (Qbar l)ˣ) (R : G ℚ Ω →* GL (Fin 4) (Qbar l)) (δ : G T.F Ω →* (Qbar l)ˣ),
      IndDat T k₀ φ ι k t r α β R δ → PR ι r → IsAutC ι (R.comp (resQ T.L)) ∧ AllW ι (R.comp (resQ T.L))
  ```
- `UpperTheory.V.Z.Win.Birth.AwChain`: Formulates uniform local windows for the twisted rank-two representation over M after quadratic CM base change, an algebraic character twist and solvable Galois base change, assuming the original representation is continuous and has a plain regular algebraic cuspidal realization and its untwisted restriction to M is irreducible.

  ```lean
  def AwChain : Prop :=
    ∀ (F E M Ω : Type) [Field F] [NumberField F] [IsTotallyReal F] [Field E] [NumberField E] [IsCMField E] [Field M] [NumberField M] [IsTotallyComplex M]
      [Field Ω] [Algebra F E] [Algebra E M] [Algebra F Ω] [Algebra E Ω] [Algebra M Ω] [IsScalarTower F E Ω] [IsScalarTower E M Ω] [IsAlgClosure F Ω]
      [IsAlgClosure M Ω] [IsGalois E M] [Group.IsSolvable (M ≃ₐ[E] M)], Module.finrank F E = 2 → ∀ (l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ)
      (r : G F Ω →* GL (Fin 2) (Qbar l)) (κ : G E Ω →* (Qbar l)ˣ), Continuous r → PR ι r → Sd.IsAlgChar ι κ →
      IsIrr ((r.comp (galEmb F E Ω)).comp (galEmb E M Ω)) → AllW ι ((tw (r.comp (galEmb F E Ω)) κ).comp (galEmb E M Ω))
  ```
- `UpperTheory.V.Z.Win.Birth.PotOrd`: Formulates potential unramifiedness at every place above ℓ for all character twists of an ordinary representation whose weights contain no pair differing by one.

  ```lean
  def PotOrd : Prop :=
    ∀ (F Ω : Type) [Field F] [NumberField F] [Field Ω] [Algebra F Ω] [IsAlgClosure F Ω] (l : ℕ) [Fact l.Prime] (n : ℕ)
      (r : G F Ω →* GL (Fin n) (Qbar l)) (m : Fin n → ℤ) (ψ : Fin n → G F Ω →* (Qbar l)ˣ) (κ : G F Ω →* (Qbar l)ˣ), (∀ i j, m i ≠ m j + 1) →
      (∀ A : ValuationSubring Ω, A.valuation (l : Ω) < 1 → OrdAt r m ψ A) →
      ∀ v : HeightOneSpectrum (𝓞 F), ((l : ℕ) : 𝓞 F) ∈ v.asIdeal → PotUnl (tw r κ) v
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.BaseChangeUnits.BaseChangeNorms.Hypotheses4Z

8 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.BaseChangeUnits.BaseChangeNorms.Hypotheses4Z)

**Collects three hypotheses for the base-change norm argument into a single proposition.**

The proposition `Hypotheses4Z` packages the adelic assumptions `Af.HypothesesH`, the Hilbert Eisenstein series assumption `Published.HilbertEisOne`, and the existence assumption `Lit.OneUse`. The last supplies, over any totally real field and for any odd prime p, full-level holomorphic Hilbert modular forms of arbitrarily large positive parallel weight divisible by p − 1. Under the inverse of the chosen ring isomorphism from the p-adic algebraic closure to ℂ, every constant term has distance less than 1 from 1 and every coefficient at a nonzero ideal has norm less than 1.

Key declarations:

- `UpperTheory.V.Z.Bc.Hypotheses4Z`: Asserts that all three component hypotheses hold.

  ```lean
  structure Hypotheses4Z : Prop where
    h : Af.HypothesesH
    eis : Published.HilbertEisOne
    one : Lit.OneUse
  ```
- `UpperTheory.V.Z.Bc.Hypotheses4Z.h`: Supplies the adelic hypothesis package `Af.HypothesesH`.

  ```lean
    h : Af.HypothesesH
  ```
- `UpperTheory.V.Z.Bc.Hypotheses4Z.eis`: Supplies the Hilbert Eisenstein series hypothesis `Published.HilbertEisOne`.

  ```lean
    eis : Published.HilbertEisOne
  ```
- `UpperTheory.V.Z.Bc.Hypotheses4Z.one`: Supplies `Lit.OneUse`, which gives full-level holomorphic Hilbert modular forms over any totally real field for each odd prime p, of arbitrarily large positive parallel weight divisible by p − 1 and with Fourier expansion congruent to 1 under the chosen p-adic identification.

  ```lean
    one : Lit.OneUse
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BcUpCyc

8 import steps from Main · 62 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BcUpCyc)

**Proves that regular algebraic cuspidal automorphy survives prime-degree cyclic base change under irreducible restriction.**

The proof converts the self-twist alternative into a nontrivial Galois self-twist by a character trivial on the extension and rules it out by Schur’s lemma. For the cuspidal lift, pullback of infinitesimal characters gives regular algebraicity, while residue-degree powers match the normalized Satake parameters with the restricted Frobenius eigenvalues at almost all places. BcUpSol uses this theorem as the prime-degree step in solvable base change.

Key declarations:

- `UpperTheory.V.Z.Bc.upCyc_of_alt`: Under the stated automorphic and cyclic base-change hypotheses, a continuous positive-rank Galois representation attached to a regular algebraic cuspidal representation remains so attached after irreducible restriction along a prime-degree cyclic extension of totally complex number fields.

  ```lean
  theorem UpperTheory.V.Z.Bc.upCyc_of_alt (hA : _root_.UpperTheory.V.Af.Hypotheses') (cyc : UpperTheory.V.Z.Bc.CycC) : UpperTheory.V.Sd.UpCyc := …
  ```
- `normV_under`: The residue cardinality at a finite place above a base place is the base residue cardinality raised to the residue degree.

  ```lean
  private theorem normV_under {K K' : Type} [Field K] [NumberField K] [Field K'] [NumberField K'] [Algebra K K']
      (w : HeightOneSpectrum (𝓞 K')) : normV w = normV (w.under (𝓞 K)) ^ w.asIdeal.inertiaDeg (𝓞 K) := …
  ```
- `algSat_pow`: Algebraic Satake normalization commutes with raising the parameters and the residue cardinality to the same power.

  ```lean
  private theorem algSat_pow (n q f : ℕ) (B : Multiset ℂˣ) :
      algSat n (q ^ f) (B.map (· ^ f)) = (algSat n q B).map (· ^ f) := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BcUpSol

8 import steps from Main · 87 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.BcUpSol)

**Proves that regular algebraic cuspidal automorphy survives solvable base change under irreducible restriction.**

The proof uses strong induction on the extension degree. In degree one it transports the cuspidal representation across the field isomorphism. At higher degree it takes the fixed field of a normal subgroup of prime index, applies prime-degree cyclic base change, and invokes induction on the remaining extension. TSeedInW applies the theorem to a rank-two representation before twisting by an algebraic character.

Key declarations:

- `UpperTheory.V.Z.Bc.upSol_of_alt`: Under the stated automorphic and cyclic base-change hypotheses, a continuous positive-rank Galois representation attached to a regular algebraic cuspidal representation over a totally complex field remains so attached after irreducible restriction to a finite solvable Galois extension.

  ```lean
  theorem UpperTheory.V.Z.Bc.upSol_of_alt (hA : _root_.UpperTheory.V.Af.Hypotheses') (cyc : UpperTheory.V.Z.Bc.CycC) : UpperTheory.V.Sd.UpSol := …
  ```
- `exists_prime_index`: Every nontrivial finite solvable group has a normal subgroup of prime index.

  ```lean
  private theorem exists_prime_index (Γ : Type) [Group Γ] [Finite Γ] [Nontrivial Γ] [Group.IsSolvable Γ] :
      ∃ M : Subgroup Γ, M.Normal ∧ M.index.Prime := …
  ```
- `closure_tower`: An algebraic closure of an algebraic extension is also an algebraic closure of the base field.

  ```lean
  private theorem closure_tower (K E Ω : Type) [Field K] [Field E] [Field Ω] [Algebra K E] [Algebra K Ω] [Algebra E Ω]
      [IsScalarTower K E Ω] [Algebra.IsAlgebraic K E] [IsAlgClosure E Ω] : IsAlgClosure K Ω := …
  ```
- `up_one`: Across an extension of degree one, transport along the field isomorphism preserves regular algebraic cuspidal automorphy when the restricted Galois representation is irreducible.

  ```lean
  private theorem up_one (F E Ω : Type) [Field F] [NumberField F] [IsTotallyComplex F] [Field E] [NumberField E]
      [IsTotallyComplex E] [Field Ω] [Algebra F E] [Algebra F Ω] [Algebra E Ω] [IsScalarTower F E Ω] [IsAlgClosure E Ω]
      (h1 : Module.finrank F E = 1) (l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (n : ℕ)
      (r : G F Ω →* GL (Fin n) (Qbar l)) (ha : IsAutC ι r) (hi : IsIrr (r.comp (galEmb F E Ω))) :
      IsAutC ι (r.comp (galEmb F E Ω)) := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SatK

8 import steps from Main · 16 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SatK)

**Derives the existence of Satake parameters away from the principal congruence level of a cuspidal representation.**

The theorem combines the imported local isotypic decomposition with the spherical Satake criterion for the irreducible local component. The Frobenius trace counting argument uses it to assign Satake data to the cuspidal representations at every place under consideration away from the level.

Key declarations:

- `UpperTheory.V.Af.satake_k_of_printed_results`: Under the stated automorphic hypotheses, a cuspidal representation of GL(n) over a totally complex number field with a nonzero principal level-M fixed vector has Satake parameters at every finite place not dividing M.

  ```lean
  theorem UpperTheory.V.Af.satake_k_of_printed_results :
      _root_.UpperTheory.V.Af.Hypotheses' → UpperTheory.V.Af.SatK := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TIsoOfFrob

8 import steps from Main · 41 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TIsoOfFrob)

**Proves continuous semisimple ℓ-adic representations are isomorphic if their Frobenius spectra agree on a cofinite set unramified for both.**

The coefficients of a matrix characteristic polynomial are polynomial functions of its entries and hence continuous. Chebotarev density extends equality of the Frobenius characteristic polynomials to every Galois element, and Brauer–Nesbitt gives an isomorphism. TSelfTwGal uses this criterion to identify a Galois representation with its character twist.

Key declarations:

- `UpperTheory.V.Af.iso_of_frobenius_of_printed_results`: Under Af.Hypotheses', two continuous semisimple ℓ-adic representations of a number field’s absolute Galois group are isomorphic if their inverse-Frobenius eigenvalue multisets agree via ι over ℂ on a cofinite set of finite places where both are unramified.

  ```lean
  theorem UpperTheory.V.Af.iso_of_frobenius_of_printed_results :
      _root_.UpperTheory.V.Af.Hypotheses' → UpperTheory.V.Af.IsoOfFrob := …
  ```
- `contCoeff`: Over a commutative topological ring, each coefficient of the characteristic polynomial is a continuous function of the matrix.

  ```lean
  private theorem contCoeff {K : Type} [CommRing K] [TopologicalSpace K] [IsTopologicalRing K] (n i : ℕ) :
      Continuous fun M : Matrix (Fin n) (Fin n) K => M.charpoly.coeff i := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TSelfTwGal

8 import steps from Main · 81 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TSelfTwGal)

**Transfers finite-order self-twists of Satake data to Galois self-twists under the stipulated literature hypotheses.**

When the Satake relation is single-valued at each place and the attached Galois representation is continuous, a nontrivial finite-order Hecke character preserving the Satake multisets at almost all finite places yields a nontrivial Galois self-twist. The proof constructs its ℓ-adic character by Artin reciprocity and compares normalized Frobenius eigenvalues. Frobenius power compatibility and degree-one Chebotarev give triviality on restriction to extensions satisfying the norm-character condition. ExistsPrimeIndex, BcUpCyc, and CuspUnique use this triviality and Schur's lemma to rule out the self-twist case when the restricted representation is irreducible.

Key declarations:

- `UpperTheory.V.Sd.self_twist_galois_of_printed_results`: Under the literature hypotheses, a nontrivial finite-order Hecke self-twist of uniquely specified Satake data yields a nontrivial Galois character with open kernel whose twist preserves the attached continuous semisimple representation up to isomorphism and whose restriction is trivial over every extension satisfying the norm-character condition.

  ```lean
  theorem UpperTheory.V.Sd.self_twist_galois_of_printed_results :
      _root_.UpperTheory.V.Af.Hypotheses' → UpperTheory.V.Sd.SelfTwGal := …
  ```
- `normV_under`: The absolute norm of a prime above v equals the absolute norm of v raised to the residue degree.

  ```lean
  private theorem normV_under {K K' : Type} [Field K] [NumberField K] [Field K'] [NumberField K'] [Algebra K K']
      (w : HeightOneSpectrum (𝓞 K')) : normV w = normV (w.under (𝓞 K)) ^ w.asIdeal.inertiaDeg (𝓞 K) := …
  ```
- `tendsto_under'`: A cofinite set of finite primes pulls back to a cofinite set of finite primes in a number field extension.

  ```lean
  private theorem tendsto_under' {K K' : Type} [Field K] [NumberField K] [Field K'] [NumberField K'] [Algebra K K'] :
      Filter.Tendsto (fun w : HeightOneSpectrum (𝓞 K') => w.under (𝓞 K)) Filter.cofinite Filter.cofinite := …
  ```
- `algSat_eq`: In rank n at residue cardinality q, algebraic normalization multiplies each Satake parameter by q^((n − 1)/2).

  ```lean
  private theorem algSat_eq (n q : ℕ) (B : Multiset ℂˣ) :
      algSat n q B = B.map fun α : ℂˣ => (((q : ℝ) ^ (((n : ℝ) - 1) / 2) : ℝ) : ℂ) * (α : ℂ) := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TUpQuad

8 import steps from Main · 19 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TUpQuad)

**Proves conditional preservation of rank-two cuspidal automorphy under restriction to totally imaginary quadratic extensions.**

Under the stipulated literature hypotheses, a continuous two-dimensional Galois representation attached to a regular algebraic cuspidal representation over a totally real field remains cuspidally automorphic over a totally imaginary quadratic extension if its restriction is irreducible. Irreducibility rules out the quadratic self-twist alternative, and compatibility with base change attaches the restricted representation to the regular algebraic cuspidal lift. NewformAut0 applies the theorem to newform representations over imaginary quadratic fields, and TSeedInW uses it before solvable base change.

Key declarations:

- `UpperTheory.V.Sd.up_quad_of_printed_results`: Under the literature hypotheses, if a continuous two-dimensional ℓ-adic representation of the absolute Galois group of a totally real field is attached to a regular algebraic cuspidal representation of GL₂, then its irreducible restriction to a totally imaginary quadratic extension is likewise attached to a regular algebraic cuspidal representation of GL₂.

  ```lean
  theorem UpperTheory.V.Sd.up_quad_of_printed_results :
      _root_.UpperTheory.V.Af.Hypotheses' → UpperTheory.V.Sd.UpQuad := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.OneUseOf

9 import steps from Main · 21 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.LiteratureResults.OneUseOf)

**Derives the existence of Hilbert modular forms congruent to 1 in arbitrarily large weights divisible by p − 1 from HilbertOne.**

OneUse asks for a level-one holomorphic Hilbert modular form of trivial character over any totally real field, for each odd prime p, choice of p-adic coefficient identification, and lower weight bound. Its constant terms are congruent to 1 and its coefficients at nonzero ideals to 0 modulo the p-adic maximal ideal. The proof applies HilbertOne at weight (p − 1)pᴺ(B + 1), where B is the bound and N is supplied by HilbertOne. ExistsHilbertModularFormCongrOne uses this implication to establish OneUse.

Key declarations:

- `UpperTheory.V.Lit.OneUse`: Asserts that for every totally real number field and odd prime p there exist level-one holomorphic Hilbert modular forms of trivial character congruent to 1 modulo the p-adic maximal ideal in arbitrarily large positive weights divisible by p − 1.

  ```lean
  def OneUse : Prop :=
    ∀ (F : Type) [Field F] [NumberField F] [IsTotallyReal F] (p : ℕ) [Fact p.Prime], p ≠ 2 → ∀ (ι : Qbar p ≃+* ℂ) (B : ℕ),
      ∃ k ≥ B, 0 < k ∧ p - 1 ∣ k ∧ ∃ (φ : TR.Sm F 2) (c₀ : (Af F)ˣ → ℂ) (c : Ideal (𝓞 F) → ℂ),
        IsHol k (fun _ => 0) 1 φ ∧ HasExp φ.1 k c₀ c ∧ (∀ y, ‖ι.symm (c₀ y) - 1‖ < 1) ∧ ∀ 𝔪, 𝔪 ≠ ⊥ → ‖ι.symm (c 𝔪)‖ < 1
  ```
- `UpperTheory.V.Lit.oneUse_of`: Deduces OneUse from the HilbertOne hypothesis, which supplies forms with the same congruence in every positive weight divisible by a fixed integer of the form (p − 1)pᴺ.

  ```lean
  theorem oneUse_of (h : Published.HilbertOne) : OneUse := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.BaseChangeUnits.LiftC

9 import steps from Main · 18 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.BaseChangeUnits.LiftC)

**Defines a prime-degree cyclic base-change hypothesis for regular algebraic cuspidal representations over totally complex fields.**

For a prime-degree Galois extension E/F of totally complex number fields, LiftC asserts that a regular algebraic cuspidal representation of GLₙ over F either has a Satake self-twist by a nontrivial norm character or admits a cuspidal lift to GLₙ over E. The lift inherits infinitesimal characters along restriction of complex embeddings and, at almost all finite places of E, raises the Satake parameters below to the residue degree. The importer QuadLiftRealToComplexOfBaseChange specializes the hypothesis to GL₂.

Key declarations:

- `UpperTheory.V.Z.Bc.LiftC`: For a regular algebraic cuspidal representation of positive rank and a prime-degree Galois extension of totally complex number fields, states the dichotomy between a norm-character Satake self-twist and a weak cuspidal base change compatible with infinitesimal characters.

  ```lean
  def LiftC : Prop :=
    ∀ (F E : Type) [Field F] [NumberField F] [IsTotallyComplex F] [Field E] [NumberField E] [IsTotallyComplex E] [Algebra F E]
      [IsGalois F E], (Module.finrank F E).Prime → ∀ (a : ℕ), 1 ≤ a → ∀ π : CuspSub F a, (CG.mk π).IsRegAlg →
        (∃ η : HChar F, IsNormChar E η ∧ SelfTw (CG.mk π).HasSat η) ∨ ∃ P : CuspSub E a,
          (∀ (τ : E →+* ℂ) (m : Multiset ℂ), π.HasInfChar (τ.comp (algebraMap F E)) m → P.HasInfChar τ m) ∧
          WeakBC (CG.mk π).HasSat (CG.mk P).HasSat
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SVQuadBC

9 import steps from Main · 15 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SVQuadBC)

**Recasts the rank-two quadratic base-change dichotomy in its weak form.**

The theorem repackages the rank-two base-change result by retaining the quadratic self-twist alternative. The cuspidal lift preserves infinitesimal characters along restriction of embeddings. At all but finitely many finite places of the extension, its Satake parameters are the f-th powers of those below, with f the residue degree. At split places the lift also has matching local components under a polarization hypothesis. TUpQuad uses this dichotomy and excludes the self-twist when the restricted Galois representation is irreducible.

Key declarations:

- `UpperTheory.Gal.SV.quad_base_change_w_of_printed_results`: For a totally imaginary quadratic extension of a totally real field, a regular algebraic cuspidal representation of GL₂ over the base field either is invariant under twisting by the associated quadratic character or admits a weak cuspidal base change to the extension.

  ```lean
  theorem UpperTheory.Gal.SV.quad_base_change_w_of_printed_results (_P : _root_.UpperTheory.V.Af.Hypotheses') : UpperTheory.V.Br.QuadBCw := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TWeylC

9 import steps from Main · 45 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TWeylC)

**Constructs algebraic coefficient representations with prescribed infinitesimal characters and an explicit polynomial dimension bound.**

For a totally imaginary number field E and strictly decreasing integers mᵢ with |mᵢ| ≤ H, the theorem realizes the multiset {−mᵢ − (n−1)/2} at every complex embedding. It uses the dominant nonnegative weight νₖ = k + 1 + H − m_{n−1−k} for zero-based indices k, then applies determinant twists and tensors over the embeddings. The dimension is at most ((n+1)²(H+1))^A, where A = n²[E:ℚ]. BrCardP and TCardK use these coefficients with cohomological bounds to bound pairwise nonisomorphic families of polarized and conjugate-dual cuspidal representations, respectively, over CM fields at prescribed weight and bounded level.

Key declarations:

- `UpperTheory.V.Af.weyl_complex_of_printed_results`: With the literature hypothesis bundle as a parameter, the theorem supplies an algebraic coefficient representation for GLₙ over any totally imaginary number field E with infinitesimal character {−mᵢ − (n−1)/2} at every embedding and dimension at most ((n+1)²(H+1))^(n²[E:ℚ]) whenever the integers mᵢ are strictly decreasing and bounded in absolute value by H.

  ```lean
  theorem UpperTheory.V.Af.weyl_complex_of_printed_results :
      _root_.UpperTheory.V.Af.Hypotheses' → UpperTheory.V.Af.WeylC := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TSelfDualR

10 import steps from Main · 135 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.TSelfDualR)

**Transfers twisted self-duality from Galois representations to cuspidal representations over totally real fields.**

Under the stipulated hypotheses, given an attached cuspidal representation π and a Hecke character χ with ℓ-adic avatar θε^(n−1), where ε is cyclotomic, a Galois pairing with multiplier θ yields a nondegenerate pairing on π transforming by χ. A determinant identity gives reciprocal Frobenius eigenvalues up to the multiplier, and Satake normalization and strong multiplicity one give the twisted self-duality. If θ has uniform sign on complex conjugations, χ has uniform sign at the real places and polarizes the cuspidal representation. AutNewformAOfEx uses the self-duality in its newform argument, and TOrdAbove uses it to control the local central character.

Key declarations:

- `UpperTheory.V.Af.self_dual_real_of_printed_hida`: Under the stipulated hypotheses, given an attached cuspidal representation π and a Hecke character χ with ℓ-adic avatar θε^(n−1), a rank-n Galois pairing with multiplier θ gives a nondegenerate pairing on π transforming by χ and a polarization if θ takes the same value on all complex conjugations.

  ```lean
  theorem UpperTheory.V.Af.self_dual_real_of_printed_hida :
      _root_.UpperTheory.V.Af.HypothesesH' → UpperTheory.V.Af.SelfDualR := …
  ```
- `roots_stable`: An invertible matrix preserving a nondegenerate bilinear form up to a scalar t has a complex eigenvalue multiset invariant under b ↦ t/b, with t viewed in ℂ.

  ```lean
  private theorem roots_stable {k : Type} [Field k] {n : ℕ} (f : k →+* ℂ) (M P : GL (Fin n) k) (t : kˣ)
      (h : (M : Matrix (Fin n) (Fin n) k)ᵀ * (P : Matrix (Fin n) (Fin n) k) * (M : Matrix (Fin n) (Fin n) k) =
        (t : k) • (P : Matrix (Fin n) (Fin n) k)) (B : Multiset ℂ)
      (hB : (M : Matrix (Fin n) (Fin n) k).charpoly.map f = (B.map fun b => X - C b).prod) :
      B.map (fun b => f t * b⁻¹) = B := …
  ```
- `sat_stable`: At a finite place w away from ℓ where χ is unramified, the Galois pairing and avatar hypotheses imply that a multiset B of complex units is invariant under b ↦ χ(w)/b if its algebraic normalization is the Frobenius eigenvalue multiset.

  ```lean
  private theorem sat_stable {F Ω : Type} [Field F] [NumberField F] [Field Ω] [Algebra F Ω] [IsAlgClosure F Ω] {l : ℕ}
      [Fact l.Prime] {n : ℕ} {ι : Qbar l ≃+* ℂ} {r : G F Ω →* GL (Fin n) (Qbar l)} {θ : G F Ω →* (Qbar l)ˣ}
      (hr : DualTw r θ) {art : Ideles F →* Gab F Ω} (ha : IsGlobalArtin art) {χ : HChar F} {a : (F →+* ℂ) → ℤ}
      (hχ : IsLAdicOf art ι χ a (θ * cycBar F Ω l ^ ((n : ℤ) - 1))) {w : HeightOneSpectrum (𝓞 F)}
      (hw : ((l : ℕ) : 𝓞 F) ∉ w.asIdeal) (hu : χ.UnrAt w) {B : Multiset ℂˣ}
      (hB : FrobEig ι r w (algSat n (normV w) B)) : (B.map (·⁻¹)).map (· * χ.val w) = B := …
  ```

### Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SatakePolarizationOfCuspidalTransfer

11 import steps from Main · 35 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.ThresholdArguments.DenseThresholdCases.SatakePolarizationOfCuspidalTransfer)

**Derives global twisted self-duality over totally real fields from Satake symmetry at almost all finite places.**

For a cuspidal representation π of GLₙ over a totally real field, invariance of its Satake multiset under b ↦ ψ(v)/b at almost all finite places gives twisted self-duality by the Hecke character ψ. Inverse transpose inverts the Satake parameters, so strong multiplicity one identifies π with its ψ-twisted contragredient. The Gelfand–Kazhdan pairing then gives a nondegenerate bilinear pairing with multiplier ψ composed with the determinant. TSelfDualR applies this criterion after deriving the Satake symmetry from a Galois pairing.

Key declarations:

- `UpperTheory.satake_polarization_real_of_printed_results`: Under the stipulated literature hypotheses, a cuspidal representation over a totally real field is twisted self-dual by ψ if, outside a finite set of places, ψ is unramified and the Satake multiset is invariant under b ↦ ψ(v)/b.

  ```lean
  theorem UpperTheory.satake_polarization_real_of_printed_results :
      _root_.UpperTheory.V.Af.Hypotheses' → UpperTheory.V.Af.Sol.PolSatR := …
  ```
- `hasSat_invT`: Passing to the inverse-transpose cuspidal representation inverts each Satake parameter with its multiplicity.

  ```lean
  private theorem hasSat_invT {F : Type} [Field F] [NumberField F] [IsTotallyReal F] {a : ℕ} {π π' : TR.CuspSub F a}
      (h : IsInvTOf π π') {w : HeightOneSpectrum (𝓞 F)} {B : Multiset ℂˣ} (hB : π.HasSat w B) :
      π'.HasSat w (B.map (·⁻¹)) := …
  ```
- `isTwistOf_twist`: The constructed Hecke twist multiplies the finite and archimedean compact actions by the character composed with the determinant and adds the corresponding differential to the Lie algebra action.

  ```lean
  private theorem isTwistOf_twist {F : Type} [Field F] [NumberField F] [IsTotallyReal F] {a : ℕ} (π : TR.CuspSub F a)
      (χ : HChar F) : IsTwistOf π χ (π.twist χ) := …
  ```


---

Final assembly: GRH for Dirichlet L-functions… · Alpöge Lean readings. Web page: https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/lean/ · updated 2026-11-30 · site map for machines: https://riemannhypothesissolved.com/llms.txt
