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.Smooth.RelativeFamilyRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.UniversalBaseChange |
| 3 | |
| 4 | /-! # Generated Universal Classification -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GeneratedUniversalClassification |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The generated universal family uniquely classifies smooth relative Hilbert families on arbitrary tests. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem generatedUniversalFamily_existsUnique_smooth |
| 17 | {S : Scheme.{u}} {T : Over S} {n B N : ℕ} {P : Polynomial ℚ} |
| 18 | (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily T.left n P) [Smooth F.family.scheme.hom] |
| 19 | (hN : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) (hflat : Truncated.FinitePersistence.truncatedFlatnessBound n N ≤ B) |
| 20 | (htest : Truncated.PolynomialTest.truncatedHilbertTestBound n N ≤ B) (hr : Generated.RankTests.GeneratedHilbertRankTest n P N) : |
| 21 | ∃! g : T ⟶ Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N, |
| 22 | (Generated.ParameterFamilies.generatedParameterHilbertFamily (𝟙 _) hflat htest hr).pullback g.left = F := by |
| 23 | have he : ∀ g : T ⟶ Truncated.GeneratedParameters.truncatedGeneratedParameters S n B (Uniform.GeneratedCoordinates.generatedHilbertRanks n P N) N, |
| 24 | (Generated.ParameterFamilies.generatedParameterHilbertFamily (𝟙 _) hflat htest hr).pullback g.left = |
| 25 | Generated.ParameterFamilies.generatedParameterHilbertFamily g.left hflat htest hr := by |
| 26 | intro g |
| 27 | simpa only [Category.comp_id] using Hilbert.UniversalBaseChange.generatedParameterHilbertFamily_comp hflat htest hr (𝟙 _) g.left |
| 28 | obtain ⟨g, hg, hunique⟩ := F.existsUnique_smoothParameterFamily hN hflat htest hr |
| 29 | exact ⟨g, (he g).trans hg, fun x hx => hunique x ((he x).symm.trans hx)⟩ |
| 30 | |
| 31 | end |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.GeneratedUniversalClassification |