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 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameCoordinatePolynomials |
| 2 | import Mathlib.RingTheory.GradedAlgebra.HomogeneousLocalization |
| 3 | |
| 4 | /-! # Frame Chart Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameChartCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The normalized point coordinates are elements of the actual affine |
| 11 | chart ring of Proj. The chosen coordinate of each point is exactly one. -/ |
| 12 | open scoped BigOperators Classical |
| 13 | universe u |
| 14 | variable (R : Type u) [CommRing R] {r m : ℕ} |
| 15 | |
| 16 | abbrev balancedDeterminantChartRing (i : Fin m) (a : (Fin r → Fin m) → ℕ) |
| 17 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) := |
| 18 | HomogeneousLocalization.Away (DeterminantGrading.balancedDeterminantGrading R r m i) |
| 19 | (FrameCoordinatePolynomials.balancedDeterminantMonomialElement R a ha) |
| 20 | |
| 21 | def balancedFrameChartCoordinate (i : Fin m) (σ : Fin r → Fin m) |
| 22 | (e z : Fin m) (c k : Fin r) (a C : (Fin r → Fin m) → ℕ) |
| 23 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 24 | (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) : balancedDeterminantChartRing R i a ha := |
| 25 | HomogeneousLocalization.Away.mk (DeterminantGrading.balancedDeterminantGrading R r m i) |
| 26 | (FrameCoordinatePolynomials.balancedDeterminantMonomialElement_mem_grading R a ha i) 1 |
| 27 | (FrameCoordinatePolynomials.balancedFrameCoordinateNumerator R σ e z c k a C ha hC) |
| 28 | (by simpa only [one_nsmul] using FrameCoordinatePolynomials.balancedFrameCoordinateNumerator_mem_grading R σ e z c k a C ha hC i) |
| 29 | |
| 30 | theorem balancedFrameChartCoordinate_selected (i : Fin m) (σ : Fin r → Fin m) |
| 31 | (e z : Fin m) (c : Fin r) (a C : (Fin r → Fin m) → ℕ) |
| 32 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 33 | (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) : |
| 34 | balancedFrameChartCoordinate R i σ e z c c a C ha hC = 1 := by |
| 35 | apply HomogeneousLocalization.val_injective |
| 36 | simp only [balancedFrameChartCoordinate, HomogeneousLocalization.Away.val_mk, |
| 37 | FrameCoordinatePolynomials.balancedFrameCoordinateNumerator_selected, HomogeneousLocalization.val_one, pow_one, |
| 38 | Localization.mk_eq_mk', IsLocalization.mk'_self] |
| 39 | |
| 40 | theorem balancedFrameChartCoordinate_span (i : Fin m) (σ : Fin r → Fin m) |
| 41 | (e z : Fin m) (c : Fin r) (a C : (Fin r → Fin m) → ℕ) |
| 42 | (ha : a ∈ ExponentFiniteGeneration.balancedExponentMonoid DeterminantBlockDegrees.labeledDeterminantWeight) |
| 43 | (hC : C + Frame.CoordinateExponents.frameCoordinateExponent σ e z c = a) : |
| 44 | Ideal.span (Set.range (fun k => balancedFrameChartCoordinate R i σ e z c k a C ha hC)) = ⊤ := by |
| 45 | apply Ideal.eq_top_of_isUnit_mem _ _ isUnit_one |
| 46 | rw [← balancedFrameChartCoordinate_selected R i σ e z c a C ha hC] |
| 47 | exact Ideal.subset_span (Set.mem_range_self c) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.FrameChartCoordinates |