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 Mathlib.Geometry.Manifold.MFDeriv.NormedSpace |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Immersion |
| 3 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 4 | import Mathlib.Geometry.Manifold.MFDeriv.FDeriv |
| 5 | |
| 6 | /-! # Manifold Image -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ManifoldImage.Constructions.Cone |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! |
| 15 | # Local equations for holomorphic images of complex manifolds |
| 16 | |
| 17 | The equations come from the proved finite-dimensional normal-chart theorem. |
| 18 | The embedding hypothesis excludes additional image branches near the point. |
| 19 | -/ |
| 20 | |
| 21 | open Set ChartedSpace |
| 22 | open scoped _root_.Manifold _root_.Topology |
| 23 | |
| 24 | /-- An embedded holomorphic immersion, on any open part of a finite-dimensional |
| 25 | complex manifold, has an image locally cut out by holomorphic equations. -/ |
| 26 | theorem holomorphicZeroSetAt_manifold_image |
| 27 | {E F M : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 28 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 29 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold (𝓘(ℂ, E)) 1 M] |
| 30 | {U : Set M} (hU : IsOpen U) {f : M → F} |
| 31 | (hf : MDifferentiableOn (𝓘(ℂ, E)) (𝓘(ℂ, F)) f U) |
| 32 | (hemb : Topology.IsEmbedding (fun z : U => f z)) |
| 33 | {x : M} (hx : x ∈ U) |
| 34 | (hinj : Function.Injective (mfderiv (𝓘(ℂ, E)) (𝓘(ℂ, F)) f x)) : |
| 35 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (f '' U) (f x) := by |
| 36 | let e := chartAt E x |
| 37 | let V : Set E := e.target ∩ e.symm ⁻¹' U |
| 38 | let g : E → F := f ∘ e.symm |
| 39 | have he : e.MDifferentiable (𝓘(ℂ, E)) (𝓘(ℂ, E)) := mdifferentiable_chart x |
| 40 | have hV : IsOpen V := e.isOpen_inter_preimage_symm hU |
| 41 | have hxe : x ∈ e.source := mem_chart_source E x |
| 42 | have hxV : e x ∈ V := |
| 43 | ⟨e.map_source hxe, by simpa only [mem_preimage, e.left_inv hxe] using hx⟩ |
| 44 | have hg : DifferentiableOn ℂ g V := by |
| 45 | intro z hz |
| 46 | have hF := (hf _ hz.2).mdifferentiableAt (hU.mem_nhds hz.2) |
| 47 | exact ((hF.comp z (he.mdifferentiableAt_symm hz.1)).differentiableAt).differentiableWithinAt |
| 48 | have hemb_e : Topology.IsEmbedding (fun z : V => e.symm z) := |
| 49 | e.symm.isEmbedding_restrict.comp (Topology.IsEmbedding.inclusion inter_subset_left) |
| 50 | have hemb_g : Topology.IsEmbedding (fun z : V => g z) := |
| 51 | hemb.comp (hemb_e.codRestrict U (fun z => z.property.2)) |
| 52 | have hinj_g : Function.Injective (fderiv ℂ g (e x)) := by |
| 53 | rw [← mfderiv_eq_fderiv] |
| 54 | change Function.Injective (mfderiv (𝓘(ℂ, E)) (𝓘(ℂ, F)) (f ∘ e.symm) (e x)) |
| 55 | have hF : MDifferentiableAt (𝓘(ℂ, E)) (𝓘(ℂ, F)) f (e.symm (e x)) := by |
| 56 | rw [e.left_inv hxe] |
| 57 | exact (hf x hx).mdifferentiableAt (hU.mem_nhds hx) |
| 58 | rw [mfderiv_comp (e x) hF (he.mdifferentiableAt_symm hxV.1)] |
| 59 | have hfi : Function.Injective (mfderiv (𝓘(ℂ, E)) (𝓘(ℂ, F)) f (e.symm (e x))) := by |
| 60 | rw [e.left_inv hxe] |
| 61 | exact hinj |
| 62 | exact hfi.comp (he.symm.mfderiv_injective hxV.1) |
| 63 | have hz := Immersion.Constructions.Cone.holomorphicZeroSetAt_image_of_embedding hV hg hemb_g hxV hinj_g |
| 64 | have hgx : g (e x) = f x := by simp only [g, Function.comp_apply, e.left_inv hxe] |
| 65 | rw [hgx] at hz |
| 66 | let W : Set U := {z | z.val ∈ e.source} |
| 67 | have hW : IsOpen W := e.open_source.preimage continuous_subtype_val |
| 68 | obtain ⟨O, hO, hOp⟩ := hemb.isInducing.isOpen_iff.mp hW |
| 69 | have hxO : f x ∈ O := by |
| 70 | change (⟨x, hx⟩ : U) ∈ (fun z : U => f z) ⁻¹' O |
| 71 | rw [hOp] |
| 72 | exact hxe |
| 73 | apply hz.congr |
| 74 | filter_upwards [hO.mem_nhds hxO] with y hy |
| 75 | constructor |
| 76 | · rintro ⟨a, ha, hay⟩ |
| 77 | have hae : a ∈ e.source := by |
| 78 | change (⟨a, ha⟩ : U) ∈ W |
| 79 | rw [← hOp] |
| 80 | change f a ∈ O |
| 81 | rw [hay] |
| 82 | exact hy |
| 83 | refine ⟨e a, ⟨e.map_source hae, ?_⟩, ?_⟩ |
| 84 | · simpa only [mem_preimage, e.left_inv hae] using ha |
| 85 | · simpa only [g, Function.comp_apply, e.left_inv hae] using hay |
| 86 | · rintro ⟨a, ha, hay⟩ |
| 87 | exact ⟨e.symm a, ha.2, hay⟩ |
| 88 | |
| 89 | end |
| 90 | |
| 91 | /-! |
| 92 | # Local holomorphic parametrizations of embedded manifold images |
| 93 | -/ |
| 94 | |
| 95 | open Set ChartedSpace |
| 96 | open scoped _root_.Manifold _root_.Topology |
| 97 | |
| 98 | theorem local_parametrization_of_manifold_image |
| 99 | {E F M : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 100 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 101 | [TopologicalSpace M] [ChartedSpace E M] [IsManifold (𝓘(ℂ, E)) 1 M] |
| 102 | {U : Set M} (hU : IsOpen U) {f : M → F} |
| 103 | (hf : MDifferentiableOn (𝓘(ℂ, E)) (𝓘(ℂ, F)) f U) |
| 104 | (hemb : Topology.IsEmbedding (fun z : U => f z)) |
| 105 | {x : M} (hx : x ∈ U) : |
| 106 | ∃ (O : Set F) (V : Set E) (g : E → F), |
| 107 | IsOpen O ∧ f x ∈ O ∧ IsOpen V ∧ DifferentiableOn ℂ g V ∧ |
| 108 | (f '' U) ∩ O ⊆ g '' V ∧ MapsTo g V (f '' U) ∧ InjOn g V := by |
| 109 | let e := chartAt E x |
| 110 | let V : Set E := e.target ∩ e.symm ⁻¹' U |
| 111 | let g : E → F := f ∘ e.symm |
| 112 | have he : e.MDifferentiable (𝓘(ℂ, E)) (𝓘(ℂ, E)) := mdifferentiable_chart x |
| 113 | have hV : IsOpen V := e.isOpen_inter_preimage_symm hU |
| 114 | have hxe : x ∈ e.source := mem_chart_source E x |
| 115 | have hg : DifferentiableOn ℂ g V := by |
| 116 | intro z hz |
| 117 | have hF := (hf _ hz.2).mdifferentiableAt (hU.mem_nhds hz.2) |
| 118 | exact ((hF.comp z (he.mdifferentiableAt_symm hz.1)).differentiableAt).differentiableWithinAt |
| 119 | have hemb_e : Topology.IsEmbedding (fun z : V => e.symm z) := |
| 120 | e.symm.isEmbedding_restrict.comp (Topology.IsEmbedding.inclusion inter_subset_left) |
| 121 | have hemb_g : Topology.IsEmbedding (fun z : V => g z) := |
| 122 | hemb.comp (hemb_e.codRestrict U (fun z => z.property.2)) |
| 123 | let W : Set U := {z | z.val ∈ e.source} |
| 124 | have hW : IsOpen W := e.open_source.preimage continuous_subtype_val |
| 125 | obtain ⟨O, hO, hOp⟩ := hemb.isInducing.isOpen_iff.mp hW |
| 126 | have hxO : f x ∈ O := by |
| 127 | change (⟨x, hx⟩ : U) ∈ (fun z : U => f z) ⁻¹' O |
| 128 | rw [hOp] |
| 129 | exact hxe |
| 130 | refine ⟨O, V, g, hO, hxO, hV, hg, ?_, ?_, ?_⟩ |
| 131 | · rintro y ⟨⟨a, ha, hay⟩, hy⟩ |
| 132 | have hae : a ∈ e.source := by |
| 133 | change (⟨a, ha⟩ : U) ∈ W |
| 134 | rw [← hOp] |
| 135 | change f a ∈ O |
| 136 | rw [hay] |
| 137 | exact hy |
| 138 | refine ⟨e a, ⟨e.map_source hae, ?_⟩, ?_⟩ |
| 139 | · simpa only [mem_preimage, e.left_inv hae] using ha |
| 140 | · simpa only [g, Function.comp_apply, e.left_inv hae] using hay |
| 141 | · intro z hz |
| 142 | exact ⟨e.symm z, hz.2, rfl⟩ |
| 143 | · intro z hz w hw hzw |
| 144 | exact congrArg Subtype.val (hemb_g.injective (a₁ := ⟨z, hz⟩) (a₂ := ⟨w, hw⟩) hzw) |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ManifoldImage.Constructions.Cone |