roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
1.45 kB
17
theorem positiveExtStableEquiv_precomp (n : ℕ)
    (x : Ext (ModuleCat.of R (Cokernel Q 0)) N (n+1)) :
    positiveExtStableEquiv (k := k) hP N n
      ((Ext.mk₀ (ModuleCat.ofHom (cokernelMap f 0))).comp x (zero_add _)) =
    StableHom.precomp (cokernelMap f ((n+1 : ℕ) : ℤ))
      (positiveExtStableEquiv (k := k) hQ N n x) := by
proof · 11 lines
  obtain ⟨g, hg, rfl⟩ := (completeExtResolution hQ).extMk_surjective x (n+2) rfl
  rw [ProjectiveResolution.mk₀_comp_extMk g (n+2) rfl hg (completeTailHom f hP hQ),
    positiveExtStableEquiv_extMk, positiveExtStableEquiv_extMk]
  change StableHom.classOf R _ _ _ = StableHom.precomp _ (StableHom.classOf R _ _ _)
  rw [StableHom.precomp_classOf]
  apply congrArg (StableHom.classOf R _ _)
  apply LinearMap.ext
  intro z
  obtain ⟨z, rfl⟩ := Submodule.mkQ_surjective
    (LinearMap.range (P.d (((n+1 : ℕ) : ℤ)+1) ((n+1 : ℕ) : ℤ)).hom) z
  rfl