RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Long exact sequences, four and five lemmas, and Ext with disjoint unions and products

Lib.General.Algebra.LongExactSequences.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

Long exact sequences of abelian groups are packaged as a structure, so that diagram chases, among them the four and five lemmas, are proved once for all cohomology sequences. In the category New.Variety.AbFunctor C of functors from C to abelian groups, with New.Variety.H N F n denoting Ext^n(N, F), short exact sequences in either variable give long exact Ext sequences, and comparison maps give morphisms between them.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

Rest of upstream introduction

Main definitions and results

  • New.Variety.LongExactSeq, New.Variety.LongExactSeq.Hom: the sequences and their morphisms.
  • New.Variety.LongExactSeq.Hom.four_lemma (four lemma) and New.Variety.LongExactSeq.Hom.five_lemma (five lemma).
  • New.Variety.LongExactSeq.contravariant, New.Variety.LongExactSeq.covariant: the long exact Ext sequences of a short exact sequence in the first and in the second variable; New.Variety.Comparison.pull_hom_contravariant and New.Variety.Comparison.pull_hom_covariant say that comparison maps give morphisms between them.
  • New.Variety.isCohomEquiv_iff_subsingleton: in a short exact sequence 0 → X₁ → X₂ → X₃ → 0, the map X₁ → X₂ is an equivalence for F iff the quotient X₃ has no cohomology with values in F.
  • New.Variety.H.sigma_bijective: the cohomology New.Variety.H (freeAb.obj Y) F n of a disjoint union Y = New.Variety.sigma X of set-valued functors is the product of the cohomology groups of the X i, by pull-back (New.Variety.H.map) along the inclusions.
  • New.Variety.H.pi_bijective: the map Ext^n(N, ∏ F_i) → ∏ Ext^n(N, F_i) is bijective, for the objectwise product New.Variety.piAbFunctor.

Notions from other files:

  • New.Variety.IsCohomEquiv: α: N' → N is an equivalence for F: the pull-back Ext^n(N,F) → Ext^n(N',F) is bijective for every n; New.Variety.AllBijective f says that every map f n is bijective.

Pinned source lines

Declarations

Import route to Main

Lib.General.Algebra.LongExactSequences → Lib.Cohomology.Etale.BijectiveComparisons (pinned import) → Lib.Cohomology.Etale.DenseSubfunctors (pinned import) → Lib.General.Geometry.EtaleCharts (pinned import) → Lib.General.Geometry.PointsOfProperSchemes (pinned import) → Lib.Shimura.AbelianScheme.TangentCoordinates (pinned import) → Lib.Shimura.Uniformisation.HolomorphicFamilies (pinned import) → New.Derivatives.Vacuum.TightFrames (pinned import) → New.Derivatives.Vacuum.IntegralVacuum (pinned import) → New.Reduction.Data.AdmissibleData (pinned import) → New.Reduction.Data.Existence (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)

X Reddit Email LinkedIn