nielsr's picture
nielsr HF Staff
Add Formal Conjectures (snapshot 86a2f58): statements + files parquet, Lean project (part 7)
8ca48d7 verified
Raw History Blame Contribute Delete
3.58 kB
/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
/-
The copied Mathlib source carries the following attribution:
Copyright (c) 2023 María Inés de Frutos-Fernández. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: María Inés de Frutos-Fernández
-/
module
public import Mathlib.FieldTheory.AbsoluteGaloisGroup
/-!
# Restriction maps of absolute Galois groups
These definitions were introduced in Mathlib by Thomas Browning's
[pull request #41415](https://github.com/leanprover-community/mathlib4/pull/41415).
They are absent from this repository's Mathlib `v4.33.1` dependency. The added code is copied
verbatim from `Mathlib.FieldTheory.AbsoluteGaloisGroup` at the merged commit
`7e604dbff1442ed4b05a0b9a4b15c5207584f116`.
-/
@[expose] public noncomputable section
namespace Field
variable (K L : Type*) [Field K] [Field L]
local notation "G_K" => absoluteGaloisGroup
section
variable [Algebra K L] [Algebra (AlgebraicClosure K) (AlgebraicClosure L)]
[IsScalarTower K (AlgebraicClosure K) (AlgebraicClosure L)]
open IntermediateField in
/-- A commuting square of two fields and their algebraic closures induces a continuous homomorphism
of their absolute Galois groups. -/
@[simps!]
noncomputable def absoluteGaloisGroup.mapOfAlgebra : G_K L →ₜ* G_K K :=
letI F : G_K L →* G_K K := (AlgEquiv.restrictNormalHom _).comp (AlgEquiv.restrictScalarsHom K)
{ __ := F
continuous_toFun := by
classical
let f := IsScalarTower.toAlgHom K (AlgebraicClosure K) (AlgebraicClosure L)
apply continuous_of_continuousAt_one F
rw [ContinuousAt, map_one]
refine ((galGroupBasis L (AlgebraicClosure L)).nhds_one_hasBasis.tendsto_iff
(galGroupBasis K (AlgebraicClosure K)).nhds_one_hasBasis).mpr ?_
rintro _ ⟨_, ⟨F, hF : FiniteDimensional _ _, rfl⟩, rfl⟩
refine ⟨_, ⟨_, ⟨adjoin L (F.map f), ?_, rfl⟩, rfl⟩, fun σ hσ x ↦ ?_⟩
· suffices Algebra.EssFiniteType L (adjoin L (F.map f : Set (AlgebraicClosure L))) by
apply Algebra.finite_of_essFiniteType_of_isAlgebraic
replace hF : Algebra.EssFiniteType K F := inferInstance
rw [essFiniteType_iff] at hF ⊢
obtain ⟨s, rfl⟩ := hF
use s.image f
rw [adjoin_map, adjoin_adjoin_right, Finset.coe_image]
· exact f.injective <| ((σ.restrictScalarsHom K).restrictNormal_commutes
(AlgebraicClosure K) x).trans <| hσ ⟨f x, subset_adjoin _ _ ⟨_, x.2, rfl⟩⟩ }
end
variable {K L} in
/-- An embedding of fields induces a continuous homomorphism of absolute Galois groups.
Note that this depends on an arbitrary choice of embedding of the algebraic closures. -/
@[simps!]
noncomputable def absoluteGaloisGroup.map (f : K →+* L) : G_K L →ₜ* G_K K :=
letI : Algebra K L := f.toAlgebra
letI g : AlgebraicClosure K →ₐ[K] AlgebraicClosure L := IsAlgClosed.lift
letI : Algebra (AlgebraicClosure K) (AlgebraicClosure L) := g.toAlgebra
absoluteGaloisGroup.mapOfAlgebra K L
end Field