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 | This file has been modified. |
| 5 | -/ |
| 6 | import OAI.Algebra.Homology.Notation |
| 7 | import OAI.AlgebraicTopology.Sheaf.CohomologyStalkIs |
| 8 | import OAI.AlgebraicTopology.Sheaf.OpenRestriction |
| 9 | import OAI.AlgebraicTopology.Sheaf.FlasqueLowestIsoHom |
| 10 | |
| 11 | /-! # Open Restricted Vanishing -/ |
| 12 | |
| 13 | namespace OAI.AlgebraicTopology.Sheaf.OpenRestrictedVanishing.TopCat |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | open _root_.TopCat |
| 18 | open _root_.TopCat.Sheaf |
| 19 | |
| 20 | /-! |
| 21 | # Local vanishing on an open subset and restricted section complexes |
| 22 | |
| 23 | Cofinal calculations are performed on opens of the original ambient space. |
| 24 | The image/preimage identities identify these section complexes with |
| 25 | sections of the open-restricted sheaf complex. For a bounded-below |
| 26 | flasque complex, lower local vanishing therefore implies lower cohomology |
| 27 | vanishing of sections on that open. |
| 28 | -/ |
| 29 | |
| 30 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 31 | |
| 32 | universe u |
| 33 | |
| 34 | variable (X : TopCat.{u}) (K : CochainComplex (Sheaf AddCommGrpCat.{u} X) ℤ) |
| 35 | (U : Opens X) |
| 36 | |
| 37 | /-- Cofinal ambient calculations on points of `U` imply cohomology-sheaf |
| 38 | vanishing of the restricted complex. -/ |
| 39 | theorem openRestriction_homology_isZero_of_cofinal_sections (n : ℤ) |
| 40 | (hlocal : ∀ (x : X), x ∈ U → ∀ (V : Opens X), x ∈ V → |
| 41 | ∃ W : Opens X, W ≤ V ∧ x ∈ W ∧ |
| 42 | IsZero ((((Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X W).mapHomologicalComplex ℤᵘᵖ).obj K).homology n)) : |
| 43 | IsZero ((((U.isOpenEmbedding.sheafPullback AddCommGrpCat.{u}).mapHomologicalComplex |
| 44 | ℤᵘᵖ).obj K).homology n) := by |
| 45 | apply CohomologyStalkIs.TopCat.cohomologySheaf_isZero_of_cofinal_sections |
| 46 | intro x V hxV |
| 47 | let V' := U.isOpenEmbedding.functor.obj V |
| 48 | have hxV' : x.1 ∈ V' := ⟨x, hxV, rfl⟩ |
| 49 | obtain ⟨W, hWV', hxW, hW⟩ := hlocal x.1 x.2 V' hxV' |
| 50 | let W' := (Opens.map U.inclusion').obj W |
| 51 | have hWU : W ≤ U := by |
| 52 | intro y hy |
| 53 | obtain ⟨v, _, hv⟩ := hWV' hy |
| 54 | exact hv ▸ v.2 |
| 55 | have he : U.isOpenEmbedding.functor.obj W' = W := by |
| 56 | rw [Opens.functor_map_eq_inf, inf_eq_left.mpr hWU] |
| 57 | refine ⟨W', ?_, hxW, ?_⟩ |
| 58 | · intro y hy |
| 59 | obtain ⟨v, hv, hvy⟩ := hWV' hy |
| 60 | exact (Subtype.ext hvy : v = y) ▸ hv |
| 61 | · change IsZero ((((Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X (U.isOpenEmbedding.functor.obj W')).mapHomologicalComplex |
| 62 | ℤᵘᵖ).obj K).homology n) |
| 63 | rwa [he] |
| 64 | |
| 65 | set_option backward.isDefEq.respectTransparency false in |
| 66 | set_option backward.defeqAttrib.useBackward true in |
| 67 | /-- On a bounded-below flasque complex, lower local vanishing on `U` |
| 68 | implies vanishing of the section-complex cohomology on `U`. -/ |
| 69 | theorem sectionCohomology_isZero_of_cofinal_lower_vanishing (N n : ℤ) [K.IsStrictlyGE N] |
| 70 | (hflasque : ∀ j, (K.X j).IsFlasque) |
| 71 | (hlocal : ∀ j : ℤ, j ≤ n → ∀ (x : X), x ∈ U → ∀ (V : Opens X), x ∈ V → |
| 72 | ∃ W : Opens X, W ≤ V ∧ x ∈ W ∧ |
| 73 | IsZero ((((Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X W).mapHomologicalComplex ℤᵘᵖ).obj K).homology j)) : |
| 74 | IsZero ((((Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X U).mapHomologicalComplex ℤᵘᵖ).obj K).homology n) := by |
| 75 | let L := ((U.isOpenEmbedding.sheafPullback AddCommGrpCat.{u}).mapHomologicalComplex |
| 76 | ℤᵘᵖ).obj K |
| 77 | have hL (j : ℤ) (hj : j ≤ n) : IsZero (L.homology j) := |
| 78 | openRestriction_homology_isZero_of_cofinal_sections X K U j (hlocal j hj) |
| 79 | have hLF (j : ℤ) : (L.X j).IsFlasque := by |
| 80 | let := hflasque j |
| 81 | exact OpenRestriction.TopCat.openSheafRestriction_isFlasque X U (K.X j) |
| 82 | let e := FlasqueLowestCohomology.TopCat.lowestSectionCohomologyIso (TopCat.of U) L N n |
| 83 | (fun j hj => hL j hj.le) hLF ⊤ |
| 84 | have hzero := ((Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation (TopCat.of U) ⊤).map_isZero (hL n le_rfl)).of_iso e |
| 85 | change IsZero ((((Support.DerivedSectionsLocalization.TopCat.Sheaf.supportEvaluation X (U.isOpenEmbedding.functor.obj ⊤)).mapHomologicalComplex |
| 86 | ℤᵘᵖ).obj K).homology n) at hzero |
| 87 | rwa [Opens.isOpenEmbedding_obj_top] at hzero |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicTopology.Sheaf.OpenRestrictedVanishing.TopCat |