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.CycleClass.Geometric.ComplexNormalBlock |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Geometric.NormalPlaneNeighborhood |
| 4 | import Mathlib.Analysis.Calculus.FDeriv.Prod |
| 5 | import Mathlib.Analysis.Calculus.FDeriv.Congr |
| 6 | import Mathlib.Analysis.Calculus.FDeriv.OfCompLeft |
| 7 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 8 | import Mathlib.Geometry.Manifold.MFDeriv.FDeriv |
| 9 | |
| 10 | /-! # Normal Derivative -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.NormalDerivative.Cycles |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! |
| 17 | # Derivatives of genuine normal coordinate changes |
| 18 | |
| 19 | Restricting a differentiable map to the horizontal coordinate plane and |
| 20 | then projecting to its normal coordinate gives a locally zero map when |
| 21 | the original map preserves that plane. Uniqueness of the derivative makes |
| 22 | the lower-left derivative block zero. Applying the same argument to the |
| 23 | actual inverse proves the two preservation hypotheses needed by the |
| 24 | previously constructed complex normal-block equivalence. |
| 25 | -/ |
| 26 | |
| 27 | open Filter |
| 28 | open scoped _root_.Topology _root_.Manifold |
| 29 | |
| 30 | section GeneralDerivative |
| 31 | |
| 32 | variable {𝕜 : Type*} [NontriviallyNormedField 𝕜] |
| 33 | variable {E F G H : Type*} |
| 34 | variable [NormedAddCommGroup E] [NormedSpace 𝕜 E] |
| 35 | variable [NormedAddCommGroup F] [NormedSpace 𝕜 F] |
| 36 | variable [NormedAddCommGroup G] [NormedSpace 𝕜 G] |
| 37 | variable [NormedAddCommGroup H] [NormedSpace 𝕜 H] |
| 38 | |
| 39 | /-- The lower-left derivative block vanishes when the normal component |
| 40 | of the restriction to the horizontal plane is locally zero. -/ |
| 41 | theorem normalDerivative_lowerLeft_eq_zero |
| 42 | {Φ : E × F → G × H} {D : (E × F) →L[𝕜] (G × H)} |
| 43 | (hd : HasFDerivAt Φ D (0, 0)) |
| 44 | (hz : ∀ᶠ x : E in 𝓝 0, (Φ (x, 0)).2 = 0) : |
| 45 | (ContinuousLinearMap.snd 𝕜 G H).comp |
| 46 | (D.comp (ContinuousLinearMap.inl 𝕜 E F)) = 0 := by |
| 47 | have hin : HasFDerivAt (fun x : E => (x, (0 : F))) |
| 48 | (ContinuousLinearMap.inl 𝕜 E F) (0 : E) := |
| 49 | (ContinuousLinearMap.inl 𝕜 E F).hasFDerivAt |
| 50 | have hrestrict : HasFDerivAt (fun x : E => (Φ (x, 0)).2) |
| 51 | ((ContinuousLinearMap.snd 𝕜 G H).comp |
| 52 | (D.comp (ContinuousLinearMap.inl 𝕜 E F))) 0 := by |
| 53 | exact (hd.comp (0 : E) hin).snd |
| 54 | exact hrestrict.unique |
| 55 | ((hasFDerivAt_const (𝕜 := 𝕜) (0 : H) (0 : E)).congr_of_eventuallyEq hz) |
| 56 | |
| 57 | /-- Consequently the actual derivative maps every horizontal tangent |
| 58 | vector to a horizontal vector. -/ |
| 59 | theorem normalDerivative_preserves_horizontal |
| 60 | {Φ : E × F → G × H} {D : (E × F) →L[𝕜] (G × H)} |
| 61 | (hd : HasFDerivAt Φ D (0, 0)) |
| 62 | (hz : ∀ᶠ x : E in 𝓝 0, (Φ (x, 0)).2 = 0) (x : E) : |
| 63 | (D (x, 0)).2 = 0 := |
| 64 | congrArg (fun L : E →L[𝕜] H => L x) (normalDerivative_lowerLeft_eq_zero hd hz) |
| 65 | |
| 66 | /-- Actual source-plane preservation implies preservation by the |
| 67 | derivative; the neighborhood condition is derived from source openness. -/ |
| 68 | theorem normalCoordinateDerivative_preserves_horizontal |
| 69 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 70 | (D : (E × F) →L[𝕜] (E × F)) (h0 : (0, 0) ∈ e.source) |
| 71 | (hd : HasFDerivAt e D (0, 0)) |
| 72 | (hpres : ∀ z ∈ e.source, z.2 = 0 → (e z).2 = 0) : |
| 73 | ∀ x : E, (D (x, 0)).2 = 0 := |
| 74 | normalDerivative_preserves_horizontal hd |
| 75 | (NormalPlaneNeighborhood.Cycles.normalPlane_eventually_map_snd_eq_zero e h0 hpres) |
| 76 | |
| 77 | /-- The actual inverse has the inverse derivative at the origin. -/ |
| 78 | theorem normalCoordinateInverse_hasFDerivAt |
| 79 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 80 | (L : (E × F) ≃L[𝕜] (E × F)) (h0 : (0, 0) ∈ e.source) |
| 81 | (he0 : e (0, 0) = (0, 0)) (hd : HasFDerivAt e L.toContinuousLinearMap (0, 0)) : |
| 82 | HasFDerivAt e.symm L.symm.toContinuousLinearMap (0, 0) := by |
| 83 | apply e.hasFDerivAt_symm (NormalPlaneNeighborhood.Cycles.normalPlane_zero_mem_target e h0 he0) |
| 84 | simpa only [NormalPlaneNeighborhood.Cycles.normalPlane_symm_apply_zero e h0 he0] using hd |
| 85 | |
| 86 | /-- Actual preservation of the horizontal plane by the inverse gives |
| 87 | the corresponding preservation by the inverse derivative. -/ |
| 88 | theorem normalCoordinateInverseDerivative_preserves_horizontal |
| 89 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 90 | (L : (E × F) ≃L[𝕜] (E × F)) (h0 : (0, 0) ∈ e.source) |
| 91 | (he0 : e (0, 0) = (0, 0)) (hd : HasFDerivAt e L.toContinuousLinearMap (0, 0)) |
| 92 | (hpres : ∀ z ∈ e.target, z.2 = 0 → (e.symm z).2 = 0) : |
| 93 | ∀ x : E, (L.symm (x, 0)).2 = 0 := |
| 94 | normalDerivative_preserves_horizontal |
| 95 | (normalCoordinateInverse_hasFDerivAt e L h0 he0 hd) |
| 96 | (NormalPlaneNeighborhood.Cycles.normalPlane_eventually_symm_snd_eq_zero e h0 he0 hpres) |
| 97 | |
| 98 | /-- Exact preservation of the zero normal locus supplies both derivative |
| 99 | preservation laws, with no independent linear hypothesis. -/ |
| 100 | theorem normalCoordinateDerivative_horizontal_pair |
| 101 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 102 | (L : (E × F) ≃L[𝕜] (E × F)) (h0 : (0, 0) ∈ e.source) |
| 103 | (he0 : e (0, 0) = (0, 0)) (hd : HasFDerivAt e L.toContinuousLinearMap (0, 0)) |
| 104 | (hpres : ∀ z ∈ e.source, (e z).2 = 0 ↔ z.2 = 0) : |
| 105 | (∀ x : E, (L (x, 0)).2 = 0) ∧ (∀ x : E, (L.symm (x, 0)).2 = 0) := by |
| 106 | constructor |
| 107 | · exact normalCoordinateDerivative_preserves_horizontal e L.toContinuousLinearMap h0 hd |
| 108 | (fun z hz => (hpres z hz).mpr) |
| 109 | · exact normalDerivative_preserves_horizontal |
| 110 | (normalCoordinateInverse_hasFDerivAt e L h0 he0 hd) |
| 111 | (NormalPlaneNeighborhood.Cycles.normalPlane_eventually_symm_snd_eq_zero_of_iff e h0 he0 hpres) |
| 112 | |
| 113 | end GeneralDerivative |
| 114 | |
| 115 | variable {E F : Type*} |
| 116 | variable [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 117 | variable [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 118 | |
| 119 | /-- The genuine normal derivative is invertible, using the preservation |
| 120 | laws proved from the nonlinear map and its actual inverse. -/ |
| 121 | def normalCoordinateDerivativeBlock |
| 122 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 123 | (L : (E × F) ≃L[ℂ] (E × F)) (h0 : (0, 0) ∈ e.source) |
| 124 | (he0 : e (0, 0) = (0, 0)) (hd : HasFDerivAt e L.toContinuousLinearMap (0, 0)) |
| 125 | (hpres : ∀ z ∈ e.source, (e z).2 = 0 ↔ z.2 = 0) : F ≃L[ℂ] F := |
| 126 | Geometric.ComplexNormalBlock.Cycles.normalBlock L (normalCoordinateDerivative_horizontal_pair e L h0 he0 hd hpres).1 |
| 127 | (normalCoordinateDerivative_horizontal_pair e L h0 he0 hd hpres).2 |
| 128 | |
| 129 | @[simp] |
| 130 | theorem normalCoordinateDerivativeBlock_apply |
| 131 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 132 | (L : (E × F) ≃L[ℂ] (E × F)) (h0 : (0, 0) ∈ e.source) |
| 133 | (he0 : e (0, 0) = (0, 0)) (hd : HasFDerivAt e L.toContinuousLinearMap (0, 0)) |
| 134 | (hpres : ∀ z ∈ e.source, (e z).2 = 0 ↔ z.2 = 0) (y : F) : |
| 135 | normalCoordinateDerivativeBlock e L h0 he0 hd hpres y = (L (0, y)).2 := rfl |
| 136 | |
| 137 | @[simp] |
| 138 | theorem normalCoordinateDerivativeBlock_symm_apply |
| 139 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 140 | (L : (E × F) ≃L[ℂ] (E × F)) (h0 : (0, 0) ∈ e.source) |
| 141 | (he0 : e (0, 0) = (0, 0)) (hd : HasFDerivAt e L.toContinuousLinearMap (0, 0)) |
| 142 | (hpres : ∀ z ∈ e.source, (e z).2 = 0 ↔ z.2 = 0) (y : F) : |
| 143 | (normalCoordinateDerivativeBlock e L h0 he0 hd hpres).symm y = |
| 144 | (L.symm (0, y)).2 := rfl |
| 145 | |
| 146 | /-- The ambient derivative commutes with projection to the actual normal |
| 147 | block constructed above. -/ |
| 148 | theorem normalCoordinateDerivativeBlock_projection |
| 149 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 150 | (L : (E × F) ≃L[ℂ] (E × F)) (h0 : (0, 0) ∈ e.source) |
| 151 | (he0 : e (0, 0) = (0, 0)) (hd : HasFDerivAt e L.toContinuousLinearMap (0, 0)) |
| 152 | (hpres : ∀ z ∈ e.source, (e z).2 = 0 ↔ z.2 = 0) (z : E × F) : |
| 153 | (L z).2 = normalCoordinateDerivativeBlock e L h0 he0 hd hpres z.2 := |
| 154 | Geometric.ComplexNormalBlock.Cycles.normalBlock_projection L (normalCoordinateDerivative_horizontal_pair e L h0 he0 hd hpres).1 |
| 155 | (normalCoordinateDerivative_horizontal_pair e L h0 he0 hd hpres).2 z |
| 156 | |
| 157 | /-- The ambient derivative of a genuine differentiable local |
| 158 | homeomorphism, with invertibility derived from its differentiable inverse. -/ |
| 159 | def normalDiffeomorphDerivative |
| 160 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 161 | (he : e.MDifferentiable 𝓘(ℂ, E × F) 𝓘(ℂ, E × F)) (h0 : (0, 0) ∈ e.source) : |
| 162 | (E × F) ≃L[ℂ] (E × F) := |
| 163 | he.mfderiv h0 |
| 164 | |
| 165 | theorem normalDiffeomorphDerivative_coe |
| 166 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 167 | (he : e.MDifferentiable 𝓘(ℂ, E × F) 𝓘(ℂ, E × F)) (h0 : (0, 0) ∈ e.source) : |
| 168 | (normalDiffeomorphDerivative e he h0).toContinuousLinearMap = fderiv ℂ e (0, 0) := |
| 169 | mfderiv_eq_fderiv |
| 170 | |
| 171 | theorem normalDiffeomorphDerivative_hasFDerivAt |
| 172 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 173 | (he : e.MDifferentiable 𝓘(ℂ, E × F) 𝓘(ℂ, E × F)) (h0 : (0, 0) ∈ e.source) : |
| 174 | HasFDerivAt e (normalDiffeomorphDerivative e he h0).toContinuousLinearMap (0, 0) := by |
| 175 | rw [normalDiffeomorphDerivative_coe] |
| 176 | exact (he.mdifferentiableAt h0).differentiableAt.hasFDerivAt |
| 177 | |
| 178 | /-- A genuine complex local diffeomorphism preserving the normal zero |
| 179 | locus induces an invertible normal derivative, with no chosen derivative |
| 180 | or linear-preservation assumptions. -/ |
| 181 | def normalDiffeomorphBlock |
| 182 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 183 | (he : e.MDifferentiable 𝓘(ℂ, E × F) 𝓘(ℂ, E × F)) (h0 : (0, 0) ∈ e.source) |
| 184 | (he0 : e (0, 0) = (0, 0)) |
| 185 | (hpres : ∀ z ∈ e.source, (e z).2 = 0 ↔ z.2 = 0) : F ≃L[ℂ] F := |
| 186 | normalCoordinateDerivativeBlock e (normalDiffeomorphDerivative e he h0) h0 he0 |
| 187 | (normalDiffeomorphDerivative_hasFDerivAt e he h0) hpres |
| 188 | |
| 189 | theorem normalDiffeomorphBlock_apply |
| 190 | (e : OpenPartialHomeomorph (E × F) (E × F)) |
| 191 | (he : e.MDifferentiable 𝓘(ℂ, E × F) 𝓘(ℂ, E × F)) (h0 : (0, 0) ∈ e.source) |
| 192 | (he0 : e (0, 0) = (0, 0)) |
| 193 | (hpres : ∀ z ∈ e.source, (e z).2 = 0 ↔ z.2 = 0) (y : F) : |
| 194 | normalDiffeomorphBlock e he h0 he0 hpres y = (fderiv ℂ e (0, 0) (0, y)).2 := by |
| 195 | change ((normalDiffeomorphDerivative e he h0).toContinuousLinearMap (0, y)).2 = _ |
| 196 | rw [normalDiffeomorphDerivative_coe] |
| 197 | |
| 198 | end |
| 199 | |
| 200 | end OAI.AlgebraicGeometry.CycleClass.Geometric.NormalDerivative.Cycles |