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.Comparison.Betti.Closed.PushforwardCohomology |
| 2 | import Mathlib.Topology.LocalAtTarget |
| 3 | |
| 4 | /-! # Image Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.ImageRestriction.Cech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction to an open commutes with actual abelian direct image along the restricted continuous map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | variable {X Y : TopCat.{0}} (f : X ⟶ Y) (U : Opens Y) |
| 15 | |
| 16 | def openPreimageContinuousMap : TopCat.of ((Opens.map f).obj U) ⟶ TopCat.of U := |
| 17 | TopCat.ofHom (f.hom.restrictPreimage U) |
| 18 | |
| 19 | theorem openPreimageContinuousMap_closed (hf : Topology.IsClosedEmbedding f) : |
| 20 | Topology.IsClosedEmbedding (openPreimageContinuousMap f U) := by |
| 21 | change Topology.IsClosedEmbedding ((U : Set Y).restrictPreimage f) |
| 22 | exact Set.restrictPreimage_isClosedEmbedding (U : Set Y) hf |
| 23 | |
| 24 | theorem openDirectImageRestriction_open (W : Opens U) : |
| 25 | (Opens.map f).obj (U.isOpenEmbedding.functor.obj W) = |
| 26 | ((Opens.map f).obj U).isOpenEmbedding.functor.obj |
| 27 | ((Opens.map (openPreimageContinuousMap f U)).obj W) := by |
| 28 | ext x |
| 29 | constructor |
| 30 | · rintro ⟨u, hu, hux⟩ |
| 31 | have hx : f x ∈ U := hux ▸ u.property |
| 32 | refine ⟨⟨x, hx⟩, ?_, rfl⟩ |
| 33 | change (⟨f x, hx⟩ : U) ∈ W |
| 34 | have he : (⟨f x, hx⟩ : U) = u := Subtype.ext hux.symm |
| 35 | exact he ▸ hu |
| 36 | · rintro ⟨x', hx', rfl⟩ |
| 37 | exact ⟨⟨f x'.val, x'.property⟩, hx', rfl⟩ |
| 38 | |
| 39 | def openDirectImageRestrictionIso (F : TopCat.Sheaf AddCommGrpCat.{0} X) : |
| 40 | (SheafCohomology.Cech.TopCatRestrict.TopCat.Sheaf.restrict AddCommGrpCat U.isOpenEmbedding).obj |
| 41 | ((TopCat.Sheaf.pushforward AddCommGrpCat f).obj F) ≅ |
| 42 | (TopCat.Sheaf.pushforward AddCommGrpCat (openPreimageContinuousMap f U)).obj |
| 43 | ((SheafCohomology.Cech.TopCatRestrict.TopCat.Sheaf.restrict AddCommGrpCat ((Opens.map f).obj U).isOpenEmbedding).obj F) := by |
| 44 | apply (fullyFaithfulSheafToPresheaf (Opens.grothendieckTopology U) AddCommGrpCat).preimageIso |
| 45 | refine NatIso.ofComponents |
| 46 | (fun W => F.obj.mapIso (eqToIso (congrArg op (openDirectImageRestriction_open f U W.unop)))) ?_ |
| 47 | intro W W' g |
| 48 | change F.obj.map _ ≫ F.obj.map _ = F.obj.map _ ≫ F.obj.map _ |
| 49 | exact (F.obj.map_comp _ _).symm.trans |
| 50 | ((congrArg F.obj.map (Subsingleton.elim _ _)).trans (F.obj.map_comp _ _)) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.ImageRestriction.Cech |