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.Hom |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Multiplication |
| 3 | |
| 4 | /-! # Finite -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.Finite.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite morphism between abelian schemes of the same relative |
| 11 | dimension is surjective over the full base. A group morphism is flat. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem abelian_geometric_topologicalKrullDim {k : Type u} [Field k] [IsAlgClosed k] |
| 20 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) : |
| 21 | topologicalKrullDim A.scheme.left = (g : WithBot ℕ∞) := by |
| 22 | have : JacobsonSpace A.scheme.left := LocallyOfFiniteType.jacobsonSpace A.scheme.hom |
| 23 | have : Nonempty A.scheme.left := ⟨(1 : 𝟙_ (Over (Spec (.of k))) ⟶ A.scheme).left (IsLocalRing.closedPoint k)⟩ |
| 24 | obtain ⟨x, _, hx⟩ := nonempty_inter_closedPoints |
| 25 | (X := A.scheme.left) Set.univ_nonempty isOpen_univ.isLocallyClosed |
| 26 | have he := ArithmeticGeometry.OrdinaryLocus.Openness.GroupDimension.Construction.topologicalKrullDim_eq_stalk_of_transitive_closedPoints A.scheme.left |
| 27 | (fun x y hx hy => by |
| 28 | obtain ⟨e, _, hxy, _⟩ := ArithmeticGeometry.OrdinaryLocus.Openness.FlatTranslations.Construction.multiplication_transitive_automorphisms A.scheme 1 x y hx hy |
| 29 | exact ⟨e, hxy⟩) x hx |
| 30 | exact he.trans (ArithmeticGeometry.OrdinaryLocus.Openness.SmoothRelativeDimension.Construction.ringKrullDim_stalk_of_smoothOfRelativeDimension g A.scheme.hom x hx) |
| 31 | |
| 32 | theorem finite_geometric_abelian_hom_surjective {k : Type u} [Field k] [IsAlgClosed k] |
| 33 | {g : ℕ} (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 34 | (f : A.scheme ⟶ B.scheme) [IsFinite f.left] : Surjective f.left := by |
| 35 | have : IsIntegral A.scheme.left := ArithmeticGeometry.OrdinaryLocus.Openness.ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group A.scheme |
| 36 | have : IsIntegral B.scheme.left := ArithmeticGeometry.OrdinaryLocus.Openness.ConnectedGroupIntegral.Construction.isIntegral_connected_smooth_proper_group B.scheme |
| 37 | apply Finite.EqualDimensionSurjectivity.Construction.finite_same_dimension_surjective f.left |
| 38 | · exact (abelian_geometric_topologicalKrullDim A).trans (abelian_geometric_topologicalKrullDim B).symm |
| 39 | · rw [abelian_geometric_topologicalKrullDim] |
| 40 | exact WithBot.coe_lt_coe.mpr (ENat.natCast_lt_top g) |
| 41 | |
| 42 | variable {S : Scheme.{u}} {g : ℕ} (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 43 | (f : A.scheme ⟶ B.scheme) [IsFinite f.left] |
| 44 | |
| 45 | set_option backward.isDefEq.respectTransparency false in |
| 46 | theorem relativeFiniteAbelianHom_surjective : Surjective f.left := by |
| 47 | apply Multiplication.Construction.surjective_of_geometric_baseChanges f |
| 48 | intro K _ _ s |
| 49 | have : IsFinite ((Over.pullback s).map f).left := |
| 50 | MorphismProperty.overPullbackMap (P := @IsFinite) s f inferInstance |
| 51 | exact finite_geometric_abelian_hom_surjective (A.pullback s) (B.pullback s) ((Over.pullback s).map f) |
| 52 | |
| 53 | theorem relativeFiniteAbelianHom_flat [IsMonHom f] : Flat f.left := by |
| 54 | have : Surjective f.left := relativeFiniteAbelianHom_surjective A B f |
| 55 | exact Finite.GroupHomFlat.Construction.finite_surjective_groupHom_flat f |
| 56 | |
| 57 | def relativeFiniteAbelianHomIsogeny [IsMonHom f] : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B where |
| 58 | hom := f |
| 59 | preservesGroup := inferInstance |
| 60 | finite := inferInstance |
| 61 | flat := relativeFiniteAbelianHom_flat A B f |
| 62 | surjective := relativeFiniteAbelianHom_surjective A B f |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Relative.Finite.Construction |