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 | /-! # Product Representation Ext -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductRepresentationExt.CM |
| 6 | |
| 7 | /-! Product representations are determined by their active restriction |
| 8 | and rational values when the rational away projection is surjective. -/ |
| 9 | |
| 10 | variable {R A B H : Type*} [Group R] [Group A] [Group B] [Group H] |
| 11 | |
| 12 | theorem of_active_and_rational (r : R →* A × B) |
| 13 | (hb : Function.Surjective (fun g => (r g).2)) (S T : A × B →* H) |
| 14 | (hr : S.comp r = T.comp r) (ha : ∀ a : A, S (a, 1) = T (a, 1)) : S = T := by |
| 15 | have haway (b : B) : S (1, b) = T (1, b) := by |
| 16 | obtain ⟨g, hg⟩ := hb b |
| 17 | have hp : ((r g).1, (1 : B)) * (1, b) = r g := by |
| 18 | apply Prod.ext |
| 19 | · simp |
| 20 | · simpa using hg.symm |
| 21 | apply mul_left_cancel (a := S ((r g).1, 1)) |
| 22 | calc |
| 23 | _ = S (r g) := (S.map_mul _ _).symm.trans (congrArg S hp) |
| 24 | _ = T (r g) := DFunLike.congr_fun hr g |
| 25 | _ = T ((r g).1, 1) * T (1, b) := (congrArg T hp.symm).trans (T.map_mul _ _) |
| 26 | _ = _ := congrArg (fun h : H => h * T (1, b)) (ha (r g).1).symm |
| 27 | apply MonoidHom.ext |
| 28 | rintro ⟨a, b⟩ |
| 29 | have hp : (a, b) = (a, (1 : B)) * (1, b) := by simp |
| 30 | rw [hp, map_mul, map_mul, ha, haway] |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductRepresentationExt.CM |