The Hodge Conjecture Formalization

3. Cycles and cohomology with support🔗

3.1. Cycles are indexed by generic points🔗

The coheight of a point x of a scheme is the codimension of its closure \overline{\{x\}}, an irreducible closed subset with generic point x. A codimension-p cycle is a locally finite integer combination of points of coheight p. The formalization uses this description throughout, in place of a separate type of subvarieties.

def codimensionCycleSubgroup (X : Scheme.{u}) (p : ℕ) : AddSubgroup (AlgebraicCycle X ℤ) where carrier c := ∀ x, c x ≠ 0 → coheight x = p zero_mem' x hx := (hx rfl).elim add_mem' := X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx:↥X✝.lefthx:coheight x = ↑p✝n:ℤX:Schemep:ℕ⊢ ∀ {a b : AlgebraicCycle X ℤ}, (a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑p) → (b ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑p) → a + b ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑p X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤb:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑phb:b ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(a + b) x ≠ 0⊢ coheight x = ↑p X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤb:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑phb:b ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(a + b) x ≠ 0hax:a x = 0⊢ coheight x = ↑pX✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤb:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑phb:b ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(a + b) x ≠ 0hax:¬a x = 0⊢ coheight x = ↑p X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤb:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑phb:b ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(a + b) x ≠ 0hax:a x = 0⊢ coheight x = ↑p exact hb x (X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤb:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑phb:b ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(a + b) x ≠ 0hax:a x = 0⊢ b x ≠ 0 All goals completed! 🐙) X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤb:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑phb:b ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(a + b) x ≠ 0hax:¬a x = 0⊢ coheight x = ↑p All goals completed! 🐙 neg_mem' := X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx:↥X✝.lefthx:coheight x = ↑p✝n:ℤX:Schemep:ℕ⊢ ∀ {x : AlgebraicCycle X ℤ}, (x ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑p) → -x ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑p X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(-a) x ≠ 0⊢ coheight x = ↑p X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(-a) x ≠ 0h:a x = 0⊢ (-a) x = 0 X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x = ↑p✝n:ℤX:Schemep:ℕa:AlgebraicCycle X ℤha:a ∈ fun c ↦ ∀ (x : ↥X), c x ≠ 0 → coheight x = ↑px:↥Xhx:(-a) x ≠ 0h:a x = 0⊢ -a x = 0 All goals completed! 🐙 open scoped Classical in noncomputable def codimensionCycleSubgroup.single {X : Scheme.{u}} {p : ℕ} (x : X) (hx : coheight x = p) (n : ℤ) : codimensionCycleSubgroup X p := ⟨Function.locallyFinsuppWithin.single x n, X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x✝ = ↑p✝n✝:ℤX:Schemep:ℕx:↥Xhx:coheight x = ↑pn:ℤ⊢ Function.locallyFinsuppWithin.single x n ∈ codimensionCycleSubgroup X p X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x✝ = ↑p✝n✝:ℤX:Schemep:ℕx:↥Xhx:coheight x = ↑pn:ℤy:↥Xhy:(Function.locallyFinsuppWithin.single x n) y ≠ 0⊢ coheight y = ↑p X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x✝ = ↑p✝n✝:ℤX:Schemep:ℕx:↥Xhx:coheight x = ↑pn:ℤy:↥Xhy:(Function.locallyFinsuppWithin.single x n) y ≠ 0h:y = x⊢ coheight y = ↑pX✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x✝ = ↑p✝n✝:ℤX:Schemep:ℕx:↥Xhx:coheight x = ↑pn:ℤy:↥Xhy:(Function.locallyFinsuppWithin.single x n) y ≠ 0h:¬y = x⊢ coheight y = ↑p X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x✝ = ↑p✝n✝:ℤX:Schemep:ℕx:↥Xhx:coheight x = ↑pn:ℤy:↥Xhy:(Function.locallyFinsuppWithin.single x n) y ≠ 0h:y = x⊢ coheight y = ↑p All goals completed! 🐙 X✝:Over (Spec ↧ℂ)inst✝²:AlgebraicGeometry.IsIntegral X✝.leftinst✝¹:Smooth X✝.hominst✝:IsProjective X✝.homd:ℕp✝:ℕx✝:↥X✝.lefthx✝:coheight x✝ = ↑p✝n✝:ℤX:Schemep:ℕx:↥Xhx:coheight x = ↑pn:ℤy:↥Xhy:(Function.locallyFinsuppWithin.single x n) y ≠ 0h:¬y = x⊢ coheight y = ↑p All goals completed! 🐙⟩

3.2. The support of a subvariety🔗

For a point x of X.left, cycleComponent X.left x is the reduced closed subscheme with underlying space \overline{\{x\}}, and cycleComponentι is its closed immersion into X.left. The support of the subvariety in X(\mathbb C) is the preimage of \overline{\{x\}} under the map from complex points to scheme points, and it is closed in the analytic topology.

def cycleComponent (X : Scheme) (x : X) : Scheme := (Scheme.IdealSheafData.vanishingIdeal (X := X) ⟨closure {x}, isClosed_closure⟩).subscheme def cycleComponentι (X : Scheme) (x : X) : cycleComponent X x ⟶ X := (Scheme.IdealSheafData.vanishingIdeal (X := X) ⟨closure {x}, isClosed_closure⟩).subschemeι def cycleComponentSupport (X : Over (Spec ↧ℂ)) [IsIntegral X.left] [Smooth X.hom] [IsProjective X.hom] (x : X.left) : Set (ComplexPoint X) := Point.underlying ⁻¹' closure {x} AlgebraicGeometry.isClosed_cycleComponentSupport (X : Over (Spec ↧ℂ)) [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [IsProjective X.hom] (x : ↥X.left) : IsClosed (cycleComponentSupport X x)#check isClosed_cycleComponentSupport

Only the ambient variety is assumed smooth. A subvariety may be singular, and the construction of its class in the next section handles that case from the start.

3.3. Cohomology with support🔗

Let Z\subseteq X(\mathbb C) be closed, with open complement U. Mathlib defines sheaf cohomology as an Ext group: H^n(X;F)=\operatorname{Ext}^n(\mathbb Z_X,F), and the cohomology of an open U as \operatorname{Ext}^n(\mathbb Z[U],F), where \mathbb Z[U] is the free abelian sheaf on the presheaf represented by U. The formalization follows this pattern. For opens W\le V, the sheaf \mathbb Z[V,W] is the cokernel of \mathbb Z[W]\to\mathbb Z[V], and the cohomology of the pair (V,W) is \operatorname{Ext}^n(\mathbb Z[V,W],F). Cohomology with support in Z is the case of the pair (X,U). The short exact sequence 0\to\mathbb Z[U]\to\mathbb Z[X]\to\mathbb Z[X,U]\to0 gives the long exact sequence

\cdots\to H^n_Z(X;F)\to H^n(X;F)\to H^n(U;F)\to H^{n+1}_Z(X;F)\to\cdots

as the contravariant Ext sequence, CategoryTheory.Sheaf.relH.sequence_exact. Forgetting support is its first map: precomposition with \mathbb Z[X]\to\mathbb Z[X,U], followed by the identification of \mathbb Z[X] with the constant sheaf \mathbb Z_X. The group has its own notation, H_[Z]^n(X; K).

abbrev pairSheaf {C : Type u} [Category.{v} C] {J : GrothendieckTopology C} [HasSheafify J AddCommGrpCat.{v}] {U V : C} (f : U ⟶ V) : Sheaf J AddCommGrpCat.{v} := Limits.cokernel ((Sheaf.freeAbelianSheaf J).map f) abbrev relH {C : Type u} [Category.{v} C] {J : GrothendieckTopology C} [HasSheafify J AddCommGrpCat.{v}] [HasExt.{w} (Sheaf J AddCommGrpCat.{v})] (F : Sheaf J AddCommGrpCat.{v}) (n : ℕ) {U V : C} (f : U ⟶ V) : Type w := Abelian.Ext (Sheaf.pairSheaf (J := J) f) F n abbrev supportH (X : TopCat.{u}) [HasExt.{w} (Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u})] (Z : Closeds X) (F : Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) (n : ℕ) : Type w := Sheaf.relH F n (homOfLE (le_top : Z.compl ≤ ⊤)) def forgetSupport (K : Type) [Field K] (X : Over (Spec ↧ℂ)) (Z : Closeds (ComplexPoint X)) (n : ℕ) : H_[Z]^n(X; K) →+ H^n(X; K) := (Sheaf.H'.addEquivTerminal Limits.isTerminalTop _ n).toAddMonoidHom.comp (Sheaf.relH.forget _ (homOfLE (le_top : Z.compl ≤ ⊤)) n)

For the triangle and the exact sequence of a pair see Goresky, §§7.14–7.15; for the derived-functor description see the Stacks Project, §20.21.

This guide is currently work in progress.