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.GroupTheory.Index |
| 2 | import Mathlib.Tactic.Group |
| 3 | |
| 4 | /-! # Character Extension -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.Local.CharacterExtension.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Extending a multiplicative function from a sufficiently large coordinate domain of a group. -/ |
| 11 | |
| 12 | variable {G C : Type*} [Group G] [Group C] |
| 13 | (Ω : Set G) (c : G → C) |
| 14 | (hrich : ∀ F : Finset G, ∃ x : G, ∀ g ∈ F, x * g ∈ Ω) |
| 15 | (hmul : ∀ a b : G, a ∈ Ω → b ∈ Ω → a * b ∈ Ω → c (a * b) = c a * c b) |
| 16 | |
| 17 | include hrich hmul in |
| 18 | theorem localCharacter_ratio_eq (g x y : G) |
| 19 | (hx : x ∈ Ω) (hxg : x * g ∈ Ω) (hy : y ∈ Ω) (hyg : y * g ∈ Ω) : |
| 20 | (c x)⁻¹ * c (x * g) = (c y)⁻¹ * c (y * g) := by |
| 21 | classical |
| 22 | obtain ⟨z, hz⟩ := hrich {1, g, x⁻¹, y⁻¹} |
| 23 | have hz0 : z ∈ Ω := by simpa only [mul_one] using hz 1 (by simp) |
| 24 | have hzg : z * g ∈ Ω := hz g (by simp) |
| 25 | have hzx : z * x⁻¹ ∈ Ω := hz x⁻¹ (by simp) |
| 26 | have hzy : z * y⁻¹ ∈ Ω := hz y⁻¹ (by simp) |
| 27 | have h₁ : c z = c (z * x⁻¹) * c x := by |
| 28 | simpa only [inv_mul_cancel_right] using hmul (z * x⁻¹) x hzx hx (by simpa using hz0) |
| 29 | have h₂ : c (z * g) = c (z * x⁻¹) * c (x * g) := by |
| 30 | simpa only [mul_assoc, inv_mul_cancel_left] using |
| 31 | hmul (z * x⁻¹) (x * g) hzx hxg (by simpa [mul_assoc] using hzg) |
| 32 | have h₃ : c z = c (z * y⁻¹) * c y := by |
| 33 | simpa only [inv_mul_cancel_right] using hmul (z * y⁻¹) y hzy hy (by simpa using hz0) |
| 34 | have h₄ : c (z * g) = c (z * y⁻¹) * c (y * g) := by |
| 35 | simpa only [mul_assoc, inv_mul_cancel_left] using |
| 36 | hmul (z * y⁻¹) (y * g) hzy hyg (by simpa [mul_assoc] using hzg) |
| 37 | have he₁ : (c z)⁻¹ * c (z * g) = (c x)⁻¹ * c (x * g) := by rw [h₁, h₂]; group |
| 38 | have he₂ : (c z)⁻¹ * c (z * g) = (c y)⁻¹ * c (y * g) := by rw [h₃, h₄]; group |
| 39 | exact he₁.symm.trans he₂ |
| 40 | |
| 41 | include hrich hmul in |
| 42 | theorem exists_group_character_extension : ∃ χ : G →* C, ∀ g ∈ Ω, χ g = c g := by |
| 43 | classical |
| 44 | have hs (g : G) : ∃ x : G, x ∈ Ω ∧ x * g ∈ Ω := by |
| 45 | obtain ⟨x, hx⟩ := hrich {1, g} |
| 46 | exact ⟨x, by simpa only [mul_one] using hx 1 (by simp), hx g (by simp)⟩ |
| 47 | choose s hs₁ hs₂ using hs |
| 48 | let F : G → C := fun g => (c (s g))⁻¹ * c (s g * g) |
| 49 | have hf (g x : G) (hx : x ∈ Ω) (hxg : x * g ∈ Ω) : F g = (c x)⁻¹ * c (x * g) := |
| 50 | localCharacter_ratio_eq Ω c hrich hmul g (s g) x (hs₁ g) (hs₂ g) hx hxg |
| 51 | have hFone : F 1 = 1 := by dsimp [F]; simp |
| 52 | have hFmul (g h : G) : F (g * h) = F g * F h := by |
| 53 | obtain ⟨x, hx⟩ := hrich {1, g, g * h} |
| 54 | have hx0 : x ∈ Ω := by simpa only [mul_one] using hx 1 (by simp) |
| 55 | have hxg : x * g ∈ Ω := hx g (by simp) |
| 56 | have hxgh : x * (g * h) ∈ Ω := hx (g * h) (by simp) |
| 57 | rw [hf (g * h) x hx0 hxgh, hf g x hx0 hxg, |
| 58 | hf h (x * g) hxg (by simpa only [mul_assoc] using hxgh)] |
| 59 | group |
| 60 | refine ⟨{ toFun := F, map_one' := hFone, map_mul' := hFmul }, ?_⟩ |
| 61 | intro g hg |
| 62 | change (c (s g))⁻¹ * c (s g * g) = c g |
| 63 | rw [hmul (s g) g (hs₁ g) hg (hs₂ g), inv_mul_cancel_left] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.RepresentationTheory.Weil.Local.CharacterExtension.Construction |