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.HilbertScheme.Presentations.LocusPullbackFromAmbient |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.IntersectionMaps |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GluedRankChartIntersections |
| 4 | |
| 5 | /-! # Chart Pullbacks -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ChartPullbacks |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The product-denominator Hilbert locus is the actual fiber |
| 12 | product of the two Hilbert charts over the glued rank scheme. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 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) (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 19 | variable (D : ℕ) (P : Polynomial ℚ) |
| 20 | |
| 21 | def stableHilbertChartToRank : Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P ⟶ |
| 22 | Stable.PolynomialRankScheme.stablePolynomialRankOver R (n := n) i D (Stable.ConfigurationLocus.configurationHilbertRank D P) := |
| 23 | Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P ≫ |
| 24 | Stable.PolynomialRankScheme.stablePolynomialRankChartOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j |
| 25 | |
| 26 | instance stableHilbertChartToRank_isImmersion : IsImmersion (stableHilbertChartToRank R i j D P).left := by |
| 27 | change IsImmersion ((Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P).left ≫ |
| 28 | (Stable.PolynomialRankScheme.stablePolynomialRankChartOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j).left) |
| 29 | infer_instance |
| 30 | |
| 31 | instance stableHilbertChartToRank_mono : Mono (stableHilbertChartToRank R i j D P) := Over.mono_of_mono_left _ |
| 32 | |
| 33 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 34 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 35 | |
| 36 | theorem stableHilbertIntersectionLeftMap_toRank : |
| 37 | IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD ≫ stableHilbertChartToRank R i j D P = |
| 38 | stableHilbertChartToRank R i (j.intersection k) D P := by |
| 39 | rw [stableHilbertChartToRank, ← Category.assoc, IntersectionMaps.stableHilbertIntersectionLeftMap_factor, |
| 40 | Category.assoc, GluedRankChartIntersections.stableRankIntersectionLeftMap_toGlued] |
| 41 | rfl |
| 42 | |
| 43 | theorem stableHilbertIntersectionRightMap_toRank : |
| 44 | IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD ≫ stableHilbertChartToRank R i k D P = |
| 45 | stableHilbertChartToRank R i (j.intersection k) D P := by |
| 46 | rw [stableHilbertChartToRank, ← Category.assoc, IntersectionMaps.stableHilbertIntersectionRightMap_factor, |
| 47 | Category.assoc, GluedRankChartIntersections.stableRankIntersectionRightMap_toGlued] |
| 48 | rfl |
| 49 | |
| 50 | theorem stableHilbertChartIntersection_isPullback : |
| 51 | IsPullback (IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) |
| 52 | (IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) |
| 53 | (stableHilbertChartToRank R i j D P) (stableHilbertChartToRank R i k D P) := by |
| 54 | have : Mono (IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) := Over.mono_of_mono_left _ |
| 55 | have hc := (stableHilbertIntersectionLeftMap_toRank R i j k D P hP hD).trans |
| 56 | (stableHilbertIntersectionRightMap_toRank R i j k D P hP hD).symm |
| 57 | let : Mono (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i k D P ≫ |
| 58 | Stable.PolynomialRankScheme.stablePolynomialRankChartOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) k) := |
| 59 | inferInstanceAs (Mono (stableHilbertChartToRank R i k D P)) |
| 60 | exact HilbertScheme.Presentations.LocusPullbackFromAmbient.Construction.locusPullbackFromAmbient |
| 61 | (IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD) |
| 62 | (IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD) |
| 63 | (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i (j.intersection k) D P) |
| 64 | (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P) |
| 65 | (Stable.ConfigurationLocus.stableConfigurationHilbertRankInclusion R i k D P) |
| 66 | (Stable.RankIntersectionMaps.stableRankIntersectionLeftMap R i j k D (Stable.ConfigurationLocus.configurationHilbertRank D P)) |
| 67 | (Stable.RankIntersectionMaps.stableRankIntersectionRightMap R i j k D (Stable.ConfigurationLocus.configurationHilbertRank D P)) |
| 68 | (Stable.PolynomialRankScheme.stablePolynomialRankChartOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) j) |
| 69 | (Stable.PolynomialRankScheme.stablePolynomialRankChartOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D P) k) |
| 70 | hc (GluedRankChartIntersections.stableRankGluedChartIntersection_isPullback R i j k D (Stable.ConfigurationLocus.configurationHilbertRank D P)) |
| 71 | (IntersectionMaps.stableHilbertIntersectionLeft_isPullback R i j k D P hP hD) |
| 72 | |
| 73 | include hP hD in |
| 74 | theorem stableHilbertChartPullback_fst_open : |
| 75 | IsOpenImmersion (pullback.fst (stableHilbertChartToRank R i j D P) (stableHilbertChartToRank R i k D P)).left := by |
| 76 | let hp := stableHilbertChartIntersection_isPullback R i j k D P hP hD |
| 77 | have he := congrArg Over.Hom.left hp.isoPullback_inv_fst |
| 78 | have : IsIso hp.isoPullback.inv.left := |
| 79 | inferInstanceAs (IsIso ((Over.forget (Spec (.of R))).map hp.isoPullback.inv)) |
| 80 | have hi : IsOpenImmersion (hp.isoPullback.inv.left ≫ |
| 81 | (IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD).left) := inferInstance |
| 82 | change hp.isoPullback.inv.left ≫ (IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD).left = _ at he |
| 83 | rw [he] at hi |
| 84 | exact hi |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ChartPullbacks |