# Twisted trace on unitary-invariant maps is ±2^n, via highest-weight counting: 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 k0913 (https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/) · 172 Lean files, by distance from Main.lean · part 2 of 3, files 57–119 of 172 · data: https://riemannhypothesissolved.com/api/file-lines/k0913.json

- Part 1: https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/index.md
- Part 2: https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/index.md
- Part 3: https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/index.md

## Contents

- 7 import steps from Main:
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CommutingHermitianSimultaneousDiagStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CommutingHermitianSimultaneousDiagStatement)
- 8 import steps from Main:
  - [Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.TraceFormula.GL4GeometricSide.CoreG](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicArithmetic.AutomorphicVarieties.ModularityArgument.TraceFormula.GL4GeometricSide.CoreG)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CommutingHermitianSimultaneousDiag](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CommutingHermitianSimultaneousDiag)
- 9 import steps from Main:
  - [Development.AbelianVarietyTheory.Definitions.TwistedInnerProducts.ExistsIsSph](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AbelianVarietyTheory.Definitions.TwistedInnerProducts.ExistsIsSph)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicOfNormBoundStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicOfNormBoundStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvF](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvF)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RangeStable](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RangeStable)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SignOne](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SignOne)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.DiracInequalityKTypes](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.DiracInequalityKTypes)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.IsCoreMod](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.IsCoreMod)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.MultGOfMultFor](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.MultGOfMultFor)
  - [Formalism.LocalToGlobal.IndefiniteReal.EigenDecomposition](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Formalism.LocalToGlobal.IndefiniteReal.EigenDecomposition)
- 10 import steps from Main:
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ConeNoSecondWeightsStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ConeNoSecondWeightsStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DiagonalMemUnitary](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DiagonalMemUnitary)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicOfNormBound](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicOfNormBound)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestTermLemmaReal](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestTermLemmaReal)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestTermLemmaRealStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestTermLemmaRealStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IsCliff](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IsCliff)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.N2TopReal](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.N2TopReal)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.N2TopRealStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.N2TopRealStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.NormSqLeDominantRearrangement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.NormSqLeDominantRearrangement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealCompressionStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealCompressionStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealFirstNilpotentStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealFirstNilpotentStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealKTypesInConeStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealKTypesInConeStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealModelExistsStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealModelExistsStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WtRInjective](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WtRInjective)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.DiracOfDiracZeroModule](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.DiracOfDiracZeroModule)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.ExpansionTerms](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.ExpansionTerms)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.HighestVectorsRegularLine](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.HighestVectorsRegularLine)
  - [Development.WeilBound.RepresentationTheoryGL.HolomorphicDiscreteSeries.EmbeddedFrames.PfD](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.HolomorphicDiscreteSeries.EmbeddedFrames.PfD)
- 11 import steps from Main:
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CliffordHighestWeightVector](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CliffordHighestWeightVector)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CliffordHighestWeightVectorStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CliffordHighestWeightVectorStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ConeNoSecondWeights](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ConeNoSecondWeights)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CyclicStandardTournament](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CyclicStandardTournament)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DiracKHolds](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DiracKHolds)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantEqOfNormGe](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominantEqOfNormGe)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualOperatorCommutesLieStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualOperatorCommutesLieStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightTraceFormulaStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightTraceFormulaStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightsDominatedStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightsDominatedStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsDualLieFamilyStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsDualLieFamilyStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsInvariantExtendingStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsInvariantExtendingStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteWeightsInvariantHomStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteWeightsInvariantHomStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicWeightsCoefficientStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicWeightsCoefficientStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightAntitoneOfFiniteDimensionalStable](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightAntitoneOfFiniteDimensionalStable)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvariantIntertwinesDualStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvariantIntertwinesDualStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealCompression](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealCompression)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealFirstNilpotent](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealFirstNilpotent)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealKTypesInCone](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealKTypesInCone)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealModelExists](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RealModelExists)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SignAntisymmetric](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SignAntisymmetric)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TraceFactorTensorDecompStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TraceFactorTensorDecompStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TwistedTraceWeylCharacterStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TwistedTraceWeylCharacterStatement)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.ConeWeightsNotSecondType](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.ConeWeightsNotSecondType)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.MuQMemHarmSet](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.MuQMemHarmSet)
- 12 import steps from Main:
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CenterActsByScalarOnCyclicStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CenterActsByScalarOnCyclicStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualOperatorCommutesLie](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualOperatorCommutesLie)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightTraceFormula](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightTraceFormula)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightsDominated](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightsDominated)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EqZeroOnUnitaryOfVanishAtOneStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EqZeroOnUnitaryOfVanishAtOneStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsDualLieFamily](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsDualLieFamily)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHaarUnitaryGroupStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHaarUnitaryGroupStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsInvariantExtending](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsInvariantExtending)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsKFiniteSubmoduleContainingStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsKFiniteSubmoduleContainingStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsPermShiftedWeightEqInfCharStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsPermShiftedWeightEqInfCharStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteWeightsInvariantHom](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteWeightsInvariantHom)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteGeneratorStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteGeneratorStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteOfCommuteStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteOfCommuteStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantEvalLowestStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantEvalLowestStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandValuePermInvariantStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandValuePermInvariantStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicWeightsCoefficient](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicWeightsCoefficient)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightMemConeStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightMemConeStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionAtOneStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionAtOneStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionDerivativeAtOneStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionDerivativeAtOneStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKFiniteStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKFiniteStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKHighestWeightStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKHighestWeightStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionParabolicEquivariantStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionParabolicEquivariantStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionSmoothStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionSmoothStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntegralRightDerivativeEqZeroStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntegralRightDerivativeEqZeroStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvariantIntertwinesDual](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvariantIntertwinesDual)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwasawaParabolicUnitaryStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwasawaParabolicUnitaryStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.KActionSkewAdjointL2Statement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.KActionSkewAdjointL2Statement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.L2InnerProductHermitianFormStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.L2InnerProductHermitianFormStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LftMulRgt](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LftMulRgt)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.OrderedCechToCatCochainsOneApplyValueAtSubset](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.OrderedCechToCatCochainsOneApplyValueAtSubset)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.PartialFractionDiagonalIdentityStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.PartialFractionDiagonalIdentityStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeLowerBlockAtOneStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeLowerBlockAtOneStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativePreservesEquivariantStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativePreservesEquivariantStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeRealLieHomStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeRealLieHomStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SumMemOfStable](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SumMemOfStable)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TraceFactorTensorDecomp](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TraceFactorTensorDecomp)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TwistedTraceWeylCharacter](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TwistedTraceWeylCharacter)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.NoSecondTypeWeight](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.NoSecondTypeWeight)
- 13 import steps from Main:
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CPoly](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CPoly)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CenterActsByScalarOnCyclic](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CenterActsByScalarOnCyclic)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DerivativeUnitaryActionStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DerivativeUnitaryActionStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominanceOfWeylCharacterCoeffStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominanceOfWeylCharacterCoeffStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightSpacesSpanStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightSpacesSpanStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EqZeroOnUnitaryOfVanishAtOne](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EqZeroOnUnitaryOfVanishAtOne)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsCompactLieActionStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsCompactLieActionStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHaarUnitaryGroup](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHaarUnitaryGroup)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightInInvariantSubmoduleStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightInInvariantSubmoduleStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsKFiniteSubmoduleContaining](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsKFiniteSubmoduleContaining)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsPermShiftedWeightEqInfChar](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsPermShiftedWeightEqInfChar)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteDimensionalOfHom](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteDimensionalOfHom)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteGenerator](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteGenerator)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteOfCommute](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteOfCommute)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantEvalLowest](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantEvalLowest)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandValuePermInvariant](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandValuePermInvariant)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightAntitoneOfFiniteDimensionalStableStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightAntitoneOfFiniteDimensionalStableStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightIntegralOfUnitaryStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightIntegralOfUnitaryStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightMemCone](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightMemCone)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightOfUnitaryDerivativeStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightOfUnitaryDerivativeStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionAtOne](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionAtOne)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionDerivativeAtOne](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionDerivativeAtOne)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKFinite](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKFinite)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKHighestWeight](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKHighestWeight)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionParabolicEquivariant](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionParabolicEquivariant)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionSmooth](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionSmooth)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntegralRightDerivativeEqZero](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntegralRightDerivativeEqZero)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntertwinerEqZeroOfVanishOnHighestStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntertwinerEqZeroOfVanishOnHighestStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwasawaParabolicUnitary](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwasawaParabolicUnitary)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.KActionSkewAdjointL2](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.KActionSkewAdjointL2)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.L2InnerProductHermitianForm](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.L2InnerProductHermitianForm)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LieGeneratorsGlRelations](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LieGeneratorsGlRelations)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.PartialFractionDiagonalIdentity](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.PartialFractionDiagonalIdentity)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ProdPairSumsEqSumPowersetScoreStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ProdPairSumsEqSumPowersetScoreStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeLowerBlockAtOne](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeLowerBlockAtOne)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativePreservesEquivariant](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativePreservesEquivariant)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeRealLieHom](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeRealLieHom)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreRigidityPermEqOneStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreRigidityPermEqOneStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreTZeroEqLevelCountStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreTZeroEqLevelCountStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SpinGlRelationsAdjointStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SpinGlRelationsAdjointStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TorCharInjective](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TorCharInjective)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEuclideanModelStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEuclideanModelStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.VandermondeSquaresStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.VandermondeSquaresStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeightPolynomialTraceIdentityStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeightPolynomialTraceIdentityStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeylDenominatorProductStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeylDenominatorProductStatement)
- 14 import steps from Main:
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.LowerIff](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.LowerIff)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DerivativeUnitaryAction](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DerivativeUnitaryAction)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DetOneAddSingle](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DetOneAddSingle)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominanceOfWeylCharacterCoeff](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominanceOfWeylCharacterCoeff)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightSpacesSpan](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightSpacesSpan)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EuOfDifferentiableAt](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EuOfDifferentiableAt)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsCompactLieAction](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsCompactLieAction)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightInInvariantSubmodule](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightInInvariantSubmodule)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightIntegralOfUnitary](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightIntegralOfUnitary)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightOfUnitaryDerivative](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightOfUnitaryDerivative)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntertwinerEqZeroOfVanishOnHighest](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntertwinerEqZeroOfVanishOnHighest)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.JBConjTranspose](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.JBConjTranspose)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ProdPairSumsEqSumPowersetScore](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ProdPairSumsEqSumPowersetScore)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreRigidityPermEqOne](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreRigidityPermEqOne)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreTZeroEqLevelCount](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ScoreTZeroEqLevelCount)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SpinGlRelationsAdjoint](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SpinGlRelationsAdjoint)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEuclideanModel](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryEuclideanModel)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.VandermondeSquares](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.VandermondeSquares)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeightPolynomialTraceIdentity](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeightPolynomialTraceIdentity)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeylDenominatorProduct](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.WeylDenominatorProduct)
  - [Development.AutomorphicSpectrum.Proofs.HermitianForms.Imports](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.HermitianForms.Imports)
  - [Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.IsLevPairA](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.IsLevPairA)
- 15 import steps from Main:
  - [Development.AbelianVarietyTheory.Definitions.TwistedInnerProducts.FiniteDimensionalOfTrivialIsAdmOn](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AbelianVarietyTheory.Definitions.TwistedInnerProducts.FiniteDimensionalOfTrivialIsAdmOn)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EventuallyLineUnit](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EventuallyLineUnit)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightHermitianDerivationStatement](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightHermitianDerivationStatement)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.MapMemKfin](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.MapMemKfin)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryExpSkewHermitian](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.UnitaryExpSkewHermitian)
  - [Formalism.GelfandTransference.HadamardGelfand.Highest](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Formalism.GelfandTransference.HadamardGelfand.Highest)
- 16 import steps from Main:
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightHermitianDerivation](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightHermitianDerivation)
  - [Formalism.GelfandTransference.HadamardGelfand.Gelfand](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Formalism.GelfandTransference.HadamardGelfand.Gelfand)
- 17 import steps from Main:
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DifferentiableCoeffRowAct](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DifferentiableCoeffRowAct)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInfinitesimalCharacter](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInfinitesimalCharacter)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HasDerivAtMulVec](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HasDerivAtMulVec)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LineInverse](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LineInverse)
  - [Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SecondCountableUnitary](https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-3/#Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SecondCountableUnitary)

## The files

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightTraceFormula

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

**Expands twisted dual traces in Weyl characters for finite-dimensional continuous unitary U(n)-modules with compatible Lie algebra data.**

For T commuting with ρ and k diagonal unitary with distinct entries, the trace of precomposition by ρ(k⁻¹) ∘ T expands in Weyl characters of dominant integral weights. Its coefficients are the traces of the transpose of T on the highest-weight spaces for a family satisfying the matrix-unit Lie brackets and differentiating the dual action. In a unitary Euclidean model, the proof shows that the finitely many isotypic projections sum to the identity by testing on highest-weight vectors. It then transports the total trace and the restricted traces back to the continuous dual. The importing module restates the resulting expansion.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCountG.CharDec.core`: For a finite-dimensional model with general linear Lie algebra relations, adjoint identities and the prescribed orbit derivatives, the trace of a diagonal unitary group operator with pairwise distinct entries composed with a Lie algebra intertwiner expands in Weyl characters weighted by the intertwiner’s traces on highest-weight spaces.

  ```lean
  theorem core (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H]
      (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)) (G : Fin n → Fin n → Module.End ℂ H)
      (hg : Formalism.REAL.GlRel G) (hh : ∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ)
      (hd : ∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X →
        (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H,
          HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) :
      ∃ F : Finset (Fin n → ℤ), (∀ ν ∈ F, Antitone ν) ∧ (∀ ν : Fin n → ℤ, Antitone ν → ν ∉ F → hwOf G (wtR ν) = ⊥) ∧
        ∀ S : H →ₗ[ℂ] H, (∀ a b w, S (G a b w) = G a b (S w)) →
          ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → Function.Injective z →
            LinearMap.trace ℂ H ((ρ k : H →ₗ[ℂ] H) ∘ₗ S) = ∑ ν ∈ F, trOn (hwOf G (wtR ν)) S * weylChar ν z := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.CharDec.eq_zero_of_skew`: A complex vector-valued array vanishes entry by entry if its contraction with every skew-Hermitian matrix is zero.

  ```lean
  theorem eq_zero_of_skew {M : Type*} [AddCommGroup M] [Module ℂ M] (x : Fin n → Fin n → M)
      (h : ∀ X : Matrix (Fin n) (Fin n) ℂ, Xᴴ = -X → ∑ i, ∑ j, X i j • x i j = 0) (a b : Fin n) : x a b = 0 := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.CharDec.trOn_transport`: An intertwining isomorphism that identifies two invariant subspaces preserves the traces of the restricted operators.

  ```lean
  theorem trOn_transport {M N : Type*} [AddCommGroup M] [Module ℂ M] [AddCommGroup N] [Module ℂ N] (e : M ≃ₗ[ℂ] N)
      (D : Submodule ℂ M) (D' : Submodule ℂ N) (hD : ∀ x, x ∈ D ↔ e x ∈ D') (f : M →ₗ[ℂ] M) (g : N →ₗ[ℂ] N)
      (hfg : ∀ x, e (f x) = g (e x)) (hf : ∀ x ∈ D, f x ∈ D) : trOn D f = trOn D' g := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.CharDec.main`: For an equivariant T and a dual Lie algebra family G satisfying IsDualFam, the twisted trace on the continuous dual at a diagonal unitary matrix with distinct entries is a finite Weyl character sum with coefficients given by traces of the transpose of T on the highest-weight spaces for G.

  ```lean
  theorem main : ∀ {n : ℕ} (E : KMod n) (T : E.V →L[ℂ] E.V), (∀ k, T * E.ρ k = E.ρ k * T) →
      ∀ G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ), IsDualFam E G →
      ∃ F : Finset (Fin n → ℤ), (∀ ν ∈ F, Antitone ν) ∧ (∀ ν : Fin n → ℤ, Antitone ν → ν ∉ F → hwOf G (wtR ν) = ⊥) ∧
        ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → Function.Injective z →
          LinearMap.trace ℂ (E.V →L[ℂ] ℂ) (dualT E (E.ρ k⁻¹ * T) : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) =
            ∑ ν ∈ F, trOn (hwOf G (wtR ν)) (dualT E T : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) * weylChar ν z := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightsDominated

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

**Proves that the dual torus weight spaces span and that every occurring weight satisfies a dominance bound.**

For a finite-dimensional continuous unitary representation of U(n) with a commuting involution T satisfying the Lefschetz trace identities at a weakly decreasing weight λ, the dual torus weight spaces span, and every occurring weight is dominated by the vector with entries 2λᵢ + n − 1 − 2i, indexed from zero. The proof identifies each coefficient of the ordinary trace polynomial with the dimension of its weight space. A Weyl-character coefficient bound then gives the dominance inequalities. The theorem supplies the proof of `GlobalTheory.T.dual_weights_dominated`.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCountG.TopeG.cPoly_coeff`: The coefficient at a weight is its assigned value if the weight belongs to the indexing set, and zero otherwise.

  ```lean
  theorem cPoly_coeff {n : ℕ} (s : Finset (Fin n → ℤ)) (c : (Fin n → ℤ) → ℂ) (μ : Fin n → ℤ) :
      (cPoly s c).coeff μ = if μ ∈ s then c μ else 0 := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.TopeG.trOn_dualT_id`: The trace of the dual identity on any subspace of the dual equals the complex dimension of that subspace.

  ```lean
  theorem trOn_dualT_id {n : ℕ} (E : KMod n) (S : Submodule ℂ (E.V →L[ℂ] ℂ)) :
      trOn S (dualT E 1 : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) = Module.finrank ℂ S := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.TopeG.topeG`: Under the Lefschetz hypotheses for weakly decreasing λ, the dual weight spaces span and every occurring weight has initial sums bounded by those of 2λᵢ + n − 1 − 2i, with equal total sum.

  ```lean
  theorem topeG : ∀ {n : ℕ} (lam : Fin n → ℤ), Antitone lam → ∀ (E : KMod n) (T : E.V →L[ℂ] E.V), IsLefK lam E T →
      (⨆ μ, wtDual E μ) = ⊤ ∧ ∀ μ, wtDual E μ ≠ ⊥ → DomLE (wtR μ) (m0 lam) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EqZeroOnUnitaryOfVanishAtOneStatement

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

**Deduces vanishing on U(n) from vanishing at the identity throughout a finite-dimensional space stable under the compact generators.**

The statement delegates to the imported theorem `ModelS.Sep.main`. In a finite-dimensional complex subspace of model functions stable under every operator Kf(a,b), vanishing at the identity for every member implies vanishing on U(n) for every member.

Key declarations:

- `GlobalTheory.T.eq_zero_on_unitary_of_vanish_at_one`: If every function in a finite-dimensional complex subspace of the smooth model functions SmF n stable under all Kf(a,b) vanishes at the identity, then every function in that subspace vanishes at every unitary matrix.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.eq_zero_on_unitary_of_vanish_at_one : ∀ (n : ℕ) (S : Submodule ℂ (GlobalTheory.CompanionTheory.ModelS.SmF n)), FiniteDimensional ℂ S → (∀ a b : Fin n, ∀ w ∈ S, GlobalTheory.CompanionTheory.ModelS.Kf a b w ∈ S) → (∀ w ∈ S, w.1 1 = 0) → ∀ w ∈ S, ∀ k : Matrix.unitaryGroup (Fin n) ℂ, w.1 k.1 = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsDualLieFamily

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

**Constructs a complex Lie algebra action on the dual of a unitary-group representation.**

For every U(n)-module in the setup, the theorem constructs endomorphisms of its complex dual indexed by matrix units. It conjugates the operators from a Euclidean model through the equivalence intertwining the two unitary actions. This transports the matrix-unit commutator relations, and the chain rule identifies the resulting operators with the derivative of the contragredient action at zero along exp(tX) for skew-Hermitian X.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCountG.dualFam_exists`: Every U(n)-module in the setup admits a family of dual endomorphisms satisfying the matrix-unit commutator relations and giving the infinitesimal contragredient action.

  ```lean
  theorem dualFam_exists : ∀ {n : ℕ} (E : KMod n), ∃ G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ), IsDualFam E G := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHaarUnitaryGroupStatement

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

**Exposes Haar measure existence for U(n) in a right-invariant form.**

The statement forwards the imported existence theorem for the unitary group. For every n, it supplies a finite right-invariant Borel measure on U(n) that assigns positive mass to every nonempty open subset.

Key declarations:

- `GlobalTheory.T.exists_haar_unitary_group`: For every n, the unitary group U(n) admits a finite Borel measure invariant under right translation and positive on every nonempty open subset.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.exists_haar_unitary_group : ∀ (n : ℕ) [MeasurableSpace (Matrix.unitaryGroup (Fin n) ℂ)] [BorelSpace (Matrix.unitaryGroup (Fin n) ℂ)], ∃ κ : Measure (Matrix.unitaryGroup (Fin n) ℂ), IsFiniteMeasure κ ∧ κ.IsMulRightInvariant ∧ κ.IsOpenPosMeasure := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsInvariantExtending

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

**Extends ℂ-linear maps between matching highest-weight spaces at finitely many integral weights to a U(n)-intertwiner for compatible actions.**

From a subspace of highest-weight vectors of one weight, iterated lowering generates an invariant subspace whose orthogonal projection commutes with the Lie algebra action and kills highest-weight vectors of other weights. Composing these projections with the individual extensions and summing gives a simultaneous Lie algebra intertwiner. In the application, differentiation first identifies the dual matrix-unit operators with those of the Euclidean model, so the abstract extension applies there. The resulting Lie algebra intertwiner is then upgraded to U(n)-equivariance.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCountG.ExtMulti.lowS`: Defines the increasing filtration obtained by starting with a subspace and adjoining its images under all lowering operators at each step.

  ```lean
  def lowS (D : Fin n → Fin n → Module.End ℂ H) (S : Submodule ℂ H) (k : ℕ) : Submodule ℂ H :=
    Nat.rec S (fun _ N => N ⊔ ⨆ (a : Fin n) (b : Fin n) (_ : b < a), N.map (D a b)) k
  ```
- `GlobalTheory.CompanionTheory.RealCountG.ExtMulti.exists_proj`: For a finite-dimensional source with the matrix-unit commutator and adjoint relations, constructs a commuting projection that fixes a prescribed highest-weight subspace and kills highest-weight vectors of every other weight.

  ```lean
  theorem exists_proj [FiniteDimensional ℂ H] {D : Fin n → Fin n → Module.End ℂ H} (hD : Formalism.REAL.GlRel D)
      (hU : ∀ a b (x y : H), ⟪D a b x, y⟫_ℂ = ⟪x, D b a y⟫_ℂ) {S : Submodule ℂ H} {μ : Fin n → ℝ}
      (hS : ∀ x ∈ S, Formalism.REAL.KHighest (fun _ => true) D μ x) :
      ∃ P : H →ₗ[ℂ] H, (∀ a b w, P (D a b w) = D a b (P w)) ∧ (∀ x ∈ S, P x = x) ∧
        ∀ ν, ν ≠ μ → ∀ y, Formalism.REAL.KHighest (fun _ => true) D ν y → P y = 0 := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.ExtMulti.exists_multi`: For a finite-dimensional source and actions on both spaces satisfying the matrix-unit commutator and adjoint relations, extends complex-linear maps from finitely many highest-weight subspaces of distinct weights into the corresponding target spaces to one Lie algebra intertwiner.

  ```lean
  theorem exists_multi {H V : Type} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H]
      [NormedAddCommGroup V] [InnerProductSpace ℂ V] (D : Fin n → Fin n → Module.End ℂ H)
      (D' : Fin n → Fin n → Module.End ℂ V) (hD : Formalism.REAL.GlRel D) (hD' : Formalism.REAL.GlRel D')
      (hU : ∀ a b (x y : H), ⟪D a b x, y⟫_ℂ = ⟪x, D b a y⟫_ℂ) (hU' : ∀ a b (x y : V), ⟪D' a b x, y⟫_ℂ = ⟪x, D' b a y⟫_ℂ)
      {ι : Type} (M : Finset ι) (wt : ι → Fin n → ℝ) (hwt : Function.Injective wt) (Hs : ι → Submodule ℂ H)
      (hHs : ∀ i, ∀ x ∈ Hs i, Formalism.REAL.KHighest (fun _ => true) D (wt i) x) (f : ∀ i, Hs i →ₗ[ℂ] V)
      (hf : ∀ i x, Formalism.REAL.KHighest (fun _ => true) D' (wt i) (f i x)) :
      ∃ T : H →ₗ[ℂ] V, (∀ i ∈ M, ∀ x : Hs i, T x = f i x) ∧ ∀ a b w, T (D a b w) = D' a b (T w) := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.ExtMulti.dual_rel`: A group-equivariant linear equivalence from the continuous dual to its model also intertwines the matrix-unit operators when both families give the stipulated derivatives along skew-Hermitian exponentials.

  ```lean
  theorem dual_rel (E : KMod n) (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)) (hG : IsDualFam E G)
      {H : Type} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H]
      (e : (E.V →L[ℂ] ℂ) ≃ₗ[ℂ] H) (ρ' : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H))
      (he : ∀ k ξ, e (ξ ∘L E.ρ k⁻¹) = ρ' k (e ξ)) (G' : Fin n → Fin n → Module.End ℂ H)
      (hGd : ∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X →
        (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H,
          HasDerivAt (fun t : ℝ => ρ' (γ t) w) (∑ a, ∑ b, X a b • G' a b w) 0)
      (a b : Fin n) (ξ : E.V →L[ℂ] ℂ) : G' a b (e ξ) = e (G a b ξ) := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.ExtMulti.exists_inv_multi`: Under the compatibility hypotheses for the group and Lie algebra actions, a single U(n)-equivariant map from the dual realizes the prescribed highest-weight maps at every weight in the chosen finite set.

  ```lean
  theorem exists_inv_multi : ∀ {n : ℕ} (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)), IsPair E1 E2 →
      IsDerivK σ (kF E1 E2) → ∀ (E : KMod n) (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)), IsDualFam E G →
      ∀ (M : Finset (Fin n → ℤ)) (f : ∀ μ : Fin n → ℤ, hwOf G (wtR μ) →ₗ[ℂ] hwSp E1 E2 (wtR μ)),
        ∃ t ∈ invA σ E, ∀ μ ∈ M, ∀ ξ : hwOf G (wtR μ), t ξ = f μ ξ := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsKFiniteSubmoduleContainingStatement

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

**Exposes a local finiteness criterion for the diagonal action of two commuting matrix Lie algebra actions.**

The statement forwards the imported cyclic local finiteness theorem. If two commuting actions of 𝔤𝔩ₙ(ℂ) have a joint cyclic vector lying in a finite-dimensional subspace stable under the diagonal action, then every vector lies in such a subspace.

Key declarations:

- `GlobalTheory.T.exists_k_finite_submodule_containing`: For two commuting actions of 𝔤𝔩ₙ(ℂ) on a complex inner product space, if the associative algebra they generate has a cyclic vector in a finite-dimensional subspace stable under the sum of the actions, then every vector belongs to a finite-dimensional subspace stable under that sum.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.exists_k_finite_submodule_containing : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (F1 F2 : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel F1 → Formalism.REAL.GlRel F2 → (∀ a b c d, F1 a b * F2 c d = F2 c d * F1 a b) → ∀ f : V, (∀ x : V, ∃ T ∈ alg F1 F2, T f = x) → ∀ S₀ : Submodule ℂ V, FiniteDimensional ℂ S₀ → f ∈ S₀ → (∀ a b, ∀ w ∈ S₀, kF F1 F2 a b w ∈ S₀) → ∀ x : V, ∃ S : Submodule ℂ V, FiniteDimensional ℂ S ∧ x ∈ S ∧ ∀ a b, ∀ w ∈ S, kF F1 F2 a b w ∈ S := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsPermShiftedWeightEqInfCharStatement

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

**Exposes the Weyl-orbit identity relating the shifted model weight to the infinitesimal character.**

The statement forwards the imported permutation identity for reversed blocks. If lev is nondecreasing and λ is constant on its fibers, shifting the model weight yZ(λ, lev) by the Weyl vector with coordinates (n − 1)/2 − a, indexed from zero, gives a permutation of `infOf λ false`, the negative of the Weyl-shifted λ tuple.

Key declarations:

- `GlobalTheory.T.exists_perm_shifted_weight_eq_inf_char`: For every admissible pair (λ, lev), there is a permutation σ such that the a-th coordinate of the Weyl-shifted model weight equals the σ(a)-th infinitesimal-character coordinate.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.exists_perm_shifted_weight_eq_inf_char : ∀ (n : ℕ) (lam : Fin n → ℤ) (lev : Fin n → ℕ), IsLev lam lev → ∃ σ : Equiv.Perm (Fin n), ∀ a : Fin n, (GlobalTheory.CompanionTheory.ModelS.yZ lam lev a : ℂ) + ((n : ℂ) - 1) / 2 - ((a : ℕ) : ℂ) = infOf lam false (σ a) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteWeightsInvariantHom

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

**Proves that finitely many highest-weight restrictions determine a U(n)-equivariant map from the dual.**

When the dual torus weight spaces span and a compatible target operator pair gives the infinitesimal U(n) action, a nonzero equivariant map has a nonzero highest-weight vector in its image, obtained by choosing a lexicographically maximal weight in the image. Given a compatible dual infinitesimal family, a U(n)-stable complement to the kernel lifts that vector to a dual highest-weight vector of the same weight. Thus the map is determined by its restrictions to dual highest-weight spaces at any finite set containing every target highest weight that also occurs as a dual torus weight.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCountG.InjG.dual_entry_mem`: Every U(n)-stable complex subspace of the dual is stable under the matrix-unit operators of a compatible dual infinitesimal family.

  ```lean
  theorem dual_entry_mem (hG : IsDualFam E G) (R : Submodule ℂ (E.V →L[ℂ] ℂ))
      (hR : ∀ k, ∀ ξ ∈ R, ξ ∘L E.ρ k⁻¹ ∈ R) (a b : Fin n) {w : E.V →L[ℂ] ℂ} (hw : w ∈ R) : G a b w ∈ R := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.InjG.dual_weight`: On the dual torus weight space of weight μ, the a-th diagonal operator of a compatible dual infinitesimal family acts by the scalar μₐ.

  ```lean
  theorem dual_weight (hG : IsDualFam E G) (μ : Fin n → ℤ) {v : E.V →L[ℂ] ℂ} (hv : v ∈ wtDual E μ) (a : Fin n) :
      G a a v = ((μ a : ℝ) : ℂ) • v := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.InjG.exists_stable_compl`: Every U(n)-stable subspace of the dual has a U(n)-stable complement.

  ```lean
  theorem exists_stable_compl (E : KMod n) (K : Submodule ℂ (E.V →L[ℂ] ℂ)) (hK : ∀ k, ∀ ξ ∈ K, ξ ∘L E.ρ k⁻¹ ∈ K) :
      ∃ N : Submodule ℂ (E.V →L[ℂ] ℂ), (∀ k, ∀ ξ ∈ N, ξ ∘L E.ρ k⁻¹ ∈ N) ∧ (∀ x ∈ K, x ∈ N → x = 0) ∧
        ∀ ξ, ∃ x ∈ K, ∃ y ∈ N, ξ = x + y := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.InjG.exists_hw_image`: If the dual torus weight spaces span and the compatible target operator pair gives the infinitesimal U(n) action, a nonzero equivariant map sends some dual torus weight vector to a nonzero highest-weight vector of the same weight.

  ```lean
  theorem exists_hw_image (E1 E2 : Fin n → Fin n → Module.End ℂ V)
      (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (hP : IsPair E1 E2) (hK : IsDerivK σ (kF E1 E2))
      (E : KMod n) (htop : (⨆ μ, wtDual E μ) = ⊤) (t : (E.V →L[ℂ] ℂ) →ₗ[ℂ] V) (ht : t ∈ invA σ E) (ht0 : t ≠ 0) :
      ∃ (μ : Fin n → ℤ) (ξ : E.V →L[ℂ] ℂ), ξ ∈ wtDual E μ ∧ t ξ ≠ 0 ∧ t ξ ∈ hwSp E1 E2 (wtR μ) := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.InjG.eq_zero_of_hw`: Under the compatibility and spanning hypotheses, an equivariant map vanishes if it kills the dual highest-weight spaces at every weight in a finite set covering the common weights.

  ```lean
  theorem eq_zero_of_hw : ∀ {n : ℕ} (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (E1 E2 : Fin n → Fin n → Module.End ℂ V) (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)), IsPair E1 E2 →
      IsDerivK σ (kF E1 E2) → ∀ (E : KMod n) (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)), IsDualFam E G →
      (⨆ μ, wtDual E μ) = ⊤ → ∀ M : Finset (Fin n → ℤ),
      (∀ (ν : Fin n → ℤ) (v : V), v ≠ 0 → v ∈ hwSp E1 E2 (wtR ν) → wtDual E ν ≠ ⊥ → ν ∈ M) →
      ∀ t ∈ invA σ E, (∀ μ ∈ M, ∀ ξ ∈ hwOf G (wtR μ), t ξ = 0) → t = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteGeneratorStatement

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

**Exposes the commutation of Gelfand invariants with the matrix-unit generators of a Lie algebra action.**

The statement forwards the imported centrality lemma for the Gelfand operators. Whenever the given endomorphisms satisfy the 𝔤𝔩ₙ(ℂ) matrix-unit commutator relations, every Gelfand operator commutes with each of them.

Key declarations:

- `GlobalTheory.T.gelfand_invariant_commute_generator`: For a family E satisfying the 𝔤𝔩ₙ(ℂ) matrix-unit relations, the Gelfand operator gelA(E, m) commutes with Eₐᵦ for every nonnegative integer m and every pair of indices a, b.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.gelfand_invariant_commute_generator : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel E → ∀ (m : ℕ) (a b : Fin n), gelA E m * E a b = E a b * gelA E m := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteOfCommuteStatement

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

**Exposes a lemma showing that any endomorphism commuting with every generator also commutes with every Gelfand operator.**

The statement forwards the imported commutation lemma for the Gelfand operators. For a family of complex-linear endomorphisms Eₐᵦ on a complex inner product space with a, b ∈ Fin n, every endomorphism commuting with all Eₐᵦ also commutes with every Gelfand operator of the family.

Key declarations:

- `GlobalTheory.T.gelfand_invariant_commute_of_commute`: If T commutes with every Eₐᵦ, then T commutes with gelA(E, m) for every nonnegative integer m.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.gelfand_invariant_commute_of_commute : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E : Fin n → Fin n → Module.End ℂ V) (T : Module.End ℂ V), (∀ a b, T * E a b = E a b * T) → ∀ m : ℕ, gelA E m * T = T * gelA E m := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantEvalLowestStatement

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

**Exposes the Weyl-shifted scalar formula for Gelfand operators acting on a lowest-weight functional.**

The statement forwards the imported Gelfand evaluation lemma for a matrix-unit Lie algebra action. If a functional annihilates the images of the strictly lower-triangular generators and has diagonal weight x, precomposition with the m-th Gelfand operator multiplies it by gelfVal(x + ρ, m), where ρₐ = (n − 1)/2 − a with indices starting at zero.

Key declarations:

- `GlobalTheory.T.gelfand_invariant_eval_lowest`: For a family E of complex-linear endomorphisms satisfying the 𝔤𝔩ₙ(ℂ) matrix-unit relations on a complex inner product space, a complex-linear functional ev with ev ∘ Eₐᵦ = 0 for b < a and ev ∘ Eₐₐ = xₐ ev satisfies ev ∘ gelA(E, m) = gelfVal(x + ρ, m) ev for every m.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.gelfand_invariant_eval_lowest : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel E → ∀ (ev : V →ₗ[ℂ] ℂ) (x : Fin n → ℂ), (∀ a b, b < a → ∀ v, ev (E a b v) = 0) → (∀ a v, ev (E a a v) = x a * ev v) → ∀ (m : ℕ) (v : V), ev (gelA E m v) = GlobalTheory.Dec.gelfVal (fun a => x a + ((n : ℂ) - 1) / 2 - ((a : ℕ) : ℂ)) m * ev v := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandValuePermInvariantStatement

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

**Exposes the permutation invariance of Gelfand values.**

The statement forwards the imported permutation lemma for Gelfand values. At each nonnegative integer index, the value depends only on the multiset of coordinates of the complex parameter tuple.

Key declarations:

- `GlobalTheory.T.gelfand_value_perm_invariant`: For every permutation σ of the coordinates of χ and every nonnegative integer k, gelfVal(χ ∘ σ, k) equals gelfVal(χ, k).

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.gelfand_value_perm_invariant : ∀ (n : ℕ) (χ : Fin n → ℂ) (σ : Equiv.Perm (Fin n)) (k : ℕ), GlobalTheory.Dec.gelfVal (fun a => χ (σ a)) k = GlobalTheory.Dec.gelfVal χ k := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HarmonicWeightsCoefficient

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

**Proves that every harmonic weight occurs with coefficient 2ⁿ in the specified Weyl-character expansion.**

For dominant integral λ, a finite expansion of χλ(z²) times ∏ₐ,ᵦ(1 + zₐ/zᵦ) in dominant Weyl characters on unit-modulus tuples z with pairwise distinct squares contains every harmonic weight for λ with coefficient 2ⁿ. The proof clears the Weyl denominator and compares Laurent coefficients at the shifted harmonic weight. On the product side, only the identity permutation and the distinguished pair subset determined by the level function contribute. On the character side, strict decrease after shifting isolates the harmonic character and its coefficient.

Key declarations:

- `GlobalTheory.CompanionTheory.CoefId.coeff_eq`: Finite Laurent sums that agree on the unit torus where the squared coordinates are distinct have equal coefficients at each exponent.

  ```lean
  theorem coeff_eq {ι κ : Type} (I : Finset ι) (J : Finset κ) (f : ι → ℂ) (g : κ → ℂ) (e : ι → Fin n → ℤ)
      (e' : κ → Fin n → ℤ)
      (h : ∀ z : Fin n → ℂ, (∀ a, ‖z a‖ = 1) → Function.Injective (fun a => z a ^ 2) →
        ∑ i ∈ I, f i * mon (e i) z = ∑ j ∈ J, g j * mon (e' j) z) (m : Fin n → ℤ) :
      ∑ i ∈ I.filter (fun i => e i = m), f i = ∑ j ∈ J.filter (fun j => e' j = m), g j := …
  ```
- `GlobalTheory.CompanionTheory.CoefId.torus_id`: For nonzero coordinates zₐ with pairwise distinct squares, multiplying the character product by the Vandermonde determinant at z gives 2ⁿ times a signed Laurent sum over permutations and subsets of index pairs.

  ```lean
  theorem torus_id (lam : Fin n → ℤ) (z : Fin n → ℂ) (h0 : ∀ a, z a ≠ 0)
      (hinj : Function.Injective (fun a => z a ^ 2)) :
      (∏ a, ∏ b, (1 + z a / z b)) * weylChar lam (fun a => z a ^ 2) *
          (Matrix.of fun i j : Fin n => z i ^ (n - 1 - (j : ℕ))).det =
        2 ^ n * ∑ σ : Equiv.Perm (Fin n), ∑ T ∈ (prs n).powerset, ((Equiv.Perm.sign σ : ℤ) : ℂ) *
          mon (fun a => 2 * (lam (σ a) + dl n (σ a)) + score T a - ((n : ℤ) - 1)) z := …
  ```
- `GlobalTheory.CompanionTheory.CoefId.step_unique`: For nondecreasing levels and strictly decreasing L with L(a) − L(b) = b − a whenever the levels agree, matching the distinguished exponent forces the permutation to be the identity and the pair subset to be the distinguished one.

  ```lean
  theorem step_unique (lev : Fin n → ℕ) (hm : Monotone lev) (L : Fin n → ℤ) (hL : StrictAnti L)
      (hb : ∀ a b, lev a = lev b → L a - L b = ((b : ℕ) : ℤ) - ((a : ℕ) : ℤ)) (σ : Equiv.Perm (Fin n))
      (T : Finset (Fin n × Fin n)) (hT : T ⊆ prs n)
      (h : ∀ a, score T a = score (tZero lev) a + 2 * (L a - L (σ a))) : σ = 1 ∧ T = tZero lev := …
  ```
- `GlobalTheory.CompanionTheory.CoefId.main_coef`: In a finite dominant Weyl-character expansion of the indicated product, each harmonic weight belongs to the indexing set and has coefficient 2ⁿ.

  ```lean
  theorem main_coef {n : ℕ} (lam : Fin n → ℤ) (hl : Antitone lam) (F : Finset (Fin n → ℤ)) (hF : ∀ ν ∈ F, Antitone ν)
      (c : (Fin n → ℤ) → ℂ)
      (hc : ∀ z : Fin n → ℂ, (∀ a, ‖z a‖ = 1) → Function.Injective (fun a => z a ^ 2) →
        ∑ ν ∈ F, c ν * weylChar ν z = (∏ a, ∏ b, (1 + z a / z b)) * weylChar lam (fun a => z a ^ 2))
      (μ : Fin n → ℤ) (hμ : μ ∈ harmZ lam) : μ ∈ F ∧ c μ = 2 ^ n := …
  ```
- `GlobalTheory.CompanionTheory.CoefId.coef_harm`: Packages the coefficient theorem uniformly over the rank, the dominant weight, and the finite character expansion.

  ```lean
  theorem coef_harm : ∀ {n : ℕ} (lam : Fin n → ℤ), Antitone lam → ∀ (F : Finset (Fin n → ℤ)), (∀ ν ∈ F, Antitone ν) →
      ∀ c : (Fin n → ℤ) → ℂ, (∀ z : Fin n → ℂ, (∀ a, ‖z a‖ = 1) → Function.Injective (fun a => z a ^ 2) →
        ∑ ν ∈ F, c ν * weylChar ν z = (∏ a, ∏ b, (1 + z a / z b)) * weylChar lam (fun a => z a ^ 2)) →
      ∀ μ ∈ harmZ lam, μ ∈ F ∧ c μ = 2 ^ n := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightMemConeStatement

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

**Exposes a level-cone bound on a highest weight minus the diagonal precomposition eigenvalues of an evaluation functional.**

The statement forwards the imported highest-weight cone criterion. For a 𝔤𝔩ₙ(ℂ)-action and a nondecreasing level function, take a complex-linear functional ev satisfying ev(Kₐₐ v) = μₐ ev(v) for every a and v and annihilating the images of all off-diagonal generators within each level. If ev is nonzero on the cyclic submodule generated by a highest-weight vector of weight ν, then ν − μ lies in the level cone.

Key declarations:

- `GlobalTheory.T.highest_weight_mem_cone`: For a 𝔤𝔩ₙ(ℂ)-action with nondecreasing levels and a functional satisfying diagonal precomposition and same-level off-diagonal annihilation, nonzero evaluation on an algebra translate of a highest-weight vector of weight ν forces ν − μ into the level cone.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.highest_weight_mem_cone : ∀ (n : ℕ) (V : Type) [AddCommGroup V] [Module ℂ V] (K : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel K → ∀ lev : Fin n → ℕ, Monotone lev → ∀ (ev : V →ₗ[ℂ] ℂ) (μ ν : Fin n → ℝ) (x : V), Formalism.REAL.KHighest (fun _ => true) K ν x → (∀ a b v, lev a = lev b → a ≠ b → ev (K a b v) = 0) → (∀ a v, ev (K a a v) = (μ a : ℂ) * ev v) → (∃ T ∈ Algebra.adjoin ℂ {T : Module.End ℂ V | ∃ a b, T = K a b}, ev (T x) ≠ 0) → inCone lev (ν - μ) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionAtOneStatement

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

**Exposes the identity normalization of the induced model function.**

The statement forwards the imported identity evaluation lemma. For every integral weight tuple λ and every level function lev, the induced model function fRaw(λ, lev) takes the value 1 at the identity matrix.

Key declarations:

- `GlobalTheory.T.inducedFunction_at_one`: For every rank n and every pair (λ, lev), fRaw(λ, lev) evaluates to 1 at the identity matrix.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.inducedFunction_at_one : ∀ (n : ℕ) (lam : Fin n → ℤ) (lev : Fin n → ℕ), GlobalTheory.CompanionTheory.ModelS.fRaw lam lev 1 = 1 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionDerivativeAtOneStatement

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

**Exposes the identity values of two families of derivatives of the induced model function.**

The statement forwards the imported derivative formula for the smooth induced model with dominant integral weight λ and an admissible level function. For index pairs with lev(b) ≤ lev(a), both derivative families vanish at the identity off the diagonal, and their diagonal values are λₐ for the first family and yZ(λ, lev)ₐ for the second.

Key declarations:

- `GlobalTheory.T.inducedFunction_derivative_at_one`: For weakly decreasing λ constant on blocks of nondecreasing levels lev, and a smooth representative F whose underlying function is fRaw λ lev, the derivatives e1(DR, a, b) and f1(DR, a, b) of F evaluate at the identity to zero off the diagonal when lev(b) ≤ lev(a), and to λₐ and yZ(λ, lev)ₐ respectively on the diagonal.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.inducedFunction_derivative_at_one : ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev → ∀ F : GlobalTheory.CompanionTheory.ModelS.SmF n, F.1 = GlobalTheory.CompanionTheory.ModelS.fRaw lam lev → ∀ a b : Fin n, lev b ≤ lev a → (e1 GlobalTheory.CompanionTheory.ModelS.DR a b F).1 1 = (if a = b then (lam a : ℂ) else 0) ∧ (f1 GlobalTheory.CompanionTheory.ModelS.DR a b F).1 1 = (if a = b then (GlobalTheory.CompanionTheory.ModelS.yZ lam lev a : ℂ) else 0) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKFiniteStatement

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

**Exposes the infinitesimal K-finiteness of the smooth induced model function.**

The statement forwards the imported finiteness lemma for the induced model. For a dominant integral weight and an admissible level function, the smooth induced function lies in a finite-dimensional complex subspace stable under every infinitesimal operator Kf(a,b).

Key declarations:

- `GlobalTheory.T.inducedFunction_k_finite`: Under the dominance and level hypotheses, any smooth function with underlying formula fRaw(λ, lev) belongs to a finite-dimensional complex subspace preserved by all Kf(a,b).

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.inducedFunction_k_finite : ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev → ∀ F : GlobalTheory.CompanionTheory.ModelS.SmF n, F.1 = GlobalTheory.CompanionTheory.ModelS.fRaw lam lev → ∃ S : Submodule ℂ (GlobalTheory.CompanionTheory.ModelS.SmF n), FiniteDimensional ℂ S ∧ F ∈ S ∧ ∀ a b : Fin n, ∀ w ∈ S, GlobalTheory.CompanionTheory.ModelS.Kf a b w ∈ S := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKHighestWeightStatement

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

**Exposes the highest-weight equations for the smooth induced model function.**

The statement forwards the imported highest-weight lemma for the induced model. For dominant integral λ and nondecreasing lev with λ constant on its fibers, every raising operator annihilates any supplied smooth realization of fRaw(λ, lev), and the diagonal operators act on it with weight muZ(λ, lev).

Key declarations:

- `GlobalTheory.T.inducedFunction_k_highest_weight`: Under the dominance and level hypotheses, a smooth realization F of fRaw(λ, lev) satisfies Kf(a,b)F = 0 for a < b and Kf(a,a)F = muZ(λ, lev)ₐ F for every a.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.inducedFunction_k_highest_weight : ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev → ∀ F : GlobalTheory.CompanionTheory.ModelS.SmF n, F.1 = GlobalTheory.CompanionTheory.ModelS.fRaw lam lev → (∀ a b : Fin n, a < b → GlobalTheory.CompanionTheory.ModelS.Kf a b F = 0) ∧ ∀ a : Fin n, GlobalTheory.CompanionTheory.ModelS.Kf a a F = (GlobalTheory.CompanionTheory.ModelS.muZ lam lev a : ℂ) • F := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionParabolicEquivariantStatement

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

**Exposes the transformation law of the induced model function under left multiplication by the block parabolic.**

The statement forwards the imported multiplication formula for the induced model. For a dominant integral weight and a nondecreasing level function on whose fibers the weight is constant, left multiplication of an invertible matrix g by a block parabolic element p multiplies the value of the induced function at g by its value at p.

Key declarations:

- `GlobalTheory.T.inducedFunction_parabolic_equivariant`: Under the dominance and level hypotheses, the induced function f satisfies f(pg) = f(p)f(g) for every p in the associated block parabolic and every invertible g.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.inducedFunction_parabolic_equivariant : ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev → ∀ p ∈ GlobalTheory.CompanionTheory.ModelS.Pb lev, ∀ g ∈ GLs n, GlobalTheory.CompanionTheory.ModelS.fRaw lam lev (p * g) = GlobalTheory.CompanionTheory.ModelS.fRaw lam lev p * GlobalTheory.CompanionTheory.ModelS.fRaw lam lev g := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionSmoothStatement

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

**Exposes the smoothness theorem for the induced model function.**

The statement forwards the imported smoothness lemma. For every dominant integral weight λ and nondecreasing level function lev on whose fibers λ is constant, fRaw(λ, lev) is smooth on the invertible matrices and vanishes on singular matrices.

Key declarations:

- `GlobalTheory.T.inducedFunction_smooth`: For every rank n, fRaw(λ, lev) is a smooth model function whenever λ is weakly decreasing, lev is nondecreasing, and λ is constant on the fibers of lev.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.inducedFunction_smooth : ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev → GlobalTheory.CompanionTheory.ModelS.fRaw lam lev ∈ GlobalTheory.CompanionTheory.ModelS.SmF n := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntegralRightDerivativeEqZeroStatement

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

**Re-exports the vanishing of integrated right derivatives in skew-Hermitian directions on the unitary group.**

For a complex-valued function smooth over the reals on GL(n, ℂ) and a skew-Hermitian matrix X, the derivative of u(k exp(tX)) at t = 0 integrates to zero over U(n) against any finite right-invariant Borel measure, by direct application of the imported theorem integral_Rd_skew. RealModelExists uses this identity to establish skew-adjointness of the infinitesimal unitary action for its L² inner product.

Key declarations:

- `GlobalTheory.T.integral_right_derivative_eq_zero`: The right derivative in any skew-Hermitian direction of a complex-valued function smooth on GL(n, ℂ) has integral zero against every finite right-invariant Borel measure on U(n).

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.integral_right_derivative_eq_zero : ∀ (n : ℕ) [MeasurableSpace (Matrix.unitaryGroup (Fin n) ℂ)] [BorelSpace (Matrix.unitaryGroup (Fin n) ℂ)] (κ : Measure (Matrix.unitaryGroup (Fin n) ℂ)) [IsFiniteMeasure κ] [κ.IsMulRightInvariant] (u : Mat n → ℂ), ContDiffOn ℝ ∞ u (GLs n) → ∀ X : Mat n, Xᴴ = -X → ∫ k : Matrix.unitaryGroup (Fin n) ℂ, Rd X u k.1 ∂κ = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InvariantIntertwinesDual

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

**Proves that U(n)-equivariant maps from a dual representation intertwine the corresponding infinitesimal operators.**

Given operator families G and Kf realizing the derivatives of the dual and target U(n)-actions, every equivariant complex-linear map t from the continuous dual satisfies t(G_ab ξ) = Kf_ab(t ξ) for each pair of indices and each dual vector ξ. The proof differentiates equivariance along exp(sX) for skew-Hermitian X, then tests the resulting identity on skew-Hermitian combinations of matrix units to isolate each coefficient. The direct importer re-exports the identity as GlobalTheory.T.invariant_intertwines_dual.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCountG.Intertw.intertwines`: Under the derivative hypotheses on G and Kf, every U(n)-equivariant complex-linear map from the continuous dual to the complex inner-product target intertwines each G_ab with Kf_ab.

  ```lean
  theorem intertwines : ∀ {n : ℕ} (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (Kf : Fin n → Fin n → Module.End ℂ V), IsDerivK σ Kf →
      ∀ (E : KMod n) (G : Fin n → Fin n → Module.End ℂ (E.V →L[ℂ] ℂ)), IsDualFam E G →
      ∀ t ∈ invA σ E, ∀ a b ξ, t (G a b ξ) = Kf a b (t ξ) := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.Intertw.family_eq_zero`: A matrix-indexed family in a complex vector space is zero if its entrywise contraction with every skew-Hermitian matrix vanishes.

  ```lean
  theorem family_eq_zero {V : Type} [AddCommGroup V] [Module ℂ V] (F : Fin n → Fin n → V)
      (h : ∀ X : Matrix (Fin n) (Fin n) ℂ, Xᴴ = -X → ∑ a, ∑ b, X a b • F a b = 0) (a b : Fin n) : F a b = 0 := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.Intertw.exp_mem`: The exponential exp(sX) belongs to U(n) for every real s and every skew-Hermitian matrix X.

  ```lean
  theorem exp_mem (X : Matrix (Fin n) (Fin n) ℂ) (hX : Xᴴ = -X) (s : ℝ) :
      NormedSpace.exp ((s : ℂ) • X) ∈ Matrix.unitaryGroup (Fin n) ℂ := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IwasawaParabolicUnitaryStatement

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

**Re-exports the factorization of GL(n, ℂ) as a block lower parabolic times U(n).**

For any nondecreasing level map on the coordinate indices, the imported factorization theorem writes each g ∈ GL(n, ℂ) as pk, with k unitary and p invertible and block lower triangular for the blocks of equal level. RealModelExists uses this factorization and parabolic equivariance to show that a function in the cyclic model vanishes identically if its restriction to U(n) vanishes.

Key declarations:

- `GlobalTheory.T.iwasawa_parabolic_unitary`: For every nondecreasing level map ℓ and every g ∈ GL(n, ℂ), there exist an invertible p and a unitary k with g = pk and p_ab = 0 whenever ℓ(a) < ℓ(b).

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.iwasawa_parabolic_unitary : ∀ (n : ℕ) (lev : Fin n → ℕ), Monotone lev → ∀ g ∈ GLs n, ∃ p ∈ GlobalTheory.CompanionTheory.ModelS.Pb lev, ∃ k : Matrix.unitaryGroup (Fin n) ℂ, g = p * k.1 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.KActionSkewAdjointL2Statement

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

**Re-exports the index-transpose adjointness identity for the infinitesimal U(n)-operators under the L² pairing.**

If all skew-Hermitian right derivatives of ambient matrix functions smooth on the invertible locus integrate to zero against a finite Borel measure κ on U(n), the imported theorem shows that Kf_ab and Kf_ba are formal adjoints for the pairing obtained by integrating the product of the conjugate of the first function and the second over U(n). RealModelExists supplies the vanishing hypothesis by right invariance and uses the identity on its cyclic model.

Key declarations:

- `GlobalTheory.T.k_action_skew_adjoint_l2`: Under the integrated derivative vanishing hypothesis, ⟨Kf_ab x, y⟩κ = ⟨x, Kf_ba y⟩κ for all smooth model functions x and y.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.k_action_skew_adjoint_l2 : ∀ (n : ℕ) [MeasurableSpace (Matrix.unitaryGroup (Fin n) ℂ)] [BorelSpace (Matrix.unitaryGroup (Fin n) ℂ)] (κ : Measure (Matrix.unitaryGroup (Fin n) ℂ)) [IsFiniteMeasure κ], (∀ u : Mat n → ℂ, ContDiffOn ℝ ∞ u (GLs n) → ∀ X : Mat n, Xᴴ = -X → ∫ k : Matrix.unitaryGroup (Fin n) ℂ, Rd X u k.1 ∂κ = 0) → ∀ (a b : Fin n) (x y : GlobalTheory.CompanionTheory.ModelS.SmF n), GlobalTheory.CompanionTheory.ModelS.ipK κ (GlobalTheory.CompanionTheory.ModelS.Kf a b x) y = GlobalTheory.CompanionTheory.ModelS.ipK κ x (GlobalTheory.CompanionTheory.ModelS.Kf b a y) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.L2InnerProductHermitianFormStatement

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

**Re-exports the Hermitian form and vanishing criterion for the L² pairing obtained by restriction to U(n).**

For a finite Borel measure on U(n) that is positive on every nonempty open set, the pairing ⟨x, y⟩ = ∫ over U(n) of the conjugate of x times y is positive semidefinite and Hermitian, and ⟨x, x⟩ = 0 forces the smooth function x to vanish pointwise on U(n). RealModelExists combines this criterion with parabolic equivariance and factorization to obtain a positive-definite inner product on the cyclic model.

Key declarations:

- `GlobalTheory.T.l2_inner_product_hermitian_form`: For a finite Borel measure of full support on U(n), the L² pairing on smooth model functions is conjugate symmetric, conjugate linear in its first argument, and nonnegative on the diagonal, with zero diagonal value only for functions vanishing on U(n).

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.l2_inner_product_hermitian_form : ∀ (n : ℕ) [MeasurableSpace (Matrix.unitaryGroup (Fin n) ℂ)] [BorelSpace (Matrix.unitaryGroup (Fin n) ℂ)] (κ : Measure (Matrix.unitaryGroup (Fin n) ℂ)) [IsFiniteMeasure κ] [κ.IsOpenPosMeasure], (∀ x y : GlobalTheory.CompanionTheory.ModelS.SmF n, conj (GlobalTheory.CompanionTheory.ModelS.ipK κ y x) = GlobalTheory.CompanionTheory.ModelS.ipK κ x y) ∧ (∀ x : GlobalTheory.CompanionTheory.ModelS.SmF n, 0 ≤ (GlobalTheory.CompanionTheory.ModelS.ipK κ x x).re) ∧ (∀ x y z : GlobalTheory.CompanionTheory.ModelS.SmF n, GlobalTheory.CompanionTheory.ModelS.ipK κ (x + y) z = GlobalTheory.CompanionTheory.ModelS.ipK κ x z + GlobalTheory.CompanionTheory.ModelS.ipK κ y z) ∧ (∀ (c : ℂ) (x y : GlobalTheory.CompanionTheory.ModelS.SmF n), GlobalTheory.CompanionTheory.ModelS.ipK κ (c • x) y = conj c * GlobalTheory.CompanionTheory.ModelS.ipK κ x y) ∧ ∀ x : GlobalTheory.CompanionTheory.ModelS.SmF n, GlobalTheory.CompanionTheory.ModelS.ipK κ x x = 0 → ∀ k : Matrix.unitaryGroup (Fin n) ℂ, x.1 k.1 = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.LftMulRgt

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

**Defines commuting endomorphism and matrix actions on finite tuples and uses them to define a Dirac operator.**

On V-valued tuples indexed by a finite set, endomorphisms of V act coordinatewise and scalar matrices mix the coordinates. These two algebra actions commute by linearity, and the combined infinitesimal operator is the sum of the lifted action on V and the spin matrix action. The Dirac operator sums the products of the lifted P_ab and the matrix actions of c_ba. CliffordHighestWeightVector uses the commutation identity to expand the Dirac square in its highest-weight argument.

Key declarations:

- `GlobalTheory.CompanionTheory.DiracK.lft`: Lifts each complex-linear endomorphism of V to a coordinatewise endomorphism of V-valued tuples by an algebra homomorphism.

  ```lean
  def lft (ι : Type) [Fintype ι] [DecidableEq ι] : Module.End ℂ V →ₐ[ℂ] Module.End ℂ (ι → V)
  ```
- `GlobalTheory.CompanionTheory.DiracK.rgt`: Acts on V-valued tuples by ordinary complex matrix multiplication on the coordinate index.

  ```lean
  def rgt (V : Type) [AddCommGroup V] [Module ℂ V] : Matrix ι ι ℂ →ₐ[ℂ] Module.End ℂ (ι → V)
  ```
- `GlobalTheory.CompanionTheory.DiracK.lft_mul_rgt`: Every coordinatewise endomorphism commutes with every scalar matrix action.

  ```lean
  theorem lft_mul_rgt (T : Module.End ℂ V) (M : Matrix ι ι ℂ) : lft ι T * rgt V M = rgt V M * lft ι T := …
  ```
- `GlobalTheory.CompanionTheory.DiracK.yF_eq`: The combined operator yF_ab is the sum of the coordinatewise action of Kf_ab and the matrix action of spinM(c)_ab.

  ```lean
  theorem yF_eq (Kf : Fin n → Fin n → Module.End ℂ V) (c : Fin n → Fin n → Matrix ι ι ℂ) (a b : Fin n) :
      yF Kf c a b = lft ι (Kf a b) + rgt V (spinM c a b) := …
  ```
- `GlobalTheory.CompanionTheory.DiracK.dirac`: Defines the Dirac operator as the sum over a and b of the compositions of the coordinatewise P_ab action with the matrix action of c_ba.

  ```lean
  def dirac (P : Fin n → Fin n → Module.End ℂ V) (c : Fin n → Fin n → Matrix ι ι ℂ) : Module.End ℂ (ι → V) :=
    ∑ a, ∑ b, lft ι (P a b) * rgt V (c b a)
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.OrderedCechToCatCochainsOneApplyValueAtSubset

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

**Defines a smooth matrix-function model, its right derivatives, and the data for a cyclic representation.**

The model consists of smooth functions on GL(n, ℂ) extended by zero to singular matrices, with right derivatives acting by the same extension. It specifies left equivariance under block lower triangular matrices, a function built from powers of leading principal minors and row Gram determinants, and cyclic subspaces generated by two families of Lie algebra operators. RealModelExists uses the weighted determinant product fRaw as its generator F for cyc F, equips the cyclic model with the pairing obtained by integration over U(n), and uses evaluation at the identity.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.SmF`: Defines the complex vector space of functions on complex matrices that are smooth over the reals on GL(n, ℂ) and zero on singular matrices.

  ```lean
  def SmF (n : ℕ) : Submodule ℂ (Mat n → ℂ) where
    carrier := {h | ContDiffOn ℝ ∞ h (GLs n) ∧ ∀ g, g ∉ GLs n → h g = 0}
    add_mem' {a b} ha hb := ⟨ha.1.add hb.1, fun g hg => by simp [ha.2 g hg, hb.2 g hg]⟩
    zero_mem' := ⟨contDiffOn_const, fun _ _ => rfl⟩
    smul_mem' c a ha := ⟨contDiffOn_const.smul ha.1, fun g hg => by simp [ha.2 g hg]⟩
  ```
- `GlobalTheory.CompanionTheory.ModelS.DR`: For a matrix X, defines the complex-linear operator that differentiates in direction gX at each invertible g and gives zero on singular matrices.

  ```lean
  def DR (X : Mat n) : Module.End ℂ (SmF n)
  ```
- `GlobalTheory.CompanionTheory.ModelS.Eqv`: Defines the subspace satisfying h(pg) = φ(p)h(g) for p in the prescribed block lower parabolic and g invertible.

  ```lean
  def Eqv (lev : Fin n → ℕ) (φ : Mat n → ℂ) : Submodule ℂ (SmF n) where
    carrier := {h | ∀ p ∈ Pb lev, ∀ g ∈ GLs n, h.1 (p * g) = φ p * h.1 g}
    add_mem' {a b} ha hb p hp g hg := by
      simp only [Submodule.coe_add, Pi.add_apply, ha p hp g hg, hb p hp g hg, mul_add]
    zero_mem' p _ g _ := by simp
    smul_mem' c a ha p hp g hg := by
      simp only [Submodule.coe_smul, Pi.smul_apply, ha p hp g hg, smul_eq_mul]
      ring
  ```
- `GlobalTheory.CompanionTheory.ModelS.fRaw`: Defines on GL(n, ℂ) the product of integer powers of leading principal minors and Gram determinants of initial rows, using successive differences of muZ and yZ respectively after appending a zero to each weight tuple, and extends the product by zero to singular matrices.

  ```lean
  def fRaw (lam : Fin n → ℤ) (lev : Fin n → ℕ) : Mat n → ℂ :=
    (GLs n).indicator fun g => ∏ j, lm j g ^ dif (muZ lam lev) j * gm j g ^ dif (yZ lam lev) j
  ```
- `GlobalTheory.CompanionTheory.ModelS.cyc`: Defines the cyclic subspace as the orbit of a smooth model function under the unital algebra generated by the two families of Lie algebra operators.

  ```lean
  def cyc (f : SmF n) : Submodule ℂ (SmF n) :=
    (Algebra.adjoin ℂ {T : Module.End ℂ (SmF n) | ∃ a b, T = e1 DR a b ∨ T = e2 DR a b}).toSubmodule.map
      (LinearMap.applyₗ f)
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.PartialFractionDiagonalIdentityStatement

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

**Re-exports the vanishing of a partial-fraction expansion at each numerator root.**

For jointly distinct real lists d and d′ of lengths m+1 and m, the imported identity evaluates the partial-fraction expansion of ∏ᵢ(t − dᵢ)/∏ⱼ(t − d′ⱼ) at t = dᵢ, where it vanishes. The off-diagonal identity follows by subtracting two such evaluations, the squared-denominator identity uses the vanishing when differentiating, and the interlacing construction uses it to verify an eigenvector equation.

Key declarations:

- `GlobalTheory.T.partial_fraction_diagonal_identity`: For jointly distinct real lists d and d′ of lengths m+1 and m, the identity dᵢ − (∑ d − ∑ d′) + ∑ⱼ Rⱼ/(dᵢ − d′ⱼ) = 0 holds for every i.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.partial_fraction_diagonal_identity : ∀ {m : ℕ} (d : Fin (m + 1) → ℝ) (d' : Fin m → ℝ), Function.Injective (Sum.elim d d') → ∀ i, d i - pfX d d' + ∑ j, pfR d d' j / (d i - d' j) = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeLowerBlockAtOneStatement

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

**Re-exports the right-derivative formula at the identity in lower parabolic directions.**

For smooth functions f and h that are left equivariant under the level parabolic with multiplier f restricted to that parabolic, and with f(𝟙) = 1, the imported theorem gives D_X h(𝟙) = D_X f(𝟙) · h(𝟙) whenever X_ab = 0 for ℓ(a) < ℓ(b). The proof differentiates equivariance along 𝟙 + tX. RealModelExists applies the formula to a matrix unit with ℓ(b) ≤ ℓ(a) and its imaginary multiple to obtain evaluation identities for two Lie algebra generators.

Key declarations:

- `GlobalTheory.T.right_derivative_lower_block_at_one`: Under the shared equivariance and normalization hypotheses, the right derivative of h at the identity equals the right derivative of f there times h(𝟙) whenever X_ab = 0 for ℓ(a) < ℓ(b).

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.right_derivative_lower_block_at_one : ∀ (n : ℕ) (lev : Fin n → ℕ) (f h : GlobalTheory.CompanionTheory.ModelS.SmF n), f ∈ GlobalTheory.CompanionTheory.ModelS.Eqv lev f.1 → f.1 1 = 1 → h ∈ GlobalTheory.CompanionTheory.ModelS.Eqv lev f.1 → ∀ X : Mat n, (∀ a b, lev a < lev b → X a b = 0) → (GlobalTheory.CompanionTheory.ModelS.DR X h).1 1 = (GlobalTheory.CompanionTheory.ModelS.DR X f).1 1 * h.1 1 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativePreservesEquivariantStatement

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

**Re-exports the preservation of left parabolic equivariance under right differentiation.**

The imported theorem differentiates h(pg) = φ(p)h(g) for fixed p in the prescribed block parabolic, using the chain rule and p(gX) = (pg)X to give the same transformation law for the right derivative D_Xh. RealModelExists uses this result to show that the first raising and lowering operators preserve the equivariant subspace.

Key declarations:

- `GlobalTheory.T.right_derivative_preserves_equivariant`: For any matrix direction X, the right derivative of a smooth model function with left parabolic multiplier φ has the same multiplier.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.right_derivative_preserves_equivariant : ∀ (n : ℕ) (lev : Fin n → ℕ) (φ : Mat n → ℂ) (X : Mat n) (h : GlobalTheory.CompanionTheory.ModelS.SmF n), h ∈ GlobalTheory.CompanionTheory.ModelS.Eqv lev φ → GlobalTheory.CompanionTheory.ModelS.DR X h ∈ GlobalTheory.CompanionTheory.ModelS.Eqv lev φ := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.RightDerivativeRealLieHomStatement

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

**Re-exports the real Lie algebra homomorphism property of right differentiation on smooth matrix functions.**

The imported theorem uses the commutator identity for right derivatives on GL(n, ℂ) to show that X ↦ D_X is a real Lie algebra representation on smooth functions extended by zero to singular matrices. RealModelExists uses real linearity and bracket preservation to obtain two commuting families of generators, each satisfying the general linear Lie algebra relations.

Key declarations:

- `GlobalTheory.T.right_derivative_real_lie_hom`: The assignment X ↦ D_X is additive, homogeneous over ℝ, and satisfies D_[X,Y] = D_X D_Y − D_Y D_X for the matrix commutator [X,Y] = XY − YX.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.right_derivative_real_lie_hom : ∀ (n : ℕ), (∀ X Y : Mat n, GlobalTheory.CompanionTheory.ModelS.DR (X + Y) = GlobalTheory.CompanionTheory.ModelS.DR X + GlobalTheory.CompanionTheory.ModelS.DR Y) ∧ (∀ (r : ℝ) (X : Mat n), GlobalTheory.CompanionTheory.ModelS.DR ((r : ℂ) • X) = (r : ℂ) • GlobalTheory.CompanionTheory.ModelS.DR X) ∧ (∀ X Y : Mat n, GlobalTheory.CompanionTheory.ModelS.DR (X * Y - Y * X) = GlobalTheory.CompanionTheory.ModelS.DR X * GlobalTheory.CompanionTheory.ModelS.DR Y - GlobalTheory.CompanionTheory.ModelS.DR Y * GlobalTheory.CompanionTheory.ModelS.DR X) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.SumMemOfStable

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

**Proves infinitesimal stability and weight-space identities for the passage from U(n) to its Lie algebra.**

For operators differentiating the U(n)-action (IsDerivK), differentiation along exp(sX) for skew-Hermitian X shows that the operator for X preserves finite-dimensional U(n)-stable subspaces. Each matrix unit is a complex linear combination of skew-Hermitian matrices, giving stability under each generator. Differentiating a torus character identifies its weight with the diagonal eigenvalues. The general linear commutator relations give off-diagonal weight shifts and independence of joint generalized eigenspaces. With IsPair and IsDerivK, FiniteWeightsInvariantHom finds a nonzero highest-weight vector in the image of a nonzero equivariant map from a dual spanned by its torus weight spaces.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCount.InjHw.sum_mem_of_stable`: For operators differentiating the U(n)-action in the sense of IsDerivK, the infinitesimal operator with coefficients given by a skew-Hermitian matrix preserves every finite-dimensional U(n)-stable complex subspace.

  ```lean
  theorem sum_mem_of_stable (h : IsDerivK σ Kf) (R : Submodule ℂ V) [FiniteDimensional ℂ R]
      (hR : ∀ k, ∀ w ∈ R, σ k w ∈ R) (X : Matrix (Fin n) (Fin n) ℂ) (hX : Xᴴ = -X) {w : V} (hw : w ∈ R) :
      ∑ a, ∑ b, X a b • Kf a b w ∈ R := …
  ```
- `GlobalTheory.CompanionTheory.RealCount.InjHw.entry_mem`: For operators differentiating the U(n)-action in the sense of IsDerivK, each infinitesimal matrix-unit operator preserves every finite-dimensional U(n)-stable complex subspace.

  ```lean
  theorem entry_mem (h : IsDerivK σ Kf) (R : Submodule ℂ V) [FiniteDimensional ℂ R]
      (hR : ∀ k, ∀ w ∈ R, σ k w ∈ R) (a b : Fin n) {w : V} (hw : w ∈ R) : Kf a b w ∈ R := …
  ```
- `GlobalTheory.CompanionTheory.RealCount.InjHw.weight_of_torus`: For operators differentiating the U(n)-action in the sense of IsDerivK, the a-th diagonal operator acts by μₐ on vectors transforming under the diagonal torus by the character of integral weight μ.

  ```lean
  theorem weight_of_torus (h : IsDerivK σ Kf) (μ : Fin n → ℤ) {v : V}
      (hv : ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → σ k v = (∏ a, z a ^ μ a) • v)
      (a : Fin n) : Kf a a v = ((μ a : ℝ) : ℂ) • v := …
  ```
- `GlobalTheory.CompanionTheory.RealCount.InjHw.weight_shift`: Under the general linear commutator relations, the off-diagonal operator K_ab carries a diagonal weight vector of weight μ into the weight space of μ + eₐ − eᵦ.

  ```lean
  theorem weight_shift {K : Fin n → Fin n → Module.End ℂ V} (hg : Formalism.REAL.GlRel K) (μ : Fin n → ℤ) {v : V}
      (hv : ∀ c, K c c v = ((μ c : ℝ) : ℂ) • v) {a b : Fin n} (hab : a ≠ b) (c : Fin n) :
      K c c (K a b v) =
        (((μ c + (if c = a then 1 else 0) - (if c = b then 1 else 0) : ℤ) : ℝ) : ℂ) • K a b v := …
  ```
- `GlobalTheory.CompanionTheory.RealCount.InjHw.jt_indep`: For operators satisfying the general linear commutator relations, the joint generalized eigenspaces of the diagonal operators form an independent family.

  ```lean
  theorem jt_indep {K : Fin n → Fin n → Module.End ℂ V} (hg : Formalism.REAL.GlRel K) : iSupIndep (jt K) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TraceFactorTensorDecomp

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

**Proves a trace formula for operators acting by precomposition and postcomposition on each Hom block.**

For a finite-dimensional complex space identified with a finite product of Hom(Wᵢ, Hᵢ) blocks, with each Wᵢ nonzero and finite-dimensional, the theorem deduces that every Hᵢ is finite-dimensional. If F acts on block i by f ↦ aᵢ ∘ f ∘ bᵢ, its trace is Σᵢ tr(bᵢ) tr(aᵢ). The proof conjugates F to block-diagonal form, sums the block traces, and applies the trace formula for precomposition and postcomposition to each block. The direct importer re-exports the result as GlobalTheory.T.trace_factor_tensor_decomp.

Key declarations:

- `GlobalTheory.CompanionTheory.HomTrace.trace_pi_blocks`: The trace of a coordinatewise endomorphism of a finite product of finite-dimensional complex spaces is the sum of its coordinate traces.

  ```lean
  theorem trace_pi_blocks {ι : Type} [Fintype ι] [DecidableEq ι] (P : ι → Type)
      [∀ i, AddCommGroup (P i)] [∀ i, Module ℂ (P i)] [∀ i, FiniteDimensional ℂ (P i)]
      (S : ∀ i, P i →ₗ[ℂ] P i) :
      LinearMap.trace ℂ (∀ i, P i) (LinearMap.pi fun i => S i ∘ₗ LinearMap.proj i) =
        ∑ i, LinearMap.trace ℂ (P i) (S i) := …
  ```
- `GlobalTheory.CompanionTheory.HomTrace.trace_of_block_sandwich`: If an operator acts by precomposition and postcomposition on every block of a finite-dimensional complex space decomposed into finitely many Hom blocks with nonzero finite-dimensional sources, the targets are finite-dimensional and the operator’s trace is the sum over blocks of the products of the two composing endomorphism traces.

  ```lean
  theorem trace_of_block_sandwich : ∀ (ι : Type) [Fintype ι] [DecidableEq ι] (I : Type) (W H : ι → Type) [AddCommGroup I] [Module ℂ I] [∀ i, AddCommGroup (W i)] [∀ i, Module ℂ (W i)] [∀ i, AddCommGroup (H i)] [∀ i, Module ℂ (H i)] [FiniteDimensional ℂ I] [∀ i, FiniteDimensional ℂ (W i)] [∀ i, Nontrivial (W i)] (R : I ≃ₗ[ℂ] ∀ i, W i →ₗ[ℂ] H i) (F : I →ₗ[ℂ] I) (a : ∀ i, H i →ₗ[ℂ] H i) (b : ∀ i, W i →ₗ[ℂ] W i), (∀ x i, R (F x) i = a i ∘ₗ R x i ∘ₗ b i) → (∀ i, FiniteDimensional ℂ (H i)) ∧ LinearMap.trace ℂ I F = ∑ i, LinearMap.trace ℂ (W i) (b i) * LinearMap.trace ℂ (H i) (a i) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.TwistedTraceWeylCharacter

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

**Proves a Weyl-character formula for the twisted trace on the dual of a finite-dimensional U(n)-module.**

Assume T satisfies the Lefschetz trace hypothesis for λ and k is diagonal unitary with entries zₐ whose squares are pairwise distinct. The trace of precomposition by ρ(k⁻¹)T on the dual is ∏ₐ,ᵦ(1 + zₐ/zᵦ) times the Weyl character at the squared entries. The proof uses trace invariance under transposition, identifies inverse unitary entries with their complex conjugates, and passes conjugation through the determinant quotient defining the character. The direct importer re-exports the formula as GlobalTheory.T.twisted_trace_weyl_character.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCountG.LefDual.trace_dualT_inv`: Under the Lefschetz hypothesis and the distinct-squares condition, the trace of precomposition by ρ(k⁻¹)T equals the product factor times the Weyl character at the squared diagonal entries of k.

  ```lean
  theorem trace_dualT_inv (lam : Fin n → ℤ) (E : KMod n) (T : E.V →L[ℂ] E.V) (hT : IsLefK lam E T)
      (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ) (hk : k.1 = diagonal z)
      (hinj : Function.Injective (fun a => z a ^ 2)) :
      LinearMap.trace ℂ (E.V →L[ℂ] ℂ) (dualT E (E.ρ k⁻¹ * T) : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) =
        (∏ a, ∏ b, (1 + z a / z b)) * weylChar lam (fun a => z a ^ 2) := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.LefDual.trace_dualT`: Precomposition by an endomorphism on the continuous dual has the same trace as the original endomorphism.

  ```lean
  theorem trace_dualT (E : KMod n) (S : E.V →L[ℂ] E.V) :
      LinearMap.trace ℂ (E.V →L[ℂ] ℂ) (dualT E S : (E.V →L[ℂ] ℂ) →ₗ[ℂ] (E.V →L[ℂ] ℂ)) =
        LinearMap.trace ℂ E.V (S : E.V →ₗ[ℂ] E.V) := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.LefDual.weylChar_conj_arg`: Conjugating every argument of the Weyl character conjugates its value.

  ```lean
  theorem weylChar_conj_arg (lam : Fin n → ℤ) (u : Fin n → ℂ) :
      weylChar lam (fun a => conj (u a)) = conj (weylChar lam u) := …
  ```
- `GlobalTheory.CompanionTheory.RealCountG.LefDual.conj_eq_inv`: Each diagonal entry of a diagonal unitary matrix is nonzero and has complex conjugate equal to its inverse.

  ```lean
  theorem conj_eq_inv (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ) (hk : k.1 = diagonal z) (a : Fin n) :
      z a ≠ 0 ∧ conj (z a) = (z a)⁻¹ := …
  ```

### Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.NoSecondTypeWeight

12 import steps from Main · 39 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.WeilBound.RepresentationTheoryGL.ArchimedeanBaseChange.ArchimedeanBaseChangeProof.RealDescent.RealLeviDescent.NoSecondTypeWeight)

**Defines second-type weights, admissibility, and the multiplicity-one statement for a cyclic module at a block harmonic weight.**

A second-type weight is obtained by subtracting a nonempty sum of distinct roots from earlier to later blocks from the ρ-shifted harmonic weight, sorting into strictly decreasing order, and undoing the shift. Admissibility requires vanishing of all such highest-weight spaces along with the prescribed infinitesimal characters and a locally finite diagonal action. The multiplicity statement concerns vectors of the block harmonic highest weight reached from a nonzero highest-weight vector of that same weight. ConeWeightsNotSecondType uses these definitions to formulate cone exclusion and a cone bound on highest weights in the cyclic span.

Key declarations:

- `PositivityTheory.RgBcC.RealD.wtB`: Assigns to a set of pairs B the root sum ∑_{(a,b)∈B}(eₐ − eᵦ).

  ```lean
  def wtB (B : Finset (Fin n × Fin n)) : Fin n → ℝ := fun c =>
    ((B.filter fun p => p.1 = c).card : ℝ) - ((B.filter fun p => p.2 = c).card : ℝ)
  ```
- `PositivityTheory.RgBcC.RealD.IsSecondTypeWeight`: Characterizes ν by requiring ν + ρ to be a strictly decreasing permutation of the shifted block harmonic weight minus a sum of distinct roots from a nonempty set of earlier-to-later block pairs.

  ```lean
  def IsSecondTypeWeight (lam : Fin n → ℤ) (lev : Fin n → ℕ) (ν : Fin n → ℝ) : Prop :=
    ∃ B : Finset (Fin n × Fin n), B.Nonempty ∧ (∀ p ∈ B, lev p.1 < lev p.2) ∧ StrictAnti (ν + rhoV n) ∧
      ∃ w : Equiv.Perm (Fin n), ν + rhoV n = (muQ lam lev + rhoV n - wtB B) ∘ w
  ```
- `PositivityTheory.RgBcC.RealD.AdmFor`: Specifies two commuting Lie algebra actions E1 and E2, prescribed infinitesimal characters for E1 and the negative transpose of E2, diagonal adjointness and local finiteness, and vanishing of the second-type highest-weight spaces.

  ```lean
  structure AdmFor {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V] (lam : Fin n → ℤ) (lev : Fin n → ℕ)
      (E1 E2 : Fin n → Fin n → Module.End ℂ V) : Prop where
    gl1 : GlRel E1
    gl2 : GlRel E2
    comm : ∀ a b c d, E1 a b * E2 c d = E2 c d * E1 a b
    unitK : ∀ a b (x y : V), ⟪kF E1 E2 a b x, y⟫_ℂ = ⟪x, kF E1 E2 b a y⟫_ℂ
    locFin : ∀ x : V, ∃ S : Submodule ℂ V, FiniteDimensional ℂ S ∧ x ∈ S ∧ ∀ a b, ∀ w ∈ S, kF E1 E2 a b w ∈ S
    ch1 : ∀ m (x : V), gelA E1 m x = GlobalTheory.Dec.gelfVal (infOf lam true) m • x
    ch2 : ∀ m (x : V), gelA (barF E2) m x = GlobalTheory.Dec.gelfVal (infOf lam false) m • x
    no_second_type_weight : ∀ ν, IsSecondTypeWeight lam lev ν → hwSp E1 E2 ν = ⊥
  ```
- `PositivityTheory.RgBcC.RealD.MultFor`: States that in an admissible module, every vector of the block harmonic highest weight in the cyclic submodule generated by a nonzero highest-weight vector of that same weight is a scalar multiple of the generator.

  ```lean
  def MultFor : Prop :=
    ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev →
      ∀ (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (E1 E2 : Fin n → Fin n → Module.End ℂ V),
        AdmFor lam lev E1 E2 → ∀ v w : V, v ∈ hwSp E1 E2 (muQ lam lev) → w ∈ hwSp E1 E2 (muQ lam lev) → v ≠ 0 →
          (∃ x ∈ alg E1 E2, x v = w) → ∃ c : ℂ, w = c • v
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CPoly

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

**Defines the Laurent-polynomial ingredients for weight-space trace identities and Weyl alternants.**

The group algebra of the integral weight lattice is realized as a Laurent-polynomial algebra, with evaluation sending each weight monomial to the corresponding product of powers of nonzero coordinates. The definitions give a signed permutation sum, the staircase exponent (n−1, …, 0), the product ∏ₐ,ᵦ(1 + xₐ/xᵦ), an exponent-doubling map, and a polynomial assembled from finitely many weight coefficients. WeightPolynomialTraceIdentity uses these definitions to express ordinary and twisted traces on dual weight spaces through Weyl alternants.

Key declarations:

- `GlobalTheory.CompanionTheory.RealCount.Tope.cPoly`: Forms the Laurent polynomial Σ_{μ∈s} c(μ)x^μ from coefficients indexed by a finite set of integral weights.

  ```lean
  def cPoly (s : Finset (Fin n → ℤ)) (c : (Fin n → ℤ) → ℂ) : LP n :=
    ∑ μ ∈ s, AddMonoidAlgebra.single μ (c μ)
  ```
- `GlobalTheory.CompanionTheory.RealCount.Tope.evL`: Evaluates weight monomials at a tuple of nonzero complex numbers and extends this evaluation as an algebra homomorphism.

  ```lean
  def evL (z : Fin n → ℂˣ) : LP n →ₐ[ℂ] ℂ := AddMonoidAlgebra.lift ℂ ℂ (Fin n → ℤ) (chr z)
  ```
- `GlobalTheory.CompanionTheory.RealCount.Tope.altL`: Forms the alternant by summing the monomials with permuted exponent vectors, weighted by the signs of the permutations.

  ```lean
  def altL (m : Fin n → ℤ) : LP n :=
    ∑ σ : Equiv.Perm (Fin n), ((Equiv.Perm.sign σ : ℤ) : ℂ) • AddMonoidAlgebra.single (fun i => m (σ i)) (1 : ℂ)
  ```
- `GlobalTheory.CompanionTheory.RealCount.Tope.pPL`: Defines the Laurent product ∏ₐ,ᵦ(1 + xₐ/xᵦ) over all ordered pairs of coordinate indices.

  ```lean
  def pPL (n : ℕ) : LP n :=
    ∏ a : Fin n, ∏ b : Fin n, (1 + AddMonoidAlgebra.single (Pi.single a 1 - Pi.single b 1 : Fin n → ℤ) (1 : ℂ))
  ```
- `GlobalTheory.CompanionTheory.RealCount.Tope.frL`: Defines the algebra endomorphism that doubles each exponent vector, equivalently substituting xₐ² for every variable xₐ.

  ```lean
  def frL (n : ℕ) : LP n →ₐ[ℂ] LP n :=
    AddMonoidAlgebra.mapDomainAlgHom ℂ ℂ (2 • AddMonoidHom.id (Fin n → ℤ))
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.CenterActsByScalarOnCyclic

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

**Proves that scalar action detected by a linear functional extends to a commuting endomorphism.**

Assume each vector lies in a finite-dimensional subspace stable under the sums of the two generator families, and the kernel of ev contains no nonzero such subspace. If z commutes with both families and ev ∘ z = c ev, then z = c Id. The proof takes the cyclic span of (z − c Id)x under the summed generators and uses commutation to put that span in the kernel of ev. The direct importer re-exports the criterion as GlobalTheory.T.center_acts_by_scalar_on_cyclic.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.eq_smul_of_commute_of_ev`: An endomorphism z commuting with both generator families acts by c if ev ∘ z = c ev, every vector lies in a finite-dimensional subspace stable under the summed generators, and ev vanishes identically on such a subspace only when it is zero.

  ```lean
  theorem eq_smul_of_commute_of_ev : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V] (F1 F2 : Fin n → Fin n → Module.End ℂ V), (∀ x : V, ∃ S : Submodule ℂ V, FiniteDimensional ℂ S ∧ x ∈ S ∧ ∀ a b, ∀ w ∈ S, kF F1 F2 a b w ∈ S) → ∀ (z : Module.End ℂ V), (∀ a b, z * F1 a b = F1 a b * z ∧ z * F2 a b = F2 a b * z) → ∀ (ev : V →ₗ[ℂ] ℂ) (c : ℂ), (∀ v, ev (z v) = c * ev v) → (∀ S : Submodule ℂ V, FiniteDimensional ℂ S → (∀ a b, ∀ w ∈ S, kF F1 F2 a b w ∈ S) → (∀ w ∈ S, ev w = 0) → ∀ w ∈ S, w = 0) → ∀ x : V, z x = c • x := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DerivativeUnitaryActionStatement

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

**Re-exports a criterion for integrating infinitesimal intertwining to U(n)-equivariance.**

A linear map from a finite-dimensional source that intertwines the infinitesimal generators is U(n)-equivariant under the derivative hypotheses, with a unitary target action and the target adjointness relation K_ab* = K_ba. The imported proof shows that a mixed inner product is constant along each skew-Hermitian exponential path, and both direct importers use the criterion to turn infinitesimal intertwiners into group intertwiners.

Key declarations:

- `GlobalTheory.T.derivative_unitary_action`: For source and target actions with the stipulated derivatives, a linear map T from the finite-dimensional source satisfying T G_ab = K_ab T intertwines the full U(n)-actions when the target action is unitary and its generators satisfy the transpose adjointness relation.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.derivative_unitary_action : ∀ {n : ℕ} (H V : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] [NormedAddCommGroup V] [InnerProductSpace ℂ V] (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)) (G : Fin n → Fin n → Module.End ℂ H), (∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X → (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H, HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) → ∀ (σ : Matrix.unitaryGroup (Fin n) ℂ →* (V →ₗ[ℂ] V)) (Kf : Fin n → Fin n → Module.End ℂ V), IsDerivK σ Kf → (∀ a b (x y : V), ⟪Kf a b x, y⟫_ℂ = ⟪x, Kf b a y⟫_ℂ) → ∀ T : H →ₗ[ℂ] V, (∀ a b w, T (G a b w) = Kf a b (T w)) → ∀ k w, T (ρ k w) = σ k (T w) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DominanceOfWeylCharacterCoeffStatement

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

**Re-exports a dominance bound on the support of a Laurent polynomial satisfying a Weyl alternant identity.**

For nonincreasing λ, if multiplying p by the squared staircase alternant gives the product of ∏ₐ,ᵦ(1 + xₐ/xᵦ) and the squared alternant at λ plus the staircase, every exponent μ with nonzero coefficient is dominated by mₐ = 2λₐ + n − 1 − 2a, with a starting at zero. DualWeightsDominated applies the bound to a polynomial whose coefficients are the dimensions of the dual weight spaces.

Key declarations:

- `GlobalTheory.T.dominance_of_weyl_character_coeff`: Under the Weyl alternant identity for nonincreasing λ, every exponent in the support of p has initial coordinate sums bounded by those of m and has the same total sum as m.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.dominance_of_weyl_character_coeff : ∀ {n : ℕ} (lam : Fin n → ℤ), Antitone lam → ∀ p : LP n, p * altL (delZ n) ^ 2 = pPL n * altL (lam + delZ n) ^ 2 →
      ∀ μ, p.coeff μ ≠ 0 → DomLE (wtR μ) (m0 lam) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.DualWeightSpacesSpanStatement

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

**Re-exports the spanning of the dual of a finite-dimensional unitary U(n)-module by its integral torus weight spaces.**

The imported proof simultaneously diagonalizes the torus action, identifies its characters with integral weights, and uses the conjugate-linear Riesz map to send each weight to its negative on the dual. DualWeightsDominated uses the spanning result in the weight-polynomial trace identity that yields its dominance bound.

Key declarations:

- `GlobalTheory.T.dual_weight_spaces_span`: The weight spaces for the contragredient action of the diagonal torus, indexed by integral weight vectors, span the entire dual.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.dual_weight_spaces_span : ∀ {n : ℕ} (E : KMod n), (⨆ μ, wtDual E μ) = ⊤ := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.EqZeroOnUnitaryOfVanishAtOne

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

**Proves that vanishing at the identity on a finite-dimensional space stable under the compact generators forces vanishing on U(n).**

The proof expresses right differentiation in a skew-Hermitian direction X as an entrywise linear combination of the compact generators. Evaluating a basis of the stable space along exp(tX) gives a homogeneous linear ODE with zero initial data, so every basis function vanishes along the curve. Every unitary matrix is such an exponential, giving the vanishing criterion re-exported as GlobalTheory.T.eq_zero_on_unitary_of_vanish_at_one.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.Sep.main`: If a finite-dimensional space of smooth model functions is stable under every compact generator and evaluation at the identity vanishes on it, every function in the space vanishes on U(n).

  ```lean
  theorem main : ∀ (n : ℕ) (S : Submodule ℂ (GlobalTheory.CompanionTheory.ModelS.SmF n)), FiniteDimensional ℂ S →
      (∀ a b : Fin n, ∀ w ∈ S, GlobalTheory.CompanionTheory.ModelS.Kf a b w ∈ S) → (∀ w ∈ S, w.1 1 = 0) →
      ∀ w ∈ S, ∀ k : Matrix.unitaryGroup (Fin n) ℂ, w.1 k.1 = 0 := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.Sep.AX_apply`: For skew-Hermitian X, the combination of compact generators with coefficients X_ab agrees with right differentiation in direction X at every invertible matrix.

  ```lean
  theorem AX_apply (X : Mat n) (hX : Xᴴ = -X) (w : GlobalTheory.CompanionTheory.ModelS.SmF n) {g : Mat n} (hg : g ∈ GLs n) :
      (AX X w).1 g = Rd X w.1 g := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.Sep.ode_zero`: A solution of f′ = Bf for a continuous real-linear operator B is identically zero when f(0) = 0.

  ```lean
  theorem ode_zero {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (B : E →L[ℝ] E) (f : ℝ → E)
      (h : ∀ t, HasDerivAt f (B (f t)) t) (h0 : f 0 = 0) (t : ℝ) : f t = 0 := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.Sep.vanish_curve`: Under stability and vanishing at the identity, every function in the finite-dimensional space vanishes along every skew-Hermitian exponential curve.

  ```lean
  theorem vanish_curve (S : Submodule ℂ (GlobalTheory.CompanionTheory.ModelS.SmF n)) (fd : FiniteDimensional ℂ S)
      (hS : ∀ a b : Fin n, ∀ w ∈ S, GlobalTheory.CompanionTheory.ModelS.Kf a b w ∈ S) (h1 : ∀ w ∈ S, w.1 1 = 0)
      (X : Mat n) (hX : Xᴴ = -X) (t : ℝ) (w : GlobalTheory.CompanionTheory.ModelS.SmF n) (hw : w ∈ S) :
      w.1 (NormedSpace.exp ((t : ℂ) • X)) = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsCompactLieActionStatement

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

**Re-exports the infinitesimal action theorem for continuous unitary representations of U(n).**

The theorem directly invokes the imported differentiation theorem. For a continuous unitary representation ρ on a finite-dimensional complex inner product space, it gives complex-linear operators G_ab satisfying the matrix-unit commutator relations of gl_n(ℂ) and G_ab* = G_ba. For skew-Hermitian X, the derivative of ρ(exp(tX))v at t = 0 is ∑_{a,b} X_ab G_ab v. The importing modules use these operators to construct the infinitesimal action on the dual and in proofs of the dual weight trace formula and the extension of highest-weight maps to invariant tensors.

Key declarations:

- `GlobalTheory.T.exists_compact_lie_action`: Gives matrix-unit operators on any finite-dimensional continuous unitary representation of U(n), with adjoints obtained by swapping indices and with their linear combinations giving the derivatives along skew-Hermitian exponential curves.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.exists_compact_lie_action : ∀ {n : ℕ} (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)), Continuous ρ → (∀ k v, ‖ρ k v‖ = ‖v‖) → ∃ G : Fin n → Fin n → Module.End ℂ H, Formalism.REAL.GlRel G ∧ (∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ) ∧ (∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X → (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H, HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHaarUnitaryGroup

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

**Constructs a finite right-invariant Borel measure on U(n) that is positive on every nonempty open set.**

The proof uses compactness of U(n) to obtain a finite left Haar measure and pushes it forward under group inversion. The importing statement module exposes the same existence theorem as GlobalTheory.T.exists_haar_unitary_group.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.exists_rightInvariant_measure_unitaryGroup`: For every n, there exists a finite Borel measure on U(n) invariant under right translations and positive on every nonempty open set.

  ```lean
  theorem exists_rightInvariant_measure_unitaryGroup
      (n : ℕ) [MeasurableSpace (Matrix.unitaryGroup (Fin n) ℂ)]
      [BorelSpace (Matrix.unitaryGroup (Fin n) ℂ)] :
      ∃ κ : Measure (Matrix.unitaryGroup (Fin n) ℂ),
        IsFiniteMeasure κ ∧ κ.IsMulRightInvariant ∧ κ.IsOpenPosMeasure := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsHighestWeightInInvariantSubmoduleStatement

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

**Re-exports the existence of a nonzero highest-weight vector in every nonzero invariant subspace of a finite-dimensional unitary Lie action.**

The imported theorem chooses a lexicographically maximal real joint weight for the diagonal operators and uses the matrix-unit commutator relations to show that every raising operator kills its weight vectors. The intertwiner vanishing proof applies the theorem to the orthogonal complement of the kernel.

Key declarations:

- `GlobalTheory.T.exists_highest_weight_in_invariant_submodule`: For a finite-dimensional complex inner product space with matrix-unit operators satisfying the gl_n commutator relations and G_ab* = G_ba, every nonzero subspace invariant under all G_ab contains a nonzero joint eigenvector of the G_aa with real eigenvalues, annihilated by every G_ab with a < b.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.exists_highest_weight_in_invariant_submodule : ∀ {n : ℕ} (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] (G : Fin n → Fin n → Module.End ℂ H), Formalism.REAL.GlRel G → (∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ) → ∀ N : Submodule ℂ H, N ≠ ⊥ → (∀ a b, ∀ w ∈ N, G a b w ∈ N) → ∃ (μ : Fin n → ℝ) (v : H), v ∈ N ∧ v ≠ 0 ∧ Formalism.REAL.KHighest (fun _ => true) G μ v := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsKFiniteSubmoduleContaining

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

**Proves local finiteness for the diagonal Lie action on a cyclic module for two commuting copies of gl_n(ℂ).**

If a cyclic vector lies in a finite-dimensional subspace invariant under the diagonal action, every vector lies in such a subspace. The proof builds a filtration from the initial subspace by adjoining its images under the generators of both copies at each step. Each stage is finite-dimensional and diagonally invariant because commutators with diagonal generators stay in the span of the generators. Cyclicity puts every vector in some stage. The importing statement module re-exports the conclusion.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.LocFin.fil`: Defines the increasing filtration obtained by repeatedly adding the images of a subspace under the given generators.

  ```lean
  def fil (L : ι → Module.End ℂ V) (S₀ : Submodule ℂ V) (k : ℕ) : Submodule ℂ V := (stp L)^[k] S₀
  ```
- `GlobalTheory.CompanionTheory.ModelS.LocFin.fil_finite`: Every filtration stage is finite-dimensional when the initial subspace and the generating family are finite-dimensional and finite, respectively.

  ```lean
  theorem fil_finite [Finite ι] (L : ι → Module.End ℂ V) (S₀ : Submodule ℂ V) [h₀ : FiniteDimensional ℂ S₀] (k : ℕ) :
      FiniteDimensional ℂ (fil L S₀ k) := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.LocFin.fil_stable`: An operator preserving the initial subspace preserves every stage if its commutators with the generators lie in their linear span.

  ```lean
  theorem fil_stable (L : ι → Module.End ℂ V) (K : Module.End ℂ V)
      (hK : ∀ i, K * L i - L i * K ∈ Submodule.span ℂ (Set.range L)) {S₀ : Submodule ℂ V}
      (h₀ : ∀ w ∈ S₀, K w ∈ S₀) (k : ℕ) : ∀ w ∈ fil L S₀ k, K w ∈ fil L S₀ k := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.LocFin.mem_fil_of_adjoin`: Applying an element of the algebra generated by the operators to a vector in the initial subspace produces a vector in some finite stage.

  ```lean
  theorem mem_fil_of_adjoin (L : ι → Module.End ℂ V) (S₀ : Submodule ℂ V) {T : Module.End ℂ V}
      (hT : T ∈ Algebra.adjoin ℂ (Set.range L)) {f : V} (hf : f ∈ S₀) : ∃ k, T f ∈ fil L S₀ k := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.LocFin.cyclic_locFin`: For two commuting gl_n(ℂ) actions on a complex inner-product space, a cyclic vector in a finite-dimensional diagonally invariant subspace ensures that every vector lies in a finite-dimensional diagonally invariant subspace.

  ```lean
  theorem cyclic_locFin : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (F1 F2 : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel F1 → Formalism.REAL.GlRel F2 →
      (∀ a b c d, F1 a b * F2 c d = F2 c d * F1 a b) → ∀ f : V, (∀ x : V, ∃ T ∈ alg F1 F2, T f = x) →
      ∀ S₀ : Submodule ℂ V, FiniteDimensional ℂ S₀ → f ∈ S₀ → (∀ a b, ∀ w ∈ S₀, kF F1 F2 a b w ∈ S₀) →
      ∀ x : V, ∃ S : Submodule ℂ V, FiniteDimensional ℂ S ∧ x ∈ S ∧ ∀ a b, ∀ w ∈ S, kF F1 F2 a b w ∈ S := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.ExistsPermShiftedWeightEqInfChar

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

**Proves that reversing each level block matches the Weyl-shifted weight with the negative infinitesimal character component.**

For a nondecreasing level sequence and an integral weight λ constant on each level block, the permutation reverses indices within each block. The proof counts indices of strictly lower and weakly lower level to locate the block endpoints and shows that reflection preserves levels and is an involution. Writing ρ_a = (n−1)/2 − a with indices starting at zero, it obtains yZ_a + ρ_a = −(λ_σ(a) + ρ_σ(a)). The importing statement module re-exports this identity.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.ReversedBlocks.rv_bounds`: Locates an index between the counts of strictly lower and weakly lower levels and gives the sum of the index and its reflection.

  ```lean
  theorem rv_bounds {lev : Fin n → ℕ} (hm : Monotone lev) (a : Fin n) :
      lowC lev a ≤ a ∧ (a : ℕ) < topC lev a ∧ rv lev a + a + 1 = lowC lev a + topC lev a := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.ReversedBlocks.rf`: Defines the index map that reverses each block of equal level.

  ```lean
  def rf {lev : Fin n → ℕ} (hm : Monotone lev) (a : Fin n) : Fin n := ⟨rv lev a, rv_lt hm a⟩
  ```
- `GlobalTheory.CompanionTheory.ModelS.ReversedBlocks.lev_rf`: Reflection preserves the level of each index.

  ```lean
  theorem lev_rf {lev : Fin n → ℕ} (hm : Monotone lev) (a : Fin n) : lev (rf hm a) = lev a := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.ReversedBlocks.rf_rf`: Applying the block reflection twice recovers the original index.

  ```lean
  theorem rf_rf {lev : Fin n → ℕ} (hm : Monotone lev) (a : Fin n) : rf hm (rf hm a) = a := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.ReversedBlocks.exists_perm_yZ`: For an integral weight constant on the blocks of a nondecreasing level sequence, the block reversal matches the shifted weight yZ + ρ with the permuted negative infinitesimal character component −(λ + ρ).

  ```lean
  theorem exists_perm_yZ : ∀ (n : ℕ) (lam : Fin n → ℤ) (lev : Fin n → ℕ), IsLev lam lev →
      ∃ σ : Equiv.Perm (Fin n), ∀ a : Fin n,
        (GlobalTheory.CompanionTheory.ModelS.yZ lam lev a : ℂ) + ((n : ℂ) - 1) / 2 - ((a : ℕ) : ℂ) = infOf lam false (σ a) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.FiniteDimensionalOfHom

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

**Deduces finite dimensionality of a codomain from its Hom space and factors the trace of pre- and postcomposition.**

For a nonzero complex vector space W, a nonzero functional φ on W embeds H into Hom(W,H) by sending h to the map w ↦ φ(w)h, so finite dimensionality of Hom(W,H) implies that of H. When W and H are finite-dimensional, the identification Hom(W,H) ≅ W* ⊗ H carries f ↦ a ∘ f ∘ b to bᵗ ⊗ a, giving trace tr(b)tr(a). Given a linear equivalence to a finite product of Hom spaces, `trace_of_block_sandwich` uses both results to obtain finite-dimensional block codomains and sum the trace products for a blockwise sandwich map.

Key declarations:

- `GlobalTheory.CompanionTheory.HomTrace.finiteDimensional_of_hom`: If W is nonzero and Hom(W,H) is finite-dimensional over ℂ, then H is finite-dimensional.

  ```lean
  theorem finiteDimensional_of_hom (W H : Type) [AddCommGroup W] [Module ℂ W]
      [AddCommGroup H] [Module ℂ H] [Nontrivial W] [FiniteDimensional ℂ (W →ₗ[ℂ] H)] :
      FiniteDimensional ℂ H := …
  ```
- `GlobalTheory.CompanionTheory.HomTrace.sandwich`: Defines the endomorphism of Hom(W,H) given by precomposition with b on W and postcomposition with a on H.

  ```lean
  noncomputable def sandwich {W H : Type} [AddCommGroup W] [Module ℂ W]
      [AddCommGroup H] [Module ℂ H] (a : H →ₗ[ℂ] H) (b : W →ₗ[ℂ] W) :
      (W →ₗ[ℂ] H) →ₗ[ℂ] (W →ₗ[ℂ] H) where
    toFun f := a ∘ₗ f ∘ₗ b
    map_add' f g := by ext v; simp
    map_smul' c f := by ext v; simp
  ```
- `GlobalTheory.CompanionTheory.HomTrace.trace_sandwich`: For finite-dimensional W and H, the trace of f ↦ a ∘ f ∘ b on Hom(W,H) equals tr(b)tr(a).

  ```lean
  theorem trace_sandwich {W H : Type} [AddCommGroup W] [Module ℂ W]
      [AddCommGroup H] [Module ℂ H] [FiniteDimensional ℂ W] [FiniteDimensional ℂ H]
      (a : H →ₗ[ℂ] H) (b : W →ₗ[ℂ] W) :
      LinearMap.trace ℂ (W →ₗ[ℂ] H) (sandwich a b) =
        LinearMap.trace ℂ W b * LinearMap.trace ℂ H a := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteGenerator

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

**Proves that each Gelfand invariant commutes with every generator satisfying the gl_n matrix-unit relations.**

Induction identifies the recursively defined operator entries with the entries of the corresponding matrix power. The Gelfand invariant is the sum of its diagonal entries, and the imported commutator formula gives two equal sums that cancel when computing its commutator with a generator. The importing statement module re-exports the commutation theorem.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.epow_eq_pow_of`: The recursively defined entry epow E m a b equals the (a,b) entry of E to the mth power as a matrix of endomorphisms.

  ```lean
  theorem epow_eq_pow_of {n : ℕ} {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (E : Fin n → Fin n → Module.End ℂ V) (m : ℕ) (a b : Fin n) :
      epow E m a b = ((Matrix.of E : Matrix (Fin n) (Fin n) (Module.End ℂ V)) ^ m) a b := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.gelA_central`: If the generators E_ab satisfy the gl_n matrix-unit commutator relations, then the Gelfand invariant of each degree commutes with every E_ab.

  ```lean
  theorem gelA_central : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (E : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel E →
      ∀ (m : ℕ) (a b : Fin n), gelA E m * E a b = E a b * gelA E m := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantCommuteOfCommute

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

**Proves that an endomorphism commuting with every entry of an operator-valued matrix also commutes with its Gelfand invariants.**

Induction on the exponent shows that entrywise commutation with the original matrix implies commutation with each entry of every matrix power. Summing the diagonal entries gives commutation with the Gelfand invariant in each degree, which the importing statement module re-exports.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.commute_epow_of_units`: If T commutes with every entry of E, then T commutes with every entry of every nonnegative power of E.

  ```lean
  theorem commute_epow_of_units {n : ℕ} {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (E : Fin n → Fin n → Module.End ℂ V) (T : Module.End ℂ V)
      (hT : ∀ a b, T * E a b = E a b * T) (m : ℕ) (a b : Fin n) :
      Commute T (epow E m a b) := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.gelA_commute_of_units`: If T commutes with every entry of E, then T commutes with the Gelfand invariant of E in each degree.

  ```lean
  theorem gelA_commute_of_units : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (E : Fin n → Fin n → Module.End ℂ V) (T : Module.End ℂ V),
      (∀ a b, T * E a b = E a b * T) → ∀ m : ℕ, gelA E m * T = T * gelA E m := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandInvariantEvalLowest

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

**Computes the Gelfand invariant on a functional annihilated by the lowering operators.**

Assume the generators satisfy the gl_n matrix-unit commutator relations. If a linear functional vanishes on the images of the strictly lower-triangular generators and precomposition by each diagonal generator scales it by x_a, then precomposition by the degree-m Gelfand invariant scales it by the Gelfand value at x_a + (n−1)/2 − a, with indices starting at zero. The proof swaps generator indices and takes dual maps to put the functional in highest-weight form, then transfers the imported trace-of-powers identity back using an entrywise formula for powers of the dual matrix. The importing statement module re-exports the evaluation formula.

Key declarations:

- `GlobalTheory.CompanionTheory.EvGel.dualFam`: Defines the dual generator at (a,b) by precomposition with the original generator at (b,a).

  ```lean
  def dualFam (E : Fin n → Fin n → Module.End ℂ V) : Fin n → Fin n → Module.End ℂ (Module.Dual ℂ V) :=
    fun a b => (E b a).dualMap
  ```
- `GlobalTheory.CompanionTheory.EvGel.glRel_dualFam`: The dual generators satisfy the gl_n matrix-unit commutator relations whenever the original generators do.

  ```lean
  theorem glRel_dualFam {E : Fin n → Fin n → Module.End ℂ V} (hE : Formalism.REAL.GlRel E) :
      Formalism.REAL.GlRel (dualFam E) := …
  ```
- `GlobalTheory.CompanionTheory.EvGel.pow_dualFam`: The (a,b) entry of a power of the dual generator matrix is the dual map of the (b,a) entry of the corresponding power of the original matrix.

  ```lean
  theorem pow_dualFam (E : Fin n → Fin n → Module.End ℂ V) (m : ℕ) (a b : Fin n) (φ : Module.Dual ℂ V) (v : V) :
      ((Matrix.of (dualFam E) : Matrix (Fin n) (Fin n) (Module.End ℂ (Module.Dual ℂ V))) ^ m) a b φ v =
        φ (((Matrix.of E : Matrix (Fin n) (Fin n) (Module.End ℂ V)) ^ m) b a v) := …
  ```
- `GlobalTheory.CompanionTheory.EvGel.ev_gelA`: For generators satisfying the gl_n matrix-unit commutator relations, precomposing a functional that annihilates all strictly lower-triangular generator images and has diagonal weight x with the degree-m Gelfand invariant scales it by the degree-m Gelfand value at the Weyl-shifted weight x + ρ.

  ```lean
  theorem ev_gelA : ∀ (n : ℕ) (V : Type) [NormedAddCommGroup V] [InnerProductSpace ℂ V]
      (E : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel E → ∀ (ev : V →ₗ[ℂ] ℂ) (x : Fin n → ℂ),
      (∀ a b, b < a → ∀ v, ev (E a b v) = 0) → (∀ a v, ev (E a a v) = x a * ev v) →
      ∀ (m : ℕ) (v : V), ev (gelA E m v) =
        GlobalTheory.Dec.gelfVal (fun a => x a + ((n : ℂ) - 1) / 2 - ((a : ℕ) : ℂ)) m * ev v := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.GelfandValuePermInvariant

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

**Re-exports permutation invariance of the Gelfand value.**

The theorem directly applies the imported symmetry identity to an arbitrary complex tuple and degree. The importing statement module exposes it as GlobalTheory.T.gelfand_value_perm_invariant.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.gelfVal_perm`: Permuting the coordinates of a complex tuple leaves its Gelfand value unchanged in every nonnegative degree.

  ```lean
  theorem GlobalTheory.CompanionTheory.ModelS.gelfVal_perm :
      ∀ (n : ℕ) (χ : Fin n → ℂ) (σ : Equiv.Perm (Fin n)) (k : ℕ),
        GlobalTheory.Dec.gelfVal (fun a => χ (σ a)) k = GlobalTheory.Dec.gelfVal χ k := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightAntitoneOfFiniteDimensionalStableStatement

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

**Re-exports the dominance criterion for highest weights in finite-dimensional invariant subspaces.**

The imported proof shows that each difference ν_a − ν_b for a < b is a nonnegative integer. In the dual weight trace formula, the criterion shows that the full integral weight tuple of each nonzero highest-weight vector is dominant, so the trace sum includes its highest-weight space.

Key declarations:

- `GlobalTheory.T.highest_weight_antitone_alt`: For operators satisfying the gl_n matrix-unit commutator relations, the real weight of any nonzero highest-weight vector in a finite-dimensional subspace invariant under all the operators is weakly decreasing.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.highest_weight_antitone_alt : ∀ {n : ℕ} (V : Type) [AddCommGroup V] [Module ℂ V] (Kf : Fin n → Fin n → Module.End ℂ V) (S : Submodule ℂ V)
      (ν : Fin n → ℝ) (v : V), Formalism.REAL.GlRel Kf → FiniteDimensional ℂ S → (∀ a b, ∀ w ∈ S, Kf a b w ∈ S) → v ∈ S → v ≠ 0 →
      Formalism.REAL.KHighest (fun _ => true) Kf ν v → Antitone ν := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightIntegralOfUnitaryStatement

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

**Re-exports the isotypic projection theorem and its Weyl character trace formula for U(n).**

The imported proof constructs the projection by summing compositions of intertwiners through a highest-weight model, one composition for each basis vector of the chosen highest-weight space. The dual weight trace formula uses these projections to sum the products of highest-weight-space traces and Weyl characters over the occurring dominant weights.

Key declarations:

- `GlobalTheory.T.highest_weight_integral_of_unitary`: For a finite-dimensional U(n) representation differentiated by gl_n(ℂ) matrix-unit operators with G_ab* = G_ba, each dominant integral weight ν admits a generator-commuting endomorphism p that fixes the ν-highest-weight space and kills highest-weight vectors of other weights, with tr(ρ(k)Sp) equal to the trace of S on that space times the Weyl character of ν at k for every generator-commuting S and every diagonal k with distinct entries.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.highest_weight_integral_of_unitary : ∀ {n : ℕ} (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)) (G : Fin n → Fin n → Module.End ℂ H) (ν : Fin n → ℤ), Formalism.REAL.GlRel G → (∀ a b (x y : H), ⟪G a b x, y⟫_ℂ = ⟪x, G b a y⟫_ℂ) → (∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X → (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H, HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) → Antitone ν → ∃ p : H →ₗ[ℂ] H, (∀ a b w, p (G a b w) = G a b (p w)) ∧ (∀ v ∈ hwOf G (wtR ν), p v = v) ∧ (∀ (μ : Fin n → ℝ) (v : H), μ ≠ wtR ν → Formalism.REAL.KHighest (fun _ => true) G μ v → p v = 0) ∧ ∀ S : H →ₗ[ℂ] H, (∀ a b w, S (G a b w) = G a b (S w)) → ∀ (k : Matrix.unitaryGroup (Fin n) ℂ) (z : Fin n → ℂ), k.1 = diagonal z → Function.Injective z → LinearMap.trace ℂ H ((ρ k : H →ₗ[ℂ] H) ∘ₗ S ∘ₗ p) = trOn (hwOf G (wtR ν)) S * weylChar ν z := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightMemCone

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

**Proves a root-cone constraint on highest weights detected by a functional of prescribed Levi weight.**

Let the operators K satisfy the 𝔤𝔩ₙ(ℂ) matrix-unit commutator relations and the levels ℓ be nondecreasing. Let x have highest weight ν and let a functional of diagonal weight μ vanish on all off-diagonal generator images within each level block. If it is nonzero on the cyclic submodule generated by x, then ν − μ is a nonnegative integer combination of roots e_a − e_b with ℓ(a) < ℓ(b). The proof uses commutators to generate the cyclic submodule by lower off-block operators followed by Levi operators, then compares diagonal eigenvalues on a weight vector detected by the functional. The importing statement module re-exports the cone criterion.

Key declarations:

- `GlobalTheory.CompanionTheory.HighestCone.levi_step`: A family of operators stable under commutators with the Levi generators preserves the Levi closure of a subspace if it sends the starting subspace into that closure.

  ```lean
  theorem levi_step (hg : Formalism.REAL.GlRel K) (lev : Fin n → ℕ) (C : Fin n → Fin n → Prop)
      (Y Z : Submodule ℂ V)
      (hmin : ∀ S : Submodule ℂ V, Y ≤ S →
        (∀ a b, lev a = lev b → ∀ v ∈ S, K a b v ∈ S) → Z ≤ S)
      (hZ : ∀ a b, lev a = lev b → ∀ v ∈ Z, K a b v ∈ Z) (hYZ : Y ≤ Z)
      (hC : ∀ a b c d, C a b → lev c = lev d → (b = c → C a d) ∧ (d = a → C c b))
      (hY : ∀ a b, C a b → ∀ y ∈ Y, K a b y ∈ Z) :
      ∀ a b, C a b → ∀ z ∈ Z, K a b z ∈ Z := …
  ```
- `GlobalTheory.CompanionTheory.HighestCone.weight_letter`: Applying K_ab to a diagonal eigenvector shifts its weight by e_a − e_b whenever the result is nonzero.

  ```lean
  theorem weight_letter (hg : Formalism.REAL.GlRel K) (a b t : Fin n) (τ : ℂ) (y : V)
      (ht : K t t y = τ • y) :
      K t t (K a b y) = (τ + (((if t = a then 1 else 0) - (if t = b then 1 else 0) : ℝ) : ℂ)) • K a b y := …
  ```
- `GlobalTheory.CompanionTheory.HighestCone.coneSpan_letter`: Each lower off-block generator preserves the span of weight vectors whose weights are obtained from ν by adding the corresponding lowering roots with nonnegative integer coefficients.

  ```lean
  theorem coneSpan_letter (hg : Formalism.REAL.GlRel K) (lev : Fin n → ℕ) (ν : Fin n → ℝ) (a b : Fin n)
      (hab : lev b < lev a) (v : V) (hv : v ∈ coneSpan K lev ν) : K a b v ∈ coneSpan K lev ν := …
  ```
- `GlobalTheory.CompanionTheory.HighestCone.inCone_of_ne`: If a diagonal weight functional is nonzero on a vector of weight obtained from ν by lower off-block shifts, then ν minus the functional's weight belongs to the positive off-block root cone.

  ```lean
  theorem inCone_of_ne (lev : Fin n → ℕ) (ev : V →ₗ[ℂ] ℂ) (μ ν : Fin n → ℝ)
      (hev : ∀ a v, ev (K a a v) = (μ a : ℂ) * ev v) (c : Fin n → Fin n → ℕ)
      (hc : ∀ a b, c a b ≠ 0 → lev b < lev a) (y : V)
      (hy : ∀ t, K t t y = (((ν t + shift c t : ℝ)) : ℂ) • y) (hne : ev y ≠ 0) :
      inCone lev (ν - μ) := …
  ```
- `GlobalTheory.CompanionTheory.HighestCone.inCone_of_highest`: For matrix-unit operators K satisfying the 𝔤𝔩ₙ(ℂ) commutator relations and nondecreasing levels, if a functional of diagonal weight μ annihilates off-diagonal Levi images and detects the cyclic submodule of a highest-weight vector of weight ν, then ν − μ lies in the nonnegative integer span of the positive off-block roots.

  ```lean
  theorem inCone_of_highest : ∀ (n : ℕ) (V : Type) [AddCommGroup V] [Module ℂ V] (K : Fin n → Fin n → Module.End ℂ V), Formalism.REAL.GlRel K → ∀ lev : Fin n → ℕ, Monotone lev → ∀ (ev : V →ₗ[ℂ] ℂ) (μ ν : Fin n → ℝ) (x : V), Formalism.REAL.KHighest (fun _ => true) K ν x → (∀ a b v, lev a = lev b → a ≠ b → ev (K a b v) = 0) → (∀ a v, ev (K a a v) = (μ a : ℂ) * ev v) → (∃ T ∈ Algebra.adjoin ℂ {T : Module.End ℂ V | ∃ a b, T = K a b}, ev (T x) ≠ 0) → inCone lev (ν - μ) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.HighestWeightOfUnitaryDerivativeStatement

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

**Re-exports the integrality of real diagonal weights for infinitesimal actions arising from representations of U(n).**

The imported proof integrates the infinitesimal action along each coordinate circle, where a diagonal eigenvalue r gives the scalar exp(itr), and uses 2π-periodicity to force r to be an integer. The dual weight trace formula uses this result to index its highest-weight spaces by integer tuples.

Key declarations:

- `GlobalTheory.T.highest_weight_of_unitary_derivative`: If the derivative of a finite-dimensional complex representation of U(n) along exp(tX) is given by ∑_{a,b} X_ab G_ab for every skew-Hermitian X, then every nonzero joint eigenvector of the diagonal operators G_aa with real eigenvalues has an integral weight.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.highest_weight_of_unitary_derivative : ∀ {n : ℕ} (H : Type) [NormedAddCommGroup H] [InnerProductSpace ℂ H] [FiniteDimensional ℂ H] (ρ : Matrix.unitaryGroup (Fin n) ℂ →* (H →L[ℂ] H)) (G : Fin n → Fin n → Module.End ℂ H), (∀ (X : Matrix (Fin n) (Fin n) ℂ) (γ : ℝ → Matrix.unitaryGroup (Fin n) ℂ), Xᴴ = -X → (∀ t : ℝ, (γ t).1 = NormedSpace.exp ((t : ℂ) • X)) → ∀ w : H, HasDerivAt (fun t : ℝ => ρ (γ t) w) (∑ a, ∑ b, X a b • G a b w) 0) → ∀ (μ : Fin n → ℝ) (v : H), v ≠ 0 → Formalism.REAL.IsWeight G μ v → ∃ ν : Fin n → ℤ, μ = wtR ν := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionAtOne

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

**Evaluates the induced function at the identity using leading principal minors and row Gram determinants.**

The identity belongs to GL_n(ℂ), and each leading principal submatrix and each Gram matrix of its initial rows is an identity matrix, so every determinant factor is 1. The importing highest-weight calculation uses injectivity of the initial index inclusion to prove that the row Gram determinants are nonzero on GL_n(ℂ).

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.one_mem_GLs`: The identity matrix belongs to GL_n(ℂ).

  ```lean
  theorem one_mem_GLs (n : ℕ) : (1 : Mat n) ∈ GLs n := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.ini_injective`: The inclusion of the first j+1 indices into the full index set is injective.

  ```lean
  theorem ini_injective {n : ℕ} (j : Fin n) : Function.Injective (ini j) := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.lm_one`: Every leading principal minor of the identity matrix is 1.

  ```lean
  theorem lm_one {n : ℕ} (j : Fin n) : lm j (1 : Mat n) = 1 := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.gm_one`: The Gram determinant of any initial segment of the rows of the identity matrix is 1.

  ```lean
  theorem gm_one {n : ℕ} (j : Fin n) : gm j (1 : Mat n) = 1 := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.fRaw_one`: The induced function takes the value 1 at the identity for every integral weight and level sequence.

  ```lean
  theorem fRaw_one (n : ℕ) (lam : Fin n → ℤ) (lev : Fin n → ℕ) : fRaw lam lev 1 = 1 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionDerivativeAtOne

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

**Computes the induced function’s diagonal and lower block-triangular derivatives at the identity.**

On 𝟙 + zE_aa with 1 + z ≠ 0, the determinant factors telescope to (1+z)^λ_a(1+z̄)^y_a, where y = yZ(λ,ℓ). For nondecreasing levels ℓ and λ constant on each level block, fRaw equals 1 on off-diagonal transvections 𝟙 + zE_ab with ℓ(b) ≤ ℓ(a), since each determinant factor is 1 or has exponent zero. For weakly decreasing λ under the same level condition and a smooth representative F with underlying function fRaw, differentiation along real lines and separation into complex-linear and conjugate-linear parts gives diagonal values λ_a and y_a and zero in the stated off-diagonal directions. The importing statement module re-exports these derivative formulas.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.FDer.gm_eq`: If the initial rows vanish beyond the leading square block, their Gram determinant is the squared modulus of the leading principal minor.

  ```lean
  theorem gm_eq (j : Fin n) (g : Mat n) (h : ∀ r s : Fin n, r ≤ j → j < s → g r s = 0) :
      gm j g = lm j g * conj (lm j g) := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FDer.fRaw_off`: For nondecreasing levels ℓ and an integral weight constant on each level block, the function equals 1 on every transvection 𝟙 + zE_ab with a ≠ b and ℓ(b) ≤ ℓ(a).

  ```lean
  theorem fRaw_off {lam : Fin n → ℤ} {lev : Fin n → ℕ} (hl : IsLev lam lev) {a b : Fin n} (hab : a ≠ b)
      (hle : lev b ≤ lev a) (z : ℂ) : fRaw lam lev (1 + single a b z) = 1 := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FDer.fRaw_diag`: On 𝟙 + zE_aa with 1+z ≠ 0, the function equals (1+z)^λ_a(1+z̄)^y_a.

  ```lean
  theorem fRaw_diag (lam : Fin n → ℤ) (lev : Fin n → ℕ) (a : Fin n) {z : ℂ} (hz : 1 + z ≠ 0) :
      fRaw lam lev (1 + single a a z) = (1 + z) ^ lam a * (1 + conj z) ^ yZ lam lev a := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FDer.Rd_diag`: For a smooth realization of the induced function, the real directional derivative at the identity in direction cE_aa is λ_a c + y_a c̄.

  ```lean
  theorem Rd_diag {lam : Fin n → ℤ} {lev : Fin n → ℕ} (F : SmF n) (hF : F.1 = fRaw lam lev) (a : Fin n) (c : ℂ) :
      Rd (single a a c) F.1 1 = lam a * c + yZ lam lev a * conj c := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FDer.fder`: For a smooth realization with weakly decreasing λ constant on the blocks of nondecreasing levels ℓ, the two infinitesimal operators give λ_a and y_a at the identity when a = b, and both give zero when a ≠ b and ℓ(b) ≤ ℓ(a).

  ```lean
  theorem fder (n : ℕ) (lam : Fin n → ℤ) (_ : Antitone lam) (lev : Fin n → ℕ) (hl : IsLev lam lev) (F : SmF n)
      (hF : F.1 = fRaw lam lev) (a b : Fin n) (hle : lev b ≤ lev a) :
      (e1 DR a b F).1 1 = (if a = b then (lam a : ℂ) else 0) ∧
        (f1 DR a b F).1 1 = (if a = b then (yZ lam lev a : ℂ) else 0) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKFinite

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

**Proves that every smooth realization of the induced function lies in a finite-dimensional subspace invariant under all Kf(a,b).**

For a weakly decreasing integral weight constant on the blocks of a nondecreasing level sequence, the proof factors the induced function on invertible matrices into Gram determinant powers, a determinant power, and a polynomial in the entries. It fixes the first two factors, varies the polynomial up to the original total degree, and extends each product by zero to singular matrices. Each Kf(a,b) acts on the polynomial factor by the scalar δ_ab m, with m the determinant exponent, plus a sum of variable-times-partial-derivative operators, preserving the degree bound. The importing statement module re-exports the finite-dimensionality result.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.FFin.fRaw_finite`: For a weakly decreasing integral weight constant on the blocks of a nondecreasing level sequence, every smooth realization of the induced function belongs to a finite-dimensional complex subspace preserved by all generators Kf(a,b).

  ```lean
  theorem GlobalTheory.CompanionTheory.ModelS.FFin.fRaw_finite (n : ℕ) (lam : Fin n → ℤ) (hl : Antitone lam) (lev : Fin n → ℕ)
      (hlev : IsLev lam lev) (F : GlobalTheory.CompanionTheory.ModelS.SmF n) (hF : F.1 = GlobalTheory.CompanionTheory.ModelS.fRaw lam lev) :
      ∃ S : Submodule ℂ (GlobalTheory.CompanionTheory.ModelS.SmF n), FiniteDimensional ℂ S ∧ F ∈ S ∧
        ∀ a b : Fin n, ∀ w ∈ S, GlobalTheory.CompanionTheory.ModelS.Kf a b w ∈ S := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionKHighestWeight

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

**Proves the highest-weight equations for the induced function under the diagonal Lie algebra action.**

For a weakly decreasing integral weight λ constant on the blocks of a nondecreasing level sequence ℓ, the diagonal weight at index a is 2λ_a plus the number of indices of higher level minus the number of indices of lower level. The Gram determinant factor has zero derivative in skew-Hermitian directions, so the generators act by differentiating the leading-minor factor. Upper-triangular column additions preserve that factor, while diagonal column scaling gives the weight by telescoping its exponents. The importing statement module re-exports these equations.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.Fhw.muZ_antitone`: The integral weight μZ is weakly decreasing when λ is weakly decreasing and the levels are nondecreasing.

  ```lean
  theorem muZ_antitone {lam : Fin n → ℤ} (hl : Antitone lam) {lev : Fin n → ℕ} (h : IsLev lam lev) :
      Antitone (muZ lam lev) := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.Fhw.Qf_skew`: At an invertible matrix g, every product of integer powers of the row Gram determinants has zero real directional derivative along gX for skew-Hermitian X.

  ```lean
  theorem Qf_skew (y : Fin n → ℤ) {g : Mat n} (hg : g ∈ GLs n) {X : Mat n} (hX : Xᴴ = -X) :
      fderiv ℝ (Qf y) g (g * X) = 0 := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.Fhw.lm_line_lt`: Adding a multiple of an earlier column to a later column leaves each leading principal minor unchanged.

  ```lean
  theorem lm_line_lt (g : Mat n) {a b : Fin n} (hab : a < b) (t : ℂ) (j : Fin n) :
      lm j (g + t • (g * Matrix.single a b (1 : ℂ))) = lm j g := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.Fhw.Kf_fRaw`: If the exponents of all nonfinal leading minors are nonnegative and a smooth F agrees with the product of the leading-minor and Gram determinant factors on invertible matrices, then at an invertible g the generator K_ab differentiates the leading-minor factor in direction gE_ab and multiplies the result by the Gram determinant factor.

  ```lean
  theorem Kf_fRaw {d y : Fin n → ℤ} (hd : ∀ j : Fin n, (j : ℕ) + 1 < n → 0 ≤ d j) (F : SmF n)
      (hF : ∀ x ∈ GLs n, F.1 x = Pf d x * Qf y x) (a b : Fin n) {g : Mat n} (hg : g ∈ GLs n) :
      (Kf a b F).1 g = fderiv ℂ (Pf d) g (g * Matrix.single a b 1) * Qf y g := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.f_highest`: For weakly decreasing λ constant on blocks of nondecreasing levels ℓ, every raising generator kills a smooth F whose underlying function is fRaw λ ℓ, and each diagonal generator acts on F by the corresponding coordinate of μZ.

  ```lean
  theorem GlobalTheory.CompanionTheory.ModelS.f_highest (n : ℕ) (lam : Fin n → ℤ) (hl : Antitone lam) (lev : Fin n → ℕ) (hv : IsLev lam lev)
      (F : GlobalTheory.CompanionTheory.ModelS.SmF n) (hF : F.1 = GlobalTheory.CompanionTheory.ModelS.fRaw lam lev) :
      (∀ a b : Fin n, a < b → GlobalTheory.CompanionTheory.ModelS.Kf a b F = 0) ∧
        ∀ a : Fin n, GlobalTheory.CompanionTheory.ModelS.Kf a a F = (GlobalTheory.CompanionTheory.ModelS.muZ lam lev a : ℂ) • F := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionParabolicEquivariant

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

**Proves that the raw induced function is multiplicative under left translation by its block parabolic.**

For a nonincreasing integer weight and a compatible level sequence, the raw induced function satisfies fRaw(pg) = fRaw(p) fRaw(g) for parabolic p and invertible g. The proof factors the product of leading principal minors and initial-row Gram determinants at cuts where the upper-right block of p vanishes. At a cut inside a level block, both exponents vanish. The direct importer uses this identity to prove inducedFunction_parabolic_equivariant.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.FMul.fRaw_mul`: For a nonincreasing integer weight and compatible levels, left multiplication by a parabolic element p scales fRaw on invertible matrices by fRaw(p).

  ```lean
  theorem fRaw_mul : ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev →
      ∀ p ∈ GlobalTheory.CompanionTheory.ModelS.Pb lev, ∀ g ∈ GLs n,
        GlobalTheory.CompanionTheory.ModelS.fRaw lam lev (p * g) = GlobalTheory.CompanionTheory.ModelS.fRaw lam lev p * GlobalTheory.CompanionTheory.ModelS.fRaw lam lev g := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FMul.rows_mul`: If the upper-right block of p vanishes at a cut, the initial rows of pg are the leading square block of p times the initial rows of g.

  ```lean
  theorem rows_mul (j : Fin n) (p g : Mat n) (hz : ∀ a b : Fin n, a ≤ j → j < b → p a b = 0) :
      (p * g).submatrix (ini j) id = p.submatrix (ini j) (ini j) * g.submatrix (ini j) id := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FMul.lm_mul`: At a cut where the upper-right block of p vanishes, the leading principal minor of pg is the product of the corresponding minors of p and g.

  ```lean
  theorem lm_mul (j : Fin n) (p g : Mat n) (hz : ∀ a b : Fin n, a ≤ j → j < b → p a b = 0) :
      lm j (p * g) = lm j p * lm j g := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FMul.gm_mul`: At the same kind of cut, the initial-row Gram determinant of pg is that of g times the squared modulus of the leading principal minor of p.

  ```lean
  theorem gm_mul (j : Fin n) (p g : Mat n) (hz : ∀ a b : Fin n, a ≤ j → j < b → p a b = 0) :
      gm j (p * g) = lm j p * star (lm j p) * gm j g := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FMul.dif_eq_zero`: For compatible levels, two adjacent indices in the same level give zero successive differences in both exponent sequences.

  ```lean
  theorem dif_eq_zero (lam : Fin n → ℤ) (lev : Fin n → ℕ) (hl : IsLev lam lev) (j : Fin n) (h : (j : ℕ) + 1 < n)
      (he : lev j = lev ⟨j + 1, h⟩) : dif (muZ lam lev) j = 0 ∧ dif (yZ lam lev) j = 0 := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.InducedFunctionSmooth

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

**Proves that the raw induced function is smooth on GL(n, ℂ) and vanishes on singular matrices.**

For a nonincreasing integer weight and compatible levels, the raw induced function is a product of smooth determinant factors raised to integer powers on GL(n, ℂ). Monotonicity of the adjusted weight makes the powers of the proper leading principal minors nonnegative. The full determinant and all initial-row Gram determinants are nonzero on GL(n, ℂ), so their integer powers are smooth there. The direct importer uses this result to prove inducedFunction_smooth.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.fRaw_mem_SmF`: For a nonincreasing integer weight and compatible levels, the raw induced function is smooth in real coordinates on GL(n, ℂ) and zero on singular matrices.

  ```lean
  theorem fRaw_mem_SmF : ∀ (n : ℕ) (lam : Fin n → ℤ), Antitone lam → ∀ lev : Fin n → ℕ, IsLev lam lev →
      GlobalTheory.CompanionTheory.ModelS.fRaw lam lev ∈ GlobalTheory.CompanionTheory.ModelS.SmF n := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FMem.contDiff_det_of_entries`: A square matrix whose entries depend smoothly on a matrix parameter has a smoothly varying determinant.

  ```lean
  theorem contDiff_det_of_entries {ι : Type} [Fintype ι] [DecidableEq ι] {M : Mat n → Matrix ι ι ℂ}
      (h : ∀ a b, ContDiff ℝ ∞ fun g => M g a b) : ContDiff ℝ ∞ fun g => (M g).det := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FMem.zpow_contDiffOn`: Every integer power of a complex-valued function smooth and nowhere zero on a set is smooth on that set.

  ```lean
  theorem zpow_contDiffOn {f : Mat n → ℂ} {s : Set (Mat n)} (hf : ContDiffOn ℝ ∞ f s)
      (h : ∀ x ∈ s, f x ≠ 0) (m : ℤ) : ContDiffOn ℝ ∞ (fun x => f x ^ m) s := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FMem.gm_ne_zero`: The Gram determinant of any initial segment of the rows of an invertible complex matrix is nonzero.

  ```lean
  theorem gm_ne_zero (j : Fin n) {g : Mat n} (hg : g ∈ GLs n) : gm j g ≠ 0 := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.FMem.muZ_antitone`: Twice the weight plus the number of indices at higher levels minus the number at lower levels is nonincreasing when the weight is nonincreasing and the levels are nondecreasing.

  ```lean
  theorem muZ_antitone {lam : Fin n → ℤ} {lev : Fin n → ℕ} (hlam : Antitone lam) (hlev : Monotone lev) :
      Antitone (muZ lam lev) := …
  ```

### Development.AutomorphicSpectrum.Proofs.BlockDecomposition.IntegralRightDerivativeEqZero

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

**Proves that the integral over U(n) of a smooth function’s right derivative in a skew-Hermitian direction is zero.**

For a complex-valued function smooth on GL(n, ℂ), the right derivative in any skew-Hermitian direction integrates to zero against every finite right-invariant Borel measure on U(n). The proof computes the velocity of k exp(tX) and shows that the curve stays in U(n). Compactness gives a uniform bound on the derivative, allowing differentiation under the integral, while right invariance makes the integral constant in t. The direct importer uses this result to prove integral_right_derivative_eq_zero.

Key declarations:

- `GlobalTheory.CompanionTheory.ModelS.SkewInt.integral_Rd_skew`: The derivative of u(k exp(tX)) at t = 0 has zero integral over U(n) for smooth u, skew-Hermitian X, and any finite right-invariant Borel measure.

  ```lean
  theorem integral_Rd_skew : ∀ (n : ℕ) [MeasurableSpace (Matrix.unitaryGroup (Fin n) ℂ)] [BorelSpace (Matrix.unitaryGroup (Fin n) ℂ)] (κ : Measure (Matrix.unitaryGroup (Fin n) ℂ)) [IsFiniteMeasure κ] [κ.IsMulRightInvariant] (u : Mat n → ℂ), ContDiffOn ℝ ∞ u (GLs n) → ∀ X : Mat n, Xᴴ = -X → ∫ k : Matrix.unitaryGroup (Fin n) ℂ, Rd X u k.1 ∂κ = 0 := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.SkewInt.exp_mem_unitary`: For skew-Hermitian X and real t, exp(tX) is unitary.

  ```lean
  theorem exp_mem_unitary {n : ℕ} {X : Mat n} (hX : Xᴴ = -X) (t : ℝ) :
      (NormedSpace.exp (t • X) : Mat n) ∈ Matrix.unitaryGroup (Fin n) ℂ := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.SkewInt.curve_hasDerivAt`: The matrix curve t ↦ k exp(tX) has derivative k exp(tX) X.

  ```lean
  theorem curve_hasDerivAt {n : ℕ} (k X : Mat n) (t : ℝ) :
      HasDerivAt (fun s : ℝ => k * (NormedSpace.exp (s • X) : Mat n)) (k * NormedSpace.exp (t • X) * X) t := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.SkewInt.exp_hasDerivAt`: For any complex square matrix X, the matrix exponential t ↦ exp(tX) has derivative exp(tX) X.

  ```lean
  theorem exp_hasDerivAt {n : ℕ} (X : Mat n) (t : ℝ) :
      HasDerivAt (fun s : ℝ => (NormedSpace.exp (s • X) : Mat n)) (NormedSpace.exp (t • X) * X) t := …
  ```
- `GlobalTheory.CompanionTheory.ModelS.SkewInt.exp_entry_hasDerivAt`: The derivative of the (i, j) entry of exp(tX) is the (i, j) entry of exp(tX) X.

  ```lean
  theorem exp_entry_hasDerivAt {n : ℕ} (X : Mat n) (t : ℝ) (i j : Fin n) :
      HasDerivAt (fun s : ℝ => (NormedSpace.exp (s • X) : Mat n) i j)
        ((NormedSpace.exp (t • X) * X : Mat n) i j) t := …
  ```


---

Twisted trace on unitary-invariant… · Alpöge Lean readings, part 2. Web page: https://riemannhypothesissolved.com/cluster/k0913-twisted-trace-on-unitary-invariant-maps-is-2-n-via-highest/lean/part-2/ · updated 2026-11-26 · site map for machines: https://riemannhypothesissolved.com/llms.txt
