openAI-math-dataset / lean /OAI /GroupTheory /PolycyclicRecognition /Finiteness /BoundedResolutionTopHomology.lean
roseking's picture
Add lean source and binary files (part 81)
6aac220 verified
Raw History Blame Contribute Delete
1.71 kB
22
def boundedResolutionTopHomologyEquiv
    (P : ProjectiveResolution (trivialIntegral G)) (n : ℕ)
    (hfin : ∀ i, IntegralRepresentationFinite G (P.complex.X i))
    (hbound : IsZero (P.complex.X (n + 1))) (A : Rep ℤ G) :
    groupHomology A n ≃ₗ[ℤ]
      (cokernel (regularDualMap (P.complex.d n (n - 1))) ⟶ A) := by
body · 10 lines
  classical
  let F := (Rep.coinvariantsTensor ℤ G).obj A
  have hz : (P.complex.coinvariantsTensorObj A).d (n + 1) n = 0 := by
    change F.map (P.complex.d (n + 1) n) = 0
    rw [hbound.eq_of_src (P.complex.d (n + 1) n) 0, F.map_zero]
  let e := (groupHomologyIso A n P).toLinearEquiv.toAddEquiv.trans
    ((topHomologyKernelEquiv (P.complex.coinvariantsTensorObj A) n hz).toAddEquiv.trans
      (regularKernelCokernelEquiv (P.complex.d n (n - 1)) A
        (hfin n) (hfin (n - 1))).toAddEquiv)
  exact { e with map_smul' := fun r x => map_intCast_smul e ℤ ℤ r x }