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.DivisorClass.Chern.Holomorphic.Exponential |
| 2 | |
| 3 | /-! # Continuous Holomorphic Log -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ContinuousHolomorphicLog |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A continuous logarithm of an actual holomorphic nonvanishing function is holomorphic. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.TopologicalSpace Filter |
| 12 | open scoped _root_.Manifold ContDiff _root_.Topology |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 19 | {M : Type} [TopologicalSpace M] [ChartedSpace E M] |
| 20 | |
| 21 | theorem continuous_logarithm_holomorphic |
| 22 | (g : Holomorphic.Exponential.HolomorphicFunction (E := E) (M := M)) (l : C(M, ℂ)) |
| 23 | (hl : ∀ x, Complex.exp (l x) = g x) : ContMDiff 𝓘(ℂ, E) 𝓘(ℂ) ∞ l := by |
| 24 | intro p |
| 25 | have hp : g p ≠ 0 := by rw [← hl p]; exact Complex.exp_ne_zero _ |
| 26 | let U := Holomorphic.Exponential.holomorphicLogarithmOpen g p |
| 27 | let pU : U := ⟨p, Holomorphic.Exponential.mem_holomorphicLogarithmOpen g p hp⟩ |
| 28 | let L := Holomorphic.Exponential.holomorphicLocalLogarithm g p |
| 29 | let r : C(U, ℂ) := l.comp ⟨Subtype.val, continuous_subtype_val⟩ |
| 30 | let s : C(U, ℂ) := ⟨L.val, L.property.continuous⟩ |
| 31 | have he (x : U) : Complex.exp (r x) * Complex.exp 0 = Complex.exp (s x) := by |
| 32 | rw [Complex.exp_zero, mul_one] |
| 33 | exact (hl x).trans (Holomorphic.Exponential.exp_holomorphicLocalLogarithm g p hp x).symm |
| 34 | let n : U → ℤ := fun x => Logarithms.Construction.logarithmicDefect (r x) 0 (s x) (he x) |
| 35 | have hn : IsLocallyConstant n := Logarithms.Construction.isLocallyConstant_logarithmicDefect r 0 s he |
| 36 | have hlocal : ∀ᶠ x : U in 𝓝 pU, |
| 37 | r x = s x + (n pU : ℂ) * (2 * (Real.pi : ℂ) * Complex.I) := by |
| 38 | filter_upwards [hn.eventually_eq pU] with x hx |
| 39 | have hd := Logarithms.Construction.logarithmicDefect_spec (r x) 0 (s x) (he x) |
| 40 | change r x + 0 - s x = (n x : ℂ) * _ at hd |
| 41 | rw [add_zero, hx] at hd |
| 42 | exact sub_eq_iff_eq_add.mp hd |>.trans (add_comm _ _) |
| 43 | apply (contMDiffAt_subtype_iff (U := U) (x := pU)).mp |
| 44 | exact ((L.property pU).add contMDiffAt_const).congr_of_eventuallyEq hlocal |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ContinuousHolomorphicLog |