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.HolomorphicIdentity |
| 2 | |
| 3 | /-! # Regular Holomorphic Line -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.RegularHolomorphicLine.AnalyticLocal |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A nonzero holomorphic germ is nonzero on some complex line through |
| 10 | its center. The proof uses the one-variable identity principle. -/ |
| 11 | |
| 12 | open Set Filter _root_.Metric |
| 13 | open scoped _root_.Topology |
| 14 | |
| 15 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] [Nontrivial E] |
| 16 | |
| 17 | theorem exists_regular_holomorphic_line {F : E → ℂ} {U : Set E} (hU : IsOpen U) |
| 18 | (hF : DifferentiableOn ℂ F U) {x : E} (hx : x ∈ U) |
| 19 | (hn : ¬∀ᶠ y in 𝓝 x, F y = 0) : |
| 20 | ∃ v : E, v ≠ 0 ∧ ¬∀ᶠ z in 𝓝 (0 : ℂ), F (x + z • v) = 0 := by |
| 21 | by_cases hfx : F x = 0 |
| 22 | · obtain ⟨R, hR, hball⟩ := Metric.mem_nhds_iff.mp (hU.mem_nhds hx) |
| 23 | obtain ⟨y, hyF, hy⟩ := ((not_eventually.mp hn).and_eventually (ball_mem_nhds x hR)).exists |
| 24 | have hyx : y ≠ x := fun he => hyF (he ▸ hfx) |
| 25 | let v := y - x |
| 26 | have hv : v ≠ 0 := sub_ne_zero.mpr hyx |
| 27 | have hvpos : 0 < ‖v‖ := norm_pos_iff.mpr hv |
| 28 | have hvr : ‖v‖ < R := mem_ball_iff_norm.mp hy |
| 29 | let r := R / ‖v‖ |
| 30 | have h1r : 1 < r := (lt_div_iff₀ hvpos).mpr (by simpa only [one_mul] using hvr) |
| 31 | let line : ℂ → E := fun z => x + z • v |
| 32 | have hline : Differentiable ℂ line := |
| 33 | (differentiable_const x).add (differentiable_id.smul_const v) |
| 34 | have hmaps : MapsTo line (ball (0 : ℂ) r) U := by |
| 35 | intro z hz |
| 36 | apply hball |
| 37 | rw [mem_ball_iff_norm] |
| 38 | change ‖x + z • v - x‖ < R |
| 39 | rw [add_sub_cancel_left, norm_smul] |
| 40 | calc |
| 41 | ‖z‖ * ‖v‖ < r * ‖v‖ := mul_lt_mul_of_pos_right (by simpa using hz) hvpos |
| 42 | _ = R := div_mul_cancel₀ _ hvpos.ne' |
| 43 | refine ⟨v, hv, ?_⟩ |
| 44 | intro hz |
| 45 | have he := ComplexGroups.HolomorphicAlgebraicity.HolomorphicIdentity.Constructions.Identity.eqOn_zero_ball_of_eventually_zero |
| 46 | (hF.comp hline.differentiableOn hmaps) hz |
| 47 | have hzero := he (show (1 : ℂ) ∈ ball 0 r by simpa using h1r) |
| 48 | apply hyF |
| 49 | simpa only [Function.comp_def, line, v, one_smul, ← add_sub_assoc, |
| 50 | add_sub_cancel_left, Pi.zero_apply] using hzero |
| 51 | · obtain ⟨v, hv⟩ := exists_ne (0 : E) |
| 52 | refine ⟨v, hv, ?_⟩ |
| 53 | intro hz |
| 54 | have hzero := hz.self_of_nhds |
| 55 | exact hfx (by simpa only [zero_smul, add_zero] using hzero) |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Comparison.Betti.RegularHolomorphicLine.AnalyticLocal |