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.Holomorphic.StandardFunctionSheaf |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ChartMaps |
| 3 | |
| 4 | /-! # Chart Stalk Germs -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ChartStalkGerms.AnalyticLocal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Holomorphic functions on manifold opens determine actual function |
| 13 | germs in a chart, compatibly with restriction. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite Filter |
| 16 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ChartMaps |
| 19 | |
| 20 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 21 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 22 | |
| 23 | def chartInverseToOpen (e : OpenPartialHomeomorph M E) (U : Opens M) : |
| 24 | Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U → U := fun y => ⟨e.symm y, y.property.2⟩ |
| 25 | |
| 26 | theorem chartInverseToOpen_holomorphic (e : OpenPartialHomeomorph M E) |
| 27 | (he : e ∈ atlas E M) (U : Opens M) : |
| 28 | ContMDiff 𝓘(ℂ, E) 𝓘(ℂ, E) ∞ (chartInverseToOpen e U) := by |
| 29 | rw [← ContMDiff.subtypeVal_comp_iff] |
| 30 | exact ChartMaps.chartInverse_holomorphic e he (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen_le_target e U) |
| 31 | |
| 32 | def chartFunctionSection (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 33 | (U : Opens M) : C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯ →+* FunctionPure.holomorphicFunctions (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) where |
| 34 | toFun f := (StandardFunctionSheaf.AnalyticLocal.holomorphicFunctionContMDiffEquiv E (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U)).symm |
| 35 | ⟨f ∘ chartInverseToOpen e U, f.property.comp (chartInverseToOpen_holomorphic e he U)⟩ |
| 36 | map_zero' := rfl |
| 37 | map_one' := rfl |
| 38 | map_add' _ _ := rfl |
| 39 | map_mul' _ _ := rfl |
| 40 | |
| 41 | theorem chartFunctionSection_apply (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 42 | (U : Opens M) (f : C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯) (y : Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) : |
| 43 | (chartFunctionSection e he U f).val y = f ⟨e.symm y, y.property.2⟩ := rfl |
| 44 | |
| 45 | def chartSectionGerm (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 46 | (x : M) (hx : x ∈ e.source) (U : Opens M) (hxU : x ∈ U) : |
| 47 | C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯ →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (e x) := |
| 48 | (SectionGerms.AnalyticLocal.holomorphicSectionGerm (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) (e x) (Analysis.DifferentialForms.Manifold.ChartEquiv.mem_chartImageOpen e U hx hxU)).comp |
| 49 | (chartFunctionSection e he U) |
| 50 | |
| 51 | theorem chartSectionGerm_restrict (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 52 | (x : M) (hx : x ∈ e.source) {U V : Opens M} (h : V ≤ U) (hxV : x ∈ V) |
| 53 | (f : C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯) : |
| 54 | chartSectionGerm e he x hx V hxV |
| 55 | ((smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ).map (homOfLE h).op f) = |
| 56 | chartSectionGerm e he x hx U (h hxV) f := by |
| 57 | apply Subtype.ext |
| 58 | apply Germ.coe_eq.mpr |
| 59 | filter_upwards [(Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e V).isOpen.mem_nhds (Analysis.DifferentialForms.Manifold.ChartEquiv.mem_chartImageOpen e V hx hxV)] with y hy |
| 60 | rw [CoefficientMem.openCoefficientExtension_apply (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e V) _ ⟨y, hy⟩, |
| 61 | CoefficientMem.openCoefficientExtension_apply (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) _ ⟨y, ⟨hy.1, h hy.2⟩⟩] |
| 62 | rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | section |
| 67 | |
| 68 | /-! The actual manifold function stalk maps to the holomorphic germ |
| 69 | ring of each chart containing the point. -/ |
| 70 | |
| 71 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 72 | open scoped _root_.Manifold ContDiff |
| 73 | |
| 74 | open OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ChartMaps |
| 75 | |
| 76 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 77 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 78 | |
| 79 | def chartGermCocone (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 80 | (x : M) (hx : x ∈ e.source) : |
| 81 | Cocone ((OpenNhds.inclusion (X := TopCat.of M) x).op ⋙ |
| 82 | smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ) where |
| 83 | pt := CommRingCat.of (ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (e x)) |
| 84 | ι := |
| 85 | { app := fun U => CommRingCat.ofHom (chartSectionGerm e he x hx U.unop.val U.unop.property) |
| 86 | naturality := by |
| 87 | intro U V f |
| 88 | apply CommRingCat.hom_ext |
| 89 | apply RingHom.ext |
| 90 | intro a |
| 91 | exact chartSectionGerm_restrict e he x hx (leOfHom f.unop) V.unop.property a } |
| 92 | |
| 93 | def chartStalkToGerm (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 94 | (x : M) (hx : x ∈ e.source) : |
| 95 | (smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ).stalk x →+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (e x) := |
| 96 | (colimit.desc _ (chartGermCocone e he x hx)).hom |
| 97 | |
| 98 | theorem chartStalkToGerm_germ (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 99 | (x : M) (hx : x ∈ e.source) (U : Opens M) (hxU : x ∈ U) |
| 100 | (f : C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯) : |
| 101 | chartStalkToGerm e he x hx ((smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ).germ U x hxU f) = |
| 102 | chartSectionGerm e he x hx U hxU f := by |
| 103 | exact DFunLike.congr_fun (congrArg CommRingCat.Hom.hom |
| 104 | (colimit.ι_desc (chartGermCocone e he x hx) (op ⟨U, hxU⟩))) f |
| 105 | |
| 106 | end |
| 107 | |
| 108 | section |
| 109 | |
| 110 | /-! Equality of chart function germs implies equality in the actual |
| 111 | manifold structure stalk. -/ |
| 112 | |
| 113 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite Set Filter |
| 114 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 115 | |
| 116 | open OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ChartMaps |
| 117 | |
| 118 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 119 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 120 | |
| 121 | theorem chartStalkToGerm_injective (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 122 | (x : M) (hx : x ∈ e.source) : Function.Injective (chartStalkToGerm e he x hx) := by |
| 123 | intro a b hab |
| 124 | obtain ⟨U, hxU, f, rfl⟩ := (smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ).exists_germ_eq a |
| 125 | obtain ⟨V, hxV, g, rfl⟩ := (smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ).exists_germ_eq b |
| 126 | change C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯ at f |
| 127 | change C^∞⟮𝓘(ℂ, E), V; 𝓘(ℂ), ℂ⟯ at g |
| 128 | have hab' : chartSectionGerm e he x hx U hxU f = chartSectionGerm e he x hx V hxV g := |
| 129 | (chartStalkToGerm_germ e he x hx U hxU f).symm.trans |
| 130 | (hab.trans (chartStalkToGerm_germ e he x hx V hxV g)) |
| 131 | have hfg := congrArg Subtype.val hab' |
| 132 | change (CoefficientMem.openCoefficientExtension (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) (chartFunctionSection e he U f).val : |
| 133 | Germ (𝓝 (e x)) ℂ) = |
| 134 | (CoefficientMem.openCoefficientExtension (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e V) (chartFunctionSection e he V g).val : |
| 135 | Germ (𝓝 (e x)) ℂ) at hfg |
| 136 | obtain ⟨W, hWeq, hW, hxW⟩ := mem_nhds_iff.mp (Germ.coe_eq.mp hfg) |
| 137 | let T : Opens M := (U ⊓ V) ⊓ Analysis.DifferentialForms.Manifold.ChartEquiv.chartPreimageOpen e ⟨W, hW⟩ |
| 138 | have hxT : x ∈ T := ⟨⟨hxU, hxV⟩, hx, hxW⟩ |
| 139 | have hTU : T ≤ U := fun _ h => h.1.1 |
| 140 | have hTV : T ≤ V := fun _ h => h.1.2 |
| 141 | apply (smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ).germ_ext T hxT |
| 142 | (homOfLE hTU) (homOfLE hTV) |
| 143 | apply ContMDiffMap.ext |
| 144 | intro y |
| 145 | have hy := hWeq y.property.2.2 |
| 146 | change CoefficientMem.openCoefficientExtension (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) (chartFunctionSection e he U f).val (e y) = |
| 147 | CoefficientMem.openCoefficientExtension (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e V) (chartFunctionSection e he V g).val (e y) at hy |
| 148 | rw [CoefficientMem.openCoefficientExtension_apply (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) _ |
| 149 | ⟨e y, Analysis.DifferentialForms.Manifold.ChartEquiv.mem_chartImageOpen e U y.property.2.1 y.property.1.1⟩, |
| 150 | CoefficientMem.openCoefficientExtension_apply (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e V) _ |
| 151 | ⟨e y, Analysis.DifferentialForms.Manifold.ChartEquiv.mem_chartImageOpen e V y.property.2.1 y.property.1.2⟩] at hy |
| 152 | change f ⟨e.symm (e y), _⟩ = g ⟨e.symm (e y), _⟩ at hy |
| 153 | change f ⟨y, hTU y.property⟩ = g ⟨y, hTV y.property⟩ |
| 154 | simpa only [e.left_inv y.property.2.1] using hy |
| 155 | |
| 156 | end |
| 157 | |
| 158 | /-! Every holomorphic germ in a manifold chart comes from an actual |
| 159 | local manifold section. This identifies the native function stalk. -/ |
| 160 | |
| 161 | open _root_.CategoryTheory _root_.TopologicalSpace Opposite Filter |
| 162 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 163 | |
| 164 | open OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ChartMaps |
| 165 | |
| 166 | variable {E M : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 167 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) ∞ M] |
| 168 | |
| 169 | theorem chartSectionGerm_surjective (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 170 | (x : M) (hx : x ∈ e.source) (a : ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (e x)) : |
| 171 | ∃ (U : Opens M) (hxU : x ∈ U) (f : C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯), |
| 172 | chartSectionGerm e he x hx U hxU f = a := by |
| 173 | obtain ⟨W, hxW, g, hg⟩ := SectionGerms.AnalyticLocal.exists_holomorphicSectionGerm (e x) a |
| 174 | let U := Analysis.DifferentialForms.Manifold.ChartEquiv.chartPreimageOpen e W |
| 175 | have hxU : x ∈ U := ⟨hx, hxW⟩ |
| 176 | let f : C^∞⟮𝓘(ℂ, E), U; 𝓘(ℂ), ℂ⟯ := |
| 177 | ⟨(StandardFunctionSheaf.AnalyticLocal.holomorphicFunctionContMDiffEquiv E W g) ∘ ChartMaps.chartForward e W, |
| 178 | (StandardFunctionSheaf.AnalyticLocal.holomorphicFunctionContMDiffEquiv E W g).property.comp (ChartMaps.chartForward_holomorphic e he W)⟩ |
| 179 | refine ⟨U, hxU, f, ?_⟩ |
| 180 | apply Eq.trans _ hg |
| 181 | apply Subtype.ext |
| 182 | apply Germ.coe_eq.mpr |
| 183 | filter_upwards [W.isOpen.mem_nhds hxW, e.open_target.mem_nhds (e.map_source hx)] with y hyW hyt |
| 184 | change y ∈ W at hyW |
| 185 | have hyU : e.symm y ∈ U := ⟨e.map_target hyt, by |
| 186 | change e (e.symm y) ∈ W |
| 187 | rw [e.right_inv hyt] |
| 188 | exact hyW⟩ |
| 189 | rw [CoefficientMem.openCoefficientExtension_apply (Analysis.DifferentialForms.Manifold.ChartEquiv.chartImageOpen e U) _ ⟨y, ⟨hyt, hyU⟩⟩, |
| 190 | CoefficientMem.openCoefficientExtension_apply W _ ⟨y, hyW⟩] |
| 191 | change g.val ⟨e (e.symm y), _⟩ = g.val ⟨y, hyW⟩ |
| 192 | apply congrArg g.val |
| 193 | exact Subtype.ext (e.right_inv hyt) |
| 194 | |
| 195 | theorem chartStalkToGerm_surjective (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 196 | (x : M) (hx : x ∈ e.source) : Function.Surjective (chartStalkToGerm e he x hx) := by |
| 197 | intro a |
| 198 | obtain ⟨U, hxU, f, hf⟩ := chartSectionGerm_surjective e he x hx a |
| 199 | exact ⟨(smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ).germ U x hxU f, |
| 200 | (chartStalkToGerm_germ e he x hx U hxU f).trans hf⟩ |
| 201 | |
| 202 | def chartFunctionStalkEquiv (e : OpenPartialHomeomorph M E) (he : e ∈ atlas E M) |
| 203 | (x : M) (hx : x ∈ e.source) : |
| 204 | (smoothPresheafCommRing 𝓘(ℂ, E) 𝓘(ℂ) M ℂ).stalk x ≃+* ComplexGroups.HolomorphicAlgebraicity.HolomorphicGerms.Constructions.Germs.HolomorphicGerm (e x) := |
| 205 | RingEquiv.ofBijective (chartStalkToGerm e he x hx) |
| 206 | ⟨chartStalkToGerm_injective e he x hx, chartStalkToGerm_surjective e he x hx⟩ |
| 207 | |
| 208 | end |
| 209 | |
| 210 | end OAI.AlgebraicGeometry.Comparison.Betti.Holomorphic.ChartStalkGerms.AnalyticLocal |