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.VeroneseProjectivePresentation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Veronese.ProjectiveBaseCompatibility |
| 3 | |
| 4 | /-! # Determinant Projectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantProjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual balanced determinant projective spectrum has a |
| 11 | projective presentation over its coefficient ring. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped Classical |
| 14 | universe u |
| 15 | |
| 16 | def transportProjectivePresentation {S : Scheme.{u}} {X Y : Over S} |
| 17 | (e : X ≅ Y) (P : Projective.ProjectivePresentations.ProjectivePresentation Y) : Projective.ProjectivePresentations.ProjectivePresentation X where |
| 18 | dimension := P.dimension |
| 19 | embedding := e.hom ≫ P.embedding |
| 20 | closedImmersion := by |
| 21 | change IsClosedImmersion (e.hom.left ≫ P.embedding.left) |
| 22 | let : IsIso e.hom.left := (Over.forget S).map_isIso e.hom |
| 23 | let : IsClosedImmersion P.embedding.left := P.closedImmersion |
| 24 | infer_instance |
| 25 | |
| 26 | theorem balancedDeterminant_projective_presentation |
| 27 | (R : Type u) [CommRing R] {r m : ℕ} (hr : 0 < r) (i : Fin m) : |
| 28 | Nonempty (Projective.ProjectivePresentations.ProjectivePresentation (Over.mk (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (DeterminantGrading.balancedDeterminantGrading R r m i)))) := by |
| 29 | obtain ⟨N, ⟨P⟩⟩ := VeroneseProjectivePresentation.balancedDeterminant_veronese_projective_presentation R hr i |
| 30 | exact ⟨transportProjectivePresentation |
| 31 | (Veronese.ProjectiveBaseCompatibility.veroneseProjectiveOverIso (DeterminantGrading.balancedDeterminantGrading R r m i) (N : ℕ)) P⟩ |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Balanced.DeterminantProjectivity |