openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /HomComplex /FullHomZeroProjection.lean
roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
1.29 kB
12
theorem fullHomPostcomp_ofHom (f : K ⟶ L) (g : L ⟶ M) :
    fullHomPostcomp g 0 (CohomologyClass.mk (Cocycle.ofHom f)) =
      CohomologyClass.mk (Cocycle.ofHom (f ≫ g)) := by
proof · 1 line
  rw [← fullHomPostcomp_identity f, fullHomPostcomp_comp, fullHomPostcomp_identity]
20
theorem fullHomZero_projection_inverse (f : K ⟶ L) (g : L ⟶ K)
    (e : (HomotopyCategory.quotient C _).obj L ≅ (HomotopyCategory.quotient C _).obj K)
    (he : (HomotopyCategory.quotient C _).map g = e.hom)
    (h : fullHomPostcomp g 0 (CohomologyClass.mk (Cocycle.ofHom f)) =
      CohomologyClass.mk (Cocycle.ofHom (𝟙 K))) :
    (HomotopyCategory.quotient C _).map f = e.inv := by
proof · 5 lines
  rw [fullHomPostcomp_ofHom] at h
  have hh := (fullHomZero_class_eq_iff k (f ≫ g) (𝟙 K)).mp h
  rw [CategoryTheory.Functor.map_comp, he, CategoryTheory.Functor.map_id] at hh
  apply (cancel_mono e.hom).1
  exact hh.trans e.inv_hom_id.symm