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.Analysis.Calculus.ContDiff.Operations |
| 2 | import Mathlib.Analysis.Calculus.ContDiff.Comp |
| 3 | import Mathlib.Analysis.Normed.Operator.Banach |
| 4 | import Mathlib.Analysis.Complex.Basic |
| 5 | |
| 6 | /-! # Invariant Differential -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.InvariantDifferential |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The differential of an analytic group law in its last variable is |
| 13 | holomorphic. Near an invertible value its inverse is holomorphic as well. -/ |
| 14 | |
| 15 | open Set Filter |
| 16 | open scoped _root_.Topology ContDiff Classical |
| 17 | |
| 18 | variable {P V : Type} [NormedAddCommGroup P] [NormedSpace ℂ P] |
| 19 | [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 20 | |
| 21 | theorem contDiffOn_multiplication_differential |
| 22 | (m : P × (V × V) → V) (U : Set (P × (V × V))) |
| 23 | (hU : IsOpen U) (hm : ContDiffOn ℂ 3 m U) : |
| 24 | ContDiffOn ℂ 2 (fun q : P × V => fderiv ℂ (fun y => m (q.1, (q.2, y))) 0) |
| 25 | {q | (q.1, (q.2, (0 : V))) ∈ U} := by |
| 26 | intro q hq |
| 27 | let f : (P × V) → V → V := fun z y => m (z.1, (z.2, y)) |
| 28 | have hcoord : ContDiffAt ℂ 3 (fun z : (P × V) × V => (z.1.1, (z.1.2, z.2))) (q, 0) := by |
| 29 | fun_prop |
| 30 | have hf : ContDiffAt ℂ 3 (Function.uncurry f) (q, 0) := |
| 31 | (hm.contDiffAt (hU.mem_nhds hq)).comp (q, 0) hcoord |
| 32 | exact (hf.fderiv (g := fun _ => (0 : V)) contDiffAt_const |
| 33 | (by norm_num : (2 : ℕ∞ω) + 1 ≤ 3)).contDiffWithinAt |
| 34 | |
| 35 | theorem exists_holomorphic_inverse_differential_neighborhood [CompleteSpace V] |
| 36 | (B : P → V →L[ℂ] V) (U : Set P) (hU : IsOpen U) (hB : ContDiffOn ℂ 2 B U) |
| 37 | (p₀ : P) (hp₀ : p₀ ∈ U) (e₀ : V ≃L[ℂ] V) |
| 38 | (hcenter : B p₀ = e₀.toContinuousLinearMap) : |
| 39 | ∃ (W : Set P) (D : P → V ≃L[ℂ] V), IsOpen W ∧ p₀ ∈ W ∧ W ⊆ U ∧ |
| 40 | (∀ p ∈ W, (D p).toContinuousLinearMap = B p) ∧ |
| 41 | ContDiffOn ℂ 2 (fun p => (D p).symm.toContinuousLinearMap) W := by |
| 42 | have hmem : B ⁻¹' range (fun e : V ≃L[ℂ] V => e.toContinuousLinearMap) ∈ 𝓝 p₀ := by |
| 43 | apply (hB.continuousOn.continuousAt (hU.mem_nhds hp₀)).preimage_mem_nhds |
| 44 | rw [hcenter] |
| 45 | exact e₀.nhds |
| 46 | obtain ⟨W₀, hsub, hW₀, hpW₀⟩ := mem_nhds_iff.mp hmem |
| 47 | let W := U ∩ W₀ |
| 48 | have hW : IsOpen W := hU.inter hW₀ |
| 49 | have hchoice (p : P) : ∃ D : V ≃L[ℂ] V, p ∈ W → D.toContinuousLinearMap = B p := by |
| 50 | by_cases hp : p ∈ W |
| 51 | · obtain ⟨D, hD⟩ := hsub hp.2 |
| 52 | exact ⟨D, fun _ => hD⟩ |
| 53 | · exact ⟨e₀, fun h => (hp h).elim⟩ |
| 54 | choose D he using hchoice |
| 55 | have hI : ContDiffOn ℂ 2 (fun p => (B p).inverse) W := by |
| 56 | intro p hp |
| 57 | have hInv : ContDiffAt ℂ 2 ContinuousLinearMap.inverse (B p) := by |
| 58 | rw [← he p hp] |
| 59 | exact contDiffAt_map_inverse (D p) |
| 60 | exact hInv.comp_contDiffWithinAt p ((hB.mono inter_subset_left) p hp) |
| 61 | refine ⟨W, D, hW, ⟨hp₀, hpW₀⟩, inter_subset_left, he, hI.congr ?_⟩ |
| 62 | intro p hp |
| 63 | rw [← he p hp, ContinuousLinearMap.inverse_equiv] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.InvariantDifferential |