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.Stable.BalancedProjectiveOpen |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BalancedChart.IntersectionMaps |
| 3 | |
| 4 | /-! # Balanced Chart Intersections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Intersections of stable balanced charts are themselves stable |
| 11 | balanced charts, using the sum of their exponent vectors. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped Classical |
| 14 | universe u |
| 15 | variable {r m : ℕ} |
| 16 | |
| 17 | def BalancedFrameIndex.StableBalancedFrameIndex.intersection (j k : BalancedFrameIndex.StableBalancedFrameIndex.{u} r m) : |
| 18 | BalancedFrameIndex.StableBalancedFrameIndex.{u} r m where |
| 19 | rank_two := j.rank_two |
| 20 | points_two := j.points_two |
| 21 | frame := j.frame |
| 22 | additional := j.additional |
| 23 | coordinate := j.coordinate |
| 24 | exponent := j.exponent + k.exponent |
| 25 | complement z := j.complement z + k.exponent |
| 26 | balanced := (Balanced.ExponentFiniteGeneration.balancedExponentMonoid _).add_mem j.balanced k.balanced |
| 27 | frame_le := j.frame_le.trans (fun τ => Nat.le_add_right _ _) |
| 28 | complete z := by |
| 29 | calc |
| 30 | j.complement z + k.exponent + Frame.CoordinateExponents.frameCoordinateExponent j.frame j.additional z (j.coordinate z) = |
| 31 | (j.complement z + Frame.CoordinateExponents.frameCoordinateExponent j.frame j.additional z (j.coordinate z)) + k.exponent := by ac_rfl |
| 32 | _ = _ := by rw [j.complete z] |
| 33 | sparse := by |
| 34 | intro K hK w hw |
| 35 | rw [Balanced.MonomialAlgebra.exponentMonomial_add] at hw |
| 36 | exact j.sparse K w (left_ne_zero_of_mul hw) |
| 37 | |
| 38 | theorem BalancedChartIntersections.stableBalancedFrameOpen_intersection (R : Type u) [CommRing R] (i : Fin m) |
| 39 | (j k : BalancedFrameIndex.StableBalancedFrameIndex.{u} r m) : |
| 40 | BalancedProjectiveOpen.stableBalancedFrameOpen R i (j.intersection k) = |
| 41 | BalancedProjectiveOpen.stableBalancedFrameOpen R i j ⊓ BalancedProjectiveOpen.stableBalancedFrameOpen R i k := by |
| 42 | change Proj.basicOpen (Balanced.DeterminantGrading.balancedDeterminantGrading R r m i) |
| 43 | (Balanced.FrameCoordinatePolynomials.balancedDeterminantMonomialElement R (j.exponent + k.exponent) |
| 44 | ((Balanced.ExponentFiniteGeneration.balancedExponentMonoid _).add_mem j.balanced k.balanced)) = _ |
| 45 | rw [BalancedChart.IntersectionMaps.balancedDeterminantMonomialElement_add, Proj.basicOpen_mul] <;> rfl |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable |