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.ContMDiffMFDeriv |
| 2 | |
| 3 | /-! # Immersion Chart Derivative -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionChartDerivative |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Derivatives in the preferred charts of a manifold without boundary |
| 11 | |
| 12 | These statements identify the coordinate derivative with the actual manifold |
| 13 | derivative. In particular, injectivity of the latter is the precise hypothesis |
| 14 | needed when applying the inverse function theorem in the preferred charts. |
| 15 | -/ |
| 16 | |
| 17 | open scoped _root_.Manifold ContDiff |
| 18 | open ChartedSpace |
| 19 | |
| 20 | variable {K E F M N : Type*} [NontriviallyNormedField K] |
| 21 | [NormedAddCommGroup E] [NormedSpace K E] |
| 22 | [NormedAddCommGroup F] [NormedSpace K F] |
| 23 | [TopologicalSpace M] [ChartedSpace E M] |
| 24 | [TopologicalSpace N] [ChartedSpace F N] |
| 25 | |
| 26 | /-- The map written in the preferred source and target charts. -/ |
| 27 | def preferredChartMap (f : M → N) (x : M) : E → F := |
| 28 | fun z ↦ chartAt F (f x) (f ((chartAt E x).symm z)) |
| 29 | |
| 30 | /-- With self models, manifold regularity is ordinary regularity in charts. -/ |
| 31 | theorem contDiffAt_preferredChartMap {f : M → N} {x : M} {r : ℕ∞ω} |
| 32 | (hf : ContMDiffAt 𝓘(K, E) 𝓘(K, F) r f x) : |
| 33 | ContDiffAt K r (preferredChartMap (E := E) (F := F) f x) (chartAt E x x) := by |
| 34 | unfold preferredChartMap |
| 35 | simpa only [extChartAt_coe, extChartAt_coe_symm, |
| 36 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 37 | Function.comp_def, id_eq, Set.range_id, contDiffWithinAt_univ] |
| 38 | using (contMDiffAt_iff.mp hf).2 |
| 39 | |
| 40 | set_option backward.isDefEq.respectTransparency false in |
| 41 | /-- The actual manifold derivative is the coordinate Fréchet derivative. -/ |
| 42 | theorem mfderiv_eq_preferredChartDerivative {f : M → N} {x : M} |
| 43 | (hf : MDifferentiableAt 𝓘(K, E) 𝓘(K, F) f x) : |
| 44 | (show E →L[K] F from mfderiv 𝓘(K, E) 𝓘(K, F) f x) = |
| 45 | fderiv K (preferredChartMap (E := E) (F := F) f x) (chartAt E x x) := by |
| 46 | unfold preferredChartMap |
| 47 | simpa only [writtenInExtChartAt, extChartAt_coe, |
| 48 | extChartAt_coe_symm, modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 49 | Function.comp_def, id_eq, Set.range_id, fderivWithin_univ] using hf.mfderiv_abuse |
| 50 | |
| 51 | set_option backward.isDefEq.respectTransparency false in |
| 52 | /-- Smoothness and an injective manifold derivative give the injective |
| 53 | coordinate derivative required for a local immersion normal form. -/ |
| 54 | theorem preferredChartDerivative_injective {f : M → N} {x : M} {r : ℕ∞ω} |
| 55 | (hf : ContMDiffAt 𝓘(K, E) 𝓘(K, F) r f x) (hr : r ≠ 0) |
| 56 | (hinj : Function.Injective (mfderiv 𝓘(K, E) 𝓘(K, F) f x)) : |
| 57 | Function.Injective (fderiv K (preferredChartMap (E := E) (F := F) f x) (chartAt E x x)) := by |
| 58 | rw [← mfderiv_eq_preferredChartDerivative (hf.mdifferentiableAt hr)] |
| 59 | exact hinj |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.ImmersionChartDerivative |