Pointwise tensor product of functors, total Ext with Yoneda composition, external products
Lib.Cohomology.Hodge.CupProduct.lean
Reading
Upstream documentation written by Claude
Products in the cohomology
New.Variety.H N F n = Ext^n(N, F)of functors fromCto abelian groups (New.Variety.AbFunctor C).
New.Variety.abTensor,New.Variety.HasFlatValues: the pointwise tensor product, exact for flat values.New.Variety.TotalH: the direct sum of allExt^n(N, F), with the Yoneda productNew.Variety.TotalH.compand the actionNew.Variety.TotalH.mapof exact functors (IsExactFunctor: sending exact sequences to exact sequences).
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Pull-back and push-forward become products with classes of degree zero, so degrees need no tracking.
New.Variety.TotalH.exact_triangle: the long exact sequence, as an exact triangle.New.Variety.cup: the external product, natural in the spaces (New.Variety.cup_map) and in the site (New.Variety.Comparison.pull_cup).
comp x y is written in diagram order: x in TotalH M N, y in TotalH N F.
Notions from other files:
New.Variety.H.map,New.Variety.H.push: the maps Ext^n(N,F) → Ext^n(N',F) and Ext^n(N,F) → Ext^n(N,F') given by α: N' → N and β: F → F'.New.Variety.Comparison: a comparison from F on C to F' on C' is a functor φ: C' → C with a natural transformation β: F∘φ → F' (the fieldcoeffHom).New.Variety.Comparison.pull: for a comparison (φ,β) and α: N' → N∘φ, the homomorphism Ext^n(N,F) → Ext^n(N',F') obtained by restricting along φ, pushing by β and pulling by α.New.Variety.restrictAlong: for a functor φ: C' → C and a category D, the functor N ↦ N∘φ from functors C → D to functors C' → D.
Relation to the literature
Known; see Lib.Cohomology.Hodge.FixedPointFormula for sources.
Declarations
lemma Comparison.pull_cup {F : AbFunctor C} {a b n : ℕ} {A : Type _} [Category A] {N N' : AbFunctor A} {Θ : C ⥤ A} {Θ' : C' ⥤ A} {F' : AbFunctor C'} {c : Comparison F F'} {η : Θ' ⟶ c.functor ⋙ Θ} [HasFlatValues F] [HasFlatValues F'] [HasFlatValues N] {μ : (abTensor.obj F).obj F ⟶ F} {μ' : (abTensor.obj F').obj F' ⟶ F'} (hμ : (abTensor.map c.coeffHom).app (c.functor ⋙ F) ≫ (abTensor.obj F').map c.coeffHom ≫ μ' = c.functor.whiskerLeft μ ≫ c.coeffHom) (x : H (Θ ⋙ N) F a) (y : H (Θ ⋙ N') F b) (h : b + a = n) : c.pull (whiskerRight η ((abTensor.obj N).obj N')) n (cup μ x y h :) = cup μ' (c.pull (whiskerRight η N) a x) (c.pull (whiskerRight η N') b y) h
Import route to Main
Lib.Cohomology.Hodge.CupProduct → Lib.Cohomology.Etale.RelativeChains (pinned import) → 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)