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.RepresentationTheory.Theta.Adelic.ContinuousSquareRoot |
| 2 | import Mathlib.GroupTheory.Abelianization.Defs |
| 3 | |
| 4 | /-! # Perfect Cocycle Comparison -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.PerfectCocycleComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two continuous square-root cocycles on a connected base agree |
| 11 | when the acting group is perfect. Only continuity in the base is |
| 12 | needed; no Lie-group infrastructure or parameter-continuity assumption |
| 13 | is introduced. -/ |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.ContinuousSquareRoot |
| 16 | |
| 17 | variable {G X : Type*} [Group G] [TopologicalSpace X] [PreconnectedSpace X] [MulAction G X] |
| 18 | |
| 19 | theorem perfect_square_cocycles_eq (hG : commutator G = ⊤) (x₀ : X) |
| 20 | (f j : G → X → ℂ) (hf : ∀ g, Continuous (f g)) (hj : ∀ g, Continuous (j g)) |
| 21 | (hfn : ∀ g x, f g x ≠ 0) (hjn : ∀ g x, j g x ≠ 0) |
| 22 | (hs : ∀ g x, f g x ^ 2 = j g x ^ 2) |
| 23 | (hfm : ∀ g h x, f (g * h) x = f g (h • x) * f h x) |
| 24 | (hjm : ∀ g h x, j (g * h) x = j g (h • x) * j h x) |
| 25 | (hf1 : ∀ x, f 1 x = 1) (hj1 : ∀ x, j 1 x = 1) : f = j := by |
| 26 | let q := fun g => f g x₀ / j g x₀ |
| 27 | have hq (g : G) : q g ^ 2 = 1 := by |
| 28 | dsimp only [q] |
| 29 | rw [div_pow, hs] |
| 30 | exact div_self (pow_ne_zero 2 (hjn g x₀)) |
| 31 | have he (g : G) (x : X) : f g x = q g * j g x := by |
| 32 | have h := ContinuousSquareRoot.continuous_square_roots_eq (f g) (fun x => q g * j g x) |
| 33 | (hf g) (continuous_const.mul (hj g)) (hfn g) |
| 34 | (fun x => by rw [mul_pow, hq, one_mul, hs]) x₀ (by |
| 35 | dsimp only [q] |
| 36 | rw [div_mul_cancel₀ _ (hjn g x₀)]) |
| 37 | exact congrFun h x |
| 38 | have hqm (g h : G) : q (g * h) = q g * q h := by |
| 39 | apply mul_right_cancel₀ (hjn (g * h) x₀) |
| 40 | rw [← he, hfm, he g, he h, hjm] |
| 41 | ring |
| 42 | let χ : G →* ℂˣ := |
| 43 | { toFun := fun g => Units.mk0 (q g) (div_ne_zero (hfn g x₀) (hjn g x₀)) |
| 44 | map_one' := by |
| 45 | apply Units.ext |
| 46 | change q 1 = 1 |
| 47 | dsimp only [q] |
| 48 | rw [hf1, hj1, div_one] |
| 49 | map_mul' := fun g h => Units.ext (hqm g h) } |
| 50 | have hχ (g : G) : χ g = 1 := by |
| 51 | apply Abelianization.commutator_subset_ker χ |
| 52 | rw [hG] |
| 53 | trivial |
| 54 | funext g x |
| 55 | have hq1 : q g = 1 := congrArg Units.val (hχ g) |
| 56 | rw [he, hq1, one_mul] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.RepresentationTheory.Theta.Adelic.PerfectCocycleComparison |