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.Coefficient.GlobalFunctionDimension |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PointedFamilyFiberConnectedness |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.PropertyComparison |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.MatrixRankScalarExtension |
| 5 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.BaseChange |
| 6 | |
| 7 | /-! # Connected Field Criterion -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.ConnectedFieldCriterion |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! An actual matrix model of global functions detects geometric connectedness of a pointed proper smooth projective quotient over each coefficient field. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.BaseChange.GradedHilbert |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem projectiveCoordinate_connected_field_kernel |
| 21 | {R K : Type u} [CommRing R] [Field K] [Algebra R K] {n : ℕ} |
| 22 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 23 | [IsProper (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] [Smooth (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)) (hx : x ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) = 𝟙 _) |
| 25 | {μ ν : Type u} [Fintype μ] [Fintype ν] [DecidableEq μ] [DecidableEq ν] |
| 26 | (B : Matrix ν μ R) |
| 27 | (e : Coefficient.AlgebraPresheaf.coefficientAlgebraSections |
| 28 | (Affine.ChartCoefficientSections.schemeGlobalCoefficient (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) I)))) ⊤ ≃ₗ[K] |
| 29 | (Matrix.toLin' (B.map (algebraMap R K))).ker) : |
| 30 | GeometricallyConnected (pullback.snd (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 31 | (Spec.map (CommRingCat.ofHom (algebraMap R K)))) ↔ |
| 32 | Module.finrank K (Matrix.toLin' (B.map (algebraMap R K))).ker ≤ 1 := by |
| 33 | let p := HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) |
| 34 | let c := Spec.map (CommRingCat.ofHom (algebraMap R K)) |
| 35 | let pK := HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading (HilbertScheme.Presentations.Graded.BaseChange.GradedHilbert.extendedHomogeneousIdeal (S := K) I)) |
| 36 | let H := HilbertScheme.Presentations.Projective.BaseChange.GradedHilbert.projectiveQuotient_isPullback (S := K) I |
| 37 | have : IsProper pK := |
| 38 | (inferInstance : MorphismProperty.IsStableUnderBaseChange (@IsProper : MorphismProperty Scheme.{u})).of_isPullback |
| 39 | H (inferInstance : IsProper p) |
| 40 | have : Smooth pK := smooth_isStableUnderBaseChange.of_isPullback H (inferInstance : Smooth p) |
| 41 | let xK := PointedFamilyFiberConnectedness.schemeSectionBaseChange p x hx c ≫ H.isoPullback.inv |
| 42 | have hxK : xK ≫ pK = 𝟙 _ := |
| 43 | (Category.assoc _ _ _).trans |
| 44 | ((congrArg (fun f => PointedFamilyFiberConnectedness.schemeSectionBaseChange p x hx c ≫ f) H.isoPullback_inv_snd).trans |
| 45 | (PointedFamilyFiberConnectedness.schemeSectionBaseChange_section p x hx c)) |
| 46 | have : Module.Finite K (Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Affine.ChartCoefficientSections.schemeGlobalCoefficient pK) ⊤) := Module.Finite.equiv e.symm |
| 47 | have hg : GeometricallyConnected pK ↔ GeometricallyConnected (pullback.snd p c) := |
| 48 | Cartesian.PropertyComparison.property_cartesian_iff_pullback (@GeometricallyConnected : MorphismProperty Scheme.{u}) |
| 49 | (HilbertScheme.Presentations.Projective.CoefficientMap.GradedHilbert.projectiveCoefficientMap (S := K) I) pK p c H |
| 50 | exact hg.symm.trans ((Coefficient.GlobalFunctionDimension.properSmoothPointed_connected_iff_coefficient_dimension_le_one pK xK hxK).trans |
| 51 | (congrArg (fun q : ℕ => q ≤ 1) e.finrank_eq).to_iff) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.ConnectedFieldCriterion |