Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | /- |
| 2 | Copyright (c) 2026 The AINTLIB contributors. All rights reserved. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | Authors: AINTLIB ModularCurves project |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions |
| 8 | |
| 9 | /-! # Coordinate Compatible Extensions -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateCompatibleExtensions.MvPolynomial |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open _root_.MvPolynomial |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | universe u |
| 19 | variable {R : Type u} {σ : Type} [CommRing R] |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | |
| 22 | /-- A chart-extension equation on the self-overlap of `D₊(X j)` identifies |
| 23 | the two original sections, since `X j / X j = 1`. -/ |
| 24 | lemma eq_of_coordinateChartExtension_self |
| 25 | (M : (Proj (homogeneousSubmodule σ R)).Modules) |
| 26 | (j : σ) (n : ℕ) |
| 27 | (s t : Γ(M, MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j)) |
| 28 | (h : |
| 29 | M.presheaf.map |
| 30 | (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) j j)).op t = |
| 31 | (Proj (homogeneousSubmodule σ R)).presheaf.map |
| 32 | (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) j j)).op |
| 33 | (CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := R) j j ^ n) • |
| 34 | M.presheaf.map |
| 35 | (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) j j)).op s) : |
| 36 | t = s := by |
| 37 | let U := MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j |
| 38 | let W := CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) j j |
| 39 | have hWU : W = U := by |
| 40 | dsimp only [W, U] |
| 41 | rw [CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_eq, inf_idem] |
| 42 | let e : Γ(M, U) ≅ Γ(M, W) := M.presheaf.mapIso (eqToIso hWU).op |
| 43 | apply (ConcreteCategory.bijective_of_isIso e.hom).1 |
| 44 | have hleft : e.hom t = |
| 45 | M.presheaf.map |
| 46 | (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) j j)).op t := by |
| 47 | exact ConcreteCategory.congr_hom |
| 48 | (M.presheaf.congr_map (Subsingleton.elim _ _)) t |
| 49 | have hright : e.hom s = |
| 50 | M.presheaf.map |
| 51 | (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) j j)).op s := by |
| 52 | exact ConcreteCategory.congr_hom |
| 53 | (M.presheaf.congr_map (Subsingleton.elim _ _)) s |
| 54 | rw [hleft, h, CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_self, |
| 55 | one_pow, map_one, one_smul, ← hright] |
| 56 | |
| 57 | /-- A quasicoherent section on one standard chart extends to a compatible |
| 58 | family of coefficients of some common homogeneous degree. -/ |
| 59 | theorem exists_compatible_coordinateCoefficients [Fintype σ] |
| 60 | (M : (Proj (homogeneousSubmodule σ R)).Modules) [M.IsQuasicoherent] |
| 61 | (j : σ) (s : Γ(M, MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) j)) : |
| 62 | ∃ (n : ℕ) (t : ∀ i : σ, Γ(M, MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i)), |
| 63 | t j = s ∧ ∀ i k : σ, |
| 64 | M.presheaf.map (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := R) i k)).op (t i) = |
| 65 | (CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := R) i k : |
| 66 | Γ(Proj (homogeneousSubmodule σ R), CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := R) i k)) ^ n • |
| 67 | M.presheaf.map (homOfLE (CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_right (R := R) i k)).op (t k) := by |
| 68 | obtain ⟨n, t, ht⟩ := CoordinateExtensions.MvPolynomial.exists_coordinateChartExtension_forall M j s |
| 69 | obtain ⟨m, hm⟩ := CoordinateExtensions.MvPolynomial.exists_pow_coordinateChartDifference_eq_zero_forall M j n s t ht |
| 70 | refine ⟨n + m, fun i => CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := R) i j ^ m • t i, |
| 71 | ?_, fun i k => CoordinateExtensions.MvPolynomial.coordinateChartExtensions_corrected_compatible |
| 72 | M i k j n m (t i) (t k) (hm i k)⟩ |
| 73 | dsimp only |
| 74 | rw [CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_self, one_pow, one_smul] |
| 75 | exact eq_of_coordinateChartExtension_self M j n s (t j) (ht j) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateCompatibleExtensions.MvPolynomial |