The whole generic fibre of a finite étale domain is its specified compatible fraction field, with the original product-map values.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
open scoped TensorProduct
namespace EtaleFundamentalGroups
universe uR uT uK uLdef finiteEtaleGenericFiberFractionFieldEquiv
(R : Type uR) (T : Type uT) (K : Type uK) (L : Type uL)
[CommRing R] [IsDomain R] [CommRing T] [IsDomain T] [Algebra R T]
[Module.Finite R T] [Algebra.Etale R T]
[Field K] [Algebra R K] [IsFractionRing R K]
[Field L] [Algebra R L] [Algebra T L] [Algebra K L]
[IsScalarTower R T L] [IsScalarTower R K L] [IsFractionRing T L] :
let : Algebra K (T ⊗[R] K) := Algebra.TensorProduct.rightAlgebra
T ⊗[R] K ≃ₐ[K] L := by
intro aKG
let G := T ⊗[R] K
let f : G →ₐ[R] L := finiteEtaleGenericFiberToFractionField
have hRL : Function.Injective (algebraMap R L) := by
rw [IsScalarTower.algebraMap_eq R K L]
exact (algebraMap K L).injective.comp (IsFractionRing.injective R K)
have hRT : Function.Injective (algebraMap R T) := by
intro x y hxy
apply hRL
rw [IsScalarTower.algebraMap_apply R T L,
IsScalarTower.algebraMap_apply R T L, hxy]
let M := Algebra.algebraMapSubmonoid T (nonZeroDivisors R)
have hM : M ≤ nonZeroDivisors T := by
rintro _ ⟨r, hr, rfl⟩
rw [mem_nonZeroDivisors_iff_ne_zero]
simpa only [map_zero] using hRT.ne (nonZeroDivisors.ne_zero hr)
have : IsDomain G := IsLocalization.isDomain_of_le_nonZeroDivisors G hM
let eComm : K ⊗[R] T ≃ₐ[K] G := Algebra.TensorProduct.commRight R K T
have : Module.Finite K G :=
Module.Finite.of_surjective eComm.toLinearMap eComm.surjective
have : IsArtinianRing G := IsArtinianRing.of_finite K G
let : Field G := (IsArtinianRing.isField_of_isDomain G).toField
let e : G ≃ₐ[R] L := AlgEquiv.ofBijective f
⟨f.toRingHom.injective,
finiteEtaleGenericFiberToFractionField_surjective (R := R) (T := T) (K := K)⟩
refine { e.toRingEquiv with commutes' := ?_ }
intro k
change f (algebraMap K G k) = algebraMap K L k
rw [Algebra.TensorProduct.right_algebraMap_apply]
change finiteEtaleGenericFiberToFractionField (R := R) (T := T) (K := K) (L := L)
(1 ⊗ₜ[R] k) = algebraMap K L k
rw [finiteEtaleGenericFiberToFractionField_tmul, map_one, one_mul]