We begin with the definition of a projective morphism of schemes.
classIsProjective{XT:Scheme.{w}}(f:X⟶T):Propwhere/-- A finite-dimensional projective presentation exists. -/nonempty_presentation:Nonempty(Presentationf)
A point of a scheme over \operatorname{Spec}R with values in R is a morphism over
\operatorname{Spec}R; the complex points are the case R=\mathbb C. Each has an underlying
scheme point.
The analytic topology is glued from affine charts. Over an affine open U, evaluating regular
functions embeds the points above U into \operatorname{Hom}(\Gamma(U),R) with the topology
of pointwise convergence, and the analytic topology is the finest topology for which all these
charts are continuous. It is generated by the sets on which a local regular function takes values
in a prescribed open subset of R; for R=\mathbb C this is the usual analytic topology.
Definition `Guide.Hodge.D24.Point.chartTopology` of class type is semireducible. Most type class instances should be instance-reducible, so consider marking thisdefinition with `@[instance_reducible]`. If it is intentionally semireducible, this warning can be disabled with `set_option warn.classDefReducibility false`.noncomputabledefPoint.chartTopology{R:Type}[CommRingR][IsLocalRingR]{X:Over(Spec↧R)}[TopologicalSpaceR](U:X.left.Opens):TopologicalSpace(OverOpen(X:=X)U):=.induced(evaluationHomU)inferInstancenoncomputableinstancePoint.analyticTopology{R:Type}[CommRingR][IsLocalRingR]{X:Over(Spec↧R)}[TopologicalSpaceR]:TopologicalSpace(PointRX):=⨆U:X.left.affineOpens,.coinduced(Subtype.val:OverOpen(X:=X)U.1→_)(chartTopologyU.1)AlgebraicGeometry.Point.analyticTopology_eq_generateFrom{R:Type}[CommRingR][IsLocalRingR]{X:Over(Spec(CommRingCat.ofR))}[TopologicalSpaceR][ContinuousMulR][IsOpenUnitsR]:Point.analyticTopology=generateFromPoint.analyticSubbasis#checkAlgebraicGeometry.Point.analyticTopology_eq_generateFrom
The dimension of X is the Krull dimension of its underlying space, as a natural number.
Let X be a smooth complex scheme. The formalization works on the space X(\mathbb C) of its
complex points with the analytic topology. Holomorphic differential forms on this space are first
assembled into presheaves, and exterior differentiation makes them a complex of presheaves
Sheafifying degree by degree gives the holomorphic de Rham complex, indexed by the natural
numbers: its terms are the sheaves of holomorphic forms and its differentials the exterior
derivatives, both constructed in
HodgeConjecture/Definitions/AlgebraicGeometry/Hodge/HolomorphicDeRham.lean.
is a quasi-isomorphism. This is the analytic de Rham theorem in the form used below. Goresky's
notes, §3.10, explain how the Poincaré
lemma exhibits the de Rham complex as a resolution of the constant sheaf and thereby computes its
cohomology.
2.3. Cohomology as morphisms in the derived category🔗
For a complex of sheaves K^\bullet on X(\mathbb C), hypercohomology is defined as a group of
morphisms in the derived category,
where \underline{\mathbb Z}_X is the constant sheaf in degree zero. The derived category is never
constructed: Mathlib's Localization.SmallShiftedHom provides these morphism groups in the
localization of complexes at quasi-isomorphisms without choosing a model for it. Rational
cohomology and de Rham cohomology are the cases K^\bullet=\underline{\mathbb Q}_X and
K^\bullet=\Omega_X^\bullet.
The comparison map H^n(X;\mathbb Q)\to H^n_{\mathrm{dR}}(X) is induced by the composite
\underline{\mathbb Q}_X\to\underline{\mathbb C}_X\to\Omega_X^\bullet. It is \mathbb Q-linear
and injective; injectivity combines the quasi-isomorphism above with the injectivity of extending
scalars from \mathbb Q to \mathbb C. Nothing more is needed, since Hodge classes are defined
as a preimage along this map.
Its inclusion into \Omega_X^\bullet induces a map on hypercohomology, and
F^pH^n_{\mathrm{dR}}(X) is the image of that map. This is the standard definition; compare the
Stacks Project, §50.7, and Deligne's article,
p. 51, where the same
truncated complex appears.
The image is a priori an additive subgroup. Compatibility with complex scalars is proved, and
hodgeFiltrationComplexSubmodule bundles the image as a \mathbb C-subspace, which
restricts to a subspace over any coefficient field contained in \mathbb C. Two sanity checks
are also proved: F^0 is all of H^n_{\mathrm{dR}}(X), and F^p=0 for p>\dim X. Both are
used later — the first is what makes every degree-zero class a Hodge class, the second is what
makes the conjecture vacuous above the dimension.
The Hodge pieces H^{p,q} are defined by the identity
H^{p,q}=F^p\cap\overline{F^q},
which holds in any pure Hodge structure and needs no Hodge decomposition theorem. Complex
conjugation is not \mathbb C-linear, so it does not act on the holomorphic de Rham complex. It
acts on the constant sheaf \underline{\mathbb C}_X by conjugating coefficients, and it is
transported to de Rham cohomology across the comparison isomorphism of the first subsection.
The cohomology of X is not equipped with a pure Hodge structure in the formalization; that
would require the Hodge decomposition. The (p,p) piece is instead defined directly by the
formula above, which is why the conjugation had to be constructed.
The two sanity checks on the filtration pass to the Hodge classes: every degree-zero class is a
Hodge class, and there are none above the dimension. These are the two ends of the conjecture that
the repository settles; see What the repository proves about the statement.
2.7. Why the filtration alone suffices over the rationals🔗
Deligne states the conjecture with the condition \alpha_{\mathrm{dR}}\in F^p alone,
p. 46, and over
\mathbb Q the two conditions agree. When complex conjugation fixes K, a K-rational class
is its own conjugate, so lying in F^p already forces lying in \overline{F^p}. The first
lemma below proves this for any such K; the second specializes it to \mathbb Q, the
coefficient field of the conjecture.
The same argument in an abstract pure Hodge structure of weight 2p is the lemma below, from
HodgeConjecture/Lemmas/LinearAlgebra/HodgeStructure.lean: conjugation fixes rational
vectors and exchanges H^{a,b} with H^{b,a}, so a rational vector in
F^p=\bigoplus_{a\ge p}H^{a,2p-a} also lies in \overline{F^p}=\bigoplus_{b\ge p}H^{2p-b,b},
and the only summand common to both is H^{p,p}.
The conjugation condition cannot be dropped for other coefficient fields. Let E be the
elliptic curve \mathbb C/(\mathbb Z+\mathbb Z i). The periods of dz are 1 and i, so
dz is a \mathbb Q(i)-rational class spanning H^{1,0}(E), and on E\times E the class
\mathrm{pr}_1^*dz\wedge\mathrm{pr}_2^*dz is \mathbb Q(i)-rational of type (2,0). It
lies in F^1H^2 but not in H^{1,1}, so a definition by F^p alone would count it as a
Hodge class of codimension one, although no algebraic class can reach it.