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 | /-! # Function Surjective Ext -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FunctionSurjectiveExt.CM |
| 6 | |
| 7 | /-! Equality through two surjective changes of variables. -/ |
| 8 | |
| 9 | theorem of_two {A B C D : Type*} (v : B → C) (w : A → B) |
| 10 | (hv : Function.Surjective v) (hw : Function.Surjective w) (f g : C → D) |
| 11 | (h : ∀ a, f (v (w a)) = g (v (w a))) : f = g := by |
| 12 | funext c |
| 13 | obtain ⟨b, rfl⟩ := hv c |
| 14 | obtain ⟨a, rfl⟩ := hw b |
| 15 | exact h a |
| 16 | |
| 17 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FunctionSurjectiveExt.CM |