Native Leg Hom Ext — coordinate chain dependencies
DefinitionLPCA_Solutions_LPCA_NativeLegHomExt_SixOne20261024_Defscommutative-algebralocal-cohomologylocalized-persistent-commutative-algebralpca-coordinate-chain-20261024stanley-reisner
This bundle supplies the selected constructions and proved compatibility results for native leg hom ext used in the coordinate Čech chain comparison. Each construction retains the rings, categories, grading indices and hypotheses in its formal declaration.
Definition code
import Mathlib.Algebra.Category.ModuleCat.Limits
import Mathlib.Algebra.DirectSum.Module
import Definitions.Def_LPCA_Solutions_LPCA_ModuleDirectSumColimit_Defs
set_option autoImplicit false
namespace LPCA
open CategoryTheory CategoryTheory.Limits
universe u
theorem nativeLegHom_ext (R : Type u) [Ring R]
{I : Type u} [DecidableEq I] (A : I → ModuleCat.{u} R)
(H N : ModuleCat.{u} R) (j : ∀ i, A i ⟶ H)
(E : H ≅ ModuleCat.of R (DirectSum I (fun i => A i)))
(hj : ∀ i, j i ≫ E.hom = ModuleCat.ofHom (DirectSum.lof R I (fun i => A i) i))
(F G : H ⟶ N) (h : ∀ i, j i ≫ F = j i ≫ G) : F = G := by
have hi : ∀ i, ModuleCat.ofHom (DirectSum.lof R I (fun i => A i) i) ≫ E.inv = j i := by
intro i
rw [← hj i, Category.assoc, Iso.hom_inv_id, Category.comp_id]
apply (cancel_epi E.inv).mp
apply (moduleDirectSumIsColimit R A).hom_ext
intro i
change ModuleCat.ofHom (DirectSum.lof R I (fun i => A i) i.as) ≫ E.inv ≫ F =
ModuleCat.ofHom (DirectSum.lof R I (fun i => A i) i.as) ≫ E.inv ≫ G
rw [← Category.assoc, hi i.as, ← Category.assoc, hi i.as]
exact h i.as
end LPCA
Source