roseking's picture
Add lean source and binary files (part 5)
d7f9a33 verified
Raw History Blame Contribute Delete
1.18 kB
12
def nonnegativeTailMap : nonnegativeTail P ⟶ nonnegativeTail Q where
body · 6 lines
  f n := f.f (n : ℤ)
  comm' i j h := by
    change j+1=i at h
    subst i
    rw [nonnegativeTail_d, nonnegativeTail_d]
    exact f.comm _ _
20
theorem nonnegativeTailMap_augmentation :
    (nonnegativeTailMap f).f 0 ≫ (nonnegativeTailAugmentation Q).f 0 =
      (nonnegativeTailAugmentation P).f 0 ≫ ModuleCat.ofHom (cokernelMap f 0) := by
proof · 2 lines
  rw [nonnegativeTailAugmentation_f_zero, nonnegativeTailAugmentation_f_zero]
  rfl
26
def completeTailHom (hP : TotallyAcyclicComplex P) (hQ : TotallyAcyclicComplex Q) :
    ProjectiveResolution.Hom (completeExtResolution hP) (completeExtResolution hQ)
      (ModuleCat.ofHom (cokernelMap f 0)) where
body · 4 lines
  hom := nonnegativeTailMap f
  hom_f_zero_comp_π_f_zero := by
    erw [ChainComplex.single₀_map_f_zero]
    exact nonnegativeTailMap_augmentation f