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.Scheme |
| 2 | |
| 3 | /-! # Ambient Pullback -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.AmbientPullback |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Each rank chart pulls the glued Hilbert scheme back to its |
| 10 | original Hilbert locus, with the full scheme structure. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 16 | variable {n m : ℕ} (i : Fin m) (D : ℕ) (P : Polynomial ℚ) |
| 17 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 18 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 19 | |
| 20 | theorem stableHilbertIntersection_chart_condition |
| 21 | (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 22 | (IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD).left ≫ StableHilbert.Scheme.stableHilbertChart R i D P hP hD j = |
| 23 | (IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD).left ≫ StableHilbert.Scheme.stableHilbertChart R i D P hP hD k := by |
| 24 | apply (cancel_mono (StableHilbert.Scheme.stableHilbertRankParameter R i D P hP hD)).mp |
| 25 | rw [Category.assoc, Category.assoc, StableHilbert.Scheme.stableHilbertChart_rankParameter, StableHilbert.Scheme.stableHilbertChart_rankParameter] |
| 26 | exact congrArg Over.Hom.left ((ChartPullbacks.stableHilbertIntersectionLeftMap_toRank R i j k D P hP hD).trans |
| 27 | (ChartPullbacks.stableHilbertIntersectionRightMap_toRank R i j k D P hP hD).symm) |
| 28 | |
| 29 | theorem stableHilbertChart_preimage (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 30 | (StableHilbert.Scheme.stableHilbertRankParameter R i D P hP hD) ⁻¹ᵁ |
| 31 | (Stable.PolynomialRankScheme.stablePolynomialRankChart R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j).opensRange = |
| 32 | (StableHilbert.Scheme.stableHilbertChart R i D P hP hD j).opensRange := by |
| 33 | ext x |
| 34 | change StableHilbert.Scheme.stableHilbertRankParameter R i D P hP hD x ∈ |
| 35 | Set.range (Stable.PolynomialRankScheme.stablePolynomialRankChart R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j) ↔ |
| 36 | x ∈ Set.range (StableHilbert.Scheme.stableHilbertChart R i D P hP hD j) |
| 37 | constructor |
| 38 | · rintro ⟨v, hv⟩ |
| 39 | obtain ⟨k, y, rfl⟩ := StableHilbert.Scheme.stableHilbertCharts_cover R i D P hP hD x |
| 40 | have he : Stable.PolynomialRankScheme.stablePolynomialRankChart R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j v = |
| 41 | Stable.PolynomialRankScheme.stablePolynomialRankChart R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) k |
| 42 | ((Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i k D P).left y) := by |
| 43 | rw [hv, ← Scheme.Hom.comp_apply, StableHilbert.Scheme.stableHilbertChart_rankParameter] |
| 44 | rfl |
| 45 | obtain ⟨z, _, hz⟩ := Scheme.exists_preimage_of_isPullback |
| 46 | ((GluedRankChartIntersections.stableRankGluedChartIntersection_isPullback R i j k D (Stable.ConfigurationLocus.configurationHilbertRank D P)).map |
| 47 | (Over.forget (Spec (.of R)))) v ((Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i k D P).left y) he |
| 48 | obtain ⟨t, ht, _⟩ := Scheme.exists_preimage_of_isPullback |
| 49 | ((IntersectionMaps.stableHilbertIntersectionRight_isPullback R i j k D P hP hD).map (Over.forget (Spec (.of R)))) y z hz.symm |
| 50 | refine ⟨(IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD).left t, ?_⟩ |
| 51 | change (IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD).left t = y at ht |
| 52 | have hc := congrArg (fun h => h t) (stableHilbertIntersection_chart_condition R i D P hP hD j k) |
| 53 | simpa only [Scheme.Hom.comp_apply, ht] using hc |
| 54 | · rintro ⟨y, rfl⟩ |
| 55 | refine ⟨(Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P).left y, ?_⟩ |
| 56 | exact (congrArg (fun h => h y) (StableHilbert.Scheme.stableHilbertChart_rankParameter R i D P hP hD j)).symm |
| 57 | |
| 58 | theorem stableHilbertChart_isPullback (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 59 | IsPullback (StableHilbert.Scheme.stableHilbertChart R i D P hP hD j) |
| 60 | (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P).left |
| 61 | (StableHilbert.Scheme.stableHilbertRankParameter R i D P hP hD) |
| 62 | (Stable.PolynomialRankScheme.stablePolynomialRankChart R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j) := |
| 63 | (IsOpenImmersion.isPullback (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P).left |
| 64 | (StableHilbert.Scheme.stableHilbertChart R i D P hP hD j) (Stable.PolynomialRankScheme.stablePolynomialRankChart R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j) |
| 65 | (StableHilbert.Scheme.stableHilbertRankParameter R i D P hP hD) (StableHilbert.Scheme.stableHilbertChart_rankParameter R i D P hP hD j) |
| 66 | (stableHilbertChart_preimage R i D P hP hD j)).flip |
| 67 | |
| 68 | theorem stableHilbertChartOver_isPullback (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) : |
| 69 | IsPullback (StableHilbert.Scheme.stableHilbertChartOver R i D P hP hD j) |
| 70 | (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P) |
| 71 | (StableHilbert.Scheme.stableHilbertRankParameterOver R i D P hP hD) |
| 72 | (Stable.PolynomialRankScheme.stablePolynomialRankChartOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j) := by |
| 73 | apply IsPullback.of_map_of_faithful (Over.forget (Spec (.of R))) |
| 74 | exact stableHilbertChart_isPullback R i D P hP hD j |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.AmbientPullback |