The Hodge conjecture
Shorten the exceptional tuples that leave the Hodge conjecture open on Fermat varieties of degree 44, 51 and 52, and check the 2026 claims

| 1 | #!/usr/bin/env python3 |
| 2 | """Write examples/first-route/LATTICE.json, the E-1 example: the 12 linear cycles of the Fermat quadric surface |
| 3 | x0^2 + x1^2 + x2^2 + x3^2 = 0, their intersection matrix, its rank and elementary divisors, from the check's own |
| 4 | functions. C-1 and C-2 ask the same of the cubic (27 lines) and the quartic (48 lines), from a script of your own. |
| 5 | |
| 6 | python3 scripts/make-example.py |
| 7 | """ |
| 8 | import json |
| 9 | import sys |
| 10 | from pathlib import Path |
| 11 | |
| 12 | ROOT = Path(__file__).resolve().parent.parent |
| 13 | sys.path.insert(0, str(ROOT / "checks")) |
| 14 | import verify # noqa: E402 |
| 15 | |
| 16 | d = 2 |
| 17 | cycles = sorted(verify.every_cycle(d)) |
| 18 | gram = [[verify.meet(P, Q, d) for Q in cycles] for P in cycles] |
| 19 | ds = verify.divisors(gram) |
| 20 | out = {"target": "E-1", "n": 2, "d": d, "cycles": [[list(t) for t in c] for c in cycles], "gram": gram, "rank": len(ds), "divisors": ds} |
| 21 | path = ROOT / "examples" / "first-route" / "LATTICE.json" |
| 22 | path.parent.mkdir(parents=True, exist_ok=True) |
| 23 | path.write_text(json.dumps(out, separators=(",", ":")) + "\n") |
| 24 | print(f"{path.relative_to(ROOT)}: {len(cycles)} cycles, rank {len(ds)}, divisors {verify.word(ds)}") |