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.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ParametricIntegralAt |
| 2 | |
| 3 | /-! # Parametric Cauchy Integral -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ParametricCauchyIntegral.Weierstrass |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual Cauchy contour integral depends holomorphically on both its |
| 10 | external parameters and the interior evaluation point. -/ |
| 11 | |
| 12 | open Set Filter _root_.Metric _root_.Complex |
| 13 | open scoped _root_.Topology |
| 14 | |
| 15 | def parametricCauchyIntegral {E : Type*} (G : E × ℂ → ℂ) (c : ℂ) (R : ℝ) (p : E × ℂ) : ℂ := |
| 16 | (2 * Real.pi * I : ℂ)⁻¹ * ∮ z in C(c, R), G (p.1, z) / (z - p.2) |
| 17 | |
| 18 | theorem differentiableAt_parametricCauchyIntegral |
| 19 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 20 | {G : E × ℂ → ℂ} {W : Set (E × ℂ)} (hW : IsOpen W) (hG : DifferentiableOn ℂ G W) |
| 21 | {U : Set E} (hU : IsOpen U) {c : ℂ} {R : ℝ} (hR : 0 ≤ R) |
| 22 | (hUW : U ×ˢ sphere c R ⊆ W) {x : E} (hx : x ∈ U) {w : ℂ} (hw : w ∈ ball c R) : |
| 23 | DifferentiableAt ℂ (parametricCauchyIntegral G c R) (x, w) := by |
| 24 | let T : (E × ℂ) × ℂ → E × ℂ := fun p => (p.1.1, p.2) |
| 25 | let D : (E × ℂ) × ℂ → ℂ := fun p => p.2 - p.1.2 |
| 26 | have hT : Differentiable ℂ T := differentiable_fst.fst.prodMk differentiable_snd |
| 27 | have hD : Differentiable ℂ D := differentiable_snd.sub differentiable_fst.snd |
| 28 | let V := T ⁻¹' W ∩ D ⁻¹' ({0} : Set ℂ)ᶜ |
| 29 | have hV : IsOpen V := (hW.preimage hT.continuous).inter |
| 30 | (isClosed_singleton.isOpen_compl.preimage hD.continuous) |
| 31 | have hGT : DifferentiableOn ℂ (fun p => G (T p)) V := |
| 32 | hG.comp hT.differentiableOn (fun p (hp : p ∈ V) => hp.1) |
| 33 | have hF : DifferentiableOn ℂ (fun p => G (T p) / D p) V := |
| 34 | by simpa only [div_eq_mul_inv] using |
| 35 | hGT.fun_mul (hD.differentiableOn.fun_inv (fun p (hp : p ∈ V) => hp.2)) |
| 36 | have hbound : (U ×ˢ ball c R) ×ˢ sphere c R ⊆ V := by |
| 37 | intro p hp |
| 38 | refine ⟨hUW ⟨hp.1.1, hp.2⟩, ?_⟩ |
| 39 | change p.2 - p.1.2 ≠ 0 |
| 40 | intro h |
| 41 | have he := sub_eq_zero.mp h |
| 42 | exact (ne_of_lt (mem_ball.mp hp.1.2)) (he ▸ mem_sphere.mp hp.2) |
| 43 | have h := ComplexGroups.HolomorphicAlgebraicity.ParametricIntegralAt.Constructions.ParametricIntegral.differentiableAt_weighted_circleIntegral |
| 44 | hV hF (hU.prod isOpen_ball) (show (x, w) ∈ U ×ˢ ball c R from ⟨hx, hw⟩) hR hbound |
| 45 | (w := fun _ => 1) continuousOn_const |
| 46 | have h' : DifferentiableAt ℂ (fun p : E × ℂ => ∮ z in C(c, R), G (p.1, z) / (z - p.2)) (x, w) := by |
| 47 | simpa only [one_mul] using h |
| 48 | exact h'.const_mul _ |
| 49 | |
| 50 | theorem differentiableOn_parametricCauchyIntegral |
| 51 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 52 | {G : E × ℂ → ℂ} {W : Set (E × ℂ)} (hW : IsOpen W) (hG : DifferentiableOn ℂ G W) |
| 53 | {U : Set E} (hU : IsOpen U) {c : ℂ} {R : ℝ} (hR : 0 ≤ R) |
| 54 | (hUW : U ×ˢ sphere c R ⊆ W) : |
| 55 | DifferentiableOn ℂ (parametricCauchyIntegral G c R) (U ×ˢ ball c R) := |
| 56 | fun _ hp => (differentiableAt_parametricCauchyIntegral hW hG hU hR hUW hp.1 hp.2).differentiableWithinAt |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Comparison.Betti.ParametricCauchyIntegral.Weierstrass |