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.IntrinsicTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.ChartPullbacks |
| 3 | |
| 4 | /-! # Compatible Chart Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CompatibleChartFrames |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Any two affine Hilbert chart points with the same global |
| 11 | rank parameter have frame-related configurations. This compares |
| 12 | arbitrary pairs and triples without selecting a common chart in advance. -/ |
| 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 {n m : ℕ} (i : Fin m) (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 19 | variable (D : ℕ) (P : Polynomial ℚ) (C : CommRingCat.{u}) |
| 20 | variable {f : Spec C ⟶ Spec (.of R)} |
| 21 | |
| 22 | def affineHilbertChartVectors (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P) : |
| 23 | ULift.{u} (Fin m) → Fin (n + 1) → C := |
| 24 | Stable.PolynomialMatrixCoefficients.stablePolynomialChartPointVectors R i j C (a ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D P) |
| 25 | |
| 26 | omit [IsNoetherianRing R] in |
| 27 | theorem affineHilbertChartVectors_hasFrame |
| 28 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P) : |
| 29 | IsUnit (ProjectiveFrame.Discriminant.projectiveFrameDiscriminant (Pi.basisFun C (Fin (n + 1))) |
| 30 | (fun t => affineHilbertChartVectors R i j D P C a ⟨j.frame t⟩) |
| 31 | (affineHilbertChartVectors R i j D P C a ⟨j.additional⟩)) := |
| 32 | StableChartFrames.stablePolynomialChartPointVectors_hasFrame R i j (a ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D P) |
| 33 | |
| 34 | private theorem affineHilbertChartAmbient_left |
| 35 | (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 36 | (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 37 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P) |
| 38 | (c : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 39 | (ha : c ≫ StableHilbert.IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD = a) : |
| 40 | a ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D P = |
| 41 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P) ≫ StableIntersection.SchemeRank.stableChartIntersectionLeftOver R i j k := by |
| 42 | rw [← ha, Category.assoc, IntrinsicTransport.stableHilbertIntersectionLeftMap_toAmbient, ← Category.assoc] |
| 43 | |
| 44 | private theorem affineHilbertChartAmbient_right |
| 45 | (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 46 | (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 47 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D P) |
| 48 | (c : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 49 | (ha : c ≫ StableHilbert.IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD = a) : |
| 50 | a ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i k D P = |
| 51 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P) ≫ StableIntersection.SchemeRank.stableChartIntersectionRightOver R i j k := by |
| 52 | rw [← ha, Category.assoc, IntrinsicTransport.stableHilbertIntersectionRightMap_toAmbient, ← Category.assoc] |
| 53 | |
| 54 | private theorem affineHilbertChartVectors_common |
| 55 | (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 56 | (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 57 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P) |
| 58 | (b : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D P) |
| 59 | (c : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D P) |
| 60 | (ha : c ≫ StableHilbert.IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D P hP hD = a) |
| 61 | (hb : c ≫ StableHilbert.IntersectionMaps.stableHilbertIntersectionRightMap R i j k D P hP hD = b) : |
| 62 | Configuration.ProjectiveTransport.ConfigurationFrameRelated (affineHilbertChartVectors R i j D P C a) |
| 63 | (affineHilbertChartVectors R i k D P C b) := by |
| 64 | have hj := affineHilbertChartAmbient_left R i j k D P C hP hD a c ha |
| 65 | have hk := affineHilbertChartAmbient_right R i j k D P C hP hD b c hb |
| 66 | unfold affineHilbertChartVectors |
| 67 | rw [hj, hk] |
| 68 | exact StableChartFrames.stablePolynomialIntersection_frameRelated R i j k |
| 69 | (c ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D P) |
| 70 | |
| 71 | theorem affineHilbertChartVectors_related |
| 72 | (hP : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D P) P) |
| 73 | (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n P ≤ D) |
| 74 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P) |
| 75 | (b : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i k D P) |
| 76 | (h : a ≫ StableHilbert.ChartPullbacks.stableHilbertChartToRank R i j D P = b ≫ StableHilbert.ChartPullbacks.stableHilbertChartToRank R i k D P) : |
| 77 | Configuration.ProjectiveTransport.ConfigurationFrameRelated (affineHilbertChartVectors R i j D P C a) |
| 78 | (affineHilbertChartVectors R i k D P C b) := by |
| 79 | let H := StableHilbert.ChartPullbacks.stableHilbertChartIntersection_isPullback R i j k D P hP hD |
| 80 | exact affineHilbertChartVectors_common R i j k D P C hP hD a b (H.lift a b h) |
| 81 | (H.lift_fst _ _ _) (H.lift_snd _ _ _) |
| 82 | |
| 83 | omit [IsNoetherianRing R] in |
| 84 | theorem affineHilbertChartVectors_coefficient |
| 85 | {A : Type u} [CommRing A] (φ : C →+* A) |
| 86 | (a : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D P) : |
| 87 | affineHilbertChartVectors R i j D P (.of A) (HilbertScheme.Presentations.Affine.ProjectiveAmbientNaturality.GradedHilbert.affineTestMap f φ ≫ a) = |
| 88 | fun c t => φ (affineHilbertChartVectors R i j D P C a c t) := by |
| 89 | simpa only [affineHilbertChartVectors, Category.assoc] using |
| 90 | StableChartFrames.stablePolynomialChartPointVectors_coefficient R i j (a ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i j D P) φ |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CompatibleChartFrames |