# Unitary groups over local fields: Satake parameters of spherical representations: 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 k2033 (https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/) · 129 Lean files, by distance from Main.lean · part 2 of 2, files 66–129 of 129 · data: https://riemannhypothesissolved.com/api/file-lines/k2033.json

- Part 1: https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/index.md
- Part 2: https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/index.md

## Contents

- 6 import steps from Main:
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.EigInert](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.EigInert)
- 7 import steps from Main:
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.AbsEigB](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.AbsEigB)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.AdmissibleTransport](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.AdmissibleTransport)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.HeckeSumP](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.HeckeSumP)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.IndexUA](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.SatakeExponents.UniformizerValuations.InertEigenvalues.IndexUA)
- 8 import steps from Main:
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantElementsGlValued](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantElementsGlValued)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsStrictDom](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsStrictDom)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwahoriGlValuedDatum](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwahoriGlValuedDatum)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.IwahoriFactorisation.StrictDominance.UnitaryExtremality.ExtremeU](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.IwahoriFactorisation.StrictDominance.UnitaryExtremality.ExtremeU)
  - [Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawa](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawa)
- 9 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.DvdInvOfBlockTriangular](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.DvdInvOfBlockTriangular)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantUnipotentContractionStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantUnipotentContractionStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwahoriUnipotentDatumStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwahoriUnipotentDatumStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryChamberDecompositionStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryChamberDecompositionStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryCharacterFactsStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryCharacterFactsStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEquivariantFormStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEquivariantFormStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryFrobeniusReciprocityStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryFrobeniusReciprocityStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryInverseReductionStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryInverseReductionStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryJacquetEigenvectorExistsStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryJacquetEigenvectorExistsStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryJacquetNonzeroStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryJacquetNonzeroStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitarySwapReductionStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitarySwapReductionStatement)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.IwahoriFactorisation.StrictDominance.JointGeneralisedEigenvectors.CasselmanStrictlyDominantExample](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.IwahoriFactorisation.StrictDominance.JointGeneralisedEigenvectors.CasselmanStrictlyDominantExample)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.IwahoriFactorisation.StrictDominance.UnitaryExtremality.IsStrictDom](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.IwahoriFactorisation.StrictDominance.UnitaryExtremality.IsStrictDom)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.IwahoriFactorisation.StrictDominance.UnitaryExtremality.SatPowNonvan](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.IwahoriFactorisation.StrictDominance.UnitaryExtremality.SatPowNonvan)
  - [Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawaE](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawaE)
- 10 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.IwahoriFactorisation](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.IwahoriFactorisation)
  - [Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.UdlApply](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.InertiaEigenvalues.UdlApply)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantUnipotentContraction](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantUnipotentContraction)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwahoriUnipotentDatum](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwahoriUnipotentDatum)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryChamberDecomposition](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryChamberDecomposition)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryCharacterFacts](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryCharacterFacts)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEquivariantForm](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEquivariantForm)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryFrobeniusReciprocity](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryFrobeniusReciprocity)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryInverseReduction](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryInverseReduction)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriFactorization](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriFactorization)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryJacquetEigenvectorExists](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryJacquetEigenvectorExists)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryJacquetNonzero](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryJacquetNonzero)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitarySwapReduction](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitarySwapReduction)
  - [Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawaD](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawaD)
  - [Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FSatakeC](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FSatakeC)
- 11 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.ChiDeltaUConjLongSimpleReflectionUnitaryStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.ChiDeltaUConjLongSimpleReflectionUnitaryStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.ConvUAbsU](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.ConvUAbsU)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDepthPowerLastSimpleReflectionCellStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDepthPowerLastSimpleReflectionCellStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDiagonalConjLastSimpleReflectionCellStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDiagonalConjLastSimpleReflectionCellStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralEqRankOneFactorSL2OfGeometricOnShellsStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralEqRankOneFactorSL2OfGeometricOnShellsStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntertwiningLastEven](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntertwiningLastEven)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemWeylCellUnitaryGroupLongSimpleReflectionIffStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemWeylCellUnitaryGroupLongSimpleReflectionIffStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalVectorValueUnitaryRankOneGindikinKarpelStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalVectorValueUnitaryRankOneGindikinKarpelStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryBorelEqDiagonalMulUnipotentStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryBorelEqDiagonalMulUnipotentStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryRankOneSphericalIntegrandDiagonalTorusFac](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryRankOneSphericalIntegrandDiagonalTorusFac)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryRankOneSphericalIntegrandDiagonalTorusFacStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryRankOneSphericalIntegrandDiagonalTorusFacStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryThreeRankOneSphericalVectorCellValueStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryThreeRankOneSphericalVectorCellValueStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellHaarRightTranslateInvariantStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellHaarRightTranslateInvariantStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylSimpleReflectionRevCommSqEqOneStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylSimpleReflectionRevCommSqEqOneStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylRepInvMulDiag](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylRepInvMulDiag)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ConjTransposeAntidiagFixed](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ConjTransposeAntidiagFixed)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ContinuousUnitaryRootMapStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ContinuousUnitaryRootMapStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsAdmissibleLinearFunctionalStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsAdmissibleLinearFunctionalStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FormHeckeVecDosetInd](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FormHeckeVecDosetInd)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IsPermWOne](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IsPermWOne)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.MemIwGLOfDiag](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.MemIwGLOfDiag)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.MemIwUIff](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.MemIwUIff)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootDiagonalConjStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootDiagonalConjStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootUnipotentShiftStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootUnipotentShiftStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RootMapMemCompactOfIntegralStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RootMapMemCompactOfIntegralStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SatakePowerNonvanishingStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SatakePowerNonvanishingStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ShellMeasure](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ShellMeasure)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionMemMaximalCompactStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionMemMaximalCompactStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionRootBorelDecompStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionRootBorelDecompStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.StabFiniteIndexOfSmooth](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.StabFiniteIndexOfSmooth)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryBorelSplitting](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryBorelSplitting)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryBorelSplittingStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryBorelSplittingStatement)
  - [Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawaC](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawaC)
  - [Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FSatakeB](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FSatakeB)
- 12 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.ChiDeltaUConjLongSimpleReflectionUnitary](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.ChiDeltaUConjLongSimpleReflectionUnitary)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.ExistsCellUAbsorbUnip](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.ExistsCellUAbsorbUnip)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDepthPowerLastSimpleReflectionCell](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDepthPowerLastSimpleReflectionCell)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDiagonalConjLastSimpleReflectionCell](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDiagonalConjLastSimpleReflectionCell)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralEqRankOneFactorSL2OfGeometricOnShells](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralEqRankOneFactorSL2OfGeometricOnShells)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemShellUIffDepth](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemShellUIffDepth)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemWeylCellUnitaryGroupLongSimpleReflectionIff](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemWeylCellUnitaryGroupLongSimpleReflectionIff)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalVectorValueUnitaryRankOneGindikinKarpel](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalVectorValueUnitaryRankOneGindikinKarpel)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalWeylCellTranslate](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalWeylCellTranslate)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.TorusConjugationWeylCell](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.TorusConjugationWeylCell)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryBorelEqDiagonalMulUnipotent](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryBorelEqDiagonalMulUnipotent)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryThreeRankOneSphericalVectorCellValue](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryThreeRankOneSphericalVectorCellValue)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellHaarRightTranslateInvariant](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellHaarRightTranslateInvariant)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylSimpleReflectionRevCommSqEqOne](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylSimpleReflectionRevCommSqEqOne)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasure](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasure)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasureStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasureStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasureTwo](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasureTwo)
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.ImportsRestBis](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.ImportsRestBis)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ContinuousUnitaryRootMap](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ContinuousUnitaryRootMap)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsAdmissibleLinearFunctional](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsAdmissibleLinearFunctional)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootDiagonalConj](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootDiagonalConj)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootUnipotentShift](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootUnipotentShift)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RootMapMemCompactOfIntegral](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RootMapMemCompactOfIntegral)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SatakePowerNonvanishing](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SatakePowerNonvanishing)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionMemMaximalCompact](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionMemMaximalCompact)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionRootBorelDecomp](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionRootBorelDecomp)
- 13 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureUniqueSigmaCompactNormalisedCompactOpStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureUniqueSigmaCompactNormalisedCompactOpStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureWeylCellOddUnitaryStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureWeylCellOddUnitaryStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.HasSumSu21RankOneSeriesDifferencesStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.HasSumSu21RankOneSeriesDifferencesStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.LocCompactSecondCountable](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.LocCompactSecondCountable)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.SwapLtSwapIffOfAddTwo](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.SwapLtSwapIffOfAddTwo)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellShellIsOpenCompactSubgroupStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellShellIsOpenCompactSubgroupStatement)
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.UnitaryRootEmbedding](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.UnitaryRootEmbedding)
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.UpperTriangular](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.UpperTriangular)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.BruhatWeightDecreases](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.BruhatWeightDecreases)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.BruhatWeightDecreasesStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.BruhatWeightDecreasesStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CosetRepsOfFactorizationStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CosetRepsOfFactorizationStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantConjugateUnipotentMemStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantConjugateUnipotentMemStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FunctionalZeroOfInjectivePowerStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FunctionalZeroOfInjectivePowerStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HeckePowerCosetFormulaStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HeckePowerCosetFormulaStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriFactorizationStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriFactorizationStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriIndexFiniteStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriIndexFiniteStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwasawaBruhatDecompositionStatement](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwasawaBruhatDecompositionStatement)
- 14 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureUniqueSigmaCompactNormalisedCompactOp](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureUniqueSigmaCompactNormalisedCompactOp)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureWeylCellOddUnitary](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureWeylCellOddUnitary)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.HasSumSu21RankOneSeriesDifferences](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.HasSumSu21RankOneSeriesDifferences)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellShellIsOpenCompactSubgroup](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellShellIsOpenCompactSubgroup)
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IwahoriEntryBound](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IwahoriEntryBound)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CosetRepsOfFactorization](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CosetRepsOfFactorization)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantConjugateUnipotentMem](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantConjugateUnipotentMem)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FunctionalZeroOfInjectivePower](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FunctionalZeroOfInjectivePower)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HeckePowerCosetFormula](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HeckePowerCosetFormula)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriIndexFinite](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriIndexFinite)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwasawaBruhatDecomposition](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwasawaBruhatDecomposition)
- 15 import steps from Main:
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.AOpRightInvariant](https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.AOpRightInvariant)

## The files

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SatakePowerNonvanishingStatement

11 import steps from Main · 8 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SatakePowerNonvanishingStatement)

**Re-exports Satake nonvanishing at arbitrarily large powers of a strictly dominant diagonal unitary element.**

The sole theorem restates the imported result that, at any tuple of ⌊n/2⌋ nonzero complex parameters for the unitary group on n × n matrices, the Satake transform of the maximal compact double coset indicator is nonzero for arbitrarily large powers of a strictly dominant diagonal element. UnitaryJacquetNonzero uses it to choose a power at or beyond the exponent at which the corresponding Iwahori Hecke operator annihilates the vector.

Key declarations:

- `GlobalTheory.T.satake_power_nonvanishing`: For the unramified unitary group over a complete discretely valued field, any strictly dominant diagonal t, any tuple of ⌊n/2⌋ nonzero complex parameters for the group on n × n matrices, and any lower bound j₀ admit an exponent j ≥ j₀ for which the Satake transform of the indicator of KtʲK is nonzero at those parameters.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.satake_power_nonvanishing : PositivityTheory.SphericalProduct.SatPowNonvan := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ShellMeasure

11 import steps from Main · 463 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ShellMeasure)

**Computes even-dimensional Weyl cell measures and proves unipotent translation formulas for the last simple reflection.**

In even dimension, the antidiagonal entry identifies the last simple reflection cell with the additive trace-zero line. With the compact intersection of volume one, successive valuation balls have index q and the level-j ball has volume q^j. This formula determines the Haar scaling under diagonal conjugation. For functions with the left χΔ Borel law, a right unipotent factor becomes a left cell translation in even dimension and a right cell translation in odd dimension, where the field must be complete and unramified and the Weyl representative lie in K_U. UnitaryInverseReduction uses these formulas to evaluate and transform cell integrals.

Key declarations:

- `GlobalTheory.CompanionTheory.InvStep.shell_measure'`: In the even-dimensional last simple reflection cell, the set with antidiagonal entry x satisfying v(x) ≤ exp(j) in the multiplicative value group is measurable and has Haar volume q^j for every integer j when the compact intersection has volume one.

  ```lean
  theorem shell_measure' : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L]
      (ϖ : L) (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q → ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 →
      Even n → ∀ (y : GU σ n), y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
      μ ((KU σ n).subgroupOf (cellU y)) = 1 → ∀ (j : ℤ),
      MeasurableSet {u : cellU y | Valued.v ((((u : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev) ≤
          ((Multiplicative.ofAdd j : Multiplicative ℤ) : WithZero (Multiplicative ℤ))} ∧
      μ {u : cellU y | Valued.v ((((u : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev) ≤
          ((Multiplicative.ofAdd j : Multiplicative ℤ) : WithZero (Multiplicative ℤ))} = (q : ENNReal) ^ j := …
  ```
- `GlobalTheory.CompanionTheory.InvStep.conjScale'`: On the even-dimensional cell, replacing the integrand F(u) by F(t⁻¹ut) for diagonal t multiplies both the complex and the nonnegative integral by q^(−2 ord_L(t_aa)), where a is the lower index of the reflected pair.

  ```lean
  theorem conjScale' : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L]
      (ϖ : L) (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q → ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 →
      Even n → ∀ (y : GU σ n), y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
      μ ((KU σ n).subgroupOf (cellU y)) = 1 → ∀ (t : GU σ n),
      (∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) →
      (∀ F : GU σ n → ℂ, ∫ u : cellU y, F (t⁻¹ * u * t) ∂μ =
          (q : ℂ) ^ (-2 * ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k))) *
            ∫ u : cellU y, F u ∂μ) ∧
      ∀ F : GU σ n → ENNReal, ∫⁻ u : cellU y, F (t⁻¹ * u * t) ∂μ =
          (q : ENNReal) ^ (-2 * ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k))) *
            ∫⁻ u : cellU y, F u ∂μ := …
  ```
- `GlobalTheory.CompanionTheory.InvStep.shiftCore`: For a reflection swapping adjacent reversed indices, insertion of an upper unitriangular factor ν in a Borel-equivariant function value φ(y⁻¹uνg) is absorbed by a fixed left translation of u in the cell.

  ```lean
  theorem shiftCore (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (q : ℕ) (n : ℕ)
      (a a' : Fin n) (hrev : a.rev = a') (haa : a'.val = a.val + 1) {m : ℕ} (α : Fin m → ℂ) (φ : GU σ n → ℂ)
      (hφ : ∀ b g : GU σ n, IsBorelU b → φ (b * g) = chiDeltaU q α b * φ g) (y : GU σ n) (hy : IsWeylRep (Equiv.swap a a') (y : GL (Fin n) L))
      (ν : GU σ n) (hν : IsUnipU ν) :
      ∃ u' ∈ cellU y, ∀ u ∈ cellU y, ∀ g : GU σ n, φ (y⁻¹ * u * ν * g) = φ (y⁻¹ * (u' * u) * g) := …
  ```
- `GlobalTheory.CompanionTheory.InvStep.shiftEven`: For the last simple reflection in even dimension and φ satisfying the left χΔ Borel law, each upper unitriangular ν admits a fixed cell element u′ such that φ(y⁻¹uνg) = φ(y⁻¹u′ug) for every cell element u and group element g.

  ```lean
  theorem shiftEven (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (q : ℕ) (n : ℕ)
      (k : Fin (n / 2)) (hk : ¬ k.val + 1 < n / 2) (hn : Even n) {m : ℕ} (α : Fin m → ℂ) (φ : GU σ n → ℂ)
      (hφ : ∀ b g : GU σ n, IsBorelU b → φ (b * g) = chiDeltaU q α b * φ g) (y : GU σ n)
      (hy : IsWeylRep (simpleU k) (y : GL (Fin n) L)) (ν : GU σ n) (hν : IsUnipU ν) :
      ∃ u' ∈ cellU y, ∀ u ∈ cellU y, ∀ g : GU σ n, φ (y⁻¹ * u * ν * g) = φ (y⁻¹ * (u' * u) * g) := …
  ```
- `GlobalTheory.CompanionTheory.InvStep.shiftOdd`: For the last simple reflection in odd dimension over a complete unramified valued field, with Weyl representative y in K_U and φ satisfying the left χΔ Borel law, each upper unitriangular ν admits a fixed cell element p such that φ(y⁻¹uνg) = φ(y⁻¹upg) for every cell element u and group element g.

  ```lean
  theorem shiftOdd : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ (α : Fin (n / 2) → ℂ) (φ : GU σ n → ℂ), (∀ b g : GU σ n, IsBorelU b → φ (b * g) = chiDeltaU q α b * φ g) →
      ∀ n' : GU σ n, IsUnipU n' → ∃ p : cellU y, ∀ (u : cellU y) (x : GU σ n),
        φ (y⁻¹ * (u : GU σ n) * n' * x) = φ (y⁻¹ * ((u * p : cellU y) : GU σ n) * x) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionMemMaximalCompactStatement

11 import steps from Main · 9 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionMemMaximalCompactStatement)

**Re-exports maximal compact membership for the unitary representative of an adjacent simple reflection.**

The sole theorem restates the imported result that the adjacent simple reflection representative belongs to the standard maximal compact subgroup of the unramified unitary group. UnitarySwapReduction invokes it in the lemma step_sR_mem_KU.

Key declarations:

- `GlobalTheory.T.simple_reflection_mem_maximal_compact`: In the unramified unitary group of matrix size n, the representative s_R of the adjacent swap indexed by a belongs to the standard maximal compact subgroup whenever 2(a + 2) ≤ n.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.simple_reflection_mem_maximal_compact : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L) (σ : L →+* L) (q n : ℕ) (hU : IsUnramInv ϖ σ q) (a : ℕ) (h : 2 * (a + 2) ≤ n), sR σ hU.1 a h ∈ KU σ n := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionRootBorelDecompStatement

11 import steps from Main · 12 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionRootBorelDecompStatement)

**Re-exports the Borel factorization relating a nonzero root parameter to its inverse for an adjacent simple reflection.**

The sole theorem restates the imported factorization of the reflection times a root element as a left Borel factor, the reflection times the root element at the inverse parameter, and a final reflection. UnitarySwapReduction invokes this identity and the explicit Borel weight in step_factor.

Key declarations:

- `GlobalTheory.T.simple_reflection_root_borel_decomp`: For the simple reflection s_R attached to adjacent indices i and j and every x ≠ 0, there is a Borel element b with s_R u_R(x) = b s_R u_R(x⁻¹)s_R and weight ((χ_i/χ_j)/q²)^(−ord_L(x)).

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.simple_reflection_root_borel_decomp : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L) (σ : L →+* L) (q n : ℕ) (hU : IsUnramInv ϖ σ q) (a : ℕ) (h : 2 * (a + 2) ≤ n) (χ : Fin (n / 2) → ℂˣ) (i j : Fin (n / 2)), i.val = a → j.val = a + 1 → ∀ x : L, x ≠ 0 →
      ∃ b : GU σ n, IsBorelU b ∧
        chiDeltaU q (fun k => (χ k : ℂ)) b = (((χ i : ℂ) / (χ j : ℂ)) / (q : ℂ) ^ 2) ^ (-ordL x) ∧
        sR σ hU.1 a h * uR σ hU.1 a h x = b * (sR σ hU.1 a h * uR σ hU.1 a h x⁻¹ * sR σ hU.1 a h) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.StabFiniteIndexOfSmooth

11 import steps from Main · 84 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.StabFiniteIndexOfSmooth)

**Constructs normalized invariant linear forms by finite orbit averaging in smooth complex representations.**

A vector stabilizer in a compact subgroup has finite index because smoothness makes it open. Passing to the quotient by the stabilizer's normal core makes translation a permutation of the terms in the orbit average. Composing this average with a linear form that takes value one on the chosen fixed vector gives an invariant form with the same normalization. UnitaryJacquetNonzero uses the form to evaluate translates of a spherical vector.

Key declarations:

- `GlobalTheory.CompanionTheory.KAvg.stab_finiteIndex_of_smooth`: The stabilizer of any vector in a compact subgroup has finite index for a smooth complex representation.

  ```lean
  theorem stab_finiteIndex_of_smooth [TopologicalSpace G] [IsTopologicalGroup G] (K : Subgroup G)
      (hc : IsCompact (K : Set G)) (ρ : Representation ℂ G V) (hs : IsSmooth ρ) (x : V) :
      (stab ρ K x).FiniteIndex := …
  ```
- `GlobalTheory.CompanionTheory.KAvg.avg_translate`: If a vector has finite-index stabilizer in K, its orbit average is unchanged when the vector is translated by an element of K.

  ```lean
  theorem avg_translate (ρ : Representation ℂ G V) (K : Subgroup G) {x : V}
      (hx : (stab ρ K x).FiniteIndex) (k : K) : avg ρ K (ρ (k : G) x) = avg ρ K x := …
  ```
- `GlobalTheory.CompanionTheory.KAvg.kInvForm`: For a smooth complex representation and a compact open subgroup K, every nonzero K-fixed vector admits a K-invariant linear form taking value one on it.

  ```lean
  theorem GlobalTheory.CompanionTheory.KAvg.kInvForm : PositivityTheory.SphericalProduct.KInvForm := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryBorelSplitting

11 import steps from Main · 44 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryBorelSplitting)

**Splits upper triangular elements of the antidiagonal unitary group over valued fields with involution into diagonal and unitriangular parts.**

The proof takes the diagonal part of the upper triangular matrix and uses the block projection for the self-dual partition into singletons to show that this part is unitary. Left multiplication by its inverse leaves an upper triangular unitary matrix with every diagonal entry equal to one. UnitarySwapReduction uses the two factors to combine the diagonal rescaling and unipotent translation of the root coordinate.

Key declarations:

- `GlobalTheory.CompanionTheory.BorelSplit.borelSplitU`: For the anti-diagonal unitary group over a field with ℤ-valued valuation and an involution, each Borel element b admits a factorization b = tv with t diagonal unitary and v upper unitriangular unitary.

  ```lean
  theorem borelSplitU : PositivityTheory.SphericalProduct.BorelSplitU := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryBorelSplittingStatement

11 import steps from Main · 8 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryBorelSplittingStatement)

**Re-exports the factorization of a unitary Borel element into diagonal and upper unitriangular factors.**

The sole theorem restates the imported splitting of the upper triangular unitary subgroup into diagonal and upper unitriangular factors, in that order. UnitaryFrobeniusReciprocity supplies this splitting to its general reciprocity argument to obtain the unitary Frobenius reciprocity theorem.

Key declarations:

- `GlobalTheory.T.unitary_borel_splitting`: Over a valued field with involution, every upper triangular element b of the unitary group for the standard anti-diagonal Hermitian form factors as b = tv with t diagonal unitary and v upper unitriangular unitary.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.unitary_borel_splitting : PositivityTheory.SphericalProduct.BorelSplitU := …
  ```

### Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawaC

11 import steps from Main · 247 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FIwasawaC)

**Establishes the Gram identities, zero patterns, and row permutations used in unitary pivot selection.**

Partial triangularity means that the first r columns vanish below the diagonal. The integral unitary matrices contain the identity and are closed under multiplication and, for a valuation-preserving field map, inversion. The antidiagonal Gram identity gives column isotropy before the midpoint, and induction gives reciprocal conjugate diagonal entries and zeros in the reflected rows. These zeros bound the rows needed for the next pivot search. FIwasawaD uses these identities and a permutation commuting with index reversal to move an entry of maximal valuation in the pivot window to the diagonal.

Key declarations:

- `Formalism.UG.P.fIwasawa_gram_un`: For a unitary matrix, the Gram pairing of columns a and b is one when b is the reversal of a and zero otherwise.

  ```lean
  theorem fIwasawa_gram_un (M : Matrix (Fin n) (Fin n) L) (hM : fIwasawaUn σ M) (a b : Fin n) :
      ∑ j, σ (M (Fin.rev j) a) * M j b = if b = Fin.rev a then 1 else 0 := …
  ```
- `Formalism.UG.P.fIwasawa_rows`: For a unitary matrix triangular in its first r columns, each s < r has conjugated diagonal entry times reflected diagonal entry equal to one, and the reflected row vanishes to the left of its diagonal.

  ```lean
  theorem fIwasawa_rows (M : Matrix (Fin n) (Fin n) L) (hM : fIwasawaUn σ M) (r : ℕ)
      (hT : fIwasawaTri r M) (s : Fin n) (hs : s.val < r) :
      σ (M s s) * M (Fin.rev s) (Fin.rev s) = 1 ∧
        ∀ b : Fin n, b < Fin.rev s → M (Fin.rev s) b = 0 := …
  ```
- `Formalism.UG.P.fIwasawa_col_zero`: For a unitary matrix triangular in its first r columns, if column r precedes its reflection, its entries below the reflected row vanish.

  ```lean
  theorem fIwasawa_col_zero (M : Matrix (Fin n) (Fin n) L) (hM : fIwasawaUn σ M) (r : ℕ)
      (hT : fIwasawaTri r M) (ρ : Fin n) (hρr : ρ.val = r) (hρ : ρ < Fin.rev ρ) :
      ∀ i, Fin.rev ρ < i → M i ρ = 0 := …
  ```
- `Formalism.UG.P.fIwasawa_iso`: In a unitary matrix, any column whose index precedes its reflection is isotropic for the antidiagonal pairing.

  ```lean
  theorem fIwasawa_iso (M : Matrix (Fin n) (Fin n) L) (hM : fIwasawaUn σ M) (ρ : Fin n)
      (hρ : ρ < Fin.rev ρ) : ∑ j, σ (M (Fin.rev j) ρ) * M j ρ = 0 := …
  ```
- `Formalism.UG.P.fIwasawa_perm`: If a pivot index strictly precedes its reflection, any index in their closed interval that differs from its own reflection is the image of the pivot index under a permutation commuting with reversal and fixing all indices outside the interval.

  ```lean
  theorem fIwasawa_perm (ρ a : Fin n) (hρ : ρ < Fin.rev ρ) (ha1 : ρ ≤ a) (ha2 : a ≤ Fin.rev ρ)
      (haa : a ≠ Fin.rev a) :
      ∃ π : Equiv.Perm (Fin n), π ρ = a ∧ (∀ i, π (Fin.rev i) = Fin.rev (π i)) ∧
        (∀ i, (i < ρ ∨ Fin.rev ρ < i) → π i = i) := …
  ```

### Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FSatakeB

11 import steps from Main · 116 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.SatakeDualWeyl.AdelicIwasawaHecke.FSatakeB)

**Proves diagonal identities for the unitary Borel and characterizes the diagonal unitary matrices.**

Upper triangular unitary matrices are closed under products and inverses, with diagonal entries multiplying and inverting coordinatewise. For the antidiagonal form, the diagonal tuple e satisfies σ(e(i)) e(i.rev) = 1 at every index i, where σ is the given ring endomorphism. This relation also suffices to construct a diagonal unitary matrix. FSatakeC uses the product formula and the opposite-entry relation to prove uniqueness of the torus exponents.

Key declarations:

- `Formalism.UG.P.fSatake_borel_iff`: A unitary matrix satisfies the Borel condition exactly when it is upper triangular.

  ```lean
  theorem fSatake_borel_iff (b : GU σ n) :
      IsBorelU b ↔ (((b : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L).BlockTriangular id := …
  ```
- `Formalism.UG.P.fSatake_borel_diag_mul`: Each diagonal entry of a product of two upper triangular unitary matrices is the product of the corresponding diagonal entries.

  ```lean
  theorem fSatake_borel_diag_mul {b b' : GU σ n} (hb : IsBorelU b) (hb' : IsBorelU b') (i : Fin n) :
      (((b * b' : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i =
        (((b : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i *
        (((b' : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i := …
  ```
- `Formalism.UG.P.fSatake_borel_diag_inv`: The diagonal entries of the inverse of an upper triangular unitary matrix are the reciprocals of the original diagonal entries.

  ```lean
  theorem fSatake_borel_diag_inv {b : GU σ n} (hb : IsBorelU b) (i : Fin n) :
      (((b⁻¹ : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i *
        (((b : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i = 1 := …
  ```
- `Formalism.UG.P.fSatake_unit_diag`: In an upper triangular unitary matrix, applying σ to each diagonal entry and multiplying by the opposite entry gives one.

  ```lean
  theorem fSatake_unit_diag {b : GU σ n} (hb : IsBorelU b) (i : Fin n) :
      σ ((((b : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i) *
        (((b : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i.rev i.rev = 1 := …
  ```
- `Formalism.UG.P.fSatake_diag_exists`: Any tuple e satisfying σ(e(i)) e(i.rev) = 1 at every index i defines a diagonal unitary matrix whose inverse has reciprocal entries.

  ```lean
  theorem fSatake_diag_exists (e : Fin n → L) (he : ∀ i, σ (e i) * e i.rev = 1) :
      ∃ d : GU σ n, (((d : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) = Matrix.diagonal e ∧
        (((d⁻¹ : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) =
          Matrix.diagonal (fun i => (e i)⁻¹) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.ChiDeltaUConjLongSimpleReflectionUnitary

12 import steps from Main · 118 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.ChiDeltaUConjLongSimpleReflectionUnitary)

**Proves the corrected torus character identity for the last simple reflection in even unitary dimension.**

Conjugation by a monomial Weyl representative exchanges the two middle diagonal entries. Unitarity and valuation invariance under the field involution give these entries opposite additive orders. The proof isolates the final factor of the modulus-weighted character and combines inversion of the final parameter with the q-power correction. The statement module restates this identity.

Key declarations:

- `GlobalTheory.GKUnitary.chiDeltaU_conj_simpleU_long`: Under the unramified involution hypotheses IsUnramInv in dimension 2m, for nonzero complex parameters, a diagonal unitary t and a unitary Weyl representative y of the last simple reflection, multiplying the modulus-weighted character at y⁻¹ty by q raised to −2 times the additive valuation of tₘₘ gives its value at t with the final parameter inverted.

  ```lean
  theorem chiDeltaU_conj_simpleU_long :
      ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L) (σ : L →+* L) (q : ℕ),
      IsUnramInv ϖ σ q → ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → Even n →
      ∀ (y : GU σ n), IsWeylRep (simpleU k) (y : GL (Fin n) L) → ∀ (α : Fin (n / 2) → ℂˣ) (t : GU σ n),
      (∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) →
      chiDeltaU q (fun i => (α i : ℂ)) (y⁻¹ * t * y) *
          (q : ℂ) ^ (-2 * ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k))) =
        chiDeltaU q (fun i => (actU k α i : ℂ)) t := …
  ```
- `GlobalTheory.GKUnitary.diag_conj_weylRep`: If y represents the permutation s and t is diagonal, the i-th diagonal entry of y⁻¹ty is the s(i)-th diagonal entry of t.

  ```lean
  theorem diag_conj_weylRep {R : Type} [CommRing R] {n : ℕ} {s : Equiv.Perm (Fin n)} {y t : GL (Fin n) R}
      (hy : IsWeylRep s y) (ht : ∀ i j, i ≠ j → (t : Matrix (Fin n) (Fin n) R) i j = 0) (i : Fin n) :
      ((y⁻¹ * t * y : GL (Fin n) R) : Matrix (Fin n) (Fin n) R) i i =
        (t : Matrix (Fin n) (Fin n) R) (s i) (s i) := …
  ```
- `GlobalTheory.GKUnitary.ordL_congr`: Elements with equal multiplicative valuations have equal additive orders.

  ```lean
  theorem ordL_congr {L : Type} [Field L] [Valued L (WithZero (Multiplicative ℤ))] {x y : L}
      (h : Valued.v x = Valued.v y) : ordL x = ordL y := …
  ```
- `GlobalTheory.GKUnitary.ordL_one'`: The multiplicative identity has additive order zero.

  ```lean
  theorem ordL_one' {L : Type} [Field L] [Valued L (WithZero (Multiplicative ℤ))] : ordL (1 : L) = 0 := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.ExistsCellUAbsorbUnip

12 import steps from Main · 94 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.ExistsCellUAbsorbUnip)

**Defines contiguous principal-block truncation and proves that it preserves upper triangular products and unitarity on symmetric blocks.**

The truncation keeps a contiguous principal block and uses the identity elsewhere. Upper triangularity confines the contributing indices in a product to the retained interval, so truncating the inverse gives the inverse of the truncated matrix. For an upper unitriangular unitary matrix, an interval symmetric under index reversal preserves the unitary relation. In odd dimension, ShellMeasure uses the central three-by-three truncation to replace insertion of a unipotent factor by right translation in the last Weyl cell at the level of Borel-equivariant function values.

Key declarations:

- `GlobalTheory.WeylCell.WeylUnipotentShell.blockKeep`: Retains the principal block on the inclusive interval from a to b and replaces all other entries by the corresponding identity entries.

  ```lean
  def blockKeep (a b : Fin n) (A : Matrix (Fin n) (Fin n) R) : Matrix (Fin n) (Fin n) R :=
    fun i j => if (a ≤ i ∧ i ≤ b) ∧ (a ≤ j ∧ j ≤ b) then A i j else (1 : Matrix (Fin n) (Fin n) R) i j
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.blockKeep_mul`: Truncating a product of upper triangular matrices gives the product of their truncations.

  ```lean
  theorem blockKeep_mul (a b : Fin n) (A B : Matrix (Fin n) (Fin n) R) (hA : ∀ i j, j < i → A i j = 0)
      (hB : ∀ i j, j < i → B i j = 0) : blockKeep a b (A * B) = blockKeep a b A * blockKeep a b B := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.blockKeepGL`: For an upper unitriangular matrix, constructs an invertible truncation whose inverse is the truncation of the original inverse.

  ```lean
  def blockKeepGL (a b : Fin n) (g : GL (Fin n) L) (hg : g ∈ unipB L (Fin n)) : GL (Fin n) L
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.blockKeepGL_mem_GU`: Truncating an upper unitriangular unitary matrix to the interval from an index to its reverse preserves unitarity.

  ```lean
  theorem blockKeepGL_mem_GU [Valued L (WithZero (Multiplicative ℤ))] {σ : L →+* L} (a : Fin n) (g : GL (Fin n) L)
      (hg : g ∈ unipB L (Fin n)) (hG : g ∈ GU σ n) : blockKeepGL a a.rev g hg ∈ GU σ n := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.blockKeep_eq_self`: Truncation fixes an upper unitriangular matrix whose strictly upper triangular support lies entirely in the retained block.

  ```lean
  theorem blockKeep_eq_self (a b : Fin n) (A : Matrix (Fin n) (Fin n) L) (h1 : ∀ i j, j < i → A i j = 0)
      (h2 : ∀ i, A i i = 1) (h3 : ∀ i j, i < j → (i < a ∨ b < j) → A i j = 0) : blockKeep a b A = A := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDepthPowerLastSimpleReflectionCell

12 import steps from Main · 110 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDepthPowerLastSimpleReflectionCell)

**Evaluates the depth-power integral on the last simple-reflection cell of an odd-dimensional unramified unitary group.**

With normalized Haar measure, the proof gives mass one at depth zero and subtracts successive sublevel volumes q^(j + 2⌊j/2⌋) to obtain the mass at exact depth j > 0. Pushing the measure forward by depth turns the integrals into weighted series. For |z| < 1, the integral of (z/q²)^depth is the SU(2,1) factor (1 − z/q²)(1 + z/q)/(1 − z²), and the integral of its modulus is the modulus of that factor evaluated at |z|. The statement module restates the resulting integral theorem.

Key declarations:

- `GlobalTheory.WeylCell.WeylUnipotentShell.Atone.level_sets`: A natural-number-valued function with measurable sublevel sets of finite mass is measurable, and each level mass is the difference of consecutive sublevel masses, with the depth-zero mass given by the first sublevel.

  ```lean
  theorem level_sets {X : Type} [MeasurableSpace X] (μ : Measure X) (f : X → ℕ) (V : ℕ → ℝ)
      (hmeas : ∀ j : ℕ, MeasurableSet {x | f x ≤ j})
      (hV : ∀ j, μ {x | f x ≤ j} = ENNReal.ofReal (V j))
      (hV0 : ∀ j, 0 ≤ V j) :
      Measurable f ∧ ∀ j, μ (f ⁻¹' {j}) = ENNReal.ofReal (V j - if j = 0 then 0 else V (j - 1)) := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.Atone.sums_over_levels`: For a function constant on the levels of a measurable natural-number-valued map, convergence of the level-mass-weighted complex and absolute series gives integrability and identifies both integrals with their sums.

  ```lean
  theorem sums_over_levels {X : Type} [MeasurableSpace X] (μ : Measure X) (f : X → ℕ) (hf : Measurable f)
      (w : ℕ → ℝ) (hw0 : ∀ j, 0 ≤ w j) (hw : ∀ j, μ (f ⁻¹' {j}) = ENNReal.ofReal (w j))
      (c : ℕ → ℂ) (s : ℂ) (hs : HasSum (fun j => c j * (w j : ℂ)) s) (r : ℝ)
      (hr : HasSum (fun j => ‖c j‖ * w j) r) :
      ∫⁻ x, ‖c (f x)‖ₑ ∂μ = ENNReal.ofReal r ∧ Integrable (fun x => c (f x)) μ ∧ ∫ x, c (f x) ∂μ = s := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.integral_depth_cell`: For an integral representative of the last simple reflection in odd dimension and Haar measure giving the integral subgroup volume one, the depth power (z/q²)^depth is integrable for |z| < 1, with integral cSU(q,z) and absolute integral |cSU(q,|z|)|.

  ```lean
  theorem _root_.GlobalTheory.WeylCell.WeylUnipotentShell.integral_depth_cell : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
        μ ((KU σ n).subgroupOf (cellU y)) = 1 →
      ∀ z : ℂ, ‖z‖ < 1 →
        Integrable (fun u : cellU y => (z / (q : ℂ) ^ 2) ^ depthU k (u : GU σ n)) μ ∧
        ∫ u : cellU y, (z / (q : ℂ) ^ 2) ^ depthU k (u : GU σ n) ∂μ = cSU q z ∧
        ∫⁻ u : cellU y, ‖(z / (q : ℂ) ^ 2) ^ depthU k (u : GU σ n)‖ₑ ∂μ = ‖cSU q ((‖z‖ : ℝ) : ℂ)‖ₑ := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDiagonalConjLastSimpleReflectionCell

12 import steps from Main · 168 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralDiagonalConjLastSimpleReflectionCell)

**Proves the Haar change-of-variables formula for diagonal conjugation on the last simple-reflection cell of an odd unitary group.**

For an odd unramified unitary group, conjugation u ↦ t⁻¹ut by a diagonal unitary element preserves the cell defined by a compact-subgroup representative of the last simple reflection. With the compact subgroup intersection given Haar mass one, it scales the complex integral by q^(−4o) and the extended nonnegative integral by its norm, where o = ordL(tᵢᵢ) and i = lo(k) for the last reflection k. The preimage of the corner-valuation sublevel set at j is the sublevel set at j − 2o, and the sublevel volumes and Haar uniqueness determine the pushforward measure. The statement module uses this theorem directly to prove GlobalTheory.T.integral_diagonal_conj_lastSimpleReflectionCell.

Key declarations:

- `GlobalTheory.WeylCell.WeylUnipotentShell.integral_conj_diag_cellU_last`: Gives the Haar scaling under u ↦ t⁻¹ut for complex-valued and extended nonnegative integrands on the last simple-reflection cell.

  ```lean
  theorem integral_conj_diag_cellU_last :
      ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
        μ ((KU σ n).subgroupOf (cellU y)) = 1 →
      ∀ t : GU σ n, (∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) →
        (∀ F : GU σ n → ℂ, ∫ u : cellU y, F (t⁻¹ * (u : GU σ n) * t) ∂μ =
          (q : ℂ) ^ (-4 * ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k))) * ∫ u : cellU y, F (u : GU σ n) ∂μ) ∧
        (∀ F : GU σ n → ENNReal, ∫⁻ u : cellU y, F (t⁻¹ * (u : GU σ n) * t) ∂μ =
          ‖(q : ℂ) ^ (-4 * ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k)))‖ₑ * ∫⁻ u : cellU y, F (u : GU σ n) ∂μ) := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.conj_mem_cellU_last`: Shows that over a complete valued field with unramified involution, conjugation by a diagonal unitary element preserves the odd-dimensional cell defined by a representative of the last simple reflection in the compact subgroup K_U.

  ```lean
  theorem conj_mem_cellU_last [CompleteSpace L] {ϖ : L} {σ : L →+* L} {q : ℕ} (hU : IsUnramInv ϖ σ q)
      {n : ℕ} {k : Fin (n / 2)} (hk : ¬ k.val + 1 < n / 2) (hn : ¬ Even n)
      {y : GU σ n} (hy : y ∈ KU σ n) (hw : IsWeylRep (simpleU k) (y : GL (Fin n) L))
      (t : GU σ n) (ht : ∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0)
      (u : GU σ n) (hu : u ∈ cellU y) : t⁻¹ * u * t ∈ cellU y := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.v_cornerU_conj`: For a valuation-preserving involution, conjugation u ↦ t⁻¹ut multiplies the corner entry’s multiplicative valuation by exp(2 ordL(tᵢᵢ)), with i = lo(k).

  ```lean
  theorem v_cornerU_conj {σ : L →+* L} (hσ : ∀ x, Valued.v (σ x) = Valued.v x) {n : ℕ} (k : Fin (n / 2))
      (t : GU σ n) (ht : ∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) (u : GU σ n) :
      Valued.v (cornerU k (t⁻¹ * u * t)) =
        WithZero.exp (2 * ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k))) *
          Valued.v (cornerU k u) := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.diag_mul_mul_diag_apply`: Shows that for diagonal s and t the (i,j) entry of sut is sᵢᵢuᵢⱼtⱼⱼ.

  ```lean
  theorem diag_mul_mul_diag_apply (s u t : GU σ n)
      (hs : ∀ i j, i ≠ j → ((s : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0)
      (ht : ∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) (i j : Fin n) :
      (((s * u * t : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j =
        ((s : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i * ((u : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j *
          ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) j j := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralEqRankOneFactorSL2OfGeometricOnShells

12 import steps from Main · 178 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.IntegralEqRankOneFactorSL2OfGeometricOnShells)

**Evaluates the integral of a function with geometric values on successive shells as the rank-one SL₂ factor.**

Let Hⱼ be an increasing measurable exhaustion with μ(Hⱼ) = qʲ and q ≥ 2. If F equals 1 on H₀ and (a/q)ʲ on Hⱼ ∖ Hⱼ₋₁ for j ≥ 1, with |a| < 1, then F is integrable, its integral is (1 − a/q)/(1 − a), and the integral of |F| is the same factor evaluated at |a|. The proof partitions the space into disjoint shells and sums the geometric series weighted by their masses. The statement module uses the resulting theorem to prove GlobalTheory.T.integral_eq_rankOneFactorSL2_of_geometric_on_shells.

Key declarations:

- `GlobalTheory.ShellSum.shell`: Defines the zeroth shell as H₀ and each subsequent shell as the difference between consecutive sets.

  ```lean
  def shell {X : Type} (H : ℕ → Set X) : ℕ → Set X
    | 0 => H 0
    | j + 1 => H (j + 1) \ H j
  ```
- `GlobalTheory.ShellSum.hasSum_shell`: Sums the products of shell values and shell masses to (1 − a/q)/(1 − a) for q ≥ 2 and |a| < 1.

  ```lean
  theorem hasSum_shell (q : ℕ) (hq : 2 ≤ q) (b : ℂ) (hb : ‖b‖ < 1) :
      HasSum (fun j => shellVal q b j * (shellMass q j : ℂ)) (cSL q b) := …
  ```
- `GlobalTheory.ShellSum.integral_geom_on_shells`: Proves integrability and evaluates both the complex integral and the integral of the absolute value for a function with the prescribed shell values.

  ```lean
  theorem integral_geom_on_shells {X : Type} [MeasurableSpace X] (μ : Measure X) (q : ℕ) (hq : 2 ≤ q) (a : ℂ)
      (ha : ‖a‖ < 1) (H : ℕ → Set X) (hH : ∀ j, MeasurableSet (H j)) (hmono : Monotone H)
      (hU : ⋃ j, H j = Set.univ) (hμ : ∀ j, μ (H j) = (q : ENNReal) ^ j) (F : X → ℂ)
      (hF0 : ∀ x ∈ H 0, F x = 1) (hF : ∀ j x, x ∈ H (j + 1) → x ∉ H j → F x = (a / q) ^ (j + 1)) :
      Integrable F μ ∧ ∫ x, F x ∂μ = cSL q a ∧ ∫⁻ x, ‖F x‖ₑ ∂μ = ‖cSL q ((‖a‖ : ℝ) : ℂ)‖ₑ := …
  ```
- `GlobalTheory.integral_geometric_shells`: States the same integrability and integral formulas directly in terms of the measurable exhaustion and the values on its successive differences.

  ```lean
  theorem integral_geometric_shells : ∀ {X : Type} [MeasurableSpace X] (μ : Measure X) (q : ℕ), 2 ≤ q →
      ∀ (a : ℂ), ‖a‖ < 1 →
      ∀ (H : ℕ → Set X), (∀ j, MeasurableSet (H j)) → Monotone H → ⋃ j, H j = Set.univ →
      (∀ j, μ (H j) = (q : ENNReal) ^ j) → ∀ (F : X → ℂ), (∀ x ∈ H 0, F x = 1) →
      (∀ j x, x ∈ H (j + 1) → x ∉ H j → F x = (a / q) ^ (j + 1)) →
      Integrable F μ ∧ ∫ x, F x ∂μ = cSL q a ∧ ∫⁻ x, ‖F x‖ₑ ∂μ = ‖cSL q ((‖a‖ : ℝ) : ℂ)‖ₑ := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemShellUIffDepth

12 import steps from Main · 49 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemShellUIffDepth)

**Defines valuation shells on unitary Weyl cells and characterizes membership by a bound on depth.**

A shell of integer index j consists of the elements whose corner entry has multiplicative valuation at most exp(j). Depth is the negative of the corner entry’s additive order, truncated at zero. For nonnegative j, the valuation bound is equivalent to depth at most j, with zero corner entries handled separately in the proof. The shells are nested and exhaust the cell. The depth-power integral proof uses the membership criterion to identify its depth sublevel sets with these shells.

Key declarations:

- `GlobalTheory.WeylCell.WeylUnipotentShell.depthU`: Defines depth as max(0, −ordL(uᵢ,ᵣ)), where i = lo(k) and r is its reversed index.

  ```lean
  def depthU {σ : L →+* L} {n : ℕ} (k : Fin (n / 2)) (u : GU σ n) : ℕ :=
    (-ordL (cornerU k u)).toNat
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.shellU`: Defines the shell of integer index j by the bound exp(j) on the multiplicative valuation of the corner entry.

  ```lean
  def shellU {σ : L →+* L} {n : ℕ} (k : Fin (n / 2)) (y : GU σ n) (j : ℤ) : Set (cellU y) :=
    {u | Valued.v (cornerU k (u : GU σ n)) ≤ WithZero.exp j}
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.mem_shellU_iff_depth`: Characterizes membership in a shell of nonnegative index j by the inequality depth ≤ j.

  ```lean
  theorem mem_shellU_iff_depth {σ : L →+* L} {n : ℕ} (k : Fin (n / 2)) (y : GU σ n) (j : ℕ) (u : cellU y) :
      u ∈ shellU k y j ↔ depthU k (u : GU σ n) ≤ j := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.mem_shellU_depth`: Places each cell element in the shell indexed by its own depth.

  ```lean
  theorem mem_shellU_depth {σ : L →+* L} {n : ℕ} (k : Fin (n / 2)) (y : GU σ n) (u : cellU y) :
      u ∈ shellU k y (depthU k (u : GU σ n)) := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.shellU_mono`: Shows that the shells increase by inclusion as their integer index increases.

  ```lean
  theorem shellU_mono {σ : L →+* L} {n : ℕ} (k : Fin (n / 2)) (y : GU σ n) {j j' : ℤ} (h : j ≤ j') :
      shellU k y j ⊆ shellU k y j' := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemWeylCellUnitaryGroupLongSimpleReflectionIff

12 import steps from Main · 107 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.MemWeylCellUnitaryGroupLongSimpleReflectionIff)

**Characterizes the Weyl cell for the last simple reflection in even-dimensional unitary groups by a single matrix entry.**

For a unitary representative of the last simple reflection in even dimension, a unitary matrix lies in the Weyl cell exactly when it agrees with the identity outside the entry (lo(k), rev(lo(k))). The proof first establishes the general linear criterion for an adjacent transposition by computing conjugation by a monomial representative entry by entry, then identifies the last unitary reflection with that transposition. The proof of shell_measure uses the criterion to express cell elements by the corner coordinate and compute Haar volumes of its valuation sublevel sets.

Key declarations:

- `GlobalTheory.cellU_rankOne_shape`: For a Weyl representative y of the last simple reflection in the even-dimensional antidiagonal-form unitary group over a valued field, a matrix in that group belongs to the cell of y exactly when it agrees with the identity outside the entry (lo(k), rev(lo(k))).

  ```lean
  theorem cellU_rankOne_shape : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ)
      (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → Even n → ∀ (y : GU σ n),
      IsWeylRep (simpleU k) (y : GL (Fin n) L) → ∀ (u : GU σ n),
      u ∈ cellU y ↔ ∀ i j, ¬ (i = lo k ∧ j = (lo k).rev) →
        ((u : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = (1 : Matrix (Fin n) (Fin n) L) i j := …
  ```
- `GlobalTheory.WeylCellRankOne.mem_cell_swap`: Characterizes the general linear Weyl cell of an adjacent transposition (a,b) by agreement with the identity outside the entry (a,b).

  ```lean
  theorem mem_cell_swap {a b : Fin n} (hab : b.val = a.val + 1) {y : GL (Fin n) L}
      (hy : IsWeylRep (Equiv.swap a b) y) (u : GL (Fin n) L) :
      u ∈ cell y ↔ ∀ i j, ¬ (i = a ∧ j = b) →
        (u : Matrix (Fin n) (Fin n) L) i j = (1 : Matrix (Fin n) (Fin n) L) i j := …
  ```
- `GlobalTheory.WeylCellRankOne.conj_apply`: Expresses the (i,j) entry of y⁻¹My as M at (s(i),s(j)) multiplied by the corresponding entries of y⁻¹ and y, where y represents s.

  ```lean
  theorem conj_apply {s : Equiv.Perm (Fin n)} {y : GL (Fin n) L} (hy : IsWeylRep s y)
      (M : Matrix (Fin n) (Fin n) L) (i j : Fin n) :
      ((y⁻¹ : GL (Fin n) L) * M * (y : Matrix (Fin n) (Fin n) L)) i j =
        ((y⁻¹ : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i (s i) * M (s i) (s j) *
          (y : Matrix (Fin n) (Fin n) L) (s j) j := …
  ```
- `GlobalTheory.WeylCellRankOne.swap_lt`: Shows that swapping adjacent indices preserves the order of every increasing pair other than the swapped pair itself.

  ```lean
  theorem swap_lt {a b p q : Fin n} (hab : b.val = a.val + 1) (hpq : p < q) (hne : ¬ (p = a ∧ q = b)) :
      Equiv.swap a b p < Equiv.swap a b q := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalVectorValueUnitaryRankOneGindikinKarpel

12 import steps from Main · 230 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalVectorValueUnitaryRankOneGindikinKarpel)

**Computes the normalized spherical vector on the left translate by y⁻¹ of the last simple root subgroup in even unitary dimension.**

In the unramified even-dimensional unitary case, let y be an integral representative of the last simple reflection k and let u be a unitary transvection with central superdiagonal entry b, so σ(b) = −b. The normalized spherical vector takes the value 1 at y⁻¹u if b is integral and (αₖ/q)^(−ordL(b)) otherwise. For nonintegral b, the proof uses the opposite transvection with coefficient b⁻¹ to factor y⁻¹u into an upper triangular factor and an integral unitary factor, then evaluates the normalized inducing character. The statement module invokes this pointwise formula directly.

Key declarations:

- `GlobalTheory.GKUnitaryRankOne.value_rankOne`: Evaluates the normalized spherical vector at y⁻¹u as 1 for an integral central superdiagonal entry b of the unitary transvection u and as (αₖ/q)^(−ordL(b)) otherwise.

  ```lean
  theorem value_rankOne : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L) (σ : L →+* L) (q : ℕ),
      IsUnramInv ϖ σ q → ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → Even n →
      ∀ (α : Fin (n / 2) → ℂ) (φ : GU σ n → ℂ), IsSphericalU q α φ → φ 1 = 1 →
      ∀ (y : GU σ n), y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ (u : GU σ n), (∀ i j, ¬ (i = lo k ∧ j = (lo k).rev) →
        ((u : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = (1 : Matrix (Fin n) (Fin n) L) i j) →
      φ (y⁻¹ * u) = if Valued.v (((u : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev) ≤ 1 then 1
        else α k ^ (-ordL (((u : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev)) *
          (q : ℂ) ^ (ordL (((u : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev)) := …
  ```
- `GlobalTheory.GKUnitaryRankOne.transv`: Defines the elementary transvection 𝟙 + cEᵢⱼ for distinct indices i and j.

  ```lean
  def transv {n : ℕ} (i j : Fin n) (hij : i ≠ j) (c : L) : GL (Fin n) L :=
    ⟨1 + Matrix.single i j c, 1 - Matrix.single i j c,
      by rw [Matrix.add_mul, Matrix.mul_sub, Matrix.mul_sub, Matrix.single_mul_single_of_ne _ _ _ _ hij.symm]; simp,
      by rw [Matrix.sub_mul, Matrix.mul_add, Matrix.mul_add, Matrix.single_mul_single_of_ne _ _ _ _ hij.symm]; simp⟩
  ```
- `GlobalTheory.GKUnitaryRankOne.transv_mem_GU`: Shows that the transvection is unitary when j is the reverse of i and σ(c) = −c.

  ```lean
  theorem transv_mem_GU (σ : L →+* L) {n : ℕ} (i j : Fin n) (hij : i ≠ j) (hr : i.rev = j) (c : L)
      (hc : σ c = -c) : transv i j hij c ∈ GU σ n := …
  ```
- `GlobalTheory.GKUnitaryRankOne.transv_mem_GLint`: Shows that a transvection with integral coefficient belongs to the general linear group over the valuation ring.

  ```lean
  theorem transv_mem_GLint {n : ℕ} (i j : Fin n) (hij : i ≠ j) {c : L} (hc : Valued.v c ≤ 1) :
      transv i j hij c ∈ GLint (Fin n) (intL L) := …
  ```
- `GlobalTheory.GKUnitaryRankOne.ordL_monomial_entry`: Shows that every nonzero entry of an integral monomial Weyl representative has additive order zero.

  ```lean
  theorem ordL_monomial_entry {n : ℕ} {t : Equiv.Perm (Fin n)} {Y : GL (Fin n) L} (hY : IsWeylRep t Y)
      (hYK : Y ∈ GLint (Fin n) (intL L)) (i : Fin n) :
      ordL ((Y : Matrix (Fin n) (Fin n) L) i (t⁻¹ i)) = 0 := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalWeylCellTranslate

12 import steps from Main · 86 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.SphericalWeylCellTranslate)

**Collects elementary matrix-entry lemmas for upper unitriangular matrices and Weyl representatives.**

The lemmas show that first-superdiagonal entries add under multiplication and change sign under inversion, give entrywise formulas for monomial conjugation and transvections, and identify the sole inversion of an adjacent swap. In ShellMeasure, the unitary shift argument uses these identities to replace an inserted upper unitriangular factor by a left translation when evaluating a Borel-equivariant function on the Weyl cell for a swap of adjacent indices paired by reversal.

Key declarations:

- `GlobalTheory.UnipShiftU.unipB_mul_apply_succ`: Shows that each first-superdiagonal entry of a product of upper unitriangular matrices is the sum of the corresponding entries.

  ```lean
  theorem unipB_mul_apply_succ {n : ℕ} {X Y : GL (Fin n) L} (hX : X ∈ unipB L (Fin n)) (hY : Y ∈ unipB L (Fin n))
      {a a' : Fin n} (h : a'.val = a.val + 1) :
      ((X * Y : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) a a' =
        (X : Matrix (Fin n) (Fin n) L) a a' + (Y : Matrix (Fin n) (Fin n) L) a a' := …
  ```
- `GlobalTheory.UnipShiftU.unipB_inv_apply_succ`: Shows that inversion negates each first-superdiagonal entry of an upper unitriangular matrix.

  ```lean
  theorem unipB_inv_apply_succ {n : ℕ} {X : GL (Fin n) L} (hX : X ∈ unipB L (Fin n))
      {a a' : Fin n} (h : a'.val = a.val + 1) :
      ((X⁻¹ : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) a a' = -(X : Matrix (Fin n) (Fin n) L) a a' := …
  ```
- `GlobalTheory.UnipShiftU.conj_apply`: Computes each entry of conjugation by a monomial Weyl representative as a permuted entry multiplied by two monomial coefficients.

  ```lean
  theorem conj_apply {n : ℕ} {s : Equiv.Perm (Fin n)} {y : GL (Fin n) L} (hy : IsWeylRep s y)
      (X : Matrix (Fin n) (Fin n) L) (i j : Fin n) :
      (((y⁻¹ : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) * X * (y : Matrix (Fin n) (Fin n) L)) i j =
        ((y⁻¹ : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i (s i) * X (s i) (s j) *
          (y : Matrix (Fin n) (Fin n) L) (s j) j := …
  ```
- `GlobalTheory.UnipShiftU.swap_inversion`: Shows that an adjacent transposition reverses the order of an increasing pair only if it is the pair being swapped.

  ```lean
  theorem swap_inversion {n : ℕ} {a a' p q : Fin n} (h : a'.val = a.val + 1) (hpq : p < q)
      (hs : Equiv.swap a a' q < Equiv.swap a a' p) : p = a ∧ q = a' := …
  ```
- `GlobalTheory.UnipShiftU.transvection_apply'`: Gives the entries of a transvection as those of the identity plus the coefficient in its designated position.

  ```lean
  theorem transvection_apply' {n : ℕ} (a a' : Fin n) (d : L) (i j : Fin n) :
      Matrix.transvection a a' d i j = (if i = j then 1 else 0) + (if i = a ∧ j = a' then d else 0) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.TorusConjugationWeylCell

12 import steps from Main · 111 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.TorusConjugationWeylCell)

**Proves that conjugation by a diagonal unitary element preserves the Weyl cell of any unitary Weyl representative.**

For a monomial unitary Weyl representative y and a diagonal unitary element t, the conjugate y⁻¹ty is diagonal and hence belongs to the upper triangular Borel subgroup. The entrywise formula for diagonal conjugation shows that it preserves upper and lower unitriangularity, which gives the two conditions defining the Weyl cell. Local Haar change-of-variables proofs apply the theorem to t and t⁻¹ to construct the cell automorphism and use the entrywise formula to compute its effect on valuation bounds.

Key declarations:

- `GlobalTheory.WeylCell.diagConjU`: Shows that y⁻¹ty belongs to the unitary Borel and that u ↦ t⁻¹ut carries the Weyl cell of y into itself.

  ```lean
  theorem GlobalTheory.WeylCell.diagConjU : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ)
      (y : GU σ n) (w : Equiv.Perm (Fin n)), IsWeylRep w (y : GL (Fin n) L) → ∀ (t : GU σ n),
      (∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) →
      IsBorelU (y⁻¹ * t * y) ∧ ∀ u ∈ cellU y, t⁻¹ * u * t ∈ cellU y := …
  ```
- `GlobalTheory.WeylCell.weylRep_conj_offdiag`: Shows that conjugation by a monomial Weyl representative preserves diagonality.

  ```lean
  theorem weylRep_conj_offdiag {w : Equiv.Perm (Fin n)} {y t : GL (Fin n) L} (hy : IsWeylRep w y)
      (ht : ∀ i j, i ≠ j → (t : Matrix (Fin n) (Fin n) L) i j = 0) :
      ∀ i j, i ≠ j → ((y⁻¹ * t * y : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0 := …
  ```
- `GlobalTheory.WeylCell.gl_conj_apply_of_offdiag`: Gives the (i,j) entry of D⁻¹gD as Dᵢᵢ⁻¹gᵢⱼDⱼⱼ for an invertible diagonal matrix D.

  ```lean
  theorem gl_conj_apply_of_offdiag {D : GL (Fin n) L}
      (hD : ∀ i j, i ≠ j → (D : Matrix (Fin n) (Fin n) L) i j = 0) (g : GL (Fin n) L) (i j : Fin n) :
      ((D⁻¹ * g * D : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j =
        ((D : Matrix (Fin n) (Fin n) L) i i)⁻¹ * (g : Matrix (Fin n) (Fin n) L) i j *
          (D : Matrix (Fin n) (Fin n) L) j j := …
  ```
- `GlobalTheory.WeylCell.conj_mem_unipB_of_offdiag`: Shows that diagonal conjugation preserves the upper unitriangular subgroup.

  ```lean
  theorem conj_mem_unipB_of_offdiag {D : GL (Fin n) L}
      (hD : ∀ i j, i ≠ j → (D : Matrix (Fin n) (Fin n) L) i j = 0) {g : GL (Fin n) L}
      (hg : g ∈ unipB L (Fin n)) : D⁻¹ * g * D ∈ unipB L (Fin n) := …
  ```
- `GlobalTheory.WeylCell.conj_mem_unipBLower_of_offdiag`: Shows that diagonal conjugation preserves the lower unitriangular subgroup.

  ```lean
  theorem conj_mem_unipBLower_of_offdiag {D : GL (Fin n) L}
      (hD : ∀ i j, i ≠ j → (D : Matrix (Fin n) (Fin n) L) i j = 0) {g : GL (Fin n) L}
      (hg : g ∈ unipBLower L (Fin n)) : D⁻¹ * g * D ∈ unipBLower L (Fin n) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryBorelEqDiagonalMulUnipotent

12 import steps from Main · 28 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryBorelEqDiagonalMulUnipotent)

**Factors each element of the unitary Borel as its diagonal part times an upper unitriangular unitary element.**

The proof uses the unitary relations on the diagonal entries of an upper triangular unitary matrix β to construct a diagonal unitary matrix t with those entries. Left multiplication by t⁻¹ then rescales the rows of β to give an upper unitriangular factor. The statement module invokes this factorization as the unitary Borel decomposition.

Key declarations:

- `GlobalTheory.UnitaryBorel.borel_eq_diag_mul_unip_sameDiag`: Over a field with an integer-valued valuation, each upper triangular element β of GU σ n for the anti-diagonal form factors as β = tν, where t is diagonal and unitary, ν is upper unitriangular and unitary, and t has the same diagonal as β.

  ```lean
  theorem borel_eq_diag_mul_unip_sameDiag : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ)
      (β : GU σ n), IsBorelU β →
      ∃ t ν : GU σ n, β = t * ν ∧ IsUnipU ν ∧
        (∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) ∧
        ∀ i, ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i = ((β : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i i := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryThreeRankOneSphericalVectorCellValue

12 import steps from Main · 328 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryThreeRankOneSphericalVectorCellValue)

**Computes the normalized spherical vector on the Weyl translate of the last simple-reflection cell in odd dimension.**

For an unramified unitary group of odd dimension and an integral representative y of the last simple reflection k, the normalized spherical vector has value (αₖ/q²)^D at y⁻¹u, where D is the negative additive order of the corner entry of u, truncated at zero. In the three-by-three Heisenberg block, the adjacent entries have equal multiplicative valuations whose common square is at most the corner valuation. At positive depth, right multiplication by an integral opposite Heisenberg element makes y⁻¹u upper triangular, and spherical equivariance evaluates the modulus-weighted inducing character on that Borel element. The statement module invokes this formula directly.

Key declarations:

- `GlobalTheory.WeylCell.U21HeisenbergElement.value_point`: Gives the value (αₖ/q²)^D of the normalized spherical vector at y⁻¹u for a cell element u of depth D.

  ```lean
  theorem value_point : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ (α : Fin (n / 2) → ℂ) (φ : GU σ n → ℂ), IsSphericalU q α φ → φ 1 = 1 →
      ∀ u : cellU y, φ (y⁻¹ * (u : GU σ n)) = (α k / (q : ℂ) ^ 2) ^ depthU k (u : GU σ n) := …
  ```
- `GlobalTheory.WeylCell.U21HeisenbergElement.Heisenberg₂`: Constructs the invertible Heisenberg matrix with coordinates (p,q,r) and inverse coordinates (−p,−q,pq−r).

  ```lean
  def Heisenberg₂ {n : ℕ} {i j k : Fin n} (hij : i ≠ j) (hjk : j ≠ k) (hik : i ≠ k) (p q r : L) : GL (Fin n) L :=
    ⟨heisM i j k p q r, heisM i j k (-p) (-q) (p * q - r),
      by rw [heisM_mul hij hjk hik]; convert heisM_zero i j k using 2 <;> ring,
      by rw [heisM_mul hij hjk hik]; convert heisM_zero i j k using 2 <;> ring⟩
  ```
- `GlobalTheory.WeylCell.U21HeisenbergElement.heis_mem_GU_iff`: Characterizes unitarity for a reversal-symmetric Heisenberg block by σ(q) = −p, σ(p) = −q, and σ(r) = pq − r.

  ```lean
  theorem heis_mem_GU_iff (σ : L →+* L) {n : ℕ} {i j k : Fin n} (hij : i ≠ j) (hjk : j ≠ k) (hik : i ≠ k)
      (hr : i.rev = k) (hj : j.rev = j) (p q r : L) :
      Heisenberg₂ hij hjk hik p q r ∈ GU σ n ↔ σ q = -p ∧ σ p = -q ∧ σ r = p * q - r := …
  ```
- `GlobalTheory.WeylCell.U21HeisenbergElement.v_sq_le`: Deduces from the unitary relations and valuation invariance that the adjacent entries have equal multiplicative valuations and their common square is at most the corner valuation.

  ```lean
  theorem v_sq_le {σ : L →+* L} (hσ : ∀ x, Valued.v (σ x) = Valued.v x) {b d c : L} (hb : σ b = -d)
      (hc : σ c = b * d - c) : Valued.v d = Valued.v b ∧ Valued.v b * Valued.v b ≤ Valued.v c := …
  ```
- `GlobalTheory.WeylCell.U21HeisenbergElement.heisM_mul_opp`: Gives the entrywise product of a Heisenberg matrix and an opposite one under three scalar cancellation relations.

  ```lean
  theorem heisM_mul_opp {n : ℕ} {i j k : Fin n} (hij : i ≠ j) (hjk : j ≠ k) (hik : i ≠ k) (b d c y x z : L)
      (h1 : 1 + b * x + c * z = 0) (h2 : b + c * y = 0) (h3 : x + d * z = 0) (s t : Fin n) :
      (heisM i j k b d c * heisM k j i y x z) s t = (if s = t then 1 else 0) - (if i = s ∧ i = t then 1 else 0) +
        (if i = s ∧ k = t then c else 0) + (if j = s ∧ j = t then d * y else 0) + (if j = s ∧ k = t then d else 0) +
        (if k = s ∧ i = t then z else 0) + (if k = s ∧ j = t then y else 0) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellHaarRightTranslateInvariant

12 import steps from Main · 62 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellHaarRightTranslateInvariant)

**Proves right invariance of Haar integration on the last simple-reflection cell of an odd-dimensional unitary group.**

In the unramified odd-dimensional case, right translation by any element p of the last simple-reflection cell preserves both complex and extended nonnegative integrals for the Haar measure on the cell that gives mass one to its intersection with the integral unitary subgroup KU. The proof places p in the compact open subgroup indexed by its depth, which is preserved by right translation by p. The translated measure remains left invariant and agrees with the original measure on that subgroup, so Haar uniqueness on the shell exhaustion gives equality of the measures. The statement module invokes this theorem directly.

Key declarations:

- `GlobalTheory.WeylCell.WeylUnipotentShell.cellU_haar_rightInv`: Shows that replacing F(u) by F(up) leaves both integrals unchanged for every p in the last simple-reflection cell in the unramified odd-dimensional case.

  ```lean
  theorem cellU_haar_rightInv : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
        μ ((KU σ n).subgroupOf (cellU y)) = 1 →
      ∀ p : cellU y,
        (∀ F : GU σ n → ℂ, ∫ u : cellU y, F ((u * p : cellU y) : GU σ n) ∂μ = ∫ u : cellU y, F (u : GU σ n) ∂μ) ∧
        (∀ F : GU σ n → ENNReal,
          ∫⁻ u : cellU y, F ((u * p : cellU y) : GU σ n) ∂μ = ∫⁻ u : cellU y, F (u : GU σ n) ∂μ) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylSimpleReflectionRevCommSqEqOne

12 import steps from Main · 28 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylSimpleReflectionRevCommSqEqOne)

**Proves that each unitary simple Weyl reflection commutes with index reversal and squares to the identity.**

The proof checks commutation with index reversal in the two forms of the reflection, a single transposition and a product of two disjoint transpositions, and uses the involutivity of the transpositions to compute its square. The statement module invokes both identities directly.

Key declarations:

- `GlobalTheory.simpleU_rev_and_sq`: For every simple reflection s in the unitary permutation model, proves that s(rev(i)) = rev(s(i)) for every index i and that s² = 1.

  ```lean
  theorem simpleU_rev_and_sq : ∀ (n : ℕ) (k : Fin (n / 2)), (∀ i, simpleU k i.rev = (simpleU k i).rev) ∧ simpleU k * simpleU k = 1 := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasure

12 import steps from Main · 350 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasure)

**Computes Haar volumes of valuation shells in the last simple-reflection cell of an even-dimensional unitary group.**

For the cell of an integral representative of the last simple reflection in even dimension, over a complete discretely valued field of characteristic zero with an unramified involution, the corner bound v(c) ≤ exp(j) defines a measurable shell of Haar volume qʲ for every integer j, with the integral subgroup given mass one. The corner coordinate identifies the shell filtration with balls in the σ-anti-invariant line. The proof derives their successive index q from the residue-field count q² and converts that index into a volume ratio by left invariance. ShellMeasure reuses the index and volume lemmas to obtain the formula in arbitrary characteristic under the same unramified hypotheses.

Key declarations:

- `GlobalTheory.ShellU.shell_measure`: Over a complete discretely valued field of characteristic zero with the stated unramified involution, the corner-valuation shell of integer index j in the cell of an integral representative of the last simple reflection in even dimension is measurable and has Haar volume qʲ when the cell’s integral subgroup has mass one.

  ```lean
  theorem shell_measure : ∀ (L : Type) [Field L] [CharZero L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L]
      (ϖ : L) (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q → ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 →
      Even n → ∀ (y : GU σ n), y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
      μ ((KU σ n).subgroupOf (cellU y)) = 1 → ∀ (j : ℤ),
      MeasurableSet {u : cellU y | Valued.v ((((u : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev) ≤
          ((Multiplicative.ofAdd j : Multiplicative ℤ) : WithZero (Multiplicative ℤ))} ∧
      μ {u : cellU y | Valued.v ((((u : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev) ≤
          ((Multiplicative.ofAdd j : Multiplicative ℤ) : WithZero (Multiplicative ℤ))} = (q : ENNReal) ^ j := …
  ```
- `GlobalTheory.ShellU.relIndex_ball`: Identifies the index of the maximal ideal in the additive group of the valuation ring with the residue-field cardinality q².

  ```lean
  theorem relIndex_ball {ϖ : L} {σ : L →+* L} {q : ℕ} (hU : IsUnramInv ϖ σ q) :
      (ball L (-1)).relIndex (ball L 0) = q ^ 2 := …
  ```
- `GlobalTheory.ShellU.relIndex_anti_eq_fix`: Identifies the index of consecutive anti-invariant balls with the index of the fixed balls of levels −1 and 0.

  ```lean
  theorem relIndex_anti_eq_fix {ϖ : L} {σ : L →+* L} {q : ℕ} (hU : IsUnramInv ϖ σ q) (j : ℤ) :
      (antiBall σ j).relIndex (antiBall σ (j + 1)) = (fixBall σ (-1)).relIndex (fixBall σ 0) := …
  ```
- `GlobalTheory.ShellU.relIndex_antiBall`: Shows that each anti-invariant valuation ball has index q in the next larger ball.

  ```lean
  theorem relIndex_antiBall {ϖ : L} {σ : L →+* L} {q : ℕ} (hU : IsUnramInv ϖ σ q) (j : ℤ) :
      (antiBall σ j).relIndex (antiBall σ (j + 1)) = q := …
  ```
- `GlobalTheory.ShellU.measure_chain`: For a left-invariant measure, gives volume qʲ at level j of an increasing integer-indexed chain of measurable subgroups with constant nonzero successive index q and volume one at level zero.

  ```lean
  theorem measure_chain {G : Type} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [MeasurableSpace G]
      [BorelSpace G] (μ : Measure G) [μ.IsMulLeftInvariant] (H : ℤ → Subgroup G) {q : ℕ} (hq : q ≠ 0)
      (hm : ∀ j, MeasurableSet (H j : Set G)) (hle : ∀ j, H j ≤ H (j + 1))
      (hi : ∀ j, (H j).relIndex (H (j + 1)) = q) (h0 : μ (H 0) = 1) (j : ℤ) : μ (H j) = (q : ENNReal) ^ j := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasureStatement

12 import steps from Main · 16 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasureStatement)

**Exports the Haar-volume formula for corner-valuation balls in the last simple-reflection cell of an even-dimensional unitary group.**

The exported theorem gives measurability and Haar volume qʲ for the corner-valuation ball of every integer level j in even dimension over a complete discretely valued field of characteristic zero with an unramified involution and residue field of size q². Haar measure on the cell gives its integral points mass one. The diagonal change-of-variables proof uses these volumes to compare the level-zero ball with its preimage under conjugation.

Key declarations:

- `GlobalTheory.T.weyl_cell_stabilizer_measure`: For an integral representative of the last simple reflection in even dimension over a complete discretely valued characteristic-zero field with an unramified involution and residue field of size q², the cell elements with corner valuation at most the value-group element exp(j) form a measurable set of Haar volume qʲ for each integer j when the cell’s integral points have mass one.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.weyl_cell_stabilizer_measure : ∀ (L : Type) [Field L] [CharZero L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L]
      (ϖ : L) (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q → ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 →
      Even n → ∀ (y : GU σ n), y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
      μ ((KU σ n).subgroupOf (cellU y)) = 1 → ∀ (j : ℤ),
      MeasurableSet {u : cellU y | Valued.v ((((u : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev) ≤
          ((Multiplicative.ofAdd j : Multiplicative ℤ) : WithZero (Multiplicative ℤ))} ∧
      μ {u : cellU y | Valued.v ((((u : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k).rev) ≤
          ((Multiplicative.ofAdd j : Multiplicative ℤ) : WithZero (Multiplicative ℤ))} = (q : ENNReal) ^ j := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasureTwo

12 import steps from Main · 154 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.WeylCellStabilizerMeasureTwo)

**Computes the Haar scaling under diagonal conjugation on the last simple-reflection cell in even unitary dimension.**

For an unramified even-dimensional unitary group over a complete discretely valued field L of characteristic zero with residue-field size q², precomposing with u ↦ t⁻¹ut for diagonal t scales the normalized Haar integral by q^(−2r), where r = ordL(t_{a,a}) and a = lo(k) for the last simple reflection k. On the cell define S_j = {u | v(u_{a,a.rev}) ≤ exp(j)} with exp(j) in the multiplicative value group. This continuous cell automorphism pulls S_0 back to S_{−2r}, whose normalized Haar measure is q^(−2r). ShellMeasure reuses the valuation and inversion lemmas in its characteristic-independent proof of the same formula.

Key declarations:

- `GlobalTheory.GKConjScale.conjScale`: Gives the scaling factor q^(−2r) under diagonal conjugation for both complex and extended nonnegative integrals with Haar measure normalized on the integral subgroup.

  ```lean
  theorem conjScale : ∀ (L : Type) [Field L] [CharZero L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L]
      (ϖ : L) (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q → ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 →
      Even n → ∀ (y : GU σ n), y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
      μ ((KU σ n).subgroupOf (cellU y)) = 1 → ∀ (t : GU σ n),
      (∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) →
      (∀ F : GU σ n → ℂ, ∫ u : cellU y, F (t⁻¹ * u * t) ∂μ =
          (q : ℂ) ^ (-2 * ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k))) *
            ∫ u : cellU y, F u ∂μ) ∧
      ∀ F : GU σ n → ENNReal, ∫⁻ u : cellU y, F (t⁻¹ * u * t) ∂μ =
          (q : ENNReal) ^ (-2 * ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (lo k) (lo k))) *
            ∫⁻ u : cellU y, F u ∂μ := …
  ```
- `GlobalTheory.GKConjScale.v_eq_ofAdd_ordL`: Expresses the multiplicative valuation of a nonzero element as exp(−ordL(x)).

  ```lean
  theorem v_eq_ofAdd_ordL {x : L} (hx : x ≠ 0) :
      Valued.v x = ((Multiplicative.ofAdd (-ordL x) : Multiplicative ℤ) : WithZero (Multiplicative ℤ)) := …
  ```
- `GlobalTheory.GKConjScale.coe_mul_le_iff`: Rewrites the valuation inequality gx ≤ h as x ≤ g⁻¹h when g and h are nonzero valuation values.

  ```lean
  theorem coe_mul_le_iff (g h : Multiplicative ℤ) (x : WithZero (Multiplicative ℤ)) :
      (g : WithZero (Multiplicative ℤ)) * x ≤ h ↔ x ≤ ((g⁻¹ * h : Multiplicative ℤ) : WithZero (Multiplicative ℤ)) := …
  ```
- `GlobalTheory.GKConjScale.inv_offdiag`: Shows that the inverse of a diagonal unitary matrix is diagonal.

  ```lean
  theorem inv_offdiag {σ : L →+* L} (t : GU σ n)
      (ht : ∀ i j, i ≠ j → ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0) (i j : Fin n) (hij : i ≠ j) :
      (((t⁻¹ : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0 := …
  ```

### Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.ImportsRestBis

12 import steps from Main · 69 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.ImportsRestBis)

**Proves that every commuting family of endomorphisms of a nonzero finite-dimensional complex vector space has a common eigenvector.**

The proof chooses a nonzero common invariant subspace of least dimension. For each operator, an eigenspace of its restriction is nonzero and invariant under the whole family by commutativity, so minimality forces it to equal the chosen subspace. In MemIwGLOfDiag, eigU_of applies the theorem to the diagonal torus action on a finite-dimensional invariant subspace of a Jacquet module.

Key declarations:

- `UpperTheory.Reformulated.B.Ygb8.main`: For a pairwise commuting family of endomorphisms of a nonzero finite-dimensional complex vector space, there is a single nonzero vector on which each operator acts by a scalar.

  ```lean
  theorem UpperTheory.Reformulated.B.Ygb8.main :
      ∀ (d : ℕ) (E : Type) [inst : AddCommGroup E] [inst_1 : _root_.Module ℂ E] [FiniteDimensional ℂ E] {I : Type}
        (T : I → Module.End ℂ E),
        (∀ (a b : I), Commute (T a) (T b)) →
          Module.finrank ℂ E = d → (0 : ℕ) < d → ∃ (w : E), w ≠ (0 : E) ∧ ∃ (c : I → ℂ), ∀ (i : I), (T i : E → E) w = c i • w := …
  ```
- `CommutingFamilyCommonEigenvector.key`: On a nonzero common invariant subspace of least dimension, each operator in the commuting family acts by a scalar.

  ```lean
  private lemma key {E : Type} [AddCommGroup E] [Module ℂ E] [FiniteDimensional ℂ E] {I : Type}
      (T : I → Module.End ℂ E) (hc : ∀ (a b : I), Commute (T a) (T b))
      (W : Submodule ℂ E) (hW : W ≠ ⊥) (hinv : ∀ i, ∀ x ∈ W, T i x ∈ W)
      (hmin : ∀ W' : Submodule ℂ E, W' ≠ ⊥ → (∀ i, ∀ x ∈ W', T i x ∈ W') →
        Module.finrank ℂ W ≤ Module.finrank ℂ W')
      (i : I) (w : E) (hw : w ∈ W) : ∃ μ : ℂ, T i w = μ • w := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ContinuousUnitaryRootMap

12 import steps from Main · 73 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ContinuousUnitaryRootMap)

**Proves continuity of the unitary root map for an adjacent simple reflection.**

A valuation-preserving field endomorphism is continuous because it preserves the valuation balls at zero. Continuity of the two-by-two unipotent block and its partner gives continuity of the root matrix, where the partner is obtained by conjugating the inverse block’s conjugate transpose by the fixed antidiagonal permutation matrix. Negating the parameter gives the inverse root matrix, so both matrix coordinates defining the topology on the unit group vary continuously. ContinuousUnitaryRootMapStatement re-exports the resulting group-valued continuity theorem.

Key declarations:

- `GlobalTheory.CompanionTheory.SwapRoot.continuous_of_v_eq`: A valuation-preserving endomorphism of the valued field is continuous.

  ```lean
  theorem continuous_of_v_eq (σ : L →+* L) (hv : ∀ x, Valued.v (σ x) = Valued.v x) : Continuous σ := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.continuous_partner_nU`: The partner block of the two-by-two unipotent matrix varies continuously with the root parameter when the field endomorphism is continuous.

  ```lean
  theorem continuous_partner_nU (σ : L →+* L) (hc : Continuous σ) :
      Continuous fun x : L => partner σ (nU x) := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.continuous_uR_val`: For a continuous field involution, the underlying matrix of the adjacent unitary root element varies continuously with its parameter.

  ```lean
  theorem continuous_uR_val (σ : L →+* L) (hσ : ∀ x, σ (σ x) = x) (hc : Continuous σ) (a : ℕ)
      (h : 2 * (a + 2) ≤ n) :
      Continuous fun x : L => (((uR σ hσ a h x : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.uR_neg`: The inverse of the root element u_R(x) is u_R(−x).

  ```lean
  theorem uR_neg (σ : L →+* L) (hσ : ∀ x, σ (σ x) = x) (a : ℕ) (h : 2 * (a + 2) ≤ n) (x : L) :
      (uR σ hσ a h x)⁻¹ = uR σ hσ a h (-x) := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.continuous_uR`: Under the unramified involution hypotheses, the adjacent root map from the valued field to the unitary group is continuous.

  ```lean
  theorem continuous_uR : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L) (σ : L →+* L)
      (q n : ℕ) (hU : IsUnramInv ϖ σ q) (a : ℕ) (h : 2 * (a + 2) ≤ n),
      Continuous (uR σ hU.1 a h : L → GU σ n) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsAdmissibleLinearFunctional

12 import steps from Main · 307 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsAdmissibleLinearFunctional)

**Constructs a translation-invariant functional by normalized Haar integration under the unramified hypotheses for 0 < |w| and |w|q² < 1.**

Over a complete discretely valued field satisfying the unramified involution hypotheses, admissible functions are locally constant and equal a multiple of w^(−ord_L x) outside a large ball. For |w|q² < 1, geometric shell bounds prove integrability of the spherical test function, and subtracting a multiple leaves a continuous compactly supported remainder. Haar integration with valuation ring volume one is translation invariant and scales by q^(2 ord_L c) under x ↦ cx for c ≠ 0. For nonzero w in this range the uniformizer identity gives the spherical integral (1 − w)/(1 − wq²). The statement re-exports the construction, and BlockDetOrderAdd and ModulusHalfBlockValue use the order lemma.

Key declarations:

- `GlobalTheory.CompanionTheory.SwapInt.ordL_mul_of_ne`: The order of a product of two nonzero field elements is the sum of their orders.

  ```lean
  theorem ordL_mul_of_ne {x y : L} (hx : x ≠ 0) (hy : y ≠ 0) : ordL (x * y) = ordL x + ordL y := …
  ```
- `GlobalTheory.CompanionTheory.SwapInt.integral_comp_mul_left`: Under the unramified hypotheses, replacing F(x) by F(cx) for c ≠ 0 multiplies its regular additive Haar integral by q^(2 ord_L c).

  ```lean
  theorem integral_comp_mul_left (h : IsUnramInv ϖ σ q) (μ : Measure L) [μ.IsAddHaarMeasure] [μ.Regular]
      (F : L → ℂ) {c : L} (hc : c ≠ 0) :
      ∫ x, F (c * x) ∂μ = (q : ℂ) ^ (2 * ordL c) * ∫ x, F x ∂μ := …
  ```
- `GlobalTheory.CompanionTheory.SwapInt.integrable_of_isAdm`: Under the unramified involution hypotheses on a complete, locally compact, second-countable discretely valued field, every admissible function with |w|q² < 1 is integrable for normalized additive Haar measure.

  ```lean
  theorem integrable_of_isAdm (h : IsUnramInv ϖ σ q) (μ : Measure L) [μ.IsAddHaarMeasure]
      (hμ : μ.real (ordBall L 0) = 1) {w : ℂ} (hw : ‖w‖ * (q : ℝ) ^ 2 < 1) {F : L → ℂ} (hF : IsAdm w F) :
      Integrable F μ := …
  ```
- `GlobalTheory.CompanionTheory.SwapInt.sphFn_mul_uniformizer`: For nonzero w, substituting ϖx in the spherical test function gives w⁻¹ times the original function plus (1 − w⁻¹) times the indicator of the valuation ring.

  ```lean
  theorem sphFn_mul_uniformizer {ϖ : L} (hϖ : Valued.v ϖ = WithZero.exp (-1 : ℤ)) {w : ℂ} (hw : w ≠ 0) (x : L) :
      sphFn w (ϖ * x) = w⁻¹ * sphFn w x + (1 - w⁻¹) * (ordBall L 0 : Set L).indicator (fun _ => (1 : ℂ)) x := …
  ```
- `GlobalTheory.CompanionTheory.SwapInt.exists_invariant_integral`: Over a complete discretely valued field satisfying the unramified involution hypotheses, for 0 < |w| and |w|q² < 1 there exists a linear functional on the admissible class that is translation invariant, transforms under nonzero dilations by q^(2 ord_L c), and takes the value (1 − w)/(1 − wq²) on the spherical test function.

  ```lean
  theorem exists_invariant_integral : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L) (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q → ∀ w : ℂ, w ≠ 0 → ‖w‖ * (q : ℝ) ^ 2 < 1 →
      ∃ I : (L → ℂ) → ℂ,
        (∀ F G : L → ℂ, IsAdm w F → IsAdm w G → I (F + G) = I F + I G) ∧
        (∀ (c : ℂ) (F : L → ℂ), IsAdm w F → I (c • F) = c * I F) ∧
        (∀ (F : L → ℂ) (y : L), IsAdm w F → IsAdm w (fun x => F (x + y)) ∧ I (fun x => F (x + y)) = I F) ∧
        (∀ (F : L → ℂ) (c : L), IsAdm w F → c ≠ 0 →
          IsAdm w (fun x => F (c * x)) ∧ I (fun x => F (c * x)) = (q : ℂ) ^ (2 * ordL c) * I F) ∧
        IsAdm w (sphFn (L := L) w) ∧ I (sphFn w) = (1 - w) / (1 - w * (q : ℂ) ^ 2) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootDiagonalConj

12 import steps from Main · 251 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootDiagonalConj)

**Computes how a diagonal unitary element rescales an adjacent root coordinate and changes the Borel weight.**

The two-by-two block calculation uses the unitary relation between antidiagonally paired diagonal entries to move a diagonal element past the root element, rescaling the parameter by the ratio of the two adjacent entries. Conjugation by the reflection swaps those entries and also swaps their antidiagonal partners. Comparing the two affected factors in the Borel weight gives the correction q^(2 ord_L(c)), where c is the rescaling ratio. ReflectionRootDiagonalConjStatement re-exports the resulting identity.

Key declarations:

- `GlobalTheory.CompanionTheory.SwapRoot.Torus.diag_unitary`: For a diagonal unitary element with entries d, antidiagonally paired indices p and r satisfy σ(d_p)d_r = 1.

  ```lean
  theorem diag_unitary (σ : L →+* L) (t : GU σ n) (d : Fin n → L)
      (ht : ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) = Matrix.diagonal d) (p r : Fin n)
      (hpr : p.val + r.val + 1 = n) : σ (d p) * d r = 1 := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.Torus.uR_mul_diag`: For a diagonal unitary t with entries d, the adjacent root element satisfies u_R(x)t = t u_R((d_j/d_i)x).

  ```lean
  theorem uR_mul_diag (σ : L →+* L) (hσ : ∀ x, σ (σ x) = x) (a : ℕ) (h : 2 * (a + 2) ≤ n) (t : GU σ n) (d : Fin n → L)
      (ht : ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) = Matrix.diagonal d)
      (hd : ∀ k, d k ≠ 0) (x : L) :
      uR σ hσ a h x * t = t * uR σ hσ a h (d (cI n a h 1) * (d (cI n a h 0))⁻¹ * x) := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.Torus.sR_conj_val`: Conjugation by the adjacent reflection exchanges the corresponding pair of diagonal entries and their antidiagonal partners, leaving the other entries fixed.

  ```lean
  theorem sR_conj_val (σ : L →+* L) (hσ : ∀ x, σ (σ x) = x) (a : ℕ) (h : 2 * (a + 2) ≤ n) (t : GU σ n) (d : Fin n → L)
      (ht : ((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) = Matrix.diagonal d) :
      (((sR σ hσ a h * t * sR σ hσ a h : GU σ n) : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) =
        Matrix.diagonal (dS a h d) := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.Torus.prod_compare`: In the weighted product defining the Borel weight, swapping adjacent orders o_i and o_j and multiplying by Q^(2(o_j − o_i)) gives the product with the corresponding character coordinates swapped.

  ```lean
  theorem prod_compare {m : ℕ} (χ : Fin m → ℂˣ) (Q : ℂ) (hQ : Q ≠ 0) (N : ℤ) (i j : Fin m) (hij : j.val = i.val + 1)
      (o o' : Fin m → ℤ) (h1 : o' i = o j) (h2 : o' j = o i) (h3 : ∀ k, k ≠ i → k ≠ j → o' k = o k) :
      (∏ k : Fin m, (χ k : ℂ) ^ (o' k) * Q ^ (-(o' k) * (N - 2 * (k.val : ℤ)))) * Q ^ (2 * (o j - o i)) =
        ∏ k : Fin m, ((χ (Equiv.swap i j k)) : ℂ) ^ (o k) * Q ^ (-(o k) * (N - 2 * (k.val : ℤ))) := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.Torus.torus_step`: Under IsUnramInv ϖ σ q, for adjacent character indices i = a and j = a + 1 with 2(a + 2) ≤ n, each diagonal unitary t admits a nonzero scalar c and a Borel element t′ such that s_R u_R(x)t = t′ s_R u_R(cx) for every x and the weight of t′ times q^(2 ord_L(c)) equals the weight of t with character coordinates i and j swapped.

  ```lean
  theorem torus_step : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L) (σ : L →+* L) (q n : ℕ) (hU : IsUnramInv ϖ σ q) (a : ℕ) (h : 2 * (a + 2) ≤ n) (χ : Fin (n / 2) → ℂˣ) (i j : Fin (n / 2)), i.val = a → j.val = a + 1 → ∀ t : GU σ n, PositivityTheory.SphericalProduct.IsDiagM (t : GL (Fin n) L) →
      ∃ c : L, c ≠ 0 ∧ ∃ t' : GU σ n, IsBorelU t' ∧
        (∀ x : L, sR σ hU.1 a h * uR σ hU.1 a h x * t = t' * (sR σ hU.1 a h * uR σ hU.1 a h (c * x))) ∧
        chiDeltaU q (fun k => (χ k : ℂ)) t' * (q : ℂ) ^ (2 * ordL c) =
          chiDeltaU q (fun k => ((χ ∘ Equiv.swap i j) k : ℂ)) t := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootUnipotentShift

12 import steps from Main · 48 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ReflectionRootUnipotentShift)

**Re-exports the unipotent root translation identity and supplies elementary matrix and index lemmas.**

The auxiliary declarations prove closure of upper unitriangular matrices under multiplication and encode the adjacent swap together with its antidiagonal partner. ReflectionRootUnipotentShiftStatement re-exports the imported identity that absorbs right multiplication by an upper unitriangular unitary element into a fixed root-coordinate translation and a left upper unitriangular factor.

Key declarations:

- `GlobalTheory.CompanionTheory.SwapRoot.Unip.UT.mul`: The product of two upper unitriangular matrices is upper unitriangular.

  ```lean
  theorem UT.mul {A B : Matrix (Fin n) (Fin n) L} (hA : UT A) (hB : UT B) : UT (A * B) := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.Unip.pn`: The map tests a, a + 1, n − 2 − a, and n − 1 − a in that order, swapping the first two and the last two and fixing other indices when 2(a + 2) ≤ n.

  ```lean
  def pn (n a b : ℕ) : ℕ :=
    if b = a then a + 1 else if b = a + 1 then a else
      if b = n - 2 - a then n - 1 - a else if b = n - 1 - a then n - 2 - a else b
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.Unip.pF`: The same index map acts on the n matrix indices when 2(a + 2) ≤ n.

  ```lean
  def pF (a : ℕ) (h : 2 * (a + 2) ≤ n) (b : Fin n) : Fin n := ⟨pn n a b.val, pn_lt h b.2⟩
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.Unip.sR_uR_mul_unip`: For each upper unitriangular unitary v, there is a scalar y such that every x admits an upper unitriangular unitary b satisfying s_R u_R(x)v = b s_R u_R(x + y).

  ```lean
  theorem sR_uR_mul_unip : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ) (hσ : ∀ x, σ (σ x) = x) (a : ℕ) (h : 2 * (a + 2) ≤ n) (v : GU σ n), IsUnipU v →
      ∃ y : L, ∀ x : L, ∃ b : GU σ n, IsUnipU b ∧
        sR σ hσ a h * uR σ hσ a h x * v = b * (sR σ hσ a h * uR σ hσ a h (x + y)) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RootMapMemCompactOfIntegral

12 import steps from Main · 65 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RootMapMemCompactOfIntegral)

**Proves that the adjacent unitary root map sends integral parameters into the standard maximal compact subgroup.**

The root matrix is assembled from two upper unitriangular blocks with off-diagonal entries x and −σ(x). Since σ preserves the valuation, an integral x makes both blocks integral, and the nonarchimedean valuation bound preserves integrality when the blocks are inserted into the full matrix. The resulting integral unitary matrix lies in the standard maximal compact subgroup, and RootMapMemCompactOfIntegralStatement re-exports this membership theorem.

Key declarations:

- `GlobalTheory.CompanionTheory.SwapRoot.partner_nU`: The partner of the two-by-two unipotent block with upper-right entry x is the upper unitriangular block with upper-right entry −σ(x).

  ```lean
  theorem partner_nU (σ : L →+* L) (x : L) : partner σ (nU x) = !![1, -σ x; 0, 1] := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.val_cM_conj_le_one`: Multiplying an integral two-by-two matrix on the left by a coordinate matrix and on the right by its transpose gives an integral matrix.

  ```lean
  theorem val_cM_conj_le_one {n : ℕ} (c : Fin 2 → Fin n) (P : Matrix (Fin 2) (Fin 2) L)
      (hP : ∀ p r, Valued.v (P p r) ≤ 1) (b d : Fin n) :
      Valued.v ((cM L c * P * (cM L c).transpose) b d) ≤ 1 := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.blockM_int`: If the differences of both two-by-two blocks from the identity are integral, the assembled block matrix is integral.

  ```lean
  theorem blockM_int {n : ℕ} (a : ℕ) (h : 2 * (a + 2) ≤ n) (X Y : Matrix (Fin 2) (Fin 2) L)
      (hX : ∀ p r, Valued.v ((X - 1) p r) ≤ 1) (hY : ∀ p r, Valued.v ((Y - 1) p r) ≤ 1) :
      Formalism.UG.P.fIwasawaInt (blockM a h X Y) := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.uR_mem_KU`: Under the unramified involution hypotheses, the adjacent root element u_R(x) indexed by a with 2(a + 2) ≤ n belongs to the standard maximal compact subgroup whenever x has multiplicative valuation at most 1.

  ```lean
  theorem uR_mem_KU : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L) (σ : L →+* L) (q n : ℕ)
      (hU : IsUnramInv ϖ σ q) (a : ℕ) (h : 2 * (a + 2) ≤ n) (x : L), Valued.v x ≤ 1 → uR σ hU.1 a h x ∈ KU σ n := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SatakePowerNonvanishing

12 import steps from Main · 256 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SatakePowerNonvanishing)

**Proves nonvanishing of Satake values on double cosets of arbitrarily large powers of a strictly dominant diagonal element.**

For an unramified unitary group and any Satake parameter, the spherical Hecke operator attached to the double coset of t^j has nonzero eigenvalue for arbitrarily large j when t is strictly dominant and diagonal. Evaluation on Weyl representatives gives finite dimensionality of the Iwahori-fixed principal series, and a minimal supported Bruhat weight gives injectivity of the coset-sum operator. If the Hecke values eventually vanish, the coset formula gives zero coset sums for high iterates, and finite-dimensional injectivity forces the original spherical vector's coset sum to vanish. The direct importer uses this result to prove GlobalTheory.T.satake_power_nonvanishing.

Key declarations:

- `GlobalTheory.CompanionTheory.SatPow.satPowNonvan`: For every Satake parameter and strictly dominant diagonal t, the Satake value of the indicator of Kt^jK is nonzero for arbitrarily large j, where K is the spherical subgroup.

  ```lean
  theorem satPowNonvan : PositivityTheory.SphericalProduct.SatPowNonvan := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.iwFix`: Defines the subspace of the unitary principal series fixed by right translation by the Iwahori subgroup.

  ```lean
  def iwFix (σ : L →+* L) (n : ℕ) (q : ℕ) (α : Fin (n / 2) → ℂˣ) : Submodule ℂ (GU σ n → ℂ) where
    carrier := {φ | φ ∈ psSpaceU σ q α ∧ ∀ g, ∀ i ∈ IwU σ n, φ (g * i) = φ g}
    add_mem' h h' := ⟨add_mem h.1 h'.1, fun g i hi => by simp [h.2 g i hi, h'.2 g i hi]⟩
    zero_mem' := ⟨zero_mem _, fun _ _ _ => rfl⟩
    smul_mem' c _ h := ⟨Submodule.smul_mem _ c h.1, fun g i hi => by simp [h.2 g i hi]⟩
  ```
- `GlobalTheory.CompanionTheory.SatPow.finiteDimensional_iwFix`: Proves that the Iwahori-fixed principal series is finite-dimensional when the involution preserves the valuation.

  ```lean
  theorem finiteDimensional_iwFix (hσ : ∀ x, σ (σ x) = x) (hσv : ∀ x, Valued.v (σ x) = Valued.v x) (q : ℕ)
      (α : Fin (n / 2) → ℂˣ) : FiniteDimensional ℂ (iwFix σ n q α) := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.aOp_inj`: For a valuation-preserving involution, nonzero q and character parameters, and strictly dominant diagonal t, the sum of right translations by rt over a finite subset R of the Iwahori subgroup containing the identity has trivial kernel on Iwahori-fixed functions with the prescribed Borel covariance.

  ```lean
  theorem aOp_inj (q : ℕ) (hq : (q : ℂ) ≠ 0) {m : ℕ} (α : Fin m → ℂ) (hα : ∀ i, α i ≠ 0)
      (hσ : ∀ x, σ (σ x) = x) (hσv : ∀ x, Valued.v (σ x) = Valued.v x)
      (t : GU σ n) (htD : IsDiagM (t : GL (Fin n) L)) (htS : IsStrictDom (t : GL (Fin n) L))
      (R : Finset (GU σ n)) (h1R : (1 : GU σ n) ∈ R) (hRI : ∀ r ∈ R, r ∈ IwU σ n)
      (φ : GU σ n → ℂ) (hB : ∀ b g, IsBorelU b → φ (b * g) = chiDeltaU q α b * φ g)
      (hI : ∀ g, ∀ i ∈ IwU σ n, φ (g * i) = φ g) (h0 : aOp R t φ = 0) : φ = 0 := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.abs_main`: Under the coset hypotheses, injectivity of the coset-sum operator on a finite-dimensional invariant space implies that the spherical Hecke translates of a normalized right K-invariant function are nonzero at the identity for arbitrarily large powers.

  ```lean
  theorem abs_main {G : Type} [Group G] (K I : Subgroup G) (hIK : I ≤ K) (hfin : Finite (K ⧸ I.subgroupOf K)) (t : G)
      (R : Finset G) (h1R : (1 : G) ∈ R) (hRI : ∀ r ∈ R, r ∈ I) (hRt : ∀ r ∈ R, ∀ k : ℕ, t ^ k * r * (t ^ k)⁻¹ ∈ K)
      (hR : ∀ i ∈ I, ∃! r, r ∈ R ∧ t⁻¹ * (r⁻¹ * i) * t ∈ I)
      (Wsp : Submodule ℂ (G → ℂ)) [FiniteDimensional ℂ Wsp]
      (hWA : ∀ φ ∈ Wsp, aOp R t φ ∈ Wsp) (hinj : ∀ φ ∈ Wsp, aOp R t φ = 0 → φ = 0)
      (φ₀ : G → ℂ) (hφ₀ : φ₀ ∈ Wsp) (hK : ∀ g, ∀ k ∈ K, φ₀ (g * k) = φ₀ g) (h1 : φ₀ 1 = 1)
      (lam : ℕ → ℂ) (hlam : ∀ j, hAct K (dosetInd ℂ K (t ^ j)) φ₀ 1 = lam j) (j₀ : ℕ) : ∃ j ≥ j₀, lam j ≠ 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionMemMaximalCompact

12 import steps from Main · 87 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionMemMaximalCompact)

**Proves that the simple reflection swapping an adjacent pair and its antidiagonal partner lies in the integral unitary subgroup.**

The proof identifies the two blocks of the simple reflection with the same 2-by-2 swap matrix. Valuation bounds on the embedded block corrections show that the reflection has integral entries. Since the reflection squares to the identity, its integral matrix is its own inverse, giving membership in the integral unitary subgroup KU under the unramified involution hypotheses. The direct importer forwards this result as GlobalTheory.T.simple_reflection_mem_maximal_compact.

Key declarations:

- `GlobalTheory.CompanionTheory.SwapRoot.sR_mem_KU`: Under the unramified involution hypotheses, the simple reflection that transposes the coordinates in each of two antidiagonally paired adjacent pairs belongs to the integral unitary subgroup KU.

  ```lean
  theorem sR_mem_KU : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L)
      (σ : L →+* L) (q n : ℕ) (hU : IsUnramInv ϖ σ q) (a : ℕ) (h : 2 * (a + 2) ≤ n),
      sR σ hU.1 a h ∈ KU σ n := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.partner_wU`: The companion block of the 2-by-2 Weyl swap is the same swap matrix.

  ```lean
  theorem partner_wU (σ : L →+* L) : partner σ (wU L) = w2 L := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.cM_conj_int`: If a 2-by-2 matrix P has integral entries, then so does C P Cᵀ for the coordinate matrix C associated with a map from two indices into the ambient index set.

  ```lean
  theorem cM_conj_int {n : ℕ} (c : Fin 2 → Fin n) (P : Matrix (Fin 2) (Fin 2) L)
      (hP : ∀ p r, Valued.v (P p r) ≤ 1) (b d : Fin n) :
      Valued.v ((cM L c * P * (cM L c)ᵀ) b d) ≤ 1 := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.weyl_sub_one_entries_integral`: Every entry of the difference between the 2-by-2 swap matrix and the identity is integral.

  ```lean
  theorem weyl_sub_one_entries_integral (p r : Fin 2) : Valued.v ((w2 L - 1) p r) ≤ 1 := …
  ```
- `GlobalTheory.CompanionTheory.SwapRoot.block_matrix_weyl_integral`: The ambient block matrix formed with the 2-by-2 swap in both designated blocks has integral entries.

  ```lean
  theorem block_matrix_weyl_integral {n : ℕ} (a : ℕ) (h : 2 * (a + 2) ≤ n) :
      Formalism.UG.P.fIwasawaInt (blockM a h (w2 L) (w2 L)) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionRootBorelDecomp

12 import steps from Main · 160 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SimpleReflectionRootBorelDecomp)

**Factors the product of a simple reflection and a root element and computes the Borel weight of the factor.**

For the paired simple reflection s at first-half indices i = a and j = a + 1 with 2(a + 2) ≤ n in an unramified unitary group and for x ≠ 0, the factorization is s u(x) = b s u(x⁻¹) s with b in the Borel subgroup. A 2-by-2 matrix identity gives b via the root homomorphism. Its first-half diagonal entries are −x⁻¹ and x at i and j, and 1 elsewhere, giving the Borel weight ((χᵢ/χⱼ)/q²)^(−ord_L(x)). The direct importer uses the factorization to prove GlobalTheory.T.simple_reflection_root_borel_decomp.

Key declarations:

- `GlobalTheory.CompanionTheory.SwapFactor.sR_uR_factor`: For x ≠ 0, there is a Borel element b with s u(x) = b s u(x⁻¹) s and Borel weight ((χᵢ/χⱼ)/q²)^(−ord_L(x)).

  ```lean
  theorem sR_uR_factor : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (ϖ : L) (σ : L →+* L) (q n : ℕ) (hU : IsUnramInv ϖ σ q) (a : ℕ) (h : 2 * (a + 2) ≤ n) (χ : Fin (n / 2) → ℂˣ) (i j : Fin (n / 2)), i.val = a → j.val = a + 1 → ∀ x : L, x ≠ 0 →
      ∃ b : GU σ n, IsBorelU b ∧
        chiDeltaU q (fun k => (χ k : ℂ)) b = (((χ i : ℂ) / (χ j : ℂ)) / (q : ℂ) ^ 2) ^ (-ordL x) ∧
        sR σ hU.1 a h * uR σ hU.1 a h x = b * (sR σ hU.1 a h * uR σ hU.1 a h x⁻¹ * sR σ hU.1 a h) := …
  ```
- `GlobalTheory.CompanionTheory.SwapFactor.betaU`: Defines the upper triangular 2-by-2 matrix with diagonal entries −x⁻¹ and x and upper-right entry 1 for x ≠ 0.

  ```lean
  def betaU (x : L) (hx : x ≠ 0) : GL (Fin 2) L where
    val := !![-x⁻¹, 1; 0, x]
    inv := !![-x, 1; 0, x⁻¹]
    val_inv := by
      ext p r; fin_cases p <;> fin_cases r <;> simp [Matrix.mul_apply, Fin.sum_univ_two, hx]
    inv_val := by
      ext p r; fin_cases p <;> fin_cases r <;> simp [Matrix.mul_apply, Fin.sum_univ_two, hx]
  ```
- `GlobalTheory.CompanionTheory.SwapFactor.wU_mul_nU`: Factors the product of the Weyl swap w and the upper unipotent matrix n(x) as β(x) w n(x⁻¹) w.

  ```lean
  theorem wU_mul_nU (x : L) (hx : x ≠ 0) :
      wU L * nU x = betaU x hx * (wU L * nU x⁻¹ * wU L) := …
  ```
- `GlobalTheory.CompanionTheory.SwapFactor.isBorel_root`: The root homomorphism sends β(x) into the upper triangular Borel subgroup of the unitary group.

  ```lean
  theorem isBorel_root (hσ : ∀ x, σ (σ x) = x) (a : ℕ) (h : 2 * (a + 2) ≤ n) (x : L) (hx : x ≠ 0) :
      IsBorelU (rootHom σ hσ a h (betaU x hx)) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureUniqueSigmaCompactNormalisedCompactOpStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureUniqueSigmaCompactNormalisedCompactOpStatement)

**Exports Haar uniqueness with the scaling factor determined on a nonempty compact open set.**

On a σ-compact locally compact group, if a left-invariant Borel measure finite on compact sets has c times the Haar measure of one nonempty compact open set, it equals c times the Haar measure everywhere. The odd-dimensional Weyl-cell proofs use this criterion to compute the scaling under diagonal conjugation and to prove right-translation invariance.

Key declarations:

- `GlobalTheory.T.haarMeasure_unique_sigmaCompact_normalised_compactOpen`: Given a countable cover by compact measurable sets, deduces ν = cμ from ν(S) = cμ(S) on one nonempty compact open set S, with μ Haar and ν left invariant and finite on compact sets.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.haarMeasure_unique_sigmaCompact_normalised_compactOpen : ∀ (G : Type) [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [LocallyCompactSpace G] [MeasurableSpace G]
      [BorelSpace G] (μ ν : Measure G) [μ.IsHaarMeasure] [ν.IsMulLeftInvariant] [IsFiniteMeasureOnCompacts ν]
      (K : ℕ → Set G), (∀ j, IsCompact (K j) ∧ MeasurableSet (K j)) → (⋃ j, K j) = Set.univ →
      ∀ (s : Set G) (c : ENNReal), IsOpen s → IsCompact s → s.Nonempty → ν s = c * μ s → ν = c • μ := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureWeylCellOddUnitaryStatement

13 import steps from Main · 14 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureWeylCellOddUnitaryStatement)

**Gives Haar volumes of corner-valuation sublevel sets in the last simple-reflection cell of an odd-dimensional unramified unitary group.**

For an integral representative of the last simple reflection in the unramified odd-dimensional case, the set of cell elements of depth at most j has volume q^(j + 2⌊j/2⌋) for j ≥ 0 when the integral subgroup of the cell has mass one. The depth-power integral proof takes successive differences of these volumes at positive depths, and the diagonal-conjugation proof compares volumes at shifted levels to determine the Haar scaling factor.

Key declarations:

- `GlobalTheory.T.haar_measure_weyl_cell_odd_unitary`: Gives Haar volume q^(j + 2⌊j/2⌋) for the corner-valuation sublevel set at exp(j) for every nonnegative integer j in the odd unramified case, using an integral representative of the last simple reflection and giving the integral subgroup of the cell Haar mass one.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.haar_measure_weyl_cell_odd_unitary : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
        μ ((KU σ n).subgroupOf (cellU y)) = 1 →
      ∀ j : ℕ, μ (shellU k y j) = (q : ENNReal) ^ (j + 2 * (j / 2)) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.HasSumSu21RankOneSeriesDifferencesStatement

13 import steps from Main · 10 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.HasSumSu21RankOneSeriesDifferencesStatement)

**Exports the series evaluation for the SU(2,1) rank-one factor.**

For an integer q ≥ 2 and |z| < 1, the series with terms (z/q²)^j(Vⱼ − Vⱼ₋₁), where Vⱼ = q^(j + 2⌊j/2⌋) for j ≥ 0 and V₋₁ = 0, sums to (1 − z/q²)(1 + z/q)/(1 − z²). The depth-power integral proof applies the evaluation at z to compute the complex integral and at |z| to compute the integral of its absolute value.

Key declarations:

- `GlobalTheory.T.hasSum_cSU_power_differences`: For a natural number q ≥ 2 and complex z with |z| < 1, the successive differences of q^(j + 2⌊j/2⌋), weighted by (z/q²)^j and starting with a zeroth difference of 1, sum to the SU(2,1) rank-one factor.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.hasSum_cSU_power_differences : ∀ (q : ℕ), 2 ≤ q → ∀ z : ℂ, ‖z‖ < 1 →
      HasSum (fun j : ℕ => (z / (q : ℂ) ^ 2) ^ j *
        ((q : ℂ) ^ (j + 2 * (j / 2)) - (if j = 0 then 0 else (q : ℂ) ^ (j - 1 + 2 * ((j - 1) / 2))))) (cSU q z) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.LocCompactSecondCountable

13 import steps from Main · 250 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.LocCompactSecondCountable)

**Proves local compactness, second countability, and a Haar scaling formula, and gives coordinates on a unitary parabolic radical.**

For a complete discretely valued field L satisfying the unramified involution hypotheses with residue cardinality q², the module proves local compactness and second countability. It computes the additive Haar scaling under multiplication by u ∈ L× as q^(−2 ord_L(u)) by comparing indices of valuation balls. For the unipotent radical of the unitary line stabilizer, it derives the trace equation for the upper-right entry from the unitary matrix identity. Given a continuous involution σ, a trace-one θ and a nonzero d with σ(d) = −d, the trace equation gives a homeomorphism with Lⁿ × K, where K is the fixed field.

Key declarations:

- `GlobalTheory.LineUMod.locCompact_secondCountable`: Under the unramified involution hypotheses, the complete valued field L is locally compact and second countable.

  ```lean
  theorem locCompact_secondCountable [CompleteSpace L] {ϖ : L} {σ : L →+* L} {q : ℕ} (h : IsUnramInv ϖ σ q) :
      LocallyCompactSpace L ∧ SecondCountableTopology L := …
  ```
- `GlobalTheory.LineUMod.distribHaarChar_eq`: Multiplication by u ∈ L× scales additive Haar measure by q^(−2 ord_L(u)).

  ```lean
  theorem distribHaarChar_eq [CompleteSpace L] [LocallyCompactSpace L] {ϖ : L} {σ : L →+* L} {q : ℕ}
      (h : IsUnramInv ϖ σ q) (u : Lˣ) : (distribHaarChar L u : ℝ) = (q : ℝ) ^ (-2 * ordL (u : L)) := …
  ```
- `GlobalTheory.LineUMod.val_eq_nMat`: A radical element has upper unitriangular block form, with top row block x equal to the negative of the reversed σ-conjugate of the right column block y and corner z satisfying z + σ(z) = x · y.

  ```lean
  theorem val_eq_nMat (g : (lineParU σ hσ hc n).U) :
      g.1.1.val = nMat (rowOf σ fun i => g.1.1.val (midIdx i) (Fin.last _)) (fun i => g.1.1.val (midIdx i) (Fin.last _))
        (g.1.1.val 0 (Fin.last _)) ∧
      g.1.1.val 0 (Fin.last _) + σ (g.1.1.val 0 (Fin.last _)) =
        (rowOf σ fun i => g.1.1.val (midIdx i) (Fin.last _)) ⬝ᵥ fun i => g.1.1.val (midIdx i) (Fin.last _) := …
  ```
- `GlobalTheory.LineUMod.coord`: Given a continuous involution σ, a trace-one θ and a nonzero d with σ(d) = −d, the homeomorphism from the radical to Lⁿ × K uses the right column block and the coefficient (z − θ(z + σ(z)))/d of d in the corner z relative to the basis (θ, d).

  ```lean
  def coord (n : ℕ) : (lineParU σ hσ hc n).U ≃ₜ (Fin n → L) × fixK σ
  ```
- `GlobalTheory.LineUMod.normUnit`: The map sends u ∈ L× to the fixed-field unit uσ(u).

  ```lean
  def normUnit (u : Lˣ) : (fixK σ)ˣ :=
    Units.mk0 ⟨u * σ u, by show σ _ = _; simp [hσ, mul_comm]⟩ fun e => by simpa using congrArg Subtype.val e
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.SwapLtSwapIffOfAddTwo

13 import steps from Main · 53 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.SwapLtSwapIffOfAddTwo)

**Proves an entrywise criterion for the last simple reflection’s cell in the standard odd-dimensional unramified unitary group.**

Work in the standard antidiagonal unitary group of odd dimension over a complete discretely valued field with an unramified involution. The last branch of simpleU swaps the lower index with its reverse, and the index lemmas show that they are two apart and determine which increasing pairs stay increasing. For a Weyl representative in the standard integral subgroup, its cell consists exactly of the upper unitriangular unitary matrices whose strictly upper entries vanish outside the central 3 × 3 block.

Key declarations:

- `GlobalTheory.WeylCell.WeylUnipotentShell.swap_lt_swap_iff_of_add_two`: For A′ = A + 2 and a < b, swapping A and A′ preserves the order of a and b exactly when a < A or A′ < b.

  ```lean
  theorem swap_lt_swap_iff_of_add_two {n : ℕ} (A A' a b : Fin n) (hA : A'.val = A.val + 2) (hab : a < b) :
      Equiv.swap A A' a < Equiv.swap A A' b ↔ (a < A ∨ A' < b) := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.val_rev_lo_of_last`: In odd dimension, the reversed index for the last simple reflection is two greater than its lower index.

  ```lean
  theorem val_rev_lo_of_last {n : ℕ} (k : Fin (n / 2)) (hk : ¬ k.val + 1 < n / 2) (hn : ¬ Even n) :
      ((lo k).rev : Fin n).val = (lo k).val + 2 := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.mem_cellU_last_iff`: In the standard odd-dimensional unitary group over a complete discretely valued field satisfying IsUnramInv, the cell of an integral Weyl representative of the last simple reflection consists exactly of the upper unitriangular unitary matrices whose strictly upper entries vanish outside the central 3 × 3 block.

  ```lean
  theorem mem_cellU_last_iff : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ u : GU σ n, u ∈ cellU y ↔ IsUnipU u ∧ ∀ i j : Fin n, i < j → (i < lo k ∨ (lo k).rev < j) →
        ((u : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j = 0 := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellShellIsOpenCompactSubgroupStatement

13 import steps from Main · 15 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellShellIsOpenCompactSubgroupStatement)

**Restates the open compact subgroup theorem for shells in the last simple-reflection cell of an odd-dimensional unitary group.**

The theorem directly restates an imported result for a complete discretely valued field with an unramified involution and an odd-dimensional unitary group with a representative of the last simple reflection in its standard compact subgroup. Every integer-indexed shell is an open compact subgroup of the cell, and the depth-zero shell is the intersection of the cell with the standard compact subgroup.

Key declarations:

- `GlobalTheory.T.unitaryWeylCellShell_isOpenCompactSubgroup`: Over a complete discretely valued field with the stated unramified involution, for a representative of the last simple reflection in the standard compact subgroup KU of an odd-dimensional unitary group, every shell is open and compact, contains the identity, and is closed under products and inverses, while the depth-zero shell is the compact subgroup restricted to the cell.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.unitaryWeylCellShell_isOpenCompactSubgroup : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      (∀ j : ℤ, IsOpen (shellU k y j) ∧ IsCompact (shellU k y j) ∧ (1 : cellU y) ∈ shellU k y j ∧
        (∀ u v : cellU y, u ∈ shellU k y j → v ∈ shellU k y j → u * v ∈ shellU k y j) ∧
        (∀ u : cellU y, u ∈ shellU k y j → u⁻¹ ∈ shellU k y j)) ∧
      shellU k y 0 = (((KU σ n).subgroupOf (cellU y) : Subgroup (cellU y)) : Set (cellU y)) := …
  ```

### Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.UnitaryRootEmbedding

13 import steps from Main · 854 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.UnitaryRootEmbedding)

**Constructs a two-block GL₂ homomorphism into an antidiagonal unitary group and proves a unipotent shift identity.**

The homomorphism places g and its inverse σ-transpose conjugated by the swap matrix in two reflected adjacent coordinate blocks, and fixes the other coordinates. Block multiplication verifies preservation of the antidiagonal form. In the integer-valued valuation setting, right multiplication of s u(x) by an upper unitriangular isometry v shifts x by the selected superdiagonal entry of v and introduces an upper unitriangular isometry on the left. The proof cancels that entry and uses unitarity to cancel its reflected partner before conjugating by s. ReflectionRootUnipotentShift uses the identity directly for its namesake theorem.

Key declarations:

- `UpperTheory.Reformulated.B.AntidiagonalWeylElement.rootHom`: Defines the two-block homomorphism from GL₂(L) into the isometry group of the antidiagonal form for an involution σ, with the first block starting at index a and 2(a + 2) ≤ n.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.AntidiagonalWeylElement.rootHom :
      {L : Type} →
        [inst : Field L] →
          {n : ℕ} →
            (σ : L →+* L) →
              (∀ (x : L), (σ : L → L) ((σ : L → L) x) = x) →
                (a : ℕ) → (2 : ℕ) * (a + (2 : ℕ)) ≤ n → GL (Fin (2 : ℕ)) L →* ↥(UpperTheory.Reformulated.B.AntidiagonalWeylElement.GU σ n) := …
  ```
- `UpperTheory.Reformulated.B.AntidiagonalWeylElement.rootGL_mem_unitary`: For involutive σ, every matrix in the image of the two-block construction preserves the antidiagonal form.

  ```lean
  theorem UpperTheory.Reformulated.B.AntidiagonalWeylElement.rootGL_mem_unitary :
      ∀ {L : Type} [inst : Field L] {n : ℕ} (σ : L →+* L),
        (∀ (x : L), (σ : L → L) ((σ : L → L) x) = x) →
          ∀ (a : ℕ) (h : (2 : ℕ) * (a + (2 : ℕ)) ≤ n) (g : GL (Fin (2 : ℕ)) L),
            (UpperTheory.Reformulated.B.AntidiagonalWeylElement.rootGL σ a h : GL (Fin (2 : ℕ)) L → GL (Fin n) L) g ∈ UpperTheory.Reformulated.B.AntidiagonalWeylElement.GU σ n := …
  ```
- `UpperTheory.Reformulated.B.AntidiagonalWeylElement.sR`: Defines s as the image of the 2×2 swap matrix, exchanging the two coordinates within each selected block.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.AntidiagonalWeylElement.sR :
      {L : Type} →
        [inst : Field L] →
          {n : ℕ} →
            (σ : L →+* L) →
              (∀ (x : L), (σ : L → L) ((σ : L → L) x) = x) →
                (a : ℕ) → (2 : ℕ) * (a + (2 : ℕ)) ≤ n → ↥(UpperTheory.Reformulated.B.AntidiagonalWeylElement.GU σ n) := …
  ```
- `UpperTheory.Reformulated.B.AntidiagonalWeylElement.uR`: Defines u(x) as the image of the upper unitriangular 2×2 matrix with superdiagonal entry x.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.AntidiagonalWeylElement.uR :
      {L : Type} →
        [inst : Field L] →
          {n : ℕ} →
            (σ : L →+* L) →
              (∀ (x : L), (σ : L → L) ((σ : L → L) x) = x) →
                (a : ℕ) → (2 : ℕ) * (a + (2 : ℕ)) ≤ n → L → ↥(UpperTheory.Reformulated.B.AntidiagonalWeylElement.GU σ n) := …
  ```
- `UpperTheory.Reformulated.B.AntidiagonalWeylElement.sR_uR_mul_unip`: For each upper unitriangular isometry v over the discretely valued field, there is a shift y such that for every x one has s u(x) v = b s u(x+y) for some upper unitriangular isometry b.

  ```lean
  theorem UpperTheory.Reformulated.B.AntidiagonalWeylElement.sR_uR_mul_unip :
      ∀ (L : Type) [inst : Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ)
        (hσ : ∀ (x : L), (σ : L → L) ((σ : L → L) x) = x) (a : ℕ) (h : (2 : ℕ) * (a + (2 : ℕ)) ≤ n)
        (v : ↥(UpperTheory.Reformulated.B.AntidiagonalWeylElement.GU σ n)),
        UpperTheory.Reformulated.B.AntidiagonalWeylElement.IsUnipU v →
          ∃ (y : L),
            ∀ (x : L),
              ∃ (b : ↥(UpperTheory.Reformulated.B.AntidiagonalWeylElement.GU σ n)),
                UpperTheory.Reformulated.B.AntidiagonalWeylElement.IsUnipU b ∧
                  UpperTheory.Reformulated.B.AntidiagonalWeylElement.sR σ hσ a h * UpperTheory.Reformulated.B.AntidiagonalWeylElement.uR σ hσ a h x * v =
                    b * (UpperTheory.Reformulated.B.AntidiagonalWeylElement.sR σ hσ a h * UpperTheory.Reformulated.B.AntidiagonalWeylElement.uR σ hσ a h (x + y)) := …
  ```

### Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.UpperTriangular

13 import steps from Main · 5 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.UpperTriangular)

**Defines the upper unitriangular predicate for square matrices over a field.**

A matrix satisfies the predicate when all entries below the diagonal vanish and all diagonal entries are 1. ReflectionRootUnipotentShift adopts the predicate and proves that it is closed under matrix multiplication.

Key declarations:

- `UpperTheory.Reformulated.B.UpperTriangular.UT`: Tests whether an n × n matrix over a field is upper triangular with every diagonal entry equal to 1.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.UpperTriangular.UT :
      {L : Type} → [Field L] → {n : ℕ} → Matrix (Fin n) (Fin n) L → Prop :=
    fun {_} _ {n} A => (∀ i j : Fin n, j < i → A i j = 0) ∧ ∀ i : Fin n, A i i = 1
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.BruhatWeightDecreases

13 import steps from Main · 392 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.BruhatWeightDecreases)

**Proves that strictly dominant diagonal translation can only lower the Bruhat weight of a unitary Iwahori cell.**

For a factorization wrt = bw′i with r and i in the Iwahori subgroup and t strictly dominant diagonal, the weight of w′ is at most that of w. Equality forces the same Weyl permutation and identifies the diagonal orders of the Borel factor b with those of t permuted by w. The proof uses valuation bounds for Iwahori minors to compare tail sums of diagonal orders, then adds the inequalities over all tails. BruhatWeightDecreasesStatement applies cell_triang to prove GlobalTheory.T.bruhat_weight_decreases.

Key declarations:

- `GlobalTheory.CompanionTheory.SatPow.cell_triang`: In the factorization wrt = bw′i, either the Bruhat weight strictly decreases or the Weyl permutation is unchanged and the diagonal orders of b are those of t permuted by w.

  ```lean
  theorem cell_triang : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ) (t w w' b r i : GU σ n) (π π' : Equiv.Perm (Fin n)), IsDiagM (t : GL (Fin n) L) → IsStrictDom (t : GL (Fin n) L) → IsPermW w π → IsPermW w' π' → IsBorelU b → r ∈ IwU σ n → i ∈ IwU σ n → w * r * t = b * w' * i → permWt t π' < permWt t π ∨ (π' = π ∧ ∀ a : Fin n, ordL (((b : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) a a) = ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (π a) (π a))) := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.Triang.mat_triang`: Under the matrix factorization hypotheses, the sum of permuted diagonal orders weighted by the one-based positions strictly decreases unless the two permutations and corresponding diagonal orders agree.

  ```lean
  theorem mat_triang {R I B T : Matrix (Fin n) (Fin n) L} {π π' : Equiv.Perm (Fin n)}
      (hR : IwEnt R) (hRd : ∀ i, Valued.v (R i i) = 1) (hI : IwEnt I) (hId : ∀ i, Valued.v (I i i) = 1)
      (hBz : ∀ a, B a a ≠ 0) (hTz : ∀ a, T a a ≠ 0)
      (hdom : ∀ i j, i < j → ordL (T j j) < ordL (T i i))
      (hB : ∀ i j, j < i → B i j = 0)
      (hg : ∀ a c, R (π a) c * T c c = ∑ x, B a x * I (π' x) c) :
      ∑ a : Fin n, ((a.val : ℤ) + 1) * ordL (T (π' a) (π' a)) <
          ∑ a : Fin n, ((a.val : ℤ) + 1) * ordL (T (π a) (π a)) ∨
        (π' = π ∧ ∀ a, ordL (B a a) = ordL (T (π a) (π a))) := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.Triang.key`: Each tail sum of diagonal orders for the new permutation is bounded above by the old one, with equality forcing containment of the new permutation's tail image in the old one's and agreement with the Borel factor's tail sum.

  ```lean
  theorem key {R I B T : Matrix (Fin n) (Fin n) L} {π π' : Equiv.Perm (Fin n)}
      (hR : IwEnt R) (hRd : ∀ i, Valued.v (R i i) = 1) (hI : IwEnt I) (hId : ∀ i, Valued.v (I i i) = 1)
      (hBz : ∀ a, B a a ≠ 0) (hTz : ∀ a, T a a ≠ 0)
      (hdom : ∀ i j, i < j → ordL (T j j) < ordL (T i i))
      (hB : ∀ i j, j < i → B i j = 0)
      (hg : ∀ a c, R (π a) c * T c c = ∑ x, B a x * I (π' x) c) (m : ℕ) :
      ∑ a : Up n m, ordL (T (π' a.1) (π' a.1)) ≤ ∑ a : Up n m, ordL (T (π a.1) (π a.1)) ∧
      (∑ a : Up n m, ordL (T (π' a.1) (π' a.1)) = ∑ a : Up n m, ordL (T (π a.1) (π a.1)) →
        (∀ x : Up n m, ∃ y : Up n m, π y.1 = π' x.1) ∧
          ∑ a : Up n m, ordL (B a.1 a.1) = ∑ a : Up n m, ordL (T (π a.1) (π a.1))) := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.Triang.minor_diag`: Every principal minor of a matrix satisfying the Iwahori entry bounds and having unit diagonal entries has unit determinant.

  ```lean
  theorem minor_diag {M : Matrix (Fin n) (Fin n) L} (hM : IwEnt M) (hd : ∀ i, Valued.v (M i i) = 1)
      {f : ι → Fin n} (hf : Function.Injective f) : Valued.v (M.submatrix f f).det = 1 := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.Triang.minor_perm`: A square submatrix of a matrix satisfying the Iwahori entry bounds admits a matching of row indices to column indices with each row index at most its matched column index if its determinant has multiplicative valuation 1.

  ```lean
  theorem minor_perm {M : Matrix (Fin n) (Fin n) L} (hM : IwEnt M) (f h : ι → Fin n)
      (h1 : Valued.v (M.submatrix f h).det = 1) : ∃ s : Equiv.Perm ι, ∀ x, f (s x) ≤ h x := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.BruhatWeightDecreasesStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.BruhatWeightDecreasesStatement)

**Re-exports the Bruhat weight comparison for strictly dominant diagonal translation.**

In a factorization wrt = bw′i with r and i in the Iwahori subgroup and t strictly dominant diagonal, either the weight drops or the Weyl permutation stays fixed and the diagonal orders of b are those of t permuted by w. The Satake nonvanishing proof uses this comparison to prove injectivity of the Iwahori coset-sum operator.

Key declarations:

- `GlobalTheory.T.bruhat_weight_decreases`: For the Borel–Weyl–Iwahori factorization of wrt, the new Weyl permutation has strictly smaller weight or equals the original permutation π with ord_L(b_aa) = ord_L(t_{π(a),π(a)}) for every a.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.bruhat_weight_decreases : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ) (t w w' b r i : GU σ n) (π π' : Equiv.Perm (Fin n)), IsDiagM (t : GL (Fin n) L) → IsStrictDom (t : GL (Fin n) L) → IsPermW w π → IsPermW w' π' → IsBorelU b → r ∈ IwU σ n → i ∈ IwU σ n → w * r * t = b * w' * i → permWt t π' < permWt t π ∨ (π' = π ∧ ∀ a : Fin n, ordL (((b : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) a a) = ordL (((t : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) (π a) (π a))) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CosetRepsOfFactorizationStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CosetRepsOfFactorizationStatement)

**Re-exports a theorem on choosing finite left coset representatives with a prescribed property.**

For a subgroup J with H = J ∩ tJt⁻¹ of finite index in J, if P holds at the identity and every element of J factors as uh with u ∈ J satisfying P and h ∈ H, the theorem selects one representative satisfying P per left coset, with the identity representing H. The Satake nonvanishing proof uses it to select unipotent Iwahori coset representatives.

Key declarations:

- `GlobalTheory.T.coset_reps_of_factorization`: Under the finite-index and factorization hypotheses, there is a finite set R ⊆ J containing the identity and satisfying P at each representative, such that every i ∈ J has a unique r ∈ R with t⁻¹r⁻¹it ∈ J.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.coset_reps_of_factorization : ∀ (G : Type) [Group G] (I : Subgroup G) (t : G) (P : G → Prop), P 1 → Finite (I ⧸ (I ⊓ I.map (MulAut.conj t).toMonoidHom).subgroupOf I) → (∀ i ∈ I, ∃ u ∈ I, P u ∧ ∃ y ∈ I, t⁻¹ * y * t ∈ I ∧ i = u * y) → ∃ R : Finset G, (1 : G) ∈ R ∧ (∀ r ∈ R, r ∈ I ∧ P r) ∧ ∀ i ∈ I, ∃! r, r ∈ R ∧ t⁻¹ * (r⁻¹ * i) * t ∈ I := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantConjugateUnipotentMemStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantConjugateUnipotentMemStatement)

**States that strictly dominant diagonal powers conjugate upper unitriangular Iwahori elements into the integral unitary subgroup KU.**

If t is strictly dominant diagonal and u is upper unitriangular in the unitary Iwahori subgroup, then tᵏu(tᵏ)⁻¹ belongs to the integral unitary subgroup KU for every natural number k. The Satake nonvanishing proof applies this to its unipotent coset representatives to meet the conjugation hypothesis of the Hecke power coset formula.

Key declarations:

- `GlobalTheory.T.dominant_conjugate_unipotent_mem`: Every nonnegative power of a strictly dominant diagonal unitary element conjugates each upper unitriangular Iwahori element into the integral unitary subgroup KU.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.dominant_conjugate_unipotent_mem : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ) (t u : GU σ n), IsDiagM (t : GL (Fin n) L) → IsStrictDom (t : GL (Fin n) L) → u ∈ IwU σ n → IsUnipU u → ∀ k : ℕ, t ^ k * u * (t ^ k)⁻¹ ∈ KU σ n := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FunctionalZeroOfInjectivePowerStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FunctionalZeroOfInjectivePowerStatement)

**Re-exports a vanishing criterion for linear functionals on iterates of an injective endomorphism.**

On a finite-dimensional complex vector space, if a linear functional vanishes on all sufficiently late iterates of a vector under an injective endomorphism, it vanishes on the vector itself. The Satake nonvanishing proof uses this criterion to deduce that eventual vanishing of the Hecke values would force the coset sum of the normalized spherical vector to vanish.

Key declarations:

- `GlobalTheory.T.functional_zero_of_injective_power`: For an injective endomorphism A of a finite-dimensional complex vector space and a linear functional ℓ, if ℓ(Aʲv) = 0 for every j ≥ j₀, then ℓ(v) = 0.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.functional_zero_of_injective_power : ∀ (V : Type) [AddCommGroup V] [Module ℂ V] [FiniteDimensional ℂ V] (A : V →ₗ[ℂ] V), Function.Injective A → ∀ (l : V →ₗ[ℂ] ℂ) (v : V) (j₀ : ℕ), (∀ j ≥ j₀, l ((A ^ j) v) = 0) → l v = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HeckePowerCosetFormulaStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HeckePowerCosetFormulaStatement)

**Re-exports a formula relating iterated coset sums to the Hecke operator for a power double coset.**

If J has finite index in K and R is a transversal in J for J/(J ∩ tJt⁻¹) containing 1 with tᵏr(tᵏ)⁻¹ ∈ K for r ∈ R and k ≥ 0, then summing the j-fold iterate of the coset operator built from R over K/J for a right K-invariant function gives a positive integer multiple of the Hecke action of the indicator of KtʲK at the identity. The Satake nonvanishing proof uses this formula to turn eventual vanishing of the Hecke values into eventual vanishing of the iterated coset sums.

Key declarations:

- `GlobalTheory.T.hecke_power_coset_formula`: If J has finite index in K and R is a transversal for J/(J ∩ tJt⁻¹) that contains the identity and whose conjugates by all nonnegative powers of t lie in K, then for each j the coset-sum identity holds with a positive integer multiplier independent of the right K-invariant function.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.hecke_power_coset_formula : ∀ (G : Type) [Group G] (K I : Subgroup G), I ≤ K → Finite (K ⧸ I.subgroupOf K) → ∀ (t : G) (R : Finset G), (1 : G) ∈ R → (∀ r ∈ R, r ∈ I) → (∀ r ∈ R, ∀ k : ℕ, t ^ k * r * (t ^ k)⁻¹ ∈ K) → (∀ i ∈ I, ∃! r, r ∈ R ∧ t⁻¹ * (r⁻¹ * i) * t ∈ I) → ∀ j : ℕ, ∃ m : ℕ, 0 < m ∧ ∀ ψ : G → ℂ, (∀ g, ∀ k ∈ K, ψ (g * k) = ψ g) → ∑ᶠ c : K ⧸ I.subgroupOf K, ((aOp R t)^[j] ψ) ((c.out : K) : G) = (m : ℂ) * hAct K (dosetInd ℂ K (t ^ j)) ψ 1 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriFactorizationStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriFactorizationStatement)

**Re-exports the unitary Iwahori factorization associated with a strictly dominant diagonal element.**

For a valuation-preserving involution and a strictly dominant diagonal element t, every element of the unitary Iwahori subgroup J factors as uy, with u upper unitriangular in J and y in J ∩ tJt⁻¹. The Satake nonvanishing proof uses this factorization to choose upper unitriangular representatives for the left cosets of J ∩ tJt⁻¹ in J.

Key declarations:

- `GlobalTheory.T.unitary_iwahori_factorization`: Under the involution and strict dominance hypotheses, every i in J can be written as i = uy with u upper unitriangular, u and y in J, and t⁻¹yt in J.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.unitary_iwahori_factorization : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ), (∀ x, σ (σ x) = x) → (∀ x, Valued.v (σ x) = Valued.v x) → ∀ t : GU σ n, IsDiagM (t : GL (Fin n) L) → IsStrictDom (t : GL (Fin n) L) → ∀ i ∈ IwU σ n, ∃ u ∈ IwU σ n, IsUnipU u ∧ ∃ y ∈ IwU σ n, t⁻¹ * y * t ∈ IwU σ n ∧ i = u * y := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriIndexFiniteStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriIndexFiniteStatement)

**Re-exports two finite-index statements for the Iwahori subgroup of an unramified unitary group.**

The Iwahori subgroup J has finite index in the maximal compact subgroup K, and J ∩ tJt⁻¹ has finite index in J for every unitary element t. The Satake nonvanishing proof uses the first index to form the sum over K/J and the second to choose a finite set of Iwahori coset representatives.

Key declarations:

- `GlobalTheory.T.unitary_iwahori_index_finite`: Over a complete discretely valued field under the unramified involution hypotheses, both [K : J] and [J : J ∩ tJt⁻¹] are finite for every t in the unitary group.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.unitary_iwahori_index_finite : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L) (σ : L →+* L) (q n : ℕ), IsUnramInv ϖ σ q → Finite (KU σ n ⧸ (IwU σ n).subgroupOf (KU σ n)) ∧ ∀ t : GU σ n, Finite (IwU σ n ⧸ (IwU σ n ⊓ (IwU σ n).map (MulAut.conj t).toMonoidHom).subgroupOf (IwU σ n)) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwasawaBruhatDecompositionStatement

13 import steps from Main · 11 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwasawaBruhatDecompositionStatement)

**Re-exports the Borel–Weyl–Iwahori factorization for the unitary group.**

Over a field with a multiplicative ℤ-valued valuation with zero adjoined and an involution preserving it, every unitary group element factors as an upper triangular element, a permutation matrix in the unitary group, and an Iwahori element, in that order. The Satake nonvanishing proof uses this factorization to show that evaluation on Weyl representatives determines an Iwahori-fixed principal series function and to prove injectivity of the coset-sum operator.

Key declarations:

- `GlobalTheory.T.unitary_iwasawa_bruhat_decomposition`: Over a field with a multiplicative ℤ-valued valuation with zero adjoined and an involution preserving it, every unitary element g admits a factorization g = bwi with b in the Borel subgroup, w a unitary permutation matrix, and i in the Iwahori subgroup.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.unitary_iwasawa_bruhat_decomposition : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ), (∀ x, σ (σ x) = x) → (∀ x, Valued.v (σ x) = Valued.v x) → ∀ g : GU σ n, ∃ (b w i : GU σ n) (π : Equiv.Perm (Fin n)), IsBorelU b ∧ IsPermW w π ∧ i ∈ IwU σ n ∧ g = b * w * i := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureUniqueSigmaCompactNormalisedCompactOp

14 import steps from Main · 36 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureUniqueSigmaCompactNormalisedCompactOp)

**Proves uniqueness of left Haar measure under normalization on a nonempty compact open set.**

On a locally compact group with its Borel σ-algebra and a countable cover by compact measurable sets, let μ be left Haar measure and ν a left-invariant measure finite on compact sets. If ν(s) = c μ(s) on a nonempty compact open set s, then ν = c μ. The proof identifies the proportionality constant on s, where μ has positive finite mass, then extends equality from relatively compact sets by continuity from below along the increasing finite unions of the cover.

Key declarations:

- `GlobalTheory.haar_unique_of_sigmaCompact_normalised`: On a locally compact Borel group with a countable compact measurable cover, a left-invariant measure finite on compact sets equals c times a given left Haar measure if their masses have that proportionality on one nonempty compact open set.

  ```lean
  theorem haar_unique_of_sigmaCompact_normalised :
      ∀ (G : Type) [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [LocallyCompactSpace G] [MeasurableSpace G]
      [BorelSpace G] (μ ν : Measure G) [μ.IsHaarMeasure] [ν.IsMulLeftInvariant] [IsFiniteMeasureOnCompacts ν]
      (K : ℕ → Set G), (∀ j, IsCompact (K j) ∧ MeasurableSet (K j)) → (⋃ j, K j) = Set.univ →
      ∀ (s : Set G) (c : ENNReal), IsOpen s → IsCompact s → s.Nonempty → ν s = c * μ s → ν = c • μ := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureWeylCellOddUnitary

14 import steps from Main · 352 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.HaarMeasureWeylCellOddUnitary)

**Computes normalized Haar volumes of shells in the last simple-reflection cell of an odd-dimensional unitary group.**

Over a complete discretely valued field satisfying IsUnramInv with parameter q, choose an integral Weyl representative of the last simple reflection in odd dimension. With the integral subgroup of its cell assigned mass one, the shell at depth j ≥ 0 has Haar volume q^(j + 2⌊j/2⌋). The proof identifies the cell with the upper unitriangular subgroup of the three-dimensional unitary group via the central 3 × 3 block. The unitary equations turn the corner valuation bound into bounds on all three upper entries, so the volume follows by multiplying the indices of successive weighted subgroups.

Key declarations:

- `GlobalTheory.WeylCell.WeylUnipotentShell.Volume.blockU`: Embeds the upper unitriangular subgroup of the three-dimensional unitary group into the ambient unitary group by inserting its matrix in the central block.

  ```lean
  def blockU (σ : L →+* L) (A : Fin n) (hA : A.rev.val = A.val + 2) : (borelU σ 3).U →* GU σ n :=
    ((Units.map (blockHom (three A hA))).comp ((GU σ 3).subtype.comp (borelU σ 3).U.subtype)).codRestrict (GU σ n)
      fun u => by
        rw [mem_GU_iff_adjJ]
        show blockHom (three A hA) (u.1.1⁻¹).val = adjJ σ (blockHom (three A hA) u.1.1.val)
        rw [adjJ_blockHom σ _ (three_rev A hA), (mem_GU_iff_adjJ σ _).1 u.1.2]
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.Volume.exists_blockU`: Every upper unitriangular unitary matrix whose strictly upper entries vanish outside the central block comes from the three-dimensional subgroup.

  ```lean
  theorem exists_blockU {σ : L →+* L} {A : Fin n} (hA : A.rev.val = A.val + 2) {u : GU σ n} (hu : InBlock A u) :
      ∃ w, blockU σ A hA w = u := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.Volume.mem_unipLat_wt`: For valuation-preserving σ, membership in the depth-j weighted subgroup of the three-dimensional upper unitriangular unitary group is equivalent to the upper-right entry having valuation at most exp(j) in multiplicative notation.

  ```lean
  theorem mem_unipLat_wt {σ : L →+* L} (hσ : ∀ x, Valued.v (σ x) = Valued.v x) (j : ℕ) (w : (borelU σ 3).U) :
      w ∈ unipLat hσ (isWeight_wt j) ↔ Valued.v (w.1.1.val 0 2) ≤ WithZero.exp (j : ℤ) := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.measure_shellU`: Over a complete discretely valued field satisfying IsUnramInv with parameter q, an integral Weyl representative of the last simple reflection in odd dimension has shell volume q^(j + 2⌊j/2⌋) at each depth j ≥ 0 for Haar measure assigning mass one to the integral subgroup of its cell.

  ```lean
  theorem measure_shellU : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      ∀ [MeasurableSpace (cellU y)] [BorelSpace (cellU y)] (μ : Measure (cellU y)) [μ.IsHaarMeasure],
        μ ((KU σ n).subgroupOf (cellU y)) = 1 →
      ∀ j : ℕ, μ (shellU k y j) = (q : ENNReal) ^ (j + 2 * (j / 2)) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.HasSumSu21RankOneSeriesDifferences

14 import steps from Main · 87 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.HasSumSu21RankOneSeriesDifferences)

**Sums the rank-one unitary series with coefficients given by successive differences of the shell weights.**

Set Aⱼ = q^(j + 2⌊j/2⌋). For nonzero complex q and |z| < 1, the series with terms (z/q²)ʲ Aⱼ splits into even and odd geometric series with common ratio z², giving (1 + z/q)/(1 − z²). For integer q ≥ 2, subtracting a copy of the series shifted by one index and multiplied by z/q² yields the sum (1 − z/q²)(1 + z/q)/(1 − z²) for the coefficients Aⱼ − Aⱼ₋₁, with A₋₁ = 0.

Key declarations:

- `GlobalTheory.SURankOneSeries.term_even`: For q ≠ 0, the weighted term at index 2i equals (z²)ⁱ.

  ```lean
  theorem term_even (q z : ℂ) (hq : q ≠ 0) (i : ℕ) :
      (z / q ^ 2) ^ (2 * i) * q ^ (2 * i + 2 * (2 * i / 2)) = (z ^ 2) ^ i := …
  ```
- `GlobalTheory.SURankOneSeries.term_odd`: For q ≠ 0, the weighted term at index 2i + 1 equals (z/q)(z²)ⁱ.

  ```lean
  theorem term_odd (q z : ℂ) (hq : q ≠ 0) (i : ℕ) :
      (z / q ^ 2) ^ (2 * i + 1) * q ^ (2 * i + 1 + 2 * ((2 * i + 1) / 2)) = z / q * (z ^ 2) ^ i := …
  ```
- `GlobalTheory.SURankOneSeries.hasSum_weighted`: For nonzero complex q and |z| < 1, the series weighted by Aⱼ sums to (1 + z/q)/(1 − z²).

  ```lean
  theorem hasSum_weighted (q z : ℂ) (hq : q ≠ 0) (hz : ‖z‖ < 1) :
      HasSum (fun j : ℕ => (z / q ^ 2) ^ j * q ^ (j + 2 * (j / 2))) ((1 + q⁻¹ * z) / (1 - z ^ 2)) := …
  ```
- `GlobalTheory.SURankOneSeries.hasSum_series`: For integer q ≥ 2 and |z| < 1, the series weighted by Aⱼ − Aⱼ₋₁ sums to (1 − z/q²)(1 + z/q)/(1 − z²).

  ```lean
  theorem hasSum_series : ∀ (q : ℕ), 2 ≤ q → ∀ z : ℂ, ‖z‖ < 1 →
      HasSum (fun j : ℕ => (z / (q : ℂ) ^ 2) ^ j *
        ((q : ℂ) ^ (j + 2 * (j / 2)) - (if j = 0 then 0 else (q : ℂ) ^ (j - 1 + 2 * ((j - 1) / 2))))) (cSU q z) := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellShellIsOpenCompactSubgroup

14 import steps from Main · 312 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitaryWeylCellShellIsOpenCompactSubgroup)

**Proves odd-dimensional last-reflection shells are open compact subgroups for integral Weyl lifts over complete IsUnramInv ℤ-valued fields.**

The proof uses the central 3 × 3 block to show that the corner valuation bound survives multiplication and inversion and bounds every entry of a matrix and its inverse. Openness follows by pulling back an open valuation ball along the corner entry map, and compactness follows by realizing the shell as a closed subset of a compact set of bounded matrix–inverse pairs. At depth zero the shell is exactly the intersection of the cell with the integral unitary subgroup.

Key declarations:

- `GlobalTheory.WeylCell.WeylUnipotentShell.ShellGroup.corner_rel`: For a unitary matrix X with the prescribed central block condition on both X and X⁻¹, the upper adjacent entry X[a,m] times its conjugate is the negative of the sum of the corner entry and its conjugate.

  ```lean
  theorem corner_rel (ham : m.val = a.val + 1) (hma : a'.val = m.val + 1) (harev : a.rev = a') (ha'rev : a'.rev = a)
      (hmrev : m.rev = m) {X : GL (Fin n) L} (hX : X ∈ GU σ n) (hB : InBlock a a' X) (hBi : InBlock a a' X⁻¹) :
      (X : Matrix (Fin n) (Fin n) L) a m * σ ((X : Matrix (Fin n) (Fin n) L) a m) =
        -((X : Matrix (Fin n) (Fin n) L) a a' + σ ((X : Matrix (Fin n) (Fin n) L) a a')) := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.ShellGroup.entry_le`: If σ preserves the valuation and a unitary matrix and its inverse have the prescribed central block form, then a corner valuation bound e gives the bound max(1, e) on the valuation of every matrix entry.

  ```lean
  theorem entry_le (ham : m.val = a.val + 1) (hma : a'.val = m.val + 1) (harev : a.rev = a') (ha'rev : a'.rev = a)
      (hmrev : m.rev = m) (hσv : ∀ x, Valued.v (σ x) = Valued.v x) {X : GL (Fin n) L} (hX : X ∈ GU σ n)
      (hB : InBlock a a' X) (hBi : InBlock a a' X⁻¹) {e : WithZero (Multiplicative ℤ)}
      (hc : Valued.v ((X : Matrix (Fin n) (Fin n) L) a a') ≤ e) (i j : Fin n) :
      Valued.v ((X : Matrix (Fin n) (Fin n) L) i j) ≤ max 1 e := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.ShellGroup.corner_mul_le`: If σ preserves the valuation and two unitary matrices and their inverses have the prescribed central block form, then any common bound on the two corner valuations also bounds the corner valuation of their product.

  ```lean
  theorem corner_mul_le (ham : m.val = a.val + 1) (hma : a'.val = m.val + 1) (harev : a.rev = a') (ha'rev : a'.rev = a)
      (hmrev : m.rev = m) (hσv : ∀ x, Valued.v (σ x) = Valued.v x) {X Y : GL (Fin n) L} (hX : X ∈ GU σ n)
      (hY : Y ∈ GU σ n) (hB : InBlock a a' X) (hBi : InBlock a a' X⁻¹) (hC : InBlock a a' Y) (hCi : InBlock a a' Y⁻¹)
      {e : WithZero (Multiplicative ℤ)} (hx : Valued.v ((X : Matrix (Fin n) (Fin n) L) a a') ≤ e)
      (hy : Valued.v ((Y : Matrix (Fin n) (Fin n) L) a a') ≤ e) :
      Valued.v (((X * Y : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) a a') ≤ e := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.ShellGroup.isCompact_bounded`: Over a complete discretely valued field with IsUnramInv data, the set of invertible matrices whose entries and inverse entries lie in a fixed valuation ball is compact.

  ```lean
  theorem isCompact_bounded [CompleteSpace L] {ϖ : L} {σ : L →+* L} {q : ℕ} (h : IsUnramInv ϖ σ q) (n : ℕ) (N : ℤ) :
      IsCompact {g : GL (Fin n) L | (∀ i j, Valued.v ((g : Matrix (Fin n) (Fin n) L) i j) ≤ WithZero.exp N) ∧
        ∀ i j, Valued.v (((g⁻¹ : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j) ≤ WithZero.exp N} := …
  ```
- `GlobalTheory.WeylCell.WeylUnipotentShell.shellU_open_compact_subgroup`: Over a complete discretely valued field with IsUnramInv data, for an integral representative of the last simple reflection in odd unitary dimension, every integer-depth shell is an open compact subgroup of the cell, and the depth-zero shell consists of its integral points.

  ```lean
  theorem shellU_open_compact_subgroup : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L] (ϖ : L)
      (σ : L →+* L) (q : ℕ), IsUnramInv ϖ σ q →
      ∀ (n : ℕ) (k : Fin (n / 2)), ¬ k.val + 1 < n / 2 → ¬ Even n →
      ∀ y : GU σ n, y ∈ KU σ n → IsWeylRep (simpleU k) (y : GL (Fin n) L) →
      (∀ j : ℤ, IsOpen (shellU k y j) ∧ IsCompact (shellU k y j) ∧ (1 : cellU y) ∈ shellU k y j ∧
        (∀ u v : cellU y, u ∈ shellU k y j → v ∈ shellU k y j → u * v ∈ shellU k y j) ∧
        (∀ u : cellU y, u ∈ shellU k y j → u⁻¹ ∈ shellU k y j)) ∧
      shellU k y 0 = (((KU σ n).subgroupOf (cellU y) : Subgroup (cellU y)) : Set (cellU y)) := …
  ```

### Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.IwahoriEntryBound

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

**Proves that every diagonal entry of a matrix in the GLₙ Iwahori subgroup is a unit in the valuation ring.**

The Iwahori subgroup is defined as the common stabilizer of a coordinate lattice chain. Applying a matrix to the jth basis vector in the (j+1)st lattice shows that all entries lie in the valuation ring and those below the diagonal lie in its maximal ideal. In each diagonal entry of g⁻¹g, the off-diagonal products sum to an element of valuation below 1, forcing the two diagonal factors to have valuation 1 by the bounds for g and its inverse. BruhatWeightDecreases uses the unit condition for both Iwahori factors in its cell comparison.

Key declarations:

- `UpperTheory.Reformulated.B.IwahoriEntryBound.latK`: Defines the kth lattice by requiring the first k coordinates to lie in the valuation ring and the remaining coordinates to lie in its maximal ideal.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.IwahoriEntryBound.latK :
      (L : Type) → [inst : Field L] → [Valued L (WithZero (Multiplicative ℤ))] → (n : ℕ) → ℕ → Set (Fin n → L) :=
      fun (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (n k : ℕ) ↦
        {x : Fin n → L |
          ∀ (i : Fin n),
            if (↑i : ℕ) < k then (Valued.v : L → WithZero (Multiplicative ℤ)) (x i) ≤ (1 : WithZero (Multiplicative ℤ))
            else (Valued.v : L → WithZero (Multiplicative ℤ)) (x i) < (1 : WithZero (Multiplicative ℤ))}
  ```
- `UpperTheory.Reformulated.B.IwahoriEntryBound.IwGL`: Defines the Iwahori subgroup of GLₙ as the intersection of the stabilizers of the lattices indexed by k from 0 to n.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.IwahoriEntryBound.IwGL :
      (L : Type) → [inst : Field L] → [Valued L (WithZero (Multiplicative ℤ))] → (n : ℕ) → Subgroup (GL (Fin n) L) :=
      fun (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (n : ℕ) ↦
        ⨅ (k : Fin (n + (1 : ℕ))),
          Subgroup.comap Matrix.GeneralLinearGroup.toLin.toMonoidHom
            (MulAction.stabilizer (LinearMap.GeneralLinearGroup L (Fin n → L)) (UpperTheory.Reformulated.B.IwahoriEntryBound.latK L n (↑k : ℕ)))
  ```
- `UpperTheory.Reformulated.B.IwahoriEntryBound.Helpers.entry_bound`: Every entry of an Iwahori matrix has multiplicative valuation at most 1, with strict inequality below the diagonal.

  ```lean
  private lemma entry_bound {L : Type} [Field L] [Valued L (WithZero (Multiplicative ℤ))] {n : ℕ}
      {h : GL (Fin n) L} (hh : h ∈ UpperTheory.Reformulated.B.IwahoriEntryBound.IwGL L n) (i j : Fin n) :
      (Valued.v ((h : Matrix (Fin n) (Fin n) L) i j) ≤ 1) ∧
      ((j : ℕ) < (i : ℕ) → Valued.v ((h : Matrix (Fin n) (Fin n) L) i j) < 1) := …
  ```
- `UpperTheory.Reformulated.B.IwahoriEntryBound.main`: Each diagonal entry of an Iwahori matrix has multiplicative valuation exactly 1.

  ```lean
  theorem UpperTheory.Reformulated.B.IwahoriEntryBound.main :
      ∀ {L : Type} [inst : Field L] [inst_1 : Valued L (WithZero (Multiplicative ℤ))] {n : ℕ} {g : GL (Fin n) L},
        g ∈ UpperTheory.Reformulated.B.IwahoriEntryBound.IwGL L n →
          ∀ (i : Fin n),
            (Valued.v : L → WithZero (Multiplicative ℤ)) ((↑g : Matrix (Fin n) (Fin n) L) i i) =
              (1 : WithZero (Multiplicative ℤ)) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CosetRepsOfFactorization

14 import steps from Main · 62 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CosetRepsOfFactorization)

**Proves that a factorization supplies a finite left coset transversal with a prescribed property.**

Let J be a subgroup and H = J ∩ tJt⁻¹ have finite index in J, and suppose P holds at the identity and each i ∈ J factors as uh with u ∈ J satisfying P and h ∈ H. The proof chooses one such u from each left coset, taking the identity for H, and uses equality of cosets to establish uniqueness within the chosen set. The direct importer re-exports the result as GlobalTheory.T.coset_reps_of_factorization.

Key declarations:

- `GlobalTheory.CompanionTheory.SatPow.RepsGen.reps_of_quotient_with_property`: Under the finite-index and factorization hypotheses, there is a finite set R ⊆ J containing the identity and satisfying P at each element, with a unique r ∈ R such that t⁻¹r⁻¹it ∈ J for each i ∈ J.

  ```lean
  theorem reps_of_quotient_with_property (G : Type) [Group G] (I : Subgroup G) (t : G) (P : G → Prop)
      (hP1 : P 1)
      (hfin : Finite (I ⧸ (I ⊓ I.map (MulAut.conj t).toMonoidHom).subgroupOf I))
      (hfac : ∀ i ∈ I, ∃ u ∈ I, P u ∧ ∃ y ∈ I, t⁻¹ * y * t ∈ I ∧ i = u * y) :
      ∃ R : Finset G, (1 : G) ∈ R ∧ (∀ r ∈ R, r ∈ I ∧ P r) ∧
        ∀ i ∈ I, ∃! r, r ∈ R ∧ t⁻¹ * (r⁻¹ * i) * t ∈ I := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantConjugateUnipotentMem

14 import steps from Main · 97 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantConjugateUnipotentMem)

**Proves that strictly dominant diagonal powers conjugate upper unitriangular Iwahori elements into the maximal compact subgroup.**

Conjugation by tᵏ multiplies each upper off-diagonal entry by the kth power of the corresponding ratio of diagonal entries of t. Strict dominance makes each such ratio integral, so conjugation preserves integrality of both the upper unitriangular Iwahori element and its inverse. This gives maximal compact membership for every k ≥ 0. The direct importer re-exports the result as GlobalTheory.T.dominant_conjugate_unipotent_mem.

Key declarations:

- `GlobalTheory.CompanionTheory.SatPow.conj_unip_mem_KU`: For a strictly dominant diagonal unitary element t and an upper unitriangular Iwahori element u, the conjugate tᵏu(tᵏ)⁻¹ belongs to the maximal compact subgroup for every k ≥ 0.

  ```lean
  theorem conj_unip_mem_KU : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ)
      (t u : GU σ n), IsDiagM (t : GL (Fin n) L) → IsStrictDom (t : GL (Fin n) L) → u ∈ IwU σ n → IsUnipU u →
        ∀ k : ℕ, t ^ k * u * (t ^ k)⁻¹ ∈ KU σ n := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.conj_entries_le_one`: Conjugating an integral upper unitriangular matrix by a nonnegative power of a strictly dominant diagonal matrix preserves entrywise integrality.

  ```lean
  theorem conj_entries_le_one {t A : GL (Fin n) L} (ht : IsDiagM t) (hd : IsStrictDom t)
      (h1 : ∀ i j, Valued.v ((A : Matrix (Fin n) (Fin n) L) i j) ≤ 1)
      (h2 : ∀ i j, j < i → (A : Matrix (Fin n) (Fin n) L) i j = 0)
      (h3 : ∀ i, (A : Matrix (Fin n) (Fin n) L) i i = 1) (k : ℕ) (i j : Fin n) :
      Valued.v (((t ^ k * A * (t ^ k)⁻¹ : GL (Fin n) L) : Matrix (Fin n) (Fin n) L) i j) ≤ 1 := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.val_le_of_ordL_lt`: For nonzero a and b, ord_L(a) < ord_L(b) implies v(b) ≤ v(a) for the multiplicative valuation v.

  ```lean
  theorem val_le_of_ordL_lt {a b : L} (ha : a ≠ 0) (hb : b ≠ 0) (h : ordL a < ordL b) :
      Valued.v b ≤ Valued.v a := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FunctionalZeroOfInjectivePower

14 import steps from Main · 63 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FunctionalZeroOfInjectivePower)

**Proves that a functional vanishing on late iterates of an injective endomorphism in finite complex dimension also vanishes at the start.**

On a finite-dimensional complex vector space, the span of the late iterates lies in the kernel of the functional and is invariant under the endomorphism. The restriction to this span is injective and hence surjective, so injectivity on the ambient space lets the proof trace the orbit backward to the starting vector. The direct importer re-exports the result as GlobalTheory.T.functional_zero_of_injective_power.

Key declarations:

- `GlobalTheory.CompanionTheory.SatPow.functional_eq_zero_of_late_iterates`: For an injective endomorphism A of a finite-dimensional complex vector space, a linear functional ℓ with ℓ(Aʲv) = 0 for all j ≥ j₀ satisfies ℓ(v) = 0.

  ```lean
  theorem functional_eq_zero_of_late_iterates :
      ∀ (V : Type) [AddCommGroup V] [Module ℂ V] [FiniteDimensional ℂ V] (A : V →ₗ[ℂ] V), Function.Injective A → ∀ (l : V →ₗ[ℂ] ℂ) (v : V) (j₀ : ℕ), (∀ j ≥ j₀, l ((A ^ j) v) = 0) → l v = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HeckePowerCosetFormula

14 import steps from Main · 231 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HeckePowerCosetFormula)

**Proves a Hecke power formula up to a positive integer factor under the normalized transversal and t-power conjugation hypotheses.**

Let J have finite index in K and let R be a transversal for J/(J ∩ tJt⁻¹) containing 1, with tᵏr(tᵏ)⁻¹ ∈ K for r ∈ R and k ≥ 0. For a right K-invariant function, summing the j-fold iterate of the coset operator built from R over K/J gives a positive integer multiple of the Hecke action of the indicator of KtʲK at the identity. The proof expands the iterate into a multiset of products and uses right J-invariance to show that left translation by K preserves the sum. This gives the same positive multiplicity to every coset xK in KtʲK. The direct importer re-exports the formula as GlobalTheory.T.hecke_power_coset_formula.

Key declarations:

- `GlobalTheory.CompanionTheory.SatPow.HeckeTrace.heckeTrace`: Under the finite-index, transversal, and conjugation hypotheses, the j-fold coset-sum identity holds with a positive integer multiplier independent of the right K-invariant function.

  ```lean
  theorem heckeTrace : ∀ (G : Type) [Group G] (K I : Subgroup G), I ≤ K → Finite (K ⧸ I.subgroupOf K) → ∀ (t : G) (R : Finset G), (1 : G) ∈ R → (∀ r ∈ R, r ∈ I) → (∀ r ∈ R, ∀ k : ℕ, t ^ k * r * (t ^ k)⁻¹ ∈ K) → (∀ i ∈ I, ∃! r, r ∈ R ∧ t⁻¹ * (r⁻¹ * i) * t ∈ I) → ∀ j : ℕ, ∃ m : ℕ, 0 < m ∧ ∀ ψ : G → ℂ, (∀ g, ∀ k ∈ K, ψ (g * k) = ψ g) → ∑ᶠ c : K ⧸ I.subgroupOf K, ((aOp R t)^[j] ψ) ((c.out : K) : G) = (m : ℂ) * hAct K (dosetInd ℂ K (t ^ j)) ψ 1 := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.HeckeTrace.exists_words`: If R contains the identity and all conjugates tᵏr(tᵏ)⁻¹ lie in K, the j-fold iterate is a sum of right translations indexed by a nonempty multiset in Ktʲ.

  ```lean
  theorem exists_words (K : Subgroup G) (t : G) (R : Finset G) (h1 : (1 : G) ∈ R)
      (hc : ∀ r ∈ R, ∀ k : ℕ, t ^ k * r * (t ^ k)⁻¹ ∈ K) (j : ℕ) :
      ∃ W : Multiset G, W ≠ 0 ∧ (∀ w ∈ W, ∃ k ∈ K, w = k * t ^ j) ∧
        ∀ (ψ : G → ℂ) (g : G), (aOp R t)^[j] ψ g = (W.map fun w => ψ (g * w)).sum := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.HeckeTrace.aOp_iterate_rightInvariant`: Every iterate of the coset-sum operator for a transversal of J/(J ∩ tJt⁻¹) preserves right J-invariance.

  ```lean
  theorem aOp_iterate_rightInvariant {I : Subgroup G} {t : G} {R : Finset G} (hR : ∀ r ∈ R, r ∈ I)
      (hu : ∀ i ∈ I, ∃! r, r ∈ R ∧ t⁻¹ * (r⁻¹ * i) * t ∈ I) {φ : G → ℂ}
      (hφ : ∀ g, ∀ i ∈ I, φ (g * i) = φ g) (j : ℕ) :
      ∀ g, ∀ i ∈ I, (aOp R t)^[j] φ (g * i) = (aOp R t)^[j] φ g := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.HeckeTrace.finsum_left_mul`: The sum of a right J-invariant function over K/J is unchanged by left translation by an element of K.

  ```lean
  theorem finsum_left_mul {K I : Subgroup G} (hIK : I ≤ K) {φ : G → ℂ} (hφ : ∀ g, ∀ i ∈ I, φ (g * i) = φ g)
      {k : G} (hk : k ∈ K) :
      ∑ᶠ c : K ⧸ I.subgroupOf K, φ (k * ((c.out : K) : G)) = ∑ᶠ c : K ⧸ I.subgroupOf K, φ ((c.out : K) : G) := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.HeckeTrace.multiset_sum_eq_hAct`: A nonempty multiset supported in KsK whose sums against right K-invariant functions are left K-invariant gives a positive integer multiple of the Hecke sum at the identity.

  ```lean
  theorem multiset_sum_eq_hAct (K : Subgroup G) (s : G) (M : Multiset G) (hM0 : M ≠ 0)
      (hMs : ∀ x ∈ M, x ∈ DoubleCoset.doubleCoset s (K : Set G) (K : Set G))
      (hinv : ∀ ψ : G → ℂ, (∀ g, ∀ k ∈ K, ψ (g * k) = ψ g) → ∀ k ∈ K,
        (M.map fun x => ψ (k * x)).sum = (M.map ψ).sum) :
      ∃ m : ℕ, 0 < m ∧ ∀ ψ : G → ℂ, (∀ g, ∀ k ∈ K, ψ (g * k) = ψ g) →
        (M.map ψ).sum = (m : ℂ) * hAct K (dosetInd ℂ K s) ψ 1 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriIndexFinite

14 import steps from Main · 88 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwahoriIndexFinite)

**Proves finite index for the unitary Iwahori subgroup in the compact subgroup of integral points and for its intersections with conjugates.**

For the antidiagonal unitary group over a complete discretely valued field with an unramified involution, the indices [K : J] and [J : J ∩ tJt⁻¹] are finite for every unitary element t, where K is the compact subgroup of integral points and J is the Iwahori subgroup. Entrywise valuation conditions show that J is open, and conjugation preserves openness. Compactness of K and of its closed subgroup J then gives both finite indices. The direct importer re-exports the result as GlobalTheory.T.unitary_iwahori_index_finite.

Key declarations:

- `GlobalTheory.CompanionTheory.SatPow.finite_index_iwU`: Under the complete valued-field and unramified involution hypotheses, the coset spaces K/J and J/(J ∩ tJt⁻¹) are finite for every unitary element t.

  ```lean
  theorem finite_index_iwU : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] [CompleteSpace L]
      (ϖ : L) (σ : L →+* L) (q n : ℕ), IsUnramInv ϖ σ q →
        Finite (KU σ n ⧸ (IwU σ n).subgroupOf (KU σ n)) ∧
        ∀ t : GU σ n, Finite (IwU σ n ⧸
          (IwU σ n ⊓ (IwU σ n).map (MulAut.conj t).toMonoidHom).subgroupOf (IwU σ n)) := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.isOpen_iwU`: The unitary Iwahori subgroup is open when the field endomorphism preserves the valuation.

  ```lean
  theorem isOpen_iwU {σ : L →+* L} {n : ℕ} (hσv : ∀ x, Valued.v (σ x) = Valued.v x) :
      IsOpen (IwU σ n : Set (GU σ n)) := …
  ```
- `GlobalTheory.CompanionTheory.SatPow.isOpen_map_conj`: Every conjugate of an open subgroup of a topological group is open.

  ```lean
  theorem isOpen_map_conj {G : Type} [Group G] [TopologicalSpace G] [IsTopologicalGroup G]
      {H : Subgroup G} (hH : IsOpen (H : Set G)) (t : G) :
      IsOpen ((H.map (MulAut.conj t).toMonoidHom : Subgroup G) : Set G) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwasawaBruhatDecomposition

14 import steps from Main · 596 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryIwasawaBruhatDecomposition)

**Proves that every element of the unitary group factors as a Borel element, a permutation matrix, and an Iwahori element.**

For the unitary group of the antidiagonal form over a field with a ℤ-valued valuation and a valuation-preserving involution, every element factors as g = bwi in arbitrary dimension. The proof chooses the first entry of maximal multiplicative valuation in an isotropic row, then uses explicit unitary matrices to clear the pivot row and column and their reversals. Iterating from the outer rows inward gives a monomial matrix whose diagonal factor is absorbed into the Borel. The direct importer invokes this result to prove GlobalTheory.T.unitary_iwasawa_bruhat_decomposition.

Key declarations:

- `GlobalTheory.CompanionTheory.BruhatIw.bruhat_iwasawa`: Every unitary matrix under the stated valuation and involution hypotheses is a product of an upper-triangular unitary matrix, a unitary permutation matrix, and an Iwahori element.

  ```lean
  theorem bruhat_iwasawa : ∀ (L : Type) [Field L] [Valued L (WithZero (Multiplicative ℤ))] (σ : L →+* L) (n : ℕ),
      (∀ x, σ (σ x) = x) → (∀ x, Valued.v (σ x) = Valued.v x) → ∀ g : GU σ n,
      ∃ (b w i : GU σ n) (π : Equiv.Perm (Fin n)), IsBorelU b ∧ IsPermW w π ∧ i ∈ IwU σ n ∧ g = b * w * i := …
  ```
- `GlobalTheory.CompanionTheory.BruhatIw.exists_pivot`: When σ preserves the valuation, the first coordinate of a nonzero isotropic vector attaining maximal multiplicative valuation has an index distinct from its reversal.

  ```lean
  theorem exists_pivot (hσv : ∀ x, Valued.v (σ x) = Valued.v x) (x : Fin n → L) (hx : ∃ c, x c ≠ 0)
      (hiso : ∑ c, x c * σ (x c.rev) = 0) :
      ∃ p, x p ≠ 0 ∧ p ≠ p.rev ∧ (∀ c, Valued.v (x c) ≤ Valued.v (x p)) ∧
        ∀ c, c < p → Valued.v (x c) < Valued.v (x p) := …
  ```
- `GlobalTheory.CompanionTheory.BruhatIw.exists_eich`: A normalized isotropic vector at an index distinct from its reversal gives the pivot row of an explicit unitary matrix.

  ```lean
  theorem exists_eich (hσ : ∀ x, σ (σ x) = x) {p : Fin n} (hp : p ≠ p.rev) {z : Fin n → L} (hz : z p = 1)
      (hiso : ∑ c, z c * σ (z c.rev) = 0) : ∃ T : GU σ n, mat T = eichM σ p z := …
  ```
- `GlobalTheory.CompanionTheory.BruhatIw.step`: With at least two rows remaining, left Borel and right Iwahori factors reduce the next pair of outer rows to isolated pivots while preserving earlier pivots.

  ```lean
  theorem step (hσ : ∀ x, σ (σ x) = x) (hσv : ∀ x, Valued.v (σ x) = Valued.v x) (g : GU σ n) {k : ℕ}
      (hk : 2 * k + 1 < n) (hr : RedU g k) :
      ∃ b i g' : GU σ n, IsBorelU b ∧ i ∈ IwU σ n ∧ g = b * g' * i ∧ RedU g' (k + 1) := …
  ```
- `GlobalTheory.CompanionTheory.BruhatIw.mono_end`: A unitary matrix with an isolated pivot in every row factors as a diagonal unitary matrix times a unitary permutation matrix.

  ```lean
  theorem mono_end (g : GU σ n) (h : ∀ a, ∃ c, IsoAt (mat g) a c) :
      ∃ (d w : GU σ n) (π : Equiv.Perm (Fin n)), IsBorelU d ∧ IsPermW w π ∧ g = d * w := …
  ```

### Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.AOpRightInvariant

15 import steps from Main · 39 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.AOpRightInvariant)

**Proves that a finite coset sum preserves right invariance under a subgroup.**

For a subgroup J, the operator sums φ(grt) over representatives r of the left cosets of J ∩ tJt⁻¹ in J. Left multiplication by an element of J permutes these cosets, and right J-invariance of φ absorbs the change of representative after conjugation by t. HeckePowerCosetFormula applies the theorem inductively to prove right J-invariance for every iterate of the operator.

Key declarations:

- `UpperTheory.Reformulated.B.Qf37.aOp`: Sends a complex-valued function φ on a group to the function g ↦ ∑_{r∈R} φ(grt) for a finite subset R and a fixed element t.

  ```lean
  noncomputable def UpperTheory.Reformulated.B.Qf37.aOp :
      {G : Type} → [Group G] → Finset G → G → (G → ℂ) → G → ℂ :=
      fun {G : Type} [Group G] (R : Finset G) (t : G) (φ : G → ℂ) (g : G) ↦ ∑ r ∈ R, φ (g * r * t)
  ```
- `UpperTheory.Reformulated.B.Qf37.aOp_rightInvariant`: If R represents the left cosets of J ∩ tJt⁻¹ in J exactly once, then the operator sends right J-invariant functions to right J-invariant functions.

  ```lean
  theorem UpperTheory.Reformulated.B.Qf37.aOp_rightInvariant :
      ∀ {G : Type} [inst : Group G] {I : Subgroup G} {t : G} {R : Finset G},
        (∀ r ∈ R, r ∈ I) →
          (∀ i ∈ I, ∃! r : G, r ∈ R ∧ t⁻¹ * (r⁻¹ * i) * t ∈ I) →
            ∀ {φ : G → ℂ},
              (∀ (g i : G), i ∈ I → φ (g * i) = φ g) →
                ∀ (g i : G), i ∈ I → UpperTheory.Reformulated.B.Qf37.aOp R t φ (g * i) = UpperTheory.Reformulated.B.Qf37.aOp R t φ g := …
  ```


---

Unitary groups over local fields… · Alpöge Lean readings, part 2. Web page: https://riemannhypothesissolved.com/cluster/k2033-unitary-groups-over-local-fields-satake-parameters-of/lean/part-2/ · updated 2026-11-26 · site map for machines: https://riemannhypothesissolved.com/llms.txt
