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.RegularSelfAdjointCombination |
| 2 | |
| 3 | /-! # Simultaneous Orthonormal Eigenbasis -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.SimultaneousOrthonormalEigenbasis.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A commuting family of real self-adjoint operators has a common |
| 10 | orthonormal eigenbasis, including families with an infinite index type. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open _root_.Module.End |
| 14 | |
| 15 | theorem exists_simultaneous_orthonormal_eigenbasis |
| 16 | {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 17 | (T : ι → L →ₗ[ℝ] L) (hT : ∀ i, (T i).IsSymmetric) |
| 18 | (hc : Pairwise (fun i j => Commute (T i) (T j))) : |
| 19 | ∃ (b : OrthonormalBasis (Fin (Module.finrank ℝ L)) ℝ L) |
| 20 | (w : Fin (Module.finrank ℝ L) → ι → ℝ), ∀ i j, T j (b i) = w i j • b i := by |
| 21 | let P : (ι → ℝ) → Submodule ℝ L := fun χ => ⨅ j, eigenspace (T j) (χ j) |
| 22 | have horth := LinearMap.IsSymmetric.orthogonalFamily_iInf_eigenspaces hT |
| 23 | have hind : iSupIndep P := horth.independent |
| 24 | let J := {χ : ι → ℝ // P χ ≠ ⊥} |
| 25 | let : Fintype J := hind.fintypeNeBotOfFiniteDimensional |
| 26 | let Q : J → Submodule ℝ L := fun χ => P χ.val |
| 27 | have hQorth : OrthogonalFamily ℝ (fun χ => Q χ) (fun χ => (Q χ).subtypeₗᵢ) := |
| 28 | horth.comp Subtype.val_injective |
| 29 | have htop : (⨆ χ, Q χ) = ⊤ := by |
| 30 | change (⨆ χ : {χ : ι → ℝ // P χ ≠ ⊥}, P χ.val) = ⊤ |
| 31 | rw [iSup_ne_bot_subtype] |
| 32 | exact LinearMap.IsSymmetric.iSup_iInf_eq_top_of_commute hT hc |
| 33 | have hint : DirectSum.IsInternal Q := hQorth.isInternal_iff.mpr (by rw [htop, Submodule.top_orthogonal_eq_bot]) |
| 34 | let b := hint.subordinateOrthonormalBasis rfl hQorth |
| 35 | let w : Fin (Module.finrank ℝ L) → ι → ℝ := fun i => |
| 36 | (hint.subordinateOrthonormalBasisIndex rfl i hQorth).val |
| 37 | refine ⟨b, w, fun i j => ?_⟩ |
| 38 | have hi := hint.subordinateOrthonormalBasis_subordinate rfl i hQorth |
| 39 | exact mem_eigenspace_iff.mp ((Submodule.mem_iInf _).mp hi j) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.ArithmeticGroups.Lattices.SimultaneousOrthonormalEigenbasis.Construction |