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.EmptyProjectiveFamilies |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EmptyProjectiveParameters |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.RankObstructions |
| 4 | |
| 5 | /-! # Empty Points -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EmptyPoints |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! In the numerically impossible case, maps to the actual empty parameter scheme classify Hilbert families over arbitrary test schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {T : Over S} {n N : ℕ} {P : Polynomial ℚ} |
| 18 | variable (hN : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) (hbad : ¬ Generated.RankTests.GeneratedHilbertRankTest n P N) |
| 19 | |
| 20 | def relativeHilbertEmptyParameterEquiv : |
| 21 | RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P ≃ (T ⟶ EmptyProjectiveParameters.emptyProjectiveParameter S) where |
| 22 | toFun F := by |
| 23 | letI := F.isEmpty_of_failedRankTest hN hbad |
| 24 | exact EmptyProjectiveParameters.overEmptySourceMap T (EmptyProjectiveParameters.emptyProjectiveParameter S) |
| 25 | invFun g := by |
| 26 | letI : IsEmpty T.left := g.left.base.hom.1.isEmpty |
| 27 | exact EmptyProjectiveFamilies.emptyRelativeProjectiveHilbertFamily n P |
| 28 | left_inv F := by |
| 29 | let := F.isEmpty_of_failedRankTest hN hbad |
| 30 | exact Subsingleton.elim _ _ |
| 31 | right_inv g := by |
| 32 | let : IsEmpty T.left := g.left.base.hom.1.isEmpty |
| 33 | exact EmptyProjectiveParameters.overEmptySourceMap_unique _ _ |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EmptyPoints |