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.Geometry.ComplexTorus.RiemannProjectivity.DirectionalJetsOn |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.RegularZero |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.IdentityEq |
| 4 | |
| 5 | /-! # Holomorphic Zero -/ |
| 6 | |
| 7 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicZero.Constructions.HolomorphicZeroDimension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # RiemannProjectivity: Hausdorff dimension of holomorphic zero sets |
| 13 | |
| 14 | A countable dense family of complex directions detects every nonflat zero. |
| 15 | Finite-order directional jets cover those zeros by countably many regular |
| 16 | holomorphic zero sets. The regular dimension bound therefore also holds at |
| 17 | singular zeros. |
| 18 | -/ |
| 19 | |
| 20 | open Set Filter _root_.Metric _root_.Module |
| 21 | open scoped _root_.Topology ENNReal |
| 22 | |
| 23 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] |
| 24 | |
| 25 | omit [FiniteDimensional ℂ V] in |
| 26 | theorem exists_nonzero_line_in_dense_directions {f : V → ℂ} {U : Set V} |
| 27 | (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) {x : V} (hx : x ∈ U) |
| 28 | (hnot : ¬∀ᶠ y in 𝓝 x, f y = 0) {D : Set V} (hD : Dense D) : |
| 29 | ∃ v ∈ D, ¬∀ᶠ t : ℂ in 𝓝 0, f (x + t • v) = 0 := by |
| 30 | obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp hU x hx |
| 31 | have hmaps : MapsTo (fun v : V => x + v) (ball 0 (r / 2)) U := by |
| 32 | intro v hv |
| 33 | apply hball |
| 34 | have hnorm : ‖v‖ < r / 2 := by simpa only [mem_ball, dist_zero_right] using hv |
| 35 | simpa only [mem_ball, dist_eq_norm, add_sub_cancel_left] using hnorm.trans (half_lt_self hr) |
| 36 | have hfc : ContinuousOn (fun v => f (x + v)) (ball 0 (r / 2)) := |
| 37 | hf.continuousOn.comp (continuous_const.add continuous_id).continuousOn hmaps |
| 38 | let O := ball (0 : V) (r / 2) ∩ (fun v => f (x + v)) ⁻¹' ({0} : Set ℂ)ᶜ |
| 39 | have hO : IsOpen O := hfc.isOpen_inter_preimage isOpen_ball isOpen_compl_singleton |
| 40 | have hOne : O.Nonempty := by |
| 41 | by_contra hno |
| 42 | apply hnot |
| 43 | filter_upwards [ball_mem_nhds x (half_pos hr)] with y hy |
| 44 | by_contra hfy |
| 45 | apply hno |
| 46 | refine ⟨y - x, ?_, ?_⟩ |
| 47 | · simpa only [mem_ball, dist_zero_right, dist_eq_norm, sub_zero] using hy |
| 48 | · simpa only [mem_preimage, mem_compl_iff, mem_singleton_iff, add_sub_cancel] using hfy |
| 49 | obtain ⟨v, hvO, hvD⟩ := hD.inter_open_nonempty O hO hOne |
| 50 | refine ⟨v, hvD, ?_⟩ |
| 51 | intro hzero |
| 52 | have hv : ‖v‖ < r / 2 := by simpa only [mem_ball, dist_zero_right] using hvO.1 |
| 53 | let line : ℂ → V := fun t => x + t • v |
| 54 | have hline : Differentiable ℂ line := (differentiable_id.smul_const v).const_add x |
| 55 | have hlineU : MapsTo line (ball (0 : ℂ) 2) U := by |
| 56 | intro t ht |
| 57 | apply hball |
| 58 | have ht2 : ‖t‖ < 2 := by simpa only [mem_ball, dist_zero_right] using ht |
| 59 | change dist (x + t • v) x < r |
| 60 | rw [dist_eq_norm, add_sub_cancel_left, norm_smul] |
| 61 | nlinarith [norm_nonneg t, norm_nonneg v] |
| 62 | have hga := (hf.comp hline.differentiableOn hlineU).analyticOnNhd isOpen_ball |
| 63 | have hall := hga.eqOn_zero_of_preconnected_of_frequently_eq_zero |
| 64 | (convex_ball (0 : ℂ) 2).isPreconnected (mem_ball_self (by norm_num : (0 : ℝ) < 2)) |
| 65 | (hzero.filter_mono nhdsWithin_le_nhds).frequently |
| 66 | have h1 := hall (show (1 : ℂ) ∈ ball 0 2 by norm_num [mem_ball, dist_zero_right]) |
| 67 | apply hvO.2 |
| 68 | simpa only [Function.comp_apply, line, one_smul, Pi.zero_apply, mem_singleton_iff] using h1 |
| 69 | |
| 70 | theorem zero_dimension_of_nonflat {f : V → ℂ} {U : Set V} |
| 71 | (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) |
| 72 | (hnot : ∀ x ∈ U, ¬∀ᶠ y in 𝓝 x, f y = 0) : |
| 73 | dimH {x | x ∈ U ∧ f x = 0} ≤ ((finrank ℝ V - 2 : ℕ) : ℝ≥0∞) := by |
| 74 | let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ ℂ V |
| 75 | let : SecondCountableTopology V := inferInstance |
| 76 | obtain ⟨D, hDc, hDd⟩ := TopologicalSpace.exists_countable_dense V |
| 77 | let : Countable D := hDc.to_subtype |
| 78 | let S : D → ℕ → Set V := fun v n => |
| 79 | {x | x ∈ U ∧ DirectionalJetsOn.Constructions.DirectionalJets.jet f v.val n x = 0 ∧ |
| 80 | Function.Surjective (fderiv ℂ (DirectionalJetsOn.Constructions.DirectionalJets.jet f v.val n) x)} |
| 81 | have hcover : {x | x ∈ U ∧ f x = 0} ⊆ ⋃ v : D, ⋃ n : ℕ, S v n := by |
| 82 | intro x hx |
| 83 | obtain ⟨v, hvD, hv⟩ := exists_nonzero_line_in_dense_directions hU hf hx.1 (hnot x hx.1) hDd |
| 84 | obtain ⟨n, hn, hreg⟩ := DirectionalJetsOn.Constructions.DirectionalJets.exists_regular_jet_of_nonzero_line hU hf hx.1 hx.2 v hv |
| 85 | exact mem_iUnion.mpr ⟨⟨v, hvD⟩, mem_iUnion.mpr ⟨n, hx.1, hn, hreg⟩⟩ |
| 86 | apply (dimH_mono hcover).trans |
| 87 | simp only [dimH_iUnion] |
| 88 | apply iSup_le |
| 89 | intro v |
| 90 | apply iSup_le |
| 91 | intro n |
| 92 | exact RegularZero.Constructions.RegularZeroDimension.regular_zero_dimension hU (DirectionalJetsOn.Constructions.DirectionalJets.differentiableOn_jet hU hf v.val n) |
| 93 | |
| 94 | /-- A nonzero holomorphic function on a connected open complex domain has |
| 95 | a zero set of real Hausdorff dimension at most ambient dimension minus two. -/ |
| 96 | theorem zero_dimension {f : V → ℂ} {U : Set V} |
| 97 | (hU : IsOpen U) (hconn : IsPreconnected U) (hf : DifferentiableOn ℂ f U) |
| 98 | (hne : ∃ x ∈ U, f x ≠ 0) : |
| 99 | dimH {x | x ∈ U ∧ f x = 0} ≤ ((finrank ℝ V - 2 : ℕ) : ℝ≥0∞) := by |
| 100 | apply zero_dimension_of_nonflat hU hf |
| 101 | intro x hx hzero |
| 102 | obtain ⟨z, hz, hzn⟩ := hne |
| 103 | exact hzn (IdentityEq.Constructions.Identity.eq_zero_of_zero_germ hU hconn hf hx hzero z hz) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.HolomorphicZero.Constructions.HolomorphicZeroDimension |