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.Cohomology.Singular.RelativeSupportedNaturality |
| 2 | |
| 3 | /-! # Relative Cohomology Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCohomologySections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Relative cohomology and actual supported cohomology-sheaf sections |
| 11 | |
| 12 | The maps below are the composite of the actual relative-to-supported cochain |
| 13 | comparison and the canonical section-to-cohomology-sheaf map. The top-open |
| 14 | identification is included explicitly, so global classes belong to the |
| 15 | ordinary relative singular cohomology of the original pair. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.TopologicalSpace |
| 19 | open OAI.AlgebraicTopology.Cohomology.Singular.RelativeSupportedNaturality |
| 20 | open _root_.TopCat.Presheaf |
| 21 | |
| 22 | set_option backward.defeqAttrib.useBackward true |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | set_option backward.isDefEq.respectTransparency.types false |
| 25 | |
| 26 | namespace Cycles |
| 27 | |
| 28 | variable {R : Type} [Ring R] (M : ModuleCat.{0} R) (X : TopCat.{0}) |
| 29 | |
| 30 | /-- Restrict a genuine global relative class along the actual open inclusion. -/ |
| 31 | def relativeCohomologyOpenRestriction (A : Set X) (U : Opens X) (n : ℕ) : |
| 32 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X A n ⟶ |
| 33 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace A U) n := |
| 34 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (LocalHomology.Cycles.subspaceInclusion X (U : Set X)) |
| 35 | (fun _ hx => hx) n |
| 36 | |
| 37 | /-- Passing through the top-open homeomorphism gives exactly the actual |
| 38 | restriction of the original pair, including its coefficient normalization. -/ |
| 39 | theorem relativeCohomologyOpenRestriction_eq (A : Set X) (U : Opens X) (n : ℕ) : |
| 40 | relativeCohomologyOpenRestriction M X A U n = |
| 41 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheafTopIso M X A n).inv ≫ |
| 42 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheaf M X A n).map |
| 43 | (homOfLE (le_top : U ≤ ⊤)).op := by |
| 44 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (LocalHomology.Cycles.subspaceInclusion X (U : Set X)) |
| 45 | (fun _ hx => hx) n = |
| 46 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M (Opens.inclusionTopIso X).hom |
| 47 | (fun _ hx => hx) n ≫ |
| 48 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M |
| 49 | ((Opens.toTopCat X).map (homOfLE (le_top : U ≤ ⊤))) (fun _ hx => hx) n |
| 50 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp] |
| 51 | rfl |
| 52 | |
| 53 | variable (O : Opens X) |
| 54 | |
| 55 | /-- The genuine relative-cohomology presheaf maps to the actual homology |
| 56 | sheaf of the supported singular cochain complex. -/ |
| 57 | def relativeCohomologySectionComparison (n : ℕ) : |
| 58 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheaf M X (O : Set X) n ⟶ |
| 59 | ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj := |
| 60 | AlgebraicTopology.Cohomology.Singular.RelativeSupportedNaturality.relativeToSupportedCohomologyPresheafMap M X O n ≫ |
| 61 | AlgebraicTopology.Cohomology.Singular.SheafSections.sheafCohomologySectionComparison (SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O) n |
| 62 | |
| 63 | /-- The actual comparison on a specified open subset. -/ |
| 64 | abbrev relativeCohomologySectionMap (U : Opens X) (n : ℕ) : |
| 65 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of U) (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (O : Set X) U) n ⟶ |
| 66 | ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj.obj (op U) := |
| 67 | (relativeCohomologySectionComparison M X O n).app (op U) |
| 68 | |
| 69 | /-- The local section map is induced by the true relative cochain map, |
| 70 | followed by the canonical map to the cohomology sheaf. -/ |
| 71 | theorem relativeCohomologySectionMap_def (U : Opens X) (n : ℕ) : |
| 72 | relativeCohomologySectionMap M X O U n = |
| 73 | HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.SupportedRelativeMap.relativeToSupportedSheafSections M X O U) n ≫ |
| 74 | AlgebraicTopology.Cohomology.Singular.SheafSections.sheafCohomologySectionMap (SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O) U n := rfl |
| 75 | |
| 76 | @[reassoc] |
| 77 | theorem relativeCohomologySectionMap_naturality {U V : Opens X} (i : U ⟶ V) (n : ℕ) : |
| 78 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheaf M X (O : Set X) n).map i.op ≫ |
| 79 | relativeCohomologySectionMap M X O U n = |
| 80 | relativeCohomologySectionMap M X O V n ≫ |
| 81 | ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj.map i.op := |
| 82 | (relativeCohomologySectionComparison M X O n).naturality i.op |
| 83 | |
| 84 | /-- The global comparison starts from the original relative singular |
| 85 | cohomology group, rather than from the homeomorphic top-open subtype. -/ |
| 86 | def relativeCohomologyGlobalSectionMap (n : ℕ) : |
| 87 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M X (O : Set X) n ⟶ |
| 88 | ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj.obj (op (⊤ : Opens X)) := |
| 89 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeCohomologyPresheafTopIso M X (O : Set X) n).inv ≫ |
| 90 | relativeCohomologySectionMap M X O ⊤ n |
| 91 | |
| 92 | /-- The global comparison commutes with actual relative restriction and |
| 93 | with the actual restriction of the supported cohomology sheaf. -/ |
| 94 | @[reassoc] |
| 95 | theorem relativeCohomologyGlobalSectionMap_restrict (U : Opens X) (n : ℕ) : |
| 96 | relativeCohomologyGlobalSectionMap M X O n ≫ |
| 97 | ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj.map |
| 98 | (homOfLE (le_top : U ≤ ⊤)).op = |
| 99 | relativeCohomologyOpenRestriction M X (O : Set X) U n ≫ |
| 100 | relativeCohomologySectionMap M X O U n := by |
| 101 | rw [relativeCohomologyOpenRestriction_eq, relativeCohomologyGlobalSectionMap] |
| 102 | simp only [Category.assoc] |
| 103 | rw [relativeCohomologySectionMap_naturality] |
| 104 | |
| 105 | /-- Taking the germ of the global image is the same as first restricting |
| 106 | the original relative class to any actual neighborhood. -/ |
| 107 | @[reassoc] |
| 108 | theorem relativeCohomologyGlobalSectionMap_germ |
| 109 | (U : Opens X) (x : X) (hx : x ∈ U) (n : ℕ) : |
| 110 | relativeCohomologyGlobalSectionMap M X O n ≫ |
| 111 | TopCat.Presheaf.germ ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj ⊤ x |
| 112 | (show x ∈ (⊤ : Opens X) from trivial) = |
| 113 | relativeCohomologyOpenRestriction M X (O : Set X) U n ≫ |
| 114 | relativeCohomologySectionMap M X O U n ≫ |
| 115 | TopCat.Presheaf.germ ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj U x hx := by |
| 116 | rw [← relativeCohomologyGlobalSectionMap_restrict_assoc] |
| 117 | rw [TopCat.Presheaf.germ_res] |
| 118 | |
| 119 | /-- Compatible images of actual local relative classes glue uniquely in |
| 120 | the genuine supported cohomology sheaf. No descent property of the raw |
| 121 | cohomology presheaf is used. -/ |
| 122 | theorem existsUnique_relativeCohomologyGlobalSection |
| 123 | {ι : Type*} (U : ι → Opens X) (hU : iSup U = ⊤) (n : ℕ) |
| 124 | (a : ∀ i, AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M (TopCat.of (U i)) |
| 125 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (O : Set X) (U i)) n) |
| 126 | (ha : TopCat.Presheaf.IsCompatible |
| 127 | ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj U |
| 128 | (fun i => relativeCohomologySectionMap M X O (U i) n (a i))) : |
| 129 | ∃! s : ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj.obj |
| 130 | (op (⊤ : Opens X)), |
| 131 | ∀ i, ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).obj.map |
| 132 | (homOfLE (le_top : U i ≤ ⊤)).op s = |
| 133 | relativeCohomologySectionMap M X O (U i) n (a i) := |
| 134 | ((SupportStalkVanishes.Cohomology.supportedSingularSheafComplex M X O).homology n).existsUnique_gluing' U ⊤ |
| 135 | (fun i => homOfLE (le_top : U i ≤ ⊤)) (by rw [hU]) _ ha |
| 136 | |
| 137 | end Cycles |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCohomologySections |