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.FrobeniusKernel.FiniteCancellation |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Field.Extension |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 4 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced |
| 5 | |
| 6 | /-! # Finite Kernel Cancellation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.FiniteKernelCancellation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite-kernel cancellation for actual abelian varieties over the |
| 13 | original field, reflected from their geometric base change. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 19 | |
| 20 | variable {k : Type} [Field k] {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 21 | {Y Z : Over (Spec (.of k))} [GrpObj Y] [GrpObj Z] |
| 22 | (f : Y ⟶ Z) [IsMonHom f] [IsFinite f.left] |
| 23 | (a b : A.scheme ⟶ Y) [IsMonHom a] [IsMonHom b] |
| 24 | |
| 25 | theorem cancel_finite_group_map (hab : a ≫ f = b ≫ f) : a = b := by |
| 26 | let s := Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k))) |
| 27 | let F := Over.pullback s |
| 28 | have : F.Faithful := Picard.PoincareBundle.Field.Extension.pullback_faithful s |
| 29 | have : IsReduced (F.obj A.scheme).left := by |
| 30 | change IsReduced (A.pullback s).scheme.left |
| 31 | exact ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced.Construction.isReduced_smooth_over_field (A.pullback s).scheme.hom |
| 32 | have : ConnectedSpace (F.obj A.scheme).left := by |
| 33 | change ConnectedSpace (A.pullback s).scheme.left |
| 34 | exact GeometricallyConnected.connectedSpace_of_subsingleton (A.pullback s).scheme.hom |
| 35 | have : LocallyOfFiniteType (F.obj A.scheme).hom := |
| 36 | inferInstanceAs (LocallyOfFiniteType (A.pullback s).scheme.hom) |
| 37 | have : IsFinite (F.map f).left := MorphismProperty.overPullbackMap (P := @IsFinite) s f inferInstance |
| 38 | apply F.map_injective |
| 39 | apply AbelianScheme.FrobeniusKernel.FiniteCancellation.Construction.cancel_finite_group_map (F.map f) (F.map a) (F.map b) |
| 40 | exact (F.map_comp a f).symm.trans ((congrArg F.map hab).trans (F.map_comp b f)) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Field.FiniteKernelCancellation |