Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
noncomputable section
open AlgebraicGeometry CategoryTheory
open scoped TensorProduct
namespace EtaleFundamentalGroups.StrictHenselian
universe utheorem algebraic_of_genericFractionRing
(R A : Type u) [CommRing R] [IsDomain R] [CommRing A]
[Algebra R A]
(hIntegral : Algebra.IsIntegral (FractionRing R) (FractionRing R ⊗[R] A))
(hFraction :
let : Algebra A (FractionRing R ⊗[R] A) := Algebra.TensorProduct.rightAlgebra
IsFractionRing A (FractionRing R ⊗[R] A)) :
Algebra.IsAlgebraic R A := by
let K := FractionRing R
let T := K ⊗[R] A
let : Algebra A T := Algebra.TensorProduct.rightAlgebra
have : IsFractionRing A T := hFraction
have : Algebra.IsIntegral K T := hIntegral
have : Algebra.IsAlgebraic R T :=
(IsFractionRing.comap_isAlgebraic_iff (A := R) (K := K) (C := T)).mpr inferInstance
exact Algebra.IsAlgebraic.of_injective
(Algebra.TensorProduct.includeRight : A →ₐ[R] T) (IsFractionRing.injective A T)