grh-compacta Lean artifact read back into mathematics

Lean source

Lib.Cohomology.Etale.Relations

Lib/Cohomology/Etale/Relations.lean · 24 lines · 3 declarations

Its 3 declarations
Lib/Cohomology/Etale/Relations.lean · all 24 lines
import Lib.Cohomology.Etale.Partitions/-! Part of: Descent of torsion étale cohomology along v-covers; excision, transfer, limits (knownresult; see Lib.Cohomology.Etale.ContinuityAtlas).This file: A relation among maps on a locus with the same cohomology gives a relation amongpull-backs. -/open CategoryTheory Preadditive Subfunctorvariable {C} [Category C] {Y W : C ⥤ Type 1} {F n ι} [Fintype ι] (c) (f : ι → (W ⟶ Y))/-- For finitely many f_i: W → Y and integers c_i, the subfunctor of W of points x with ∑ c_i[f_i(x)] = 0 in Z[Y(A)], expressed by `Cancels`. -/def relationLocus := mk ({x | Cancels c fun i ↦ f i · x}) fun _ _ ↦ (·.mono fun _ ↦ by simp_all)lemma relationLocus_sum_eq_zero : freeAb.map (relationLocus c f).ι ≫ ∑ i,  c i • freeAb.map (f i) = 0 := freeAb.hom_ext fun _ ↦ (sum_app_apply.trans ·.2)/-- For finitely many f_i: W → Y and integers c_i, if the inclusion into W of the locus where ∑c_i [f_i(w)] = 0 is an equivalence for F, then ∑ c_i f_i^* x = 0 for every x in H^n(Y,F). -/lemma H.sum_map_eq_zero_of_relationLocus (h : IsCohomEquiv F (freeAb.map (relationLocus c f).ι)) x :  ∑ i, c i • map F (freeAb.map (f i)) n x = 0 := (h n).1  (by simpa [comp_sum, ← map_comp] using! congr((mapHom ..) $(relationLocus_sum_eq_zero ..) x))