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.PadicHodge.FilteredProjection |
| 2 | |
| 3 | /-! # Fitting Generalized -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace NumberTheory.PadicHodge.GeometricComparison.FittingGeneralized.FittingFiltration |
| 10 | section |
| 11 | |
| 12 | /-! The Fitting decomposition respects every invariant filtration subspace. -/ |
| 13 | |
| 14 | variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 15 | |
| 16 | def nilspace (T : Module.End K V) : Submodule K V := ⨆ n : ℕ, LinearMap.ker (T ^ n) |
| 17 | |
| 18 | def invertibleSpace (T : Module.End K V) : Submodule K V := ⨅ n : ℕ, LinearMap.range (T ^ n) |
| 19 | |
| 20 | theorem restricted_nilspace_le (T : Module.End K V) (U : Submodule K V) |
| 21 | (hU : U ≤ U.comap T) : |
| 22 | nilspace (T.restrict hU) ≤ (nilspace T).comap U.subtype := by |
| 23 | apply iSup_le |
| 24 | intro n x hx |
| 25 | apply le_iSup (fun m : ℕ => LinearMap.ker (T ^ m)) n |
| 26 | change (T ^ n) (x : V) = 0 |
| 27 | have h := congrArg Subtype.val hx |
| 28 | change (((T.restrict hU) ^ n) x : V) = 0 at h |
| 29 | erw [Module.End.pow_restrict n hU] at h |
| 30 | exact h |
| 31 | |
| 32 | theorem restricted_invertibleSpace_le (T : Module.End K V) (U : Submodule K V) |
| 33 | (hU : U ≤ U.comap T) : |
| 34 | invertibleSpace (T.restrict hU) ≤ (invertibleSpace T).comap U.subtype := by |
| 35 | intro x hx |
| 36 | change (x : V) ∈ invertibleSpace T |
| 37 | simp only [invertibleSpace, Submodule.mem_iInf] at hx ⊢ |
| 38 | intro n |
| 39 | obtain ⟨y, hy⟩ := hx n |
| 40 | refine ⟨(y : V), ?_⟩ |
| 41 | have h := congrArg Subtype.val hy |
| 42 | change (((T.restrict hU) ^ n) y : V) = (x : V) at h |
| 43 | erw [Module.End.pow_restrict n hU] at h |
| 44 | exact h |
| 45 | |
| 46 | variable [FiniteDimensional K V] |
| 47 | |
| 48 | theorem complement (T : Module.End K V) : IsCompl (nilspace T) (invertibleSpace T) := |
| 49 | LinearMap.isCompl_iSup_ker_pow_iInf_range_pow T |
| 50 | |
| 51 | theorem splits_invariant (T : Module.End K V) (U : Submodule K V) |
| 52 | (hU : U ≤ U.comap T) : |
| 53 | (nilspace T ⊓ U) ⊔ (invertibleSpace T ⊓ U) = U := by |
| 54 | apply le_antisymm (sup_le inf_le_right inf_le_right) |
| 55 | intro x hx |
| 56 | have htop := (complement (T.restrict hU)).sup_eq_top |
| 57 | have hmem : (⟨x, hx⟩ : U) ∈ nilspace (T.restrict hU) ⊔ invertibleSpace (T.restrict hU) := by |
| 58 | rw [htop] |
| 59 | trivial |
| 60 | obtain ⟨a, ha, b, hb, hab⟩ := Submodule.mem_sup.mp hmem |
| 61 | exact Submodule.mem_sup.mpr ⟨(a : V), ⟨restricted_nilspace_le T U hU ha, a.property⟩, |
| 62 | (b : V), ⟨restricted_invertibleSpace_le T U hU hb, b.property⟩, congrArg Subtype.val hab⟩ |
| 63 | |
| 64 | def projection (T : Module.End K V) : Module.End K V := |
| 65 | (nilspace T).projection (invertibleSpace T) (complement T) |
| 66 | |
| 67 | theorem projection_idempotent (T : Module.End K V) : IsIdempotentElem (FittingFiltration.projection T) := |
| 68 | Submodule.isIdempotentElem_projection (complement T) |
| 69 | |
| 70 | theorem projection_range (T : Module.End K V) : (FittingFiltration.projection T).range = nilspace T := |
| 71 | Submodule.range_projection (complement T) |
| 72 | |
| 73 | theorem projection_preserves (T : Module.End K V) (U : Submodule K V) |
| 74 | (hU : U ≤ U.comap T) : U ≤ U.comap (FittingFiltration.projection T) := by |
| 75 | intro x hx |
| 76 | rw [← splits_invariant T U hU] at hx |
| 77 | obtain ⟨a, ha, b, hb, rfl⟩ := Submodule.mem_sup.mp hx |
| 78 | change FittingFiltration.projection T (a + b) ∈ U |
| 79 | rw [map_add] |
| 80 | have ha' : FittingFiltration.projection T a = a := Submodule.projection_apply_of_mem_left (complement T) ha.1 |
| 81 | have hb' : FittingFiltration.projection T b = 0 := Submodule.projection_apply_of_mem_right (complement T) hb.1 |
| 82 | rw [ha', hb', add_zero] |
| 83 | exact ha.2 |
| 84 | |
| 85 | end |
| 86 | |
| 87 | /-! The canonical Fitting projection commutes with every operator commuting with the original one. -/ |
| 88 | |
| 89 | variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 90 | |
| 91 | theorem nilspace_stable (T φ : Module.End K V) (h : Commute T φ) : |
| 92 | nilspace T ≤ (nilspace T).comap φ := by |
| 93 | apply Submodule.map_le_iff_le_comap.mp |
| 94 | change (⨆ n : ℕ, LinearMap.ker (T ^ n)).map φ ≤ nilspace T |
| 95 | rw [Submodule.map_iSup] |
| 96 | apply iSup_le |
| 97 | intro n |
| 98 | exact (Submodule.map_le_iff_le_comap.mpr |
| 99 | (FilteredProjection.GeometricComparison.FiltrationTransport.commuting_kernel_stable (T ^ n) φ (h.pow_left n))).trans |
| 100 | (le_iSup (fun m : ℕ => LinearMap.ker (T ^ m)) n) |
| 101 | |
| 102 | theorem invertibleSpace_stable (T φ : Module.End K V) (h : Commute T φ) : |
| 103 | invertibleSpace T ≤ (invertibleSpace T).comap φ := by |
| 104 | intro x hx |
| 105 | change φ x ∈ invertibleSpace T |
| 106 | simp only [invertibleSpace, Submodule.mem_iInf] at hx ⊢ |
| 107 | intro n |
| 108 | exact FilteredProjection.GeometricComparison.FiltrationTransport.commuting_range_stable (T ^ n) φ (h.pow_left n) (hx n) |
| 109 | |
| 110 | variable [FiniteDimensional K V] |
| 111 | |
| 112 | theorem projection_kernel (T : Module.End K V) : (FittingFiltration.projection T).ker = invertibleSpace T := |
| 113 | Submodule.ker_projection (complement T) |
| 114 | |
| 115 | theorem projection_commutes (T φ : Module.End K V) (h : Commute T φ) : |
| 116 | Commute (FittingFiltration.projection T) φ := by |
| 117 | apply (LinearMap.IsIdempotentElem.commute_iff (projection_idempotent T)).mpr |
| 118 | rw [projection_range, projection_kernel] |
| 119 | exact ⟨nilspace_stable T φ h, invertibleSpace_stable T φ h⟩ |
| 120 | |
| 121 | end NumberTheory.PadicHodge.GeometricComparison.FittingGeneralized.FittingFiltration |
| 122 | |
| 123 | namespace NumberTheory.PadicHodge.GeometricComparison.FittingGeneralized.GeneralizedHecke |
| 124 | |
| 125 | /-! Canonical projections onto generalized eigenspaces, with actual commutation and filtration preservation. -/ |
| 126 | |
| 127 | variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 128 | [FiniteDimensional K V] |
| 129 | |
| 130 | def eigenProjection (T : Module.End K V) (μ : K) : Module.End K V := |
| 131 | FittingFiltration.projection (T - algebraMap K (Module.End K V) μ) |
| 132 | |
| 133 | theorem eigenProjection_idempotent (T : Module.End K V) (μ : K) : |
| 134 | IsIdempotentElem (eigenProjection T μ) := FittingFiltration.projection_idempotent _ |
| 135 | |
| 136 | theorem eigenProjection_range (T : Module.End K V) (μ : K) : |
| 137 | (eigenProjection T μ).range = T.maxGenEigenspace μ := by |
| 138 | rw [eigenProjection, FittingFiltration.projection_range, FittingFiltration.nilspace, |
| 139 | ← Module.End.iSup_genEigenspace_eq] |
| 140 | congr 1 |
| 141 | funext n |
| 142 | rw [Module.End.genEigenspace_nat, Algebra.algebraMap_eq_smul_one] |
| 143 | |
| 144 | theorem eigenProjection_commutes (T Z : Module.End K V) (μ : K) (h : Commute T Z) : |
| 145 | Commute (eigenProjection T μ) Z := |
| 146 | FittingFiltration.projection_commutes _ Z |
| 147 | (h.sub_left (Algebra.commute_algebraMap_left μ Z)) |
| 148 | |
| 149 | theorem eigenProjection_preserves (T : Module.End K V) (μ : K) (U : Submodule K V) |
| 150 | (hU : U ≤ U.comap T) : U ≤ U.comap (eigenProjection T μ) := by |
| 151 | apply FittingFiltration.projection_preserves |
| 152 | intro x hx |
| 153 | exact U.sub_mem (hU hx) (U.smul_mem μ hx) |
| 154 | |
| 155 | end NumberTheory.PadicHodge.GeometricComparison.FittingGeneralized.GeneralizedHecke |
| 156 | |
| 157 | end |
| 158 | |
| 159 | end OAI |