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.DiagramPullbackProjection |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramGlobalRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.DiagramGluing |
| 4 | |
| 5 | /-! # Diagram Pullback Gluing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DiagramPullbackGluing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Gluing a base-changed affine diagram gives the actual base change of the glued scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {C D : Type u} [CommRing C] [CommRing D] |
| 18 | variable {J : Type v} [Category J] [Quiver.IsThin J] [Small.{u} J] |
| 19 | variable (F : J ⥤ Over (Spec (.of C))) (c : Spec (.of D) ⟶ Spec (.of C)) |
| 20 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (F.map h).left] |
| 21 | variable [((F ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 22 | |
| 23 | local instance {i j : J} (h : i ⟶ j) : |
| 24 | IsOpenImmersion ((F ⋙ Over.forget (Spec (.of C))).map h) := |
| 25 | inferInstanceAs (IsOpenImmersion (F.map h).left) |
| 26 | |
| 27 | local instance {i j : J} (h : i ⟶ j) : |
| 28 | IsOpenImmersion (((F ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))).map h) := |
| 29 | DiagramPullbackProjection.diagramPullback_open F c h |
| 30 | |
| 31 | local instance : |
| 32 | (((F ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))) ⋙ Scheme.forget).IsLocallyDirected := |
| 33 | DiagramPullbackProjection.diagramPullback_locallyDirected F c |
| 34 | |
| 35 | def diagramPullbackGluedMap : |
| 36 | colimit ((F ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))) ⟶ |
| 37 | colimit (F ⋙ Over.forget (Spec (.of C))) := |
| 38 | Cartesian.DiagramGluing.cartesianDiagramGluedMap _ _ (DiagramPullbackProjection.diagramPullbackProjection F c) (DiagramPullbackProjection.diagramPullbackProjection_equifibered F c) |
| 39 | |
| 40 | theorem diagramPullbackGluedMap_isPullback : |
| 41 | IsPullback (diagramPullbackGluedMap F c) |
| 42 | (Smooth.DiagramGluing.smoothDiagramGluedMap (F ⋙ Over.pullback c)) (Smooth.DiagramGluing.smoothDiagramGluedMap F) c := by |
| 43 | apply Cartesian.DiagramGlobalRecovery.cartesianDiagramGluedMap_base_isPullback _ _ (DiagramPullbackProjection.diagramPullbackProjection F c) |
| 44 | (DiagramPullbackProjection.diagramPullbackProjection_equifibered F c) |
| 45 | intro i |
| 46 | have hnew := Smooth.DiagramGluing.smoothDiagramGluedMap_ι (F ⋙ Over.pullback c) i |
| 47 | have hold := Smooth.DiagramGluing.smoothDiagramGluedMap_ι F i |
| 48 | change IsPullback (pullback.fst (F.obj i).hom c) _ _ c |
| 49 | rw [hnew, hold] |
| 50 | exact IsPullback.of_hasPullback (F.obj i).hom c |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DiagramPullbackGluing |