File size: 2,012 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
50
51
import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule
import Mathlib.RingTheory.Ideal.Quotient.Operations

/-! # Algebra Diagonal Quotient -/

namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.AlgebraDiagonalQuotient

noncomputable section

/-! The actual multiplication module is the quotient by the kernel
of tensor multiplication. The comparison preserves the tensor algebra
action, not only the underlying additive groups. -/

open _root_.CategoryTheory
open scoped TensorProduct

open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.DiagonalModule

universe u
variable (k R : Type u) [Field k] [CommRing R] [Algebra k R]

def diagonalIdeal : Ideal (R ⊗[k] R) :=
  RingHom.ker (Algebra.TensorProduct.lmul' k (S := R)).toRingHom

theorem multiplication_surjective :
    Function.Surjective (Algebra.TensorProduct.lmul' k (S := R)).toRingHom := by
  intro r
  exact ⟨r ⊗ₜ[k] 1, mul_one r⟩

def diagonalQuotientEquiv :
    ((R ⊗[k] R) ⧸ diagonalIdeal k R) ≃ₗ[R ⊗[k] R] DiagonalModule.diagonalModule k R where
  __ := ((Algebra.TensorProduct.lmul' k (S := R)).toRingHom.quotientKerEquivOfSurjective
    (multiplication_surjective k R)).toAddEquiv
  map_smul' a x := by
    obtain ⟨x, rfl⟩ := Ideal.Quotient.mk_surjective x
    change (Algebra.TensorProduct.lmul' k (S := R)).toRingHom.quotientKerEquivOfSurjective
      (multiplication_surjective k R) (Ideal.Quotient.mk _ (a * x)) =
      Algebra.TensorProduct.lmul' k a *
        (Algebra.TensorProduct.lmul' k (S := R)).toRingHom.quotientKerEquivOfSurjective
          (multiplication_surjective k R) (Ideal.Quotient.mk _ x)
    rw [RingHom.quotientKerEquivOfSurjective_apply_mk,
      RingHom.quotientKerEquivOfSurjective_apply_mk, map_mul]
    rfl

def diagonalQuotientIso : ModuleCat.of (R ⊗[k] R) ((R ⊗[k] R) ⧸ diagonalIdeal k R) ≅
    DiagonalModule.diagonalModule k R := (diagonalQuotientEquiv k R).toModuleIso

end

end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.AlgebraDiagonalQuotient