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 Mathlib.Analysis.Complex.Basic |
| 2 | import Mathlib.Topology.Algebra.Field |
| 3 | |
| 4 | /-! # Root Ratio -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RootRatio.Frame |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Continuous nonzero square-root frames with a constant determinant |
| 11 | ratio differ by the constant determined at any one base point. -/ |
| 12 | |
| 13 | theorem continuous_root_ratio_constant {X : Type*} [TopologicalSpace X] [ConnectedSpace X] |
| 14 | (f g : X → ℂ) (hf : Continuous f) (hg : Continuous g) |
| 15 | (hf0 : ∀ x, f x ≠ 0) (hg0 : ∀ x, g x ≠ 0) |
| 16 | (c : ℂ) (hsq : ∀ x, f x ^ 2 = c * g x ^ 2) (x₀ : X) : |
| 17 | ∀ x, f x = (f x₀ / g x₀) * g x := by |
| 18 | have hr : Continuous (fun x => f x / g x) := hf.div hg hg0 |
| 19 | have hs (x : X) : (f x / g x) ^ 2 = c := by |
| 20 | rw [div_pow, hsq] |
| 21 | exact mul_div_cancel_right₀ c (pow_ne_zero 2 (hg0 x)) |
| 22 | have he := isPreconnected_univ.eq_of_sq_eq hr.continuousOn |
| 23 | (continuous_const.continuousOn : ContinuousOn (fun _ : X => f x₀ / g x₀) Set.univ) |
| 24 | (fun x _ => (hs x).trans (hs x₀).symm) |
| 25 | (fun _ => div_ne_zero (hf0 x₀) (hg0 x₀)) (Set.mem_univ x₀) rfl |
| 26 | intro x |
| 27 | exact (div_eq_iff (hg0 x)).mp (he (Set.mem_univ x)) |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.RootRatio.Frame |