File size: 2,329 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
import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.QuotientComplex

/-! # Annihilated Parameter Complex -/

namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedParameterComplex

noncomputable section

/-! Quotienting a complex by a scalar already annihilating every
term is an actual chain isomorphism, including its native homology. -/

set_option backward.isDefEq.respectTransparency false

open _root_.CategoryTheory _root_.CategoryTheory.Limits
open scoped Pointwise TensorProduct

universe u

variable (R : Type u) [CommRing R] (r : R)

theorem submodule_eq_bot (M : ModuleCat.{u} R) (hM : βˆ€ m : M, r β€’ m = 0) :
    r β€’ (⊀ : Submodule R M) = βŠ₯ := by
  apply le_antisymm _ bot_le
  intro m hm
  obtain ⟨n, _, rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists m r (⊀ : Submodule R M)).mp hm
  exact hM n

theorem tensor (M N : ModuleCat.{u} R) (hM : βˆ€ m : M, r β€’ m = 0) :
    βˆ€ t : M βŠ—[R] N, r β€’ t = 0 := by
  intro t
  induction t using TensorProduct.inductionOn with
  | tmul m n => rw [TensorProduct.smul_tmul', hM m, TensorProduct.zero_tmul]
  | add a b ha hb => rw [smul_add, ha, hb, add_zero]

theorem projection_isIso (K : ChainComplex (ModuleCat.{u} R) β„•)
    (hK : βˆ€ i, βˆ€ m : K.X i, r β€’ m = 0) :
    IsIso (Parameter.QuotientComplex.projection R r K) := by
  have h (i : β„•) : IsIso ((Parameter.QuotientComplex.projection R r K).f i) := by
    apply (ConcreteCategory.isIso_iff_bijective _).mpr
    refine ⟨?_, Submodule.mkQ_surjective _⟩
    apply LinearMap.ker_eq_bot.mp
    change (r β€’ (⊀ : Submodule R (K.X i))).mkQ.ker = βŠ₯
    rw [Submodule.ker_mkQ]
    exact submodule_eq_bot R r (K.X i) (hK i)
  let := h
  exact HomologicalComplex.Hom.isIso_of_components _

theorem homology_length (K : ChainComplex (ModuleCat.{u} R) β„•)
    (hK : βˆ€ i, βˆ€ m : K.X i, r β€’ m = 0) (n : β„•) :
    Module.length R ((Parameter.QuotientComplex.complex R r K).homology n) =
      Module.length R (K.homology n) := by
  let := projection_isIso R r K hK
  exact ((HomologicalComplex.homologyFunctor (ModuleCat R) (ComplexShape.down β„•) n).mapIso
    (asIso (Parameter.QuotientComplex.projection R r K))).toLinearEquiv.length_eq.symm

end

end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedParameterComplex