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.ExponentialChartODE |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.MultiplicationFieldFlow |
| 3 | import OAI.ArithmeticGeometry.Descent.CMVariety.FlowNeighborhoods |
| 4 | |
| 5 | /-! # Local Exponential Family -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.LocalExponentialFamily.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Construct continuous relative exponentials from local multiplication |
| 13 | coordinates. The common flow, its containment in the chart, and its |
| 14 | identification with the actual invariant exponential are all proved. |
| 15 | -/ |
| 16 | |
| 17 | open Set _root_.Metric |
| 18 | open scoped _root_.Manifold ContDiff _root_.Topology NNReal |
| 19 | |
| 20 | variable {P V X : Type} |
| 21 | [NormedAddCommGroup P] [NormedSpace ℝ P] [CompleteSpace P] |
| 22 | [NormedAddCommGroup V] [NormedSpace ℝ V] [CompleteSpace V] |
| 23 | [TopologicalSpace X] |
| 24 | (E G : P → Type) |
| 25 | [∀ p, NormedAddCommGroup (E p)] [∀ p, NormedSpace ℝ (E p)] [∀ p, CompleteSpace (E p)] |
| 26 | [∀ p, TopologicalSpace (G p)] [∀ p, ChartedSpace (E p) (G p)] |
| 27 | [∀ p, Group (G p)] [∀ p, LieGroup (𝓘(ℝ, E p)) ∞ (G p)] [∀ p, T2Space (G p)] |
| 28 | |
| 29 | /-- A jointly smooth local multiplication constructs a jointly continuous |
| 30 | actual exponential near the identity section, even when the native fiber |
| 31 | models vary with the parameter. -/ |
| 32 | theorem exists_continuous_local_exponential_family |
| 33 | (c : ∀ p, OpenPartialHomeomorph (G p) V) |
| 34 | (embed : ∀ p, G p → X) (coordinates : P × V → X) |
| 35 | (U : Set P) (hU : IsOpen U) (p₀ : P) (hp₀ : p₀ ∈ U) |
| 36 | (Ω : Set (P × V)) (hΩ : IsOpen Ω) (hΩ₀ : (p₀, 0) ∈ Ω) |
| 37 | (hc : ∀ p ∈ U, (c p).MDifferentiable (𝓘(ℝ, E p)) (𝓘(ℝ, V))) |
| 38 | (h1 : ∀ p ∈ U, (1 : G p) ∈ (c p).source) |
| 39 | (h0 : ∀ p ∈ U, c p 1 = 0) |
| 40 | (htarget : ∀ p ∈ U, (c p).target = {v | (p, v) ∈ Ω}) |
| 41 | (hcoordinates : ContinuousOn coordinates Ω) |
| 42 | (hinverse : ∀ p ∈ U, ∀ v ∈ (c p).target, embed p ((c p).symm v) = coordinates (p, v)) |
| 43 | (m : P × (V × V) → V) (hm : ContDiffAt ℝ 2 m (p₀, (0, 0))) |
| 44 | (D : Set (P × (V × V))) (hD : IsOpen D) (hD₀ : (p₀, (0, 0)) ∈ D) |
| 45 | (hcomparison : ∀ p ∈ U, ∀ u v, (p, (u, v)) ∈ D → |
| 46 | m (p, (u, v)) = c p ((c p).symm u * (c p).symm v)) : |
| 47 | ∃ r : ℝ≥0, 0 < r ∧ ∃ ε : ℝ, 0 < ε ∧ |
| 48 | (∀ q ∈ closedBall (p₀, (0 : V)) r, q.1 ∈ U) ∧ |
| 49 | ContinuousOn |
| 50 | (fun z : (P × V) × ℝ => embed z.1.1 |
| 51 | (AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExponentialM.Constructions.Exponential.exp (E := E z.1.1) (z.2 • ExponentialChartODE.Abelian.chartVelocity (E := E z.1.1) (c z.1.1) z.1.2))) |
| 52 | (closedBall (p₀, (0 : V)) r ×ˢ Ioo (-ε) ε) := by |
| 53 | obtain ⟨r, hr, ε, hε, flow, hflow, hf⟩ := |
| 54 | MultiplicationFieldFlow.Abelian.exists_continuous_multiplicationField_flow m p₀ hm |
| 55 | let W : Set ((P × V) × V) := |
| 56 | {z | z.1.1 ∈ U ∧ (z.1.1, z.2) ∈ Ω ∧ (z.1.1, (z.2, 0)) ∈ D} |
| 57 | have hW : IsOpen W := |
| 58 | (hU.preimage continuous_fst.fst).inter |
| 59 | ((hΩ.preimage (continuous_fst.fst.prodMk continuous_snd)).inter |
| 60 | (hD.preimage (continuous_fst.fst.prodMk (continuous_snd.prodMk continuous_const)))) |
| 61 | have hW₀ : ((p₀, (0 : V)), (0 : V)) ∈ W := ⟨hp₀, hΩ₀, hD₀⟩ |
| 62 | obtain ⟨r', hr', hrr, ε', hε', hεε, hinto⟩ := FlowNeighborhoods.Abelian.exists_uniform_flow_neighborhood |
| 63 | flow (p₀, 0) r hr ε hε hflow (hf _ (mem_closedBall_self (le_of_lt hr))).1 W hW hW₀ |
| 64 | have hball : closedBall (p₀, (0 : V)) (r' : ℝ) ⊆ closedBall (p₀, (0 : V)) (r : ℝ) := |
| 65 | closedBall_subset_closedBall hrr |
| 66 | have htime : Ioo (-ε') ε' ⊆ Ioo (-ε) ε := Ioo_subset_Ioo (neg_le_neg hεε) hεε |
| 67 | have ht0 : (0 : ℝ) ∈ Ioo (-ε') ε' := ⟨by linarith, hε'⟩ |
| 68 | have hbase (q : P × V) (hq : q ∈ closedBall (p₀, (0 : V)) r') : q.1 ∈ U := |
| 69 | (hinto q hq 0 ht0).1 |
| 70 | have htarget' (q : P × V) (hq : q ∈ closedBall (p₀, (0 : V)) r') |
| 71 | (t : ℝ) (ht : t ∈ Ioo (-ε') ε') : flow (q, t) ∈ (c q.1).target := by |
| 72 | rw [htarget q.1 (hbase q hq)] |
| 73 | exact (hinto q hq t ht).2.1 |
| 74 | have hderiv (q : P × V) (hq : q ∈ closedBall (p₀, (0 : V)) r') |
| 75 | (t : ℝ) (ht : t ∈ Ioo (-ε') ε') : |
| 76 | HasDerivAt (fun τ => flow (q, τ)) |
| 77 | (fderiv ℝ (fun y => c q.1 ((c q.1).symm (flow (q, t)) * (c q.1).symm y)) 0 q.2) t := by |
| 78 | have hd : (q.1, (flow (q, t), (0 : V))) ∈ D := (hinto q hq t ht).2.2 |
| 79 | have heq : (fun y => m (q.1, (flow (q, t), y))) =ᶠ[𝓝 (0 : V)] |
| 80 | (fun y => c q.1 ((c q.1).symm (flow (q, t)) * (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 hd) |
| 83 | filter_upwards [hmem] with y hy |
| 84 | exact hcomparison q.1 (hbase q hq) (flow (q, t)) y hy |
| 85 | rw [← heq.fderiv_eq] |
| 86 | exact (hf q (hball hq)).2 t (htime ht) |
| 87 | have hcont : ContinuousOn (fun z : (P × V) × ℝ => coordinates (z.1.1, flow z)) |
| 88 | (closedBall (p₀, (0 : V)) r' ×ˢ Ioo (-ε') ε') := |
| 89 | hcoordinates.comp |
| 90 | (continuousOn_fst.fst.prodMk (hflow.mono (prod_mono hball htime))) |
| 91 | (fun z hz => (hinto z.1 hz.1 z.2 hz.2).2.1) |
| 92 | refine ⟨r', hr', ε', hε', hbase, hcont.congr ?_⟩ |
| 93 | rintro ⟨q, t⟩ ⟨hq, ht⟩ |
| 94 | have heq := ExponentialChartODE.Abelian.chartODE_eq_exponential (E := E q.1) (c q.1) |
| 95 | (hc q.1 (hbase q hq)) (h1 q.1 (hbase q hq)) (h0 q.1 (hbase q hq)) |
| 96 | q.2 (fun τ => flow (q, τ)) ε' hε' (hf q (hball hq)).1 |
| 97 | (htarget' q hq) (hderiv q hq) t ht |
| 98 | exact (congrArg (embed q.1) heq).symm.trans |
| 99 | (hinverse q.1 (hbase q hq) (flow (q, t)) (htarget' q hq t ht)) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.ArithmeticGeometry.Descent.CMVariety.LocalExponentialFamily.Abelian |