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.Affine.FunctorBaseChange |
| 2 | |
| 3 | /-! # Diagram Open Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.DiagramOpenIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A natural isomorphism transports open chart arrows between scheme diagrams over a base. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u v w |
| 14 | |
| 15 | theorem overDiagram_open_of_iso |
| 16 | {S : Scheme.{u}} {J : Type v} [Category.{w} J] {F G : J ⥤ Over S} (e : F ≅ G) |
| 17 | [∀ {i j} (h : i ⟶ j), IsOpenImmersion (G.map h).left] {i j : J} (h : i ⟶ j) : |
| 18 | IsOpenImmersion (F.map h).left := by |
| 19 | have : IsIso (e.hom.app i).left := (Over.forget S).map_isIso (e.hom.app i) |
| 20 | have : IsIso (e.inv.app j).left := (Over.forget S).map_isIso (e.inv.app j) |
| 21 | have he : F.map h = e.hom.app i ≫ G.map h ≫ e.inv.app j := by |
| 22 | rw [← e.hom.naturality_assoc, e.hom_inv_id_app, Category.comp_id] |
| 23 | have he' : (F.map h).left = (e.hom.app i).left ≫ (G.map h).left ≫ (e.inv.app j).left := |
| 24 | congrArg (fun f => f.left) he |
| 25 | have hc : IsOpenImmersion ((e.hom.app i).left ≫ (G.map h).left ≫ (e.inv.app j).left) := inferInstance |
| 26 | exact (congrArg (fun k : (F.obj i).left ⟶ (F.obj j).left => IsOpenImmersion k) he').mpr hc |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.DiagramOpenIso |