openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /Tensor /BalancedTensorComparisonMaps.lean
roseking's picture
Add lean source and binary files (part 6)
2c7d975 verified
Raw History Blame Contribute Delete
4.26 kB
22
def comparisonOut : completeTensor (F := F) τ M ⟶ N.completeCochain τ :=
body · 4 lines
  cokernelCochainLift (completeTensor_totallyAcyclic (F := F) τ M)
    (N.completeCochain_totallyAcyclic τ)
    (((tensorCokernelEquiv (F := F) τ M).trans e).trans
      (N.completeCochainCokernelEquiv τ).symm).toLinearMap
28
def comparisonIn : N.completeCochain τ ⟶ completeTensor (F := F) τ M :=
body · 4 lines
  cokernelCochainLift (N.completeCochain_totallyAcyclic τ)
    (completeTensor_totallyAcyclic (F := F) τ M)
    (((tensorCokernelEquiv (F := F) τ M).trans e).trans
      (N.completeCochainCokernelEquiv τ).symm).symm.toLinearMap
34
theorem comparisonOut_quotient :
    (HomotopyCategory.quotient _ _).map (comparisonOut τ M N e) =
      (completeTensorIso τ M N e).hom :=
proof · 1 line
  cokernelCochainLift_quotient _ _ _
39
theorem comparisonIn_quotient :
    (HomotopyCategory.quotient _ _).map (comparisonIn τ M N e) =
      (completeTensorIso τ M N e).inv :=
proof · 1 line
  cokernelCochainLift_quotient_inv _ _ _
44
theorem comparisonOut_bijective (K : CochainComplex (ModuleCat.{u} R) ℤ) (n : ℤ) :
    Function.Bijective (fullHomPostcomp (K := K) (comparisonOut τ M N e) n) := by
proof · 5 lines
  apply fullHomPostcomp_bijective k n (comparisonOut τ M N e) (comparisonIn τ M N e)
  · rw [CategoryTheory.Functor.map_comp, comparisonOut_quotient, comparisonIn_quotient,
      Iso.hom_inv_id]
  · rw [CategoryTheory.Functor.map_comp, comparisonOut_quotient, comparisonIn_quotient,
      Iso.inv_hom_id]
59
theorem comparisonOut_natural
    (a : F →ₗ[Rᵐᵒᵖ] G) (ha : ∀ (r : R) f, a (r • f) = r • a f)
    (e' : BalancedTensor k R G M.carrier ≃ₗ[R] N'.carrier)
    (b : N.carrier →ₗ[R] N'.carrier)
    (hab : ∀ x, e' (mapLeft (k := k) (M := M.carrier) a x) = b (e x)) :
    (HomotopyCategory.quotient _ _).map
      (complexMap (k := k) a ha (M.completeCochain τ) ≫ comparisonOut τ M N' e') =
    (HomotopyCategory.quotient _ _).map
      (comparisonOut τ M N e ≫ FiniteLeftModule.resolutionMap τ b) := by
proof · 3 lines
  rw [CategoryTheory.Functor.map_comp, CategoryTheory.Functor.map_comp,
    comparisonOut_quotient, comparisonOut_quotient]
  exact completeTensorIso_natural τ M N N' a ha e e' b hab
72
theorem comparisonOut_fullHom_natural
    (a : F →ₗ[Rᵐᵒᵖ] G) (ha : ∀ (r : R) f, a (r • f) = r • a f)
    (e' : BalancedTensor k R G M.carrier ≃ₗ[R] N'.carrier)
    (b : N.carrier →ₗ[R] N'.carrier)
    (hab : ∀ x, e' (mapLeft (k := k) (M := M.carrier) a x) = b (e x))
    (K : CochainComplex (ModuleCat.{u} R) ℤ) (n : ℤ)
    (x : CohomologyClass K (completeTensor (F := F) τ M) n) :
    fullHomPostcomp (comparisonOut τ M N' e') n
      (fullHomPostcomp (complexMap (k := k) a ha (M.completeCochain τ)) n x) =
    fullHomPostcomp (FiniteLeftModule.resolutionMap τ b) n
      (fullHomPostcomp (comparisonOut τ M N e) n x) := by
proof · 2 lines
  rw [fullHomPostcomp_comp, fullHomPostcomp_comp]
  exact fullHomPostcomp_congr k n (comparisonOut_natural τ M N e N' a ha e' b hab) x