openAI-math-dataset / lean /OAI /Algebra /AuslanderReiten /Tensor /BalancedTensorComparisonMaps.lean
Download lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorComparisonMaps.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 4.26 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorComparisonMaps.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorComparisonMaps.lean
-
curl -L -o BalancedTensorComparisonMaps.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Algebra/AuslanderReiten/Tensor/BalancedTensorComparisonMaps.lean
4.26 kB
Lean 4 · 7
declarations statementsfull
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).toLinearMapdef 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.toLinearMaptheorem comparisonOut_quotient :
(HomotopyCategory.quotient _ _).map (comparisonOut τ M N e) =
(completeTensorIso τ M N e).hom := proof · 1 line
cokernelCochainLift_quotient _ _ _
theorem comparisonIn_quotient :
(HomotopyCategory.quotient _ _).map (comparisonIn τ M N e) =
(completeTensorIso τ M N e).inv := proof · 1 line
cokernelCochainLift_quotient_inv _ _ _
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]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 habtheorem 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) xOutline