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.Data.Finset.NoncommProd |
| 2 | import Mathlib.Algebra.Group.Units.Equiv |
| 3 | |
| 4 | /-! # Commuting Orbit Norm -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.CommutingOrbitNorm |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The product of a commuting orbit of a finite group is fixed by |
| 11 | the group action, even when the ambient group is noncommutative. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem univ_noncommProd_equiv {ι M : Type*} [Fintype ι] [Monoid M] |
| 16 | (e : ι ≃ ι) (f : ι → M) (hc : ∀ a b, Commute (f a) (f b)) : |
| 17 | Finset.univ.noncommProd (fun a => f (e a)) (fun _ _ _ _ _ => hc _ _) = |
| 18 | Finset.univ.noncommProd f (fun _ _ _ _ _ => hc _ _) := by |
| 19 | unfold Finset.noncommProd |
| 20 | have he : Finset.univ.val.map (fun a => f (e a)) = Finset.univ.val.map f := by |
| 21 | change Finset.univ.val.map (f ∘ e) = Finset.univ.val.map f |
| 22 | rw [← Multiset.map_map, Multiset.map_univ_val_equiv] |
| 23 | congr 1 |
| 24 | |
| 25 | variable {A G : Type*} [Group A] [Fintype A] [Monoid G] |
| 26 | |
| 27 | def commutingOrbitNorm (ρ : A →* Monoid.End G) (x : G) |
| 28 | (hc : ∀ a b, Commute (ρ a x) (ρ b x)) : G := |
| 29 | Finset.univ.noncommProd (fun a => ρ a x) (fun _ _ _ _ _ => hc _ _) |
| 30 | |
| 31 | theorem commutingOrbitNorm_fixed (ρ : A →* Monoid.End G) (x : G) |
| 32 | (hc : ∀ a b, Commute (ρ a x) (ρ b x)) (a : A) : |
| 33 | ρ a (commutingOrbitNorm ρ x hc) = commutingOrbitNorm ρ x hc := by |
| 34 | have he (b : A) : ρ a (ρ b x) = ρ (a * b) x := by |
| 35 | rw [map_mul] |
| 36 | rfl |
| 37 | have hm := Finset.map_noncommProd Finset.univ (fun b => ρ b x) |
| 38 | (fun _ _ _ _ _ => hc _ _) (ρ a) |
| 39 | have hp := Finset.noncommProd_congr (s₁ := (Finset.univ : Finset A)) rfl |
| 40 | (fun b _ => he b) (fun _ _ _ _ _ => (hc _ _).map (ρ a)) |
| 41 | exact hm.trans (hp.trans (univ_noncommProd_equiv (Equiv.mulLeft a) (fun b => ρ b x) hc)) |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.Quaternion.Arithmetic.CommutingOrbitNorm |