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.Projective.GlobalFunctionsIdentityModel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.ConnectedFieldCriterion |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.MatrixAlgebraModel |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.CoefficientRetraction |
| 5 | |
| 6 | /-! # Projective Global Functions -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProjectiveGlobalFunctions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Global regular functions on a pointed proper smooth geometrically connected projective coordinate family over a noetherian local ring are exactly the base ring, including over nonreduced bases. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem localPointedProjectiveCoordinate_globalFunctions_isIso |
| 19 | {R : Type u} [CommRing R] [IsNoetherianRing R] [IsLocalRing R] {n : ℕ} |
| 20 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 21 | [IsProper (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 22 | [Smooth (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 23 | [GeometricallyConnected (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 24 | (x : Spec (.of R) ⟶ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 25 | (hx : x ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) = 𝟙 _) : |
| 26 | IsIso (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).appTop := by |
| 27 | obtain ⟨m, k, B, hI, hB⟩ := Projective.GlobalFunctionsIdentityModel.flatProjectiveCoordinate_globalFunctions_uniform_matrix_with_identity I |
| 28 | let K := IsLocalRing.ResidueField R |
| 29 | have hd : Module.finrank K (Matrix.toLin' (B.map (algebraMap R K))).ker ≤ 1 := |
| 30 | (ProjectiveCoordinate.ConnectedFieldCriterion.projectiveCoordinate_connected_field_kernel I x hx B (Classical.choice (hB K))).mp inferInstance |
| 31 | let p := HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 32 | let σ := Section.CoefficientRetraction.sectionCoefficientRetraction p x hx |
| 33 | have H := MatrixAlgebraModel.localMatrixModel_algebraMap_bijective B (Classical.choice hI) σ.toLinearMap σ.map_one hd |
| 34 | change Function.Bijective (Coefficient.AlgebraPresheaf.coefficientSectionMap (Affine.ChartCoefficientSections.schemeGlobalCoefficient p) ⊤) at H |
| 35 | rw [Coefficient.GlobalFunctionDimension.coefficientSectionMap_top] at H |
| 36 | exact (ConcreteCategory.isIso_iff_bijective p.appTop).mpr ((Coefficient.GlobalFunctionDimension.schemeGlobalCoefficient_bijective_iff p).mp H) |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Local.ProjectiveGlobalFunctions |