The coordinate transition map preserves the Haar probability measure on `O^n`.
ProvedTypeDensity.ideal_chart_transition_haartype-density
The coordinate transition map preserves the Haar probability measure on O^n.
Preamble
import Definitions.Def_TypeDensity_Basic
import Definitions.Def_TypeDensity_Formula_LawAlgebra
import Definitions.Def_TypeDensity_Measure_AdicCylinders
import Definitions.Def_TypeDensity_Measure_HenselProducts
import Definitions.Def_TypeDensity_Surfaces_Lengths
import Definitions.Def_TypeDensity_Surfaces_PowerSeries
import Definitions.Def_TypeDensity_Formula_FiniteFieldCounts
import Definitions.Def_TypeDensity_Formula_StateCombinatorics
import Definitions.Def_TypeDensity_Blowup_Directions
import Definitions.Def_TypeDensity_Unramified_Extension
import Definitions.Def_TypeDensity_Blowup_Charts
import Definitions.Def_TypeDensity_Algebra_AlgebraType
import Definitions.Def_TypeDensity_Measure_PrimitiveLocus
import Definitions.Def_TypeDensity_Algebra_FactorInvariant
import Definitions.Def_TypeDensity_Surfaces_TruncatedSeries
import Theorems.Thm_TypeDensity_finite_coordinate_borel_cylinders
import Theorems.Thm_TypeDensity_coordinate_transition_ideal_identity
import Theorems.Thm_TypeDensity_coefficient_measure_probability
import Theorems.Thm_TypeDensity_coefficient_uniformizer_cylinder_mass
import Theorems.Thm_TypeDensity_coordinate_transition_congruence
import Theorems.Thm_TypeDensity_coordinate_ideal_injective
import Theorems.Thm_TypeDensity_congruence_bijection_measure_preserving
import Mathlib.FieldTheory.RatFunc.Basic
import Mathlib.MeasureTheory.Measure.Haar.Unique
import Mathlib.NumberTheory.ArithmeticFunction.Moebius
import Mathlib.NumberTheory.Padics.PadicIntegers
import Mathlib.RingTheory.IntegralClosure.IntegralRestrict
import Mathlib.RingTheory.MvPowerSeries.Basic
import Mathlib.RingTheory.RamificationInertia.Basic
import Mathlib.Topology.Algebra.Nonarchimedean.AdicTopology
import Mathlib.FieldTheory.Finite.GaloisField
import Mathlib.RingTheory.AdicCompletion.Algebra
import Mathlib.RingTheory.RegularLocalRing.Defs
import Mathlib.Topology.Algebra.MvPolynomial
import Mathlib.Algebra.Group.Pi.Units
import Mathlib.Order.CompletePartialOrder
import Mathlib.RingTheory.Henselian
import Mathlib.RingTheory.Polynomial.Resultant.Basic
import Mathlib.RingTheory.SimpleRing.Principal
import Mathlib.FieldTheory.Finite.Extension
import Mathlib.RingTheory.AdicCompletion.Noetherian
import Mathlib.RingTheory.MvPowerSeries.Equiv
import Mathlib.RingTheory.PicardGroup
import Mathlib.FieldTheory.RatFunc.AsPolynomial
import Mathlib.RingTheory.AdicCompletion.Completeness
import Mathlib.Algebra.GroupWithZero.Submonoid.CancelMulZero
import Mathlib.Algebra.Module.StablyFree.Basic
import Mathlib.NumberTheory.Padics.RingHoms
import Mathlib.Algebra.Azumaya.Basic
import Mathlib.RingTheory.AdicCompletion.RingHom
import Mathlib.RingTheory.TotallySplit
import Mathlib.RingTheory.AdicCompletion.LocalRing
import Mathlib.RingTheory.KrullDimension.NonZeroDivisors
set_option autoImplicit false
open TypeDensity
open scoped BigOperators ENNReal
variable (O R : Type) [CommRing O] [CommRing R] [Algebra O R] (n : ℕ) (pi : O) (b : Fin n → R)
(E : R ≃ₗ[O] ((Fin n → O) × R)) [IsAdicComplete (Ideal.span {pi}) ((Fin n → O) × R)]
[IsDomain R] [IsLocalRing R] (hp0 : algebraMap O R pi ≠ 0)
(hpm : algebraMap O R pi ∈ IsLocalRing.maximalIdeal R) (f : R)
(hE : ∀ s, E.symm s = divisionMap f b s)
(hf : Function.Injective (fun x : R ⧸ Ideal.span {algebraMap O R pi} =>
x * Ideal.Quotient.mk (Ideal.span {algebraMap O R pi}) f))
(g : R) (c : Fin n → R) (F : R ≃ₗ[O] ((Fin n → O) × R)) (hF : ∀ s, F.symm s = divisionMap g c s)
(hg : Function.Injective (fun x : R ⧸ Ideal.span {algebraMap O R pi} =>
x * Ideal.Quotient.mk (Ideal.span {algebraMap O R pi}) g))
(h0 : R) (hfg : f = g + pi • h0)
include hp0 hpm hE hf hF hg hfg
variable [IsDomain O] [IsDiscreteValuationRing O]
[IsAdicComplete (IsLocalRing.maximalIdeal O) O] [Finite (IsLocalRing.ResidueField O)]
[TopologicalSpace O] [IsTopologicalRing O] [CompactSpace O] [T2Space O]
[SecondCountableTopology O] [MeasurableSpace O] [BorelSpace O]
Formal statement
theorem TypeDensity.ideal_chart_transition_haar (htop : IsAdic (IsLocalRing.maximalIdeal O))
(hpi : Irreducible pi) :
MeasureTheory.MeasurePreserving (idealTransition pi b c F h0) (coefficientMeasure O n)
(coefficientMeasure O n) := by sorrySource
TypeDensity/Measure/Atlas.lean#L215-L226