Skip to content

Commit 686c76b

Browse files
committed
feat(RingTheory/RamificationInertia/Inertia): add inertiaDeg'_pos (leanprover-community#39073)
This PR adds a positivity lemma for the new `inertiaDeg'` (which will eventually replace `inertiaDeg`). An extra import is needed to synthesize finiteness on the residue fields. Co-authored-by: tb65536 <thomas.l.browning@gmail.com>
1 parent bdc176c commit 686c76b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Mathlib/RingTheory/RamificationInertia/Inertia.lean

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Authors: Thomas Browning
66
module
77

88
public import Mathlib.NumberTheory.RamificationInertia.Inertia
9+
public import Mathlib.RingTheory.QuasiFinite.Basic
910

1011
/-!
1112
# Inertia degree
@@ -54,6 +55,11 @@ theorem inertiaDeg'_def [hq : q.IsPrime]
5455
theorem inertiaDeg'_of_not_isPrime (hq : ¬ q.IsPrime) : q.inertiaDeg' R = 0 :=
5556
dif_neg hq
5657

58+
theorem inertiaDeg'_pos [hq : q.IsPrime] [Module.Finite R S] : 0 < q.inertiaDeg' R := by
59+
let := Localization.AtPrime.algebraOfLiesOver (q.under R) q
60+
rw [inertiaDeg'_def]
61+
apply Module.finrank_pos
62+
5763
end
5864

5965
section

0 commit comments

Comments
 (0)