Skip to content

Commit ec6e08b

Browse files
committed
feat(FieldTheory/IntermediateField): add eq_iff_finrank_eq_of_le(') (#40300)
Adds the iff-strengthenings of `IntermediateField.eq_of_le_of_finrank_eq` and `eq_of_le_of_finrank_eq'`: - `eq_iff_finrank_eq_of_le`: for `F ≤ E` with `[E : K]` finite, `F = E ↔ finrank K F = finrank K E`. - `eq_iff_finrank_eq_of_le'`: for `F ≤ E` with `[L : F]` finite, `F = E ↔ finrank F L = finrank E L`. :robot: This PR was extracted from the [SKW project](https://github.com/xroblot/SKW) by Claude.
1 parent cb93419 commit ec6e08b

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Mathlib/FieldTheory/IntermediateField/Algebraic.lean

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ theorem eq_of_le_of_finrank_eq [FiniteDimensional K E] (h_le : F ≤ E)
7575
(h_finrank : finrank K F = finrank K E) : F = E :=
7676
eq_of_le_of_finrank_le h_le h_finrank.ge
7777

78+
/-- If `F ≤ E` are two intermediate fields of `L / K` such that `[E : K]` is finite,
79+
then `F = E` iff `[F : K] = [E : K]`. -/
80+
theorem eq_iff_finrank_eq_of_le [FiniteDimensional K E] (h_le : F ≤ E) :
81+
F = E ↔ finrank K F = finrank K E :=
82+
fun h ↦ by rw [h], eq_of_le_of_finrank_eq h_le⟩
83+
7884
-- If `F ≤ E` are two intermediate fields of a finite extension `L / K` such that
7985
-- `[L : F] ≤ [L : E]`, then `F = E`. Marked as private since it's a direct corollary of
8086
-- `eq_of_le_of_finrank_le'` (the `FiniteDimensional K L` implies `FiniteDimensional F L`
@@ -101,6 +107,12 @@ theorem eq_of_le_of_finrank_eq' [FiniteDimensional F L] (h_le : F ≤ E)
101107
(h_finrank : finrank F L = finrank E L) : F = E :=
102108
eq_of_le_of_finrank_le' h_le h_finrank.le
103109

110+
/-- If `F ≤ E` are two intermediate fields of `L / K` such that `[L : F]` is finite,
111+
then `F = E` iff `[L : F] = [L : E]`. -/
112+
theorem eq_iff_finrank_eq_of_le' [FiniteDimensional F L] (h_le : F ≤ E) :
113+
F = E ↔ finrank F L = finrank E L :=
114+
fun h ↦ by rw [h], eq_of_le_of_finrank_eq' h_le⟩
115+
104116
lemma finrank_lt_of_gt [FiniteDimensional F L] (H : F < E) :
105117
Module.finrank E L < Module.finrank F L := by
106118
letI := (IntermediateField.inclusion H.le).toAlgebra

0 commit comments

Comments
 (0)