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.Comparison.Betti.Coordinate.LaurentSections |
| 2 | |
| 3 | /-! # Sector To -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Laurent.SectorTo.Dolbeault |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Coordinate domains and coordinate inversions for finite Laurent sectors. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace Set |
| 14 | |
| 15 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 16 | |
| 17 | def laurentCoordinateOpens (s : Finset ι) (i : ι) : Opens ℂ := |
| 18 | if i ∈ s then PuncturedCauchy.Dolbeault.puncturedComplexOpen else ⊤ |
| 19 | |
| 20 | def laurentCoordinateDomain (s : Finset ι) : Opens (ι → ℂ) := |
| 21 | DivisorClass.Chern.Complex.CoordinateSplit.coordinatePolydisc (laurentCoordinateOpens s) |
| 22 | |
| 23 | theorem mem_laurentCoordinateDomain (s : Finset ι) (x : ι → ℂ) : |
| 24 | x ∈ laurentCoordinateDomain s ↔ ∀ i ∈ s, x i ≠ 0 := by |
| 25 | rw [laurentCoordinateDomain, DivisorClass.Chern.Complex.CoordinateSplit.mem_coordinatePolydisc] |
| 26 | constructor |
| 27 | · intro h i hi |
| 28 | simpa only [laurentCoordinateOpens, ite_eq_left hi, PuncturedCauchy.Dolbeault.puncturedComplexOpen, Opens.mem_mk, |
| 29 | Set.mem_ofPred_eq] using h i |
| 30 | · intro h i |
| 31 | by_cases hi : i ∈ s |
| 32 | · simpa only [laurentCoordinateOpens, ite_eq_left hi, PuncturedCauchy.Dolbeault.puncturedComplexOpen, Opens.mem_mk, |
| 33 | Set.mem_ofPred_eq] using h i hi |
| 34 | · simp only [laurentCoordinateOpens, ite_eq_right hi, Opens.mem_top] |
| 35 | |
| 36 | theorem laurentCoordinateDomain_empty : laurentCoordinateDomain (∅ : Finset ι) = ⊤ := by |
| 37 | ext x |
| 38 | change (x ∈ laurentCoordinateDomain (∅ : Finset ι)) ↔ (x ∈ (⊤ : Opens (ι → ℂ))) |
| 39 | rw [mem_laurentCoordinateDomain] |
| 40 | simp |
| 41 | |
| 42 | omit [Fintype ι] in |
| 43 | theorem laurentCoordinateOpens_update_punctured (s : Finset ι) (i : ι) : |
| 44 | Function.update (laurentCoordinateOpens s) i PuncturedCauchy.Dolbeault.puncturedComplexOpen = laurentCoordinateOpens (insert i s) := by |
| 45 | funext j |
| 46 | by_cases hji : j = i |
| 47 | · subst j |
| 48 | simp only [Function.update_self, laurentCoordinateOpens, Finset.mem_insert_self, ite_true] |
| 49 | · simp only [Function.update_of_ne hji, laurentCoordinateOpens, Finset.mem_insert, hji, false_or] |
| 50 | |
| 51 | omit [Fintype ι] in |
| 52 | theorem laurentCoordinateOpens_update_full (s : Finset ι) (i : ι) (hi : i ∉ s) : |
| 53 | Function.update (laurentCoordinateOpens s) i ⊤ = laurentCoordinateOpens s := by |
| 54 | funext j |
| 55 | by_cases hji : j = i |
| 56 | · subst j |
| 57 | simp only [Function.update_self, laurentCoordinateOpens, ite_eq_right hi] |
| 58 | · exact Function.update_of_ne hji _ _ |
| 59 | |
| 60 | def laurentInverseCoordinates (s : Finset ι) (x : ι → ℂ) : ι → ℂ := |
| 61 | fun i => if i ∈ s then (x i)⁻¹ else x i |
| 62 | |
| 63 | omit [Fintype ι] in |
| 64 | theorem laurentInverseCoordinates_involutive (s : Finset ι) (x : ι → ℂ) : |
| 65 | laurentInverseCoordinates s (laurentInverseCoordinates s x) = x := by |
| 66 | funext i |
| 67 | by_cases hi : i ∈ s <;> simp only [laurentInverseCoordinates, hi, ite_true, ite_false, inv_inv] |
| 68 | |
| 69 | omit [Fintype ι] in |
| 70 | theorem laurentInverseCoordinates_insert (s : Finset ι) (i : ι) (hi : i ∉ s) (x : ι → ℂ) : |
| 71 | laurentInverseCoordinates (insert i s) x = laurentInverseCoordinates s (Function.update x i (x i)⁻¹) := by |
| 72 | funext j |
| 73 | by_cases hji : j = i |
| 74 | · subst j |
| 75 | simp only [laurentInverseCoordinates, Finset.mem_insert_self, ite_true, ite_eq_right hi, Function.update_self] |
| 76 | · simp only [laurentInverseCoordinates, Finset.mem_insert, hji, false_or, Function.update_of_ne hji] |
| 77 | |
| 78 | theorem laurentInverseCoordinates_mapsTo (s t : Finset ι) : |
| 79 | MapsTo (laurentInverseCoordinates t) (laurentCoordinateDomain s : Set (ι → ℂ)) |
| 80 | (laurentCoordinateDomain s : Set (ι → ℂ)) := by |
| 81 | intro x hx |
| 82 | apply (mem_laurentCoordinateDomain s _).mpr |
| 83 | intro i hi |
| 84 | have hxi := (mem_laurentCoordinateDomain s x).mp hx i hi |
| 85 | by_cases hit : i ∈ t |
| 86 | · simpa only [laurentInverseCoordinates, ite_eq_left hit] using inv_ne_zero hxi |
| 87 | · simpa only [laurentInverseCoordinates, ite_eq_right hit] using hxi |
| 88 | |
| 89 | end |
| 90 | |
| 91 | section |
| 92 | |
| 93 | /-! Holomorphic realization of the finite Laurent sectors. -/ |
| 94 | |
| 95 | open _root_.TopologicalSpace Set |
| 96 | |
| 97 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 98 | |
| 99 | theorem laurentCoordinateDomain_antitone {s t : Finset ι} (hst : s ⊆ t) : |
| 100 | laurentCoordinateDomain t ≤ laurentCoordinateDomain s := by |
| 101 | intro x hx |
| 102 | exact (mem_laurentCoordinateDomain s x).mpr |
| 103 | (fun i hi => (mem_laurentCoordinateDomain t x).mp hx i (hst hi)) |
| 104 | |
| 105 | theorem laurentCoordinateDomain_update {s : Finset ι} {i : ι} (hi : i ∉ s) |
| 106 | {x : ι → ℂ} (hx : x ∈ laurentCoordinateDomain s) (z : ℂ) : |
| 107 | Function.update x i z ∈ laurentCoordinateDomain s := by |
| 108 | apply (mem_laurentCoordinateDomain s _).mpr |
| 109 | intro j hj |
| 110 | have hji : j ≠ i := fun h => hi (h ▸ hj) |
| 111 | simpa only [Function.update_of_ne hji] using (mem_laurentCoordinateDomain s x).mp hx j hj |
| 112 | |
| 113 | theorem laurentInverseCoordinates_differentiableOn (s t : Finset ι) (hts : t ⊆ s) : |
| 114 | DifferentiableOn ℂ (laurentInverseCoordinates t) (laurentCoordinateDomain s) := by |
| 115 | apply differentiableOn_pi.mpr |
| 116 | intro i x hx |
| 117 | by_cases hi : i ∈ t |
| 118 | · change DifferentiableWithinAt ℂ (fun x : ι → ℂ => if i ∈ t then (x i)⁻¹ else x i) _ x |
| 119 | simp only [ite_eq_left hi] |
| 120 | exact ((differentiableAt_apply (𝕜 := ℂ) i x).fun_inv |
| 121 | ((mem_laurentCoordinateDomain s x).mp hx i (hts hi))).differentiableWithinAt |
| 122 | · simpa only [laurentInverseCoordinates, ite_eq_right hi] using |
| 123 | (differentiableAt_apply (𝕜 := ℂ) i x).differentiableWithinAt |
| 124 | |
| 125 | def laurentSectorRealization (s t : Finset ι) (hts : t ⊆ s) |
| 126 | (a : Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ))) : |
| 127 | Holomorphic.FunctionPure.holomorphicFunctions (laurentCoordinateDomain s) := |
| 128 | PolynomialHolomorphicSections.AnalyticLocal.functionSectionOfDifferentiable _ |
| 129 | (fun x => a.val ⟨laurentInverseCoordinates t x, trivial⟩) |
| 130 | (by |
| 131 | have ha : Differentiable ℂ (FiberVanishing.Dolbeault.holomorphicFunctionExtension ⊤ a) := |
| 132 | differentiableOn_univ.mp (FiberVanishing.Dolbeault.holomorphicFunctionExtension_differentiable ⊤ a) |
| 133 | apply (ha.differentiableOn.comp |
| 134 | (laurentInverseCoordinates_differentiableOn s t hts) (fun _ _ => Set.mem_univ _)).congr |
| 135 | intro x _ |
| 136 | exact (Holomorphic.CoefficientMem.openCoefficientExtension_apply ⊤ a.val ⟨laurentInverseCoordinates t x, trivial⟩).symm) |
| 137 | |
| 138 | theorem laurentSectorRealization_apply (s t : Finset ι) (hts : t ⊆ s) |
| 139 | (a : Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ))) (x : laurentCoordinateDomain s) : |
| 140 | (laurentSectorRealization s t hts a).val x = |
| 141 | a.val ⟨laurentInverseCoordinates t x.val, trivial⟩ := rfl |
| 142 | |
| 143 | def laurentSectorRealizationMap (s t : Finset ι) (hts : t ⊆ s) : |
| 144 | Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ)) →ₗ[ℂ] |
| 145 | Holomorphic.FunctionPure.holomorphicFunctions (laurentCoordinateDomain s) where |
| 146 | toFun := laurentSectorRealization s t hts |
| 147 | map_add' _ _ := rfl |
| 148 | map_smul' _ _ := rfl |
| 149 | |
| 150 | def laurentSectorCoefficients (t : Finset ι) : |
| 151 | Submodule ℂ (Holomorphic.FunctionPure.holomorphicFunctions (⊤ : Opens (ι → ℂ))) where |
| 152 | carrier := {a | ∀ i ∈ t, ∀ x : (⊤ : Opens (ι → ℂ)), x.val i = 0 → a.val x = 0} |
| 153 | zero_mem' := by |
| 154 | intro i hi x hx |
| 155 | rfl |
| 156 | add_mem' := by |
| 157 | intro a b ha hb i hi x hx |
| 158 | change a.val x + b.val x = 0 |
| 159 | rw [ha i hi x hx, hb i hi x hx, add_zero] |
| 160 | smul_mem' := by |
| 161 | intro c a ha i hi x hx |
| 162 | change c • a.val x = 0 |
| 163 | rw [ha i hi x hx, smul_zero] |
| 164 | |
| 165 | end |
| 166 | |
| 167 | /-! Uniqueness of the Laurent split on a coordinate puncture domain. -/ |
| 168 | |
| 169 | open _root_.TopologicalSpace Set |
| 170 | |
| 171 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 172 | |
| 173 | omit [Fintype ι] in |
| 174 | theorem differentiable_coordinateUpdate (x : ι → ℂ) (i : ι) : |
| 175 | Differentiable ℂ (fun z : ℂ => Function.update x i z) := by |
| 176 | apply differentiable_pi.mpr |
| 177 | intro j |
| 178 | by_cases hji : j = i |
| 179 | · subst j |
| 180 | simp only [Function.update_self] |
| 181 | exact differentiable_id |
| 182 | · simpa only [Function.update_of_ne hji] using (differentiable_const (x j) (𝕜 := ℂ) (E := ℂ)) |
| 183 | |
| 184 | theorem laurentDomain_slice_differentiable (s : Finset ι) (i : ι) (hi : i ∉ s) |
| 185 | {f : (ι → ℂ) → ℂ} (hf : DifferentiableOn ℂ f (laurentCoordinateDomain s)) |
| 186 | {x : ι → ℂ} (hx : x ∈ laurentCoordinateDomain s) : |
| 187 | Differentiable ℂ (fun z : ℂ => f (Function.update x i z)) := by |
| 188 | intro z |
| 189 | exact (hf.differentiableAt ((laurentCoordinateDomain s).isOpen.mem_nhds |
| 190 | (laurentCoordinateDomain_update hi hx z))).comp z (differentiable_coordinateUpdate x i z) |
| 191 | |
| 192 | theorem laurentDomain_pair_zero (s : Finset ι) (i : ι) (hi : i ∉ s) |
| 193 | {a b : (ι → ℂ) → ℂ} |
| 194 | (ha : DifferentiableOn ℂ a (laurentCoordinateDomain s)) |
| 195 | (hb : DifferentiableOn ℂ b (laurentCoordinateDomain s)) |
| 196 | (hb0 : ∀ x ∈ laurentCoordinateDomain s, x i = 0 → b x = 0) |
| 197 | (h : ∀ x ∈ laurentCoordinateDomain (insert i s), |
| 198 | a x + b (Function.update x i (x i)⁻¹) = 0) : |
| 199 | ∀ x ∈ laurentCoordinateDomain s, a x = 0 ∧ b x = 0 := by |
| 200 | intro x hx |
| 201 | have hz : ∀ z ≠ (0 : ℂ), |
| 202 | a (Function.update x i z) + b (Function.update x i z⁻¹) = 0 := by |
| 203 | intro z hz |
| 204 | have hzu : Function.update x i z ∈ laurentCoordinateDomain (insert i s) := by |
| 205 | apply (mem_laurentCoordinateDomain _ _).mpr |
| 206 | intro j hj |
| 207 | rcases Finset.mem_insert.mp hj with rfl | hj |
| 208 | · simpa only [Function.update_self] using hz |
| 209 | · exact (mem_laurentCoordinateDomain s _).mp (laurentCoordinateDomain_update hi hx z) j hj |
| 210 | simpa only [Function.update_self, Function.update_idem] using h _ hzu |
| 211 | have hbz : b (Function.update x i 0) = 0 := |
| 212 | hb0 _ (laurentCoordinateDomain_update hi hx 0) (Function.update_self i 0 x) |
| 213 | obtain ⟨ha', hb'⟩ := ProjectionNaturality.Dolbeault.normalizedLaurent_pair_zero |
| 214 | (laurentDomain_slice_differentiable s i hi ha hx) |
| 215 | (laurentDomain_slice_differentiable s i hi hb hx) hbz hz |
| 216 | exact ⟨by simpa only [Function.update_eq_self] using ha' (x i), |
| 217 | by simpa only [Function.update_eq_self] using hb' (x i)⟩ |
| 218 | |
| 219 | end |
| 220 | |
| 221 | end OAI.AlgebraicGeometry.Comparison.Betti.Laurent.SectorTo.Dolbeault |