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.StableHilbert.ChartPullbacks |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.MonoFamilyGluing |
| 3 | |
| 4 | /-! # Scheme -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.Scheme |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Stable configuration Hilbert loci glue to an actual scheme |
| 11 | mapping monomorphically to the global polynomial rank scheme. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.MonoFamilyGluing |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 18 | variable {n m : ℕ} (i : Fin m) (D : ℕ) (P : Polynomial ℚ) |
| 19 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 20 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 21 | |
| 22 | include hP hD in |
| 23 | theorem stableHilbertIntersectionOpens : |
| 24 | ∀ j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m, |
| 25 | IsOpenImmersion (pullback.fst (ChartPullbacks.stableHilbertChartToRank R i j D P) (ChartPullbacks.stableHilbertChartToRank R i k D P)).left := |
| 26 | fun j k => ChartPullbacks.stableHilbertChartPullback_fst_open R i j k D P hP hD |
| 27 | |
| 28 | def stableHilbertGlueData : Scheme.GlueData := by |
| 29 | letI := stableHilbertIntersectionOpens R i D P hP hD |
| 30 | exact HilbertScheme.Presentations.Relative.MonoFamilyGluing.relativeMonoFamilyGlueData (Stable.PolynomialRankScheme.stablePolynomialRankOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D P)) |
| 31 | (fun j : ULift.{u} (Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) => Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j.down D P) (fun j : ULift.{u} (Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) => ChartPullbacks.stableHilbertChartToRank R i j.down D P) |
| 32 | |
| 33 | def stableHilbertScheme : Scheme.{u} := (stableHilbertGlueData R i D P hP hD).glued |
| 34 | |
| 35 | def stableHilbertChart (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 36 | (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P).left ⟶ stableHilbertScheme R i D P hP hD := |
| 37 | (stableHilbertGlueData R i D P hP hD).ι (ULift.up j) |
| 38 | |
| 39 | instance stableHilbertChart_open (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 40 | IsOpenImmersion (stableHilbertChart R i D P hP hD j) := |
| 41 | Scheme.GlueData.ι_isOpenImmersion (stableHilbertGlueData R i D P hP hD) (ULift.up j) |
| 42 | |
| 43 | def stableHilbertRankParameter : stableHilbertScheme R i D P hP hD ⟶ |
| 44 | (Stable.PolynomialRankScheme.stablePolynomialRankOver R (n := n) i D (Stable.ConfigurationLocus.configurationHilbertRank D P)).left := by |
| 45 | letI := stableHilbertIntersectionOpens R i D P hP hD |
| 46 | exact HilbertScheme.Presentations.Relative.MonoFamilyGluing.relativeMonoFamilyParameter (Stable.PolynomialRankScheme.stablePolynomialRankOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D P)) |
| 47 | (fun j : ULift.{u} (Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) => Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j.down D P) (fun j : ULift.{u} (Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) => ChartPullbacks.stableHilbertChartToRank R i j.down D P) |
| 48 | |
| 49 | theorem stableHilbertChart_rankParameter (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 50 | stableHilbertChart R i D P hP hD j ≫ stableHilbertRankParameter R i D P hP hD = |
| 51 | (ChartPullbacks.stableHilbertChartToRank R i j D P).left := by |
| 52 | let := stableHilbertIntersectionOpens R i D P hP hD |
| 53 | exact HilbertScheme.Presentations.Relative.MonoFamilyGluing.relativeMonoFamilyChart_parameter _ _ _ (ULift.up j) |
| 54 | |
| 55 | instance stableHilbertRankParameter_mono : Mono (stableHilbertRankParameter R i D P hP hD) := by |
| 56 | let := stableHilbertIntersectionOpens R i D P hP hD |
| 57 | exact HilbertScheme.Presentations.Relative.MonoFamilyGluing.relativeMonoFamilyParameter_mono _ _ _ |
| 58 | |
| 59 | def stableHilbertOver : Over (Spec (.of R)) := |
| 60 | Over.mk (stableHilbertRankParameter R i D P hP hD ≫ |
| 61 | (Stable.PolynomialRankScheme.stablePolynomialRankOver R (n := n) i D (Stable.ConfigurationLocus.configurationHilbertRank D P)).hom) |
| 62 | |
| 63 | def stableHilbertRankParameterOver : stableHilbertOver R i D P hP hD ⟶ |
| 64 | Stable.PolynomialRankScheme.stablePolynomialRankOver R (n := n) i D (Stable.ConfigurationLocus.configurationHilbertRank D P) := |
| 65 | Over.homMk (stableHilbertRankParameter R i D P hP hD) rfl |
| 66 | |
| 67 | instance stableHilbertRankParameterOver_mono : Mono (stableHilbertRankParameterOver R i D P hP hD) := |
| 68 | by |
| 69 | have : Mono (stableHilbertRankParameterOver R i D P hP hD).left := |
| 70 | inferInstanceAs (Mono (stableHilbertRankParameter R i D P hP hD)) |
| 71 | exact Over.mono_of_mono_left _ |
| 72 | |
| 73 | def stableHilbertChartOver (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 74 | Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P ⟶ stableHilbertOver R i D P hP hD := |
| 75 | Over.homMk (stableHilbertChart R i D P hP hD j) (by |
| 76 | change stableHilbertChart R i D P hP hD j ≫ (stableHilbertRankParameter R i D P hP hD ≫ _) = _ |
| 77 | rw [← Category.assoc, stableHilbertChart_rankParameter] |
| 78 | exact (ChartPullbacks.stableHilbertChartToRank R i j D P).w) |
| 79 | |
| 80 | theorem stableHilbertChartOver_rankParameter (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 81 | stableHilbertChartOver R i D P hP hD j ≫ stableHilbertRankParameterOver R i D P hP hD = |
| 82 | ChartPullbacks.stableHilbertChartToRank R i j D P := |
| 83 | Over.OverMorphism.ext (stableHilbertChart_rankParameter R i D P hP hD j) |
| 84 | |
| 85 | theorem stableHilbertCharts_cover (x : stableHilbertScheme R i D P hP hD) : |
| 86 | ∃ j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m, |
| 87 | ∃ y : (Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P).left, stableHilbertChart R i D P hP hD j y = x := |
| 88 | by |
| 89 | obtain ⟨j, y, hy⟩ := (stableHilbertGlueData R i D P hP hD).ι_jointly_surjective x |
| 90 | exact ⟨j.down, y, hy⟩ |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.Scheme |