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.ArithmeticGeometry.Descent.CMVariety.ChartEndomorphismDerivative |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.MultiplicationDerivative |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.ParametricInverse |
| 4 | |
| 5 | /-! # Family Logarithm -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.FamilyLogarithm.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | Construct a continuous local logarithm from actual exponential coordinates |
| 15 | and smooth multiplication coordinates. The vertical derivative, its joint |
| 16 | continuity, and its identity value at zero are derived before applying the |
| 17 | uniform inverse construction. |
| 18 | -/ |
| 19 | |
| 20 | open Set _root_.Metric |
| 21 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 22 | |
| 23 | variable {P V : Type} |
| 24 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 25 | [NormedAddCommGroup V] [NormedSpace ℝ V] [CompleteSpace V] |
| 26 | (E G : P → Type) |
| 27 | [∀ p, NormedAddCommGroup (E p)] [∀ p, NormedSpace ℝ (E p)] |
| 28 | [∀ p, FiniteDimensional ℝ (E p)] [∀ p, CompleteSpace (E p)] |
| 29 | [∀ p, TopologicalSpace (G p)] [∀ p, ChartedSpace (E p) (G p)] |
| 30 | [∀ p, CommGroup (G p)] [∀ p, LieGroup (𝓘(ℝ, E p)) ∞ (G p)] [∀ p, T2Space (G p)] |
| 31 | |
| 32 | /-- A jointly continuous chart exponential with the actual smooth local |
| 33 | multiplication has a jointly continuous logarithm on a common neighborhood. |
| 34 | No separately continuous vertical derivative or inverse is required. -/ |
| 35 | theorem exists_continuous_chart_logarithm |
| 36 | (c : ∀ p, OpenPartialHomeomorph (G p) V) |
| 37 | (B : Set P) |
| 38 | (hc : ∀ p ∈ B, (c p).MDifferentiable (𝓘(ℝ, E p)) (𝓘(ℝ, V))) |
| 39 | (h1 : ∀ p ∈ B, (1 : G p) ∈ (c p).source) (h0 : ∀ p ∈ B, c p 1 = 0) |
| 40 | (Ω : Set (P × V)) (hΩ : IsOpen Ω) (p₀ : P) (hp₀ : (p₀, (0 : V)) ∈ Ω) |
| 41 | (hbase : ∀ q ∈ Ω, q.1 ∈ B) |
| 42 | (hinside : ∀ q ∈ Ω, ChartEndomorphismDerivative.Abelian.chartExponential (E := E q.1) (c q.1) q.2 ∈ (c q.1).source) |
| 43 | (hcont : ContinuousOn (fun q : P × V => c q.1 (ChartEndomorphismDerivative.Abelian.chartExponential (E := E q.1) (c q.1) q.2)) Ω) |
| 44 | (m : P × (V × V) → V) (D : Set (P × (V × V))) (hD : IsOpen D) |
| 45 | (hD₀ : (p₀, ((0 : V), 0)) ∈ D) (hm : ContDiffOn ℝ 2 m D) |
| 46 | (hcomparison : ∀ p ∈ B, ∀ u v, (p, (u, v)) ∈ D → |
| 47 | m (p, (u, v)) = c p ((c p).symm u * (c p).symm v)) : |
| 48 | let f := fun q : P × V => c q.1 (ChartEndomorphismDerivative.Abelian.chartExponential (E := E q.1) (c q.1) q.2) |
| 49 | ∃ (U : Set P) (δ : ℝ) (logarithm : P × V → V), |
| 50 | IsOpen U ∧ p₀ ∈ U ∧ 0 < δ ∧ U ×ˢ closedBall (0 : V) δ ⊆ Ω ∧ |
| 51 | ContinuousOn logarithm (U ×ˢ closedBall (0 : V) (δ / 2)) ∧ |
| 52 | (∀ p ∈ U, ∀ y ∈ closedBall (0 : V) (δ / 2), |
| 53 | logarithm (p, y) ∈ closedBall (0 : V) δ ∧ f (p, logarithm (p, y)) = y) ∧ |
| 54 | ∀ p ∈ U, ∀ v ∈ closedBall (0 : V) δ, |
| 55 | f (p, v) ∈ closedBall (0 : V) (δ / 2) → logarithm (p, f (p, v)) = v := by |
| 56 | dsimp only |
| 57 | let f := fun q : P × V => c q.1 (ChartEndomorphismDerivative.Abelian.chartExponential (E := E q.1) (c q.1) q.2) |
| 58 | let Ω' := Ω ∩ {q | (q.1, (f q, (0 : V))) ∈ D} |
| 59 | have hΩ' : IsOpen Ω' := |
| 60 | (continuousOn_fst.prodMk (hcont.prodMk continuousOn_const)).isOpen_inter_preimage hΩ hD |
| 61 | have hf₀ : f (p₀, 0) = 0 := by |
| 62 | change c p₀ (ChartEndomorphismDerivative.Abelian.chartExponential (E := E p₀) (c p₀) 0) = 0 |
| 63 | rw [ChartEndomorphismDerivative.Abelian.chartExponential_zero, h0 p₀ (hbase _ hp₀)] |
| 64 | have hp' : (p₀, (0 : V)) ∈ Ω' := by |
| 65 | refine ⟨hp₀, ?_⟩ |
| 66 | change (p₀, (f (p₀, 0), (0 : V))) ∈ D |
| 67 | rw [hf₀] |
| 68 | exact hD₀ |
| 69 | let derivative : P × V → V →L[ℝ] V := |
| 70 | fun q => fderiv ℝ (fun y => m (q.1, (f q, y))) 0 |
| 71 | have hdercont : ContinuousOn derivative Ω' := |
| 72 | (MultiplicationDerivative.Abelian.continuousOn_multiplication_derivative m D hD hm).comp |
| 73 | (continuousOn_fst.prodMk (hcont.mono inter_subset_left)) (fun _ hq => hq.2) |
| 74 | have hderiv (q : P × V) (hq : q ∈ Ω') : |
| 75 | HasFDerivAt (fun v => f (q.1, v)) (derivative q) q.2 := by |
| 76 | have hnative := ChartEndomorphismDerivative.Abelian.chartExponentialCoordinates_hasFDerivAt (E := E q.1) (c q.1) |
| 77 | (hc q.1 (hbase q hq.1)) (h1 q.1 (hbase q hq.1)) (h0 q.1 (hbase q hq.1)) |
| 78 | q.2 (hinside q hq.1) |
| 79 | have heq : (fun y => m (q.1, (f q, y))) =ᶠ[𝓝 (0 : V)] |
| 80 | (fun y => c q.1 ((c q.1).symm (f q) * (c q.1).symm y)) := by |
| 81 | have hmem := (continuous_const.prodMk (continuous_const.prodMk continuous_id)).continuousAt |
| 82 | |>.preimage_mem_nhds (hD.mem_nhds hq.2) |
| 83 | filter_upwards [hmem] with y hy |
| 84 | exact hcomparison q.1 (hbase q hq.1) (f q) y hy |
| 85 | apply hnative.congr_fderiv |
| 86 | exact heq.fderiv_eq.symm |
| 87 | have hzero (p : P) (hp : (p, (0 : V)) ∈ Ω') : f (p, 0) = 0 := by |
| 88 | change c p (ChartEndomorphismDerivative.Abelian.chartExponential (E := E p) (c p) 0) = 0 |
| 89 | rw [ChartEndomorphismDerivative.Abelian.chartExponential_zero, h0 p (hbase _ hp.1)] |
| 90 | have hid : derivative (p₀, 0) = ContinuousLinearMap.id ℝ V := |
| 91 | (hderiv (p₀, 0) hp').unique |
| 92 | (ChartEndomorphismDerivative.Abelian.chartExponentialCoordinates_hasFDerivAt_zero (E := E p₀) (c p₀) |
| 93 | (hc p₀ (hbase _ hp₀)) (h1 p₀ (hbase _ hp₀)) (h0 p₀ (hbase _ hp₀))) |
| 94 | obtain ⟨U, δ, logarithm, hU, hpU, hδ, hinto, hi, hr, hl⟩ := |
| 95 | ParametricInverse.Abelian.exists_local_continuous_parametric_inverse f derivative Ω' hΩ' p₀ hp' |
| 96 | (hcont.mono inter_subset_left) hdercont hderiv hzero hid |
| 97 | exact ⟨U, δ, logarithm, hU, hpU, hδ, hinto.trans inter_subset_left, hi, hr, hl⟩ |
| 98 | |
| 99 | end |
| 100 | |
| 101 | /-! |
| 102 | Apply the logarithm construction to fiber charts cut out of a single |
| 103 | total-space chart. This separates the native scheme application from |
| 104 | the analytic inverse proof without adding an inverse as a hypothesis. |
| 105 | -/ |
| 106 | |
| 107 | open Set _root_.Metric |
| 108 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 109 | |
| 110 | variable {P V X : Type} |
| 111 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 112 | [NormedAddCommGroup V] [NormedSpace ℝ V] [CompleteSpace V] [TopologicalSpace X] |
| 113 | (E G : P → Type) |
| 114 | [∀ p, NormedAddCommGroup (E p)] [∀ p, NormedSpace ℝ (E p)] |
| 115 | [∀ p, FiniteDimensional ℝ (E p)] [∀ p, CompleteSpace (E p)] |
| 116 | [∀ p, TopologicalSpace (G p)] [∀ p, ChartedSpace (E p) (G p)] |
| 117 | [∀ p, CommGroup (G p)] [∀ p, LieGroup (𝓘(ℝ, E p)) ∞ (G p)] [∀ p, T2Space (G p)] |
| 118 | |
| 119 | theorem exists_total_chart_logarithm |
| 120 | (c : ∀ p, OpenPartialHomeomorph (G p) V) (embed : ∀ p, G p → X) |
| 121 | (e : OpenPartialHomeomorph X (P × V)) (B : Set P) (hB : IsOpen B) (p₀ : P) (hp₀ : p₀ ∈ B) |
| 122 | (hc : ∀ p ∈ B, (c p).MDifferentiable (𝓘(ℝ, E p)) (𝓘(ℝ, V))) |
| 123 | (h1 : ∀ p ∈ B, (1 : G p) ∈ (c p).source) (h0 : ∀ p ∈ B, c p 1 = 0) |
| 124 | (hsource : ∀ p ∈ B, (c p).source = (embed p) ⁻¹' e.source) |
| 125 | (hforward : ∀ p ∈ B, ∀ z ∈ (c p).source, c p z = (e (embed p z)).2) |
| 126 | (hinverse : ∀ p ∈ B, ∀ v ∈ (c p).target, embed p ((c p).symm v) = e.symm (p, v)) |
| 127 | (U : Set (P × V)) (hU : IsOpen U) (hU₀ : (p₀, (0 : V)) ∈ U) |
| 128 | (hcont : ContinuousOn (fun q : P × V => embed q.1 (ChartEndomorphismDerivative.Abelian.chartExponential (E := E q.1) (c q.1) q.2)) U) |
| 129 | (m : P × (V × V) → V) (D : Set (P × (V × V))) (hD : IsOpen D) |
| 130 | (hD₀ : (p₀, ((0 : V), 0)) ∈ D) (hm : ContDiffOn ℝ 2 m D) |
| 131 | (hcomparison : ∀ p ∈ B, ∀ u v, (p, (u, v)) ∈ D → |
| 132 | m (p, (u, v)) = c p ((c p).symm u * (c p).symm v)) : |
| 133 | ∃ (W : Set P) (δ : ℝ) (logarithm : P × V → V), |
| 134 | IsOpen W ∧ p₀ ∈ W ∧ W ⊆ B ∧ 0 < δ ∧ |
| 135 | ContinuousOn logarithm (W ×ˢ closedBall (0 : V) (δ / 2)) ∧ |
| 136 | (∀ p ∈ W, ∀ y ∈ closedBall (0 : V) (δ / 2), |
| 137 | logarithm (p, y) ∈ closedBall (0 : V) δ ∧ |
| 138 | ChartEndomorphismDerivative.Abelian.chartExponential (E := E p) (c p) (logarithm (p, y)) ∈ (c p).source ∧ |
| 139 | embed p (ChartEndomorphismDerivative.Abelian.chartExponential (E := E p) (c p) (logarithm (p, y))) = e.symm (p, y)) ∧ |
| 140 | ∀ p ∈ W, ∀ v ∈ closedBall (0 : V) δ, |
| 141 | c p (ChartEndomorphismDerivative.Abelian.chartExponential (E := E p) (c p) v) ∈ closedBall (0 : V) (δ / 2) → |
| 142 | logarithm (p, c p (ChartEndomorphismDerivative.Abelian.chartExponential (E := E p) (c p) v)) = v := by |
| 143 | let φ := fun q : P × V => embed q.1 (ChartEndomorphismDerivative.Abelian.chartExponential (E := E q.1) (c q.1) q.2) |
| 144 | let U₁ := U ∩ {q : P × V | q.1 ∈ B} |
| 145 | have hU₁ : IsOpen U₁ := hU.inter (hB.preimage continuous_fst) |
| 146 | let Ω := U₁ ∩ φ ⁻¹' e.source |
| 147 | have hΩ : IsOpen Ω := (hcont.mono inter_subset_left).isOpen_inter_preimage hU₁ e.open_source |
| 148 | have hφ₀ : φ (p₀, 0) ∈ e.source := by |
| 149 | change embed p₀ (ChartEndomorphismDerivative.Abelian.chartExponential (E := E p₀) (c p₀) 0) ∈ e.source |
| 150 | rw [ChartEndomorphismDerivative.Abelian.chartExponential_zero] |
| 151 | have hs := h1 p₀ hp₀ |
| 152 | rw [hsource p₀ hp₀] at hs |
| 153 | exact hs |
| 154 | have hΩ₀ : (p₀, (0 : V)) ∈ Ω := ⟨⟨hU₀, hp₀⟩, hφ₀⟩ |
| 155 | have hinside (q : P × V) (hq : q ∈ Ω) : |
| 156 | ChartEndomorphismDerivative.Abelian.chartExponential (E := E q.1) (c q.1) q.2 ∈ (c q.1).source := by |
| 157 | rw [hsource q.1 hq.1.2] |
| 158 | exact hq.2 |
| 159 | have hcoord : ContinuousOn |
| 160 | (fun q : P × V => c q.1 (ChartEndomorphismDerivative.Abelian.chartExponential (E := E q.1) (c q.1) q.2)) Ω := by |
| 161 | have ht : ContinuousOn (fun q : P × V => (e (φ q)).2) Ω := |
| 162 | (e.continuousOn.comp (hcont.mono (fun _ hq => hq.1.1)) (fun _ hq => hq.2)).snd |
| 163 | apply ht.congr |
| 164 | intro q hq |
| 165 | exact hforward q.1 hq.1.2 _ (hinside q hq) |
| 166 | obtain ⟨W, δ, logarithm, hW, hpW, hδ, hinto, hlog, hright, hleft⟩ := |
| 167 | exists_continuous_chart_logarithm E G c B hc h1 h0 Ω hΩ p₀ hΩ₀ |
| 168 | (fun _ hq => hq.1.2) hinside hcoord m D hD hD₀ hm hcomparison |
| 169 | have hWB : W ⊆ B := by |
| 170 | intro p hp |
| 171 | have h := hinto (a := (p, (0 : V))) ⟨hp, mem_closedBall_self (le_of_lt hδ)⟩ |
| 172 | exact h.1.2 |
| 173 | refine ⟨W, δ, logarithm, hW, hpW, hWB, hδ, hlog, ?_, hleft⟩ |
| 174 | intro p hp y hy |
| 175 | have hin := hright p hp y hy |
| 176 | have hs := hinside (p, logarithm (p, y)) (hinto ⟨hp, hin.1⟩) |
| 177 | have ht : y ∈ (c p).target := hin.2 ▸ (c p).map_source hs |
| 178 | have heq : ChartEndomorphismDerivative.Abelian.chartExponential (E := E p) (c p) (logarithm (p, y)) = (c p).symm y := |
| 179 | ((c p).left_inv hs).symm.trans (congrArg (c p).symm hin.2) |
| 180 | exact ⟨hin.1, hs, (congrArg (embed p) heq).trans (hinverse p (hWB hp) y ht)⟩ |
| 181 | |
| 182 | end |
| 183 | |
| 184 | end OAI.ArithmeticGeometry.Descent.CMVariety.FamilyLogarithm.Abelian |