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.BoundedCyclicWords |
| 2 | import Mathlib.LinearAlgebra.LinearIndependent.Lemmas |
| 3 | |
| 4 | /-! # Cyclic Word Basis -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.CyclicWordBasis.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A cyclic subspace has a basis consisting of bounded-length words |
| 11 | in the original operators, without taking linear combinations. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Module Set |
| 15 | |
| 16 | theorem exists_cyclicWord_basis |
| 17 | {k V ι : Type*} [Field k] [AddCommGroup V] [Module k V] [FiniteDimensional k V] |
| 18 | (A : ι → Module.End k V) (x : V) : |
| 19 | ∃ (r : ℕ) (w : Fin r → List ι), r ≤ finrank k V ∧ |
| 20 | (∀ i, (w i).length ≤ finrank k V) ∧ |
| 21 | LinearIndependent k (fun i => BoundedCyclicWords.Construction.operatorWord A (w i) x) ∧ |
| 22 | Submodule.span k (Set.range (fun i => BoundedCyclicWords.Construction.operatorWord A (w i) x)) = |
| 23 | BoundedCyclicWords.Construction.cyclicWordSpan A x (finrank k V) := by |
| 24 | let W := {w : List ι // w.length ≤ finrank k V} |
| 25 | let v : W → V := fun w => BoundedCyclicWords.Construction.operatorWord A w.val x |
| 26 | obtain ⟨κ, a, _, hspan, hlin⟩ := exists_linearIndependent' k v |
| 27 | let : Finite κ := hlin.finite |
| 28 | let : Fintype κ := Fintype.ofFinite κ |
| 29 | let e : Fin (Fintype.card κ) ≃ κ := (Fintype.equivFin κ).symm |
| 30 | let w : Fin (Fintype.card κ) → List ι := fun i => (a (e i)).val |
| 31 | have hli : LinearIndependent k (fun i => BoundedCyclicWords.Construction.operatorWord A (w i) x) := hlin.comp e e.injective |
| 32 | refine ⟨Fintype.card κ, w, ?_, fun i => (a (e i)).property, hli, ?_⟩ |
| 33 | · simpa using hli.fintype_card_le_finrank |
| 34 | · have hr : Set.range (fun i => BoundedCyclicWords.Construction.operatorWord A (w i) x) = Set.range (v ∘ a) := by |
| 35 | exact e.surjective.range_comp (v ∘ a) |
| 36 | rw [hr, hspan] |
| 37 | apply congrArg (Submodule.span k) |
| 38 | ext y |
| 39 | constructor |
| 40 | · rintro ⟨w, rfl⟩ |
| 41 | exact ⟨w.val, w.property, rfl⟩ |
| 42 | · rintro ⟨w, hw, rfl⟩ |
| 43 | exact ⟨⟨w, hw⟩, rfl⟩ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.ArithmeticGroups.Lattices.CyclicWordBasis.Construction |