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.ComplexOrientation |
| 3 | import Mathlib.Analysis.Complex.Basic |
| 4 | import Mathlib.Geometry.Manifold.MFDeriv.Atlas |
| 5 | import Mathlib.Geometry.Manifold.MFDeriv.FDeriv |
| 6 | import Mathlib.Analysis.Calculus.FDeriv.RestrictScalars |
| 7 | |
| 8 | /-! # Complex Chart Derivative -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexChartDerivative.Cycles |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # The actual complex derivative of a chart transition |
| 16 | |
| 17 | For charts of a complex differentiable manifold, the transition map and |
| 18 | its inverse are differentiable on their actual open domains. Mathlib's |
| 19 | derivative of a differentiable open partial homeomorphism therefore supplies |
| 20 | a complex continuous linear equivalence. We identify its underlying map |
| 21 | with the ordinary Frechet derivative, including after centering a transition |
| 22 | at zero. Its real determinant is positive. |
| 23 | -/ |
| 24 | |
| 25 | open scoped _root_.Manifold |
| 26 | |
| 27 | variable {E : Type} [NormedAddCommGroup E] |
| 28 | variable {M : Type} [TopologicalSpace M] |
| 29 | variable (e e' : OpenPartialHomeomorph M E) |
| 30 | |
| 31 | /-- A point in both chart sources gives a point in the actual transition |
| 32 | domain after applying the first chart. -/ |
| 33 | theorem complexChartTransition_mem_source (x : M) (hx : x ∈ e.source) |
| 34 | (hx' : x ∈ e'.source) : e x ∈ (e.symm.trans e').source := by |
| 35 | change e x ∈ e.target ∧ e.symm (e x) ∈ e'.source |
| 36 | exact ⟨e.map_source hx, by simpa only [e.left_inv hx] using hx'⟩ |
| 37 | |
| 38 | /-- The transition in coordinates centered at `z` and its image. -/ |
| 39 | def centeredComplexChartTransition (z : E) (v : E) : E := |
| 40 | (e.symm.trans e') (v + z) - (e.symm.trans e') z |
| 41 | |
| 42 | @[simp] |
| 43 | theorem centeredComplexChartTransition_zero (z : E) : |
| 44 | centeredComplexChartTransition e e' z 0 = 0 := by |
| 45 | simp [centeredComplexChartTransition] |
| 46 | |
| 47 | variable [NormedSpace ℂ E] [ChartedSpace E M] [IsManifold 𝓘(ℂ, E) 1 M] |
| 48 | variable (he : e ∈ atlas E M) (he' : e' ∈ atlas E M) |
| 49 | |
| 50 | include he he' in |
| 51 | /-- Actual chart transitions and their inverses are complex differentiable |
| 52 | on their source and target. -/ |
| 53 | theorem complexChartTransition_mdifferentiable : |
| 54 | (e.symm.trans e').MDifferentiable 𝓘(ℂ, E) 𝓘(ℂ, E) := |
| 55 | (mdifferentiable_of_mem_atlas (I := 𝓘(ℂ, E)) he).symm.trans |
| 56 | (mdifferentiable_of_mem_atlas (I := 𝓘(ℂ, E)) he') |
| 57 | |
| 58 | /-- The derivative of a complex chart transition is an actual invertible |
| 59 | complex continuous linear map. -/ |
| 60 | def complexChartTransitionDerivative (z : E) (hz : z ∈ (e.symm.trans e').source) : |
| 61 | E ≃L[ℂ] E := |
| 62 | (complexChartTransition_mdifferentiable e e' he he').mfderiv hz |
| 63 | |
| 64 | /-- The equivalence has the ordinary Frechet derivative as its underlying |
| 65 | continuous linear map. -/ |
| 66 | theorem complexChartTransitionDerivative_coe (z : E) |
| 67 | (hz : z ∈ (e.symm.trans e').source) : |
| 68 | (complexChartTransitionDerivative e e' he he' z hz : E →L[ℂ] E) = |
| 69 | fderiv ℂ (e.symm.trans e') z := |
| 70 | mfderiv_eq_fderiv |
| 71 | |
| 72 | /-- Differentiability of the actual transition with the specified |
| 73 | invertible derivative. -/ |
| 74 | theorem complexChartTransition_hasFDerivAt (z : E) |
| 75 | (hz : z ∈ (e.symm.trans e').source) : |
| 76 | HasFDerivAt (e.symm.trans e') |
| 77 | (complexChartTransitionDerivative e e' he he' z hz : E →L[ℂ] E) z := by |
| 78 | rw [complexChartTransitionDerivative_coe] |
| 79 | exact ((complexChartTransition_mdifferentiable e e' he he').mdifferentiableAt hz |
| 80 | ).differentiableAt.hasFDerivAt |
| 81 | |
| 82 | /-- Centering a genuine chart transition does not change its derivative. -/ |
| 83 | theorem centeredComplexChartTransition_hasFDerivAt (z : E) |
| 84 | (hz : z ∈ (e.symm.trans e').source) : |
| 85 | HasFDerivAt (centeredComplexChartTransition e e' z) |
| 86 | (complexChartTransitionDerivative e e' he he' z hz : E →L[ℂ] E) 0 := by |
| 87 | change HasFDerivAt (fun v : E => (e.symm.trans e') (v + z) - (e.symm.trans e') z) _ 0 |
| 88 | have hd : HasFDerivAt (e.symm.trans e') |
| 89 | (complexChartTransitionDerivative e e' he he' z hz : E →L[ℂ] E) (0 + z) := by |
| 90 | simpa only [zero_add] using complexChartTransition_hasFDerivAt e e' he he' z hz |
| 91 | simpa only [Function.comp_def, id_eq, |
| 92 | ContinuousLinearMap.comp_id] using |
| 93 | (hd.comp 0 ((hasFDerivAt_id (𝕜 := ℂ) (0 : E)).add_const z)).sub_const |
| 94 | ((e.symm.trans e') z) |
| 95 | |
| 96 | variable [NormedSpace ℝ E] [IsScalarTower ℝ ℂ E] |
| 97 | |
| 98 | /-- The derivative used for the local real homology comparison is the |
| 99 | restriction of the genuine complex derivative. -/ |
| 100 | theorem centeredComplexChartTransition_hasRealFDerivAt (z : E) |
| 101 | (hz : z ∈ (e.symm.trans e').source) : |
| 102 | HasFDerivAt (centeredComplexChartTransition e e' z) |
| 103 | ((complexChartTransitionDerivative e e' he he' z hz).restrictScalars ℝ : E →L[ℝ] E) |
| 104 | 0 := |
| 105 | (centeredComplexChartTransition_hasFDerivAt e e' he he' z hz).restrictScalars ℝ |
| 106 | |
| 107 | /-- Every actual complex chart transition has positive real determinant |
| 108 | at every point of its transition domain. -/ |
| 109 | theorem complexChartTransitionDerivative_realDet_pos (z : E) |
| 110 | (hz : z ∈ (e.symm.trans e').source) : |
| 111 | 0 < LinearMap.det |
| 112 | ((complexChartTransitionDerivative e e' he he' z hz).restrictScalars ℝ).toLinearMap := |
| 113 | ComplexOrientation.complexLinearEquiv_realDet_pos |
| 114 | (complexChartTransitionDerivative e e' he he' z hz).toLinearEquiv |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.CycleClass.Geometric.ComplexChartDerivative.Cycles |