File size: 1,962 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | import Mathlib.RingTheory.IntegralClosure.Algebra.Basic
import Mathlib.RingTheory.TensorProduct.Maps
/-! # Tensor Maps -/
namespace OAI.AlgebraicGeometry.CycleClass.Thom.Integral.TensorMaps.Constructions
noncomputable section
/-! The tensor product of actual integral algebra homomorphisms is integral. -/
open scoped TensorProduct
variable {k P Q A B : Type*} [CommRing k]
[CommRing P] [CommRing Q] [CommRing A] [CommRing B]
[Algebra k P] [Algebra k Q] [Algebra k A] [Algebra k B]
theorem tensorMap_isIntegral (f : P ββ[k] A) (g : Q ββ[k] B)
(hf : f.IsIntegral) (hg : g.IsIntegral) : (Algebra.TensorProduct.map f g).IsIntegral := by
let : Algebra P A := f.toRingHom.toAlgebra
let : Algebra Q B := g.toRingHom.toAlgebra
let : Algebra (P β[k] Q) (A β[k] B) := (Algebra.TensorProduct.map f g).toRingHom.toAlgebra
have hA (a : A) : IsIntegral (P β[k] Q) (a ββ[k] (1 : B)) := by
apply IsIntegral.map_of_comp_eq
(Algebra.TensorProduct.includeLeft : P ββ[k] P β[k] Q).toRingHom
(Algebra.TensorProduct.includeLeft : A ββ[k] A β[k] B).toRingHom
(a := a) _ (hf a)
ext r
change (Algebra.TensorProduct.map f g) (r ββ[k] (1 : Q)) = f r ββ[k] (1 : B)
simp
have hB (b : B) : IsIntegral (P β[k] Q) ((1 : A) ββ[k] b) := by
apply IsIntegral.map_of_comp_eq
(Algebra.TensorProduct.includeRight : Q ββ[k] P β[k] Q).toRingHom
(Algebra.TensorProduct.includeRight : B ββ[k] A β[k] B).toRingHom
(a := b) _ (hg b)
ext r
change (Algebra.TensorProduct.map f g) ((1 : P) ββ[k] r) = (1 : A) ββ[k] g r
simp
intro x
change IsIntegral (P β[k] Q) x
induction x using TensorProduct.inductionOn with
| tmul a b =>
simpa only [Algebra.TensorProduct.tmul_mul_tmul, mul_one, one_mul] using (hA a).mul (hB b)
| add x y hx hy => exact hx.add hy
end
end OAI.AlgebraicGeometry.CycleClass.Thom.Integral.TensorMaps.Constructions
|