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.PeriodContinuation |
| 2 | import Mathlib.Analysis.Complex.Basic |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.Prod |
| 4 | import Mathlib.Analysis.Calculus.FDeriv.Add |
| 5 | |
| 6 | /-! # Holomorphic Period Extension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.HolomorphicPeriodExtension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual local logarithm continues a central period |
| 13 | holomorphically, with its exact central value and exponential equation. -/ |
| 14 | |
| 15 | open Set _root_.Metric Filter |
| 16 | open scoped _root_.Topology |
| 17 | |
| 18 | variable {P V X : Type} |
| 19 | [NormedAddCommGroup P] [NormedSpace ℂ P] |
| 20 | [NormedAddCommGroup V] [NormedSpace ℂ V] [TopologicalSpace X] |
| 21 | (G : P → Type) [∀ p, Group (G p)] |
| 22 | |
| 23 | theorem exists_holomorphic_period_extension |
| 24 | (exponential : ∀ p, V → G p) |
| 25 | (hadd : ∀ p u v, exponential p (u + v) = exponential p u * exponential p v) |
| 26 | (embed : ∀ p, G p → X) (hembed : ∀ p, Function.Injective (embed p)) |
| 27 | (e : OpenPartialHomeomorph X (P × V)) |
| 28 | (B : Set P) (hB : IsOpen B) (p₀ : P) (hp₀ : p₀ ∈ B) |
| 29 | (r : ℝ) (hr : 0 < r) (logarithm : P × V → V) |
| 30 | (hlog : DifferentiableOn ℂ logarithm (B ×ˢ ball (0 : V) r)) |
| 31 | (hlog₀ : logarithm (p₀, 0) = 0) |
| 32 | (hright : ∀ p ∈ B, ∀ y ∈ ball (0 : V) r, |
| 33 | embed p (exponential p (logarithm (p, y))) = e.symm (p, y)) |
| 34 | (v₀ : V) (hperiod : exponential p₀ v₀ = 1) |
| 35 | (hsource : ∀ p ∈ B, embed p (exponential p v₀) ∈ e.source) |
| 36 | (hprojection : ∀ p ∈ B, (e (embed p (exponential p v₀))).1 = p) |
| 37 | (hunit₀ : e (embed p₀ 1) = (p₀, 0)) |
| 38 | (hhol : DifferentiableOn ℂ (fun p => (e (embed p (exponential p v₀))).2) B) : |
| 39 | ∃ (U : Set P) (period : P → V), IsOpen U ∧ p₀ ∈ U ∧ U ⊆ B ∧ |
| 40 | DifferentiableOn ℂ period U ∧ period p₀ = v₀ ∧ |
| 41 | ∀ p ∈ U, exponential p (period p) = 1 := by |
| 42 | let φ := fun p => embed p (exponential p v₀) |
| 43 | let z := fun p => (e (φ p)).2 |
| 44 | have hz₀ : z p₀ = 0 := by |
| 45 | dsimp only [z, φ] |
| 46 | rw [hperiod, hunit₀] |
| 47 | let U := B ∩ z ⁻¹' ball (0 : V) r |
| 48 | have hU : IsOpen U := hhol.continuousOn.isOpen_inter_preimage hB isOpen_ball |
| 49 | have hpU : p₀ ∈ U := ⟨hp₀, hz₀ ▸ mem_ball_self hr⟩ |
| 50 | let period := fun p => v₀ - logarithm (p, z p) |
| 51 | have hdiff : DifferentiableOn ℂ period U := (differentiableOn_const v₀).sub |
| 52 | (hlog.comp (differentiableOn_id.prodMk (hhol.mono inter_subset_left)) |
| 53 | (fun p hp => ⟨hp.1, hp.2⟩)) |
| 54 | have hcenter : period p₀ = v₀ := by |
| 55 | dsimp only [period] |
| 56 | rw [hz₀, hlog₀, sub_zero] |
| 57 | refine ⟨U, period, hU, hpU, inter_subset_left, hdiff, hcenter, ?_⟩ |
| 58 | intro p hp |
| 59 | have he : e (φ p) = (p, z p) := Prod.ext (hprojection p hp.1) rfl |
| 60 | have hinv : e.symm (p, z p) = φ p := by rw [← he, e.left_inv (hsource p hp.1)] |
| 61 | have hexp : exponential p (logarithm (p, z p)) = exponential p v₀ := |
| 62 | hembed p ((hright p hp.1 (z p) hp.2).trans hinv) |
| 63 | have h := hadd p (v₀ - logarithm (p, z p)) (logarithm (p, z p)) |
| 64 | rw [sub_add_cancel, hexp] at h |
| 65 | apply mul_right_cancel (b := exponential p v₀) |
| 66 | exact h.symm.trans (one_mul _).symm |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.HolomorphicPeriodExtension |