roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
1.41 kB
13
theorem extMk_zeroDegree_eq_zero_iff (f : P.complex.X 0 ⟶ Y)
    (hf : P.complex.d 1 0 ≫ f = 0) : P.extMk f 1 rfl hf = 0 ↔ f = 0 := by
proof · 19 lines
  let := HasDerivedCategory.standard C
  obtain ⟨g,hg⟩ := CokernelCofork.IsColimit.desc' P.isColimitCokernelCofork f hf
  change X ⟶ Y at g
  change P.π.f 0 ≫ g = f at hg
  have he : P.extMk (P.π.f 0 ≫ g) 1 rfl
      (by erw [← Category.assoc, P.complex_d_comp_π_f_zero, zero_comp]) = Ext.mk₀ g := by
    erw [← P.extMk_comp_mk₀ (P.π.f 0) 1 rfl P.complex_d_comp_π_f_zero g,
      ResolutionProducts.extMk_augmentation, Ext.mk₀_id_comp]
    rfl
  have he' : P.extMk f 1 rfl hf = Ext.mk₀ g := by simpa only [hg] using he
  constructor
  · intro hz
    have hg0 : g=0 := Ext.homEquiv₀.symm.injective (by
      change Ext.mk₀ g = Ext.mk₀ (0 : X ⟶ Y)
      erw [← he', hz, Ext.mk₀_zero])
    erw [← hg, hg0, comp_zero]
  · intro hz
    cases hz
    exact P.extMk_zero 1 rfl