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.GaloisSigns |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.EmbeddingCoefficientField |
| 3 | |
| 4 | /-! # Galois Embedding Basis -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication.GaloisEmbeddingBasis.CM.CMDecomposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # A Galois-compatible basis of the actual CM decomposition |
| 12 | |
| 13 | The basis of `H¹`'s rational Hodge structure is defined over one finite |
| 14 | Galois CM field, including for decompositions with different component |
| 15 | fields. Scalar conjugation acts on these normalized basis vectors by the |
| 16 | previously constructed permutation of their embedding indices. |
| 17 | -/ |
| 18 | |
| 19 | open scoped DirectSum TensorProduct Classical |
| 20 | |
| 21 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 22 | variable {H : WeightOne.CM.WeightOneHodgeStructure U} (D : Decomposition.CM.CMDecomposition H) |
| 23 | |
| 24 | local instance (i : Fin D.numberOfComponents) : NumberField (D.component i).field := |
| 25 | (D.component i).cm.numberField |
| 26 | |
| 27 | /-- The internal rational sum still gives the same sum map after coefficient extension. -/ |
| 28 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.coefficientDirectSumEquiv : |
| 29 | (⨁ i, D.commonCoefficientField ⊗[ℚ] (D.component i).subspace) ≃ₗ[D.commonCoefficientField] |
| 30 | D.commonCoefficientField ⊗[ℚ] U := |
| 31 | (TensorProduct.directSumRight ℚ D.commonCoefficientField D.commonCoefficientField |
| 32 | (fun i => (D.component i).subspace)).symm.trans |
| 33 | (D.linearEquiv.baseChange ℚ D.commonCoefficientField _ _) |
| 34 | |
| 35 | @[simp] |
| 36 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.coefficientDirectSumEquiv_lof_tmul (i : Fin D.numberOfComponents) |
| 37 | (z : D.commonCoefficientField) (u : (D.component i).subspace) : |
| 38 | D.coefficientDirectSumEquiv |
| 39 | (DirectSum.lof D.commonCoefficientField _ |
| 40 | (fun i => D.commonCoefficientField ⊗[ℚ] (D.component i).subspace) i (z ⊗ₜ[ℚ] u)) = |
| 41 | z ⊗ₜ[ℚ] (u : U) := by |
| 42 | simp [Decomposition.CM.CMDecomposition.coefficientDirectSumEquiv] |
| 43 | |
| 44 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.coefficientDirectSumEquiv_lof (i : Fin D.numberOfComponents) |
| 45 | (x : D.commonCoefficientField ⊗[ℚ] (D.component i).subspace) : |
| 46 | D.coefficientDirectSumEquiv |
| 47 | (DirectSum.lof D.commonCoefficientField _ |
| 48 | (fun i => D.commonCoefficientField ⊗[ℚ] (D.component i).subspace) i x) = |
| 49 | (D.component i).subspace.subtype.baseChange D.commonCoefficientField x := by |
| 50 | induction x using TensorProduct.inductionOn with |
| 51 | | tmul z u => simp |
| 52 | | add x y hx hy => simp [hx, hy] |
| 53 | |
| 54 | /-- A component's normalized basis over the common field. -/ |
| 55 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.componentCoefficientEmbeddingBasis (i : Fin D.numberOfComponents) : |
| 56 | Module.Basis ((D.component i).field →ₐ[ℚ] ℂ) D.commonCoefficientField |
| 57 | (D.commonCoefficientField ⊗[ℚ] (D.component i).subspace) := |
| 58 | (D.component i).cm.coefficientEmbeddingBasis D.commonCoefficientField |
| 59 | (D.fieldRange_le_commonCoefficientField i) |
| 60 | |
| 61 | /-- The full embedding basis with coefficients in a single finite Galois CM field. -/ |
| 62 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.coefficientEmbeddingBasis : Module.Basis D.EmbeddingIndex D.commonCoefficientField |
| 63 | (D.commonCoefficientField ⊗[ℚ] U) := |
| 64 | (DFinsupp.basis D.componentCoefficientEmbeddingBasis).map D.coefficientDirectSumEquiv |
| 65 | |
| 66 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.coefficientEmbeddingBasis_apply (i : Fin D.numberOfComponents) |
| 67 | (σ : (D.component i).field →ₐ[ℚ] ℂ) : |
| 68 | D.coefficientEmbeddingBasis ⟨i, σ⟩ = |
| 69 | (D.component i).subspace.subtype.baseChange D.commonCoefficientField |
| 70 | (D.componentCoefficientEmbeddingBasis i σ) := by |
| 71 | have hb : (DFinsupp.basis D.componentCoefficientEmbeddingBasis) ⟨i, σ⟩ = |
| 72 | DirectSum.lof D.commonCoefficientField _ |
| 73 | (fun i => D.commonCoefficientField ⊗[ℚ] (D.component i).subspace) i |
| 74 | (D.componentCoefficientEmbeddingBasis i σ) := by |
| 75 | simp [DFinsupp.basis, DFinsupp.mapRange.linearEquiv] |
| 76 | change DFinsupp.mapRange (fun k => (D.componentCoefficientEmbeddingBasis k).repr.symm) |
| 77 | (fun k => map_zero _) (DFinsupp.single i (Finsupp.single σ 1)) = _ |
| 78 | rw [DFinsupp.mapRange_single, Module.Basis.repr_symm_single, one_smul] |
| 79 | rfl |
| 80 | change D.coefficientDirectSumEquiv |
| 81 | ((DFinsupp.basis D.componentCoefficientEmbeddingBasis) ⟨i, σ⟩) = _ |
| 82 | rw [hb] |
| 83 | exact D.coefficientDirectSumEquiv_lof i _ |
| 84 | |
| 85 | /-- Including the coefficients gives exactly the complex basis with its actual Hodge signs. -/ |
| 86 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.coefficientInclusion_embeddingBasis (j : D.EmbeddingIndex) : |
| 87 | EmbeddingCoefficientField.CM.coefficientInclusion D.commonCoefficientField U (D.coefficientEmbeddingBasis j) = |
| 88 | D.embeddingBasis j := by |
| 89 | rcases j with ⟨i, σ⟩ |
| 90 | rw [D.coefficientEmbeddingBasis_apply, EmbeddingCoefficientField.CM.coefficientInclusion_baseChange, D.embeddingBasis_apply] |
| 91 | congr 1 |
| 92 | exact (D.component i).cm.coefficientInclusion_embeddingBasis D.commonCoefficientField |
| 93 | (D.fieldRange_le_commonCoefficientField i) σ |
| 94 | |
| 95 | /-- Actual scalar conjugation permutes the full normalized basis. -/ |
| 96 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.scalarConjugate_coefficientEmbeddingBasis (g : Gal(D.commonCoefficientField/ℚ)) |
| 97 | (j : D.EmbeddingIndex) : |
| 98 | ScalarDescent.CM.scalarConjugate ℚ D.commonCoefficientField U g (D.coefficientEmbeddingBasis j) = |
| 99 | D.coefficientEmbeddingBasis (D.galoisIndex g j) := by |
| 100 | rcases j with ⟨i, σ⟩ |
| 101 | rw [D.coefficientEmbeddingBasis_apply, EmbeddingCoefficientField.CM.scalarConjugate_baseChange] |
| 102 | change (D.component i).subspace.subtype.baseChange D.commonCoefficientField |
| 103 | (ScalarDescent.CM.scalarConjugate ℚ D.commonCoefficientField (D.component i).subspace g |
| 104 | ((D.component i).cm.coefficientEmbeddingBasis D.commonCoefficientField |
| 105 | (D.fieldRange_le_commonCoefficientField i) σ)) = _ |
| 106 | rw [(D.component i).cm.scalarConjugate_coefficientEmbeddingBasis] |
| 107 | exact (D.coefficientEmbeddingBasis_apply i (D.galoisEmbedding g i σ)).symm |
| 108 | |
| 109 | /-- The index action is a permutation, with inverse given by the inverse automorphism. -/ |
| 110 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.galoisIndexEquiv (g : Gal(D.commonCoefficientField/ℚ)) : D.EmbeddingIndex ≃ D.EmbeddingIndex where |
| 111 | toFun := D.galoisIndex g |
| 112 | invFun := D.galoisIndex g⁻¹ |
| 113 | left_inv j := by rw [← Decomposition.CM.CMDecomposition.galoisIndex_mul, inv_mul_cancel, Decomposition.CM.CMDecomposition.galoisIndex_one] |
| 114 | right_inv j := by rw [← Decomposition.CM.CMDecomposition.galoisIndex_mul, mul_inv_cancel, Decomposition.CM.CMDecomposition.galoisIndex_one] |
| 115 | |
| 116 | /-- The index permutations form an action of the full common Galois group. -/ |
| 117 | def _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.galoisIndexAction : Gal(D.commonCoefficientField/ℚ) →* Equiv.Perm D.EmbeddingIndex where |
| 118 | toFun := D.galoisIndexEquiv |
| 119 | map_one' := Equiv.ext D.galoisIndex_one |
| 120 | map_mul' g h := Equiv.ext (D.galoisIndex_mul g h) |
| 121 | |
| 122 | /-- Conjugation transports each coefficient to the correspondingly permuted basis position. -/ |
| 123 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.coefficientEmbeddingBasis_repr_scalarConjugate (g : Gal(D.commonCoefficientField/ℚ)) |
| 124 | (x : D.commonCoefficientField ⊗[ℚ] U) (j : D.EmbeddingIndex) : |
| 125 | D.coefficientEmbeddingBasis.repr (ScalarDescent.CM.scalarConjugate ℚ D.commonCoefficientField U g x) |
| 126 | (D.galoisIndex g j) = g (D.coefficientEmbeddingBasis.repr x j) := by |
| 127 | have hs : ScalarDescent.CM.scalarConjugate ℚ D.commonCoefficientField U g x = |
| 128 | ∑ i, g (D.coefficientEmbeddingBasis.repr x i) • |
| 129 | D.coefficientEmbeddingBasis (D.galoisIndex g i) := by |
| 130 | conv_lhs => rw [← D.coefficientEmbeddingBasis.sum_repr x] |
| 131 | simp only [map_sum, ScalarDescent.CM.scalarConjugate_smul, D.scalarConjugate_coefficientEmbeddingBasis] |
| 132 | have hinj : Function.Injective (D.galoisIndex g) := (D.galoisIndexEquiv g).injective |
| 133 | rw [hs] |
| 134 | simp [Finsupp.single_apply, hinj.eq_iff] |
| 135 | |
| 136 | /-- A rational vector's embedding coefficients transform by the field automorphism. -/ |
| 137 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.rational_embedding_coefficient_galois (g : Gal(D.commonCoefficientField/ℚ)) |
| 138 | (u : U) (j : D.EmbeddingIndex) : |
| 139 | D.coefficientEmbeddingBasis.repr ((1 : D.commonCoefficientField) ⊗ₜ[ℚ] u) |
| 140 | (D.galoisIndex g j) = |
| 141 | g (D.coefficientEmbeddingBasis.repr ((1 : D.commonCoefficientField) ⊗ₜ[ℚ] u) j) := by |
| 142 | simpa using D.coefficientEmbeddingBasis_repr_scalarConjugate g |
| 143 | ((1 : D.commonCoefficientField) ⊗ₜ[ℚ] u) j |
| 144 | |
| 145 | /-- The support of a rational vector's embedding expansion is stable along full Galois orbits. -/ |
| 146 | theorem _root_.OAI.AlgebraicGeometry.ComplexMultiplication.Decomposition.CM.CMDecomposition.rational_embedding_coefficient_ne_zero_iff (g : Gal(D.commonCoefficientField/ℚ)) |
| 147 | (u : U) (j : D.EmbeddingIndex) : |
| 148 | D.coefficientEmbeddingBasis.repr ((1 : D.commonCoefficientField) ⊗ₜ[ℚ] u) |
| 149 | (D.galoisIndex g j) ≠ 0 ↔ |
| 150 | D.coefficientEmbeddingBasis.repr ((1 : D.commonCoefficientField) ⊗ₜ[ℚ] u) j ≠ 0 := by |
| 151 | rw [D.rational_embedding_coefficient_galois] |
| 152 | exact map_ne_zero_iff g g.injective |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.ComplexMultiplication.GaloisEmbeddingBasis.CM.CMDecomposition |