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 |
| 2 | |
| 3 | /-! # Half Frame Scalar Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HalfFrameScalarComparison.CM |
| 6 | |
| 7 | /-! Eliminate the common nonzero half-frame constant from a natural |
| 8 | line multiplier. -/ |
| 9 | |
| 10 | theorem ratio (k₀ k₁ h₀ h₁ s₀ s₁ c a l : ℂ) |
| 11 | (hk₀ : k₀ ≠ 0) (hk₁ : k₁ ≠ 0) (hh₀ : h₀ ≠ 0) (hh₁ : h₁ ≠ 0) |
| 12 | (hs₀ : s₀ ≠ 0) (hc : c ≠ 0) |
| 13 | (h₀eq : k₀ * h₀ = c * s₀) (h₁eq : k₁ * h₁ = c * s₁) |
| 14 | (ha : a * k₀ / k₁ = l) : a = l * h₀ / h₁ * s₁ / s₀ := by |
| 15 | have hk0 : k₀ = c * s₀ / h₀ := (eq_div_iff hh₀).mpr h₀eq |
| 16 | have hk1 : k₁ = c * s₁ / h₁ := (eq_div_iff hh₁).mpr h₁eq |
| 17 | have he : a = l * k₁ / k₀ := (eq_div_iff hk₀).mpr ((div_eq_iff hk₁).mp ha) |
| 18 | rw [he, hk0, hk1] |
| 19 | field_simp |
| 20 | |
| 21 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.HalfFrameScalarComparison.CM |