openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /Stable /StableProjectiveSummand.lean
roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
1.09 kB
10
def dropRight : StableIsomorphism R (M × P) M where
body · 13 lines
  hom := StableHom.classOf R _ _ (LinearMap.fst R M P)
  inv := StableHom.classOf R _ _ (LinearMap.inl R M P)
  hom_inv_id := by
    rw [StableHom.comp_classOf]
    change StableHom.classOf R _ _ ((LinearMap.inl R M P).comp (LinearMap.fst R M P)) =
      StableHom.classOf R _ _ LinearMap.id
    rw [StableHom.classOf_eq_iff, factorsThroughFiniteFree_iff_projective]
    refine ⟨P, inferInstance, inferInstance, inferInstance, inferInstance,
      LinearMap.snd R M P, -(LinearMap.inr R M P), ?_⟩
    ext x <;> simp
  inv_hom_id := by
    rw [StableHom.comp_classOf]
    congr 1
25
@[simp] theorem dropRight_hom :
    (dropRight (R := R) (M := M) (P := P)).hom =
      StableHom.classOf R _ _ (LinearMap.fst R M P) := rfl