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.RelativeProjective.FamilyBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.ParameterEquivalence |
| 3 | |
| 4 | /-! # Base Change Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pullbacks of actual relative Hilbert families satisfy the identity and composition laws, and the locally noetherian classifier commutes with every base map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S T U : Scheme.{u}} {n : ℕ} {P : Polynomial ℚ} |
| 17 | |
| 18 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.pullback_id (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily S n P) : F.pullback (𝟙 S) = F := by |
| 19 | apply RelativeProjective.Families.RelativeProjectiveHilbertFamily.ext |
| 20 | apply Closed.Families.FlatClosedFamily.ext |
| 21 | change F.family.ideal.comap (RelativeProjective.BaseMaps.relativeProjectiveBaseMap (𝟙 S) n) = F.family.ideal |
| 22 | rw [RelativeProjective.BaseFunctoriality.relativeProjectiveBaseMap_id, Scheme.IdealSheafData.comap_id] |
| 23 | |
| 24 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.pullback_comp (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily S n P) (f : T ⟶ S) (g : U ⟶ T) : |
| 25 | (F.pullback f).pullback g = F.pullback (g ≫ f) := by |
| 26 | apply RelativeProjective.Families.RelativeProjectiveHilbertFamily.ext |
| 27 | apply Closed.Families.FlatClosedFamily.ext |
| 28 | change (F.family.ideal.comap (RelativeProjective.BaseMaps.relativeProjectiveBaseMap f n)).comap (RelativeProjective.BaseMaps.relativeProjectiveBaseMap g n) = |
| 29 | F.family.ideal.comap (RelativeProjective.BaseMaps.relativeProjectiveBaseMap (g ≫ f) n) |
| 30 | rw [RelativeProjective.BaseFunctoriality.relativeProjectiveBaseMap_comp] |
| 31 | exact (F.family.ideal.comap_comp _ _).symm |
| 32 | |
| 33 | variable {V W : Over S} [IsLocallyNoetherian V.left] [IsLocallyNoetherian W.left] |
| 34 | variable {B N : ℕ} (F : RelativeProjective.Families.RelativeProjectiveHilbertFamily V.left n P) |
| 35 | variable (hN : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ N) |
| 36 | variable (hflat : Truncated.FinitePersistence.truncatedFlatnessBound n N ≤ B) (htest : Truncated.PolynomialTest.truncatedHilbertTestBound n N ≤ B) |
| 37 | variable (hr : Generated.RankTests.GeneratedHilbertRankTest n P N) |
| 38 | |
| 39 | theorem RelativeProjective.Families.RelativeProjectiveHilbertFamily.classifyingMap_natural (f : W ⟶ V) : |
| 40 | (F.pullback f.left).classifyingMap hN hflat htest hr = f ≫ F.classifyingMap hN hflat htest hr := by |
| 41 | symm |
| 42 | apply (F.pullback f.left).classifyingMap_unique |
| 43 | intro R _ x |
| 44 | change Generated.PullbackAffineCharts.generatedPullbackFamilyAtAffinePoint (x ≫ (f.left ≫ (F.classifyingMap hN hflat htest hr).left)) hflat = |
| 45 | (F.family.projectiveBaseChange f.left).affineProjectivePullback x |
| 46 | rw [← Category.assoc] |
| 47 | exact (F.classifyingMap_pullback hN hflat htest hr (x ≫ f.left)).trans |
| 48 | (F.family.projectiveBaseChange_affine f.left x).symm |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |