Shift a fixed finite presentation by adding the twist to the degree of every free generator. The underlying linear map is retained.
Source context 5 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
noncomputable section
namespace ProjSpaceCech.GradedModule
universe u
variable {R : Type u} [CommRing R] {n : ℕ} {D : GradedModule R n}def Presentation.shift (σ : Presentation D) (e : ℤ) : Presentation (D.shift e) where
J := σ.J
fJ := σ.fJ
d₀ k := e + σ.d₀ k
hom := {
toLinearMap := σ.hom.toLinearMap
mem_grade := by
intro a m hm
change σ.hom.toLinearMap m ∈ D.grade (a + e)
apply σ.hom.mem_grade (a + e) m
change m ∈ Submodule.pi Set.univ
(fun k => freeGrade R n ((a + e) + σ.d₀ k))
change m ∈ Submodule.pi Set.univ
(fun k => freeGrade R n (a + (e + σ.d₀ k))) at hm
simpa only [add_assoc] using hm
xMul_comm := σ.hom.xMul_comm
}
surj := by
intro a m hm
obtain ⟨m', hm', hmap⟩ := σ.surj (a + e) m hm
refine ⟨m', ?_, hmap⟩
change m' ∈ Submodule.pi Set.univ
(fun k => freeGrade R n (a + (e + σ.d₀ k)))
change m' ∈ Submodule.pi Set.univ
(fun k => freeGrade R n ((a + e) + σ.d₀ k)) at hm'
simpa only [add_assoc] using hm'