roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
2.41 kB
18
theorem eMap_exact [Module.Finite Rᵐᵒᵖ F] [Module.Projective Rᵐᵒᵖ F]
    (e : M →ₗ[R] N) (d : N →ₗ[R] L) (hex : Function.Exact e d) :
    Function.Exact (eMap (k := k) (F := F) e) (eMap d) := by
proof · 11 lines
  have ht := BalancedTensor.mapRight_exact (k := k) (F := F) (S := R) e d hex
  intro z
  constructor
  · intro hz
    obtain ⟨x, hx⟩ := (hex z.top).mp (congrArg TriangularModule.top hz)
    obtain ⟨y, hy⟩ := (ht z.bottom).mp (congrArg TriangularModule.bottom hz)
    exact ⟨⟨x, y⟩, TriangularModule.ext hx hy⟩
  · rintro ⟨w, rfl⟩
    apply TriangularModule.ext
    · exact (hex (e w.top)).mpr ⟨w.top, rfl⟩
    · exact (ht (BalancedTensor.mapRight (S := R) e w.bottom)).mpr ⟨w.bottom, rfl⟩
37
theorem jMap_exact (e : M →ₗ[R] N) (d : N →ₗ[R] L) (hex : Function.Exact e d) :
    Function.Exact (jMap (k := k) (F := F) e) (jMap d) := by
proof · 7 lines
  intro z
  constructor
  · intro hz
    obtain ⟨x, hx⟩ := (hex z.bottom).mp (congrArg TriangularModule.bottom hz)
    exact ⟨⟨0, x⟩, TriangularModule.ext (Subsingleton.elim _ _) hx⟩
  · rintro ⟨w, rfl⟩
    exact TriangularModule.ext (Subsingleton.elim _ _) ((hex (e w.bottom)).mpr ⟨w.bottom, rfl⟩)