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.RootFamiliesAt |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ParametricIntegralAt |
| 3 | |
| 4 | /-! # Moments -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Moments.Constructions.RootFamilies |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Holomorphic contour root moments |
| 12 | |
| 13 | The vertical derivative and the original family are jointly holomorphic. |
| 14 | Their quotient is holomorphic away from zeros, so integration around a fixed |
| 15 | zero-free circle gives holomorphic power sums of the enclosed roots. |
| 16 | -/ |
| 17 | |
| 18 | open Set Filter _root_.Metric _root_.Complex |
| 19 | open scoped _root_.Topology BigOperators |
| 20 | |
| 21 | theorem differentiableAt_moment {n : ℕ} {F : (Fin n → ℂ) × ℂ → ℂ} |
| 22 | {W : Set ((Fin n → ℂ) × ℂ)} (hW : IsOpen W) |
| 23 | (hF : DifferentiableOn ℂ F W) {U : Set (Fin n → ℂ)} (hU : IsOpen U) |
| 24 | {x : Fin n → ℂ} (hx : x ∈ U) {c : ℂ} {R : ℝ} (hR : 0 ≤ R) |
| 25 | (hUW : U ×ˢ sphere c R ⊆ W) |
| 26 | (hn : ∀ p ∈ U ×ˢ sphere c R, F p ≠ 0) (k : ℕ) : |
| 27 | DifferentiableAt ℂ (fun y => RootFamiliesAt.Constructions.RootFamilies.moment (fun z => F (y, z)) c R k) x := by |
| 28 | let V := W ∩ F ⁻¹' ({0} : Set ℂ)ᶜ |
| 29 | have hV : IsOpen V := hF.continuousOn.isOpen_inter_preimage hW isClosed_singleton.isOpen_compl |
| 30 | let G : (Fin n → ℂ) × ℂ → ℂ := fun p => fderiv ℂ F p (0, 1) * (F p)⁻¹ |
| 31 | have hG : DifferentiableOn ℂ G V := |
| 32 | ((ParametricIntegralAt.Constructions.ParametricIntegral.differentiableOn_fderiv_apply hW hF (0, 1)).mono inter_subset_left).fun_mul |
| 33 | ((hF.mono inter_subset_left).fun_inv (fun _ hp => hp.2)) |
| 34 | have hint := ParametricIntegralAt.Constructions.ParametricIntegral.differentiableAt_weighted_circleIntegral hV hG hU hx hR |
| 35 | (fun p hp => ⟨hUW hp, hn p hp⟩) (continuous_pow k).continuousOn |
| 36 | have heq : (fun y => RootFamiliesAt.Constructions.RootFamilies.moment (fun z => F (y, z)) c R k) =ᶠ[𝓝 x] |
| 37 | (fun y => (2 * Real.pi * I : ℂ)⁻¹ * ∮ z in C(c, R), z ^ k * G (y, z)) := by |
| 38 | filter_upwards [hU.mem_nhds hx] with y hy |
| 39 | unfold RootFamiliesAt.Constructions.RootFamilies.moment |
| 40 | congr 1 |
| 41 | apply circleIntegral.integral_congr hR |
| 42 | intro z hz |
| 43 | dsimp only |
| 44 | congr 1 |
| 45 | rw [logDeriv_apply, RootFamiliesAt.Constructions.RootFamilies.deriv_slice_eq_fderiv (p := (y, z)) |
| 46 | (hF.differentiableAt (hW.mem_nhds (hUW ⟨hy, hz⟩)))] |
| 47 | rfl |
| 48 | exact (hint.const_mul _).congr_of_eventuallyEq heq |
| 49 | |
| 50 | theorem differentiableOn_moment {n : ℕ} {F : (Fin n → ℂ) × ℂ → ℂ} |
| 51 | {W : Set ((Fin n → ℂ) × ℂ)} (hW : IsOpen W) |
| 52 | (hF : DifferentiableOn ℂ F W) {U : Set (Fin n → ℂ)} (hU : IsOpen U) |
| 53 | {c : ℂ} {R : ℝ} (hR : 0 ≤ R) (hUW : U ×ˢ sphere c R ⊆ W) |
| 54 | (hn : ∀ p ∈ U ×ˢ sphere c R, F p ≠ 0) (k : ℕ) : |
| 55 | DifferentiableOn ℂ (fun y => RootFamiliesAt.Constructions.RootFamilies.moment (fun z => F (y, z)) c R k) U := |
| 56 | fun _ hx => (differentiableAt_moment hW hF hU hx hR hUW hn k).differentiableWithinAt |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Moments.Constructions.RootFamilies |