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.Analysis.DifferentialForms.Manifold.Algebra |
| 3 | import OAI.Analysis.DifferentialForms.Manifold.SquareZero |
| 4 | import Mathlib.Geometry.Manifold.MFDeriv.FDeriv |
| 5 | import Mathlib.Geometry.Manifold.ContMDiff.Atlas |
| 6 | |
| 7 | /-! # Charts -/ |
| 8 | |
| 9 | namespace OAI.Analysis.DifferentialForms.Manifold.Charts |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | Exterior differentiation of actual manifold forms through smooth charts. |
| 15 | The chart-transition formulas are proved from the manifold chain rule. |
| 16 | -/ |
| 17 | |
| 18 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 19 | open Set Filter |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | {M : Type*} [TopologicalSpace M] [ChartedSpace E M] |
| 23 | [IsManifold 𝓘(ℝ, E) ∞ M] |
| 24 | |
| 25 | /-- The actual tangent map of a chart, with its vector-space target identified. -/ |
| 26 | def chartTangentMap (e : OpenPartialHomeomorph M E) (x : M) : |
| 27 | TangentSpace 𝓘(ℝ, E) x →L[ℝ] E := |
| 28 | (NormedSpace.fromTangentSpace (e x)).toContinuousLinearMap.comp |
| 29 | (mfderiv 𝓘(ℝ, E) 𝓘(ℝ, E) e x) |
| 30 | |
| 31 | /-- The tangent map of the inverse chart, on the actual model tangent space. -/ |
| 32 | def chartInverseTangentMap (e : OpenPartialHomeomorph M E) (y : E) : |
| 33 | E →L[ℝ] TangentSpace 𝓘(ℝ, E) (e.symm y) := |
| 34 | (mfderiv 𝓘(ℝ, E) 𝓘(ℝ, E) e.symm y).comp |
| 35 | (NormedSpace.fromTangentSpace y).symm.toContinuousLinearMap |
| 36 | |
| 37 | theorem chartInverseTangentMap_comp (e : OpenPartialHomeomorph M E) |
| 38 | (he : e ∈ atlas E M) {x : M} (hx : x ∈ e.source) : |
| 39 | (chartInverseTangentMap e (e x)).comp (chartTangentMap e x) = |
| 40 | ContinuousLinearMap.id ℝ (TangentSpace 𝓘(ℝ, E) x) := by |
| 41 | have hd : e.MDifferentiable 𝓘(ℝ, E) 𝓘(ℝ, E) := mdifferentiable_of_mem_atlas he |
| 42 | ext v |
| 43 | exact congrArg (fun f => f v) (hd.symm_comp_deriv hx) |
| 44 | |
| 45 | theorem chartTangentMap_comp_inverse (e : OpenPartialHomeomorph M E) |
| 46 | (he : e ∈ atlas E M) {y : E} (hy : y ∈ e.target) : |
| 47 | (chartTangentMap e (e.symm y)).comp (chartInverseTangentMap e y) = |
| 48 | ContinuousLinearMap.id ℝ E := by |
| 49 | have hd : e.MDifferentiable 𝓘(ℝ, E) 𝓘(ℝ, E) := mdifferentiable_of_mem_atlas he |
| 50 | ext v |
| 51 | exact congrArg (fun f => f v) (hd.comp_symm_deriv hy) |
| 52 | |
| 53 | theorem fderiv_chart_transition (e f : OpenPartialHomeomorph M E) |
| 54 | (he : e ∈ atlas E M) (hf : f ∈ atlas E M) {y : E} |
| 55 | (hy : y ∈ e.target) (hfy : e.symm y ∈ f.source) : |
| 56 | fderiv ℝ (f ∘ e.symm) y = |
| 57 | (chartTangentMap f (e.symm y)).comp (chartInverseTangentMap e y) := by |
| 58 | have ht := mfderiv_comp (I := 𝓘(ℝ, E)) (I' := 𝓘(ℝ, E)) |
| 59 | (I'' := 𝓘(ℝ, E)) y |
| 60 | (mdifferentiableAt_atlas (I := 𝓘(ℝ, E)) hf hfy) |
| 61 | (mdifferentiableAt_atlas_symm (I := 𝓘(ℝ, E)) he hy) |
| 62 | rw [mfderiv_eq_fderiv] at ht |
| 63 | ext v |
| 64 | exact congrArg (fun g => g v) ht |
| 65 | |
| 66 | theorem contDiffAt_chart_transition (e f : OpenPartialHomeomorph M E) |
| 67 | (he : e ∈ atlas E M) (hf : f ∈ atlas E M) {y : E} |
| 68 | (hy : y ∈ e.target) (hfy : e.symm y ∈ f.source) : |
| 69 | ContDiffAt ℝ ∞ (f ∘ e.symm) y := by |
| 70 | have he' : ContMDiffAt 𝓘(ℝ, E) 𝓘(ℝ, E) ∞ e.symm y := |
| 71 | contMDiffAt_symm_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas he) hy |
| 72 | have hf' : ContMDiffAt 𝓘(ℝ, E) 𝓘(ℝ, E) ∞ f (e.symm y) := |
| 73 | contMDiffAt_of_mem_maximalAtlas (IsManifold.subset_maximalAtlas hf) hfy |
| 74 | exact (hf'.comp y he').contDiffAt |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.Analysis.DifferentialForms.Manifold.Charts |