roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
2.96 kB
21
abbrev eCochain (P : CochainComplex (ModuleCat.{u} R) ℤ) :=
body · 1 line
  ((eFunctor k R F).mapHomologicalComplex _).obj P
24
abbrev jCochain (P : CochainComplex (ModuleCat.{u} R) ℤ) :=
body · 1 line
  ((jFunctor k R F).mapHomologicalComplex _).obj P
29
theorem eCochain_totallyAcyclic [Module.Finite Rᵐᵒᵖ F] [Module.Projective Rᵐᵒᵖ F]
    (P : CochainComplex (ModuleCat.{u} R) ℤ) (hP : TotallyAcyclicCochain P) :
    TotallyAcyclicCochain (eCochain (k := k) (F := F) P) where
proof · 17 lines
  finite n := by
    let := hP.finite n
    let : Module.Finite k (P.X n) := Module.Finite.trans R (P.X n)
    exact Module.Finite.of_restrictScalars_finite k (Triangular R F) (TriangularE k R F (P.X n))
  projective n := by
    let := hP.finite n
    let := hP.projective n
    exact eProjective
  exactAt n := by
    rw [HomologicalComplex.exactAt_iff' _ (n - 1) n (n + 1) (by simp) (by simp),
      ShortComplex.moduleCat_exact_iff_range_eq_ker]
    have h := hP.exactAt n
    rw [HomologicalComplex.exactAt_iff' _ (n - 1) n (n + 1) (by simp) (by simp),
      ShortComplex.moduleCat_exact_iff_range_eq_ker] at h
    exact (LinearMap.exact_iff.mp (eMap_exact (k := k) (F := F) _ _
      (LinearMap.exact_iff.mpr h.symm))).symm
  dualExact n := eHomExact _ _ (hP.dualExact n)
51
theorem jCochain_totallyAcyclic [Module.Finite R F] [Module.Projective R F]
    (P : CochainComplex (ModuleCat.{u} R) ℤ) (hP : TotallyAcyclicCochain P) :
    TotallyAcyclicCochain (jCochain (k := k) (F := F) P) where
proof · 17 lines
  finite n := by
    let := hP.finite n
    let : Module.Finite k (P.X n) := Module.Finite.trans R (P.X n)
    exact Module.Finite.of_restrictScalars_finite k (Triangular R F) (TriangularJ k R F (P.X n))
  projective n := by
    let := hP.finite n
    let := hP.projective n
    exact jProjective
  exactAt n := by
    rw [HomologicalComplex.exactAt_iff' _ (n - 1) n (n + 1) (by simp) (by simp),
      ShortComplex.moduleCat_exact_iff_range_eq_ker]
    have h := hP.exactAt n
    rw [HomologicalComplex.exactAt_iff' _ (n - 1) n (n + 1) (by simp) (by simp),
      ShortComplex.moduleCat_exact_iff_range_eq_ker] at h
    exact (LinearMap.exact_iff.mp (jMap_exact (k := k) (F := F) _ _
      (LinearMap.exact_iff.mpr h.symm))).symm
  dualExact n := jHomExact _ _ (hP.dualExact n)