Deform a variety and its Hodge classes mostly vanish, surviving only on special loci that are dense but thin. Hunt for them, and meet the exotic classes on abelian fourfolds that no divisor explains
Change a variety’s shape a little and most of its Hodge classes stop being Hodge classes: they survive only on special families, which are dense but thin. Sometimes the special families carry Hodge classes that no divisor explains, and these exotic classes are where the conjecture is hardest.
Press Play and watch τ travel along the path: the diagonal’s residual stays at exactly zero, while every other class touches zero only at the gold points. Try the arc and the free path too, and drag across the plot to scrub.
tap to move τ along the path
Residual means |n₀₀ + n₀₁τ₂ + n₁₀τ₁ + n₁₁τ₁τ₂| ÷ |n| with τ₁ = τ₂ = τ, so a class is a Hodge class exactly when its residual is 0. The white curve is sampled at 241 points; each dip is then refined by a golden-section search and identified as the root of an integer quadratic, so the gold points and the count of 4 there are exact. Away from them the count of 3 is a search result: τ could still satisfy an equation with larger coefficients. In the free mode the ends snap onto CM points with small equations.
Carrying a class along. Let Xt be a family of smooth projective varieties over a connected base. The topology does not change with t, so a class in H2p(Xt₀, ℚ) can be carried to every nearby fibre by continuity (flat transport in cohomology; the integer lattice moves rigidly). What changes is the Hodge decomposition, which tilts as the complex structure moves. The Hodge locus of the class is the set of t where its transport is still of type (p, p). Near t₀ it is cut out by the vanishing of the components of other types, which vary holomorphically with t, so it is a complex-analytic subset; globally it is a countable union of such pieces, one for each rational class.
On Eτ × Eτ. Here the class (n00, n01, n10, n11) is of type (1, 1) exactly when n00 + (n01 + n10)τ + n11τ² = 0. The diagonal, (0, 1, −1, 0), satisfies this identically: its Hodge locus is the whole family, as it must be, since the diagonal is a curve in every member. Any class independent of it needs τ to be a root of an integer quadratic Cτ² + Bτ + A = 0 with B² − 4AC < 0, an imaginary quadratic number: a CM point. The graph of multiplication by i, (1, 0, 0, 1), has Hodge locus the single point τ = i. The demo’s search is over the classes with A, B, C at most 4 in size; each dip is refined and then confirmed with exact arithmetic in the quadratic field.
Algebraicity. The Hodge conjecture predicts more than analyticity: a Hodge class on Xt₀ would be a combination of subvarieties, and subvarieties deform along algebraic families, so Hodge loci should be algebraic. Cattani, Deligne and Kaplan proved exactly this in 1995: Hodge loci are countable unions of algebraic subvarieties of the base. It is one of the strongest pieces of evidence for the conjecture, because it is a consequence that could have failed and did not. The conjecture also predicts that these subvarieties are defined over number fields when the family is; that is still unknown in general.
Drag the point and watch the search find a relation only on the fuchsia curves; turn on Snap for exact counts, and raise H to see the curves fill the square while the shares near them stay small for small distances.
In this slice the class (n₀₀, n₀₁, n₁₀, n₁₁) is a Hodge class exactly when n₀₀ = n₁₁·y₁y₂ and n₀₁·y₂ = −n₁₀·y₁, so the locus is the rays y₂ = q·y₁ and hyperbolas y₁y₂ = r with q, r rational; the height of p/q in lowest terms is the larger of p and q. Snapped points carry exact rational data, so their relations are exact; a dragged point is a 16-digit number, and the search can only fail to find small relations, not rule them out. The shares are counted on a 140 × 140 grid. CM points are drawn up to height 6.
The two equations. Put τ₁ = i·y₁ and τ₂ = i·y₂ with y₁, y₂ > 0. Then τ₁τ₂ = −y₁y₂ is real and τ₁, τ₂ are imaginary, so the condition n00 + n01τ₂ + n10τ₁ + n11τ₁τ₂ = 0 splits into a real part and an imaginary part: n00 = n11·y₁y₂ and n01·y₂ = −n10·y₁. A nonzero integer solution of the first exists exactly when y₁y₂ is a positive rational r, and of the second exactly when y₂/y₁ is a positive rational q. The two equations involve disjoint coefficients, so the integer solutions form the direct sum of the two pieces, and the number of curve classes on E₁ × E₂ is 2, plus 1 if y₁y₂ is rational, plus 1 if y₂/y₁ is rational.
Curves meeting in points. So the Hodge locus in this slice is a countable union of curves: the rays y₂ = q·y₁, where τ₂ = q·τ₁, and the hyperbolas y₁y₂ = r, where τ₂ = −r/τ₁. In both cases τ₂ is τ₁ moved by an integer matrix, so the two curves are isogenous and the graph of the isogeny is the extra curve. Along each the count is 3. Where a ray meets a hyperbola both hold, y₁² = r/q is rational, τ₁ is a CM point, and the count is 4. Every ray and every hyperbola has area zero, so the whole locus, a countable union, has area zero; yet the rationals are dense, so it comes arbitrarily close to every point. For a fixed height the share of the square within ε of the curves falls to zero with ε; for a fixed ε it creeps up as the height grows. The demo estimates those shares on a grid.
Typical. This is the general shape of the theory. For quartic surfaces in ℙ³ the Noether–Lefschetz theorem says that a very general one has Néron–Severi rank 1 (only the hyperplane class), while the surfaces with more curve classes form a countable union of subvarieties of the space of quartics, the Noether–Lefschetz locus, which is dense. The Hodge loci of Cattani, Deligne and Kaplan follow the same pattern in every degree: Hodge classes beyond the obvious ones live on a dense but thin set of special varieties. See also The Case Lefschetz Proved, whose map of special points shows the same thing in the τ-plane, and Curves Are Doughnuts in Beautiful Varieties.
Choose a field and a signature and watch where the two Weil classes land: all in the gold (2, 2) column for signature (2, 2), nowhere near it otherwise. Press Random coordinates to recompute in a scrambled basis and get the same answer.
An abelian fourfold whose lattice carries an action of K = ℚ(√−d) has a two-dimensional space of classes in H4, the Weil classes, the real and imaginary parts of the K-linear determinant. When K acts with signature (2, 2) they are of type (2, 2), so Hodge classes, and for a general such fourfold they are not built from divisors (Weil, 1977).
Hodge classes in H⁴: 3, namely θ² and the two Weil classes. The Néron–Severi rank is 1, so products of divisors give only θ²: the Weil classes are new.
The lattice basis is e₁, f₁, …, e₄, f₄ with f = √−d·e, so √−d acts by an integer matrix. J is ±√−d/√d on each pair, + on the first a pairs. ω = z₁ ∧ z₂ ∧ z₃ ∧ z₄ for the K-linear coordinates zk = ek* + √−d·fk*, and ω = ω₁ + √−d·ω₂. Types are found from the action of J on the 70 coordinates of a 4-form, which is i(p − q) on type (p, q); the bars are squared shares of the five components. Random coordinates apply a random real change of basis to everything and recompute. The computation is exact linear algebra, not an approximation: the off-type parts are rounding error.
Weil’s classes. In “Abelian varieties and the Hodge ring” (1977) André Weil looked at abelian varieties A of dimension 2n whose rational cohomology H1(A, ℚ) is a vector space of dimension 2n over an imaginary quadratic field K = ℚ(√−d) acting by endomorphisms. The K-linear determinant, the wedge of the 2n K-linear coordinates, lies in ∧2nH1 = H2n(A) and spans, with its conjugate, a 2-dimensional ℚ-space of classes: the Weil classes. If K acts on the holomorphic tangent space with eigenvalue i√d a times and −i√d b times, each K-linear coordinate is of type (1, 0) or (0, 1) accordingly, so the determinant has type (a, b) and its conjugate (b, a). For signature (n, n) both have type (n, n): rational classes of type (n, n), Hodge classes. The demo does this for n = 2 by brute force on the 70 coordinates of a 4-form.
Why divisors miss them. For a general abelian fourfold of Weil type with signature (2, 2), the Néron–Severi group has rank 1, spanned by the polarisation θ. Products of divisor classes in H4 are then just multiples of θ², a 1-dimensional space, while the Hodge classes in H4 form a 3-dimensional space: θ² and the two Weil classes. So the Weil classes are Hodge classes that cannot be explained by intersecting divisors, the kind Lefschetz’s theorem does not reach. Whether they are classes of surfaces in A was open for decades, and abelian fourfolds of Weil type became a standard test case for the conjecture.
Markman’s theorem. In February 2025 Eyal Markman posted “Cycles on abelian 2n-folds of Weil type from secant sheaves on abelian n-folds” (arXiv 2502.03415). It proves that the Weil classes on abelian sixfolds of Weil type of discriminant −1 are algebraic, and, through a degeneration argument of Chad Schoen, that the Weil classes on all abelian fourfolds of Weil type are algebraic. Since earlier work had reduced the Hodge conjecture for abelian fourfolds to these classes, the Hodge conjecture holds for all abelian fourfolds. (The discriminant here is an invariant of the Hermitian form attached to the action of K, not the d of the demo.) Salvatore Floccari and Lie Fu gave a second proof for fourfolds of Weil type of discriminant 1, using singular hyper-Kähler varieties of OG6 type (J. Math. Pures Appl., 2026). This settles one family of exotic classes; it does not settle the conjecture, which remains open in general. See also Where It Stands.
Spot a mistake or have an idea?