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.OpenUnits |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.UnitEquations |
| 3 | |
| 4 | /-! # Open Unit Equations -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.OpenUnitEquations |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equations on finitely many distinct affine overlap opens become |
| 11 | simultaneously valid at one actual later coefficient stage. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {I : Type u} [Category.{u} I] (D : I ⥤ Scheme.{u}) (c : Cone D) |
| 17 | (hc : IsLimit c) [IsCofiltered I] [Quiver.IsThin I] |
| 18 | [∀ {i j} (f : i ⟶ j), IsAffineHom (D.map f)] |
| 19 | |
| 20 | include hc in |
| 21 | theorem exists_finite_limit_open_unit_equations {J : Type u} [Fintype J] |
| 22 | {i : I} (V : J → (D.obj i).Opens) (hV : ∀ j, IsAffineOpen (V j)) |
| 23 | (k : Over i) (a b : ∀ j, Γ((opensDiagram D i (V j)).obj k, ⊤)ˣ) |
| 24 | (h : ∀ j, Units.map ((opensCone D c i (V j)).π.app k).appTop.hom.toMonoidHom (a j) = |
| 25 | Units.map ((opensCone D c i (V j)).π.app k).appTop.hom.toMonoidHom (b j)) : |
| 26 | ∃ (l : Over i) (f : l ⟶ k), ∀ j, |
| 27 | Units.map ((opensDiagram D i (V j)).map f).appTop.hom.toMonoidHom (a j) = |
| 28 | Units.map ((opensDiagram D i (V j)).map f).appTop.hom.toMonoidHom (b j) := by |
| 29 | classical |
| 30 | let : ∀ (j : J) (l : Over i), IsAffine ((opensDiagram D i (V j)).obj l) := |
| 31 | fun j l => (hV j).preimage (D.map l.hom) |
| 32 | let : ∀ (j : J) {l m : Over i} (f : l ⟶ m), IsAffineHom ((opensDiagram D i (V j)).map f) := |
| 33 | fun j {l m} f => isAffineHom_of_isAffine ((opensDiagram D i (V j)).map f) |
| 34 | have hs (j : J) := InverseLimit.Units.exists_limit_units_equal_stage (opensDiagram D i (V j)) |
| 35 | (opensCone D c i (V j)) (isLimitOpensCone D c hc i (V j)) (a j) (b j) (h j) |
| 36 | choose l f hf using hs |
| 37 | obtain ⟨m, hm⟩ := IsCofiltered.inf_objs_exists (insert k (Finset.univ.image l)) |
| 38 | let g : m ⟶ k := (hm (Finset.mem_insert_self _ _)).some |
| 39 | let w (j : J) : m ⟶ l j := (hm (by simp)).some |
| 40 | refine ⟨m, g, ?_⟩ |
| 41 | intro j |
| 42 | have hw : Units.map ((opensDiagram D i (V j)).map (w j ≫ f j)).appTop.hom.toMonoidHom (a j) = |
| 43 | Units.map ((opensDiagram D i (V j)).map (w j ≫ f j)).appTop.hom.toMonoidHom (b j) := |
| 44 | (UnitEquations.diagramUnitPullback_comp (opensDiagram D i (V j)) (f j) (w j) (a j)).trans |
| 45 | ((congrArg (Units.map ((opensDiagram D i (V j)).map (w j)).appTop.hom.toMonoidHom) (hf j)).trans |
| 46 | (UnitEquations.diagramUnitPullback_comp (opensDiagram D i (V j)) (f j) (w j) (b j)).symm) |
| 47 | have hg : w j ≫ f j = g := by |
| 48 | apply Over.OverMorphism.ext |
| 49 | exact Subsingleton.elim _ _ |
| 50 | exact hg ▸ hw |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.OpenUnitEquations |