The Leray–Hirsch map as a map of δ-functors, and dévissage from representable functors
Lib.Cohomology.LerayHirsch.lean
Reading
Upstream documentation written by Claude
A family θ of classes θ_i in Ext^{d_i}(Φ G, F), for an exact functor Φ, defines the Leray–Hirsch map w ↦ Σ Φ(w_i) · θ_i. The file shows that its bijectivity at S can be proved by dévissage in S.
New.Variety.lerayHirsch,New.Variety.IsLerayHirschBasis: the map, from finitely supported families in Ext(S, G) to Ext(Φ S, F), and its bijectivity.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Variety.isLerayHirschBasis_iff_allBijective_truncMap: it is bijective iff its truncations to total degree below n all are.New.Variety.Devissage.allBijective_of_allBijective_sigma_reprBy: from disjoint unions of representable functors to all functors.New.Variety.isLerayHirschBasis_of_reprBy: from representable functors to all functors, for finitely many classes and Φ the restriction along a functor.
Notions from other files:
New.Variety.H: The group Ext^n(N,F) in the category of functors from C to abelian groups;TotalH N Fis their direct sum over n,x.toTotalHis x placed in its degree, andmapThenComp Φ t xis the Yoneda product t ∘ Φ(x).New.Variety.freeAb: The functor sending a set-valued functor Y to ℤ[Y], whose value at A is the free abelian group on Y(A).New.Variety.Devissage: The five and four lemmas for a family of maps f_{N,n} : A N n → B N n, indexed by functors N : D → Ab and degrees n, as for a map of contravariant δ-functors.
Relation to the literature
Known result: Leray–Hirsch theorem that a local basis of cohomology classes is a global basis. The theorem is stated abstractly for Ext groups of functors and finitely many classes. It says that if the Leray–Hirsch map is bijective on ℤ[h_c] for every representable functor h_c, then it is bijective on every functor. Source: Leray, Hirsch; Hatcher, Algebraic Topology, Thm 4D.1; SGA 5 VII (projective bundle formula).
Declarations
def lerayHirsch (S : AbFunctor A) : (I →₀ TotalH S G) →ₗ[ℤ] TotalH (Φ S) F
Import route to Main
Lib.Cohomology.LerayHirsch → Lib.Cohomology.TorsionTheories (pinned import) → Lib.PadicComparison.Primitive.PeriodCoefficients (pinned import) → Lib.PadicComparison.Crystalline.ComparisonMap (pinned import) → Lib.PadicComparison.CrystallineFrobenius (pinned import) → Lib.Shimura.Eigenspace (pinned import) → Lib.GaloisRep.Main.SeedRepresentation (pinned import) → Lib.GaloisRep.Main.SplitCase (pinned import) → Lib.GaloisRep.Main.OddRank (pinned import) → Lib.ClassField.Avatar.LocalGlobalCompatibility (pinned import) → Lib.GaloisRep.Main.AllRanks (pinned import) → Lib.GaloisRep.TaylorWiles (pinned import) → New.Congruences.FirstOrder.TrianglePrimes (pinned import) → New.Congruences.FirstOrder.DenominatorBound (pinned import) → New.Congruences.FitTwistsExist (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)