File size: 2,933 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
52
53
54
55
56
57
58
59
60
61
import OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.BalanceIdeal
import OAI.AlgebraicGeometry.CycleClass.Thom.UnramifiedDiagonalLocalization
import OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedCompositeKernel

/-! # Relative Diagonal Ideal -/

namespace OAI.AlgebraicGeometry.CycleClass.Thom.Local.RelativeDiagonalIdeal.Constructions

noncomputable section

/-! At a point on the diagonal, an unramified intermediate algebra
allows the full diagonal ideal to be replaced by the balancing ideal.
This is equality of ideals in the actual localized tensor algebra. -/

open scoped TensorProduct

open OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.BalanceIdeal.Constructions

set_option backward.isDefEq.respectTransparency false
set_option backward.isDefEq.respectTransparency.types false

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

theorem multiplication_comp_balance :
    (Algebra.TensorProduct.lmul' P (S := R)).toRingHom.comp (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom =
      (Algebra.TensorProduct.lmul' k (S := R)).toRingHom := by
  have h : (Algebra.TensorProduct.lmul'' P (S := R)).comp (Tensor.BalanceIdeal.Constructions.balanceMap k P R) =
      Algebra.TensorProduct.lmul'' k (S := R) := by
    ext x
    rfl
  exact congrArg AlgHom.toRingHom h

variable [Algebra.FormallyUnramified P R] [IsNoetherianRing (R ⊗[P] R)]

theorem localized_diagonal_eq_balance (q : PrimeSpectrum R) :
    (KaehlerDifferential.ideal k R).map
      (algebraMap (R ⊗[k] R)
        (Localization.AtPrime (q.asIdeal.comap (Algebra.TensorProduct.lmul' k).toRingHom))) =
    (RingHom.ker (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom).map
      (algebraMap (R ⊗[k] R)
        (Localization.AtPrime (q.asIdeal.comap (Algebra.TensorProduct.lmul' k).toRingHom))) := by
  have hp : (q.asIdeal.comap (Algebra.TensorProduct.lmul' P).toRingHom).comap
      (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom = q.asIdeal.comap (Algebra.TensorProduct.lmul' k).toRingHom := by
    change q.asIdeal.comap ((Algebra.TensorProduct.lmul' P).toRingHom.comp
      (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom) = _
    rw [multiplication_comp_balance]
  have h := LocalizedCompositeKernel.Constructions.kernel_comp_map_eq_at (R ⊗[k] R) (R ⊗[P] R) R
    (Tensor.BalanceIdeal.Constructions.balanceMap k P R).toRingHom (Algebra.TensorProduct.lmul' P).toRingHom
    (Algebra.TensorProduct.mapOfCompatibleSMul_surjective P k R R R)
    (PrimeSpectrum.comap (Algebra.TensorProduct.lmul' P).toRingHom q)
    (PrimeSpectrum.comap (Algebra.TensorProduct.lmul' k).toRingHom q) hp
    (UnramifiedDiagonalLocalization.Constructions.local_diagonal_eq_bot P R q)
  rw [multiplication_comp_balance] at h
  exact h

end

end OAI.AlgebraicGeometry.CycleClass.Thom.Local.RelativeDiagonalIdeal.Constructions