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.CommutingSymmetricWeights |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.InvolutionSpectralDecomposition |
| 3 | |
| 4 | /-! # Eigenbasis Span -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.EigenbasisSpan.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Positive eigenspaces are spanned by the positive-weight members |
| 11 | of an orthonormal eigenbasis. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Module.End |
| 15 | |
| 16 | theorem positiveSpectralSubmodule_eq_eigenbasis_span |
| 17 | {L ι : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [Fintype ι] |
| 18 | (b : OrthonormalBasis ι ℝ L) (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) |
| 19 | (w : ι → ℝ) (heig : ∀ i, H (b i) = w i • b i) : |
| 20 | InvolutionSpectralDecomposition.Construction.positiveSpectralSubmodule H.toLinearMap ⊤ = |
| 21 | Submodule.span ℝ (Set.range (fun i : {i : ι // 0 < w i} => b i.val)) := by |
| 22 | have hset : Set.range (fun i : {i : ι // 0 < w i} => b i.val) = b.toBasis '' {i | 0 < w i} := by |
| 23 | ext x |
| 24 | constructor |
| 25 | · rintro ⟨i, rfl⟩ |
| 26 | exact ⟨i.val, i.property, rfl⟩ |
| 27 | · rintro ⟨i, hi, rfl⟩ |
| 28 | exact ⟨⟨i, hi⟩, rfl⟩ |
| 29 | apply le_antisymm |
| 30 | · apply iSup_le |
| 31 | intro r |
| 32 | apply iSup_le |
| 33 | intro hr x hx |
| 34 | rw [hset, b.toBasis.mem_span_image] |
| 35 | intro i hi |
| 36 | have hn : b.repr x i ≠ 0 := by |
| 37 | have hi' : b.toBasis.repr x i ≠ 0 := Finsupp.mem_support_iff.mp hi |
| 38 | simpa only [OrthonormalBasis.coe_toBasis_repr_apply] using hi' |
| 39 | have he := congrArg (fun y => b.repr y i) (mem_eigenspace_iff.mp hx.2) |
| 40 | change b.repr (H x) i = b.repr (r • x) i at he |
| 41 | rw [CommutingSymmetricWeights.Construction.orthonormal_eigen_coordinate b H hH w heig] at he |
| 42 | simp only [map_smul, PiLp.smul_apply, smul_eq_mul] at he |
| 43 | change 0 < w i |
| 44 | rwa [mul_right_cancel₀ hn he] |
| 45 | · apply Submodule.span_le.mpr |
| 46 | rintro _ ⟨i, rfl⟩ |
| 47 | exact InvolutionSpectralDecomposition.Construction.mem_positiveSpectralSubmodule H.toLinearMap ⊤ i.property (Submodule.mem_top) (heig i.val) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.EigenbasisSpan.Construction |