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.Embedded.FamilyKernelRecovery |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.FamilyBaseChange |
| 3 | |
| 4 | /-! # Reembedding Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reembedding ideal-defined closed families composes exactly, and their categorical pullback agrees with the family of the pulled-back inclusion. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | local instance ClosedFamily.ReembeddingComposition.closedFamilyCompositeClosed {S : Scheme.{u}} {P Q R : Over S} |
| 17 | (j : P ⟶ Q) [IsClosedImmersion j.left] (k : Q ⟶ R) [IsClosedImmersion k.left] : |
| 18 | IsClosedImmersion (j ≫ k).left := inferInstanceAs (IsClosedImmersion (j.left ≫ k.left)) |
| 19 | |
| 20 | local instance ClosedFamily.ReembeddingComposition.closedFamilyPulledInclusionClosed {S T : Scheme.{u}} (f : T ⟶ S) |
| 21 | {P : Over S} (F : Closed.Families.FlatClosedFamily P) : IsClosedImmersion ((Over.pullback f).map F.inclusion).left := |
| 22 | MorphismProperty.overPullbackMap f F.inclusion (inferInstance : IsClosedImmersion F.inclusion.left) |
| 23 | |
| 24 | local instance ClosedFamily.ReembeddingComposition.closedFamilyPulledSourceFlat {S T : Scheme.{u}} (f : T ⟶ S) |
| 25 | {P : Over S} (F : Closed.Families.FlatClosedFamily P) : Flat ((Over.pullback f).obj F.scheme).hom := by |
| 26 | have : Flat F.scheme.hom := F.flat |
| 27 | exact inferInstanceAs (Flat (Limits.pullback.snd F.scheme.hom f)) |
| 28 | |
| 29 | local instance ClosedFamily.ReembeddingComposition.closedFamilyPulledSourceFinitePresentation {S T : Scheme.{u}} (f : T ⟶ S) |
| 30 | {P : Over S} (F : Closed.Families.FlatClosedFamily P) : |
| 31 | LocallyOfFinitePresentation ((Over.pullback f).obj F.scheme).hom := by |
| 32 | have : LocallyOfFinitePresentation F.scheme.hom := F.locallyFinitePresentation |
| 33 | exact inferInstanceAs (LocallyOfFinitePresentation (Limits.pullback.snd F.scheme.hom f)) |
| 34 | |
| 35 | theorem Closed.Families.FlatClosedFamily.reembed_comp {S : Scheme.{u}} {P Q R : Over S} |
| 36 | (F : Closed.Families.FlatClosedFamily P) (j : P ⟶ Q) [IsClosedImmersion j.left] |
| 37 | (k : Q ⟶ R) [IsClosedImmersion k.left] : |
| 38 | (F.reembed j).reembed k = F.reembed (j ≫ k) := by |
| 39 | have : Flat F.scheme.hom := F.flat |
| 40 | have : LocallyOfFinitePresentation F.scheme.hom := F.locallyFinitePresentation |
| 41 | change (Closed.Families.FlatClosedFamily.ofEmbedding (F.inclusion ≫ j)).reembed k = _ |
| 42 | rw [Closed.Families.FlatClosedFamily.ofEmbedding_reembed] |
| 43 | apply Closed.Families.FlatClosedFamily.ext |
| 44 | change ((F.inclusion ≫ j) ≫ k).left.ker = (F.inclusion ≫ (j ≫ k)).left.ker |
| 45 | rw [Category.assoc] |
| 46 | |
| 47 | theorem Closed.Families.FlatClosedFamily.baseChange_eq_ofEmbedding_pullbackInclusion |
| 48 | {S T : Scheme.{u}} {P : Over S} (F : Closed.Families.FlatClosedFamily P) (f : T ⟶ S) : |
| 49 | F.baseChange f = Closed.Families.FlatClosedFamily.ofEmbedding ((Over.pullback f).map F.inclusion) := by |
| 50 | apply Closed.Families.FlatClosedFamily.ext |
| 51 | change F.ideal.comap (Limits.pullback.fst P.hom f) = ((Over.pullback f).map F.inclusion).left.ker |
| 52 | have hk := Graph.FamilyBaseChange.closedImmersion_ker_baseChange (Graph.FamilyBaseChange.overPullback_map_isPullback_flip f F.inclusion) |
| 53 | exact (hk.trans (congrArg (fun I => I.comap (Limits.pullback.fst P.hom f)) F.ideal.ker_subschemeι)).symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |