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.FiniteRemovabilityOn |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Moments |
| 3 | |
| 4 | /-! # Cauchy Extension On -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.CauchyExtensionOn.Constructions.CauchyExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # RiemannProjectivity: a holomorphic Cauchy extension through branch equations |
| 12 | |
| 13 | On a product neighborhood with a zero-free vertical boundary, a bounded |
| 14 | holomorphic function off a holomorphic zero locus extends by a contour |
| 15 | integral. The extended function is jointly holomorphic and keeps its bound. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.Metric _root_.Complex |
| 19 | open scoped _root_.Topology |
| 20 | |
| 21 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] |
| 22 | |
| 23 | def transform (f : V × ℂ → ℂ) (c : ℂ) (R : ℝ) (p : V × ℂ) : ℂ := |
| 24 | (2 * Real.pi * I : ℂ)⁻¹ * ∮ z in C(c, R), (z - p.2)⁻¹ * f (p.1, z) |
| 25 | |
| 26 | theorem differentiableOn_transform {f : V × ℂ → ℂ} {O : Set (V × ℂ)} |
| 27 | (hO : IsOpen O) (hf : DifferentiableOn ℂ f O) {A : Set V} (hA : IsOpen A) |
| 28 | {c : ℂ} {R : ℝ} (hR : 0 < R) (hAO : A ×ˢ sphere c R ⊆ O) : |
| 29 | DifferentiableOn ℂ (transform f c R) (A ×ˢ ball c R) := by |
| 30 | let N : (V × ℂ) × ℂ → V × ℂ := fun p => (p.1.1, p.2) |
| 31 | let D : (V × ℂ) × ℂ → ℂ := fun p => p.2 - p.1.2 |
| 32 | have hN : Differentiable ℂ N := (differentiable_fst.comp differentiable_fst).prodMk differentiable_snd |
| 33 | have hD : Differentiable ℂ D := differentiable_snd.sub (differentiable_snd.comp differentiable_fst) |
| 34 | let B := N ⁻¹' O ∩ {p | D p ≠ 0} |
| 35 | have hB : IsOpen B := (hO.preimage hN.continuous).inter |
| 36 | (isOpen_ne_fun hD.continuous continuous_const) |
| 37 | let F : (V × ℂ) × ℂ → ℂ := fun p => (D p)⁻¹ * f (N p) |
| 38 | have hF : DifferentiableOn ℂ F B := |
| 39 | (hD.differentiableOn.fun_inv (fun p hp => hp.2)).fun_mul |
| 40 | ((hf.comp hN.differentiableOn (mapsTo_preimage N O)).mono inter_subset_left) |
| 41 | have hAB : (A ×ˢ ball c R) ×ˢ sphere c R ⊆ B := by |
| 42 | intro p hp |
| 43 | refine ⟨hAO ⟨hp.1.1, hp.2⟩, ?_⟩ |
| 44 | change p.2 - p.1.2 ≠ 0 |
| 45 | intro h |
| 46 | have he := sub_eq_zero.mp h |
| 47 | have hr := mem_sphere.mp hp.2 |
| 48 | rw [he] at hr |
| 49 | exact (ne_of_lt (mem_ball.mp hp.1.2)) hr |
| 50 | intro p hp |
| 51 | have h := AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ParametricIntegralAt.Constructions.ParametricIntegral.differentiableAt_weighted_circleIntegral |
| 52 | hB hF (hA.prod isOpen_ball) hp hR.le hAB |
| 53 | (w := fun _ => 1) continuousOn_const |
| 54 | have hd : DifferentiableAt ℂ (fun q => ∮ z in C(c, R), (z - q.2)⁻¹ * f (q.1, z)) p := by |
| 55 | simpa only [one_mul] using h |
| 56 | exact (hd.const_mul _).differentiableWithinAt |
| 57 | |
| 58 | theorem finite_disk_zeros {g : ℂ → ℂ} {c : ℂ} {R : ℝ} (hR : 0 < R) |
| 59 | (hg : AnalyticOnNhd ℂ g (closedBall c R)) |
| 60 | (hboundary : ∀ z ∈ sphere c R, g z ≠ 0) : |
| 61 | {z : ℂ | z ∈ closedBall c R ∧ g z = 0}.Finite := by |
| 62 | obtain ⟨P, hP, _, u, _, hu, heq⟩ := AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ClosedDiskFactorization.Constructions.DiskFactorization.exists_polynomial_unit_on_closedDisk |
| 63 | hg (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.RootFamiliesAt.Constructions.RootFamilies.exists_nonzero_in_ball hR hg.continuousOn hboundary) hboundary |
| 64 | apply (Polynomial.finite_setOfPred_isRoot hP.ne_zero).subset |
| 65 | intro z hz |
| 66 | have h := (heq z hz.1).eq_of_nhds |
| 67 | rw [hz.2] at h |
| 68 | exact (mul_eq_zero.mp h.symm).resolve_right (hu z hz.1) |
| 69 | |
| 70 | /-- Extension on a vertical tube. The zero-free circle supplies the contour |
| 71 | at every base point; no continuity of selected roots is assumed. -/ |
| 72 | theorem bounded_extension_on_tube {f g : V × ℂ → ℂ} {O : Set (V × ℂ)} |
| 73 | (hO : IsOpen O) (hg : DifferentiableOn ℂ g O) |
| 74 | (hf : DifferentiableOn ℂ f (O ∩ {p | g p ≠ 0})) |
| 75 | {A : Set V} (hA : IsOpen A) {c : ℂ} {R : ℝ} (hR : 0 < R) |
| 76 | (hAO : A ×ˢ closedBall c R ⊆ O) |
| 77 | (hboundary : ∀ y ∈ A, ∀ z ∈ sphere c R, g (y, z) ≠ 0) |
| 78 | {C : ℝ} (hbound : ∀ p ∈ O ∩ {p | g p ≠ 0}, ‖f p‖ ≤ C) : |
| 79 | DifferentiableOn ℂ (transform f c R) (A ×ˢ ball c R) ∧ |
| 80 | EqOn (transform f c R) f ((A ×ˢ ball c R) ∩ {p | g p ≠ 0}) ∧ |
| 81 | ∀ p ∈ A ×ˢ ball c R, ‖transform f c R p‖ ≤ C := by |
| 82 | have hD : IsOpen (O ∩ {p | g p ≠ 0}) := |
| 83 | hg.continuousOn.isOpen_inter_preimage hO isOpen_compl_singleton |
| 84 | have hd := differentiableOn_transform hD hf hA hR |
| 85 | (fun p hp => ⟨hAO ⟨hp.1, sphere_subset_closedBall hp.2⟩, hboundary p.1 hp.1 p.2 hp.2⟩) |
| 86 | have hdata (y : V) (hy : y ∈ A) : |
| 87 | ∃ K : Set ℂ, K.Finite ∧ K ⊆ ball c R ∧ |
| 88 | (∀ z ∈ closedBall c R, z ∉ K ↔ g (y, z) ≠ 0) ∧ |
| 89 | DifferentiableOn ℂ (fun z => f (y, z)) (closedBall c R \ K) ∧ |
| 90 | ∀ z ∈ closedBall c R \ K, ‖f (y, z)‖ ≤ C := by |
| 91 | let K := {z : ℂ | z ∈ closedBall c R ∧ g (y, z) = 0} |
| 92 | have hgs : AnalyticOnNhd ℂ (fun z => g (y, z)) (closedBall c R) := by |
| 93 | have hs := hg.comp ((differentiable_const y).prodMk differentiable_id).differentiableOn |
| 94 | (mapsTo_preimage (fun z : ℂ => (y, z)) O) |
| 95 | exact (hs.analyticOnNhd (hO.preimage (continuous_const.prodMk continuous_id))).mono |
| 96 | (fun z hz => hAO ⟨hy, hz⟩) |
| 97 | have hKfin : K.Finite := finite_disk_zeros hR hgs (hboundary y hy) |
| 98 | have hKint : K ⊆ ball c R := by |
| 99 | intro z hz |
| 100 | apply lt_of_le_of_ne (mem_closedBall.mp hz.1) |
| 101 | intro he |
| 102 | exact hboundary y hy z (mem_sphere.mpr he) hz.2 |
| 103 | have hKeq : ∀ z ∈ closedBall c R, z ∉ K ↔ g (y, z) ≠ 0 := by |
| 104 | intro z hz |
| 105 | simp only [K, mem_ofPred_eq, hz, true_and] |
| 106 | have hmap : MapsTo (fun z : ℂ => (y, z)) (closedBall c R \ K) (O ∩ {p | g p ≠ 0}) := |
| 107 | fun z hz => ⟨hAO ⟨hy, hz.1⟩, (hKeq z hz.1).mp hz.2⟩ |
| 108 | exact ⟨K, hKfin, hKint, hKeq, |
| 109 | hf.comp ((differentiable_const y).prodMk differentiable_id).differentiableOn hmap, |
| 110 | fun z hz => hbound (y, z) (hmap hz)⟩ |
| 111 | refine ⟨hd, ?_, ?_⟩ |
| 112 | · intro p hp |
| 113 | obtain ⟨K, hK, hKi, hKeq, hfs, hbs⟩ := hdata p.1 hp.1.1 |
| 114 | exact FiniteRemovabilityOn.Constructions.FiniteRemovability.cauchy_formula_off_finite hK hR hKi hfs hbs hp.1.2 |
| 115 | ((hKeq p.2 (ball_subset_closedBall hp.1.2)).mpr hp.2) |
| 116 | · intro p hp |
| 117 | obtain ⟨K, hK, hKi, _, hfs, hbs⟩ := hdata p.1 hp.1 |
| 118 | change ‖(2 * Real.pi * I : ℂ)⁻¹ * (∮ z in C(c, R), (z - p.2)⁻¹ * f (p.1, z))‖ ≤ C |
| 119 | rw [FiniteRemovabilityOn.Constructions.FiniteRemovability.cauchy_formula_fill hK hR hKi hfs hbs hp.2] |
| 120 | exact FiniteRemovabilityOn.Constructions.FiniteRemovability.norm_fill_le hK isOpen_ball |
| 121 | (hfs.mono (sdiff_subset_sdiff_left ball_subset_closedBall)) |
| 122 | (fun z hz => hbs z ⟨ball_subset_closedBall hz.1, hz.2⟩) hp.2 |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.CauchyExtensionOn.Constructions.CauchyExtension |