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.AlgebraicGeometry.ComplexMultiplication.Decomposition |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType |
| 3 | import Mathlib.LinearAlgebra.DirectSum.TensorProduct |
| 4 | import Mathlib.LinearAlgebra.Finsupp.VectorSpace |
| 5 | import Mathlib.Algebra.Module.Rat |
| 6 | |
| 7 | /-! # Decomposition Embedding Basis -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace AlgebraicGeometry.ComplexMultiplication.DecompositionEmbeddingBasis.CM.CMDecomposition |
| 14 | |
| 15 | /-! |
| 16 | # Embedding basis for a CM decomposition with different fields |
| 17 | |
| 18 | Complexification commutes with the actual internal direct sum. Applying the |
| 19 | embedding basis construction on each summand therefore gives a basis of the |
| 20 | whole weight-one space. Its vectors are the images under the actual subspace |
| 21 | inclusions, and their signs retain their geometric Hodge types. |
| 22 | -/ |
| 23 | |
| 24 | open scoped DirectSum TensorProduct Classical |
| 25 | |
| 26 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 27 | variable {H : WeightOne.CM.WeightOneHodgeStructure U} (D : Decomposition.CM.CMDecomposition H) |
| 28 | |
| 29 | local instance (i : Fin D.numberOfComponents) : NumberField (D.component i).field := |
| 30 | (D.component i).cm.numberField |
| 31 | |
| 32 | /-- The sum of complexified summands is the complexification of the original |
| 33 | space, using the same internal sum map as the rational decomposition. -/ |
| 34 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.complexDirectSumEquiv : |
| 35 | (⨁ i, WeightOne.CM.Complexification (D.component i).subspace) ≃ₗ[ℂ] WeightOne.CM.Complexification U := |
| 36 | (TensorProduct.directSumRight ℚ ℂ ℂ (fun i => (D.component i).subspace)).symm.trans |
| 37 | (D.linearEquiv.baseChange ℚ ℂ _ _) |
| 38 | |
| 39 | @[simp] |
| 40 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.complexDirectSumEquiv_lof_tmul (i : Fin D.numberOfComponents) (z : ℂ) |
| 41 | (u : (D.component i).subspace) : |
| 42 | D.complexDirectSumEquiv |
| 43 | (DirectSum.lof ℂ _ (fun i => WeightOne.CM.Complexification (D.component i).subspace) i (z ⊗ₜ[ℚ] u)) = |
| 44 | z ⊗ₜ[ℚ] (u : U) := by |
| 45 | simp [Decomposition.CM.CMDecomposition.complexDirectSumEquiv] |
| 46 | |
| 47 | /-- On an entire complexified component, the map is its actual scalar-extended inclusion. -/ |
| 48 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.complexDirectSumEquiv_lof (i : Fin D.numberOfComponents) |
| 49 | (x : WeightOne.CM.Complexification (D.component i).subspace) : |
| 50 | D.complexDirectSumEquiv |
| 51 | (DirectSum.lof ℂ _ (fun i => WeightOne.CM.Complexification (D.component i).subspace) i x) = |
| 52 | (D.component i).subspace.subtype.baseChange ℂ x := by |
| 53 | induction x using TensorProduct.inductionOn with |
| 54 | | add x y hx hy => simp only [map_add, hx, hy] |
| 55 | | tmul z u => simp |
| 56 | |
| 57 | /-- The basis of one summand indexed by embeddings of that summand's own field. -/ |
| 58 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.componentEmbeddingBasis (i : Fin D.numberOfComponents) : |
| 59 | Module.Basis ((D.component i).field →ₐ[ℚ] ℂ) ℂ |
| 60 | (WeightOne.CM.Complexification (D.component i).subspace) := |
| 61 | (D.component i).cm.embeddingBasis |
| 62 | |
| 63 | /-- Basis indices retain both the component and the embedding of its field. -/ |
| 64 | abbrev _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.EmbeddingIndex := Σ i : Fin D.numberOfComponents, (D.component i).field →ₐ[ℚ] ℂ |
| 65 | |
| 66 | instance _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.embeddingIndexFintype : Fintype D.EmbeddingIndex := |
| 67 | inferInstanceAs (Fintype (Σ i : Fin D.numberOfComponents, (D.component i).field →ₐ[ℚ] ℂ)) |
| 68 | |
| 69 | /-- All embedding lines together form a basis of the actual complexified space. -/ |
| 70 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.embeddingBasis : Module.Basis D.EmbeddingIndex ℂ (WeightOne.CM.Complexification U) := |
| 71 | (DFinsupp.basis D.componentEmbeddingBasis).map D.complexDirectSumEquiv |
| 72 | |
| 73 | /-- Each global basis vector is included from its actual rational Hodge summand. -/ |
| 74 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.embeddingBasis_apply (i : Fin D.numberOfComponents) (σ : (D.component i).field →ₐ[ℚ] ℂ) : |
| 75 | D.embeddingBasis ⟨i, σ⟩ = |
| 76 | (D.component i).subspace.subtype.baseChange ℂ (D.componentEmbeddingBasis i σ) := by |
| 77 | have hb : (DFinsupp.basis D.componentEmbeddingBasis) ⟨i, σ⟩ = |
| 78 | DirectSum.lof ℂ _ (fun i => WeightOne.CM.Complexification (D.component i).subspace) i |
| 79 | (D.componentEmbeddingBasis i σ) := by |
| 80 | simp [DFinsupp.basis, DFinsupp.mapRange.linearEquiv] |
| 81 | change DFinsupp.mapRange (fun k => (D.componentEmbeddingBasis k).repr.symm) |
| 82 | (fun k => map_zero _) (DFinsupp.single i (Finsupp.single σ 1)) = _ |
| 83 | rw [DFinsupp.mapRange_single, Module.Basis.repr_symm_single, one_smul] |
| 84 | rfl |
| 85 | change D.complexDirectSumEquiv ((DFinsupp.basis D.componentEmbeddingBasis) ⟨i, σ⟩) = _ |
| 86 | rw [hb] |
| 87 | exact D.complexDirectSumEquiv_lof i _ |
| 88 | |
| 89 | /-- Each sign is attached to its own field's actual embedding line. -/ |
| 90 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.embeddingSign (j : D.EmbeddingIndex) : Bool := |
| 91 | (D.component j.1).cm.embeddingSign j.2 |
| 92 | |
| 93 | /-- Conjugation acts within each component's embedding set. -/ |
| 94 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.conjugateIndex (j : D.EmbeddingIndex) : D.EmbeddingIndex := |
| 95 | ⟨j.1, EmbeddingHodgeType.CM.conjugateEmbedding j.2⟩ |
| 96 | |
| 97 | @[simp] |
| 98 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.conjugateIndex_involutive (j : D.EmbeddingIndex) : |
| 99 | D.conjugateIndex (D.conjugateIndex j) = j := by |
| 100 | rcases j with ⟨i, σ⟩ |
| 101 | exact congrArg (fun τ => (⟨i, τ⟩ : D.EmbeddingIndex)) (EmbeddingHodgeType.CM.conjugateEmbedding_involutive σ) |
| 102 | |
| 103 | /-- Positive signs identify holomorphic basis vectors in the whole space. -/ |
| 104 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.embeddingBasis_holomorphic (j : D.EmbeddingIndex) (hj : D.embeddingSign j = true) : |
| 105 | D.embeddingBasis j ∈ H.holomorphic := by |
| 106 | rcases j with ⟨i, σ⟩ |
| 107 | rw [D.embeddingBasis_apply] |
| 108 | apply (D.component i).inclusion_hodge |
| 109 | exact ((D.component i).cm.embeddingBasis_mem_holomorphic_iff σ).mpr hj |
| 110 | |
| 111 | /-- Negative signs identify antiholomorphic basis vectors in the whole space. -/ |
| 112 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.embeddingBasis_antiholomorphic (j : D.EmbeddingIndex) (hj : D.embeddingSign j = false) : |
| 113 | D.embeddingBasis j ∈ H.antiholomorphic := by |
| 114 | rcases j with ⟨i, σ⟩ |
| 115 | rw [D.embeddingBasis_apply] |
| 116 | apply (D.component i).inclusion_hodge.map_antiholomorphic |
| 117 | exact ((D.component i).cm.embeddingBasis_mem_antiholomorphic_iff σ).mpr hj |
| 118 | |
| 119 | /-- The sign functions remain odd when the decomposition uses different CM fields. -/ |
| 120 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.embeddingSign_conjugate (j : D.EmbeddingIndex) : |
| 121 | D.embeddingSign (D.conjugateIndex j) = !D.embeddingSign j := |
| 122 | (D.component j.1).cm.embeddingSign_conjugate j.2 |
| 123 | |
| 124 | /-- Every vector has a finite, unique expansion in these actual embedding lines. -/ |
| 125 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.sum_embeddingBasis (x : WeightOne.CM.Complexification U) : |
| 126 | ∑ j, D.embeddingBasis.repr x j • D.embeddingBasis j = x := |
| 127 | D.embeddingBasis.sum_repr x |
| 128 | |
| 129 | end AlgebraicGeometry.ComplexMultiplication.DecompositionEmbeddingBasis.CM.CMDecomposition |
| 130 | |
| 131 | namespace AlgebraicGeometry.ComplexMultiplication |
| 132 | |
| 133 | /-! |
| 134 | # The full weight-one Hodge subspaces in the CM basis |
| 135 | |
| 136 | The positive and negative embedding vectors span precisely the given |
| 137 | holomorphic and antiholomorphic subspaces. In particular, the nonzero |
| 138 | coordinates of a pure vector have its assigned Hodge sign. |
| 139 | -/ |
| 140 | |
| 141 | open scoped Classical |
| 142 | |
| 143 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 144 | |
| 145 | section |
| 146 | |
| 147 | /-- Select one of the two given weight-one Hodge subspaces by its sign. -/ |
| 148 | def WeightOne.CM.WeightOneHodgeStructure.signSubspace (H : WeightOne.CM.WeightOneHodgeStructure U) (b : Bool) : |
| 149 | Submodule ℂ (WeightOne.CM.Complexification U) := if b then H.holomorphic else H.antiholomorphic |
| 150 | |
| 151 | theorem WeightOne.CM.WeightOneHodgeStructure.signSubspace_isCompl (H : WeightOne.CM.WeightOneHodgeStructure U) (b : Bool) : |
| 152 | IsCompl (H.signSubspace b) (H.signSubspace (!b)) := by |
| 153 | cases b |
| 154 | · exact H.complementary.symm |
| 155 | · exact H.complementary |
| 156 | |
| 157 | end |
| 158 | |
| 159 | variable {H : WeightOne.CM.WeightOneHodgeStructure U} (D : Decomposition.CM.CMDecomposition H) |
| 160 | |
| 161 | theorem Decomposition.CM.CMDecomposition.embeddingBasis_mem_signSubspace (j : D.EmbeddingIndex) : |
| 162 | D.embeddingBasis j ∈ H.signSubspace (D.embeddingSign j) := by |
| 163 | cases he : D.embeddingSign j |
| 164 | · exact D.embeddingBasis_antiholomorphic j he |
| 165 | · exact D.embeddingBasis_holomorphic j he |
| 166 | |
| 167 | /-- Each prescribed Hodge subspace is the span of exactly its embedding basis vectors. -/ |
| 168 | theorem Decomposition.CM.CMDecomposition.signSubspace_eq_span_embeddingBasis (b : Bool) : |
| 169 | H.signSubspace b = Submodule.span ℂ (D.embeddingBasis '' {j | D.embeddingSign j = b}) := by |
| 170 | apply le_antisymm |
| 171 | · intro x hx |
| 172 | let P := (H.signSubspace b).projection (H.signSubspace (!b)) (H.signSubspace_isCompl b) |
| 173 | have hp : P x = x := Submodule.projection_apply_of_mem_left (H.signSubspace_isCompl b) hx |
| 174 | have he := congrArg P (D.embeddingBasis.sum_repr x) |
| 175 | rw [hp] at he |
| 176 | rw [← he] |
| 177 | simp only [map_sum, map_smul] |
| 178 | apply Submodule.sum_mem |
| 179 | intro j _ |
| 180 | by_cases hj : D.embeddingSign j = b |
| 181 | · have hm : D.embeddingBasis j ∈ H.signSubspace b := |
| 182 | hj ▸ D.embeddingBasis_mem_signSubspace j |
| 183 | have hb : P (D.embeddingBasis j) = D.embeddingBasis j := |
| 184 | Submodule.projection_apply_of_mem_left (H.signSubspace_isCompl b) hm |
| 185 | rw [hb] |
| 186 | exact Submodule.smul_mem _ _ (Submodule.subset_span ⟨j, hj, rfl⟩) |
| 187 | · have hj' : D.embeddingSign j = !b := by |
| 188 | cases b <;> cases heq : D.embeddingSign j <;> simp_all |
| 189 | have hm : D.embeddingBasis j ∈ H.signSubspace (!b) := |
| 190 | hj' ▸ D.embeddingBasis_mem_signSubspace j |
| 191 | have hb : P (D.embeddingBasis j) = 0 := |
| 192 | Submodule.projection_apply_of_mem_right (H.signSubspace_isCompl b) hm |
| 193 | rw [hb, smul_zero] |
| 194 | exact Submodule.zero_mem _ |
| 195 | · apply Submodule.span_le.mpr |
| 196 | rintro x ⟨j, hj, rfl⟩ |
| 197 | exact hj ▸ D.embeddingBasis_mem_signSubspace j |
| 198 | |
| 199 | /-- A nonzero coordinate of a pure weight-one vector has the same Hodge sign. -/ |
| 200 | theorem Decomposition.CM.CMDecomposition.embeddingBasis_repr_sign {b : Bool} {x : WeightOne.CM.Complexification U} |
| 201 | (hx : x ∈ H.signSubspace b) (j : D.EmbeddingIndex) |
| 202 | (hj : D.embeddingBasis.repr x j ≠ 0) : D.embeddingSign j = b := by |
| 203 | rw [D.signSubspace_eq_span_embeddingBasis b] at hx |
| 204 | exact D.embeddingBasis.mem_span_image.mp hx (Finset.mem_coe.mpr (Finsupp.mem_support_iff.mpr hj)) |
| 205 | |
| 206 | end AlgebraicGeometry.ComplexMultiplication |
| 207 | |
| 208 | end |
| 209 | |
| 210 | end OAI |