Download data/lean/OAI/AlgebraicGeometry/CycleClass/Thom/Integral/TensorMaps.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.96 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Thom/Integral/TensorMaps.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/AlgebraicGeometry/CycleClass/Thom/Integral/TensorMaps.lean
-
curl -L -o TensorMaps.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/AlgebraicGeometry/CycleClass/Thom/Integral/TensorMaps.lean
1.96 kB
| 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 | |