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.AbelianModuli.HilbertConstruction.Closed.EmbeddingKernelIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ClosedFamily.Transport |
| 3 | |
| 4 | /-! # Reembedding -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reembed actual closed families through a closed ambient immersion without losing their identity. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {P Q : Over S} (j : P ⟶ Q) [IsClosedImmersion j.left] |
| 17 | |
| 18 | instance Closed.Families.FlatClosedFamily.inclusion_comp_closed (F : Closed.Families.FlatClosedFamily P) : |
| 19 | IsClosedImmersion (F.inclusion ≫ j).left := |
| 20 | IsClosedImmersion.comp F.inclusion.left j.left |
| 21 | |
| 22 | def Closed.Families.FlatClosedFamily.reembed (F : Closed.Families.FlatClosedFamily P) : Closed.Families.FlatClosedFamily Q := by |
| 23 | letI : Flat F.scheme.hom := F.flat |
| 24 | letI : LocallyOfFinitePresentation F.scheme.hom := F.locallyFinitePresentation |
| 25 | exact Closed.Families.FlatClosedFamily.ofEmbedding (F.inclusion ≫ j) |
| 26 | |
| 27 | def Closed.Families.FlatClosedFamily.reembedIso (F : Closed.Families.FlatClosedFamily P) : F.scheme ≅ (F.reembed j).scheme := by |
| 28 | letI : Flat F.scheme.hom := F.flat |
| 29 | letI : LocallyOfFinitePresentation F.scheme.hom := F.locallyFinitePresentation |
| 30 | exact Closed.Families.FlatClosedFamily.ofEmbeddingIso (F.inclusion ≫ j) |
| 31 | |
| 32 | theorem Closed.Families.FlatClosedFamily.reembed_ideal (F : Closed.Families.FlatClosedFamily P) : |
| 33 | (F.reembed j).ideal = (F.inclusion.left ≫ j.left).ker := rfl |
| 34 | |
| 35 | theorem Closed.Families.FlatClosedFamily.reembed_injective : |
| 36 | Function.Injective (fun F : Closed.Families.FlatClosedFamily P => F.reembed j) := by |
| 37 | intro F G h |
| 38 | have hk : (F.inclusion ≫ j).left.ker = (G.inclusion ≫ j).left.ker := |
| 39 | congrArg Closed.Families.FlatClosedFamily.ideal h |
| 40 | let e : F.scheme ≅ G.scheme := Closed.EmbeddingKernelIso.closedEmbeddingKernelIso (F.inclusion ≫ j) (G.inclusion ≫ j) hk |
| 41 | have : Mono j := Over.mono_of_mono_left j |
| 42 | have he : e.hom ≫ G.inclusion = F.inclusion := by |
| 43 | apply (cancel_mono j).mp |
| 44 | exact (Category.assoc _ _ _).trans |
| 45 | (Closed.EmbeddingKernelIso.closedEmbeddingKernelIso_embedding (F.inclusion ≫ j) (G.inclusion ≫ j) hk) |
| 46 | have : IsIso e.hom.left := inferInstanceAs (IsIso ((Over.forget S).map e.hom)) |
| 47 | apply Closed.Families.FlatClosedFamily.ext |
| 48 | have hc : e.hom.left ≫ G.ideal.subschemeι = F.ideal.subschemeι := congrArg Over.Hom.left he |
| 49 | exact F.ideal.ker_subschemeι.symm.trans |
| 50 | ((congrArg Scheme.Hom.ker hc.symm).trans |
| 51 | ((Scheme.Hom.ker_comp_of_isIso e.hom.left G.ideal.subschemeι).trans G.ideal.ker_subschemeι)) |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |