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.NumberTheory.ArithmeticGroups.Lattices.Finite.WordMinors |
| 2 | import Mathlib.LinearAlgebra.Matrix.GeneralLinearGroup.Defs |
| 3 | |
| 4 | /-! # Word Minor Naturality -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.WordMinorNaturality.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Word actions and their minors commute with scalar maps and intertwining maps. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | theorem matrixWordAction_intertwines |
| 15 | {R S ι : Type*} [CommRing R] [CommRing S] {n m : ℕ} |
| 16 | (A : ι → Matrix (Fin n) (Fin n) R) (B : ι → Matrix (Fin m) (Fin m) S) |
| 17 | (f : (Fin n → R) → (Fin m → S)) |
| 18 | (h : ∀ i x, f ((A i).mulVec x) = (B i).mulVec (f x)) (w : List ι) (x : Fin n → R) : |
| 19 | f (Finite.WordMinors.Construction.matrixWordAction A w x) = Finite.WordMinors.Construction.matrixWordAction B w (f x) := by |
| 20 | induction w with |
| 21 | | nil => rfl |
| 22 | | cons i w ih => simp only [Finite.WordMinors.Construction.matrixWordAction, h, ih] |
| 23 | |
| 24 | theorem matrixWordAction_map |
| 25 | {R S ι : Type*} [CommRing R] [CommRing S] {n : ℕ} |
| 26 | (σ : R →+* S) (A : ι → Matrix (Fin n) (Fin n) R) (w : List ι) (x : Fin n → R) : |
| 27 | (fun i => σ (Finite.WordMinors.Construction.matrixWordAction A w x i)) = |
| 28 | Finite.WordMinors.Construction.matrixWordAction (fun i => (A i).map σ) w (fun i => σ (x i)) := by |
| 29 | apply matrixWordAction_intertwines A (fun i => (A i).map σ) (fun x i => σ (x i)) _ w x |
| 30 | intro i y |
| 31 | funext j |
| 32 | exact RingHom.map_mulVec σ (A i) y j |
| 33 | |
| 34 | theorem boundedWordMinor_map |
| 35 | {R S ι : Type*} [CommRing R] [CommRing S] {n d : ℕ} |
| 36 | (σ : R →+* S) (q : Finite.WordMinors.Construction.boundedWordMinorIndex ι n d) |
| 37 | (A : ι → Matrix (Fin n) (Fin n) R) (x : Fin n → R) : |
| 38 | σ (Finite.WordMinors.Construction.boundedWordMinor q A x) = |
| 39 | Finite.WordMinors.Construction.boundedWordMinor q (fun i => (A i).map σ) (fun i => σ (x i)) := by |
| 40 | rw [Finite.WordMinors.Construction.boundedWordMinor, RingHom.map_det, Finite.WordMinors.Construction.boundedWordMinor] |
| 41 | congr 1 |
| 42 | ext i j : 1 |
| 43 | exact congrFun (matrixWordAction_map σ A ((q.2.1 j).toList) x) (q.2.2 i) |
| 44 | |
| 45 | theorem matrixWordAction_conjugate |
| 46 | {R ι : Type*} [CommRing R] {n : ℕ} |
| 47 | (g : Matrix.GeneralLinearGroup (Fin n) R) |
| 48 | (A : ι → Matrix (Fin n) (Fin n) R) (w : List ι) (x : Fin n → R) : |
| 49 | g.val.mulVec (Finite.WordMinors.Construction.matrixWordAction A w x) = |
| 50 | Finite.WordMinors.Construction.matrixWordAction (fun i => g.val * A i * (g⁻¹).val) w (g.val.mulVec x) := by |
| 51 | apply matrixWordAction_intertwines A _ g.val.mulVec _ w x |
| 52 | intro i y |
| 53 | simp only [Matrix.mulVec_mulVec, Matrix.mul_assoc, Units.inv_mul, |
| 54 | mul_one] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.ArithmeticGroups.Lattices.WordMinorNaturality.Construction |