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.EquifiberedOverDiagrams |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.DiagramOpenIso |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.DiagramGluing |
| 4 | |
| 5 | /-! # Diagram Glued Isomorphisms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DiagramGluedIsomorphisms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Isomorphic affine chart diagrams glue to isomorphic schemes over their base. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C : Type u} [CommRing C] {J : Type v} [Category J] [Quiver.IsThin J] [Small.{u} J] |
| 18 | variable {F G : J ⥤ Over (Spec (.of C))} (e : F ≅ G) |
| 19 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (G.map h).left] |
| 20 | variable [((G ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 21 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (F.map h).left] |
| 22 | variable [((F ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 23 | |
| 24 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((G ⋙ Over.forget (Spec (.of C))).map h) := |
| 25 | inferInstanceAs (IsOpenImmersion (G.map h).left) |
| 26 | |
| 27 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((F ⋙ Over.forget (Spec (.of C))).map h) := |
| 28 | inferInstanceAs (IsOpenImmersion (F.map h).left) |
| 29 | |
| 30 | def diagramGluedOverIso : Over.mk (Smooth.DiagramGluing.smoothDiagramGluedMap F) ≅ Over.mk (Smooth.DiagramGluing.smoothDiagramGluedMap G) := by |
| 31 | let w := Functor.isoWhiskerRight e (Over.forget (Spec (.of C))) |
| 32 | let z := HasColimit.isoOfNatIso w |
| 33 | refine Over.isoMk z ?_ |
| 34 | apply colimit.hom_ext |
| 35 | intro i |
| 36 | change colimit.ι (F ⋙ Over.forget _) i ≫ (z.hom ≫ Smooth.DiagramGluing.smoothDiagramGluedMap G) = |
| 37 | colimit.ι (F ⋙ Over.forget _) i ≫ Smooth.DiagramGluing.smoothDiagramGluedMap F |
| 38 | rw [← Category.assoc, HasColimit.ι_isoOfNatIso_hom, Category.assoc, |
| 39 | Smooth.DiagramGluing.smoothDiagramGluedMap_ι, Smooth.DiagramGluing.smoothDiagramGluedMap_ι] |
| 40 | exact (e.hom.app i).w |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DiagramGluedIsomorphisms |