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.AlgebraicTopology.Duality.Poincare.ImmersionLocalPurity |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.SupportedGerms |
| 3 | |
| 4 | /-! # Relative Local Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeLocalDetection.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: local detection through actual open embeddings |
| 12 | |
| 13 | An actual open embedding identifies its source pair with its open image. |
| 14 | Equality after its pullback therefore gives equality on a genuine ambient |
| 15 | open. The actual supported cohomology sheaf then detects local equality. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Geometric.SupportedGerms.Cycles OAI.AlgebraicTopology.Duality.Poincare.ImmersionLocalPurity |
| 20 | |
| 21 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 22 | |
| 23 | /-- Pullback equality along an actual open embedding gives equality on |
| 24 | its actual ambient open image. -/ |
| 25 | theorem relativeClass_eq_on_openEmbedding_range (A : Set X) (n : ℕ) |
| 26 | {Y : TopCat.{0}} (f : Y ⟶ X) (hf : Topology.IsOpenEmbedding f) |
| 27 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n) |
| 28 | (hab : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f (A := f ⁻¹' A) (fun _ hx => hx) n a = |
| 29 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f (A := f ⁻¹' A) (fun _ hx => hx) n b) : |
| 30 | ∃ W : Opens X, (W : Set X) = Set.range f ∧ |
| 31 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction M X A W n a = |
| 32 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction M X A W n b := by |
| 33 | let W : Opens X := ⟨Set.range f, hf.isOpen_range⟩ |
| 34 | let e : Y ≃ₜ TopCat.of W := hf.isEmbedding.toHomeomorph |
| 35 | have he : (TopCat.isoOfHomeo (X := Y) (Y := TopCat.of W) e).hom ≫ |
| 36 | CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X (W : Set X) = f := by |
| 37 | ext y |
| 38 | exact hf.isEmbedding.toHomeomorph_apply_coe y |
| 39 | have hp : ∀ y : Y, y ∈ f ⁻¹' A ↔ e y ∈ AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A W := by |
| 40 | intro y |
| 41 | change f y ∈ A ↔ (e y).val ∈ A |
| 42 | rw [hf.isEmbedding.toHomeomorph_apply_coe] |
| 43 | let E : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of W) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A W) n ≅ |
| 44 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M Y (f ⁻¹' A) n := |
| 45 | AlgebraicTopology.Duality.Poincare.ImmersionLocalPurity.relativePairHomeomorphCohomologyIso M (X := Y) (Y := TopCat.of W) |
| 46 | e (f ⁻¹' A) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A W) hp n |
| 47 | have hc : CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction M X A W n ≫ E.hom = |
| 48 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f (A := f ⁻¹' A) (fun _ hx => hx) n := by |
| 49 | have h := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp M |
| 50 | (TopCat.isoOfHomeo (X := Y) (Y := TopCat.of W) e).hom |
| 51 | (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X (W : Set X)) (fun y hy => (hp y).mp hy) (fun _ hx => hx) n |
| 52 | simp only [he] at h |
| 53 | exact h |
| 54 | refine ⟨W, rfl, ?_⟩ |
| 55 | apply E.toLinearEquiv.injective |
| 56 | exact (ConcreteCategory.congr_hom hc a).trans |
| 57 | (hab.trans (ConcreteCategory.congr_hom hc b).symm) |
| 58 | |
| 59 | /-- Local equality of restrictions of global relative classes is |
| 60 | detected by the actual supported sheaf wherever the section map is mono. -/ |
| 61 | theorem relativeClass_restrict_eq_of_local_restrictions (O U : Opens X) (n : ℕ) |
| 62 | [Mono (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap M X O U n)] |
| 63 | (a b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X (O : Set X) n) |
| 64 | (hab : ∀ (x : X), x ∈ U → x ∉ O → |
| 65 | ∃ W : Opens X, x ∈ W ∧ |
| 66 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction M X (O : Set X) W n a = |
| 67 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction M X (O : Set X) W n b) : |
| 68 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction M X (O : Set X) U n a = |
| 69 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction M X (O : Set X) U n b := by |
| 70 | let S := ((CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj |
| 71 | have image (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X (O : Set X) n) (W : Opens X) : |
| 72 | S.map (homOfLE (le_top : W ≤ ⊤)).op (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap M X O n c) = |
| 73 | CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap M X O W n |
| 74 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction M X (O : Set X) W n c) := |
| 75 | ConcreteCategory.congr_hom (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap_restrict M X O W n) c |
| 76 | apply (ModuleCat.mono_iff_injective (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologySectionMap M X O U n)).mp inferInstance |
| 77 | rw [← image a U, ← image b U] |
| 78 | apply CycleClass.Geometric.SupportedGerms.Cycles.supportedCohomologySection_ext_on_support M X O U n |
| 79 | intro x hxU hxO |
| 80 | obtain ⟨W, hxW, hW⟩ := hab x hxU hxO |
| 81 | have hSW : S.map (homOfLE (le_top : W ≤ ⊤)).op |
| 82 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap M X O n a) = |
| 83 | S.map (homOfLE (le_top : W ≤ ⊤)).op |
| 84 | (CycleClass.Geometric.RelativeCohomologySections.Cycles.relativeCohomologyGlobalSectionMap M X O n b) := by |
| 85 | rw [image a W, image b W, hW] |
| 86 | have hg := congrArg (TopCat.Presheaf.germ S W x hxW) hSW |
| 87 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] at hg |
| 88 | rw [TopCat.Presheaf.germ_res_apply, TopCat.Presheaf.germ_res_apply] |
| 89 | exact hg |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeLocalDetection.Constructions |