Skip to content

Commit

Permalink
feat(field_theory/tower): if L / K / F is finite, so is K / F (#1…
Browse files Browse the repository at this point in the history
…5303)

This result came up in the discussion of #15191, where I couldn't find it. (In the end we didn't up needing it.) I saw we already had finiteness of `L / K` (in fact, for any vector space instead of the field `L`) as `finite_dimensional.right`, so I made the `left` version too.

Also use this to provide an instance where `K` is an intermediate field.





Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
  • Loading branch information
Vierkantor and Vierkantor committed Jul 15, 2022
1 parent 2123bc3 commit daf1117
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/field_theory/intermediate_field.lean
Expand Up @@ -423,7 +423,7 @@ section finite_dimensional
variables (F E : intermediate_field K L)

instance finite_dimensional_left [finite_dimensional K L] : finite_dimensional K F :=
finite_dimensional.finite_dimensional_submodule F.to_subalgebra.to_submodule
left K F L

instance finite_dimensional_right [finite_dimensional K L] : finite_dimensional F L :=
right K F L
Expand Down
13 changes: 13 additions & 0 deletions src/field_theory/tower.lean
Expand Up @@ -67,6 +67,19 @@ theorem trans [finite_dimensional F K] [finite_dimensional K A] : finite_dimensi
let b := basis.of_vector_space F K, c := basis.of_vector_space K A in
of_fintype_basis $ b.smul c

/-- In a tower of field extensions `L / K / F`, if `L / F` is finite, so is `K / F`.
(In fact, it suffices that `L` is a nontrivial ring.)
Note this cannot be an instance as Lean cannot infer `L`.
-/
theorem left (L : Type*) [ring L] [nontrivial L]
[algebra F L] [algebra K L] [is_scalar_tower F K L]
[finite_dimensional F L] : finite_dimensional F K :=
finite_dimensional.of_injective
(is_scalar_tower.to_alg_hom F K L).to_linear_map
(ring_hom.injective _)

lemma right [hf : finite_dimensional F A] : finite_dimensional K A :=
let ⟨⟨b, hb⟩⟩ := hf in ⟨⟨b, submodule.restrict_scalars_injective F _ _ $
by { rw [submodule.restrict_scalars_top, eq_top_iff, ← hb, submodule.span_le],
Expand Down

0 comments on commit daf1117

Please sign in to comment.