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.ComplexGroups.HolomorphicAlgebraicity.HolomorphicRegularity |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.LinearImmersionComplement |
| 4 | |
| 5 | /-! # Immersion -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Immersion |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Holomorphic normal charts from injective derivatives |
| 13 | |
| 14 | Adjoining complementary linear directions turns an injective derivative into |
| 15 | an invertible derivative. The checked holomorphic inverse theorem then gives |
| 16 | actual local normal coordinates. |
| 17 | -/ |
| 18 | |
| 19 | open Set |
| 20 | open scoped _root_.Topology |
| 21 | |
| 22 | namespace Constructions.Regularity |
| 23 | |
| 24 | /-- An injective derivative supplies a holomorphic chart on the ambient |
| 25 | space whose zero slice is the given map. -/ |
| 26 | theorem exists_holomorphic_normal_chart |
| 27 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 28 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 29 | {f : E → F} {U : Set E} (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) |
| 30 | {x : E} (hx : x ∈ U) (hinj : Function.Injective (fderiv ℂ f x)) : |
| 31 | ∃ (C : Submodule ℂ F) (q : OpenPartialHomeomorph (E × C) F), |
| 32 | (x, 0) ∈ q.source ∧ |
| 33 | (∀ z, q z = f z.1 + (z.2 : F)) ∧ |
| 34 | DifferentiableOn ℂ q q.source ∧ DifferentiableOn ℂ q.symm q.target := by |
| 35 | obtain ⟨C, e, he⟩ := ComplexPoints.Analytic.LinearImmersionComplement.exists_linearImmersionComplement |
| 36 | (fderiv ℂ f x) hinj |
| 37 | let g : E × C → F := fun z => f z.1 + (z.2 : F) |
| 38 | have hfst : Differentiable ℂ (Prod.fst : E × C → E) := differentiable_fst |
| 39 | have hsnd : Differentiable ℂ (Prod.snd : E × C → C) := differentiable_snd |
| 40 | have hg : DifferentiableOn ℂ g (Prod.fst ⁻¹' U) := |
| 41 | (hf.comp hfst.differentiableOn (mapsTo_preimage Prod.fst U)).add |
| 42 | (C.subtypeL.differentiable.comp hsnd).differentiableOn |
| 43 | have hderiv : HasFDerivAt g |
| 44 | ((fderiv ℂ f x).comp (ContinuousLinearMap.fst ℂ E C) + |
| 45 | C.subtypeL.comp (ContinuousLinearMap.snd ℂ E C)) (x, 0) := by |
| 46 | exact ((hf.differentiableAt (hU.mem_nhds hx)).hasFDerivAt.comp |
| 47 | (x, 0) hasFDerivAt_fst).add |
| 48 | (C.subtypeL.hasFDerivAt.comp (x, 0) hasFDerivAt_snd) |
| 49 | have heq : (fderiv ℂ f x).comp (ContinuousLinearMap.fst ℂ E C) + |
| 50 | C.subtypeL.comp (ContinuousLinearMap.snd ℂ E C) = e.toContinuousLinearMap := by |
| 51 | apply ContinuousLinearMap.ext |
| 52 | intro z |
| 53 | exact (he z).symm |
| 54 | rw [heq] at hderiv |
| 55 | obtain ⟨q, hxq, hqg, hq, hqi⟩ := HolomorphicRegularity.Constructions.Regularity.exists_holomorphic_localInverse |
| 56 | (hU.preimage continuous_fst) hg hx e hderiv.fderiv |
| 57 | exact ⟨C, q, hxq, fun z => congrFun hqg z, hq, hqi⟩ |
| 58 | |
| 59 | end Constructions.Regularity |
| 60 | |
| 61 | namespace Constructions.Cone |
| 62 | |
| 63 | /-- A holomorphic map to a finite-dimensional complex space gives finitely |
| 64 | many scalar holomorphic equations for its zero locus. -/ |
| 65 | theorem holomorphicZeroSetAt_zero |
| 66 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 67 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 68 | {f : E → F} {U : Set E} (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) |
| 69 | {x : E} (hx : x ∈ U) : ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt {z | f z = 0} x := by |
| 70 | let e := (Module.finBasis ℂ F).equivFunL |
| 71 | refine ⟨U, hU, hx, Module.finrank ℂ F, (fun i z => e (f z) i), (fun i => ?_), ?_⟩ |
| 72 | · have heval : Differentiable ℂ |
| 73 | (fun z : Fin (Module.finrank ℂ F) → ℂ => z i) := differentiable_apply i |
| 74 | exact heval.comp_differentiableOn (e.differentiable.comp_differentiableOn hf) |
| 75 | · intro z _ |
| 76 | constructor |
| 77 | · intro hz i |
| 78 | simp only [mem_ofPred_eq] at hz |
| 79 | simp only [hz, map_zero, Pi.zero_apply] |
| 80 | · intro hz |
| 81 | change f z = 0 |
| 82 | apply e.injective |
| 83 | ext i |
| 84 | simpa only [map_zero, Pi.zero_apply] using hz i |
| 85 | |
| 86 | /-- A holomorphic embedding of an open finite-dimensional coordinate domain |
| 87 | has a locally holomorphic image. The normal equations are constructed from |
| 88 | the inverse normal chart and its complementary coordinates. -/ |
| 89 | theorem holomorphicZeroSetAt_image_of_embedding |
| 90 | {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 91 | [NormedAddCommGroup F] [NormedSpace ℂ F] [FiniteDimensional ℂ F] |
| 92 | {f : E → F} {U : Set E} (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) |
| 93 | (hemb : Topology.IsEmbedding (fun z : U => f z)) {x : E} (hx : x ∈ U) |
| 94 | (hinj : Function.Injective (fderiv ℂ f x)) : |
| 95 | ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt (f '' U) (f x) := by |
| 96 | obtain ⟨C, q, hxq, hqmap, _, hqi⟩ := |
| 97 | Regularity.exists_holomorphic_normal_chart hU hf hx hinj |
| 98 | have hxqf : q (x, 0) = f x := by simpa only [ZeroMemClass.coe_zero, add_zero] using hqmap (x, 0) |
| 99 | have hxT : f x ∈ q.target := hxqf ▸ q.map_source hxq |
| 100 | have hxinv : q.symm (f x) = (x, 0) := by |
| 101 | rw [← hxqf] |
| 102 | exact q.left_inv hxq |
| 103 | let W : Set U := {z | (z.val, (0 : C)) ∈ q.source} |
| 104 | have hW : IsOpen W := q.open_source.preimage |
| 105 | (continuous_subtype_val.prodMk continuous_const) |
| 106 | obtain ⟨O, hO, hOp⟩ := hemb.isInducing.isOpen_iff.mp hW |
| 107 | have hxO : f x ∈ O := by |
| 108 | change (⟨x, hx⟩ : U) ∈ (fun z : U => f z) ⁻¹' O |
| 109 | rw [hOp] |
| 110 | exact hxq |
| 111 | let V : Set F := (q.target ∩ q.symm ⁻¹' (Prod.fst ⁻¹' U)) ∩ O |
| 112 | have hV : IsOpen V := |
| 113 | (hqi.continuousOn.isOpen_inter_preimage q.open_target |
| 114 | (hU.preimage continuous_fst)).inter hO |
| 115 | have hxV : f x ∈ V := ⟨⟨hxT, by simpa only [mem_preimage, hxinv] using hx⟩, hxO⟩ |
| 116 | have hsnd : Differentiable ℂ (Prod.snd : E × C → C) := differentiable_snd |
| 117 | have hzero := holomorphicZeroSetAt_zero q.open_target |
| 118 | (hsnd.comp_differentiableOn hqi) hxT |
| 119 | apply hzero.congr |
| 120 | filter_upwards [hV.mem_nhds hxV] with y hy |
| 121 | constructor |
| 122 | · rintro ⟨z, hzU, hzy⟩ |
| 123 | have hzW : (z, (0 : C)) ∈ q.source := by |
| 124 | change (⟨z, hzU⟩ : U) ∈ W |
| 125 | rw [← hOp] |
| 126 | change f z ∈ O |
| 127 | rw [hzy] |
| 128 | exact hy.2 |
| 129 | have hqzy : q (z, 0) = y := by |
| 130 | simpa only [ZeroMemClass.coe_zero, add_zero, hzy] using hqmap (z, 0) |
| 131 | have hinvy : q.symm y = (z, 0) := by |
| 132 | rw [← hqzy] |
| 133 | exact q.left_inv hzW |
| 134 | change (q.symm y).2 = 0 |
| 135 | rw [hinvy] |
| 136 | · intro hz |
| 137 | change (q.symm y).2 = 0 at hz |
| 138 | refine ⟨(q.symm y).1, hy.1.2, ?_⟩ |
| 139 | have heq := q.right_inv hy.1.1 |
| 140 | rw [hqmap, hz] at heq |
| 141 | simpa only [ZeroMemClass.coe_zero, add_zero] using heq |
| 142 | |
| 143 | end Constructions.Cone |
| 144 | |
| 145 | end |
| 146 | |
| 147 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Immersion |