roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
1.47 kB
17
def rawSourceStableEquiv : CohomologyClass K L 1 ≃+ StableHom R (RawSyzygy K) (CochainCokernel L) :=
body · 3 lines
  (fullHomSourceStableLinearEquiv (k := k) K L 1 hK hL).toAddEquiv.trans
    (((StableIsomorphism.ofLinearEquiv (rawSyzygyEquiv K).symm).sourceAddEquiv).trans
      (StableIsomorphism.ofLinearEquiv (cochainCokernelLinearEquiv L)).targetAddEquiv)
23
theorem rawSourceStableEquiv_mk (x : Cocycle K L 1) :
    rawSourceStableEquiv (k := k) K L hK hL (CohomologyClass.mk x) =
      StableHom.classOf R _ _ (rawSourceCocycleMap x) := by
proof · 7 lines
  simp only [rawSourceStableEquiv, AddEquiv.trans_apply,
    LinearEquiv.coe_toAddEquiv,
    StableIsomorphism.sourceAddEquiv, StableIsomorphism.targetAddEquiv,
    StableIsomorphism.ofLinearEquiv, AddEquiv.coe_mk, Equiv.coe_fn_mk]
  erw [fullHomSourceStableLinearEquiv_mk hK hL x]
  rw [StableHom.comp_classOf, StableHom.comp_classOf]
  rfl