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 Mathlib.AlgebraicGeometry.RelativeGluing |
| 2 | |
| 3 | /-! # Colimit Directed Cover -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ColimitDirectedCover |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical cover of a locally directed scheme colimit has the corresponding directed cover structure. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | variable {J : Type v} [Category.{w} J] [Quiver.IsThin J] [Small.{u} J] |
| 16 | variable (F : J ⥤ Scheme.{u}) [∀ {i j} (h : i ⟶ j), IsOpenImmersion (F.map h)] |
| 17 | variable [(F ⋙ Scheme.forget).IsLocallyDirected] |
| 18 | |
| 19 | abbrev colimitDiagramCover : (colimit F).OpenCover where |
| 20 | I₀ := J |
| 21 | X := F.obj |
| 22 | f := colimit.ι F |
| 23 | mem₀ := (Scheme.IsLocallyDirected.openCover F).mem₀ |
| 24 | |
| 25 | instance colimitDiagramCover_locallyDirected : (colimitDiagramCover F).LocallyDirected where |
| 26 | trans := F.map |
| 27 | trans_id := F.map_id |
| 28 | trans_comp := F.map_comp |
| 29 | w := colimit.w F |
| 30 | directed {i j} x := by |
| 31 | let xi := pullback.fst (colimit.ι F i) (colimit.ι F j) x |
| 32 | let xj := pullback.snd (colimit.ι F i) (colimit.ι F j) x |
| 33 | have hx : colimit.ι F i xi = colimit.ι F j xj := |
| 34 | congrArg (fun f => f x) (pullback.condition (f := colimit.ι F i) (g := colimit.ι F j)) |
| 35 | obtain ⟨k, fi, fj, y, hi, _⟩ := (Scheme.IsLocallyDirected.ι_eq_ι_iff F).mp hx |
| 36 | refine ⟨k, fi, fj, y, ?_⟩ |
| 37 | have : IsOpenImmersion (colimit.ι F j) := (colimitDiagramCover F).map_prop j |
| 38 | apply (pullback.fst (colimit.ι F i) (colimit.ι F j)).injective |
| 39 | simpa only [← Scheme.Hom.comp_apply, pullback.lift_fst] using hi |
| 40 | property_trans := fun h => inferInstanceAs (IsOpenImmersion (F.map h)) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ColimitDirectedCover |