Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Mathlib/NumberTheory/LocalField/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public import Mathlib.RingTheory.Valuation.DiscreteValuativeRel
public import Mathlib.Topology.Algebra.Module.Compact
public import Mathlib.Topology.Algebra.Valued.LocallyCompact
public import Mathlib.Topology.Algebra.Valued.ValuativeRel
public import Mathlib.RingTheory.Ideal.Quotient.Index

/-!

Expand Down Expand Up @@ -36,6 +37,7 @@ This implies the following typeclasses via `inferInstance`
- `ValuativeRel.IsDiscrete K`
- `IsDiscreteValuationRing π’ͺ[K]`
- `Finite 𝓀[K]`
- `Finite (π’ͺ[K] β§Έ 𝓂[K] ^ n)`

Assuming we have a compatible `UniformSpace K` instance
(e.g. via `IsTopologicalAddGroup.toUniformSpace` and `isUniformAddGroup_of_addCommGroup`) then
Expand Down Expand Up @@ -147,6 +149,10 @@ instance : Finite 𝓀[K] :=
(compactSpace_iff_completeSpace_and_isDiscreteValuationRing_and_finite_residueField.mp
(inferInstanceAs (CompactSpace π’ͺ[K]))).2.2

instance (n : β„•) : Finite (π’ͺ[K] β§Έ 𝓂[K] ^ n) :=
haveI : Finite (π’ͺ[K] β§Έ 𝓂[K]) := inferInstanceAs (Finite 𝓀[K])
Ideal.finite_quotient_pow (IsNoetherian.noetherian _) n

end TopologicalSpace

section UniformSpace
Expand Down
Loading