The Hodge class of the diagonal of a variety with an atlas, with its local description
Lib.Cohomology.Hodge.DiagonalClass.lean
Reading
Upstream documentation written by Claude
The class of the diagonal in Hodge cohomology, for a functor of points
Xonk-algebras.
New.Variety.exists_diagonal_class: ifkhas characteristic zero andXhas an atlas of dimensiond, there is a classδof degreedonX × Xrelative to the complement of the diagonal that is, near the diagonal, the symbol[df / f]of the differences of chart coordinates. It is glued from such symbols.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Variety.HasAtlas d X: X is separated and its field points lie in finitely many affine charts
New.Variety.EtaleChart d X with d étale coordinates. HodgeH (relFreeAb U) q is Hodge
cohomology relative to the subfunctor U. New.Variety.IsLocalSymbol ξ y P g m says three things:
g cuts out P at the point y; y maps the part of Spec R off the preimage of P into U;
and ξ pulls back along y to m • [dg / g]. Here [dg / g] is the pull-back of
New.Variety.symbolClass along g. P is a predicate on points, not the subfunctor that ξ is
relative to; that subfunctor is the implicit U. For the diagonal class, P is the diagonal
x.1 = x.2, while δ is relative to its complement.
Notions from other files:
New.Variety.CutsOutLocus: The elementsf iofRcut out the locus where the pointxofX(R)satisfiesP: a mapα : R ⟶ Ckills everyf iexactly when the image ofxinX(C)satisfiesP.New.Variety.IsOpenSubfunctor: V is an open subfunctor of X: each x ∈ X(A) has an ideal I of A such that, for φ: A → B, φ(x) ∈ V(B) iff φ(I)B = B.New.Variety.EtaleChart: A chart of X: a k-algebra R with finitely many étale coordinates and a point y in X(R) that embeds Spec R as an open subfunctor, itslocus.New.Variety.offDiagonal: The complement of the diagonal in X × X: pairs of points whose values in every field are distinct.New.Variety.relFreeAb: For a subfunctor U of a set-valued functor V, the functor to abelian groups ℤ[V]/ℤ[U].New.Variety.HodgeH: Hodge cohomology: for a functor N from k-algebras to abelian groups, Ext^q from (A, M) ↦ N(A ⊕ M) to (A, M) ↦ ⋀_A M, in functors on pairs.
Relation to the literature
Known; see Lib.Cohomology.Hodge.FixedPointFormula for sources.
Declarations
lemma exists_diagonal_class [CharZero k] (hX : HasAtlas d X) : ∃ δ : HodgeH (relFreeAb (offDiagonal X)) d, ∀ (K : CommAlg k) (z : X.obj K), IsField K.carrier → ∃ (a : EtaleChart d X) (O : Subfunctor (X ⊗ X)), IsOpenSubfunctor O ∧ (z, z) ∈ O.obj K ∧ IsDiagonalSymbolOn δ a O
Import route to Main
Lib.Cohomology.Hodge.DiagonalClass → Lib.Cohomology.Hodge.FixedPointFormula (pinned import) → Lib.Cohomology.PointClass.ProjectiveNonvanishing (pinned import) → Lib.Cohomology.PointClass.LinearIndependence (pinned import) → Lib.Cohomology.WoodsHole (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)