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.AlgebraicGeometry.CycleClass.Geometric.ClosedBall |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.ConvexComplement |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.HomologyWithSupports |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomologyPresheaf |
| 5 | |
| 6 | /-! # Convex Support Homology -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ConvexSupportHomology.Cycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Relative homology and normalized classes with compact convex support |
| 14 | |
| 15 | All maps are induced by the identity between the actual complementary |
| 16 | topological pairs. Restricting the class of a containing coordinate ball |
| 17 | already gives a normalized class for any compact support. Convexity will |
| 18 | identify its relative homology with point-local homology, giving uniqueness |
| 19 | and concentration in the top degree. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 23 | |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | |
| 27 | /-- Restriction of supports commutes with restriction to any point of the smaller support. -/ |
| 28 | @[reassoc] |
| 29 | theorem relativeComplementHomologyRestriction_toPoint (X : TopCat.{0}) |
| 30 | {K L : Set X} (hKL : K ⊆ L) (x : X) (hx : x ∈ K) (n : ℕ) : |
| 31 | HomologicalComplex.homologyMap (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction X hKL) n ≫ |
| 32 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X K x hx n = |
| 33 | LocalHomologyPresheaf.Cycles.localHomologyToPoint X L x (hKL hx) n := by |
| 34 | unfold LocalHomologyPresheaf.Cycles.localHomologyToPoint |
| 35 | rw [← HomologicalComplex.homologyMap_comp, LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction_toPoint] |
| 36 | |
| 37 | variable (E : Type) [NormedAddCommGroup E] |
| 38 | |
| 39 | /-- A compact support is contained in a positive-radius closed ball about the origin. -/ |
| 40 | theorem compactSupport_exists_pos_radius (K : Set E) (hK : IsCompact K) : |
| 41 | ∃ r : ℝ, 0 < r ∧ K ⊆ Metric.closedBall (0 : E) r := |
| 42 | hK.isBounded.subset_closedBall_lt 0 0 |
| 43 | |
| 44 | /-- A fixed containing radius for a compact support. -/ |
| 45 | def compactSupportRadius (K : Set E) (hK : IsCompact K) : ℝ := |
| 46 | (compactSupport_exists_pos_radius E K hK).choose |
| 47 | |
| 48 | theorem compactSupportRadius_pos (K : Set E) (hK : IsCompact K) : |
| 49 | 0 < compactSupportRadius E K hK := |
| 50 | (compactSupport_exists_pos_radius E K hK).choose_spec.1 |
| 51 | |
| 52 | theorem compactSupport_subset_closedBall (K : Set E) (hK : IsCompact K) : |
| 53 | K ⊆ Metric.closedBall (0 : E) (compactSupportRadius E K hK) := |
| 54 | (compactSupport_exists_pos_radius E K hK).choose_spec.2 |
| 55 | |
| 56 | /-- On a closed ball, the existing support-to-point map is the closed-ball restriction. -/ |
| 57 | theorem localHomologyToPoint_closedBall (r : ℝ) (x : E) |
| 58 | (hx : x ∈ Metric.closedBall (0 : E) r) (n : ℕ) : |
| 59 | LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of E) (Metric.closedBall (0 : E) r) x hx n = |
| 60 | ClosedBall.Cycles.closedBallPointHomologyMap E r x hx n := rfl |
| 61 | |
| 62 | /-- Restricting a containing coordinate-ball class gives a class with any compact support. -/ |
| 63 | def complexCompactSupportClass (p : ℕ) (K : Set (Fin p → ℂ)) (hK : IsCompact K) : |
| 64 | HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin p → ℂ)) K (2 * p) := |
| 65 | HomologicalComplex.homologyMap |
| 66 | (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction (TopCat.of (Fin p → ℂ)) |
| 67 | (compactSupport_subset_closedBall (Fin p → ℂ) K hK)) (2 * p) |
| 68 | (ClosedBall.Cycles.complexClosedBallClass p (compactSupportRadius (Fin p → ℂ) K hK) |
| 69 | (compactSupportRadius_pos (Fin p → ℂ) K hK).le) |
| 70 | |
| 71 | /-- The compact-support class restricts to the specified coordinate orientation at every point. -/ |
| 72 | theorem complexCompactSupportClass_atPoint (p : ℕ) (K : Set (Fin p → ℂ)) |
| 73 | (hK : IsCompact K) (x : Fin p → ℂ) (hx : x ∈ K) : |
| 74 | LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p → ℂ)) K x hx (2 * p) |
| 75 | (complexCompactSupportClass p K hK) = ClosedBall.Cycles.complexCoordinatePointClass p x := by |
| 76 | let r := compactSupportRadius (Fin p → ℂ) K hK |
| 77 | have hr : 0 ≤ r := (compactSupportRadius_pos (Fin p → ℂ) K hK).le |
| 78 | have hKR : K ⊆ Metric.closedBall (0 : Fin p → ℂ) r := |
| 79 | compactSupport_subset_closedBall (Fin p → ℂ) K hK |
| 80 | change LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p → ℂ)) K x hx (2 * p) |
| 81 | (HomologicalComplex.homologyMap |
| 82 | (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction (TopCat.of (Fin p → ℂ)) hKR) (2 * p) |
| 83 | (ClosedBall.Cycles.complexClosedBallClass p r hr)) = _ |
| 84 | calc |
| 85 | _ = LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p → ℂ)) |
| 86 | (Metric.closedBall (0 : Fin p → ℂ) r) x (hKR hx) (2 * p) |
| 87 | (ClosedBall.Cycles.complexClosedBallClass p r hr) := |
| 88 | ConcreteCategory.congr_hom |
| 89 | (relativeComplementHomologyRestriction_toPoint |
| 90 | (TopCat.of (Fin p → ℂ)) hKR x hx (2 * p)) _ |
| 91 | _ = _ := ClosedBall.Cycles.complexClosedBallClass_atPoint p r hr x (hKR hx) |
| 92 | |
| 93 | variable [NormedSpace ℝ E] |
| 94 | |
| 95 | /-- For compact convex support, the actual restriction to any supported point is |
| 96 | a quasi-isomorphism. This is the comparison of the two short exact sequences |
| 97 | of actual singular chains, using the complement homotopy equivalence. -/ |
| 98 | theorem convexSupportPointChainMap_quasiIso (K : Set E) (hK : IsCompact K) |
| 99 | (hconv : Convex ℝ K) (x : E) (hx : x ∈ K) : |
| 100 | QuasiIso (LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint (TopCat.of E) K x hx) := by |
| 101 | let hm : Set.MapsTo (𝟙 (TopCat.of E)) Kᶜ ({x}ᶜ : Set E) := by |
| 102 | intro y hy |
| 103 | change y ≠ x |
| 104 | intro hyx |
| 105 | exact hy (hyx.symm ▸ hx) |
| 106 | let φ := RelativeHomologyExact.Cycles.relativeChainSequenceMap (𝟙 (TopCat.of E)) hm |
| 107 | apply HomologicalComplex.HomologySequence.quasiIso_τ₃ φ |
| 108 | (LocalHomology.Cycles.relativeChainSequence_shortExact (TopCat.of E) Kᶜ) |
| 109 | (LocalHomology.Cycles.relativeChainSequence_shortExact (TopCat.of E) ({x}ᶜ : Set E)) |
| 110 | · change QuasiIso (LocalHomology.Cycles.integralSingularChainFunctor.map (LocalHomology.Cycles.subspaceMap (𝟙 (TopCat.of E)) hm)) |
| 111 | have hinc : LocalHomology.Cycles.subspaceMap (𝟙 (TopCat.of E)) hm = |
| 112 | TopCat.ofHom (ConvexComplement.Cycles.convexComplementHomotopyEquiv K x hK hconv hx).toFun := by |
| 113 | rw [ConvexComplement.Cycles.convexComplementHomotopyEquiv_toFun] |
| 114 | rfl |
| 115 | rw [hinc] |
| 116 | exact (ContractibleModel.Cycles.singularChainsHomotopyEquiv (ModuleCat.of ℤ ℤ) |
| 117 | (X := TopCat.of (Kᶜ : Set E)) (Y := TopCat.of ({x}ᶜ : Set E)) |
| 118 | (ConvexComplement.Cycles.convexComplementHomotopyEquiv K x hK hconv hx)).quasiIso_hom |
| 119 | · change QuasiIso (LocalHomology.Cycles.integralSingularChainFunctor.map (𝟙 (TopCat.of E))) |
| 120 | rw [CategoryTheory.Functor.map_id] |
| 121 | infer_instance |
| 122 | |
| 123 | /-- Relative homology with compact convex support is the actual local homology |
| 124 | at every point of that support. -/ |
| 125 | def convexSupportPointHomologyIso (K : Set E) (hK : IsCompact K) |
| 126 | (hconv : Convex ℝ K) (x : E) (hx : x ∈ K) (n : ℕ) : |
| 127 | HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of E) K n ≅ |
| 128 | LocalHomology.Cycles.localSingularHomology (TopCat.of E) x n := by |
| 129 | have := convexSupportPointChainMap_quasiIso E K hK hconv x hx |
| 130 | exact isoOfQuasiIsoAt (LocalHomologyPresheaf.Cycles.relativeComplementChainToPoint (TopCat.of E) K x hx) n |
| 131 | |
| 132 | @[simp] |
| 133 | theorem convexSupportPointHomologyIso_hom (K : Set E) (hK : IsCompact K) |
| 134 | (hconv : Convex ℝ K) (x : E) (hx : x ∈ K) (n : ℕ) : |
| 135 | (convexSupportPointHomologyIso E K hK hconv x hx n).hom = |
| 136 | LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of E) K x hx n := rfl |
| 137 | |
| 138 | /-- In particular, the existing point restriction map is bijective in every degree. -/ |
| 139 | theorem convexSupportPointHomologyMap_bijective (K : Set E) (hK : IsCompact K) |
| 140 | (hconv : Convex ℝ K) (x : E) (hx : x ∈ K) (n : ℕ) : |
| 141 | Function.Bijective (LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of E) K x hx n) := |
| 142 | ConcreteCategory.bijective_of_isIso (convexSupportPointHomologyIso E K hK hconv x hx n).hom |
| 143 | |
| 144 | /-- Top homology with nonempty compact convex support in a complex coordinate |
| 145 | space is `ℤ`, with the prescribed coordinate normalization at a supported point. -/ |
| 146 | def complexConvexSupportTopHomologyIso (p : ℕ) (K : Set (Fin p → ℂ)) |
| 147 | (hK : IsCompact K) (hconv : Convex ℝ K) (x : Fin p → ℂ) (hx : x ∈ K) : |
| 148 | HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin p → ℂ)) K (2 * p) ≅ ModuleCat.of ℤ ℤ := |
| 149 | convexSupportPointHomologyIso (Fin p → ℂ) K hK hconv x hx (2 * p) ≪≫ |
| 150 | ClosedBall.Cycles.complexCoordinatePointHomologyIso p x |
| 151 | |
| 152 | /-- The compact-support class maps to one under the actual normalized top-homology isomorphism. -/ |
| 153 | theorem complexConvexSupportTopHomologyIso_class (p : ℕ) (K : Set (Fin p → ℂ)) |
| 154 | (hK : IsCompact K) (hconv : Convex ℝ K) (x : Fin p → ℂ) (hx : x ∈ K) : |
| 155 | (complexConvexSupportTopHomologyIso p K hK hconv x hx).hom |
| 156 | (complexCompactSupportClass p K hK) = 1 := by |
| 157 | change (ClosedBall.Cycles.complexCoordinatePointHomologyIso p x).hom |
| 158 | (LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p → ℂ)) K x hx (2 * p) |
| 159 | (complexCompactSupportClass p K hK)) = 1 |
| 160 | rw [complexCompactSupportClass_atPoint] |
| 161 | exact ConcreteCategory.congr_hom (ClosedBall.Cycles.complexCoordinatePointHomologyIso p x).inv_hom_id 1 |
| 162 | |
| 163 | /-- All-point normalization uniquely determines the class on nonempty compact convex support. -/ |
| 164 | theorem complexConvexSupportClass_unique (p : ℕ) (K : Set (Fin p → ℂ)) |
| 165 | (hK : IsCompact K) (hconv : Convex ℝ K) (hne : K.Nonempty) |
| 166 | (a : HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin p → ℂ)) K (2 * p)) |
| 167 | (ha : ∀ x (hx : x ∈ K), |
| 168 | LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p → ℂ)) K x hx (2 * p) a = |
| 169 | ClosedBall.Cycles.complexCoordinatePointClass p x) : |
| 170 | a = complexCompactSupportClass p K hK := by |
| 171 | obtain ⟨x, hx⟩ := hne |
| 172 | apply (convexSupportPointHomologyMap_bijective (Fin p → ℂ) K hK hconv x hx (2 * p)).1 |
| 173 | rw [ha x hx, complexCompactSupportClass_atPoint] |
| 174 | |
| 175 | /-- The normalized class is the restriction of every containing closed-ball |
| 176 | class, so it is independent of the chosen containing radius. -/ |
| 177 | theorem complexConvexSupportClass_eq_ballRestriction (p : ℕ) (K : Set (Fin p → ℂ)) |
| 178 | (hK : IsCompact K) (hconv : Convex ℝ K) (hne : K.Nonempty) |
| 179 | (r : ℝ) (hr : 0 ≤ r) (hKR : K ⊆ Metric.closedBall (0 : Fin p → ℂ) r) : |
| 180 | complexCompactSupportClass p K hK = |
| 181 | HomologicalComplex.homologyMap |
| 182 | (LocalHomologyPresheaf.Cycles.relativeComplementChainRestriction (TopCat.of (Fin p → ℂ)) hKR) (2 * p) |
| 183 | (ClosedBall.Cycles.complexClosedBallClass p r hr) := by |
| 184 | symm |
| 185 | apply complexConvexSupportClass_unique p K hK hconv hne |
| 186 | intro x hx |
| 187 | calc |
| 188 | _ = LocalHomologyPresheaf.Cycles.localHomologyToPoint (TopCat.of (Fin p → ℂ)) |
| 189 | (Metric.closedBall (0 : Fin p → ℂ) r) x (hKR hx) (2 * p) |
| 190 | (ClosedBall.Cycles.complexClosedBallClass p r hr) := |
| 191 | ConcreteCategory.congr_hom |
| 192 | (relativeComplementHomologyRestriction_toPoint |
| 193 | (TopCat.of (Fin p → ℂ)) hKR x hx (2 * p)) _ |
| 194 | _ = _ := ClosedBall.Cycles.complexClosedBallClass_atPoint p r hr x (hKR hx) |
| 195 | |
| 196 | /-- Relative homology of nonempty compact convex support vanishes outside the real top degree. -/ |
| 197 | theorem complexConvexSupportHomology_isZero (p : ℕ) (K : Set (Fin p → ℂ)) |
| 198 | (hK : IsCompact K) (hconv : Convex ℝ K) (hne : K.Nonempty) |
| 199 | (n : ℕ) (hn : n ≠ 2 * p) : |
| 200 | IsZero (HomologyWithSupports.Cycles.singularHomologyWithSupport (TopCat.of (Fin p → ℂ)) K n) := by |
| 201 | obtain ⟨x, hx⟩ := hne |
| 202 | exact (ComplexLocalVanishing.Cycles.complexNormalLocalHomology_isZero p n hn).of_iso |
| 203 | (convexSupportPointHomologyIso (Fin p → ℂ) K hK hconv x hx n ≪≫ |
| 204 | ClosedBall.Cycles.localTranslationHomologyIso (Fin p → ℂ) x n) |
| 205 | |
| 206 | end |
| 207 | |
| 208 | end OAI.AlgebraicGeometry.CycleClass.Geometric.ConvexSupportHomology.Cycles |