roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
767 Bytes
12
theorem map_exact (s : ShortComplex (ModuleCat.{v} S)) (h : s.Exact) :
    (s.map (ModuleCat.restrictScalars f)).Exact := by
proof · 2 lines
  rw [ShortComplex.ShortExact.moduleCat_exact_iff_function_exact] at h ⊢
  exact h
17
noncomputable instance preservesHomology : (ModuleCat.restrictScalars.{v} f).PreservesHomology :=
body · 1 line
  ((Functor.exact_tfae (ModuleCat.restrictScalars.{v} f)).out 2 3).mp (map_exact f)