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.Proper.SmoothDimensionClassification |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.PropertyComparison |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Hilbert.FamilySmoothOpen |
| 4 | |
| 5 | /-! # Family Dimension Open -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth relative projective Hilbert families have an actual open base classifying precisely their fixed-dimension pullbacks. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem Hilbert.FamilyDimensionOpen.smoothDimension_recovery_iff_range |
| 18 | {X Y S T : Scheme.{u}} (q : Y ⟶ X) (p : Y ⟶ T) (f : X ⟶ S) (c : T ⟶ S) |
| 19 | (h : IsPullback q p f c) [IsProper f] [Smooth f] (g : ℕ) : |
| 20 | SmoothOfRelativeDimension g p ↔ Set.range c ⊆ Proper.SmoothDimensionOpen.properSmoothDimensionBaseOpen f g := by |
| 21 | let : MorphismProperty.IsStableUnderBaseChange (@SmoothOfRelativeDimension g : MorphismProperty Scheme.{u}) := |
| 22 | smoothOfRelativeDimension_isStableUnderBaseChange g |
| 23 | exact (Cartesian.PropertyComparison.property_cartesian_iff_pullback (@SmoothOfRelativeDimension g) q p f c h).trans |
| 24 | (Proper.SmoothDimensionClassification.smoothDimension_pullback_iff_range_subset f g c) |
| 25 | |
| 26 | variable {S : Scheme.{u}} {n : ℕ} {P : Polynomial ℚ} (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily S n P) |
| 27 | variable [Smooth F.family.scheme.hom] (g : ℕ) |
| 28 | |
| 29 | def RelativeProjective.Families.RelativeProjectiveHilbertFamily.dimensionBaseOpen : S.Opens := by |
| 30 | have : IsProper F.family.scheme.hom := F.family.proper |
| 31 | exact Proper.SmoothDimensionOpen.properSmoothDimensionBaseOpen F.family.scheme.hom g |
| 32 | |
| 33 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.pullback_dimension_iff_range {T : Scheme.{u}} (c : T ⟶ S) : |
| 34 | SmoothOfRelativeDimension g (F.pullback c).family.scheme.hom ↔ Set.range c ⊆ F.dimensionBaseOpen g := by |
| 35 | have : IsProper F.family.scheme.hom := F.family.proper |
| 36 | exact Hilbert.FamilyDimensionOpen.smoothDimension_recovery_iff_range _ _ F.family.scheme.hom c |
| 37 | (ClosedFamily.Transport.closedFamilyTransport_isPullback (RelativeProjective.BaseMaps.relativeProjectiveBaseMap c n) c |
| 38 | (RelativeProjective.BaseMaps.relativeProjectiveBaseMap_isPullback c n) F.family.ideal) g |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |