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.DiagramPullbackGluedNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EquifiberedGluedIsomorphism |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.PullbackRecoveredIso |
| 4 | |
| 5 | /-! # Diagram Global Recovery -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.DiagramGlobalRecovery |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Recovery isomorphisms on Cartesian charts imply an isomorphism of the actual base-changed global morphism. -/ |
| 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 G : J ⥤ Over (Spec (.of C))} (q : F ⟶ G) (hq : q.Equifibered) |
| 20 | variable (c : Spec (.of D) ⟶ Spec (.of C)) |
| 21 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (G.map h).left] |
| 22 | variable [((G ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 23 | variable [∀ {i j} (h : i ⟶ j), IsOpenImmersion (F.map h).left] |
| 24 | variable [((F ⋙ Over.forget (Spec (.of C))) ⋙ Scheme.forget).IsLocallyDirected] |
| 25 | |
| 26 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((F ⋙ Over.forget (Spec (.of C))).map h) := |
| 27 | inferInstanceAs (IsOpenImmersion (F.map h).left) |
| 28 | |
| 29 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((G ⋙ Over.forget (Spec (.of C))).map h) := |
| 30 | inferInstanceAs (IsOpenImmersion (G.map h).left) |
| 31 | |
| 32 | local instance {i j : J} (h : i ⟶ j) : |
| 33 | IsOpenImmersion (((F ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))).map h) := |
| 34 | DiagramPullbackProjection.diagramPullback_open F c h |
| 35 | |
| 36 | local instance {i j : J} (h : i ⟶ j) : |
| 37 | IsOpenImmersion (((G ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))).map h) := |
| 38 | DiagramPullbackProjection.diagramPullback_open G c h |
| 39 | |
| 40 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((F ⋙ Over.pullback c).map h).left := |
| 41 | DiagramPullbackProjection.diagramPullback_open F c h |
| 42 | |
| 43 | local instance {i j : J} (h : i ⟶ j) : IsOpenImmersion ((G ⋙ Over.pullback c).map h).left := |
| 44 | DiagramPullbackProjection.diagramPullback_open G c h |
| 45 | |
| 46 | local instance : (((F ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))) ⋙ Scheme.forget).IsLocallyDirected := |
| 47 | DiagramPullbackProjection.diagramPullback_locallyDirected F c |
| 48 | |
| 49 | local instance : (((G ⋙ Over.pullback c) ⋙ Over.forget (Spec (.of D))) ⋙ Scheme.forget).IsLocallyDirected := |
| 50 | DiagramPullbackProjection.diagramPullback_locallyDirected G c |
| 51 | |
| 52 | theorem equifiberedOverGluedMorphism_pullback_isIso |
| 53 | [∀ i, IsIso ((Over.pullback c).map (q.app i))] : |
| 54 | IsIso ((Over.pullback c).map (DiagramGluedStructure.equifiberedOverGluedMorphism q hq)) := by |
| 55 | let q' := Functor.whiskerRight q (Over.pullback c) |
| 56 | have (i : J) : IsIso (q'.app i) := inferInstanceAs (IsIso ((Over.pullback c).map (q.app i))) |
| 57 | have : IsIso q' := NatIso.isIso_of_isIso_app q' |
| 58 | have hq' : q'.Equifibered := hq.whiskerRight (Over.pullback c) |
| 59 | have : IsIso (DiagramGluedStructure.equifiberedOverGluedMorphism q' hq') := |
| 60 | EquifiberedGluedIsomorphism.equifiberedOverGluedMorphism_isIso q' hq' |
| 61 | exact HilbertConstruction.Over.PullbackRecoveredIso.isIso_overPullback_map_of_recovered_iso (DiagramGluedStructure.equifiberedOverGluedMorphism q hq) c |
| 62 | (DiagramPullbackGluing.diagramPullbackGluedMap F c) (DiagramPullbackGluing.diagramPullbackGluedMap G c) |
| 63 | (DiagramPullbackGluing.diagramPullbackGluedMap_isPullback F c) (DiagramPullbackGluing.diagramPullbackGluedMap_isPullback G c) |
| 64 | (DiagramGluedStructure.equifiberedOverGluedMorphism q' hq') (DiagramPullbackGluedNaturality.diagramPullbackGluedMap_natural q hq c).symm |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Closed.DiagramGlobalRecovery |