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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | |
| 8 | import HodgeConjecture.Lemmas.AlgebraicTopology.Support.RelativeCohomologySheaf |
| 9 | import HodgeConjecture.Definitions.AlgebraicTopology.Support.NeighborhoodPairImage |
| 10 | import HodgeConjecture.Lemmas.AlgebraicTopology.Sheaf.OpenSheafification |
| 11 | |
| 12 | namespace OAI.AlgebraicTopology.Support.RelativeCohomologyOpenTransport |
| 13 | |
| 14 | open scoped OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular |
| 15 | |
| 16 | /-! |
| 17 | # Open-embedding transport of the relative-cohomology sheaf |
| 18 | |
| 19 | The embedding homeomorphisms identify neighborhood/support pairs with their images, and |
| 20 | these identifications commute with pair inclusions, giving a presheaf isomorphism. |
| 21 | Sheafification then transports the normalized section, with the sheafification-unit |
| 22 | square displayed. |
| 23 | -/ |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | open _root_.CategoryTheory Limits _root_.TopologicalSpace _root_.Topology Opposite |
| 28 | |
| 29 | section |
| 30 | namespace Singular |
| 31 | |
| 32 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) (hf : IsOpenEmbedding f) |
| 33 | (S : Set X) (B : Set Y) (hB : f ⁻¹' S = B) |
| 34 | |
| 35 | /-- The pair-image identification respects neighborhood inclusions. -/ |
| 36 | theorem neighborhoodSupportPairImageIso_naturality {U V : Opens Y} (hUV : U ≤ V) : |
| 37 | _root_.OAI.AlgebraicTopology.LocalHomology.NormalProjectionCoclass.Singular.neighborhoodSupportInclusionPairMap (W := (U : Set Y)) (V := (V : Set Y)) hUV B ≫ |
| 38 | (_root_.OAI.AlgebraicTopology.Support.NeighborhoodPairImage.Singular.neighborhoodSupportPairImageIso f hf.isEmbedding (V : Set Y) B S |
| 39 | (fun y _ => by rw [← hB]; rfl)).hom = |
| 40 | (_root_.OAI.AlgebraicTopology.Support.NeighborhoodPairImage.Singular.neighborhoodSupportPairImageIso f hf.isEmbedding (U : Set Y) B S |
| 41 | (fun y _ => by rw [← hB]; rfl)).hom ≫ |
| 42 | _root_.OAI.AlgebraicTopology.LocalHomology.NormalProjectionCoclass.Singular.neighborhoodSupportInclusionPairMap |
| 43 | (W := (hf.functor.obj U : Set X)) (V := (hf.functor.obj V : Set X)) |
| 44 | (Set.image_mono hUV) S := rfl |
| 45 | |
| 46 | set_option backward.isDefEq.respectTransparency false in |
| 47 | set_option backward.defeqAttrib.useBackward true in |
| 48 | /-- Let `f : Y → X` be an open embedding of topological spaces, let `S ⊆ X`, and put `B = f⁻¹(S)`. |
| 49 | For a natural number `n`, pullback identifies the presheaves on `Y` given by `V ↦ H^n(f(V), f(V) |
| 50 | \ S; ℚ)` and `V ↦ H^n(V, V \ B; ℚ)`. The groups are relative singular cohomology, with |
| 51 | restriction maps induced by inclusions. -/ |
| 52 | def supportRelativeCohomologyPresheafOpenIso (n : ℕ) : |
| 53 | hf.functor.op ⋙ _root_.OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf X S n ≅ |
| 54 | _root_.OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf Y B n := |
| 55 | NatIso.ofComponents (fun V => |
| 56 | (_root_.OAI.AlgebraicTopology.Support.NeighborhoodPairImage.Singular.neighborhoodSupportPairImageCohomologyEquiv f hf.isEmbedding (V.unop : Set Y) B S |
| 57 | (fun y _ => by rw [← hB]; rfl) n).toAddEquiv.toAddCommGrpIso) (by |
| 58 | intro U V g |
| 59 | apply AddCommGrpCat.hom_ext |
| 60 | ext a |
| 61 | change _root_.OAI.AlgebraicTopology.Singular.Cohomology.relativeCohomologyMap ℚ n |
| 62 | (_root_.OAI.AlgebraicTopology.Support.NeighborhoodPairImage.Singular.neighborhoodSupportPairImageIso f hf.isEmbedding (V.unop : Set Y) B S |
| 63 | (fun y _ => by rw [← hB]; rfl)).hom |
| 64 | (_root_.OAI.AlgebraicTopology.Singular.Cohomology.relativeCohomologyMap ℚ n |
| 65 | (_root_.OAI.AlgebraicTopology.LocalHomology.NormalProjectionCoclass.Singular.neighborhoodSupportInclusionPairMap (Set.image_mono (leOfHom g.unop)) S) a) = |
| 66 | _root_.OAI.AlgebraicTopology.Singular.Cohomology.relativeCohomologyMap ℚ n |
| 67 | (_root_.OAI.AlgebraicTopology.LocalHomology.NormalProjectionCoclass.Singular.neighborhoodSupportInclusionPairMap (W := (V.unop : Set Y)) |
| 68 | (V := (U.unop : Set Y)) (leOfHom g.unop) B) |
| 69 | (_root_.OAI.AlgebraicTopology.Singular.Cohomology.relativeCohomologyMap ℚ n |
| 70 | (_root_.OAI.AlgebraicTopology.Support.NeighborhoodPairImage.Singular.neighborhoodSupportPairImageIso f hf.isEmbedding (U.unop : Set Y) B S |
| 71 | (fun y _ => by rw [← hB]; rfl)).hom a) |
| 72 | rw [← LinearMap.comp_apply, ← _root_.OAI.AlgebraicTopology.Singular.CohomologyTo.relativeCohomologyMap_comp, |
| 73 | ← neighborhoodSupportPairImageIso_naturality f hf S B hB (leOfHom g.unop), |
| 74 | _root_.OAI.AlgebraicTopology.Singular.CohomologyTo.relativeCohomologyMap_comp] |
| 75 | rfl) |
| 76 | |
| 77 | /-- Let `f : Y → X` be an open embedding of topological spaces and `P` a presheaf of abelian groups |
| 78 | on `X`. Sheafifying the presheaf `V ↦ P(f(V))` gives the same sheaf on `Y` as restricting the |
| 79 | sheafification of `P` along `f`. This is the isomorphism induced by the sheafification unit. -/ |
| 80 | def supportOpenEmbeddingSheafificationIso (P : TopCat.Presheaf AddCommGrpCat X) : |
| 81 | (presheafToSheaf (Opens.grothendieckTopology Y) AddCommGrpCat).obj (hf.functor.op ⋙ P) ≅ |
| 82 | (hf.sheafPullback AddCommGrpCat).obj |
| 83 | ((presheafToSheaf (Opens.grothendieckTopology X) AddCommGrpCat).obj P) := |
| 84 | letI : hf.functor.IsContinuous (Opens.grothendieckTopology Y) (Opens.grothendieckTopology X) := |
| 85 | hf.functor_isContinuous |
| 86 | letI : hf.functor.IsCocontinuous (Opens.grothendieckTopology Y) (Opens.grothendieckTopology X) := |
| 87 | (_root_.OAI.AlgebraicTopology.Sheaf.OpenSheafification.Topology.IsOpenEmbedding.functor_isCocontinuous hf) |
| 88 | (hf.functor.pushforwardContinuousSheafificationCompatibility AddCommGrpCat |
| 89 | (Opens.grothendieckTopology Y) (Opens.grothendieckTopology X)).app P |
| 90 | |
| 91 | /-- Let `f : Y → X` be an open embedding of topological spaces, let `S ⊆ X`, and put `B = f⁻¹(S)`. |
| 92 | Write `𝓗^n_S` for the sheafification of `V ↦ H^n(V, V \ S; ℚ)`, and define `𝓗^n_B` on `Y` in the |
| 93 | same way. Pullback of relative singular cohomology gives this sheaf isomorphism `𝓗^n_B ≅ |
| 94 | f⁻¹𝓗^n_S`. -/ |
| 95 | def supportRelativeCohomologySheafOpenIso (n : ℕ) : |
| 96 | -- `𝓗^n_B` on `Y` is the restriction of `𝓗^n_S` along the open embedding `f`. |
| 97 | 𝓗_[B]^n(Y; ℚ) ≅ |
| 98 | -- Restriction of sheaves along `f`. |
| 99 | (hf.sheafPullback AddCommGrpCat).obj 𝓗_[S]^n(X; ℚ) := |
| 100 | (presheafToSheaf (Opens.grothendieckTopology Y) AddCommGrpCat).mapIso |
| 101 | (supportRelativeCohomologyPresheafOpenIso f hf S B hB n).symm ≪≫ |
| 102 | supportOpenEmbeddingSheafificationIso f hf (_root_.OAI.AlgebraicTopology.Support.RelativeCohomologySheaf.Singular.supportRelativeCohomologyPresheaf X S n) |
| 103 | |
| 104 | /-- Let `f : Y → X` be an open embedding of topological spaces, let `S ⊆ X`, and put `B = f⁻¹(S)`. |
| 105 | Write `𝓗^n_S` for the sheafification of `V ↦ H^n(V, V \ S; ℚ)`, and define `𝓗^n_B` on `Y` in the |
| 106 | same way. This sends a global section of `𝓗^n_B` to a section of `𝓗^n_S` on the open image |
| 107 | `f(Y)`, using the homeomorphism of pairs induced by `f`. -/ |
| 108 | def supportRelativeCohomologySectionOpenImage (n : ℕ) |
| 109 | -- A global section of `𝓗^n_B` on `Y`. |
| 110 | (s : (𝓗_[B]^n(Y; ℚ)).presheaf.obj (op ⊤)) : |
| 111 | -- A section of `𝓗^n_S` on the open `f(Y) ⊆ X`. |
| 112 | (𝓗_[S]^n(X; ℚ)).presheaf.obj |
| 113 | -- The open `f(Y)`. |
| 114 | (op (hf.functor.obj ⊤)) := |
| 115 | (supportRelativeCohomologySheafOpenIso f hf S B hB n).hom.hom.app (op ⊤) s |
| 116 | |
| 117 | /-- Let `f : Y → X` be an open embedding of topological spaces, let `S ⊆ X`, and put `B = f⁻¹(S)`. |
| 118 | Write `𝓗^n_S` for the sheafification of `V ↦ H^n(V, V \ S; ℚ)`, and define `𝓗^n_B` on `Y` in the |
| 119 | same way. For a specified open `U = f(Y)`, this sends a global section of `𝓗^n_B` to a section |
| 120 | of `𝓗^n_S` on `U`, using the homeomorphism induced by `f` and the given equality of opens. -/ |
| 121 | def supportRelativeCohomologySectionOnOpen (n : ℕ) (U : Opens X) |
| 122 | (hU : hf.functor.obj ⊤ = U) |
| 123 | (s : (𝓗_[B]^n(Y; ℚ)).presheaf.obj (op ⊤)) : |
| 124 | (𝓗_[S]^n(X; ℚ)).presheaf.obj (op U) := |
| 125 | (𝓗_[S]^n(X; ℚ)).presheaf.map (eqToHom hU.symm).op |
| 126 | (supportRelativeCohomologySectionOpenImage f hf S B hB n s) |
| 127 | |
| 128 | end Singular |
| 129 | end |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicTopology.Support.RelativeCohomologyOpenTransport |