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.AbelianScheme.IsogenyQuotient.Finite.EqualDimensionSurjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.GroupHomFlat |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothRelativeDimension |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogenies |
| 5 | |
| 6 | /-! # Hom -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.Hom.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A finite homomorphism between abelian varieties of equal dimension |
| 13 | is an isogeny. Surjectivity follows from dimension and flatness from |
| 14 | translations of the actual smooth group schemes. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | variable {k : Type} [Field k] [IsAlgClosed k] {g : ℕ} |
| 21 | |
| 22 | theorem abelian_topologicalKrullDim (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) : |
| 23 | topologicalKrullDim A.scheme.left = (g : WithBot ℕ∞) := by |
| 24 | have : JacobsonSpace A.scheme.left := LocallyOfFiniteType.jacobsonSpace A.scheme.hom |
| 25 | have : Nonempty A.scheme.left := ⟨(1 : 𝟙_ (Over (Spec (.of k))) ⟶ A.scheme).left (IsLocalRing.closedPoint k)⟩ |
| 26 | obtain ⟨x, _, hx⟩ := nonempty_inter_closedPoints |
| 27 | (X := A.scheme.left) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 28 | have he := ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction.topologicalKrullDim_eq_stalk_of_transitive_closedPoints A.scheme.left |
| 29 | (fun x y hx hy => by |
| 30 | obtain ⟨e, _, hxy, _⟩ := ArithmeticGeometry.OrdinaryLocus.Openness.FlatTranslations.Construction.multiplication_transitive_automorphisms A.scheme 1 x y hx hy |
| 31 | exact ⟨e, hxy⟩) x hx |
| 32 | exact he.trans (ArithmeticGeometry.OrdinaryLocus.Openness.SmoothRelativeDimension.Construction.ringKrullDim_stalk_of_smoothOfRelativeDimension g A.scheme.hom x hx) |
| 33 | |
| 34 | theorem finite_abelian_hom_surjective (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 35 | (f : A.scheme ⟶ B.scheme) [IsFinite f.left] : Surjective f.left := by |
| 36 | have : IsIntegral A.scheme.left := ArithmeticGeometry.OrdinaryLocus.Openness.ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group A.scheme |
| 37 | have : IsIntegral B.scheme.left := ArithmeticGeometry.OrdinaryLocus.Openness.ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group B.scheme |
| 38 | apply EqualDimensionSurjectivity.Construction.finite_same_dimension_surjective f.left |
| 39 | · exact (abelian_topologicalKrullDim A).trans (abelian_topologicalKrullDim B).symm |
| 40 | · rw [abelian_topologicalKrullDim] |
| 41 | exact WithBot.coe_lt_coe.mpr (ENat.natCast_lt_top g) |
| 42 | |
| 43 | def finiteAbelianHomIsogeny (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 44 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] [IsFinite f.left] : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B := by |
| 45 | have : Surjective f.left := finite_abelian_hom_surjective A B f |
| 46 | exact { hom := f |
| 47 | preservesGroup := inferInstance |
| 48 | finite := inferInstance |
| 49 | flat := GroupHomFlat.Construction.finite_surjective_groupHom_flat f |
| 50 | surjective := inferInstance } |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.Hom.Construction |