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.Topology.OpenPartialHomeomorph.Basic |
| 2 | import Mathlib.Analysis.Normed.Group.Basic |
| 3 | import Mathlib.Topology.Algebra.Group.Basic |
| 4 | import Mathlib.Analysis.Normed.Group.Continuity |
| 5 | import Mathlib.Analysis.Normed.Group.Uniform |
| 6 | |
| 7 | /-! # Period Continuation -/ |
| 8 | |
| 9 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.PeriodContinuation.Abelian |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | Continue an actual period by subtracting the local logarithm of its |
| 15 | exponential. The correction is continuous at the central parameter and |
| 16 | vanishes there; the corrected vector lies in the actual exponential kernel. |
| 17 | -/ |
| 18 | |
| 19 | open Set _root_.Metric Filter |
| 20 | open scoped _root_.Topology |
| 21 | |
| 22 | theorem no_small_periods_of_local_logarithm |
| 23 | {V H : Type} [NormedAddCommGroup V] [Group H] |
| 24 | (exponential : V → H) (hzero : exponential 0 = 1) |
| 25 | (coordinates : H → V) (hunit : coordinates 1 = 0) |
| 26 | (δ : ℝ) (hδ : 0 ≤ δ) (logarithm : V → V) |
| 27 | (hleft : ∀ v ∈ closedBall (0 : V) δ, |
| 28 | coordinates (exponential v) ∈ closedBall (0 : V) (δ / 2) → |
| 29 | logarithm (coordinates (exponential v)) = v) : |
| 30 | ∀ v ∈ closedBall (0 : V) δ, exponential v = 1 → v = 0 := by |
| 31 | have hsmall : (0 : V) ∈ closedBall (0 : V) (δ / 2) := mem_closedBall_self (div_nonneg hδ zero_le_two) |
| 32 | have hlog₀ : logarithm 0 = 0 := by |
| 33 | have h := hleft 0 (mem_closedBall_self hδ) |
| 34 | rw [hzero, hunit] at h |
| 35 | exact h hsmall |
| 36 | intro v hv he |
| 37 | have h := hleft v hv |
| 38 | rw [he, hunit] at h |
| 39 | exact (h hsmall).symm.trans hlog₀ |
| 40 | |
| 41 | variable {P V X : Type} [TopologicalSpace P] [NormedAddCommGroup V] [TopologicalSpace X] |
| 42 | (G : P → Type) [∀ p, Group (G p)] |
| 43 | |
| 44 | /-- A common continuous logarithm continues each central period as an |
| 45 | actual period. Its central value and continuity are both retained. -/ |
| 46 | theorem exists_continuous_period_extension |
| 47 | (exponential : ∀ p, V → G p) |
| 48 | (hadd : ∀ p u v, exponential p (u + v) = exponential p u * exponential p v) |
| 49 | (embed : ∀ p, G p → X) (hembed : ∀ p, Function.Injective (embed p)) |
| 50 | (e : OpenPartialHomeomorph X (P × V)) |
| 51 | (B : Set P) (hB : IsOpen B) (p₀ : P) (hp₀ : p₀ ∈ B) |
| 52 | (δ : ℝ) (hδ : 0 < δ) (logarithm : P × V → V) |
| 53 | (hlog : ContinuousOn logarithm (B ×ˢ closedBall (0 : V) (δ / 2))) |
| 54 | (hlog₀ : logarithm (p₀, 0) = 0) |
| 55 | (hright : ∀ p ∈ B, ∀ y ∈ closedBall (0 : V) (δ / 2), |
| 56 | embed p (exponential p (logarithm (p, y))) = e.symm (p, y)) |
| 57 | (hprojection : ∀ p ∈ B, ∀ v, embed p (exponential p v) ∈ e.source → |
| 58 | (e (embed p (exponential p v))).1 = p) |
| 59 | (hunit : embed p₀ 1 ∈ e.source) (hunit₀ : e (embed p₀ 1) = (p₀, 0)) |
| 60 | (v₀ : V) (hperiod : exponential p₀ v₀ = 1) |
| 61 | (hcont : ContinuousAt (fun p => embed p (exponential p v₀)) p₀) : |
| 62 | ∃ (U : Set P) (period : P → V), |
| 63 | IsOpen U ∧ p₀ ∈ U ∧ U ⊆ B ∧ ContinuousAt period p₀ ∧ period p₀ = v₀ ∧ |
| 64 | ∀ p ∈ U, exponential p (period p) = 1 := by |
| 65 | let φ := fun p => embed p (exponential p v₀) |
| 66 | let z := fun p => (e (φ p)).2 |
| 67 | have hφ₀ : φ p₀ = embed p₀ 1 := congrArg (embed p₀) hperiod |
| 68 | have hsource₀ : φ p₀ ∈ e.source := hφ₀ ▸ hunit |
| 69 | have he₀ : e (φ p₀) = (p₀, (0 : V)) := by rw [hφ₀]; exact hunit₀ |
| 70 | have hz₀ : z p₀ = 0 := congrArg Prod.snd he₀ |
| 71 | have hz : ContinuousAt z p₀ := |
| 72 | ((e.continuousOn.continuousAt (e.open_source.mem_nhds hsource₀)).comp hcont).snd |
| 73 | have hδ2 : 0 < δ / 2 := half_pos hδ |
| 74 | have hs : ∀ᶠ p in 𝓝 p₀, φ p ∈ e.source := |
| 75 | hcont.preimage_mem_nhds (e.open_source.mem_nhds hsource₀) |
| 76 | have hy : ∀ᶠ p in 𝓝 p₀, z p ∈ closedBall (0 : V) (δ / 2) := by |
| 77 | apply hz.preimage_mem_nhds |
| 78 | rw [hz₀] |
| 79 | exact closedBall_mem_nhds _ hδ2 |
| 80 | have hgood : {p | p ∈ B ∧ φ p ∈ e.source ∧ z p ∈ closedBall (0 : V) (δ / 2)} ∈ 𝓝 p₀ := by |
| 81 | filter_upwards [hB.mem_nhds hp₀, hs, hy] with p hp hs' hy' |
| 82 | exact ⟨hp, hs', hy'⟩ |
| 83 | obtain ⟨U, hUg, hU, hpU⟩ := mem_nhds_iff.mp hgood |
| 84 | have hlogAt : ContinuousAt logarithm (p₀, z p₀) := by |
| 85 | rw [hz₀] |
| 86 | exact hlog.continuousAt (prod_mem_nhds (hB.mem_nhds hp₀) (closedBall_mem_nhds _ hδ2)) |
| 87 | let period := fun p => v₀ - logarithm (p, z p) |
| 88 | have hpcont : ContinuousAt period p₀ := |
| 89 | continuousAt_const.sub (hlogAt.comp (f := fun p => (p, z p)) (continuousAt_id.prodMk hz)) |
| 90 | have hpzero : period p₀ = v₀ := by |
| 91 | change v₀ - logarithm (p₀, z p₀) = v₀ |
| 92 | rw [hz₀, hlog₀, sub_zero] |
| 93 | refine ⟨U, period, hU, hpU, fun p hp => (hUg hp).1, hpcont, hpzero, ?_⟩ |
| 94 | intro p hp |
| 95 | have hg := hUg hp |
| 96 | have he : e (φ p) = (p, z p) := Prod.ext (hprojection p hg.1 v₀ hg.2.1) rfl |
| 97 | have hinv : e.symm (p, z p) = φ p := by rw [← he, e.left_inv hg.2.1] |
| 98 | have hexp : exponential p (logarithm (p, z p)) = exponential p v₀ := |
| 99 | hembed p ((hright p hg.1 (z p) hg.2.2).trans hinv) |
| 100 | have h := hadd p (v₀ - logarithm (p, z p)) (logarithm (p, z p)) |
| 101 | rw [sub_add_cancel, hexp] at h |
| 102 | apply mul_right_cancel (b := exponential p v₀) |
| 103 | exact h.symm.trans (one_mul _).symm |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.ArithmeticGeometry.Descent.CMVariety.PeriodContinuation.Abelian |