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.CyclicWordBasis |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.WordMinors |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.InvariantFrameMinors |
| 4 | import OAI.NumberTheory.ArithmeticGroups.Lattices.NonzeroFrameMinor |
| 5 | |
| 6 | /-! # Cyclic Invariant Minor -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.CyclicInvariantMinor.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every nonzero vector has a nonzero invariant word minor, using |
| 13 | only words of bounded length in any spanning family of Lie matrices. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open _root_.Module |
| 17 | |
| 18 | theorem exists_invariant_cyclic_word_frame |
| 19 | {k ι : Type} [Field k] [CharZero k] {n : ℕ} |
| 20 | (G : Algebraic.MatrixAlgebraicGroup k n) |
| 21 | (A : ι → Matrix (Fin n) (Fin n) k) |
| 22 | (hA : ∀ T ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, T ∈ Submodule.span k (Set.range A)) |
| 23 | (x : Fin n → k) (hx : x ≠ 0) : |
| 24 | ∃ (r : ℕ) (w : Fin r → Finite.WordMinors.Construction.boundedWord ι n), 0 < r ∧ r ≤ n ∧ |
| 25 | LinearIndependent k (fun j => Finite.WordMinors.Construction.matrixWordAction A (w j).toList x) ∧ |
| 26 | ∀ T ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, |
| 27 | ∀ y ∈ Submodule.span k (Set.range (fun j => Finite.WordMinors.Construction.matrixWordAction A (w j).toList x)), |
| 28 | T.mulVec y ∈ Submodule.span k (Set.range (fun j => Finite.WordMinors.Construction.matrixWordAction A (w j).toList x)) := by |
| 29 | let B : ι → Module.End k (Fin n → k) := fun i => Matrix.toLin' (A i) |
| 30 | obtain ⟨r, v, hr, hv, hlin, hspan⟩ := CyclicWordBasis.Construction.exists_cyclicWord_basis B x |
| 31 | have hrn : r ≤ n := by simpa using hr |
| 32 | have hrpos : 0 < r := by |
| 33 | by_contra h |
| 34 | have hr0 : r = 0 := Nat.eq_zero_of_not_pos h |
| 35 | subst r |
| 36 | have hself := BoundedCyclicWords.Construction.self_mem_cyclicWordSpan B x (finrank k (Fin n → k)) |
| 37 | rw [← hspan] at hself |
| 38 | exact hx (by simpa using hself) |
| 39 | have hvn : ∀ i, (v i).length ≤ n := fun i => by simpa using hv i |
| 40 | choose w hw using fun i => Finite.WordMinors.Construction.boundedWord.exists_toList (v i) (hvn i) |
| 41 | have hword : (fun j => Finite.WordMinors.Construction.matrixWordAction A (w j).toList x) = |
| 42 | (fun j => BoundedCyclicWords.Construction.operatorWord B (v j) x) := by |
| 43 | funext j |
| 44 | rw [hw j, Finite.WordMinors.Construction.matrixWordAction_eq_operatorWord] |
| 45 | refine ⟨r, w, hrpos, hrn, hword.symm ▸ hlin, ?_⟩ |
| 46 | rw [hword, hspan] |
| 47 | intro T hT y hy |
| 48 | apply CyclicWordBounds.Construction.cyclicWordSpan_invariant_of_mem_operator_span B x (Matrix.toLin' T) _ y hy |
| 49 | have hm := Submodule.mem_map_of_mem (f := (Matrix.toLin' : |
| 50 | Matrix (Fin n) (Fin n) k ≃ₗ[k] Module.End k (Fin n → k)).toLinearMap) (hA T hT) |
| 51 | rw [Submodule.map_span, ← Set.range_comp] at hm |
| 52 | exact hm |
| 53 | |
| 54 | theorem exists_nonzero_invariant_word_minor |
| 55 | {k ι : Type} [Field k] [CharZero k] {n : ℕ} |
| 56 | (G : Algebraic.MatrixAlgebraicGroup k n) (hG : G.IsGeometricallyConnected) (hs : G.IsSemisimple) |
| 57 | (A : ι → Matrix (Fin n) (Fin n) k) |
| 58 | (hA : ∀ T ∈ Infinitesimal.Action.Construction.infinitesimalStabilizer G, T ∈ Submodule.span k (Set.range A)) |
| 59 | (x : Fin n → k) (hx : x ≠ 0) : |
| 60 | ∃ q : Finite.WordMinors.Construction.boundedWordMinorIndex ι n n, Finite.WordMinors.Construction.boundedWordMinor q A x ≠ 0 ∧ |
| 61 | ∀ (K : Type) [Field K] (σ : k →+* K) (g : G.Points σ), |
| 62 | (Matrix.of (fun i j => (g.val : Matrix (Fin n) (Fin n) K).mulVec |
| 63 | (fun a => σ (Finite.WordMinors.Construction.matrixWordAction A ((q.2.1 j).toList) x a)) (q.2.2 i))).det = |
| 64 | σ (Finite.WordMinors.Construction.boundedWordMinor q A x) := by |
| 65 | obtain ⟨r, w, hr, hrn, hlin, hW⟩ := exists_invariant_cyclic_word_frame G A hA x hx |
| 66 | let v := fun j => Finite.WordMinors.Construction.matrixWordAction A (w j).toList x |
| 67 | let W := Submodule.span k (Set.range v) |
| 68 | let b : Basis (Fin r) k W := Basis.span hlin |
| 69 | let U : Matrix (Fin n) (Fin r) k := Matrix.of (fun i j => v j i) |
| 70 | obtain ⟨rows, hrows⟩ := NonzeroFrameMinor.Construction.exists_nonzero_frame_minor U hlin |
| 71 | let q : Finite.WordMinors.Construction.boundedWordMinorIndex ι n n := ⟨⟨⟨r, Nat.lt_succ_of_le hrn⟩, hr⟩, w, rows⟩ |
| 72 | refine ⟨q, hrows, ?_⟩ |
| 73 | intro K _ σ g |
| 74 | have he := InvariantFrameMinors.Construction.group_preserves_invariant_basis_minors G hG hs W hW b rows σ g |
| 75 | have hframe : Matrix.of (fun i j => (b j).val i) = U := by |
| 76 | ext i j : 1 |
| 77 | exact congrFun (Basis.coe_span_apply hlin j) i |
| 78 | rw [hframe] at he |
| 79 | exact he |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.ArithmeticGroups.Lattices.CyclicInvariantMinor.Construction |