File size: 1,247 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
import Mathlib.RingTheory.TensorProduct.Maps

/-! # Algebra Map Determination -/

namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Tensor.AlgebraMapDetermination

noncomputable section

/-! Maps from a scalar extension over its full coefficient base are
determined by the original affine functions. No additional scalar action
on the target is required. -/

open scoped TensorProduct

variable (R D A T : Type) [CommRing R] [CommRing D] [CommRing A] [CommRing T]
    [Algebra R D] [Algebra R A] [Algebra D T]

theorem tensorAlgebraMap_ext_original (f g : (D βŠ—[R] A) →ₐ[D] T)
    (h : βˆ€ a, f ((1 : D) βŠ—β‚œ[R] a) = g ((1 : D) βŠ—β‚œ[R] a)) : f = g := by
  apply AlgHom.ext
  intro p
  induction p using TensorProduct.inductionOn with
  | add p q hp hq => simp only [map_add, hp, hq]
  | tmul c a =>
    have hf : f (c βŠ—β‚œ[R] (1 : A)) = algebraMap D T c := f.commutes c
    have hg : g (c βŠ—β‚œ[R] (1 : A)) = algebraMap D T c := g.commutes c
    have hm : c βŠ—β‚œ[R] a = (c βŠ—β‚œ[R] (1 : A)) * ((1 : D) βŠ—β‚œ[R] a) := by
      rw [Algebra.TensorProduct.tmul_mul_tmul, mul_one, one_mul]
    rw [hm, map_mul, map_mul, hf, hg, h]

end

end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Tensor.AlgebraMapDetermination