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.InvariantSymmetricEigenspaces |
| 2 | import Mathlib.Tactic.Module |
| 3 | |
| 4 | /-! # Involution Spectral Decomposition -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.InvolutionSpectralDecomposition.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! An involution reversing a symmetric operator converts its negative |
| 13 | eigenspaces into positive eigenspaces. This gives the linear decomposition |
| 14 | underlying Iwasawa decomposition. -/ |
| 15 | |
| 16 | open _root_.Module.End |
| 17 | |
| 18 | def positiveSpectralSubmodule |
| 19 | {V : Type*} [AddCommGroup V] [Module ℝ V] |
| 20 | (A : V →ₗ[ℝ] V) (P : Submodule ℝ V) : Submodule ℝ V := |
| 21 | ⨆ r : ℝ, ⨆ (_ : 0 < r), P ⊓ eigenspace A r |
| 22 | |
| 23 | theorem positiveSpectralSubmodule_le |
| 24 | {V : Type*} [AddCommGroup V] [Module ℝ V] |
| 25 | (A : V →ₗ[ℝ] V) (P : Submodule ℝ V) : positiveSpectralSubmodule A P ≤ P := |
| 26 | iSup_le (fun _ => iSup_le (fun _ => inf_le_left)) |
| 27 | |
| 28 | theorem mem_positiveSpectralSubmodule |
| 29 | {V : Type*} [AddCommGroup V] [Module ℝ V] |
| 30 | (A : V →ₗ[ℝ] V) (P : Submodule ℝ V) {r : ℝ} (hr : 0 < r) |
| 31 | {x : V} (hx : x ∈ P) (he : A x = r • x) : x ∈ positiveSpectralSubmodule A P := |
| 32 | Submodule.mem_iSup_of_mem r (Submodule.mem_iSup_of_mem hr ⟨hx, mem_eigenspace_iff.mpr he⟩) |
| 33 | |
| 34 | theorem involution_spectral_decomposition |
| 35 | {V : Type*} [AddCommGroup V] [Module ℝ V] |
| 36 | (A J : V →ₗ[ℝ] V) (hJ : Function.Involutive J) |
| 37 | (hAJ : ∀ x, A (J x) = -J (A x)) |
| 38 | (P : Submodule ℝ V) (hspan : P = ⨆ r : ℝ, P ⊓ eigenspace A r) |
| 39 | (hPJ : ∀ x ∈ P, J x ∈ P) : |
| 40 | P = (P ⊓ (J + LinearMap.id).ker) ⊔ |
| 41 | (P ⊓ A.ker ⊓ (J - LinearMap.id).ker) ⊔ positiveSpectralSubmodule A P := by |
| 42 | let K := P ⊓ (J + LinearMap.id).ker |
| 43 | let Z := P ⊓ A.ker ⊓ (J - LinearMap.id).ker |
| 44 | let N := positiveSpectralSubmodule A P |
| 45 | change P = (K ⊔ Z) ⊔ N |
| 46 | apply le_antisymm |
| 47 | · conv_lhs => rw [hspan] |
| 48 | apply iSup_le |
| 49 | intro r x hx |
| 50 | have hxP : x ∈ P := hx.1 |
| 51 | have hxA : A x = r • x := mem_eigenspace_iff.mp hx.2 |
| 52 | rcases lt_trichotomy 0 r with hr | hr | hr |
| 53 | · exact Submodule.mem_sup_right (mem_positiveSpectralSubmodule A P hr hxP hxA) |
| 54 | · subst r |
| 55 | rw [zero_smul] at hxA |
| 56 | let s := (2 : ℝ)⁻¹ • (x + J x) |
| 57 | have hsP : s ∈ P := P.smul_mem _ (P.add_mem hxP (hPJ x hxP)) |
| 58 | have hsJ : J s = s := by |
| 59 | simp only [s, map_smul, map_add, hJ x] |
| 60 | module |
| 61 | have hsA : A s = 0 := by |
| 62 | simp only [s, map_smul, map_add, hxA, hAJ, map_zero, neg_zero, add_zero, smul_zero] |
| 63 | have hs : s ∈ Z := ⟨⟨hsP, hsA⟩, by change J s - s = 0; rw [hsJ, sub_self]⟩ |
| 64 | have hk : x - s ∈ K := by |
| 65 | refine ⟨P.sub_mem hxP hsP, ?_⟩ |
| 66 | change J (x - s) + (x - s) = 0 |
| 67 | rw [map_sub, hsJ] |
| 68 | dsimp [s] |
| 69 | module |
| 70 | have ht := ((K ⊔ Z) ⊔ N).add_mem |
| 71 | (Submodule.mem_sup_left (Submodule.mem_sup_left hk)) |
| 72 | (Submodule.mem_sup_left (Submodule.mem_sup_right hs)) |
| 73 | simpa only [sub_add_cancel] using ht |
| 74 | · have hjN : J x ∈ N := by |
| 75 | apply mem_positiveSpectralSubmodule A P (neg_pos.mpr hr) (hPJ x hxP) |
| 76 | rw [hAJ, hxA, map_smul, neg_smul] |
| 77 | have hk : x - J x ∈ K := by |
| 78 | refine ⟨P.sub_mem hxP (hPJ x hxP), ?_⟩ |
| 79 | change J (x - J x) + (x - J x) = 0 |
| 80 | rw [map_sub, hJ x] |
| 81 | abel |
| 82 | have ht := ((K ⊔ Z) ⊔ N).add_mem |
| 83 | (Submodule.mem_sup_left (Submodule.mem_sup_left hk)) (Submodule.mem_sup_right hjN) |
| 84 | simpa only [sub_add_cancel] using ht |
| 85 | · exact sup_le (sup_le inf_le_left (le_trans inf_le_left inf_le_left)) (positiveSpectralSubmodule_le A P) |
| 86 | |
| 87 | theorem involution_symmetric_spectral_decomposition |
| 88 | {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] |
| 89 | (A J : V →ₗ[ℝ] V) (hA : A.IsSymmetric) (hJ : Function.Involutive J) |
| 90 | (hAJ : ∀ x, A (J x) = -J (A x)) |
| 91 | (P : Submodule ℝ V) (hPA : ∀ x ∈ P, A x ∈ P) (hPJ : ∀ x ∈ P, J x ∈ P) : |
| 92 | P = (P ⊓ (J + LinearMap.id).ker) ⊔ |
| 93 | (P ⊓ A.ker ⊓ (J - LinearMap.id).ker) ⊔ positiveSpectralSubmodule A P := |
| 94 | involution_spectral_decomposition A J hJ hAJ P |
| 95 | (InvariantSymmetricEigenspaces.Construction.symmetric_invariant_subspace_eigenspace_span A hA P hPA) hPJ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | /-! An injective intertwining map identifies positive spectral |
| 100 | subspaces with their images. -/ |
| 101 | |
| 102 | open _root_.Module.End |
| 103 | |
| 104 | theorem positiveSpectralSubmodule_range |
| 105 | {V W : Type*} [AddCommGroup V] [Module ℝ V] [AddCommGroup W] [Module ℝ W] |
| 106 | (A : W →ₗ[ℝ] W) (C : V →ₗ[ℝ] V) (f : V →ₗ[ℝ] W) (hf : Function.Injective f) |
| 107 | (hAC : ∀ x, A (f x) = f (C x)) : |
| 108 | positiveSpectralSubmodule A f.range = (positiveSpectralSubmodule C ⊤).map f := by |
| 109 | apply le_antisymm |
| 110 | · apply iSup_le |
| 111 | intro r |
| 112 | apply iSup_le |
| 113 | intro hr y hy |
| 114 | obtain ⟨x, rfl⟩ := hy.1 |
| 115 | have hx : C x = r • x := by |
| 116 | apply hf |
| 117 | rw [← hAC, map_smul] |
| 118 | exact mem_eigenspace_iff.mp hy.2 |
| 119 | exact ⟨x, mem_positiveSpectralSubmodule C ⊤ hr (Submodule.mem_top) hx, rfl⟩ |
| 120 | · suffices hle : positiveSpectralSubmodule C ⊤ ≤ |
| 121 | (positiveSpectralSubmodule A f.range).comap f from Submodule.map_le_iff_le_comap.mpr hle |
| 122 | apply iSup_le |
| 123 | intro r |
| 124 | apply iSup_le |
| 125 | intro hr x hx |
| 126 | apply mem_positiveSpectralSubmodule A f.range hr ⟨x, rfl⟩ |
| 127 | rw [hAC, mem_eigenspace_iff.mp hx.2, map_smul] |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.NumberTheory.ArithmeticGroups.Lattices.InvolutionSpectralDecomposition.Construction |