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.ProjectiveCoordinate.ConnectedFieldCriterion |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.GlobalFunctionsMatrix |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Matrix.KernelAffineFieldTests |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.ConnectednessFieldTests |
| 5 | |
| 6 | /-! # Connected Open -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.ConnectedOpen |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A pointed proper smooth projective coordinate quotient over a Noetherian ring has an actual open subset classifying exactly its geometrically connected base changes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem pointedProperSmoothProjectiveCoordinate_connected_open |
| 19 | {R : Type u} [CommRing R] [IsNoetherianRing 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))] [Smooth (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I))] |
| 22 | (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) = 𝟙 _) : |
| 23 | ∃ U : (Spec (.of R)).Opens, ∀ (T : Scheme.{u}) (c : T ⟶ Spec (.of R)), |
| 24 | GeometricallyConnected (pullback.snd (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) c) ↔ |
| 25 | Set.range c ⊆ (U : Set (Spec (.of R))) := by |
| 26 | obtain ⟨m, k, B, hB⟩ := Projective.GlobalFunctionsMatrix.flatProjectiveCoordinate_globalFunctions_uniform_matrix I |
| 27 | let U := Matrix.KernelDimensionOpen.matrixKernelDimensionOpen (B.map (Scheme.ΓSpecIso (.of R)).inv.hom) 1 |
| 28 | have hf : ∀ (K : Type u) [Field K] (c : Spec (.of K) ⟶ Spec (.of R)), |
| 29 | GeometricallyConnected (pullback.snd (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) c) ↔ |
| 30 | Set.range c ⊆ (U : Set (Spec (.of R))) := by |
| 31 | intro K _ c |
| 32 | let φ : R →+* K := (Spec.fullyFaithful.preimage c).unop.hom |
| 33 | have hc : Spec.map (CommRingCat.ofHom φ) = c := Spec.fullyFaithful.map_preimage c |
| 34 | have ht : GeometricallyConnected (pullback.snd (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 35 | (Spec.map (CommRingCat.ofHom φ))) ↔ |
| 36 | Set.range (Spec.map (CommRingCat.ofHom φ)) ⊆ (U : Set (Spec (.of R))) := by |
| 37 | let := φ.toAlgebra |
| 38 | exact (ConnectedFieldCriterion.projectiveCoordinate_connected_field_kernel I x hx B (Classical.choice (hB K))).trans |
| 39 | (Matrix.KernelAffineFieldTests.matrixKernelDimensionOpen_specMap φ B 1).symm |
| 40 | exact hc ▸ ht |
| 41 | exact ⟨U, fun _ c => Geometric.ConnectednessFieldTests.geometricallyConnected_open_field_tests |
| 42 | (HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) U hf c⟩ |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.ConnectedOpen |