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.Intrinsic.MorphismKernel |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.KernelCartierComparison |
| 3 | |
| 4 | /-! # Etale Kernel Models -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.EtaleKernelModels |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The all-test kernel functor has its actual finite locally free |
| 11 | model. For a morphism between finite etale groups, the required |
| 12 | geometry follows from the original structural maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 17 | |
| 18 | def finiteFlatMorphismKernelModel |
| 19 | {S : Scheme.{0}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 20 | (f : A ⟶ B) [IsMonHom f] |
| 21 | [IsFinite f.left] [Flat f.left] [LocallyOfFinitePresentation f.left] : |
| 22 | (AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f).Model := by |
| 23 | let : GrpObj (Picard.PoincareBundle.Kernel.Scheme.kernelObject f) := Picard.PoincareBundle.Kernel.Scheme.kernelGroup f |
| 24 | obtain ⟨hfinite, hflat, hfp⟩ := AbelianScheme.IsogenyQuotient.Intrinsic.KernelCartierComparison.Construction.categoricalKernel_finiteLocallyFree f |
| 25 | let : IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject f).hom := hfinite |
| 26 | let : Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject f).hom := hflat |
| 27 | let : LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject f).hom := hfp |
| 28 | rw [AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel_scheme_image] |
| 29 | exact AbelianScheme.IsogenyQuotient.Intrinsic.RelativeAnnihilator.Construction.nativeImageRelativeSubgroup_model (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f) |
| 30 | |
| 31 | def finiteEtaleMorphismKernelModel |
| 32 | {S : Scheme.{0}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 33 | [IsFinite A.hom] [Etale A.hom] [IsFinite B.hom] [Etale B.hom] |
| 34 | (f : A ⟶ B) [IsMonHom f] : (AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f).Model := by |
| 35 | have : IsFinite (f.left ≫ B.hom) := f.w.symm ▸ inferInstanceAs (IsFinite A.hom) |
| 36 | have : IsFinite f.left := IsFinite.of_comp f.left B.hom |
| 37 | have : Etale (f.left ≫ B.hom) := f.w.symm ▸ inferInstanceAs (Etale A.hom) |
| 38 | have : Etale f.left := Etale.of_comp f.left B.hom |
| 39 | exact finiteFlatMorphismKernelModel f |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.EtaleKernelModels |