# Hecke characters on ideles: local factors, finiteness and rigidity: 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 k0704 (https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/) · 89 Lean files, by distance from Main.lean · part 1 of 2, files 1–39 of 89 · data: https://riemannhypothesissolved.com/api/file-lines/k0704.json

- Part 1: https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/index.md
- Part 2: https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/index.md

## Contents

- 6 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.KeyFinitenessGlobal](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.KeyFinitenessGlobal)
- 7 import steps from Main:
  - [Development.AbelianVarietyTheory.Definitions.AutomorphicMembership.IsOpenKerFinIdele](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Definitions.AutomorphicMembership.IsOpenKerFinIdele)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.FiniteChars](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.FiniteChars)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharTrivialOnCongruenceUnitIdelesStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharTrivialOnCongruenceUnitIdelesStatement)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.IsOpenConnectedComponentOfOneInf](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.IsOpenConnectedComponentOfOneInf)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.RayClassGroupIdelicFiniteIndexStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.RayClassGroupIdelicFiniteIndexStatement)
  - [Development.AbelianVarietyTheory.Proofs.TwistedOperators.EqOneOfInfOfVal](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.TwistedOperators.EqOneOfInfOfVal)
  - [Development.AbelianVarietyTheory.Proofs.TwistedOperators.ExtensionEmbeddingMixedSymmOfIsComplex](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.TwistedOperators.ExtensionEmbeddingMixedSymmOfIsComplex)
  - [Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharUniformiserValueIsAlgebraicStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharUniformiserValueIsAlgebraicStatement)
  - [Development.AbelianVarietyTheory.PublishedTheorems.Divisors₂.IsCMTypeEmbedding](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.PublishedTheorems.Divisors₂.IsCMTypeEmbedding)
  - [Development.AbelianVarietyTheory.PublishedTheorems.TwistedTraceFormula.HeckeLEntireAndNonzeroAtOne](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.PublishedTheorems.TwistedTraceFormula.HeckeLEntireAndNonzeroAtOne)
  - [Development.WeilBound.CoreStatements.PublishedTheorems.SmoothVectorEstimates.FiniteInfinitePlaceProduct](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.WeilBound.CoreStatements.PublishedTheorems.SmoothVectorEstimates.FiniteInfinitePlaceProduct)
  - [Formalism.LocalToGlobal.UnitaryNorms.IsUnitaryNormOf](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.LocalToGlobal.UnitaryNorms.IsUnitaryNormOf)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.AlgValsFinMain](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.AlgValsFinMain)
- 8 import steps from Main:
  - [Development.AbelianVarietyTheory.Definitions.Foundations.AbsCharNotUnitary](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Definitions.Foundations.AbsCharNotUnitary)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousInfIdele](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousInfIdele)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousOfValuedEq](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousOfValuedEq)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.DetCharEqOneOfHasWt](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.DetCharEqOneOfHasWt)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ExistsProdInfMulFinPart](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ExistsProdInfMulFinPart)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharTrivialOnCongruenceUnitIdeles](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharTrivialOnCongruenceUnitIdeles)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.RayClassGroupIdelicFiniteIndex](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.RayClassGroupIdelicFiniteIndex)
  - [Development.AbelianVarietyTheory.Proofs.TwistedOperators.ExistsSmoothMulExtensionOfContinuousChar](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.TwistedOperators.ExistsSmoothMulExtensionOfContinuousChar)
  - [Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharUniformiserValueIsAlgebraic](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharUniformiserValueIsAlgebraic)
  - [Formalism.LocalToGlobal.UnitaryNorms.CharTransport](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.LocalToGlobal.UnitaryNorms.CharTransport)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.AlgValsFinOfTors](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.AlgValsFinOfTors)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.InvMemUFin](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.InvMemUFin)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.TorsUnitsOfNbhd](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.TorsUnitsOfNbhd)
  - [ReciprocityTheory.NeutralLocalFields.LocalFieldComparison.HCFFromRecipB](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#ReciprocityTheory.NeutralLocalFields.LocalFieldComparison.HCFFromRecipB)
- 9 import steps from Main:
  - [Development.AbelianVarietyTheory.Definitions.Foundations.DiagUnitsEqLocalIdele](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Definitions.Foundations.DiagUnitsEqLocalIdele)
  - [Development.AbelianVarietyTheory.Definitions.Foundations.IsUnitaryOfOrder](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Definitions.Foundations.IsUnitaryOfOrder)
  - [Development.AbelianVarietyTheory.Definitions.Foundations.ValuedAlgebraMapEqOne](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Definitions.Foundations.ValuedAlgebraMapEqOne)
  - [Development.AbelianVarietyTheory.Definitions.GaloisGeometry.DegOneIffSurjective](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Definitions.GaloisGeometry.DegOneIffSurjective)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.ExistsOddPrimeGtTwoBounds](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.ExistsOddPrimeGtTwoBounds)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousOfTameLoc](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousOfTameLoc)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.EtaTildeIsUnitArgAtCmTypePlaces](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.EtaTildeIsUnitArgAtCmTypePlaces)
  - [Development.AbelianVarietyTheory.Proofs.SatakeParameters.ContinuousIdeleCharLocalFactorization](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Development.AbelianVarietyTheory.Proofs.SatakeParameters.ContinuousIdeleCharLocalFactorization)
  - [Formalism.LocalToGlobal.UnitaryNorms.UnrAe](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.LocalToGlobal.UnitaryNorms.UnrAe)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.ClassSame](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.ClassSame)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.EvFLocalIdeleSelf](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.EvFLocalIdeleSelf)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.FactorOne](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.FactorOne)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.FinprodNormEmbedding](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.FinprodNormEmbedding)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.IsIntegralOfMemCompo](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.IsIntegralOfMemCompo)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.NormEqOneOfForallZpow](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.NormEqOneOfForallZpow)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.OrdFEqOfClassOf](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.OrdFEqOfClassOf)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.PowCardSubOneMem](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.PowCardSubOneMem)
- 10 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.CmAlgCharEqArgMulAbsStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.CmAlgCharEqArgMulAbsStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.HeckeCharacterRamifiedFinite](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.HeckeCharacterRamifiedFinite)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.ProdArgRealUnitEqOneStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.ProdArgRealUnitEqOneStatement)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitRealOfCongrOneStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitRealOfCongrOneStatement)
  - [Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.EqOneOfForallZpow](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AutomorphicArithmetic.IntegralCasts.CapelliIdentities.EqOneOfForallZpow)
  - [Formalism.PeriodIntegrals.AlgValsFin](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.AlgValsFin)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.ValuedAtFin](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.ValuedAtFin)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.NormOneCharacters.NormOneCharacterApply](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.NormOneCharacters.NormOneCharacterApply)
  - [Formalism.UnipotentAdelicQuotients.FinOrdValGen](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.UnipotentAdelicQuotients.FinOrdValGen)
- 11 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.CmAlgCharEqArgMulAbs](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.CmAlgCharEqArgMulAbs)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.ProdArgRealUnitEqOne](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.ProdArgRealUnitEqOne)
  - [Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitRealOfCongrOne](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.DivisorProofs.UnitRealOfCongrOne)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharFiniteOrderOfTrivialAtInfinity](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharFiniteOrderOfTrivialAtInfinity)
  - [Development.AbelianVarietyTheory.Proofs.SatakeParameters.ExistsWeakApproxUnitFinitePlace](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.SatakeParameters.ExistsWeakApproxUnitFinitePlace)
  - [Formalism.LocalToGlobal.NumberFieldFamilies.IdTransSM](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.NumberFieldFamilies.IdTransSM)
  - [Formalism.PeriodIntegrals.ChiExCM](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.ChiExCM)
  - [Formalism.PeriodIntegrals.OrbitalBoundsConclusion.CharExtend](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.OrbitalBoundsConclusion.CharExtend)
- 12 import steps from Main:
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.CharacterExtension.UnitsComplexExistsZpow](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.CharacterExtension.UnitsComplexExistsZpow)
- 13 import steps from Main:
  - [Formalism.LocalToGlobal.UnitaryNorms.CharExGen](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.UnitaryNorms.CharExGen)
- 14 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.EtaTildeIsUnitArgAtCmTypePlacesStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.EtaTildeIsUnitArgAtCmTypePlacesStatement)
  - [Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharFiniteOrderOfTrivialAtInfinityStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharFiniteOrderOfTrivialAtInfinityStatement)
  - [Development.AbelianVarietyTheory.Proofs.SatakeParameters.ContinuousIdeleCharLocalFactorizationStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.SatakeParameters.ContinuousIdeleCharLocalFactorizationStatement)
- 16 import steps from Main:
  - [Development.AbelianVarietyTheory.Proofs.SatakeParameters.ExistsWeakApproxUnitFinitePlaceStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.SatakeParameters.ExistsWeakApproxUnitFinitePlaceStatement)
  - [Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharIsUnitaryOfUnitaryInfinityType](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharIsUnitaryOfUnitaryInfinityType)
  - [Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharIsUnitaryOfUnitaryInfinityTypeStatement](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharIsUnitaryOfUnitaryInfinityTypeStatement)
- 17 import steps from Main:
  - [Formalism.LocalToGlobal.UnitaryNorms.CharExCol](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.UnitaryNorms.CharExCol)
- 18 import steps from Main:
  - [Formalism.LocalToGlobal.UnitaryNorms.CharExEta](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.UnitaryNorms.CharExEta)
  - [Formalism.PeriodIntegrals.OrbitalBoundsConclusion.IdeleUnitsOpen](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.OrbitalBoundsConclusion.IdeleUnitsOpen)
- 19 import steps from Main:
  - [Formalism.LocalToGlobal.UnitaryNorms.CharExHost](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.UnitaryNorms.CharExHost)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.IdeleUnitsOpen.IsOpenAdicCompletionIntegers](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.IdeleUnitsOpen.IsOpenAdicCompletionIntegers)
- 23 import steps from Main:
  - [Formalism.LocalToGlobal.Columns.HeckeEx](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.Columns.HeckeEx)
- 24 import steps from Main:
  - [Formalism.LocalToGlobal.UnitaryNorms.CharExFacts](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.UnitaryNorms.CharExFacts)
  - [Formalism.LocalToGlobal.UnitaryNorms.CharExMu](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.UnitaryNorms.CharExMu)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.CMTypeEmbeddings.OnePsi](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.CMTypeEmbeddings.OnePsi)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.GlobalFormGenerator.IntValuationConjP](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.GlobalFormGenerator.IntValuationConjP)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.HostFieldFacts.HostFieldFacts](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.HostFieldFacts.HostFieldFacts)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.HostPrimeSplitting.DSplit](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.HostPrimeSplitting.DSplit)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.InfiniteEtaGenerators.CompEqEmbedding](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.InfiniteEtaGenerators.CompEqEmbedding)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.InfinityTypeCharacter.ContinuousUnitsMap](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.InfinityTypeCharacter.ContinuousUnitsMap)
- 25 import steps from Main:
  - [Formalism.LocalToGlobal.UnitaryNorms.CharExFrame](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.LocalToGlobal.UnitaryNorms.CharExFrame)
  - [Formalism.PeriodIntegrals.EtaInfGen](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.EtaInfGen)
  - [Formalism.PeriodIntegrals.InfTypeChar](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.InfTypeChar)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.CMTypeEmbeddings.EmbMemCmType](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.CMTypeEmbeddings.EmbMemCmType)
  - [Formalism.PeriodIntegrals.UnitaryGroupMassFormula.InfinityTypeCharacter.ExtensionEmbeddingAlgebraMap](https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/part-2/#Formalism.PeriodIntegrals.UnitaryGroupMassFormula.InfinityTypeCharacter.ExtensionEmbeddingAlgebraMap)

## The files

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.KeyFinitenessGlobal

6 import steps from Main · 90 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.KeyFinitenessGlobal)

**Proves finiteness of bounded-level Hecke characters and a uniform finite bound on the possible prime–character tuples of grids.**

With fixed infinity type and bounded conductor, ratios to a fixed Hecke character factor through a finite idelic ray class quotient. For each base datum and gap parameter, the proof constructs a finite set of triples consisting of a prime above the auxiliary prime, a prime of the extension above it, and an indexed tuple of Hecke characters of prescribed infinity types. The characters have level at most two at places above the selected base prime or a prime in S1 and are unramified elsewhere. Grid data give triples in this set, which transfers across stages sharing the base datum. The grid existence argument in evLgG_gridA_of_join uses this uniform finiteness.

Key declarations:

- `GlobalTheory.Mem.LiteralAutomorphy.heckeFin`: Over a number field, only finitely many Hecke characters have a prescribed infinity type, are unramified outside a fixed finite set, and satisfy a common local level bound on that set.

  ```lean
  theorem heckeFin : ∀ (L : Type) [Field L] [NumberField L] (I : Type) [Fintype I] (φ : I → L →+* ℂ) (n : I → ℤ)
      (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ), S.Finite →
      {χ : Formalism.L2.Host.HChar L | χ.HasInf φ n ∧ (∀ v, v ∉ S → χ.UnrAt v) ∧ ∀ v ∈ S, χ.LevelLe v N}.Finite := …
  ```
- `GlobalTheory.Mem.LiteralAutomorphy.KeyFiniteness.KS_finite`: The set of candidate prime–character triples is finite for each datum and gap parameter.

  ```lean
  theorem KS_finite (D : D7) (c : ℝ) : (KS D c).Finite := …
  ```
- `GlobalTheory.Mem.LiteralAutomorphy.KeyFiniteness.mem_KS`: Every grid contributes its distinguished base prime, the chosen prime above it, and its character tuple to the candidate set.

  ```lean
  theorem mem_KS {X : Stages} {T : Type} {L : Formalism.IndefR.Links.LevCh X.toD7 T} {sc : GlobalTheory.ChiGrid.Consts}
      (G : GlobalTheory.ChiGrid.GridData L sc) : gkeyOf G ∈ KS X.toD7 sc.cGap := …
  ```
- `GlobalTheory.Mem.LiteralAutomorphy.KeyFiniteness.KS_transfer`: Identifying the base data of two stages carries every candidate triple for one stage into the candidate set for the other at the same gap parameter.

  ```lean
  theorem KS_transfer (X X₀ : Stages) (h : X.B.toPre = X₀.B.toPre) (c : ℝ) :
      ∀ κ ∈ KS X.toD7 c, ∃ κ' ∈ KS X₀.toD7 c, HEq κ κ' := …
  ```
- `GlobalTheory.Mem.LiteralAutomorphy.gKeyFin`: For a fixed base datum and gap parameter, one finite set contains the triples of all grids across the stages with those data.

  ```lean
  theorem gKeyFin : GKeyFin := …
  ```

### Development.AbelianVarietyTheory.Definitions.AutomorphicMembership.IsOpenKerFinIdele

7 import steps from Main · 197 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Definitions.AutomorphicMembership.IsOpenKerFinIdele)

**Proves open kernels for finite idele characters and gives exponential, smoothness, and growth results for characters of complex tori.**

For a continuous finite idele character, the kernel contains a congruence neighborhood whose elements have all powers mapped within distance 1/2 of 1. On a finite product of copies of ℂ×, lifting through the complex exponential gives a real-linear exponent L. The extension by zero is smooth at units, has derivative L at the identity, and the character is polynomially bounded in a common bound for the input and its inverse. Direct importers use these results to find congruence subgroups in idele character kernels and to identify the exponential formula for archimedean Hecke characters.

Key declarations:

- `GlobalTheory.CuspRep.isOpen_ker_finIdele`: Every continuous homomorphism from a number field’s finite idele group to ℂ× has open kernel.

  ```lean
  theorem isOpen_ker_finIdele (E : Type) [Field E] [NumberField E] (ψ : (FiniteAdeleRing (𝓞 E) E)ˣ →* ℂˣ)
      (hψ : Continuous ψ) : IsOpen {u | ψ u = 1} := …
  ```
- `GlobalTheory.CuspRep.exists_lin`: After precomposition with the coordinatewise exponential, a continuous character of a finite product of copies of ℂ× is the exponential of a continuous real-linear map L to ℂ.

  ```lean
  theorem exists_lin (ψ : (ι → ℂ)ˣ →* ℂˣ) (hψ : Continuous ψ) :
      ∃ L : (ι → ℂ) →L[ℝ] ℂ, ∀ z, ((ψ (expU z) : ℂˣ) : ℂ) = Complex.exp (L z) := …
  ```
- `GlobalTheory.CuspRep.contDiffAt_extZero`: Extending a continuous character by zero gives a function that is smooth over ℝ at every point with all coordinates nonzero.

  ```lean
  theorem contDiffAt_extZero (ψ : (ι → ℂ)ˣ →* ℂˣ) (hψ : Continuous ψ) (u : (ι → ℂ)ˣ) :
      ContDiffAt ℝ ∞ (extZero ψ) u := …
  ```
- `GlobalTheory.CuspRep.fderiv_extZero`: The real Fréchet derivative at the identity of the extension by zero is the real-linear exponent L.

  ```lean
  theorem fderiv_extZero {ψ : (ι → ℂ)ˣ →* ℂˣ} {L : (ι → ℂ) →L[ℝ] ℂ} (hψ : Continuous ψ)
      (hL : ∀ z, ((ψ (expU z) : ℂˣ) : ℂ) = Complex.exp (L z)) : fderiv ℝ (extZero ψ) 1 = L := …
  ```
- `GlobalTheory.CuspRep.exists_bound`: For each continuous character there are constants C ≥ 0 and N ∈ ℕ such that its absolute value at u is at most C B^N whenever B ≥ 1 bounds the sup norms of u and u⁻¹.

  ```lean
  theorem exists_bound (ψ : (ι → ℂ)ˣ →* ℂˣ) (hψ : Continuous ψ) :
      ∃ (C : ℝ) (N : ℕ), 0 ≤ C ∧ ∀ (u : (ι → ℂ)ˣ) (B : ℝ), 1 ≤ B → ‖(u : ι → ℂ)‖ ≤ B → ‖((u⁻¹ : (ι → ℂ)ˣ) : ι → ℂ)‖ ≤ B →
        ‖((ψ u : ℂˣ) : ℂ)‖ ≤ C * B ^ N := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.FiniteChars

7 import steps from Main · 91 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.FiniteChars)

**Reduces finiteness of Hecke characters of fixed infinity type and bounded level to finiteness of an idelic quotient.**

The level subgroup consists of ideles that are units at every finite place and congruent to one modulo the specified prime powers. A finite quotient has finitely many complex characters because their values are roots of unity of order dividing the quotient order. Dividing by one character of the prescribed type and level gives an injection into the characters of the quotient by the principal ideles and the level subgroup, assuming congruence triviality and finite index. KeyFinitenessGlobal supplies these hypotheses to obtain Hecke character finiteness.

Key declarations:

- `GlobalTheory.LevelChars.compAt`: Evaluates an idele at a finite place in the corresponding completion.

  ```lean
  def compAt (v : HeightOneSpectrum (𝓞 L)) (a : (AdeleRing (𝓞 L) L)ˣ) : v.adicCompletion L :=
    (a : AdeleRing (𝓞 L) L).2 v
  ```
- `GlobalTheory.LevelChars.levSub`: Defines the subgroup of ideles whose finite components are units and are congruent to one modulo the Nth power of the maximal ideal at each place in S.

  ```lean
  def levSub (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ) : Subgroup (AdeleRing (𝓞 L) L)ˣ
  ```
- `GlobalTheory.LevelChars.finite_chars`: Only finitely many complex characters of an abelian group are trivial on a given finite-index subgroup.

  ```lean
  theorem finite_chars {G : Type} [CommGroup G] (H : Subgroup G) [H.FiniteIndex] :
      {ψ : G →* ℂˣ | H ≤ ψ.ker}.Finite := …
  ```
- `GlobalTheory.LevelChars.heckeFin_of`: Assuming congruence triviality and finite index, only finitely many Hecke characters have a prescribed infinity type, are unramified off a fixed finite set, and satisfy a common local level bound on that set.

  ```lean
  theorem heckeFin_of
      (hA : ∀ (L : Type) [Field L] [NumberField L] (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ) (ψ : Formalism.L2.Host.HChar L),
        (∀ k : Lˣ, ψ.inf k = 1) → (∀ v, v ∉ S → ψ.UnrAt v) → (∀ v ∈ S, ψ.LevelLe v N) → ∀ a ∈ levSub L S N, ψ.1 a = 1)
      (hC : ∀ (L : Type) [Field L] [NumberField L] (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ), S.Finite →
        ((Units.map (algebraMap L (AdeleRing (𝓞 L) L)).toMonoidHom).range ⊔ levSub L S N).FiniteIndex) :
      ∀ (L : Type) [Field L] [NumberField L] (I : Type) [Fintype I] (φ : I → L →+* ℂ) (n : I → ℤ)
      (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ), S.Finite →
      {χ : Formalism.L2.Host.HChar L | χ.HasInf φ n ∧ (∀ v, v ∉ S → χ.UnrAt v) ∧ ∀ v ∈ S, χ.LevelLe v N}.Finite := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharTrivialOnCongruenceUnitIdelesStatement

7 import steps from Main · 9 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharTrivialOnCongruenceUnitIdelesStatement)

**Re-exports the triviality theorem for Hecke characters on the subgroup of congruence unit ideles.**

A Hecke character is trivial on the level congruence subgroup if its archimedean component is trivial on the image of the field’s multiplicative group and its finite components are unramified off the chosen set and satisfy the level bound on that set. KeyFinitenessGlobal uses this theorem as the congruence triviality input for Hecke character finiteness.

Key declarations:

- `GlobalTheory.T.heckeChar_trivial_on_congruenceUnitIdeles`: Under these archimedean and finite-place hypotheses, the character is trivial on ideles that are units at every finite place and congruent to one modulo the prescribed prime powers on the chosen set.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.heckeChar_trivial_on_congruenceUnitIdeles : ∀ (L : Type) [Field L] [NumberField L] (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ) (ψ : Formalism.L2.Host.HChar L), (∀ k : Lˣ, ψ.inf k = 1) → (∀ v, v ∉ S → ψ.UnrAt v) → (∀ v ∈ S, ψ.LevelLe v N) → ∀ a ∈ GlobalTheory.LevelChars.levSub L S N, ψ.1 a = 1 := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.IsOpenConnectedComponentOfOneInf

7 import steps from Main · 195 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.IsOpenConnectedComponentOfOneInf)

**Constructs archimedean and ℓ-adic power characters on ideles and proves that the archimedean identity component is open.**

Finite products of integer powers along embeddings define continuous idele characters at infinity and at the places over ℓ, and the archimedean product on principal ideles is the product over field embeddings. Local connectedness of the open archimedean unit group gives openness of its identity component. Nonzero field elements are dense in the archimedean unit group, and those in the identity component are totally positive by the intermediate value theorem. IsOpenKerOfInfConn uses these facts to extend an archimedean power formula from totally positive field elements to the identity component.

Key declarations:

- `GlobalTheory.HeckeGal.exists_infPow_hom`: Realizes the archimedean power product for prescribed integer exponents as a continuous character of the ideles into the nonzero complex numbers.

  ```lean
  theorem exists_infPow_hom : ∀ (E : Type) [Field E] [NumberField E] (n : (E →+* ℂ) → ℤ), ∃ f : Ideles E →* ℂˣ, Continuous f ∧ ∀ x : Ideles E, ((f x : ℂˣ) : ℂ) = infPow n x := …
  ```
- `GlobalTheory.HeckeGal.exists_lPow_hom`: Realizes the power product over places above ℓ as a continuous character into the multiplicative group of an algebraic closure of ℚℓ, with exponents indexed via a chosen field isomorphism to ℂ.

  ```lean
  theorem exists_lPow_hom : ∀ (E : Type) [Field E] [NumberField E] (l : ℕ) [Fact l.Prime] (ι : Qbar l ≃+* ℂ) (n : (E →+* ℂ) → ℤ), ∃ f : Ideles E →* (Qbar l)ˣ, Continuous f ∧ ∀ x : Ideles E, ((f x : (Qbar l)ˣ) : Qbar l) = lPow ι n x := …
  ```
- `GlobalTheory.HeckeGal.isOpen_connectedComponentOfOne_inf`: The identity component of the archimedean idele group is open.

  ```lean
  theorem isOpen_connectedComponentOfOne_inf : ∀ (E : Type) [Field E] [NumberField E], IsOpen ((Subgroup.connectedComponentOfOne (InfiniteAdeleRing E)ˣ : Subgroup (InfiniteAdeleRing E)ˣ) : Set (InfiniteAdeleRing E)ˣ) := …
  ```
- `GlobalTheory.HeckeGal.denseRange_units_inf`: The diagonal image of the multiplicative group of a number field is dense in its archimedean idele group.

  ```lean
  theorem denseRange_units_inf : ∀ (E : Type) [Field E] [NumberField E], DenseRange (fun k : Eˣ => (Units.map (algebraMap E (InfiniteAdeleRing E)).toMonoidHom k : (InfiniteAdeleRing E)ˣ)) := …
  ```
- `GlobalTheory.HeckeGal.pos_of_mem_connectedComponentOfOne`: A nonzero field element whose archimedean image lies in the identity component is positive under every real embedding.

  ```lean
  theorem pos_of_mem_connectedComponentOfOne : ∀ (E : Type) [Field E] [NumberField E] (k : Eˣ), (Units.map (algebraMap E (InfiniteAdeleRing E)).toMonoidHom k : (InfiniteAdeleRing E)ˣ) ∈ Subgroup.connectedComponentOfOne (InfiniteAdeleRing E)ˣ → ∀ φ : E →+* ℝ, 0 < φ (k : E) := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.RayClassGroupIdelicFiniteIndexStatement

7 import steps from Main · 9 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.RayClassGroupIdelicFiniteIndexStatement)

**Re-exports the finite-index theorem for the idelic ray class quotient.**

For any number field and modulus supported on a finite set of finite places, the subgroup generated by the principal ideles and the congruence unit ideles has finite index in the idele group. KeyFinitenessGlobal uses this theorem to prove finiteness of Hecke characters with prescribed infinity type, unramified outside a fixed finite set S and of level at most N at each place in S.

Key declarations:

- `GlobalTheory.T.rayClassGroup_idelic_finiteIndex`: For any finite set S of finite places and any nonnegative integer N, the idele group modulo the principal ideles and the ideles that are units at every finite place and congruent to one modulo the Nth prime power at each place in S is finite.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.rayClassGroup_idelic_finiteIndex : ∀ (L : Type) [Field L] [NumberField L] (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ), S.Finite → ((Units.map (algebraMap L (AdeleRing (𝓞 L) L)).toMonoidHom).range ⊔ GlobalTheory.LevelChars.levSub L S N).FiniteIndex := …
  ```

### Development.AbelianVarietyTheory.Proofs.TwistedOperators.EqOneOfInfOfVal

7 import steps from Main · 21 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.TwistedOperators.EqOneOfInfOfVal)

**Proves that a Hecke character is trivial if its uniformizer value is 1 at every unramified finite place.**

At each unramified finite place, the uniformizer value determines the local character. The proof takes the finite set of ramified places as the exceptional set and uses density of the diagonal image of the field's multiplicative group in the product of the archimedean and exceptional local multiplicative groups. The second theorem follows directly from the first with a redundant hypothesis of archimedean triviality on embedded field elements. The proof of entireness for unitary Hecke L-functions outside the norm-power case uses this specialization to identify the character obtained after a norm twist as trivial.

Key declarations:

- `GlobalTheory.HeckeUnrTrivial.eq_one_of_val_eq_one`: A Hecke character of a number field is trivial if its value on a uniformizer is 1 at each finite place where it is unramified.

  ```lean
  theorem eq_one_of_val_eq_one {K : Type} [Field K] [NumberField K] (χ : HChar K)
      (h : ∀ v : HeightOneSpectrum (𝓞 K), χ.UnrAt v → χ.val v = 1) : χ = 1 := …
  ```
- `GlobalTheory.HeckeUnrTrivial.eq_one_of_inf_of_val`: A Hecke character is trivial if its archimedean component takes the value 1 on the embedded multiplicative group of the field and its uniformizer values are 1 at all unramified finite places.

  ```lean
  theorem eq_one_of_inf_of_val : ∀ (K : Type) [Field K] [NumberField K] (χ : HChar K), (∀ k : Kˣ, χ.inf k = 1) → (∀ v : HeightOneSpectrum (𝓞 K), χ.UnrAt v → χ.val v = 1) → χ = 1 := …
  ```

### Development.AbelianVarietyTheory.Proofs.TwistedOperators.ExtensionEmbeddingMixedSymmOfIsComplex

7 import steps from Main · 153 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.TwistedOperators.ExtensionEmbeddingMixedSymmOfIsComplex)

**Constructs a smooth, degree-zero archimedean factor after a norm twist of a unitary Hecke character.**

The inverse mixed-space identification is continuous by its real and complex coordinate formulas, giving a continuous inclusion of archimedean units into the ideles. The proof lifts the character on positive scalars through the circle exponential and uses the idelic norm there to choose a twist that cancels it. The resulting multiplicative factor on the mixed space is invariant under positive scaling, is smooth and has modulus one on the unit locus, and agrees on embedded field units with the inverse of the twisted archimedean character. This factor is used to prove entireness of unitary Hecke L-functions outside the norm-power case.

Key declarations:

- `GlobalTheory.HeckeOne.exists_eq_circleExp_mul`: Every continuous character of the additive real line into the unit circle has the form x ↦ exp(iax) for some real a.

  ```lean
  theorem exists_eq_circleExp_mul (f : ℝ → Circle) (hf : Continuous f) (hadd : ∀ x y, f (x + y) = f x * f y) :
      ∃ a : ℝ, ∀ x, f x = Circle.exp (a * x) := …
  ```
- `GlobalTheory.HeckeOne.mixedIdele`: A unit of the mixed real and complex space defines an idele with the corresponding archimedean components and finite components all equal to 1.

  ```lean
  def mixedIdele : (mixedSpace K)ˣ →* Ideles K :=
    Units.map ((MonoidHom.inl (InfiniteAdeleRing K) (FiniteAdeleRing (𝓞 K) K)).comp
      (InfiniteAdeleRing.ringEquiv_mixedSpace K).symm.toRingHom.toMonoidHom)
  ```
- `GlobalTheory.HeckeOne.ideleNorm_expScalar`: The idele with scalar eˣ at every archimedean place and 1 at every finite place has norm exp([K:ℚ]x).

  ```lean
  theorem ideleNorm_expScalar (x : ℝ) :
      ideleNorm (mixedIdele K (expScalar K x)) = Real.exp ((Module.finrank ℚ K : ℝ) * x) := …
  ```
- `GlobalTheory.HeckeOne.exists_trivial_on_expScalar`: Every unitary Hecke character admits a unitary norm twist that is trivial on the positive archimedean scalar subgroup.

  ```lean
  theorem exists_trivial_on_expScalar (χ : HChar K) (hχ : χ.IsUnitary) :
      ∃ t : ℝ, ∀ x : ℝ, (χ * normChar K (-t)).1 (mixedIdele K (expScalar K x)) = 1 := …
  ```
- `GlobalTheory.HeckeOne.exists_normChar_smooth_homogeneous_inf`: After a unitary norm twist, there is a multiplicative function on the mixed space that is invariant under positive scaling, is smooth and of modulus one on units, and takes the reciprocal twisted archimedean values on embedded nonzero field elements.

  ```lean
  theorem exists_normChar_smooth_homogeneous_inf : ∀ (K : Type) [Field K] [NumberField K] (χ : HChar K), χ.IsUnitary → ∃ (t : ℝ) (φ : mixedSpace K → ℂ), (∀ x y, φ (x * y) = φ x * φ y) ∧ (∀ (r : ℝ) x, 0 < r → φ (r • x) = φ x) ∧ ContDiffOn ℝ ∞ φ {x | mixedEmbedding.norm x ≠ 0} ∧ (∀ x, mixedEmbedding.norm x ≠ 0 → ‖φ x‖ = 1) ∧ ∀ k : Kˣ, φ (mixedEmbedding K (k : K)) = ((((χ * GlobalTheory.HeckeOne.normChar K (-t)).inf k : ℂˣ) : ℂ))⁻¹ := …
  ```

### Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharUniformiserValueIsAlgebraicStatement

7 import steps from Main · 9 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharUniformiserValueIsAlgebraicStatement)

**Restates the algebraicity of Hecke character uniformizer values at every finite place under an integral infinity-type hypothesis.**

The sole declaration restates an imported theorem asserting that all finite-place uniformizer values are algebraic over ℚ when the archimedean component on embedded nonzero field elements is a product of complex embeddings raised to fixed integer powers. The normal-form proof uses it to adjoin the uniformizer values at the finitely many exceptional places when constructing a number field containing all finite local character values.

Key declarations:

- `GlobalTheory.T.heckeChar_uniformiser_value_isAlgebraic`: If the archimedean value of a Hecke character on each embedded nonzero field element k is the product of φ(k) raised to fixed integer exponents over all complex embeddings φ, then its uniformizer value at every finite place is algebraic over ℚ.

  ```lean
  set_option maxHeartbeats 1000000 in
  theorem _root_.GlobalTheory.T.heckeChar_uniformiser_value_isAlgebraic : ∀ (L : Type) [Field L] [NumberField L] (χ : HChar L) (m : (L →+* ℂ) → ℤ), (∀ k : Lˣ, ((χ.inf k : ℂˣ) : ℂ) = ∏ φ : L →+* ℂ, φ (k : L) ^ m φ) → ∀ w : HeightOneSpectrum (𝓞 L), IsAlgebraic ℚ ((χ.val w : ℂˣ) : ℂ) := …
  ```

### Development.AbelianVarietyTheory.PublishedTheorems.Divisors₂.IsCMTypeEmbedding

7 import steps from Main · 120 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.PublishedTheorems.Divisors₂.IsCMTypeEmbedding)

**Constructs unitary Hecke characters over CM fields and derives a reflection law for zeros from the Hecke functional equation.**

The chosen embeddings at the infinite places represent the complex-conjugation orbits, and the least local levels form a finitely supported family of conductor exponents. Over a CM field, a unitary character with the same nonzero infinity exponent at every place is constructed by extending a character from an open subgroup of the ideles. Inversion preserves unitarity and negates the exponents, so the strip-bound hypothesis supplies both completions. The functional equation has a nowhere-zero prefactor, giving the zero correspondence between the character at s and its inverse at 1 − s, which is used to prove nonvanishing at certain integers.

Key declarations:

- `GlobalTheory.Published.HeckeFEModel.isCMType_embedding`: Every complex embedding is the chosen embedding of a unique infinite place or its complex conjugate.

  ```lean
  theorem isCMType_embedding : IsCMType (fun w : InfinitePlace E => w.embedding) := …
  ```
- `GlobalTheory.Published.HeckeFEModel.exists_exponents`: Every Hecke character has a finitely supported family of least local levels indexed by the finite places.

  ```lean
  theorem exists_exponents (χ : HChar E) : ∃ a : HeightOneSpectrum (𝓞 E) →₀ ℕ, ∀ v, ExpAt χ v (a v) := …
  ```
- `GlobalTheory.Published.HeckeFEModel.exists_unitary`: Every CM field admits a unitary Hecke character with the prescribed exponent expT(E) at every chosen infinite-place embedding.

  ```lean
  theorem exists_unitary : ∃ χ : HChar E, χ.IsUnitary ∧
      χ.HasInf (fun w : InfinitePlace E => w.embedding) (fun _ => expT E) := …
  ```
- `GlobalTheory.Published.HeckeFEModel.hypotheses_inhabited`: Over every CM field there are CM-type data, a unitary Hecke character with a nonzero infinity exponent, and finite conductor data, with both completions supplied by the strip-bound hypothesis.

  ```lean
  theorem hypotheses_inhabited (E : Type) [Field E] [NumberField E] [IsCMField E] :
      ∃ (χ : HChar E) (n : InfinitePlace E → ℤ) (a : HeightOneSpectrum (𝓞 E) →₀ ℕ),
        IsCMType (fun w : InfinitePlace E => w.embedding) ∧ IsUnitary χ ∧
        Formalism.L2.Host.HChar.HasInf χ (fun w : InfinitePlace E => w.embedding) n ∧ (∃ i, n i ≠ 0) ∧ (∀ v, ExpAt χ v (a v)) ∧
        (CompletedLBoundedInStrips → ∃ Λ Λ' : ℂ → ℂ, IsCompletedL χ n Λ ∧ IsCompletedL χ⁻¹ (fun i => -n i) Λ') := …
  ```
- `GlobalTheory.Published.HeckeFEModel.zero_iff`: Assuming the Hecke functional equation, the completed L-function of a unitary Hecke character over a totally complex field with nontrivial CM-type infinity data vanishes at s exactly when the completed L-function of its inverse vanishes at 1 − s.

  ```lean
  theorem zero_iff (h : HeckeFunctionalEquationAbs) [IsTotallyComplex E] {I : Type} [Fintype I] {φ : I → E →+* ℂ}
      (hφ : IsCMType φ) {χ : HChar E} {n : I → ℤ} {Λ Λ' : ℂ → ℂ} (hu : IsUnitary χ)
      (hi : Formalism.L2.Host.HChar.HasInf χ φ n) (hn : ∃ i, n i ≠ 0) (h1 : IsCompletedL χ n Λ)
      (h2 : IsCompletedL χ⁻¹ (fun i => -n i) Λ') (s : ℂ) : Λ s = 0 ↔ Λ' (1 - s) = 0 := …
  ```

### Development.AbelianVarietyTheory.PublishedTheorems.TwistedTraceFormula.HeckeLEntireAndNonzeroAtOne

7 import steps from Main · 148 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.PublishedTheorems.TwistedTraceFormula.HeckeLEntireAndNonzeroAtOne)

**States Hecke L-function entireness and nonvanishing at 1 and characterizes the unitary powers of the idelic norm.**

The assertion gives entire continuation for unitary characters outside the norm-power family and continuation analytic and nonzero at 1 for nontrivial unitary characters. The characters |·|^{it} are unramified at every finite prime, with value (N𝔭)^{−it} on a local uniformizer. Uniqueness of the Euler product and a right-hand limit give uniqueness of the continued value at 1. This identifies the value of the entire continuation with the nonzero value supplied by the assertion. The local-value formula is used to shift Euler products under norm twists in the proof of the assertion.

Key declarations:

- `GlobalTheory.Published.HeckeLEntireAndNonzeroAtOne`: States that a unitary Hecke character outside the norm-power family has an entire L-function and that every nontrivial unitary Hecke character has an L-function analytic and nonzero at 1.

  ```lean
  def HeckeLEntireAndNonzeroAtOne : Prop :=
    ∀ (K : Type) [Field K] [NumberField K] (χ : HChar K), χ.IsUnitary →
      ((¬ ∃ t : ℝ, IsNormPow χ t) → ∃ Λ : ℂ → ℂ, IsHeckeL χ Λ) ∧
      (χ ≠ 1 → ∃ Λ : ℂ → ℂ, IsContAtOne χ Λ ∧ Λ 1 ≠ 0)
  ```
- `GlobalTheory.HeckeOne.isNormPow_iff`: Identifies the pointwise condition of being the t-th imaginary power of the idelic norm with equality to the constructed character normChar at parameter t.

  ```lean
  theorem isNormPow_iff (χ : HChar K) (t : ℝ) : IsNormPow χ t ↔ χ = normChar K t := …
  ```
- `GlobalTheory.HeckeOne.val_normChar`: Gives the value of the norm character on a uniformizer at a finite prime 𝔭 as (N𝔭)^{−it}.

  ```lean
  theorem val_normChar (t : ℝ) (v : HeightOneSpectrum (𝓞 K)) :
      (((normChar K t).val v : ℂˣ) : ℂ) = ((Ideal.absNorm v.asIdeal : ℕ) : ℂ) ^ (-((t : ℂ) * Complex.I)) := …
  ```
- `GlobalTheory.HeckeOne.IsContAtOne.apply_one_eq`: Any two functions analytic at 1 that agree with the same Hecke Euler product on Re(s) > 1 have the same value at 1.

  ```lean
  theorem IsContAtOne.apply_one_eq {χ : HChar K} {Λ Λ' : ℂ → ℂ} (h : IsContAtOne χ Λ) (h' : IsContAtOne χ Λ') :
      Λ 1 = Λ' 1 := …
  ```
- `GlobalTheory.HeckeOne.exists_entire_ne_zero`: Under the stated analytic assertion, a unitary Hecke character outside the norm-power family has an entire L-function with nonzero value at 1.

  ```lean
  theorem exists_entire_ne_zero (H : GlobalTheory.Published.HeckeLEntireAndNonzeroAtOne) {χ : HChar K} (hu : χ.IsUnitary)
      (hχ : ¬ ∃ t : ℝ, IsNormPow χ t) : ∃ Λ : ℂ → ℂ, IsHeckeL χ Λ ∧ Λ 1 ≠ 0 := …
  ```

Blueprint: [Hecke L-functions are entire and do not vanish at s = 1](https://github.com/chrisflav/riemann-blueprint/blob/137d97602647e450901981a7decfb86ab3024a48/blueprint/chap-literature/sec-lit-l-functions/thm-hecke-l-entire.md) (Merten's blueprint)

### Development.WeilBound.CoreStatements.PublishedTheorems.SmoothVectorEstimates.FiniteInfinitePlaceProduct

7 import steps from Main · 132 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.WeilBound.CoreStatements.PublishedTheorems.SmoothVectorEstimates.FiniteInfinitePlaceProduct)

**Proves that a Hecke character of a number field is determined by its uniformizer values at almost all finite places.**

An unramified local character is trivial if its uniformizer value is 1, and the archimedean factor on a diagonal field element is the product of its infinite-place factors. Triviality on principal ideles gives a product identity after omitting all finite places outside the finite set of ramified places and places with uniformizer value other than 1. Weak approximation and continuity extend the identity to arbitrary local tuples, so varying one coordinate at a time proves each remaining local factor trivial. Applying this to the quotient of two characters gives rigidity.

Key declarations:

- `PositivityTheory.jumpWindows.FiniteInfinitePlaceProduct.loc_eq_one_of_val`: At an unramified finite place, uniformizer value 1 forces the local character to be trivial on the multiplicative group of the completion.

  ```lean
  theorem loc_eq_one_of_val {ν : HChar L} {v : HeightOneSpectrum (𝓞 L)} (hu : ν.UnrAt v) (hv : ν.val v = 1)
      (x : (v.adicCompletion L)ˣ) : ν.loc v x = 1 := …
  ```
- `PositivityTheory.jumpWindows.FiniteInfinitePlaceProduct.inf_eq_prod`: On a nonzero field element, the archimedean factor equals the product of the local characters evaluated at its images in the infinite completions.

  ```lean
  theorem inf_eq_prod (ν : HChar L) (k : Lˣ) :
      ν.inf k = ∏ w ∈ (Finset.univ : Finset (InfinitePlace L)), ν.locInf w (atInf w k) := …
  ```
- `PositivityTheory.jumpWindows.FiniteInfinitePlaceProduct.eq_one`: A Hecke character whose uniformizer values are 1 at almost all finite places is trivial.

  ```lean
  set_option maxHeartbeats 400000 in
  
  theorem eq_one (ν : HChar L) (h : ∀ᶠ w in cofinite, ν.val w = 1) : ν = 1 := …
  ```
- `PositivityTheory.jumpWindows.finite_infinite_product_eq_one`: Two Hecke characters of the same totally complex number field are equal if their uniformizer values agree at almost all finite places.

  ```lean
  theorem finite_infinite_product_eq_one : HeckeCharacterRigidity := …
  ```

### Formalism.LocalToGlobal.UnitaryNorms.IsUnitaryNormOf

7 import steps from Main · 208 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.LocalToGlobal.UnitaryNorms.IsUnitaryNormOf)

**Defines Hecke characters of a number field, their local components, and their unitary normalization.**

Hecke characters are continuous homomorphisms from the ideles to ℂ× that are trivial on the diagonal copy of the field’s multiplicative group. The module defines local components, conductor and infinity-type conditions, a product-rule predicate, and restrictions formed by multiplying over places above a base-field place. Unramifiedness is equivalent to level zero and makes the local value independent of the uniformizer, since two uniformizers differ by a local unit. A unitary normalization expresses a character as a unitary character times a norm-power character. CharHost uses this relation at exponent 1/2 to define IsEtaAlg.

Key declarations:

- `Formalism.L2.Host.HChar`: Forms the group of continuous homomorphisms from the ideles to ℂ× that are trivial on the diagonally embedded multiplicative group of the number field.

  ```lean
  abbrev HChar : Type := ↥(hcharSub L)
  ```
- `Formalism.L2.Host.HChar.IsAbsPow`: Prescribes an everywhere finitely unramified character with uniformizer value N(v)^(−s) and archimedean value on field elements given by the product of the moduli of all complex embeddings raised to s.

  ```lean
  def IsAbsPow (s : ℝ) : Prop :=
    (∀ v, χ.UnrAt v) ∧ (∀ v, ((χ.val v : ℂˣ) : ℂ) = ((Ideal.absNorm v.asIdeal : ℕ) : ℂ) ^ (-(s : ℂ))) ∧
      ∀ k : Lˣ, ((χ.inf k : ℂˣ) : ℂ) = ∏ φ : L →+* ℂ, ((‖φ (k : L)‖ : ℝ) : ℂ) ^ (s : ℂ)
  ```
- `Formalism.L2.Host.HChar.IsUnitaryNormOf`: States that χ has modulus one on every idele and that χ′ is the product of χ with a character satisfying the norm-power conditions at exponent s.

  ```lean
  def IsUnitaryNormOf (χ' : HChar L) (s : ℝ) : Prop :=
    χ.IsUnitary ∧ ∃ ν : HChar L, ν.IsAbsPow s ∧ χ' = χ * ν
  ```
- `Formalism.L2.Host.HChar.val_eq`: Proves that at an unramified finite place every local uniformizer has the same character value as the chosen uniformizer.

  ```lean
  theorem val_eq {v : HeightOneSpectrum (𝓞 L)} (h : χ.UnrAt v) (x : (v.adicCompletion L)ˣ) (hx : IsUnifAt v x) :
      χ.loc v x = χ.val v := …
  ```
- `Formalism.L2.Host.HChar.ProductRule`: Requires that for every finite set containing all ramified places and each nonzero field element, the archimedean contribution, the local values at places in that set, and the valuation powers of uniformizer values outside it multiply to one.

  ```lean
  def ProductRule : Prop :=
    ∀ S : Finset (HeightOneSpectrum (𝓞 L)), (∀ v, v ∉ S → χ.UnrAt v) → ∀ k : Lˣ,
      χ.inf k * (∏ v ∈ S, χ.locK v k) * (∏ᶠ (v : HeightOneSpectrum (𝓞 L)) (_ : v ∉ S), χ.val v ^ ordF v k) = 1
  ```

### Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.AlgValsFinMain

7 import steps from Main · 15 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.AlgValsFinMain)

**Proves bounded torsion on finite idelic units and a number-field theorem for norm-twisted unramified Hecke character values.**

For each Hecke character, a single positive exponent kills its values on ideles with trivial archimedean component and unit components at every finite place. The proof obtains this exponent by controlling an identity neighborhood through congruences at finitely many places, then uses the torsion bound to show that all norm-twisted unramified uniformizer values lie in one number field when the archimedean component satisfies the corresponding algebraicity condition. The normal-form character construction applies the theorem with twist exponent zero.

Key declarations:

- `PI.AlgValsFin.W.torsUnits`: For every Hecke character of a number field, there is a positive integer N such that its value on every idele with trivial archimedean component and unit components at all finite places is an Nth root of unity.

  ```lean
  theorem torsUnits (L : Type) [Field L] [NumberField L] : TorsUnits L := …
  ```
- `PI.AlgValsFin.W.algValsFin_main`: If multiplying the archimedean component at each k in L× by ∏φ |φ(k)|^s yields ∏φ φ(k)^mφ for fixed integer exponents mφ indexed by the complex embeddings of L and a real exponent s, then the values χᵥ(πᵥ)(Nv)^(-s) at all unramified finite places v lie in a single number field contained in ℂ.

  ```lean
  theorem algValsFin_main (L : Type) [Field L] [NumberField L] : AlgValsFin L := …
  ```

### Development.AbelianVarietyTheory.Definitions.Foundations.AbsCharNotUnitary

8 import steps from Main · 437 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Definitions.Foundations.AbsCharNotUnitary)

**Constructs complex powers of the idelic norm and proves the product rule for Hecke characters on principal ideles.**

The norm powers exponentiate the weighted archimedean log sum minus the log of the associated fractional ideal norm, a difference that vanishes on principal ideles. Purely imaginary powers are unitary, and the exponent-one character has modulus less than one on a finite uniformizer idele. Convergence of finite-place truncations gives the product rule by continuity. The module also constructs faithful characters of prime-field unit groups and obtains algebraic eta characters by a half-norm twist. An importer uses the exponent-one twist to exhibit a nonunitary rank-one cuspidal representation.

Key declarations:

- `GlobalTheory.Mem.Chr.CharModel.absChar`: For each complex exponent s, constructs the Hecke character sending an idele a to exp(s times the logarithmic idelic norm of a).

  ```lean
  def absChar (s : ℂ) : HChar F :=
    ⟨absHom F s, continuous_absHom F s, fun k => Units.ext (by rw [absHom_val, logNorm_principal]; simp)⟩
  ```
- `GlobalTheory.Mem.Chr.CharModel.absChar_isAbsPow`: For real s, the norm power is trivial on finite local units, takes a uniformizer to the prime ideal norm raised to −s, and takes an archimedean diagonal to the product of the embedding moduli raised to s.

  ```lean
  theorem absChar_isAbsPow (s : ℝ) : (absChar F s).IsAbsPow s := …
  ```
- `GlobalTheory.Mem.Chr.CharModel.absChar_not_unitary`: The idelic norm character at exponent one is nonunitary.

  ```lean
  theorem absChar_not_unitary : ¬ (absChar F 1).IsUnitary := …
  ```
- `GlobalTheory.Mem.Chr.CharModel.productRule`: On a principal idele, the archimedean factor, the local factors at a finite set containing the ramified places, and the uniformizer values raised to the corresponding valuations outside that set multiply to one.

  ```lean
  theorem productRule (χ : HChar F) : χ.ProductRule := …
  ```
- `GlobalTheory.Mem.Chr.CharModel.isEtaAlg_of`: Twisting a character satisfying the host's unitary eta conditions by the one-half power of the idelic norm gives a character satisfying its algebraic eta conditions.

  ```lean
  theorem isEtaAlg_of {χ : HChar H.E} (h : IsEtaT H χ) : IsEtaAlg H (χ * absChar H.E ((1 / 2 : ℝ) : ℂ)) := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousInfIdele

8 import steps from Main · 98 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousInfIdele)

**Equates the diagonal and place-by-place formulas for the archimedean type of a continuous idele character.**

Choose one embedding into ℂ for each infinite place and prescribe an integer power of the unit phase of its value on a nonzero field element. The character has the resulting product formula on diagonally embedded nonzero field elements in the archimedean ideles if and only if it has the prescribed formula at each place on the image of those elements. The proof extends the embeddings to the completions and uses density and continuity to isolate each factor, while the reverse implication multiplies the local formulas. CmHeckeCharacterInfinityType uses the equivalence to compute local components of CM Hecke characters.

Key declarations:

- `GlobalTheory.InfTypeLocal.denseRange_atInf`: The multiplicative group of a number field embeds diagonally with dense image in the product of the multiplicative groups of its archimedean completions.

  ```lean
  theorem denseRange_atInf (L : Type) [Field L] [NumberField L] :
      DenseRange (fun (k : Lˣ) (w : InfinitePlace L) => atInf w k) := …
  ```
- `GlobalTheory.InfTypeLocal.continuous_infIdele`: Inserting a nonzero element of an archimedean completion at its place and placing one at every other place defines a continuous map into the ideles.

  ```lean
  theorem continuous_infIdele (L : Type) [Field L] [NumberField L] (w : InfinitePlace L) :
      Continuous (infIdele L w) := …
  ```
- `GlobalTheory.InfTypeLocal.exists_ext`: Every complex embedding extends continuously to the completion at its associated infinite place.

  ```lean
  theorem exists_ext {L : Type} [Field L] (φ : L →+* ℂ) :
      ∃ e : (InfinitePlace.mk φ).Completion →+* ℂ, Continuous e ∧
        ∀ k : L, e (algebraMap L _ k) = φ k := …
  ```
- `GlobalTheory.InfTypeLocal.infType_iff_local`: For a continuous idele character and one embedding per infinite place, the product of prescribed unit-phase powers on the archimedean diagonal is equivalent to the corresponding single-place formulas on nonzero field elements.

  ```lean
  theorem infType_iff_local : ∀ (L : Type) [Field L] [NumberField L] (I : Type) [Fintype I] (φ : I → L →+* ℂ), (Function.Bijective fun i => InfinitePlace.mk (φ i)) → ∀ (ψ : Ideles L →* ℂˣ), Continuous ψ → ∀ n : I → ℤ, ((∀ k : Lˣ, ((ψ (infDiag k) : ℂˣ) : ℂ) = ∏ i, (φ i (k : L) / ((‖φ i (k : L)‖ : ℝ) : ℂ)) ^ n i) ↔ ∀ i (k : Lˣ), ((ψ (infIdele L (InfinitePlace.mk (φ i)) (atInf _ k)) : ℂˣ) : ℂ) = (φ i (k : L) / ((‖φ i (k : L)‖ : ℝ) : ℂ)) ^ n i) := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousOfValuedEq

8 import steps from Main · 142 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousOfValuedEq)

**Extends number-field automorphisms to maps on the corresponding completions and assembles a continuous homomorphism on ideles.**

A valuation-preserving ring homomorphism is continuous when the source valuation is surjective, by comparison of valuation balls at zero. A number-field automorphism extends to continuous maps between the corresponding completions, preserving valuations at finite places. The proof assembles the maps through the archimedean product and the finite restricted product, then passes to units to obtain an idele homomorphism compatible with principal ideles and the local factors. ExistsDvrFrobeniusLift pairs the finite completion maps for a field automorphism fixing Q and its inverse to obtain an automorphism of the completion at Q.

Key declarations:

- `GlobalTheory.Mem.Chr.continuous_of_valued_eq`: A ring homomorphism between rings with valuations in the same ordered value group is continuous if it preserves valuation values and the source valuation is surjective.

  ```lean
  theorem continuous_of_valued_eq {A B Γ : Type*} [Ring A] [Ring B] [LinearOrderedCommGroupWithZero Γ]
      [Valued A Γ] [Valued B Γ] (hs : Function.Surjective (Valued.v : A → Γ)) (f : A →+* B)
      (hf : ∀ x, Valued.v (f x) = Valued.v x) : Continuous f := …
  ```
- `GlobalTheory.Mem.Chr.exists_finCompl_map`: A field automorphism carrying one finite place to another extends to a continuous valuation-preserving ring homomorphism between their completions.

  ```lean
  theorem exists_finCompl_map (c : L ≃+* L) {v v' : HeightOneSpectrum (𝓞 L)} (h : ConjPl c v v') :
      ∃ φ : v.adicCompletion L →+* v'.adicCompletion L, Continuous φ ∧
        (∀ k : L, φ (algebraMap L _ k) = algebraMap L _ (c k)) ∧ ∀ x, Valued.v (φ x) = Valued.v x := …
  ```
- `GlobalTheory.Mem.Chr.exists_infCompl_map`: A field automorphism extends continuously from the completion at the pullback of an infinite place to the completion at that place.

  ```lean
  theorem exists_infCompl_map (c : L ≃+* L) (w : InfinitePlace L) :
      ∃ φ : (w.comap (c : L →+* L)).Completion →+* w.Completion, Continuous φ ∧
        ∀ k : L, φ (algebraMap L _ k) = algebraMap L _ (c k) := …
  ```
- `GlobalTheory.Mem.Chr.conjPl_symm_iff`: An automorphism carries one finite place to another exactly when its inverse carries the second place back to the first.

  ```lean
  theorem conjPl_symm_iff (c : L ≃+* L) (v v' : HeightOneSpectrum (𝓞 L)) : ConjPl c.symm v' v ↔ ConjPl c v v' := …
  ```
- `GlobalTheory.Mem.Chr.exists_isConjI`: Every number-field automorphism induces a continuous idele homomorphism that agrees with it on principal ideles, transports the local factors, and preserves the valuations of finite components and their differences from one.

  ```lean
  theorem exists_isConjI : ∀ (L : Type) [Field L] [NumberField L] (c : L ≃+* L), ∃ C : Ideles L →* Ideles L, IsConjI c C := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.DetCharEqOneOfHasWt

8 import steps from Main · 123 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.DetCharEqOneOfHasWt)

**Constructs a Hecke character of a CM field with the same explicit nonzero exponent at every infinite place.**

The common exponent is twice the order of the torsion subgroup of the integer units. It kills the phase of every embedded integer unit because the square of that phase is the image of the torsion unit obtained by dividing the unit by its complex conjugate. Principal ideles that are units at every finite place come from integer units, so the model character agrees there with the trivial character and the unitary extension theorem enforces triviality on all principal ideles. IsCMTypeEmbedding uses the phase identity in its unitary existence theorem.

Key declarations:

- `GlobalTheory.DefU.NonTriv.exists_unit`: A nonzero field element whose principal idele is a unit at every finite place is a unit of the ring of integers.

  ```lean
  theorem exists_unit (k : Eˣ) (hk : diagUnits E k ∈ unitIdl E) : ∃ u : (𝓞 E)ˣ, ((u : 𝓞 E) : E) = k := …
  ```
- `GlobalTheory.DefU.NonTriv.phase_pow_eq_one`: At every complex embedding, the phase of an integer unit raised to twice the order of the torsion unit group equals one.

  ```lean
  theorem phase_pow_eq_one (u : (𝓞 E)ˣ) (τ : E →+* ℂ) :
      (τ ((u : 𝓞 E) : E) / ((‖τ ((u : 𝓞 E) : E)‖ : ℝ) : ℂ)) ^ (2 * (Nat.card (Units.torsion E) : ℤ)) = 1 := …
  ```
- `GlobalTheory.DefU.NonTriv.expT`: Defines the common infinity exponent as twice the order of the torsion unit group.

  ```lean
  abbrev expT : ℤ := 2 * (Nat.card (Units.torsion E) : ℤ)
  ```
- `GlobalTheory.DefU.NonTriv.expT_ne_zero`: The common exponent is nonzero.

  ```lean
  theorem expT_ne_zero : expT E ≠ 0 := …
  ```
- `GlobalTheory.DefU.NonTriv.exists_hchar`: Every CM field admits a Hecke character whose infinity type is the prescribed common phase power at the chosen embedding of each infinite place.

  ```lean
  theorem exists_hchar : ∃ χ : HChar E, χ.HasInf (fun w : InfinitePlace E => w.embedding) (fun _ => expT E) := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ExistsProdInfMulFinPart

8 import steps from Main · 104 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ExistsProdInfMulFinPart)

**Factors ideles into archimedean and finite parts and shows that local tests determine continuous idele characters.**

Every idele is the product of its single-place archimedean factors and its finite part. Continuity and density extend triviality on embedded nonzero field elements to each finite completion and from the archimedean diagonal to the full archimedean product. Factoring off finitely many uniformizer powers then gives triviality on all ideles, since the remaining finite unit part is handled by local triviality. FiniteInfinitePlaceProduct uses this criterion to prove rigidity for Hecke characters whose uniformizer values are one at almost all finite places.

Key declarations:

- `GlobalTheory.Mem.Chr.Determ.continuous_localIdele`: Inserting a nonzero element of a finite completion at its place and one at all other places defines a continuous map into the ideles.

  ```lean
  theorem continuous_localIdele (v : HeightOneSpectrum (𝓞 L)) : Continuous (localIdele L v) := …
  ```
- `GlobalTheory.Mem.Chr.Determ.exists_prod_inf_mul_finPart`: Every idele is the product of its individual archimedean components, inserted at their respective places, and its finite part.

  ```lean
  theorem exists_prod_inf_mul_finPart (a : Ideles L) :
      ∃ y : ∀ w : InfinitePlace L, (w.Completion)ˣ, (∏ w, infIdele L w (y w)) * finPartI L a = a := …
  ```
- `GlobalTheory.Mem.Chr.Determ.loc_eq_one`: A continuous idele character trivial on the field’s multiplicative group embedded via the completion and inserted at one finite place is trivial on the entire local multiplicative group inserted there.

  ```lean
  theorem loc_eq_one {ψ : Ideles L →* ℂˣ} (hψ : Continuous ψ) (v : HeightOneSpectrum (𝓞 L))
      (h : ∀ k, ψ (localIdele L v (atFin v k)) = 1) (x : (v.adicCompletion L)ˣ) : ψ (localIdele L v x) = 1 := …
  ```
- `GlobalTheory.Mem.Chr.Determ.inf_eq_one`: A continuous idele character trivial on the archimedean diagonal of the field’s multiplicative group is trivial on the entire archimedean factor.

  ```lean
  theorem inf_eq_one {ψ : Ideles L →* ℂˣ} (hψ : Continuous ψ) (h : ∀ k, ψ (infDiag k) = 1)
      (y : ∀ w : InfinitePlace L, (w.Completion)ˣ) : ψ (∏ w, infIdele L w (y w)) = 1 := …
  ```
- `GlobalTheory.Mem.Chr.Determ.eq_one_of_components`: A continuous idele character is trivial if it is trivial on the embedded field multiplicative group at each finite place and on its archimedean diagonal.

  ```lean
  theorem eq_one_of_components {ψ : Ideles L →* ℂˣ} (hψ : Continuous ψ)
      (hf : ∀ v k, ψ (localIdele L v (atFin v k)) = 1) (hi : ∀ k, ψ (infDiag k) = 1) (a : Ideles L) : ψ a = 1 := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharTrivialOnCongruenceUnitIdeles

8 import steps from Main · 162 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.HeckeCharTrivialOnCongruenceUnitIdeles)

**Proves Hecke character triviality on congruence units from archimedean diagonal triviality, unramifiedness off S and level bounds on S.**

The local level bound on the chosen set and unramifiedness elsewhere make the character trivial on each finite local factor of a congruence idele. Finite products of these factors converge in the idele topology by convergence of both the products and their inverses as adeles. Density of the field’s multiplicative group extends triviality on the archimedean diagonal to the full archimedean factor. The statement module re-exports the resulting triviality theorem.

Key declarations:

- `GlobalTheory.LevelChars.LevTriv.prod_localIdele_comp`: A finite product of single-place ideles has the specified components at the selected finite places and component one everywhere else.

  ```lean
  theorem prod_localIdele_comp (z : ∀ v : HeightOneSpectrum (𝓞 L), (v.adicCompletion L)ˣ)
      (F : Finset (HeightOneSpectrum (𝓞 L))) :
      ((∏ v ∈ F, localIdele L v (z v) : Ideles L) : AdeleRing (𝓞 L) L).1 = 1 ∧
      ∀ w, ((∏ v ∈ F, localIdele L v (z v) : Ideles L) : AdeleRing (𝓞 L) L).2 w =
        if w ∈ F then ((z w : (w.adicCompletion L)ˣ) : w.adicCompletion L) else 1 := …
  ```
- `GlobalTheory.LevelChars.LevTriv.tendsto_prod_localIdele`: For a family of finite local units, the net of finite products of the corresponding single-place ideles converges in the adele ring to the element with those components and archimedean component one.

  ```lean
  theorem tendsto_prod_localIdele (z : ∀ v : HeightOneSpectrum (𝓞 L), (v.adicCompletion L)ˣ) (hz : ∀ v, IsUnitAt v (z v))
      (c : Ideles L) (hc1 : (c : AdeleRing (𝓞 L) L).1 = 1)
      (hc2 : ∀ v, (c : AdeleRing (𝓞 L) L).2 v = ((z v : (v.adicCompletion L)ˣ) : v.adicCompletion L)) :
      Tendsto (fun F : Finset (HeightOneSpectrum (𝓞 L)) => ((∏ v ∈ F, localIdele L v (z v) : Ideles L) : AdeleRing (𝓞 L) L))
        atTop (𝓝 (c : AdeleRing (𝓞 L) L)) := …
  ```
- `GlobalTheory.LevelChars.LevTriv.eq_one_fin`: A Hecke character unramified off the chosen set and of level at most N on that set is trivial on the level N congruence unit ideles with archimedean component one.

  ```lean
  theorem eq_one_fin (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ) (ψ : HChar L) (hU : ∀ v, v ∉ S → ψ.UnrAt v)
      (hN : ∀ v ∈ S, ψ.LevelLe v N) (f : Ideles L) (hf1 : (f : AdeleRing (𝓞 L) L).1 = 1)
      (hf : f ∈ GlobalTheory.LevelChars.levSub L S N) : ψ.1 f = 1 := …
  ```
- `GlobalTheory.LevelChars.LevTriv.eq_one_inf`: A Hecke character trivial on the archimedean diagonal image of the field’s multiplicative group is trivial on the full archimedean idele factor.

  ```lean
  theorem eq_one_inf (ψ : HChar L) (hinf : ∀ k : Lˣ, ψ.inf k = 1) (x : (InfiniteAdeleRing L)ˣ) :
      ψ.1 (GlobalTheory.HeckeSplit.infIdele L x) = 1 := …
  ```
- `GlobalTheory.LevelChars.LevTriv.levSub_triv`: The archimedean diagonal triviality, unramifiedness, and local level hypotheses together imply triviality on the entire congruence unit subgroup.

  ```lean
  theorem levSub_triv : ∀ (L : Type) [Field L] [NumberField L] (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ)
      (ψ : Formalism.L2.Host.HChar L), (∀ k : Lˣ, ψ.inf k = 1) → (∀ v, v ∉ S → ψ.UnrAt v) → (∀ v ∈ S, ψ.LevelLe v N) →
      ∀ a ∈ GlobalTheory.LevelChars.levSub L S N, ψ.1 a = 1 := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.RayClassGroupIdelicFiniteIndex

8 import steps from Main · 114 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.RayClassGroupIdelicFiniteIndex)

**Proves finiteness of the idele group modulo principal ideles and a congruence unit subgroup of finite level.**

Compactness of the local integer rings gives finite approximating sets modulo the prescribed prime powers. The ultrametric inequality then lets the proof inject the cosets of the congruence subgroup in the group of ideles that are units at every finite place into a finite product of those sets. At empty level, finite index follows from the ordinary ideal class group, and multiplicativity of indices gives the result at general finite level. RayClassGroupIdelicFiniteIndexStatement re-exports the theorem.

Key declarations:

- `GlobalTheory.LevelChars.exists_finset_close`: At any finite place and any nonnegative exponent, a finite set in the completion meets every congruence class of local integers modulo the corresponding prime power.

  ```lean
  theorem exists_finset_close (L : Type) [Field L] [NumberField L] (v : HeightOneSpectrum (𝓞 L)) (N : ℕ) :
      ∃ F : Finset (v.adicCompletion L), ∀ x : v.adicCompletion L, Valued.v x ≤ 1 →
        ∃ f ∈ F, Valued.v (x - f) ≤ WithZero.exp (-(N : ℤ)) := …
  ```
- `GlobalTheory.LevelChars.relIndex_levSub_ne_zero`: The congruence subgroup for a finite set of places has finite index in the subgroup of ideles that are units at all finite places.

  ```lean
  theorem relIndex_levSub_ne_zero (L : Type) [Field L] [NumberField L] (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ)
      (hS : S.Finite) : (levSub L S N).relIndex (levSub L ∅ 0) ≠ 0 := …
  ```
- `GlobalTheory.LevelChars.finiteIndex_range_sup_levSub_empty`: The subgroup generated by principal ideles and ideles that are units at every finite place has finite index in the idele group.

  ```lean
  theorem finiteIndex_range_sup_levSub_empty (L : Type) [Field L] [NumberField L] :
      ((Units.map (algebraMap L (AdeleRing (𝓞 L) L)).toMonoidHom).range ⊔ levSub L ∅ 0).FiniteIndex := …
  ```
- `GlobalTheory.LevelChars.rayClass_finite`: For a finite set of finite places and a common congruence exponent, the subgroup generated by principal ideles and the corresponding congruence unit ideles has finite index.

  ```lean
  theorem rayClass_finite : ∀ (L : Type) [Field L] [NumberField L] (S : Set (HeightOneSpectrum (𝓞 L))) (N : ℕ), S.Finite →
      ((Units.map (algebraMap L (AdeleRing (𝓞 L) L)).toMonoidHom).range ⊔ GlobalTheory.LevelChars.levSub L S N).FiniteIndex := …
  ```

### Development.AbelianVarietyTheory.Proofs.TwistedOperators.ExistsSmoothMulExtensionOfContinuousChar

8 import steps from Main · 151 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.TwistedOperators.ExistsSmoothMulExtensionOfContinuousChar)

**Extends continuous characters of archimedean units to multiplicative functions smooth on the unit locus.**

The extension is defined by zero on nonunits, and the unit locus is exactly the set of points of nonzero mixed norm. Convolution with a smooth compactly supported bump makes a continuous character of a finite-dimensional real vector space a nonzero constant multiple of its smooth convolution. Applying this to the pullback by coordinatewise exponentiation gives smoothness at the identity via the local logarithm, and multiplicative translation gives smoothness at every unit. The norm-twist construction uses the extension to obtain a smooth, degree-zero archimedean factor for a unitary Hecke character.

Key declarations:

- `GlobalTheory.contDiff_of_continuous_of_map_add_eq_mul`: A continuous complex-valued function on a finite-dimensional real normed vector space that is nonzero at zero and carries addition to multiplication is smooth.

  ```lean
  theorem contDiff_of_continuous_of_map_add_eq_mul {E : Type} [NormedAddCommGroup E]
      [NormedSpace ℝ E] [FiniteDimensional ℝ E] (f : E → ℂ) (hf : Continuous f)
      (hadd : ∀ x y, f (x + y) = f x * f y) (h0 : f 0 ≠ 0) : ContDiff ℝ ∞ f := …
  ```
- `GlobalTheory.mixedExpUnit`: Coordinatewise real and complex exponentiation sends the mixed archimedean space into its group of units.

  ```lean
  noncomputable def mixedExpUnit (K : Type) [Field K] (y : mixedSpace K) : (mixedSpace K)ˣ :=
    ⟨(fun w => Real.exp (y.1 w), fun w => Complex.exp (y.2 w)),
      (fun w => Real.exp (-y.1 w), fun w => Complex.exp (-y.2 w)),
      Prod.ext (funext fun w => by simp [← Real.exp_add])
        (funext fun w => by simp [← Complex.exp_add]),
      Prod.ext (funext fun w => by simp [← Real.exp_add])
        (funext fun w => by simp [← Complex.exp_add])⟩
  ```
- `GlobalTheory.eventually_mixedExpUnit_mixedLog`: Coordinatewise exponentiation composed with the coordinatewise logarithm is the identity near the multiplicative identity.

  ```lean
  theorem eventually_mixedExpUnit_mixedLog (K : Type) [Field K] [NumberField K] :
      ∀ᶠ x in 𝓝 (1 : mixedSpace K), (mixedExpUnit K (mixedLog K x) : mixedSpace K) = x := …
  ```
- `GlobalTheory.mixedSpace_norm_ne_zero_iff_isUnit`: A point of the mixed archimedean space is a unit exactly when its mixed norm is nonzero.

  ```lean
  theorem mixedSpace_norm_ne_zero_iff_isUnit (K : Type) [Field K] [NumberField K]
      (x : mixedSpace K) : mixedEmbedding.norm x ≠ 0 ↔ IsUnit x := …
  ```
- `GlobalTheory.exists_smooth_mul_extension_of_continuous_char`: Every continuous character of the mixed archimedean unit group of a number field into ℂˣ extends to a multiplicative complex-valued function on the whole space that is smooth on the nonzero-norm locus.

  ```lean
  theorem exists_smooth_mul_extension_of_continuous_char :
      ∀ (K : Type) [Field K] [NumberField K] (ψ : (mixedSpace K)ˣ →* ℂˣ), Continuous ψ → ∃ φ : mixedSpace K → ℂ, (∀ x y, φ (x * y) = φ x * φ y) ∧ ContDiffOn ℝ ∞ φ {x | mixedEmbedding.norm x ≠ 0} ∧ (∀ u : (mixedSpace K)ˣ, φ u = (ψ u : ℂ)) ∧ ∀ x : mixedSpace K, mixedEmbedding.norm x ≠ 0 ↔ IsUnit x := …
  ```

### Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharUniformiserValueIsAlgebraic

8 import steps from Main · 75 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.TwistedOperators.HeckeCharUniformiserValueIsAlgebraic)

**Proves that a Hecke character with integral infinity type takes an algebraic value on the chosen uniformizer at each finite place.**

The archimedean value on a nonzero field element is algebraic because it is a product of integer powers of its complex embeddings. At a given finite place, the proof principalizes a positive power of the prime ideal and uses triviality on principal ideles to relate its generator’s local and archimedean values. Raising to a common exponent kills the finite-unit factors, so a positive power of the uniformizer value is algebraic. One importer restates the uniformizer theorem, and another uses the embedding lemma to prove algebraicity of finite idele values under a restriction hypothesis.

Key declarations:

- `GlobalTheory.isAlgebraic_embedding_apply`: The image of any element of a number field under a complex embedding is algebraic over ℚ.

  ```lean
  theorem isAlgebraic_embedding_apply {L : Type} [Field L] [NumberField L] (φ : L →+* ℂ) (x : L) :
      IsAlgebraic ℚ (φ x) := …
  ```
- `GlobalTheory.heckeChar_val_isAlgebraic`: If the archimedean component of a Hecke character on embedded nonzero field elements is a product of complex embeddings raised to fixed integer powers, then its uniformizer value at every finite place is algebraic over ℚ.

  ```lean
  theorem heckeChar_val_isAlgebraic : ∀ (L : Type) [Field L] [NumberField L] (χ : HChar L) (m : (L →+* ℂ) → ℤ),
      (∀ k : Lˣ, ((χ.inf k : ℂˣ) : ℂ) = ∏ φ : L →+* ℂ, φ (k : L) ^ m φ) →
      ∀ w : HeightOneSpectrum (𝓞 L), IsAlgebraic ℚ ((χ.val w : ℂˣ) : ℂ) := …
  ```

### Formalism.LocalToGlobal.UnitaryNorms.CharTransport

8 import steps from Main · 496 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.LocalToGlobal.UnitaryNorms.CharTransport)

**Constructs the pullback of Hecke characters along number-field isomorphisms and proves its local compatibility.**

A field isomorphism induces maps on completions and a continuous idele map, along which Hecke characters are pulled back. Pullback preserves unitarity, unramifiedness, and norm-twisted uniformizer values at unramified places, and carries infinity types by precomposition of embeddings. Assuming almost-everywhere unramifiedness and determination by almost all unramified values on both fields, pullback along the inverse field isomorphism gives the inverse on character groups. HeckeCharRealTransport uses the pullback to carry characters to a CM field’s maximal real subfield.

Key declarations:

- `Formalism.L2.Host.CT.compEquiv`: Extends a number-field isomorphism to a field isomorphism between the completions at corresponding finite places.

  ```lean
  def compEquiv (j : E ≃+* L) (w : HeightOneSpectrum (𝓞 E)) :
      w.adicCompletion E ≃+* (plMap j w).adicCompletion L :=
    (HeightOneSpectrum.adicCompletion.equiv E w).trans ((UniformSpace.Completion.mapRingEquiv
      (WithVal.congr (w.valuation E) ((plMap j w).valuation L) j) (continuous_congrVal j w)
      (continuous_congrVal_symm j w)).trans (HeightOneSpectrum.adicCompletion.equiv L (plMap j w)).symm)
  ```
- `Formalism.L2.Host.CT.transport`: Pulls back Hecke characters by precomposition with the induced idele map and respects character multiplication.

  ```lean
  def transport (j : E ≃+* L) : HChar L →* HChar E where
    toFun χ := ⟨χ.1.comp (idMap j), χ.2.1.comp (continuous_idMap j), fun k => by
      rw [MonoidHom.comp_apply, idMap_diag, χ.2.2]⟩
    map_one' := rfl
    map_mul' _ _ := rfl
  ```
- `Formalism.L2.Host.CT.transport_valTw`: Identifies the uniformizer values twisted by the same power of the prime norm at corresponding unramified places.

  ```lean
  theorem transport_valTw (j : E ≃+* L) (χ : HChar L) (s : ℝ) (w : HeightOneSpectrum (𝓞 E)) (h : χ.UnrAt (plMap j w)) :
      (transport j χ).valTw s w = χ.valTw s (plMap j w) := …
  ```
- `Formalism.L2.Host.CT.transport_hasInf`: Characterizes the infinity type of the pullback by precomposing its indexing embeddings with the inverse field isomorphism on the original character side and keeping the exponents fixed.

  ```lean
  theorem transport_hasInf (j : E ≃+* L) (χ : HChar L) {I : Type} [Fintype I] (φ : I → E →+* ℂ) (n : I → ℤ) :
      (transport j χ).HasInf φ n ↔ χ.HasInf (fun i => (φ i).comp j.symm.toRingHom) n := …
  ```
- `Formalism.L2.Host.CT.transportEquiv`: Gives an isomorphism of Hecke character groups when continuous idele characters are unramified almost everywhere and almost-everywhere agreement at unramified uniformizers determines Hecke characters on both fields.

  ```lean
  def transportEquiv (hS : SMOne E) (hU : UnrAE E) (hS' : SMOne L) (hU' : UnrAE L) (j : E ≃+* L) : HChar L ≃* HChar E where
    toFun := transport j
    invFun := transport j.symm
    left_inv χ := by
      have h := transport_transport_symm hS' hU' j.symm χ
      rwa [RingEquiv.symm_symm] at h
    right_inv χ := transport_transport_symm hS hU j χ
    map_mul' := map_mul _
  ```

### Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.AlgValsFinOfTors

8 import steps from Main · 14 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.AlgValsFinOfTors)

**Derives a common number field for norm-twisted unramified Hecke character values from bounded torsion on finite idelic units.**

The theorem assumes that each Hecke character has a common torsion exponent on finite idelic units and that the norm twist makes its archimedean component algebraic on principal elements. It combines the decomposition of principal ideles and local valuation and norm identities with relations in the ideal class group to place all twisted unramified uniformizer values in one number field. AlgValsFinMain supplies the torsion bound and applies this implication.

Key declarations:

- `PI.AlgValsFin.W.algValsFin_of_tors`: If each Hecke character has a positive exponent that kills its values on all finite idelic units, then for any character χ and real s such that χ∞(k)∏φ |φ(k)|^s = ∏φ φ(k)^mφ for every k in L× and fixed integer exponents mφ indexed by the complex embeddings of L, all χᵥ(πᵥ)(Nv)^(-s) at unramified finite places v belong to one number field inside ℂ.

  ```lean
  theorem algValsFin_of_tors (L : Type) [Field L] [NumberField L] (hT : TorsUnits L) : AlgValsFin L := …
  ```

### Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.InvMemUFin

8 import steps from Main · 114 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.InvMemUFin)

**Finds finite-place congruences forcing finite idelic units with archimedean component 1 into open identity neighborhoods of a number field.**

An identity neighborhood in the ideles contains every finite idelic unit congruent to 1 to a common depth at a suitable finite set of places. The proof pulls the neighborhood back to a product of local integer rings for the idele and its inverse, then uses the fact that inversion preserves the valuation of the difference from 1 to impose the same congruences on both. AlgValsFinMain uses this neighborhood result to prove bounded torsion for Hecke character values on finite idelic units.

Key declarations:

- `PI.AlgValsFin.W.locNb`: Every neighborhood of 1 in the ring of integers of a finite completion contains all elements congruent to 1 modulo some power of its maximal ideal.

  ```lean
  theorem locNb (v : HeightOneSpectrum (𝓞 L))
      (s : Set ((v.adicCompletionIntegers L : Set (v.adicCompletion L))))
      (hs : s ∈ 𝓝 (⟨1, (v.adicCompletionIntegers L).one_mem⟩ : (v.adicCompletionIntegers L : Set (v.adicCompletion L)))) :
      ∃ n : ℕ, ∀ y : (v.adicCompletionIntegers L : Set (v.adicCompletion L)),
        Valued.v ((y : v.adicCompletion L) - 1) ≤ exp (-(n : ℤ)) → y ∈ s := …
  ```
- `PI.AlgValsFin.W.toInt`: Takes the component of a finite idelic unit at a chosen finite place as an element of the local ring of integers.

  ```lean
  def toInt (x : Ideles L) (hx : x ∈ UFin L) (v : HeightOneSpectrum (𝓞 L)) :
      (v.adicCompletionIntegers L : Set (v.adicCompletion L)) :=
    ⟨(x : AdeleRing (𝓞 L) L).2 v, (mem_adicCompletionIntegers _ _ _).2 (hx.2 v).le⟩
  ```
- `PI.AlgValsFin.W.inv_mem_UFin`: The inverse of an idele with trivial archimedean component and unit components at every finite place has the same properties.

  ```lean
  theorem inv_mem_UFin {x : Ideles L} (hx : x ∈ UFin L) : x⁻¹ ∈ UFin L := …
  ```
- `PI.AlgValsFin.W.val_inv_sub`: At every finite place v, the differences xᵥ⁻¹ − 1 and xᵥ − 1 have the same valuation for a finite idelic unit x.

  ```lean
  theorem val_inv_sub {x : Ideles L} (hx : x ∈ UFin L) (v : HeightOneSpectrum (𝓞 L)) :
      Valued.v ((x⁻¹ : Ideles L).val.2 v - 1) = Valued.v ((x : AdeleRing (𝓞 L) L).2 v - 1) := …
  ```
- `PI.AlgValsFin.W.exists_nbhd`: Every open identity neighborhood in the ideles contains all finite idelic units congruent to 1 modulo the nth power of the local maximal ideal at each place in some finite set, for a single nonnegative integer n.

  ```lean
  theorem exists_nbhd (W : Set (Ideles L)) (hW : IsOpen W) (h1 : (1 : Ideles L) ∈ W) :
      ∃ (S : Finset (HeightOneSpectrum (𝓞 L))) (n : ℕ), ∀ x ∈ UFin L,
        (∀ v ∈ S, Valued.v ((x : AdeleRing (𝓞 L) L).2 v - 1) ≤ exp (-(n : ℤ))) → x ∈ W := …
  ```

### Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.TorsUnitsOfNbhd

8 import steps from Main · 83 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.TorsUnitsOfNbhd)

**Derives a uniform torsion exponent for each Hecke character on finite idelic units from congruences near the identity.**

The proof multiplies local exponents to obtain a single power that sends every finite idelic unit into prescribed congruence classes of 1 at finitely many places. Assuming such congruences suffice for membership in any identity neighborhood, it forces every integer power of each resulting character value into the open unit disk centered at 1, so the value is 1. AlgValsFinMain supplies the neighborhood hypothesis and applies the resulting torsion bound.

Key declarations:

- `PI.AlgValsFin.W.ufinSub`: Defines the subgroup of ideles with archimedean component 1 and unit components at every finite place.

  ```lean
  def ufinSub (L : Type) [Field L] [NumberField L] : Subgroup (Ideles L)
  ```
- `PI.AlgValsFin.W.pow_close`: For any finite set of finite places and any nonnegative integer n, there is a single positive exponent that sends every finite idelic unit to 1 modulo the nth power of the local maximal ideal at each selected place.

  ```lean
  theorem pow_close (S : Finset (HeightOneSpectrum (𝓞 L))) (n : ℕ) :
      ∃ M : ℕ, 0 < M ∧ ∀ y ∈ UFin L, ∀ v ∈ S,
        Valued.v (((y ^ M : Ideles L) : AdeleRing (𝓞 L) L).2 v - 1) ≤ WithZero.exp (-(n : ℤ)) := …
  ```
- `PI.AlgValsFin.W.torsUnits_of_nbhd`: If every open identity neighborhood contains all finite idelic units satisfying congruences to 1 to a common depth at a suitable finite set of places, then each Hecke character has a positive exponent that kills all its values on finite idelic units.

  ```lean
  theorem torsUnits_of_nbhd (L : Type) [Field L] [NumberField L]
      (hnb : ∀ W : Set (Ideles L), IsOpen W → (1 : Ideles L) ∈ W →
        ∃ (S : Finset (HeightOneSpectrum (𝓞 L))) (n : ℕ), ∀ x ∈ UFin L,
          (∀ v ∈ S, Valued.v ((x : AdeleRing (𝓞 L) L).2 v - 1) ≤ WithZero.exp (-(n : ℤ))) → x ∈ W) :
      TorsUnits L := …
  ```

### ReciprocityTheory.NeutralLocalFields.LocalFieldComparison.HCFFromRecipB

8 import steps from Main · 176 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/ReciprocityTheory.NeutralLocalFields.LocalFieldComparison.HCFFromRecipB)

**Constructs archimedean idèle embeddings and proves openness of kernels after restriction to finite abelian extensions.**

The constructions insert a local unit at one infinite place and extract the finite and infinite parts of adèles and idèles. The composite from idèles through the idèle class group and a continuous map to the abelianized absolute Galois group, followed by restriction to a finite abelian extension, has open kernel. Taking real and complex roots and multiplying over the infinite places shows that a subgroup containing all m-th powers for some m > 0 and the individual real sign idèles contains every idèle with finite part 1. The single-place embeddings are used to define the archimedean factors of Hecke characters.

Key declarations:

- `ReciprocityTheory.Neutral.Bridge.HCFR.infIdele`: Embeds the multiplicative group of an archimedean completion into the idèles by setting every other component to 1.

  ```lean
  def infIdele (w : InfinitePlace K) : (w.Completion)ˣ →* Ideles K :=
    Units.map
      { toFun := fun x => ((Pi.mulSingle w x : InfiniteAdeleRing K), (1 : FiniteAdeleRing (𝓞 K) K))
        map_one' := Prod.ext (Pi.mulSingle_one w) rfl
        map_mul' := fun x y => Prod.ext (Pi.mulSingle_mul w x y) (mul_one 1).symm }
  ```
- `ReciprocityTheory.Neutral.Bridge.HCFR.isOpen_ker`: Proves that a continuous homomorphism from the idèle class group to the abelianized absolute Galois group has open kernel on idèles after restriction to any finite abelian extension.

  ```lean
  theorem isOpen_ker (Art : IdeleClassGroup K →* Field.absoluteGaloisGroupAbelianization K)
      (hc : Continuous Art) (E : IntermediateField K (AlgebraicClosure K)) (h : IsFiniteAbelian K E) :
      IsOpen ((((abRestrict K E h).comp Art).comp (QuotientGroup.mk' (diagUnits K).range)).ker :
        Set (Ideles K)) := …
  ```
- `ReciprocityTheory.Neutral.Bridge.HCFR.infIdele_mem`: Shows that a subgroup containing all m-th powers for a fixed positive integer m and the copy of −1 at each real place contains the image of every archimedean completion’s multiplicative group.

  ```lean
  theorem infIdele_mem (N : Subgroup (Ideles K)) (m : ℕ) (hm : 0 < m) (hpow : ∀ x : Ideles K, x ^ m ∈ N)
      (hneg : ∀ w : InfinitePlace K, w.IsReal → infIdele K w (-1) ∈ N) (w : InfinitePlace K)
      (y : (w.Completion)ˣ) : infIdele K w y ∈ N := …
  ```
- `ReciprocityTheory.Neutral.Bridge.HCFR.mem_of_pow`: Shows that a subgroup containing all m-th powers for a fixed positive integer m and the copy of −1 at each real place contains every idèle with finite part 1.

  ```lean
  theorem mem_of_pow (N : Subgroup (Ideles K)) (m : ℕ) (hm : 0 < m) (hpow : ∀ x : Ideles K, x ^ m ∈ N)
      (hneg : ∀ w : InfinitePlace K, w.IsReal → infIdele K w (-1) ∈ N)
      (a : Ideles K) (ha : (a : AdeleRing (𝓞 K) K).2 = 1) : a ∈ N := …
  ```

### Development.AbelianVarietyTheory.Definitions.Foundations.DiagUnitsEqLocalIdele

9 import steps from Main · 119 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Definitions.Foundations.DiagUnitsEqLocalIdele)

**Collects coordinate, continuity, and intersection lemmas for the local and diagonal maps into the ideles.**

Projection to individual coordinates proves injectivity of the local maps and shows that a finite local image meets either the diagonal image or an archimedean local image only at the identity. The diagonal map is injective, and both local maps are continuous by the product and restricted-product constructions, facts used by importers to compute local factors of the idelic norm and assemble continuous finite products of local ideles.

Key declarations:

- `GlobalTheory.Mem.Chr.Model.diagUnits_injective`: The diagonal map from the multiplicative group of the number field to its idele group is injective.

  ```lean
  theorem diagUnits_injective : Function.Injective (diagUnits L) := …
  ```
- `GlobalTheory.Mem.Chr.Model.localIdele_continuous`: Inserting a nonzero element of a finite completion at its place and putting one elsewhere defines a continuous map into the ideles.

  ```lean
  theorem localIdele_continuous (v : HeightOneSpectrum (𝓞 L)) : Continuous (localIdele L v) := …
  ```
- `GlobalTheory.Mem.Chr.Model.infIdele_continuous`: Inserting a nonzero element of an archimedean completion at its place and putting one elsewhere defines a continuous map into the ideles.

  ```lean
  theorem infIdele_continuous (w : InfinitePlace L) : Continuous (infIdele L w) := …
  ```
- `GlobalTheory.Mem.Chr.Model.diagUnits_eq_localIdele`: If a principal idele equals an idele supported at one finite place, the underlying field element is one.

  ```lean
  theorem diagUnits_eq_localIdele (v : HeightOneSpectrum (𝓞 L)) (a : Lˣ) (x : (v.adicCompletion L)ˣ)
      (h : diagUnits L a = localIdele L v x) : a = 1 := …
  ```
- `GlobalTheory.Mem.Chr.Model.localIdele_eq_infIdele`: If a finite single-place idele equals an archimedean single-place idele, both local entries are one.

  ```lean
  theorem localIdele_eq_infIdele (v : HeightOneSpectrum (𝓞 L)) (w : InfinitePlace L) (x : (v.adicCompletion L)ˣ)
      (y : (w.Completion)ˣ) (h : localIdele L v x = infIdele L w y) : x = 1 ∧ y = 1 := …
  ```

### Development.AbelianVarietyTheory.Definitions.Foundations.IsUnitaryOfOrder

9 import steps from Main · 506 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Definitions.Foundations.IsUnitaryOfOrder)

**Defines Hecke characters and their local and infinity-type conditions, and proves that finite-order characters are unitary.**

Hecke characters are continuous homomorphisms from the ideles to ℂˣ that are trivial on principal ideles. Local factors specify conductor bounds, and restriction at a subfield place is evaluated on subfield elements by multiplying the factors at places above it. The module specifies character families by ramification, restriction, and infinity type, and shows how class characters act by twisting. A positive power relation forces every character value to have modulus one. An importer uses the norm-power and normalization predicates to construct algebraic eta characters by a half-norm twist.

Key declarations:

- `GlobalTheory.Mem.Chr.HChar`: The group of continuous complex-valued idele characters trivial on the diagonally embedded multiplicative group of the number field.

  ```lean
  abbrev HChar : Type := ↥(hcharSub L)
  ```
- `GlobalTheory.Mem.Chr.HChar.IsCond`: A nonzero integral ideal is a conductor when its exponent at each finite prime is at most n exactly when the local character is trivial on units congruent to one modulo the nth prime power.

  ```lean
  def IsCond (𝔣 : Ideal (𝓞 L)) : Prop :=
    𝔣 ≠ ⊥ ∧ ∀ (v : HeightOneSpectrum (𝓞 L)) (n : ℕ), χ.LevelLe v n ↔ ¬ v.asIdeal ^ (n + 1) ∣ 𝔣
  ```
- `GlobalTheory.Mem.Chr.HChar.IsUnitaryNormOf`: A character is a unitary normalization of another at exponent s when it is unitary and the other is its product with a character unramified at every finite place and satisfying the norm-power formulas at exponent s on finite uniformizers and at infinity.

  ```lean
  def IsUnitaryNormOf (χ' : HChar L) (s : ℝ) : Prop :=
    χ.IsUnitary ∧ ∃ ν : HChar L, ν.IsAbsPow s ∧ χ' = χ * ν
  ```
- `GlobalTheory.Mem.Chr.IsEtaT.sq_chiPsi`: Squaring a unitary eta character gives an everywhere finitely unramified unitary character with trivial subfield restrictions and phase exponent two at each selected embedding.

  ```lean
  theorem IsEtaT.sq_chiPsi {χ : HChar H.E} (h : IsEtaT H χ) : IsChiPsi H (χ * χ)
  ```
- `GlobalTheory.Mem.Chr.HChar.isUnitary_of_order`: A Hecke character whose nth power is trivial for some positive integer n is unitary.

  ```lean
  theorem HChar.isUnitary_of_order {L : Type} [Field L] [NumberField L] {χ : HChar L} {n : ℕ} (hn : 0 < n) (h : χ.OrderDvd n) :
      χ.IsUnitary := …
  ```

### Development.AbelianVarietyTheory.Definitions.Foundations.ValuedAlgebraMapEqOne

9 import steps from Main · 48 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Definitions.Foundations.ValuedAlgebraMapEqOne)

**Defines the diagonal and single-place idele maps and proves a basic criterion for an algebraic integer to be a local unit.**

The idele group is the unit group of the adele ring, and the single-place maps fill every other coordinate with one. Comparing the completion valuation with the valuation on the ring of integers shows that an integer outside the corresponding prime ideal has multiplicative valuation one, a criterion used downstream to verify local unit conditions.

Key declarations:

- `GlobalTheory.Mem.Chr.diagUnits`: Sends a nonzero field element to the idele given by its image in every completion.

  ```lean
  def diagUnits : Lˣ →* Ideles L := Units.map (algebraMap L (AdeleRing (𝓞 L) L)).toMonoidHom
  ```
- `GlobalTheory.Mem.Chr.finSingle`: Sends an element of a finite completion to the finite adele with that entry at the chosen place and one at all other finite places.

  ```lean
  def finSingle (v : HeightOneSpectrum (𝓞 L)) : v.adicCompletion L →* FiniteAdeleRing (𝓞 L) L
  ```
- `GlobalTheory.Mem.Chr.localIdele`: Sends a nonzero element of a finite completion to the idele with that entry at the chosen place and one everywhere else.

  ```lean
  def localIdele (v : HeightOneSpectrum (𝓞 L)) : (v.adicCompletion L)ˣ →* Ideles L :=
    Units.map ((MonoidHom.inr (InfiniteAdeleRing L) (FiniteAdeleRing (𝓞 L) L)).comp (finSingle L v))
  ```
- `GlobalTheory.Mem.Chr.infIdele`: Sends a nonzero element of an archimedean completion to the idele with that entry at the chosen place and one everywhere else.

  ```lean
  def infIdele (w : InfinitePlace L) : (w.Completion)ˣ →* Ideles L :=
    Units.map ((MonoidHom.inl (InfiniteAdeleRing L) (FiniteAdeleRing (𝓞 L) L)).comp
      (MonoidHom.mulSingle (fun w : InfinitePlace L => w.Completion) w))
  ```
- `GlobalTheory.Mem.Chr.valued_algebraMap_eq_one`: An algebraic integer outside a nonzero prime ideal has multiplicative valuation one in the completion at that prime.

  ```lean
  theorem valued_algebraMap_eq_one (v : HeightOneSpectrum (𝓞 L)) (x : 𝓞 L) (hx : x ∉ v.asIdeal) :
      Valued.v (algebraMap L (v.adicCompletion L) (algebraMap (𝓞 L) L x)) = 1 := …
  ```

### Development.AbelianVarietyTheory.Definitions.GaloisGeometry.DegOneIffSurjective

9 import steps from Main · 122 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Definitions.GaloisGeometry.DegOneIffSurjective)

**Defines Hecke characters, local triviality and unramifiedness, and the residue-degree-one condition, with basic idele projection lemmas.**

The module provides definitions and elementary identities for Hecke characters, including the archimedean inclusion, the archimedean and finite projections, and the residue-degree-one condition as surjectivity of reduction from the base ring of integers. Direct importers use the projection identities to prove local factorization of continuous idele characters and the degree-one predicate to study the action of Galois automorphisms on finite primes.

Key declarations:

- `GlobalTheory.HeckeSplit.IsHeckeChar`: A complex-valued multiplicative idele character is a Hecke character if it is continuous and trivial on the diagonally embedded nonzero field elements.

  ```lean
  def IsHeckeChar (χ : Ideles L →* ℂˣ) : Prop := Continuous χ ∧ ∀ k : Lˣ, χ (diagUnits L k) = 1
  ```
- `GlobalTheory.HeckeSplit.TrivAt`: Triviality at a finite place means that the restriction along the local idele inclusion is identically one on the multiplicative group of the completion.

  ```lean
  def TrivAt (χ : Ideles L →* ℂˣ) (v : HeightOneSpectrum (𝓞 L)) : Prop :=
    ∀ x : (v.adicCompletion L)ˣ, χ (localIdele L v x) = 1
  ```
- `GlobalTheory.HeckeSplit.UnrAt`: Unramifiedness at a finite place means that the local restriction is trivial on the units of the valuation ring.

  ```lean
  def UnrAt (χ : Ideles L →* ℂˣ) (v : HeightOneSpectrum (𝓞 L)) : Prop :=
    ∀ x : (v.adicCompletion L)ˣ, Valued.v (x : v.adicCompletion L) = 1 → χ (localIdele L v x) = 1
  ```
- `GlobalTheory.HeckeSplit.DegOne`: A prime 𝔴 of 𝒪_L satisfies the degree-one condition over F if the natural map from 𝒪_F to 𝒪_L modulo 𝔴 is surjective.

  ```lean
  def DegOne (F : Type) [Field F] [NumberField F] [Algebra F L] (w : HeightOneSpectrum (𝓞 L)) : Prop :=
    ∀ y : 𝓞 L, ∃ u : 𝓞 F, y - algebraMap (𝓞 F) (𝓞 L) u ∈ w.asIdeal
  ```
- `GlobalTheory.HeckeSplit.finPart_localIdele`: Projecting an idele supported at a finite place back to that place recovers the original local element.

  ```lean
  @[simp] theorem _root_.GlobalTheory.HeckeSplit.finPart_localIdele (v : HeightOneSpectrum (𝓞 L))
      (x : (v.adicCompletion L)ˣ) :
      _root_.GlobalTheory.HeckeSplit.finPart L v (_root_.HeckeValGen.localIdele L v x) = x := …
  ```

### Development.AbelianVarietyTheory.Proofs.DivisorProofs.ExistsOddPrimeGtTwoBounds

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

**Proves existence of algebraic Hecke characters of prescribed infinity type over CM fields, unramified above a given prime.**

For a CM field and a rational prime ℓ, any integral infinity type whose exponents on conjugate embeddings sum to a common weight w₀ is realized by a Hecke character unramified at every place above ℓ. The proof chooses an auxiliary prime q exceeding 2, ℓ, and the number of roots of unity, and uses a parity identity to show that the prescribed phase character is trivial on units congruent to 1 modulo q. It extends the phase on the intersection of unit and congruence ideles with trivial restriction to diagonal Eˣ, then twists by the idelic norm to the power w₀/2. GaloisStatementOfSmall uses the character to construct a rank-one crystalline Galois representation with prescribed weights.

Key declarations:

- `GlobalTheory.AlgCharUnr.phase_prod_eq_one`: For a unit congruent to 1 modulo an odd prime q coprime to the order of the CM field’s roots of unity, the product of its complex phases over the infinite places is 1 when the phases are raised to integer exponents of a common parity.

  ```lean
  theorem phase_prod_eq_one {E : Type} [Field E] [NumberField E] [IsCMField E] {q : ℕ} (hq : q.Prime) (hq2 : 2 < q)
      (ht : ¬ q ∣ Nat.card (Units.torsion E)) (u : (𝓞 E)ˣ) (hu : (u : 𝓞 E) - 1 ∈ Ideal.span {((q : ℕ) : 𝓞 E)})
      (m : InfinitePlace E → ℤ) (w0 : ℤ) (hm : ∀ w, ∃ a, m w = 2 * a - w0) :
      ∏ w : InfinitePlace E, (w.embedding ((u : 𝓞 E) : E) / ((‖w.embedding ((u : 𝓞 E) : E)‖ : ℝ) : ℂ)) ^ m w = 1 := …
  ```
- `GlobalTheory.AlgCharUnr.exists_odd_prime_gt_two_bounds`: For any two natural-number bounds, there is an odd prime strictly greater than both.

  ```lean
  theorem exists_odd_prime_gt_two_bounds (l t : ℕ) : ∃ q : ℕ, q.Prime ∧ 2 < q ∧ l < q ∧ t < q := …
  ```
- `GlobalTheory.AlgCharUnr.exists_algChar_unr`: Every integral infinity type on a CM field with constant sum on conjugate pairs occurs in a Hecke character unramified at every place above a prescribed rational prime ℓ.

  ```lean
  theorem exists_algChar_unr : ∀ (E : Type) [Field E] [NumberField E] [IsCMField E] (l : ℕ), l.Prime → ∀ (n : (E →+* ℂ) → ℤ) (w0 : ℤ), (∀ φ, n φ + n (NumberField.ComplexEmbedding.conjugate φ) = w0) → ∃ χ : HChar E, IsAlgPos χ n ∧ ∀ w : HeightOneSpectrum (𝓞 E), ((l : ℕ) : 𝓞 E) ∈ w.asIdeal → χ.UnrAt w := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousOfTameLoc

9 import steps from Main · 171 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.ContinuousOfTameLoc)

**Constructs continuous unitary idele characters with prescribed archimedean phase powers and finitely many tame local factors.**

A tame character of a finite completion is continuous because it is trivial on the open subgroup of principal units. Choosing one complex embedding per infinite place, the construction multiplies the prescribed phase powers by the tame characters at the selected finite places and gives trivial local characters elsewhere. On principal ideles, its value is the product of the archimedean and selected finite factors. DetCharEqOneOfHasWt uses the empty finite set case to construct a Hecke character with a common nonzero infinity exponent over a CM field.

Key declarations:

- `GlobalTheory.ModelChar.argU`: Defines the multiplicative phase map sending a nonzero complex number to its quotient by its absolute value.

  ```lean
  def argU : ℂˣ →* ℂˣ where
    toFun z := Units.mk0 ((z : ℂ) / ((‖(z : ℂ)‖ : ℝ) : ℂ))
      (div_ne_zero z.ne_zero (by exact_mod_cast norm_ne_zero_iff.2 z.ne_zero))
    map_one' := by ext; simp
    map_mul' x y := by
      ext
      simp only [Units.val_mul, Units.val_mk0, norm_mul, Complex.ofReal_mul]
      rw [mul_div_mul_comm]
  ```
- `GlobalTheory.ModelChar.continuous_finEv`: Evaluation of an adele at a finite place is continuous.

  ```lean
  theorem continuous_finEv (v : HeightOneSpectrum (𝓞 L)) : Continuous (finEv v) := …
  ```
- `GlobalTheory.ModelChar.continuous_infEv`: Evaluation of an adele at an infinite place is continuous.

  ```lean
  theorem continuous_infEv (w : InfinitePlace L) : Continuous (infEv w) := …
  ```
- `GlobalTheory.ModelChar.continuous_of_tameLoc`: A tame character of the multiplicative group of a finite completion is continuous.

  ```lean
  theorem continuous_of_tameLoc {v : HeightOneSpectrum (𝓞 L)} {θ : (v.adicCompletion L)ˣ →* ℂˣ} (h : TameLoc v θ) :
      Continuous θ := …
  ```
- `GlobalTheory.ModelChar.exists_modelChar`: There exists a continuous unitary idele character with the prescribed archimedean phase powers on embedded field elements, the prescribed tame factors at the selected finite places, and trivial factors at every other finite place.

  ```lean
  theorem exists_modelChar : ∀ (L : Type) [Field L] [NumberField L] (I : Type) [Fintype I] (φ : I → L →+* ℂ), (Function.Bijective fun i => InfinitePlace.mk (φ i)) → ∀ (n : I → ℤ) (S : Finset (HeightOneSpectrum (𝓞 L))) (θ : ∀ v : HeightOneSpectrum (𝓞 L), (v.adicCompletion L)ˣ →* ℂˣ), (∀ v ∈ S, TameLoc v (θ v)) → ∃ ψ : Ideles L →* ℂˣ, Continuous ψ ∧ (∀ x, ‖((ψ x : ℂˣ) : ℂ)‖ = 1) ∧ (∀ i (k : Lˣ), ((ψ (infIdele L (InfinitePlace.mk (φ i)) (atInf _ k)) : ℂˣ) : ℂ) = (φ i (k : L) / ((‖φ i (k : L)‖ : ℝ) : ℂ)) ^ n i) ∧ (∀ v ∈ S, ∀ x, ψ (localIdele L v x) = θ v x) ∧ (∀ v ∉ S, ∀ x, ψ (localIdele L v x) = 1) ∧ ∀ k : Lˣ, ψ (diagUnits L k) = ψ (infDiag k) * ∏ v ∈ S, θ v (atFin v k) := …
  ```

### Development.AbelianVarietyTheory.Proofs.IwasawaDecomposition.EtaTildeIsUnitArgAtCmTypePlaces

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

**Identifies the archimedean component of an eta-type Hecke character with the unit phase at each place of the host CM type.**

The exponent-one infinity type gives the phase formula on nonzero field elements at each chosen CM place. Density of their images in the local multiplicative group and continuity extend the formula to every nonzero element of the completion, where the character takes the value f(z)/|f(z)| for every continuous ring homomorphism f from the completion to ℂ extending the chosen embedding. EtaTildeIsUnitArgAtCmTypePlacesStatement re-exports this result.

Key declarations:

- `GlobalTheory.EtaUnitArg.denseRange_atInf_single`: The multiplicative group of a number field has dense image in the multiplicative group of its completion at any infinite place.

  ```lean
  theorem denseRange_atInf_single {L : Type} [Field L] [NumberField L] (w : InfinitePlace L) :
      DenseRange (atInf w : Lˣ → (w.Completion)ˣ) := …
  ```
- `GlobalTheory.EtaUnitArg.locInf_eq`: Passing the single-place archimedean adele insertion to units gives the single-place idele insertion.

  ```lean
  theorem locInf_eq {L : Type} [Field L] [NumberField L] (w : InfinitePlace L) (z : (w.Completion)ˣ) :
      Units.map (Formalism.L2.NC.locInf w) z = infIdele L w z := …
  ```
- `GlobalTheory.EtaUnitArg.etaT_isUnitArg`: At each embedding in the host CM type, a normalized Hecke character with the same idelic homomorphism as the eta-type character takes the value f(z)/|f(z)| on the local insertion of each nonzero z, for every continuous ring homomorphism f extending that embedding.

  ```lean
  theorem etaT_isUnitArg : ∀ {R : Ranks} (H : Host R) (χ : HChar H.E), IsEtaT H χ → ∀ (h : Formalism.L2.NC.HC H.E), h.χ = (χ : Ideles H.E →* ℂˣ) → ∀ (g : R.Psi), h.IsUnitArg (H.emb (g : R.GG)) := …
  ```

### Development.AbelianVarietyTheory.Proofs.SatakeParameters.ContinuousIdeleCharLocalFactorization

9 import steps from Main · 135 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Development.AbelianVarietyTheory.Proofs.SatakeParameters.ContinuousIdeleCharLocalFactorization)

**Proves local factorization for continuous complex-valued characters of the ideles of a number field.**

Every such character is unramified at all but finitely many finite places and is trivial on a sufficiently deep principal unit subgroup at each finite place. These assertions use continuity and the fact that a complex number whose positive powers all stay sufficiently close to 1 must equal 1. Finite truncations retaining the archimedean component converge to the given idele, so its character value is the archimedean factor times the product over any finite set containing all places with nontrivial local factors for that idele.

Key declarations:

- `GlobalTheory.HeckeSplit.eventually_unrAt`: A continuous idele character is trivial on the local unit groups at all but finitely many finite places.

  ```lean
  theorem eventually_unrAt (χ : Ideles L →* ℂˣ) (hχ : Continuous χ) :
      ∀ᶠ v in Filter.cofinite, UnrAt χ v := …
  ```
- `GlobalTheory.HeckeSplit.exists_level`: At each finite place the local character is trivial on some principal unit subgroup.

  ```lean
  theorem exists_level (χ : Ideles L →* ℂˣ) (hχ : Continuous χ) (v : HeightOneSpectrum (𝓞 L)) :
      ∃ n : ℕ, ∀ x : (v.adicCompletion L)ˣ,
        Valued.v ((x : v.adicCompletion L) - 1) ≤ WithZero.exp (-(n : ℤ)) → χ (localIdele L v x) = 1 := …
  ```
- `GlobalTheory.HeckeSplit.tendsto_truncIdele`: The truncations of an idele converge to it as the retained finite sets of places increase under inclusion.

  ```lean
  theorem tendsto_truncIdele (x : Ideles L) :
      Tendsto (truncIdele x) atTop (𝓝 x) := …
  ```
- `GlobalTheory.HeckeSplit.char_eq_prod_local`: If all local factors of an idele outside a finite set equal 1, its character value is the archimedean factor times the product over that set.

  ```lean
  theorem char_eq_prod_local (χ : Ideles L →* ℂˣ) (hχ : Continuous χ) (x : Ideles L)
      (S : Finset (HeightOneSpectrum (𝓞 L)))
      (hS : ∀ v ∉ S, χ (localIdele L v (finPart L v x)) = 1) :
      χ x = χ (infIdele L (infPart L x)) * ∏ v ∈ S, χ (localIdele L v (finPart L v x)) := …
  ```
- `GlobalTheory.HeckeSplit.continuous_char_factor`: A continuous idele character is unramified at almost all finite places, has a principal unit subgroup in its local kernel at each finite place, and satisfies the finite product formula.

  ```lean
  theorem continuous_char_factor : ∀ (L : Type) [Field L] [NumberField L] (χ : Ideles L →* ℂˣ), Continuous χ → (∀ᶠ v in Filter.cofinite, UnrAt χ v) ∧ (∀ v : HeightOneSpectrum (𝓞 L), ∃ n : ℕ, ∀ x : (v.adicCompletion L)ˣ, Valued.v ((x : v.adicCompletion L) - 1) ≤ WithZero.exp (-(n : ℤ)) → χ (localIdele L v x) = 1) ∧ ∀ (x : Ideles L) (S : Finset (HeightOneSpectrum (𝓞 L))), (∀ v ∉ S, χ (localIdele L v (finPart L v x)) = 1) → χ x = χ (infIdele L (infPart L x)) * ∏ v ∈ S, χ (localIdele L v (finPart L v x)) := …
  ```

### Formalism.LocalToGlobal.UnitaryNorms.UnrAe

9 import steps from Main · 23 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.LocalToGlobal.UnitaryNorms.UnrAe)

**Packages almost-everywhere unramifiedness and rigidity by uniformizer values as hypotheses for Hecke characters.**

The module packages two field-level hypotheses and uses continuity to specialize almost-everywhere unramifiedness of idele characters to Hecke characters. CharTransport uses both hypotheses to show that pullbacks along inverse field isomorphisms undo one another.

Key declarations:

- `Formalism.L2.Host.UnrAE`: Asserts that every continuous character of the idele group into ℂ× is trivial on local unit groups at all but finitely many finite places.

  ```lean
  def UnrAE (L : Type) [Field L] [NumberField L] : Prop :=
    ∀ χ : Ideles L →* ℂˣ, Continuous χ →
      ∀ᶠ v in Filter.cofinite, ∀ x : (v.adicCompletion L)ˣ, IsUnitAt v x → χ (localIdele L v x) = 1
  ```
- `Formalism.L2.Host.SMOne`: Asserts that two Hecke characters coincide if both are unramified and have equal uniformizer values at all but finitely many finite places.

  ```lean
  def SMOne (L : Type) [Field L] [NumberField L] : Prop :=
    ∀ χ χ' : HChar L, (∀ᶠ v in Filter.cofinite, χ.UnrAt v ∧ χ'.UnrAt v ∧ χ.val v = χ'.val v) → χ = χ'
  ```
- `Formalism.L2.Host.HChar.unr_ae`: Deduces from UnrAE that every Hecke character is unramified at all but finitely many finite places.

  ```lean
  theorem HChar.unr_ae (h : UnrAE L) (χ : HChar L) : ∀ᶠ v in Filter.cofinite, χ.UnrAt v := …
  ```

### Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.ClassSame

9 import steps from Main · 56 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.ClassSame)

**Defines finite idelic units and the propositions used to bound norm-twisted Hecke values in a single number field.**

The definitions specify finite idelic units and bounded torsion on them, package the principal-idele decomposition, unramified local evaluation and norm formula into a character identity, and express the needed ideal-class relations through principal fractional ideals. OrdFEqOfClassOf proves the two ideal-class propositions, FactorOne derives the character identity from the three formulas, and IsIntegralOfMemCompo proves the implication that combines these ingredients with bounded torsion to obtain the number-field bound.

Key declarations:

- `PI.AlgValsFin.W.ClassPow`: States that there is a single positive exponent for which the corresponding power of every nonzero prime ideal is principal.

  ```lean
  def ClassPow : Prop :=
    ∃ h : ℕ, 0 < h ∧ ∀ v : HeightOneSpectrum (𝓞 L), ∃ k : Lˣ,
      ∀ u : HeightOneSpectrum (𝓞 L), ordF u k = if u = v then (h : ℤ) else 0
  ```
- `PI.AlgValsFin.W.ClassSame`: States that the nonzero prime ideals admit a finite partition such that the quotient of any two primes in the same part is a principal fractional ideal.

  ```lean
  def ClassSame : Prop :=
    ∃ (ι : Type) (_ : Finite ι) (c : HeightOneSpectrum (𝓞 L) → ι),
      ∀ v w, c v = c w → ∃ k : Lˣ, ∀ u : HeightOneSpectrum (𝓞 L),
        ordF u k = (if u = v then 1 else 0) - (if u = w then 1 else 0)
  ```
- `PI.AlgValsFin.W.KeyId`: States that if the norm-twisted archimedean value on the diagonal of Lˣ equals the embedding monomial, then for any k ∈ Lˣ and finite set T containing its divisor support on which the character is unramified, a finite idelic unit exists whose character value times that monomial at k and the product over T of twisted uniformizer values raised to the orders of k equals 1.

  ```lean
  def KeyId : Prop :=
    ∀ (χ : HChar L) (s : ℝ) (m : (L →+* ℂ) → ℤ),
      (∀ k : Lˣ, ((χ.inf k : ℂˣ) : ℂ) * ∏ φ : L →+* ℂ, ((‖φ (k : L)‖ : ℝ) : ℂ) ^ (s : ℂ) =
        ∏ φ : L →+* ℂ, φ (k : L) ^ m φ) →
      ∀ (k : Lˣ) (T : Finset (HeightOneSpectrum (𝓞 L))), (∀ v, v ∉ T → ordF v k = 0) →
        (∀ v ∈ T, χ.UnrAt v) →
        ∃ r ∈ UFin L, (∏ v ∈ T, χ.valTw s v ^ ordF v k) * (∏ φ : L →+* ℂ, φ (k : L) ^ m φ) *
          ((χ.1 r : ℂˣ) : ℂ) = 1
  ```
- `PI.AlgValsFin.W.KeyIdOf`: Formulates the implication from principal-idele decomposition, unramified local evaluation, and the norm formula to the character identity.

  ```lean
  def KeyIdOf : Prop := Decomp L → LocVal L → ProdNorm L → KeyId L
  ```
- `PI.AlgValsFin.W.Assemble`: Formulates the implication from bounded torsion on finite idelic units, the character identity, and the two ideal-class propositions to the existence of a single number field containing the twisted unramified values of each character satisfying the archimedean condition.

  ```lean
  def Assemble : Prop := TorsUnits L → KeyId L → ClassPow L → ClassSame L → AlgValsFin L
  ```

### Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.EvFLocalIdeleSelf

9 import steps from Main · 95 lines · Checked against the code · [Open in the Lean viewer](https://riemannhypothesissolved.com/file/Formalism.PeriodIntegrals.UnitaryGroupMassFormula.AlgebraicValuesFinite.EvFLocalIdeleSelf)

**Defines idele component maps and proves a factorization of principal ideles up to a finite idelic unit.**

The finite and infinite component maps recover the given component of a single-place idele and take value 1 at every other place. Applying these maps to a principal idele shows that removing its archimedean part and its local components at a finite set containing the support of its finite divisor leaves a finite idelic unit. AlgValsFinOfTors uses this factorization to derive the character identity behind the number-field bound.

Key declarations:

- `PI.AlgValsFin.W.evF`: Defines the multiplicative projection from the ideles to the multiplicative group of a chosen finite completion.

  ```lean
  def evF (v : HeightOneSpectrum (𝓞 L)) : Ideles L →* (v.adicCompletion L)ˣ :=
    Units.map
      { toFun := fun x : AdeleRing (𝓞 L) L => x.2 v
        map_one' := rfl
        map_mul' := fun _ _ => rfl }
  ```
- `PI.AlgValsFin.W.evI`: Defines the multiplicative projection from the ideles to the multiplicative group of a chosen archimedean completion.

  ```lean
  def evI (w : InfinitePlace L) : Ideles L →* (w.Completion)ˣ :=
    Units.map
      { toFun := fun x : AdeleRing (𝓞 L) L => x.1 w
        map_one' := rfl
        map_mul' := fun _ _ => rfl }
  ```
- `PI.AlgValsFin.W.evF_localIdele_self`: Evaluating an idele supported at a single finite place at that place recovers the local element used to construct it.

  ```lean
  theorem evF_localIdele_self (v : HeightOneSpectrum (𝓞 L)) (x : (v.adicCompletion L)ˣ) :
      evF v (localIdele L v x) = x := …
  ```
- `PI.AlgValsFin.W.evF_localIdele_ne`: Evaluating an idele supported at a single finite place at any other finite place gives 1.

  ```lean
  theorem evF_localIdele_ne (w v : HeightOneSpectrum (𝓞 L)) (h : w ≠ v) (x : (v.adicCompletion L)ˣ) :
      evF w (localIdele L v x) = 1 := …
  ```
- `PI.AlgValsFin.W.decomp`: For any nonzero field element and any finite set containing all places where its finite order is nonzero, its principal idele factors as its archimedean part, the product of its local ideles at the selected places, and an idele with archimedean component 1 and unit components at every finite place.

  ```lean
  theorem decomp : Decomp L := …
  ```


---

Hecke characters on ideles: local factors… · Alpöge Lean readings. Web page: https://riemannhypothesissolved.com/cluster/k0704-hecke-characters-on-ideles-local-factors-finiteness-and/lean/ · updated 2026-11-26 · site map for machines: https://riemannhypothesissolved.com/llms.txt
