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.AffinePrescribedPoints |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.AffineLevelTransport |
| 3 | |
| 4 | /-! # Affine Marked Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.AffineMarkedTransport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual coordinate isomorphism on a stable Hilbert overlap sends |
| 11 | every prescribed ordered projective point to its counterpart. Therefore |
| 12 | an original marked full-level point has an original marked lift in the |
| 13 | other chart on every Noetherian affine test. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 18 | {C : Type u} [CommRing C] [IsNoetherianRing C] |
| 19 | {n m : ℕ} (i : Fin m) (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 20 | (D : ℕ) (H : Polynomial ℚ) {f : Spec (.of C) ⟶ Spec (.of R)} |
| 21 | |
| 22 | variable (hH : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{u} n D H) H) |
| 23 | (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{u} n H ≤ D) |
| 24 | (k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{u} (n + 1) m) |
| 25 | (b : Over.mk f ⟶ Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i (j.intersection k) D H) |
| 26 | |
| 27 | omit [IsNoetherianRing C] in |
| 28 | theorem stableHilbertPrescribedPoint_overlap (z : Fin m) : |
| 29 | PrescribedPointCriterion.stableHilbertPrescribedPoint R i j D H (b ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D H hH hD) z ≫ |
| 30 | (AffineProjectiveEmbedding.StableHilbertAffineTransport.coordinateIso R i D H j k b).hom = |
| 31 | PrescribedPointCriterion.stableHilbertPrescribedPoint R i k D H (b ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D H hH hD) z := by |
| 32 | have hL : (b ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D H hH hD) ≫ |
| 33 | IntrinsicTransport.stableHilbertChartAmbientMap R i j D H = |
| 34 | (b ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D H) ≫ StableIntersection.SchemeRank.stableChartIntersectionLeftOver R i j k := |
| 35 | (Category.assoc _ _ _).trans ((congrArg (fun q => b ≫ q) |
| 36 | (IntrinsicTransport.stableHilbertIntersectionLeftMap_toAmbient R i j k D H hH hD)).trans (Category.assoc _ _ _).symm) |
| 37 | have hR : (b ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D H hH hD) ≫ |
| 38 | IntrinsicTransport.stableHilbertChartAmbientMap R i k D H = |
| 39 | (b ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D H) ≫ StableIntersection.SchemeRank.stableChartIntersectionRightOver R i j k := |
| 40 | (Category.assoc _ _ _).trans ((congrArg (fun q => b ≫ q) |
| 41 | (IntrinsicTransport.stableHilbertIntersectionRightMap_toAmbient R i j k D H hH hD)).trans (Category.assoc _ _ _).symm) |
| 42 | rw [AffinePrescribedPoints.stableHilbertPrescribedPoint_scalar, AffinePrescribedPoints.stableHilbertPrescribedPoint_scalar, hL, hR] |
| 43 | exact Affine.RelativeCoordinateTransport.affineConfigurationRelativeIso_point _ _ |
| 44 | (StableChartFrames.stablePolynomialIntersection_frameRelated R i j k |
| 45 | (b ≫ IntrinsicTransport.stableHilbertChartAmbientMap R i (j.intersection k) D H)) ⟨z⟩ _ _ |
| 46 | |
| 47 | variable (g : ℕ) (Hm Hi : Polynomial ℚ) (N : ℕ) [NeZero N] |
| 48 | (labels : Fin m ≃ Multiplicative (Fin (2 * g) → ZMod N)) |
| 49 | |
| 50 | theorem stableHilbertFullLevel_overlap_hasPoint |
| 51 | (h : ∃ u : Over.mk f ⟶ LevelParameter.StableHilbertLevel.parameter R i j D H hH g Hm Hi N labels, |
| 52 | u ≫ LevelMonomorphism.StableHilbertLevel.toHilbertChart R i j D H hH g Hm Hi N labels = |
| 53 | b ≫ IntersectionMaps.stableHilbertIntersectionLeftMap R i j k D H hH hD) : |
| 54 | ∃ u : Over.mk f ⟶ LevelParameter.StableHilbertLevel.parameter R i k D H hH g Hm Hi N labels, |
| 55 | u ≫ LevelMonomorphism.StableHilbertLevel.toHilbertChart R i k D H hH g Hm Hi N labels = |
| 56 | b ≫ IntersectionMaps.stableHilbertIntersectionRightMap R i j k D H hH hD := by |
| 57 | obtain ⟨y, hy, hm⟩ := |
| 58 | (PrescribedPointCriterion.StableHilbertFullLevel.hasPoint_iff_hilbert_markedPoints R i j D H hH g Hm Hi N labels _).mp h |
| 59 | apply (PrescribedPointCriterion.StableHilbertFullLevel.hasPoint_iff_hilbert_markedPoints R i k D H hH g Hm Hi N labels _).mpr |
| 60 | let yR := AffineLevelTransport.StableHilbertAffineFullLevelTransport.point R i D H hH hD j k b g Hm Hi N y hy |
| 61 | refine ⟨yR, AffineLevelTransport.StableHilbertAffineFullLevelTransport.point_forget R i D H hH hD j k b g Hm Hi N y hy, ?_⟩ |
| 62 | intro z |
| 63 | exact (AffineLevelTransport.StableHilbertAffineFullLevelTransport.point_markedPoint R i D H hH hD j k b |
| 64 | g Hm Hi N y hy (labels z)).trans |
| 65 | ((congrArg (fun q => q ≫ (AffineProjectiveEmbedding.StableHilbertAffineTransport.coordinateIso R i D H j k b).hom) |
| 66 | (hm z)).trans (stableHilbertPrescribedPoint_overlap R i j D H hH hD k b z)) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.AffineMarkedTransport |