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.Comparison.Betti.SplitCoordinateCompletion |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.FaithfulLocalCompletion |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.FlatDescentTower |
| 4 | import Mathlib.RingTheory.Polynomial.Basic |
| 5 | |
| 6 | /-! # Split Coordinate Flatness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SplitCoordinateFlatness.AnalyticLocal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A split regular coordinate in a Noetherian local ring gives a flat |
| 13 | map from the coefficient polynomial ring, by completion and descent. -/ |
| 14 | |
| 15 | open _root_.Polynomial |
| 16 | |
| 17 | theorem split_coordinate_flatness {A B : Type*} [CommRing A] [CommRing B] [IsDomain B] |
| 18 | [IsNoetherianRing A] [IsNoetherianRing B] [IsLocalRing B] [Algebra A[X] B] |
| 19 | (s : A →+* B) (r : B →+* A) (hrs : r.comp s = RingHom.id A) |
| 20 | (t : B) (hrt : r t = 0) (ht : t ≠ 0) (htm : t ∈ IsLocalRing.maximalIdeal B) |
| 21 | (hdivision : ∀ y : B, ∃ b : B, y = s (r y) + t * b) |
| 22 | (hAlg : algebraMap A[X] B = eval₂RingHom s t) : Module.Flat A[X] B := by |
| 23 | let J : Ideal B := Ideal.span {t} |
| 24 | have hJ : J ≤ IsLocalRing.maximalIdeal B := |
| 25 | (Ideal.span_singleton_le_iff_mem _).mpr htm |
| 26 | let : Module.FaithfullyFlat B (AdicCompletion J B) := FaithfulLocalCompletion.Analytic.local_completion_faithfullyFlat B J hJ |
| 27 | let e := SplitCoordinateCompletion.AnalyticLocal.splitCoordinateCompletionAlgEquiv s r hrs t hrt ht hdivision hAlg |
| 28 | let : Module.Flat A[X] (AdicCompletion J B) := Module.Flat.of_linearEquiv e.symm.toLinearEquiv |
| 29 | exact FlatDescentTower.AnalyticLocal.flat_of_faithfullyFlat_extension A[X] B (AdicCompletion J B) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.Comparison.Betti.SplitCoordinateFlatness.AnalyticLocal |