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.ArithmeticGeometry.OrdinaryLocus.Openness.OpenSheafExact |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.CohomologyTransport |
| 3 | |
| 4 | /-! # Open Embedding Sheaf Exact -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.OpenEmbeddingSheafExact.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact restriction along open embeddings and global-section comparison for homeomorphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : TopCat.{u}} {f : X ⟶ Y} (hf : Topology.IsOpenEmbedding f) |
| 17 | |
| 18 | abbrev openEmbeddingAbelianPullback : AbelianSheafInjectives.Construction.AbelianSheaves Y ⥤ AbelianSheafInjectives.Construction.AbelianSheaves X := |
| 19 | haveI := hf.functor_isContinuous |
| 20 | hf.isOpenMap.functor.sheafPushforwardContinuous AddCommGrpCat.{u} |
| 21 | (_root_.Opens.grothendieckTopology X) (_root_.Opens.grothendieckTopology Y) |
| 22 | |
| 23 | instance openEmbeddingAbelianPullback_isLeftAdjoint : |
| 24 | (openEmbeddingAbelianPullback hf).IsLeftAdjoint := by |
| 25 | have hcont := hf.functor_isContinuous |
| 26 | have hright : (Opens.map f).IsContinuous |
| 27 | (_root_.Opens.grothendieckTopology Y) (_root_.Opens.grothendieckTopology X) := by |
| 28 | apply Functor.isContinuous_of_coverPreserving |
| 29 | · exact compatiblePreserving_opens_map f |
| 30 | · exact coverPreserving_opens_map f |
| 31 | exact (hf.isOpenMap.adjunction.sheafPushforwardContinuous |
| 32 | (E := AddCommGrpCat.{u}) (_root_.Opens.grothendieckTopology X) |
| 33 | (_root_.Opens.grothendieckTopology Y)).isLeftAdjoint |
| 34 | |
| 35 | attribute [local instance] preservesBinaryBiproducts_of_preservesBinaryProducts in |
| 36 | instance openEmbeddingAbelianPullback_additive : (openEmbeddingAbelianPullback hf).Additive := |
| 37 | Functor.additive_of_preservesBinaryBiproducts _ |
| 38 | |
| 39 | theorem openEmbeddingAbelianPullback_shortExact |
| 40 | (S : ShortComplex (AbelianSheafInjectives.Construction.AbelianSheaves Y)) (hS : S.ShortExact) : |
| 41 | (S.map (openEmbeddingAbelianPullback hf)).ShortExact := by |
| 42 | have : Mono S.f := hS.mono_f |
| 43 | have : Epi S.g := hS.epi_g |
| 44 | exact hS.map _ |
| 45 | |
| 46 | theorem surjective_openEmbedding_image_top (hsurj : Function.Surjective f) : |
| 47 | hf.isOpenMap.functor.obj ⊤ = ⊤ := by |
| 48 | ext y |
| 49 | change y ∈ f '' (Set.univ : Set X) ↔ y ∈ (Set.univ : Set Y) |
| 50 | simp [Set.image_univ, Set.range_eq_univ.mpr hsurj] |
| 51 | |
| 52 | def surjectiveOpenEmbeddingSectionsIso (hsurj : Function.Surjective f) : |
| 53 | openEmbeddingAbelianPullback hf ⋙ |
| 54 | CohomologyTransport.Construction.abelianSheafSections (_root_.Opens.grothendieckTopology X) ⊤ ≅ |
| 55 | CohomologyTransport.Construction.abelianSheafSections (_root_.Opens.grothendieckTopology Y) ⊤ := by |
| 56 | refine NatIso.ofComponents (fun F ↦ F.obj.mapIso |
| 57 | (eqToIso (congrArg op (surjective_openEmbedding_image_top hf hsurj)))) ?_ |
| 58 | intro F G φ |
| 59 | exact (φ.hom.naturality |
| 60 | (eqToHom (congrArg op (surjective_openEmbedding_image_top hf hsurj)))).symm |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.OpenEmbeddingSheafExact.Construction |