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.Stable.AffineRelations |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.RankIntersectionMaps |
| 3 | |
| 4 | /-! # Affine Intersection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.AffineIntersection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On each actual rank-chart intersection, the two Hilbert |
| 11 | lifting conditions coincide on every Noetherian algebra-valued |
| 12 | affine test. Both agree with the intersection's own Hilbert locus. -/ |
| 13 | open _root_.CategoryTheory _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 {C : Type u} [CommRing C] [IsNoetherianRing C] [Algebra R C] |
| 19 | variable {n m : ℕ} (i : Fin m) (j k : BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 20 | variable (D : ℕ) (P : Polynomial ℚ) |
| 21 | variable (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 22 | variable (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 23 | variable (y : HilbertScheme.Presentations.Relative.AffinePoints.relativeAffineScheme (.of R) C ⟶ |
| 24 | ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankLocus R i (j.intersection k) D (ConfigurationLocus.configurationHilbertRank D P)) |
| 25 | |
| 26 | include hP hD |
| 27 | |
| 28 | theorem stableAffineHilbertIntersection_left_iff : |
| 29 | (∃! a : HilbertScheme.Presentations.Relative.AffinePoints.relativeAffineScheme (.of R) C ⟶ ConfigurationLocus.stableConfigurationHilbertLocus R i j D P, |
| 30 | a ≫ ConfigurationLocus.stableConfigurationHilbertRankInclusion R i j D P = |
| 31 | y ≫ RankIntersectionMaps.stableRankIntersectionLeftMap R i j k D (ConfigurationLocus.configurationHilbertRank D P)) ↔ |
| 32 | (∃! a : HilbertScheme.Presentations.Relative.AffinePoints.relativeAffineScheme (.of R) C ⟶ ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P, |
| 33 | a ≫ ConfigurationLocus.stableConfigurationHilbertRankInclusion R i (j.intersection k) D P = y) := by |
| 34 | let x := y ≫ ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i (j.intersection k) D (ConfigurationLocus.configurationHilbertRank D P) |
| 35 | have hy : (y ≫ RankIntersectionMaps.stableRankIntersectionLeftMap R i j k D (ConfigurationLocus.configurationHilbertRank D P)) ≫ |
| 36 | ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i j D (ConfigurationLocus.configurationHilbertRank D P) = |
| 37 | x ≫ StableIntersection.SchemeRank.stableChartIntersectionLeftOver R i j k := by |
| 38 | simpa only [x, Category.assoc] using congrArg (fun a => y ≫ a) |
| 39 | (RankIntersectionMaps.stableRankIntersectionLeftMap_factor R i j k D (ConfigurationLocus.configurationHilbertRank D P)) |
| 40 | rw [AffineRelations.stableAffineHilbertLift_iff_relations R i j D P hP hD _ _ hy, |
| 41 | AffineRelations.stableAffineHilbertLift_iff_relations R i (j.intersection k) D P hP hD x y rfl, |
| 42 | ] |
| 43 | simp only [AffineRelations.stableChartAffineAlgebraPoint, StableIntersection.SchemeRank.stableChartIntersectionLeftOver] |
| 44 | rw [AffineRelations.stableChartAffineAlgebraPoint_intersection_left] |
| 45 | exact (StableIntersection.Relations.stableChartIntersection_hilbertRelations_comparisons R i j k |
| 46 | (AffineRelations.stableChartAffineAlgebraPoint R i (j.intersection k) x) D P).1 |
| 47 | |
| 48 | theorem stableAffineHilbertIntersection_right_iff : |
| 49 | (∃! a : HilbertScheme.Presentations.Relative.AffinePoints.relativeAffineScheme (.of R) C ⟶ ConfigurationLocus.stableConfigurationHilbertLocus R i k D P, |
| 50 | a ≫ ConfigurationLocus.stableConfigurationHilbertRankInclusion R i k D P = |
| 51 | y ≫ RankIntersectionMaps.stableRankIntersectionRightMap R i j k D (ConfigurationLocus.configurationHilbertRank D P)) ↔ |
| 52 | (∃! a : HilbertScheme.Presentations.Relative.AffinePoints.relativeAffineScheme (.of R) C ⟶ ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P, |
| 53 | a ≫ ConfigurationLocus.stableConfigurationHilbertRankInclusion R i (j.intersection k) D P = y) := by |
| 54 | let x := y ≫ ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i (j.intersection k) D (ConfigurationLocus.configurationHilbertRank D P) |
| 55 | have hy : (y ≫ RankIntersectionMaps.stableRankIntersectionRightMap R i j k D (ConfigurationLocus.configurationHilbertRank D P)) ≫ |
| 56 | ConfigurationPolynomialRankLocus.stableConfigurationPolynomialRankInclusion R i k D (ConfigurationLocus.configurationHilbertRank D P) = |
| 57 | x ≫ StableIntersection.SchemeRank.stableChartIntersectionRightOver R i j k := by |
| 58 | simpa only [x, Category.assoc] using congrArg (fun a => y ≫ a) |
| 59 | (RankIntersectionMaps.stableRankIntersectionRightMap_factor R i j k D (ConfigurationLocus.configurationHilbertRank D P)) |
| 60 | rw [AffineRelations.stableAffineHilbertLift_iff_relations R i k D P hP hD _ _ hy, |
| 61 | AffineRelations.stableAffineHilbertLift_iff_relations R i (j.intersection k) D P hP hD x y rfl, |
| 62 | ] |
| 63 | simp only [AffineRelations.stableChartAffineAlgebraPoint, StableIntersection.SchemeRank.stableChartIntersectionRightOver] |
| 64 | rw [AffineRelations.stableChartAffineAlgebraPoint_intersection_right] |
| 65 | exact (StableIntersection.Relations.stableChartIntersection_hilbertRelations_comparisons R i j k |
| 66 | (AffineRelations.stableChartAffineAlgebraPoint R i (j.intersection k) x) D P).2 |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Stable.AffineIntersection |