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.Normed.Module.Basic |
| 3 | |
| 4 | /-! # Logarithmic Torsion Rigidity -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.LogarithmicTorsionRigidity.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | A torsion section with a continuous logarithm tending to zero is locally |
| 12 | the identity when the actual exponential kernels have a common gap at |
| 13 | zero. This is the local uniqueness step for finite level structures. |
| 14 | -/ |
| 15 | |
| 16 | open Set _root_.Metric |
| 17 | open scoped _root_.Topology |
| 18 | |
| 19 | /-- The common relative logarithm applies to every continuous section |
| 20 | through the identity, using its actual total-space coordinates. -/ |
| 21 | theorem exists_continuous_section_logarithm |
| 22 | {P V X : Type} [TopologicalSpace P] [NormedAddCommGroup V] [TopologicalSpace X] |
| 23 | (G : P → Type) [∀ p, Group (G p)] |
| 24 | (exponential : ∀ p, V → G p) |
| 25 | (embed : ∀ p, G p → X) (hembed : ∀ p, Function.Injective (embed p)) |
| 26 | (e : OpenPartialHomeomorph X (P × V)) |
| 27 | (B : Set P) (hB : IsOpen B) (p₀ : P) (hp₀ : p₀ ∈ B) |
| 28 | (δ : ℝ) (hδ : 0 < δ) (logarithm : P × V → V) |
| 29 | (hlog : ContinuousOn logarithm (B ×ˢ closedBall (0 : V) (δ / 2))) |
| 30 | (hlog₀ : logarithm (p₀, 0) = 0) |
| 31 | (hright : ∀ p ∈ B, ∀ y ∈ closedBall (0 : V) (δ / 2), |
| 32 | embed p (exponential p (logarithm (p, y))) = e.symm (p, y)) |
| 33 | (hprojection : ∀ p ∈ B, ∀ z : G p, embed p z ∈ e.source → |
| 34 | (e (embed p z)).1 = p) |
| 35 | (hunit : embed p₀ 1 ∈ e.source) (hunit₀ : e (embed p₀ 1) = (p₀, 0)) |
| 36 | (z : ∀ p, G p) (hz₀ : z p₀ = 1) |
| 37 | (hcont : ContinuousAt (fun p => embed p (z p)) p₀) : |
| 38 | ∃ l : P → V, ContinuousAt l p₀ ∧ l p₀ = 0 ∧ |
| 39 | ∀ᶠ p in 𝓝 p₀, exponential p (l p) = z p := by |
| 40 | let φ := fun p => embed p (z p) |
| 41 | let y := fun p => (e (φ p)).2 |
| 42 | have hφ₀ : φ p₀ = embed p₀ 1 := congrArg (embed p₀) hz₀ |
| 43 | have hsource₀ : φ p₀ ∈ e.source := hφ₀ ▸ hunit |
| 44 | have he₀ : e (φ p₀) = (p₀, (0 : V)) := hφ₀ ▸ hunit₀ |
| 45 | have hy₀ : y p₀ = 0 := congrArg Prod.snd he₀ |
| 46 | have hy : ContinuousAt y p₀ := |
| 47 | ((e.continuousOn.continuousAt (e.open_source.mem_nhds hsource₀)).comp hcont).snd |
| 48 | have hs : ∀ᶠ p in 𝓝 p₀, φ p ∈ e.source := |
| 49 | hcont.preimage_mem_nhds (e.open_source.mem_nhds hsource₀) |
| 50 | have hsmall : ∀ᶠ p in 𝓝 p₀, y p ∈ closedBall (0 : V) (δ / 2) := by |
| 51 | apply hy.preimage_mem_nhds |
| 52 | rw [hy₀] |
| 53 | exact closedBall_mem_nhds _ (half_pos hδ) |
| 54 | have hlogAt : ContinuousAt logarithm (p₀, y p₀) := by |
| 55 | rw [hy₀] |
| 56 | exact hlog.continuousAt |
| 57 | (prod_mem_nhds (hB.mem_nhds hp₀) (closedBall_mem_nhds _ (half_pos hδ))) |
| 58 | refine ⟨fun p => logarithm (p, y p), |
| 59 | hlogAt.comp (f := fun p => (p, y p)) (continuousAt_id.prodMk hy), ?_, ?_⟩ |
| 60 | · change logarithm (p₀, y p₀) = 0 |
| 61 | rw [hy₀, hlog₀] |
| 62 | · filter_upwards [hB.mem_nhds hp₀, hs, hsmall] with p hp hsp hyp |
| 63 | have he : e (φ p) = (p, y p) := Prod.ext (hprojection p hp (z p) hsp) rfl |
| 64 | apply hembed p |
| 65 | exact (hright p hp (y p) hyp).trans (by rw [← he, e.left_inv hsp]) |
| 66 | |
| 67 | theorem additive_exponential_nsmul {V G : Type*} [AddMonoid V] [Monoid G] |
| 68 | (exponential : V → G) (hzero : exponential 0 = 1) |
| 69 | (hadd : ∀ v w, exponential (v + w) = exponential v * exponential w) |
| 70 | (n : ℕ) (v : V) : exponential (n • v) = exponential v ^ n := by |
| 71 | induction n with |
| 72 | | zero => simpa using hzero |
| 73 | | succ n ih => rw [succ_nsmul, hadd, ih, pow_succ] |
| 74 | |
| 75 | theorem torsion_section_eq_one_of_continuous_logarithm |
| 76 | {P V : Type} [TopologicalSpace P] [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 77 | (G : P → Type) [∀ p, Group (G p)] |
| 78 | (exponential : ∀ p, V → G p) |
| 79 | (hzero : ∀ p, exponential p 0 = 1) |
| 80 | (hadd : ∀ p v w, exponential p (v + w) = exponential p v * exponential p w) |
| 81 | (p₀ : P) (B : Set P) (hB : B ∈ 𝓝 p₀) (δ : ℝ) (hδ : 0 < δ) |
| 82 | (hsmall : ∀ p ∈ B, ∀ v ∈ closedBall (0 : V) δ, exponential p v = 1 → v = 0) |
| 83 | (z : ∀ p, G p) (logarithm : P → V) |
| 84 | (hlogcont : ContinuousAt logarithm p₀) (hlogzero : logarithm p₀ = 0) |
| 85 | (hlog : ∀ᶠ p in 𝓝 p₀, exponential p (logarithm p) = z p) |
| 86 | (n : ℕ) (hn : 0 < n) (htorsion : ∀ᶠ p in 𝓝 p₀, z p ^ n = 1) : |
| 87 | ∀ᶠ p in 𝓝 p₀, z p = 1 := by |
| 88 | have hcont : ContinuousAt (fun p => (n : ℝ) • logarithm p) p₀ := |
| 89 | continuousAt_const.smul hlogcont |
| 90 | have hz : (n : ℝ) • logarithm p₀ ∈ ball (0 : V) δ := by simp [hlogzero, hδ] |
| 91 | have hball := hcont.preimage_mem_nhds (isOpen_ball.mem_nhds hz) |
| 92 | filter_upwards [hB, hball, hlog, htorsion] with p hp hnorm hlogp hnp |
| 93 | have he : exponential p ((n : ℝ) • logarithm p) = 1 := by |
| 94 | rw [Nat.cast_smul_eq_nsmul ℝ, |
| 95 | additive_exponential_nsmul (exponential p) (hzero p) (hadd p), hlogp] |
| 96 | exact hnp |
| 97 | have hv : (n : ℝ) • logarithm p = 0 := hsmall p hp _ (ball_subset_closedBall hnorm) he |
| 98 | have hn' : (n : ℝ) ≠ 0 := by exact_mod_cast (Nat.ne_of_gt hn) |
| 99 | have hl : logarithm p = 0 := (smul_eq_zero.mp hv).resolve_left hn' |
| 100 | exact hlogp.symm.trans ((congrArg (exponential p) hl).trans (hzero p)) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.ArithmeticGeometry.Descent.CMVariety.LogarithmicTorsionRigidity.Abelian |