roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
1.03 kB
14
theorem resolution_range_eq_ker :
    LinearMap.range (P.complex.d 1 0).hom = LinearMap.ker (P.π.f 0).hom := by
proof · 3 lines
  have h := P.exact₀
  rw [ShortComplex.moduleCat_exact_iff_range_eq_ker] at h
  exact h
20
def resolutionCokernelEquiv :
    (P.complex.X 0 ⧸ LinearMap.range (P.complex.d 1 0).hom) ≃ₗ[R] M :=
body · 3 lines
  (Submodule.quotEquivOfEq _ _ (resolution_range_eq_ker P)).trans
    ((P.π.f 0).hom.quotKerEquivOfSurjective
      ((ModuleCat.epi_iff_surjective (P.π.f 0)).mp inferInstance))
26
theorem resolutionCokernelEquiv_mk (x : P.complex.X 0) :
    resolutionCokernelEquiv P (Submodule.Quotient.mk x) = (P.π.f 0).hom x := rfl