Why should complex numbers constrain topology?
Take and identify each point with . The quotient — a fundamental domain is the shell with its two boundary spheres glued — is a compact complex surface — the Hopf surface — and it is diffeomorphic to . Its first Betti number is .
No smooth complex projective surface, and more generally no compact Kähler manifold, can have . The reason is one of the great theorems of twentieth-century geometry: on a compact Kähler manifold every cohomology class splits into pieces of type , and the pieces of types and are complex conjugates of each other. So is even.
The same Hodge decomposition organises a whole landscape. It explains why algebraic varieties have rigid topology; it gives Calabi–Yau manifolds their Hodge diamonds (the quintic threefold has , a number string theorists and enumerative geometers care about); and it frames the Hodge conjecture, one of the seven Millennium Problems — the question of which cohomology classes come from algebraic subvarieties. This lesson is an orientation to that landscape: the definitions, the linear algebra proved in full, the Hodge theorem stated precisely with its consequences proved, worked Hodge diamonds, and a clear line between theorems and open problems.
Three structures that fit together
On three structures live together:
- the Euclidean metric ;
- the complex structure , multiplication by , with ;
- the symplectic form .
They determine each other: , and is an isometry. A Kähler manifold is a manifold that carries all three, compatibly, with coming from holomorphic coordinates and closed. The striking fact is that this is equivalent to asking that be parallel for the Levi-Civita connection of — so the complex structure, the metric and the symplectic form are "locked together" as tightly as possible. A Kähler metric osculates the flat metric to second order in suitable holomorphic coordinates: all its curvature appears at second order, never at first.
Why does this constrain topology? Hodge's insight was to represent each de Rham class by its unique harmonic form — the one of least energy in its class. On a Kähler manifold the Laplacian is so well adapted to the complex structure that it does not mix types: the -parts of a harmonic form are harmonic. Topology (de Rham cohomology) thereby inherits the algebra of types, and complex conjugation exchanges with .
Analogy, not a formal construction
Think of a harmonic form as a standing wave on a drum. On a generic drum, waves of different "polarisations" interfere and mix; on a Kähler manifold the drum is so symmetric that the polarisations vibrate independently. This is only a picture: the actual statement is the identity proved below from the Kähler identities.
Definitions
The prerequisites are Riemann surfaces, Riemannian geometry, vector bundles and Chern classes and the language of algebraic geometry.
Definition— complex manifold and almost complex structure
A complex manifold of dimension is a manifold with an atlas of charts to open subsets of whose transition maps are holomorphic. Multiplication by in charts defines an endomorphism of the tangent bundle with . Any such on a manifold is an almost complex structure; by the Newlander–Nirenberg theorem (1957) it comes from a complex structure exactly when its Nijenhuis tensor vanishes.
Definition— forms of type (p, q) and the Dolbeault complex
On a complex manifold, complex-valued forms split as , where locally is spanned by . Integrability gives with , , and . The Dolbeault cohomology is on ; by Dolbeault's theorem , sheaf cohomology of holomorphic -forms.
Definition— Hermitian metric, fundamental form, Kähler metric
A Hermitian metric on a complex manifold is a Riemannian metric with . Its fundamental form is , a real -form of type ; in coordinates with a positive definite Hermitian matrix of functions. The metric is Kähler if ; then is the Kähler form and the Kähler class.
Definition— Hodge numbers, canonical bundle, Calabi–Yau
For a compact complex manifold the Hodge numbers are ; on a compact Kähler manifold they equal the dimensions of the spaces of harmonic -forms for any Kähler metric. The canonical bundle is , the line bundle of holomorphic -forms, and . A Calabi–Yau manifold is a compact Kähler manifold with trivial canonical bundle; many authors also require it to be simply connected, or that for , so check the convention in use.
Examples and a non-example
Example— Flat models: ℂⁿ and complex tori
with is Kähler. For a lattice , the torus inherits the flat Kähler metric. Translation-invariant forms with , are harmonic, and they span the harmonic -forms, so . Summing over gives — the Betti numbers of the real torus , by Vandermonde's identity. Only some complex tori are projective (abelian varieties): exactly those satisfying the Riemann bilinear relations.
Example— Projective space and the Fubini–Study metric
On with homogeneous coordinates , the form is well defined (changing the representative multiplies by , and ), closed and positive: this is the Fubini–Study Kähler metric (normalisations vary by constant factors). In the affine chart it has the Kähler potential . On it is , of total area , the round metric on a sphere of radius . The computation section verifies the Kähler condition for it symbolically.
Example— Projective manifolds are Kähler
If is a complex submanifold of a Kähler manifold, then is Hermitian, its fundamental form is , and . So every smooth complex projective variety is Kähler, with the restriction of . This is the main source of examples: smooth hypersurfaces such as the quartic K3 surface and the quintic threefold , both Calabi–Yau.
Example— Riemann surfaces
On a complex curve every Hermitian metric is Kähler: is a -form on a real surface, hence zero. So compact Riemann surfaces are Kähler, with (the genus) and — the familiar fact that the first Betti number of a closed orientable surface is even appears as Hodge symmetry.
Example— A non-example: the Hopf surface
The Hopf surface is a compact complex manifold diffeomorphic to , so and . It carries the Hermitian metric , invariant under , which is not Kähler (computed below). And it carries no Kähler metric at all: either because is odd, or because a Kähler class would give in .
Linear algebra and the Kähler condition
Theorem— Proposition 1 — the compatible triple
Let be a real vector space with and an inner product with . Then is alternating, -invariant and non-degenerate, with ; and is a Hermitian inner product on the complex vector space , linear in the first variable. Conversely and . In a unitary basis , and is the Riemannian volume form.
Proof
, using -invariance of and symmetry. after applying -invariance once more. for , so is non-degenerate. For : , using ; and by the symmetries just proved. Gram–Schmidt for gives a unitary basis ; then is -orthonormal, and all other pairings vanish, which gives the formulas for and .
∎
(Mathlib's inner product is conjugate-linear in the first variable, so the formal version uses ; the two conventions differ by a conjugation.)
Theorem— Proposition 2 — when is a Hermitian metric Kähler?
For a Hermitian metric on an open set of , the following are equivalent: (a) ; (b) for all ; (c) near each point for a real function , a Kähler potential.
Proof
Since is real, iff (then too). Now , and the coefficient of for is , so (a) ⟺ (b). If (c) holds, and is symmetric in , which is (b); more conceptually . The converse (a) ⟹ (c) is the local -lemma. On a polydisc, the Poincaré lemma gives a real -form with ; write with . Comparing types in , the -part gives , and the -part gives . By the Dolbeault–Grothendieck lemma (the -Poincaré lemma on a polydisc), for a function , and then . Hence , so is a real Kähler potential.
∎
Criterion (b) is what the second experiment tests symbolically: the Fubini–Study metric passes, the Hopf metric fails.
Theorem— Proposition 3 — Kähler classes and complex submanifolds are non-trivial
Let be a compact Kähler manifold of dimension . Then in for , so . If is a compact complex submanifold of dimension , then , so the homology class is non-zero.
Proof
By Proposition 1, is the volume form, so . If then and Stokes gives . For , is the Kähler form of the induced metric, so is its volume form; if then .
∎
This is the same argument as for symplectic manifolds (see symplectic geometry): every Kähler manifold is symplectic. The converse fails — Thurston's example (1976), the Kodaira–Thurston manifold, is a compact symplectic -manifold with , which by the next section cannot be Kähler.
Hodge theory: the decomposition and its consequences
Let be compact Kähler of complex dimension . With the formal adjoints for the inner product on forms, define the Laplacians and , and let with adjoint .
Theorem— Theorem 4 — Hodge theorem (stated)
On a compact oriented Riemannian manifold every de Rham class contains exactly one harmonic form (), and . On a compact Hermitian manifold, likewise, , and these spaces are finite-dimensional.
The proof is elliptic PDE: is an elliptic operator, so it has a Green operator on a compact manifold. See Griffiths–Harris Ch. 0 §6, Wells Ch. IV, or Warner's Foundations of Differentiable Manifolds and Lie Groups, Ch. 6.
Theorem— Theorem 5 — Kähler identities (stated)
On a Kähler manifold and . Consequently ; in particular preserves bidegree and commutes with and .
The identities themselves are first-order and pointwise. Since a Kähler metric agrees with the flat metric to second order at any point in suitable holomorphic coordinates, it suffices to check them on , where they are a computation (Huybrechts, Prop. 3.1.12; Griffiths–Harris, pp. 111–115). The consequences for the Laplacians follow in two lines. First, from and ,
and its conjugate as well, so the mixed terms in vanish and . Second, substituting and ,
so and .
Theorem— Theorem 6 — Hodge decomposition and Hodge symmetry
For a compact Kähler manifold ,
where is the space of classes represented by closed forms of type ; it is isomorphic to . The decomposition does not depend on the Kähler metric.
Proof
By Theorem 4, . By Theorem 5, preserves bidegree, so if is -harmonic then with each summand of a different type, hence each is -harmonic. Thus , and because . Since is a real operator, complex conjugation maps harmonic forms to harmonic forms and -forms to -forms, giving . Independence of the metric: the harmonic projection is built from , which preserves bidegree, so it commutes with the projection onto type ; hence the harmonic representative of a closed -form is again of type , and is exactly the set of classes having some closed representative of type — a description that does not mention the metric.
∎
Theorem— Corollary 7 — topological restrictions
Let be compact Kähler of dimension . (i) , , and (Serre duality). (ii) Odd Betti numbers are even. (iii) Holomorphic -forms are closed and harmonic, and . (iv) The Hopf surface, and every compact complex surface with odd , is not Kähler.
Proof
(i) is Theorem 6 plus Serre duality. (ii) For , the involution of has no fixed point, so — this arithmetic step is formalised below. (iii) If is a holomorphic -form then , and because maps to . So , hence and . Conversely a -harmonic -form is -closed, i.e. holomorphic. (iv) follows from (ii).
∎
Two further theorems complete the classical picture.
Hard Lefschetz (stated). For a compact Kähler manifold, is an isomorphism for every . Consequently is injective for , and , similarly for odd degrees. The primitive cohomology carries the Hodge–Riemann bilinear relations, a definiteness property; for surfaces it gives the Hodge index theorem: the intersection form on has signature .
The -lemma (stated). On a compact Kähler manifold, a -closed form of pure type that is -exact (or - or -exact) is -exact. Deligne, Griffiths, Morgan and Sullivan (1975) deduced that compact Kähler manifolds are formal: their real homotopy type is determined by the cohomology ring, and all Massey products vanish. This is a third, independent topological restriction, used to show that certain symplectic manifolds with even Betti numbers are still not Kähler.
Example— The Hodge diamond of a K3 surface
A K3 surface is a compact complex surface with trivial canonical bundle and (it is automatically Kähler, by a theorem of Siu, 1983). Then , , and Noether's formula with and gives . So and :
By the Lefschetz -theorem (below) the Picard number of a K3 surface is at most .
Calabi–Yau manifolds and Yau's theorem
The Ricci form of a Kähler metric, , is a closed real -form; locally it is up to a positive constant fixed by the conventions, and in whatever the metric. So is the only obstruction to Ricci-flatness within cohomology — and Calabi asked (1954–57) whether it is the only obstruction at all.
Theorem (Yau, 1976–78; the Calabi conjecture). Let be compact Kähler with Kähler form , and let be any closed real -form representing . Then there is a unique Kähler form in the class whose Ricci form is . In particular, if in , each Kähler class contains a unique Ricci-flat Kähler metric.
Writing turns the problem into the complex Monge–Ampère equation with . Calabi proved uniqueness; Yau proved existence by the continuity method, the decisive step being an a priori estimate for . Ricci-flat Kähler metrics have holonomy in ; K3 surfaces and the quintic threefold carry them, although no explicit formula is known for any compact example other than flat tori and their quotients.
Kähler–Einstein metrics () exist when (Aubin and Yau, 1976–78) and when (Yau). When (Fano manifolds) there are obstructions (Matsushima, Futaki), and the Yau–Tian–Donaldson conjecture — existence if and only if is K-polystable — was proved for Fano manifolds by Chen, Donaldson and Sun (2015).
The Hodge diamond of a Calabi–Yau threefold is determined by two numbers, and : for the quintic, (the hyperplane class, by the Lefschetz hyperplane theorem) and (the number of independent deformations of the complex structure, by the Bogomolov–Tian–Todorov theorem and ). The experiment computes by counting monomials. Mirror symmetry predicts a "mirror quintic" with these two numbers exchanged; it exists (Greene–Plesser, 1990).
The Hodge conjecture
Let be a smooth complex projective variety of dimension . A Hodge class of degree is an element of
If is a subvariety of codimension , its fundamental class is a Hodge class: integrating a closed -form with over the complex -dimensional gives zero unless , so the Poincaré dual of pairs to zero with every except , which places it in .
The Hodge conjecture (Hodge, 1950, in the corrected rational form). Every Hodge class on a smooth complex projective variety is a -linear combination of fundamental classes of algebraic subvarieties. It is one of the Clay Mathematics Institute's seven Millennium Problems (2000).
What is known:
- : true. The Lefschetz -theorem (Lefschetz, 1924; sheaf-theoretic proof by Kodaira and Spencer, 1953): an integral class in is the first Chern class of a holomorphic line bundle if and only if its image in has type . Proof sketch: the exponential sequence gives , and a real class maps to zero in exactly when, by Hodge symmetry, its and parts vanish. On a projective variety every line bundle is for a divisor , so is algebraic.
- : true, by hard Lefschetz from the case .
- Many special cases are known — for instance for abelian varieties of dimension at most , where it follows from the cases and , and for various varieties with large symmetry. The conjecture is open in general, even for abelian varieties of higher dimension.
What is false — the conjecture is stated carefully for good reasons:
- Integral coefficients. Atiyah and Hirzebruch (1962) found torsion integral Hodge classes that are not algebraic; Kollár (1992) found non-torsion examples. The integral Hodge conjecture is false.
- Kähler manifolds. Voisin (2002) constructed compact Kähler manifolds whose Hodge classes are not even combinations of Chern classes of coherent sheaves; so the natural Kähler generalisation is false, and projectivity is essential.
- Kodaira's problem. Kodaira showed (1954) that a compact Kähler manifold with an integral Kähler class is projective, and (1963) that every compact Kähler surface deforms to a projective one. Voisin (2004) showed that in dimension at least there are compact Kähler manifolds not even homotopy equivalent to any projective manifold.
Kähler linear algebra in Lean and Mathlib
Mathlib has complex manifolds (manifolds modelled on with holomorphic transition maps) and inner product spaces, but no Kähler manifolds, Dolbeault cohomology or Hodge theory yet. Formalised here: the pointwise linear algebra of Proposition 1, the arithmetic of Corollary 7 (ii) and (iv), the Hodge numbers of tori, and the rigidity of holomorphic functions.
Mathlib's complex inner product inner ℂ u v is conjugate-linear in u, so the Kähler form is its imaginary part:
/-- The Riemannian metric `g(u, v) = Re h(u, v)` underlying a Hermitian inner product `h`. -/
noncomputable def metric (u v : E) : ℝ := (inner ℂ u v).re/-- The fundamental (Kähler) form `ω(u, v) = Im h(u, v)` of a Hermitian inner product `h`. On `ℂ`
with `h(u, v) = conj(u) v` it is `dx ∧ dy`: `ω(1, i) = Im(i) = 1`. -/
noncomputable def kahlerForm (u v : E) : ℝ := (inner ℂ u v).im/-- **The triple is compatible**: `ω(u, v) = g(Ju, v)` with `J = i·`. Proof:
`h(iu, v) = conj(i) h(u, v) = -i h(u, v)`, and `Re(-i z) = Im z`. -/
theorem kahler_form_eq_metric_J (u v : E) :
kahlerForm u v = metric (Complex.I • u) v := by
simp [kahlerForm, metric, inner_smul_left]/-- The complex structure is an isometry: `g(Ju, Jv) = g(u, v)`, because
`h(iu, iv) = conj(i) · i · h(u, v) = h(u, v)`. -/
theorem metric_J_invariant (u v : E) :
metric (Complex.I • u) (Complex.I • v) = metric u v := by
simp [metric, inner_smul_left, inner_smul_right, ← mul_assoc]/-- The Kähler form is `J`-invariant: `ω(Ju, Jv) = ω(u, v)`. So `ω` has type `(1, 1)`. -/
theorem kahler_form_J_invariant (u v : E) :
kahlerForm (Complex.I • u) (Complex.I • v) = kahlerForm u v := by
simp [kahlerForm, inner_smul_left, inner_smul_right, ← mul_assoc]/-- The Kähler form is skew: `ω(v, u) = -ω(u, v)`, because `h(v, u) = conj h(u, v)` and
conjugation negates imaginary parts. -/
theorem kahler_form_antisymm (u v : E) : kahlerForm v u = -kahlerForm u v := by
rw [kahlerForm, kahlerForm, ← inner_conj_symm u v, Complex.conj_im, neg_neg]/-- The Kähler form is alternating: `ω(u, u) = 0`. (Solution of the Lean exercise: it follows
from skew-symmetry, since a real number equal to its negative is zero.) -/
theorem kahler_form_self (u : E) : kahlerForm u u = 0 := by
have h := kahler_form_antisymm u u
linarith/-- **Taming**: `ω(u, Ju) = |u|²`. The Kähler form is positive on every complex line, which is
why complex submanifolds of a Kähler manifold are volume-minimising and have positive volume. -/
theorem kahler_form_J_self (u : E) : kahlerForm u (Complex.I • u) = ‖u‖ ^ 2 := by
simp [kahlerForm, inner_smul_right, inner_self_eq_norm_sq_to_K]
norm_cast/-- The Kähler form is non-degenerate: if `ω(u, v) = 0` for all `v`, then
`|u|² = ω(u, Ju) = 0`. With closedness (`dω = 0`, the Kähler condition) this makes every Kähler
manifold symplectic. -/
theorem kahler_form_nondegenerate {u : E} (h : ∀ v, kahlerForm u v = 0) : u = 0 := by
have := h (Complex.I • u)
rw [kahler_form_J_self] at this
simpa using thisFrom Hodge symmetry to topology: the parity argument, and the Hopf surface.
/-- **The arithmetic behind "odd Betti numbers are even".** If `h p q = h q p` (Hodge symmetry),
then for odd `k = 2m + 1` the sum `b_k = ∑_{p + q = k} h^{p,q}` is even: split the sum at the middle
and reflect the second half, `p ↦ k - p`, which has no fixed point when `k` is odd. On a compact
Kähler manifold the Hodge decomposition gives `b_k = ∑_{p+q=k} h^{p,q}`; that analytic input is not
formalised. -/
theorem odd_betti_even {h : ℕ → ℕ → ℕ} (hs : ∀ p q, h p q = h q p) (m : ℕ) :
Even (∑ p ∈ range (2 * m + 2), h p (2 * m + 1 - p)) := by
set f : ℕ → ℕ := fun p => h p (2 * m + 1 - p) with hf
have hsplit : ∑ p ∈ range (2 * m + 2), f p =
∑ p ∈ range (m + 1), f p + ∑ p ∈ range (m + 1), f (m + 1 + p) := by
rw [show 2 * m + 2 = (m + 1) + (m + 1) by omega, Finset.sum_range_add]
have hrefl : ∑ p ∈ range (m + 1), f (m + 1 + p) = ∑ p ∈ range (m + 1), f p := by
rw [← Finset.sum_range_reflect]
apply Finset.sum_congr rfl
intro p hp
have hp' : p < m + 1 := mem_range.mp hp
simp only [hf]
rw [hs]
congr 1 <;> omega
rw [hsplit, hrefl]
exact ⟨_, rfl⟩/-- **Why the Hopf surface is not Kähler.** With Hodge symmetry, `b₁ = h^{1,0} + h^{0,1}` is twice
`h^{1,0}`, so it can never be `1`. The Hopf surface `S¹ × S³` has `b₁ = 1`. -/
theorem hopf_obstruction {h : ℕ → ℕ → ℕ} (hs : ∀ p q, h p q = h q p) :
h 1 0 + h 0 1 ≠ 1 := by
rw [hs 1 0]
omegaThe Hodge numbers of a complex torus add up to the Betti numbers of the real torus — Vandermonde's identity, from Mathlib:
/-- **Hodge numbers of a complex torus.** For `X = ℂⁿ/Λ`, `h^{p,q} = C(n, p) C(n, q)` (translation-
invariant forms `dz_I ∧ dz̄_J`), and they add up to the Betti numbers `b_k = C(2n, k)` of the real
torus `T^{2n}`: `C(n + n, k) = ∑_{p + q = k} C(n, p) C(n, q)`. This applies Mathlib's Vandermonde
identity `Nat.add_choose_eq`. -/
theorem torus_betti (n k : ℕ) :
(n + n).choose k = ∑ pq ∈ antidiagonal k, n.choose pq.1 * n.choose pq.2 :=
Nat.add_choose_eq n n kAnd the maximum principle on compact complex manifolds, which Mathlib proves for manifolds modelled on any boundaryless model with corners over :
/-- **Holomorphic functions on a compact connected complex manifold are constant** (maximum
modulus principle). This is why complex geometry studies sections of line bundles, sheaves and
forms instead of functions. It applies Mathlib's `MDifferentiable.apply_eq_of_compactSpace`;
`MDifferentiable I 𝓘(ℂ, F) f` is holomorphy for a manifold modelled on `I`. -/
theorem holomorphic_const_of_compact {E' : Type*} [NormedAddCommGroup E'] [NormedSpace ℂ E']
{F : Type*} [NormedAddCommGroup F] [NormedSpace ℂ F]
{H : Type*} [TopologicalSpace H] {I : ModelWithCorners ℂ E' H} [I.Boundaryless]
{M : Type*} [TopologicalSpace M] [ChartedSpace H M] [IsManifold I 1 M]
[CompactSpace M] [PreconnectedSpace M] {f : M → F}
(hf : MDifferentiable I (modelWithCornersSelf ℂ F) f) (a b : M) : f a = f b :=
hf.apply_eq_of_compactSpace a bNot formalised: the Dolbeault complex and Dolbeault's theorem, the Hodge theorem (which needs elliptic regularity on manifolds), the Kähler identities and the Hodge decomposition itself — the declarations above take Hodge symmetry as a hypothesis on an abstract array of numbers — hard Lefschetz, Yau's theorem, and any statement about algebraic cycles.
Hodge diamonds and the Kähler condition, computed
Griffiths' theorem (1969) computes the primitive middle cohomology of a smooth hypersurface of degree from its Jacobian ring : . For the Fermat polynomial the Jacobian ideal is , so has a basis of monomials with all exponents at most , and the Hodge numbers become a counting problem. The first experiment counts, assembles the diamonds, and checks them against the Euler characteristic computed independently from Chern classes, :
"""Hodge numbers of hypersurfaces by counting monomials.
For a smooth hypersurface X of degree d in complex projective space P^(n+1)
(so dim X = n), Griffiths' theorem identifies the primitive middle Hodge
numbers with graded pieces of the Jacobian ring C[x_0..x_(n+1)]/(dF/dx_i).
For the Fermat polynomial F = sum x_i^d the Jacobian ideal is (x_i^(d-1)),
so a basis is given by monomials with every exponent at most d - 2, and
h^(n-q, q)_prim = #{monomials of degree (q+1)d - (n+2), exponents <= d-2}.
We count them exactly, assemble the Hodge diamond (the other entries come
from the Lefschetz hyperplane theorem), and check it against an independent
computation of the Euler characteristic from Chern classes:
chi(X) = d * [H^n] (1 + H)^(n+2) / (1 + d H).
Evidence: exact integer computation of numbers that theorems (Griffiths,
Lefschetz, Chern-Gauss-Bonnet) identify with Hodge numbers and Euler
characteristics. The agreement of the two formulas is a consistency check.
"""
from math import comb
def bounded_compositions(total, parts, cap):
"""Number of (a_1..a_parts) with 0 <= a_i <= cap and sum total."""
if total < 0:
return 0
ways = [1] + [0] * total
for _ in range(parts):
new = [0] * (total + 1)
for s, w in enumerate(ways):
if w:
for a in range(min(cap, total - s) + 1):
new[s + a] += w
ways = new
return ways[total]
def primitive_middle(n, d):
"""[h^(n,0)_prim, h^(n-1,1)_prim, ..., h^(0,n)_prim] for degree d in P^(n+1)."""
return [bounded_compositions((q + 1) * d - (n + 2), n + 2, d - 2)
for q in range(n + 1)]
def hodge_diamond(n, d):
"""Dict (p, q) -> h^(p,q) for a smooth degree-d hypersurface of dim n."""
h = {(p, q): 0 for p in range(n + 1) for q in range(n + 1)}
for p in range(n + 1):
if 2 * p != n:
h[(p, p)] = 1 # Lefschetz: powers of the hyperplane class
for q, value in enumerate(primitive_middle(n, d)):
h[(n - q, q)] += value
if n % 2 == 0:
h[(n // 2, n // 2)] += 1 # the hyperplane class in the middle
return h
def betti(h, n):
"""Betti numbers b_k = sum_{p+q=k} h^(p,q)."""
return [sum(h[(p, k - p)] for p in range(n + 1) if 0 <= k - p <= n)
for k in range(2 * n + 1)]
def euler_from_hodge(h):
"""chi = sum (-1)^(p+q) h^(p,q)."""
return sum((-1) ** (p + q) * v for (p, q), v in h.items())
def euler_from_chern(n, d):
"""chi = d * coefficient of H^n in (1 + H)^(n+2) / (1 + dH)."""
return d * sum(comb(n + 2, k) * (-d) ** (n - k) for k in range(n + 1))
def symmetric(h, n):
"""Hodge symmetry h^(p,q) = h^(q,p) and Serre duality h^(p,q) = h^(n-p,n-q)."""
return all(h[(p, q)] == h[(q, p)] == h[(n - p, n - q)] for p, q in h)
def diamond_lines(h, n, width=5):
"""The Hodge diamond as centred text lines, h^(n,n) at the top."""
lines = []
for k in range(2 * n, -1, -1):
row = [h[(p, k - p)] for p in range(n, -1, -1) if 0 <= k - p <= n]
text = "".join(f"{v:^{width}}" for v in row)
lines.append(text.center(width * (n + 1)).rstrip())
return lines
CASES = [
("plane cubic (elliptic curve)", 1, 3),
("plane quartic curve", 1, 4),
("quartic surface (K3)", 2, 4),
("quintic surface", 2, 5),
("cubic threefold", 3, 3),
("quintic threefold (Calabi-Yau)", 3, 5),
]
def main():
print(f"{'hypersurface':<31}{'n':>2}{'d':>3} {'middle h^(n-q,q)':<17}"
f"{'chi Hodge':>10}{'chi Chern':>10}")
for name, n, d in CASES:
h = hodge_diamond(n, d)
middle = ",".join(str(h[(n - q, q)]) for q in range(n + 1))
print(f"{name:<31}{n:>2}{d:>3} {middle:<17}"
f"{euler_from_hodge(h):>10}{euler_from_chern(n, d):>10}")
assert symmetric(h, n)
assert all(b % 2 == 0 for b in betti(h, n)[1::2])
print("All diamonds satisfy h^(p,q) = h^(q,p) = h^(n-p,n-q), and every")
print("odd Betti number is even.")
for title, n, d in [("Quartic K3 surface:", 2, 4),
("Quintic threefold:", 3, 5)]:
h = hodge_diamond(n, d)
print()
print(f"{title} Betti numbers {betti(h, n)}")
for line in diamond_lines(h, n):
print(" " + line)
print()
print("Epistemic status: exact integer counts. That they are Hodge numbers")
print("is Griffiths' theorem on the Jacobian ring and the Lefschetz")
print("hyperplane theorem, cited not proved here; the match with the")
print("Chern-class Euler characteristic is an independent consistency check.")
if __name__ == "__main__":
main()The plane curves recover the genus formula ; the quartic surface gives ; the quintic threefold gives and .
The second experiment tests Proposition 2's criterion with SymPy, treating and as independent variables (Wirtinger calculus). The flat and Fubini–Study metrics pass; the scale-invariant Hopf metric, which descends to , fails:
"""Is a Hermitian metric Kahler? A symbolic check in coordinates.
A Hermitian metric on an open set of C^n is a positive definite Hermitian
matrix of functions g_{i jbar}; its fundamental form is
omega = (i/2) sum g_{i jbar} dz_i ^ dzbar_j, and omega is closed (the metric
is Kahler) exactly when d_k g_{i jbar} = d_i g_{k jbar} for all i, j, k
(together with the conjugate equations, which follow by symmetry).
We treat z and zbar as independent symbols, as in Wirtinger calculus, and
test three metrics on C^2: the flat metric, the Fubini-Study metric
g = d dbar log(1 + |z|^2) of the affine chart of CP^2 (Kahler, with Kahler
potential log(1 + |z|^2)), and the Hopf metric g = delta / |z|^2 on
C^2 minus 0, which is invariant under z -> 2z and so descends to the Hopf
surface S^1 x S^3, but is not Kahler. Finally SymPy integrates the
Fubini-Study area form of CP^1.
Evidence: symbolic computation with SymPy (exact, but relying on SymPy's
implementation of differentiation, simplification and integration).
"""
import sympy as sp
Z = sp.symbols("z1 z2")
ZB = sp.symbols("zb1 zb2")
def from_potential(phi):
"""g_{i jbar} = d^2 phi / dz_i dzbar_j for a Kahler potential phi."""
return sp.Matrix(2, 2, lambda i, j: sp.diff(phi, Z[i], ZB[j]))
def kahler_defects(g):
"""All nonzero d_k g_{i jbar} - d_i g_{k jbar}, simplified."""
out = []
for i in range(2):
for j in range(2):
for k in range(2):
e = sp.simplify(sp.diff(g[i, j], Z[k]) - sp.diff(g[k, j], Z[i]))
if e != 0:
out.append(((i + 1, j + 1, k + 1), e))
return out
def is_hermitian_symbolically(g):
"""g_{j ibar} is the conjugate of g_{i jbar} (swapping z and zbar)."""
swap = {**{Z[i]: ZB[i] for i in range(2)}, **{ZB[i]: Z[i] for i in range(2)}}
return all(sp.simplify(g[j, i] - g[i, j].xreplace(swap)) == 0
for i in range(2) for j in range(2))
def scale_invariant(g, factor=2):
"""Is g dz dzbar unchanged by z -> factor * z (g rescales by factor^-2)?"""
sub = {**{Z[i]: factor * Z[i] for i in range(2)},
**{ZB[i]: factor * ZB[i] for i in range(2)}}
return all(sp.simplify(g[i, j].xreplace(sub) * factor ** 2 - g[i, j]) == 0
for i in range(2) for j in range(2))
def fubini_study_area_cp1():
"""Integral over C of the Fubini-Study area density 1/(1 + r^2)^2."""
r, t = sp.symbols("r t", positive=True)
density = 1 / (1 + r ** 2) ** 2
return sp.integrate(sp.integrate(density * r, (r, 0, sp.oo)), (t, 0, 2 * sp.pi))
def metrics():
"""The three test metrics on (an open subset of) C^2."""
norm2 = Z[0] * ZB[0] + Z[1] * ZB[1]
return [
("flat", sp.eye(2)),
("Fubini-Study", from_potential(sp.log(1 + norm2))),
("Hopf |dz|^2/|z|^2", sp.eye(2) / norm2),
]
def main():
print(f"SymPy {sp.__version__}; z and zbar treated as independent symbols.")
for name, g in metrics():
defects = kahler_defects(g)
print(f"{name}:")
print(f" Hermitian: {is_hermitian_symbolically(g)};"
f" invariant under z -> 2z: {scale_invariant(g)}")
if defects:
(i, j, k), e = defects[0]
print(f" NOT Kahler: {len(defects)} nonzero defects, e.g.")
print(f" d_{k} g_{i}{j}bar - d_{i} g_{k}{j}bar = {e}")
else:
print(" Kahler: d_k g_(i jbar) = d_i g_(k jbar) for all i, j, k")
fs = from_potential(sp.log(1 + Z[0] * ZB[0] + Z[1] * ZB[1]))
print("Fubini-Study g_(1 1bar) =", sp.factor(fs[0, 0]))
print("Fubini-Study area of CP^1 =", fubini_study_area_cp1())
print()
print("Epistemic status: exact symbolic computation, as reliable as")
print("SymPy's differentiation, simplification and integration. A zero")
print("defect is an identity of rational functions; it shows these")
print("particular metrics are (or are not) Kahler, nothing more.")
if __name__ == "__main__":
main()Both experiments are exact computations. They illustrate the theorems (Griffiths, Lefschetz, Proposition 2); they do not prove them.
Explore: holomorphic maps and complex tori
A holomorphic map has a complex-linear derivative: it commutes with , multiplication by . Geometrically, wherever the derivative is a rotation followed by a scaling, so small right angles stay right angles. Move the probe for and watch the angle stay at — except at the critical point , where it doubles.
Holomorphic = J-linear derivative
Wherever f′(z) ≠ 0, small right angles stay right angles.
- horizontal lines and their images
- vertical lines and their images
- small cross at z₀ and its image
Drag the points, or focus one with Tab and use the arrow keys (hold Shift for small steps).
- z₀
- 1 + 0.5i
- w₀ = f(z₀)
- 0.75 + i
- f′(z₀)
- 2 + i
- Local scale factor |f′(z₀)|
- 2.236
- Local rotation arg f′(z₀)
- 26.6°
- Angle between the image curves
- 90°
Conformal at z₀: the little right angle is turned by 26.6° and scaled by 2.236, and it stays a right angle.
Squaring doubles every argument: the right half-plane opens out to the whole plane, and the grid lines become parabolas that still cross at right angles.
A complex torus is a square (more generally a parallelogram) with opposite sides glued; the tiling view shows its universal cover . Its Hodge numbers are , and splits as .
Surfaces from a square
ℂ/Λ: copies of the fundamental domain tile the plane. The Klein bottle is not even orientable — so it has no complex structure at all.
Keys: ↑ forward, ↓ back, ← and → turn, Space walks or stops. You can also drag it.
- Orientable
- Yes
- Euler characteristic
- χ = 0
Gluing turns the 4 corners into V = 1, the 4 sides into E = 2 and the square into F = 1: V − E + F = 1 − 2 + 1 = 0
Same way round as at the start.
Sides crossed so far: 0
Opposite sides are glued with arrows pointing the same way. Walk off the right side and you come back on the left, the same way round. However it walks, the flatlander is never mirrored: the torus is orientable.
Copies of the square tile the plane, and the trail runs on smoothly from copy to copy. This plane is the universal cover of the torus.
Exercises
1. Complex and Kähler geometry; Hodge theory
Warm-upHumanA K3 surface has , and . Use the Hodge decomposition and Hodge symmetry to find .
2. Complex and Kähler geometry; Hodge theory
CoreHumanThe quintic threefold is a Calabi–Yau threefold with and . What is its third Betti number ?
3. Complex and Kähler geometry; Hodge theory
CoreHumanWhich of these compact complex manifolds admit a Kähler metric? (Choose all that apply.)
4. Complex and Kähler geometry; Hodge theory
CoreHumanThe proof that the odd Betti numbers of a compact Kähler manifold are even uses and one more fact. Which one?
5. Complex and Kähler geometry; Hodge theory
CoreHumanWhich statement is the Hodge conjecture (as it stands today, open)?
6. Complex and Kähler geometry; Hodge theory
CoreHumanLet be a compact Kähler manifold with in . What does Yau's theorem (the Calabi conjecture) give?
7. Complex and Kähler geometry; Hodge theory
CoreFormalWhich Lean statement correctly formalises "the Kähler form kahlerForm is non-degenerate" (for u : E)?
8. Complex and Kähler geometry; Hodge theory
CoreHumanBy the Lefschetz -theorem, the classes of divisors on a projective surface span . What is the largest possible Picard number (the rank of this space) for a complex projective K3 surface?
9. Complex and Kähler geometry; Hodge theory
StretchHumanWhich of these could not be the list of even Betti numbers of a compact Kähler manifold of complex dimension ?
10. Complex and Kähler geometry; Hodge theory
StretchComputationalFor a complex torus of dimension , . Write torus_hodge(n) returning a dictionary {(p, q): h} for , and betti(h, n) returning the list with . The tests check the Betti numbers of the real torus and Hodge symmetry. (math.comb is available.)
Common misconceptions
Misconception
"Every complex manifold is Kähler." The Hopf surface is a compact complex manifold with , so it is not Kähler; Kodaira surfaces (with ) and the Iwasawa manifold are other examples. Open subsets of are Kähler (restrict the flat metric), so the interesting question is about compact manifolds.
Misconception
"The Hodge conjecture is about integral classes." The integral version is false (Atiyah–Hirzebruch, 1962), and the conjecture is stated for rational Hodge classes on smooth projective varieties. Its natural extension to compact Kähler manifolds is false as well (Voisin, 2002).
Misconception
"Kähler just means complex plus Riemannian." Every complex manifold has Hermitian metrics (by a partition of unity); the Kähler condition is a strong extra requirement, equivalent to , with topological consequences.
Misconception
"The Hodge decomposition holds on any compact complex manifold." Dolbeault cohomology is always defined, and the Frölicher spectral sequence relates it to de Rham cohomology, but on non-Kähler manifolds can differ from and can happen: on the Hopf surface but .
Misconception
"Symplectic manifolds are basically Kähler." Every Kähler manifold is symplectic, but the Kodaira–Thurston manifold is a compact symplectic -manifold with , so it admits no Kähler structure. Gompf showed (1995) that every finitely presented group is the fundamental group of a closed symplectic -manifold, while Kähler groups are very restricted (for instance of a Kähler group has even rank).
Viewpoints
Topology— Which spaces can be Kähler?
Hodge theory turns into a list of topological obstructions for a compact manifold to admit a Kähler structure: odd Betti numbers even; ; hard Lefschetz inequalities for ; formality (vanishing Massey products, Deligne–Griffiths–Morgan–Sullivan); and restrictions on the fundamental group — Kähler groups — beginning with even rank of . Serre showed that every finite group is a Kähler group (indeed the fundamental group of a smooth projective variety), and which infinite groups occur is an active field. The question "does admit a complex structure at all?" is open; it cannot admit a Kähler one, since .
Geometry— Holonomy and special geometry
A Riemannian manifold of real dimension is Kähler exactly when its holonomy group lies in , and Ricci-flat Kähler exactly when (for simply connected ) it lies in . In Berger's classification of holonomy groups, , and (hyperkähler: K3 surfaces are the four-dimensional case) are the Kähler entries, beside the exceptional and . Yau's theorem makes Calabi–Yau manifolds the main source of compact manifolds with special holonomy; the exceptional cases needed separate constructions by Joyce (1996).
Analysis— Elliptic operators and Monge–Ampère
Every major theorem in this lesson is analysis in disguise. The Hodge theorem is elliptic regularity and Fredholm theory for ; the Kähler identities are a first-order commutation relation between and the Lefschetz operator; Kodaira's vanishing and embedding theorems rest on the Bochner–Kodaira–Nakano identity and Hörmander's estimates for ; and Yau's theorem is an a priori estimate for the fully non-linear complex Monge–Ampère equation. The analytic and algebraic sides meet in Serre's GAGA (1956): on a projective variety, analytic and algebraic coherent sheaf cohomology agree.
Algebra— Hodge structures
Abstracting the decomposition gives a pure Hodge structure of weight : a finitely generated abelian group with and — equivalently a real representation of the Deligne torus . Weight-one polarised Hodge structures are the same as abelian varieties (Riemann), and the polarised Hodge structure on determines a curve (Torelli) and on a K3 surface (global Torelli: Piatetski-Shapiro–Shafarevich, 1971; Burns–Rapoport, 1975). Deligne's mixed Hodge structures (1971–74) extend the theory to singular and non-compact varieties, and Griffiths' variations of Hodge structure describe how the decomposition moves in families.
Number theory— Point counts and the Weil conjectures
For a variety defined over , the Betti numbers of its complex points control the number of its points over finite fields. Deligne's proof of the Weil conjectures (1974) shows, for smooth projective with good reduction at , that with . For an elliptic curve this is Hasse's bound with . Weil computed the point counts of Fermat hypersurfaces with Jacobi sums (1949) — the same Fermat varieties whose Hodge numbers the experiment counts. The Tate conjecture is the -adic sibling of the Hodge conjecture, and Faltings' Hodge–Tate decomposition (1988) is a -adic analogue of Theorem 6. See arithmetic geometry.
Physics— String compactification and mirror symmetry
Candelas, Horowitz, Strominger and Witten (1985) showed that supersymmetric compactifications of the heterotic string on a six-dimensional internal space require a Calabi–Yau threefold; in their simplest models the number of particle generations is (one hundred for the quintic, which is why it was not the answer). Mirror symmetry, discovered in physics, pairs Calabi–Yau threefolds with and exchanged. Candelas, de la Ossa, Green and Parkes (1991) used it to predict the numbers of rational curves of each degree on the quintic — lines (classical) and conics (Katz, 1986), and infinitely many further numbers — later proved by Givental (1996) and by Lian, Liu and Yau (1997). The physics supplied conjectures; the proofs are mathematics (see derived categories for Kontsevich's homological version).
History and global context
- 1857–1900: periods. Bernhard Riemann's theory of abelian integrals (1857) introduced the periods of holomorphic differentials on a curve and the bilinear relations they satisfy — Hodge theory in dimension one. Émile Picard and Henri Poincaré studied integrals on algebraic surfaces.
- 1924–1941: topology meets algebraic geometry. Solomon Lefschetz's L'Analysis situs et la géométrie algébrique (1924) proved the -theorem and the hyperplane and hard Lefschetz theorems (the last with a gap later repaired by Hodge theory). Georges de Rham proved his theorem (1931). Erich Kähler introduced the metrics now named after him (1933). W. V. D. Hodge developed harmonic integrals in the 1930s, culminating in The Theory and Applications of Harmonic Integrals (1941); gaps in its analysis were repaired by Hermann Weyl and Kunihiko Kodaira in the 1940s.
- 1946–1965: sheaves and vanishing. Shiing-Shen Chern defined Chern classes (1946). Pierre Dolbeault proved his theorem (1953). Kodaira proved the vanishing and embedding theorems (1953–54) and received a Fields Medal in 1954; with Donald Spencer he built deformation theory (1958). Jean-Pierre Serre's GAGA appeared in 1956. In Mumbai, M. S. Narasimhan and C. S. Seshadri related stable bundles on curves to unitary representations (1965), the start of a long line of Hermitian–Einstein correspondences (Donaldson, 1985; Uhlenbeck–Yau, 1986).
- 1962–1975: limits and structures. Michael Atiyah and Friedrich Hirzebruch disproved the integral Hodge conjecture (1962). Phillip Griffiths created the theory of periods and variations of Hodge structure (1968–70). Pierre Deligne introduced mixed Hodge theory (1971–74) and proved the Weil conjectures (1974). Deligne, Griffiths, Morgan and Sullivan proved formality (1975).
- 1976–today: Calabi–Yau. Shing-Tung Yau proved the Calabi conjecture (announced 1977, published 1978; Fields Medal 1982). Physicists brought Calabi–Yau threefolds and mirror symmetry into mathematics (1985–91). Claire Voisin settled the Kähler Hodge and Kodaira problems negatively (2002, 2004). Xiuxiong Chen, Simon Donaldson and Song Sun proved the Yau–Tian–Donaldson conjecture for Fano manifolds (2015).
Further reading
- Daniel Huybrechts, Complex Geometry: An Introduction (2005) — the most direct modern route to the Kähler identities, the Hodge decomposition and Calabi–Yau manifolds.
- Claire Voisin, Hodge Theory and Complex Algebraic Geometry I, II (2002, 2003) — the standard reference, through variations of Hodge structure and the Hodge conjecture.
- Phillip Griffiths and Joseph Harris, Principles of Algebraic Geometry (1978) — the classic, with Hodge theory, Lefschetz theorems, Kodaira embedding and much more.
- R. O. Wells Jr., Differential Analysis on Complex Manifolds (1973; 3rd ed. 2008) — the analysis of the Hodge theorem, carefully.
- Werner Ballmann, Lectures on Kähler Manifolds (2006) — a differential-geometric treatment including the Calabi conjecture.
- Dominic Joyce, Compact Manifolds with Special Holonomy (2000) — Yau's theorem and Calabi–Yau manifolds from the holonomy viewpoint.
- Pierre Deligne, "The Hodge conjecture", in The Millennium Prize Problems (Clay Mathematics Institute, 2006) — the official problem description.
- James D. Lewis, A Survey of the Hodge Conjecture (1991; 2nd ed. 1999).
A reading path: Huybrechts Ch. 1–3 → Voisin I Ch. 5–6 (Hodge decomposition) and 11 (Hodge classes) → Deligne's problem description; or Griffiths–Harris Ch. 0–1 for a classical route.