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 | /-! # Unit Equations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.UnitEquations |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finitely many equations between actual regular units hold |
| 10 | simultaneously at one later stage of a directed inverse system. -/ |
| 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}) |
| 16 | |
| 17 | theorem diagramUnitPullback_comp {i j k : I} (f : j ⟶ i) (g : k ⟶ j) |
| 18 | (a : Γ(D.obj i, ⊤)ˣ) : |
| 19 | Units.map (D.map (g ≫ f)).appTop.hom.toMonoidHom a = |
| 20 | Units.map (D.map g).appTop.hom.toMonoidHom |
| 21 | (Units.map (D.map f).appTop.hom.toMonoidHom a) := by |
| 22 | apply Units.ext |
| 23 | exact congrArg (fun h : D.obj k ⟶ D.obj i => h.appTop a.val) (D.map_comp g f) |
| 24 | |
| 25 | variable (c : Cone D) (hc : IsLimit c) [IsCofiltered I] [Quiver.IsThin I] |
| 26 | [∀ {i j} (f : i ⟶ j), IsAffineHom (D.map f)] [∀ i, CompactSpace (D.obj i)] |
| 27 | |
| 28 | include hc in |
| 29 | theorem exists_finite_limit_unit_equations {J : Type u} [Fintype J] |
| 30 | {i : I} (a b : J → Γ(D.obj i, ⊤)ˣ) |
| 31 | (h : ∀ j, Units.map (c.π.app i).appTop.hom.toMonoidHom (a j) = |
| 32 | Units.map (c.π.app i).appTop.hom.toMonoidHom (b j)) : |
| 33 | ∃ (k : I) (f : k ⟶ i), ∀ j, |
| 34 | Units.map (D.map f).appTop.hom.toMonoidHom (a j) = |
| 35 | Units.map (D.map f).appTop.hom.toMonoidHom (b j) := by |
| 36 | classical |
| 37 | choose j f hf using fun x => InverseLimit.Units.exists_limit_units_equal_stage D c hc (a x) (b x) (h x) |
| 38 | obtain ⟨k, hk⟩ := IsCofiltered.inf_objs_exists (insert i (Finset.univ.image j)) |
| 39 | let g : k ⟶ i := (hk (Finset.mem_insert_self _ _)).some |
| 40 | let w (x : J) : k ⟶ j x := (hk (by simp)).some |
| 41 | refine ⟨k, g, ?_⟩ |
| 42 | intro x |
| 43 | have hw : Units.map (D.map (w x ≫ f x)).appTop.hom.toMonoidHom (a x) = |
| 44 | Units.map (D.map (w x ≫ f x)).appTop.hom.toMonoidHom (b x) := |
| 45 | (diagramUnitPullback_comp D (f x) (w x) (a x)).trans |
| 46 | ((congrArg (Units.map (D.map (w x)).appTop.hom.toMonoidHom) (hf x)).trans |
| 47 | (diagramUnitPullback_comp D (f x) (w x) (b x)).symm) |
| 48 | have hg : w x ≫ f x = g := Subsingleton.elim _ _ |
| 49 | exact hg ▸ hw |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.InverseLimit.UnitEquations |