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.Picard.PoincareBundle.Kernel.Scheme |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 4 | import Mathlib.AlgebraicGeometry.Noetherian |
| 5 | |
| 6 | /-! # Component Kernel -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentKernel.Lifts |
| 9 | |
| 10 | /-! |
| 11 | The kernel of a component map from a finite flat group to an etale group |
| 12 | is finite flat. Flatness is proved by cancellation against an etale map: |
| 13 | its diagonal is an open immersion and hence flat. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem flat_map_to_etale {S : Scheme.{u}} {A E : Over S} |
| 21 | [Flat A.hom] [Etale E.hom] (f : A ⟶ E) : Flat f.left := by |
| 22 | have : MorphismProperty.HasOfPostcompProperty (@Flat : MorphismProperty Scheme.{u}) @Etale := by |
| 23 | erw [MorphismProperty.hasOfPostcompProperty_iff_le_diagonal] |
| 24 | intro X Y g hg |
| 25 | have : Etale g := hg |
| 26 | exact inferInstanceAs (Flat (pullback.diagonal g)) |
| 27 | have hf : Flat (f.left ≫ E.hom) := (congrArg Flat f.w).mpr inferInstance |
| 28 | exact MorphismProperty.of_postcomp (@Flat : MorphismProperty Scheme.{u}) f.left E.hom |
| 29 | (inferInstance : Etale E.hom) hf |
| 30 | |
| 31 | variable {S : Scheme.{u}} {A E : Over S} [GrpObj A] [GrpObj E] |
| 32 | variable [IsFinite A.hom] [Flat A.hom] [Etale E.hom] [IsSeparated E.hom] |
| 33 | variable (π : A ⟶ E) [IsMonHom π] |
| 34 | |
| 35 | omit [GrpObj A] [GrpObj E] [Flat A.hom] [Etale E.hom] [IsMonHom π] in |
| 36 | theorem componentMap_finite : IsFinite π.left := by |
| 37 | have : IsFinite (π.left ≫ E.hom) := (congrArg IsFinite π.w).mpr inferInstance |
| 38 | exact IsFinite.of_comp π.left E.hom |
| 39 | |
| 40 | omit [GrpObj A] [IsMonHom π] in |
| 41 | /-- The identity component is the actual scheme-theoretic kernel, with |
| 42 | its finite flat geometry derived from the source and etale component map. -/ |
| 43 | theorem componentKernel_finite_flat : |
| 44 | IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject π).hom ∧ Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject π).hom := by |
| 45 | have : IsFinite π.left := componentMap_finite π |
| 46 | have : Flat π.left := flat_map_to_etale π |
| 47 | exact ⟨Picard.PoincareBundle.Kernel.Scheme.kernel_isFinite π, Picard.PoincareBundle.Kernel.Scheme.kernel_flat π⟩ |
| 48 | |
| 49 | omit [GrpObj A] [Flat A.hom] [IsMonHom π] in |
| 50 | theorem componentKernel_finitePresentation [IsLocallyNoetherian S] : |
| 51 | LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject π).hom := by |
| 52 | have : IsFinite π.left := componentMap_finite π |
| 53 | have : IsLocallyNoetherian E.left := LocallyOfFiniteType.isLocallyNoetherian E.hom |
| 54 | have : LocallyOfFinitePresentation π.left := inferInstance |
| 55 | rw [Picard.PoincareBundle.Kernel.Scheme.kernel_hom_eq_snd] |
| 56 | exact MorphismProperty.of_isPullback (Picard.PoincareBundle.Kernel.Scheme.kernel_isPullback π) |
| 57 | (inferInstance : LocallyOfFinitePresentation π.left) |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentKernel.Lifts |