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.Isogenies.NeighborCounting.QuotientComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SubgroupTransport |
| 4 | |
| 5 | /-! # Kernel Source Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelSourceComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An equality of the actual full kernel functors gives equality of |
| 12 | kernels after the prescribed source and target isomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.QuotientComparison |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} {d : ℕ} {A A' B B' C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme d S} |
| 22 | (p : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A' B') (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) |
| 23 | (e : A.scheme ≅ A'.scheme) [IsMonHom e.hom] |
| 24 | (t : B.scheme ≅ C.scheme) [IsMonHom t.hom] |
| 25 | (g : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A' C) |
| 26 | |
| 27 | theorem sameKernel_of_sourceComparison |
| 28 | (h : AbelianScheme.IsogenyQuotient.SubgroupTransport.Construction.relativeSubgroupPullback e.hom (AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel p.hom) = AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f.hom) |
| 29 | (hg : g.hom = e.inv ≫ f.hom ≫ t.hom) : QuotientComparison.SameKernel p g := by |
| 30 | intro T x |
| 31 | have hk := congrArg |
| 32 | (fun H : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.scheme (Over.mk (𝟙 S)) => |
| 33 | (x ≫ e.inv) ∈ H.points T (Over.homMk T.hom (Category.comp_id T.hom))) h |
| 34 | change (((x ≫ e.inv) ≫ e.hom) ≫ p.hom = 1) = ((x ≫ e.inv) ≫ f.hom = 1) at hk |
| 35 | rw [Category.assoc x e.inv e.hom, e.inv_hom_id, Category.comp_id] at hk |
| 36 | change x ≫ p.hom = 1 ↔ x ≫ g.hom = 1 |
| 37 | rw [hg, ← Category.assoc x e.inv, ← Category.assoc (x ≫ e.inv) f.hom, |
| 38 | ← MonObj.one_comp t.hom, cancel_mono] |
| 39 | exact iff_of_eq hk |
| 40 | |
| 41 | omit [IsMonHom e.hom] in |
| 42 | theorem sameKernel_of_sourceComparison_eq |
| 43 | (k : A.scheme ⟶ A'.scheme) [IsMonHom k] (he : e.hom = k) |
| 44 | (h : AbelianScheme.IsogenyQuotient.SubgroupTransport.Construction.relativeSubgroupPullback k (AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel p.hom) = AbelianScheme.IsogenyQuotient.Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f.hom) |
| 45 | (hg : g.hom = e.inv ≫ f.hom ≫ t.hom) : QuotientComparison.SameKernel p g := by |
| 46 | subst k |
| 47 | exact sameKernel_of_sourceComparison p f e t g h hg |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelSourceComparison |