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.ClosedFamily.Transport |
| 2 | |
| 3 | /-! # Family Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyFunctor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The presheaf of flat locally finitely presented closed families in a fixed |
| 11 | ambient scheme over a base. The construction uses actual ideal pullback and |
| 12 | does not assert representability or fix a Hilbert polynomial. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} (P : Over S) |
| 20 | |
| 21 | /-- The fixed ambient scheme after passage to a test scheme. -/ |
| 22 | def embeddedFamilyAmbient (T : Over S) : Over T.left := |
| 23 | Over.mk (prod.fst : T ⨯ P ⟶ T).left |
| 24 | |
| 25 | /-- The map of ambient schemes induced by a map of test schemes. -/ |
| 26 | def embeddedFamilyAmbientMap {T U : Over S} (f : T ⟶ U) : |
| 27 | (embeddedFamilyAmbient P T).left ⟶ (embeddedFamilyAmbient P U).left := |
| 28 | (prod.map f (𝟙 P)).left |
| 29 | |
| 30 | theorem embeddedFamilyAmbient_isPullback {T U : Over S} (f : T ⟶ U) : |
| 31 | IsPullback (embeddedFamilyAmbientMap P f) (embeddedFamilyAmbient P T).hom |
| 32 | (embeddedFamilyAmbient P U).hom f.left := |
| 33 | (IsPullback.of_prod_fst_with_id f P).flip.map (Over.forget S) |
| 34 | |
| 35 | /-- Embedded flat families form a presheaf by ordinary pullback of ideal sheaves. -/ |
| 36 | def embeddedFlatFamilyFunctor : (Over S)ᵒᵖ ⥤ Type u where |
| 37 | obj T := Closed.Families.FlatClosedFamily (embeddedFamilyAmbient P T.unop) |
| 38 | map f := ↾fun F => F.pullbackAlong (embeddedFamilyAmbientMap P f.unop) f.unop.left |
| 39 | (embeddedFamilyAmbient_isPullback P f.unop) |
| 40 | map_id T := by |
| 41 | ext1 |
| 42 | ext1 |
| 43 | funext F |
| 44 | apply Closed.Families.FlatClosedFamily.ext |
| 45 | change F.ideal.comap (prod.map (𝟙 T.unop) (𝟙 P)).left = F.ideal |
| 46 | rw [prod.map_id_id] |
| 47 | exact F.ideal.comap_id |
| 48 | map_comp f g := by |
| 49 | ext1 |
| 50 | ext1 |
| 51 | funext F |
| 52 | apply Closed.Families.FlatClosedFamily.ext |
| 53 | change F.ideal.comap (prod.map (g.unop ≫ f.unop) (𝟙 P)).left = |
| 54 | (F.ideal.comap (prod.map f.unop (𝟙 P)).left).comap (prod.map g.unop (𝟙 P)).left |
| 55 | have he : (prod.map (g.unop ≫ f.unop) (𝟙 P)).left = |
| 56 | (prod.map g.unop (𝟙 P)).left ≫ (prod.map f.unop (𝟙 P)).left := |
| 57 | congrArg Over.Hom.left (by |
| 58 | simpa only [Category.id_comp] using (prod.map_map g.unop (𝟙 P) f.unop (𝟙 P)).symm) |
| 59 | exact (congrArg (fun p => F.ideal.comap p) he).trans |
| 60 | (F.ideal.comap_comp (prod.map g.unop (𝟙 P)).left (prod.map f.unop (𝟙 P)).left) |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyFunctor |