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.ReferenceFamily.InverseLimit.Units |
| 2 | |
| 3 | /-! # Open Units -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.OpenUnits |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Units on finitely many pulled-back affine opens descend to |
| 10 | one common scheme stage, using the actual open-restriction maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {I : Type u} [Category.{u} I] (D : I ⥤ Scheme.{u}) (c : Cone D) |
| 16 | (hc : IsLimit c) [IsCofiltered I] |
| 17 | [∀ {i j} (f : i ⟶ j), IsAffineHom (D.map f)] |
| 18 | |
| 19 | include hc in |
| 20 | theorem exists_limit_open_unit_stage {i : I} (V : (D.obj i).Opens) (hV : IsAffineOpen V) |
| 21 | (u : Γ((opensCone D c i V).pt, ⊤)ˣ) : |
| 22 | ∃ (k : Over i) (v : Γ((opensDiagram D i V).obj k, ⊤)ˣ), |
| 23 | Units.map ((opensCone D c i V).π.app k).appTop.hom.toMonoidHom v = u := by |
| 24 | let : ∀ k : Over i, IsAffine ((opensDiagram D i V).obj k) := |
| 25 | fun k => hV.preimage (D.map k.hom) |
| 26 | let : ∀ {k l : Over i} (f : k ⟶ l), IsAffineHom ((opensDiagram D i V).map f) := |
| 27 | fun _ => isAffineHom_of_isAffine _ |
| 28 | exact InverseLimit.Units.exists_limit_unit_stage (opensDiagram D i V) (opensCone D c i V) |
| 29 | (isLimitOpensCone D c hc i V) u |
| 30 | |
| 31 | include hc in |
| 32 | theorem exists_finite_limit_open_units_stage {J : Type u} [Fintype J] |
| 33 | {i : I} (V : J → (D.obj i).Opens) (hV : ∀ j, IsAffineOpen (V j)) |
| 34 | (u : ∀ j, Γ((opensCone D c i (V j)).pt, ⊤)ˣ) : |
| 35 | ∃ (k : Over i) (v : ∀ j, Γ((opensDiagram D i (V j)).obj k, ⊤)ˣ), |
| 36 | ∀ j, Units.map ((opensCone D c i (V j)).π.app k).appTop.hom.toMonoidHom (v j) = u j := by |
| 37 | classical |
| 38 | choose k v hv using fun j => exists_limit_open_unit_stage D c hc (V j) (hV j) (u j) |
| 39 | obtain ⟨l, hl⟩ := IsCofiltered.inf_objs_exists (Finset.univ.image k) |
| 40 | let f (j : J) : l ⟶ k j := (hl (by simp)).some |
| 41 | refine ⟨l, fun j => Units.map ((opensDiagram D i (V j)).map (f j)).appTop.hom.toMonoidHom (v j), ?_⟩ |
| 42 | intro j |
| 43 | apply Units.ext |
| 44 | exact (InverseLimit.Units.coneSection_map (opensDiagram D i (V j)) (opensCone D c i (V j)) (f j) (v j).val).trans |
| 45 | (congrArg Units.val (hv j)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.OpenUnits |