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.CommonCMField |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.DecompositionEmbeddingBasis |
| 3 | |
| 4 | /-! # Galois Signs -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.ComplexMultiplication |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Odd Hodge sign functions on a common finite Galois group |
| 12 | |
| 13 | The actual CM summands can have different fields. Their embedding indices |
| 14 | nevertheless carry an action of one common finite Galois group. Complex |
| 15 | conjugation is central in that group and reverses the Hodge sign of every |
| 16 | index. This supplies the sign functions used in the tensor reduction. |
| 17 | -/ |
| 18 | |
| 19 | namespace GaloisSigns.CM.CMCoefficientField |
| 20 | |
| 21 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [NumberField.IsCMField K] |
| 22 | |
| 23 | /-- Intrinsic CM conjugation, regarded as a rational automorphism. -/ |
| 24 | def conjugation : Gal(K/ℚ) := |
| 25 | (NumberField.IsCMField.complexConj K).restrictScalars ℚ |
| 26 | |
| 27 | @[simp] |
| 28 | theorem conjugation_coe (x : K) : (conjugation K x : ℂ) = star (x : ℂ) := |
| 29 | NumberField.IsCMField.complexEmbedding_complexConj K K.val.toRingHom x |
| 30 | |
| 31 | /-- The same automorphism induces complex conjugation at every embedding. -/ |
| 32 | theorem embedding_conjugation (φ : K →+* ℂ) (x : K) : |
| 33 | φ (conjugation K x) = star (φ x) := |
| 34 | NumberField.IsCMField.complexEmbedding_complexConj K φ x |
| 35 | |
| 36 | @[simp] |
| 37 | theorem conjugation_apply_apply (x : K) : conjugation K (conjugation K x) = x := |
| 38 | NumberField.IsCMField.complexConj_apply_apply K x |
| 39 | |
| 40 | /-- Complex conjugation is central among rational automorphisms of a CM field. -/ |
| 41 | theorem conjugation_commute (g : Gal(K/ℚ)) : Commute (conjugation K) g := by |
| 42 | apply AlgEquiv.ext |
| 43 | intro x |
| 44 | apply K.val.injective |
| 45 | change (conjugation K (g x) : ℂ) = (g (conjugation K x) : ℂ) |
| 46 | rw [conjugation_coe] |
| 47 | exact (embedding_conjugation K (K.val.toRingHom.comp g.toRingHom) x).symm |
| 48 | |
| 49 | theorem conjugation_ne_one : conjugation K ≠ 1 := by |
| 50 | intro h |
| 51 | apply NumberField.IsCMField.complexConj_ne_one K |
| 52 | apply AlgEquiv.ext |
| 53 | intro x |
| 54 | exact congrArg (fun g : Gal(K/ℚ) => g x) h |
| 55 | |
| 56 | end GaloisSigns.CM.CMCoefficientField |
| 57 | |
| 58 | variable {U : Type*} [AddCommGroup U] [Module ℚ U] |
| 59 | variable {H : WeightOne.CM.WeightOneHodgeStructure U} (D : Decomposition.CM.CMDecomposition H) |
| 60 | |
| 61 | /-- A common field containing all embeddings of every actual CM component. -/ |
| 62 | def Decomposition.CM.CMDecomposition.commonCoefficientField : IntermediateField ℚ ℂ := |
| 63 | D.exists_common_galois_cm_field.choose |
| 64 | |
| 65 | instance Decomposition.CM.CMDecomposition.commonCoefficientField_numberField : NumberField D.commonCoefficientField := |
| 66 | D.exists_common_galois_cm_field.choose_spec.1 |
| 67 | |
| 68 | instance Decomposition.CM.CMDecomposition.commonCoefficientField_isGalois : IsGalois ℚ D.commonCoefficientField := |
| 69 | D.exists_common_galois_cm_field.choose_spec.2.1 |
| 70 | |
| 71 | instance Decomposition.CM.CMDecomposition.commonCoefficientField_isCMField : NumberField.IsCMField D.commonCoefficientField := |
| 72 | D.exists_common_galois_cm_field.choose_spec.2.2.1 |
| 73 | |
| 74 | theorem Decomposition.CM.CMDecomposition.fieldRange_le_commonCoefficientField (i : Fin D.numberOfComponents) |
| 75 | (σ : (D.component i).field →ₐ[ℚ] ℂ) : σ.fieldRange ≤ D.commonCoefficientField := |
| 76 | D.exists_common_galois_cm_field.choose_spec.2.2.2 i σ |
| 77 | |
| 78 | /-- Lift an embedding of a component to the common field without changing its values. -/ |
| 79 | def Decomposition.CM.CMDecomposition.embeddingToCommonField (i : Fin D.numberOfComponents) |
| 80 | (σ : (D.component i).field →ₐ[ℚ] ℂ) : |
| 81 | (D.component i).field →ₐ[ℚ] D.commonCoefficientField := |
| 82 | σ.codRestrict _ (fun x => D.fieldRange_le_commonCoefficientField i σ ⟨x, rfl⟩) |
| 83 | |
| 84 | @[simp] |
| 85 | theorem Decomposition.CM.CMDecomposition.embeddingToCommonField_coe (i : Fin D.numberOfComponents) |
| 86 | (σ : (D.component i).field →ₐ[ℚ] ℂ) (x : (D.component i).field) : |
| 87 | (D.embeddingToCommonField i σ x : ℂ) = σ x := rfl |
| 88 | |
| 89 | /-- The common Galois group acts on each component's complex embeddings. -/ |
| 90 | def Decomposition.CM.CMDecomposition.galoisEmbedding (g : Gal(D.commonCoefficientField/ℚ)) (i : Fin D.numberOfComponents) |
| 91 | (σ : (D.component i).field →ₐ[ℚ] ℂ) : (D.component i).field →ₐ[ℚ] ℂ := |
| 92 | D.commonCoefficientField.val.comp (g.toAlgHom.comp (D.embeddingToCommonField i σ)) |
| 93 | |
| 94 | @[simp] |
| 95 | theorem Decomposition.CM.CMDecomposition.embeddingToCommonField_galoisEmbedding (g : Gal(D.commonCoefficientField/ℚ)) |
| 96 | (i : Fin D.numberOfComponents) (σ : (D.component i).field →ₐ[ℚ] ℂ) |
| 97 | (x : (D.component i).field) : |
| 98 | D.embeddingToCommonField i (D.galoisEmbedding g i σ) x = |
| 99 | g (D.embeddingToCommonField i σ x) := by |
| 100 | apply Subtype.ext |
| 101 | rfl |
| 102 | |
| 103 | @[simp] |
| 104 | theorem Decomposition.CM.CMDecomposition.galoisEmbedding_one (i : Fin D.numberOfComponents) |
| 105 | (σ : (D.component i).field →ₐ[ℚ] ℂ) : D.galoisEmbedding 1 i σ = σ := by |
| 106 | ext x |
| 107 | rfl |
| 108 | |
| 109 | theorem Decomposition.CM.CMDecomposition.galoisEmbedding_mul (g h : Gal(D.commonCoefficientField/ℚ)) |
| 110 | (i : Fin D.numberOfComponents) (σ : (D.component i).field →ₐ[ℚ] ℂ) : |
| 111 | D.galoisEmbedding (g * h) i σ = D.galoisEmbedding g i (D.galoisEmbedding h i σ) := by |
| 112 | ext x |
| 113 | change (g (h (D.embeddingToCommonField i σ x)) : ℂ) = |
| 114 | (g (D.embeddingToCommonField i (D.galoisEmbedding h i σ) x) : ℂ) |
| 115 | rw [Decomposition.CM.CMDecomposition.embeddingToCommonField_galoisEmbedding] |
| 116 | |
| 117 | /-- The Galois action retains the original direct-sum component. -/ |
| 118 | def Decomposition.CM.CMDecomposition.galoisIndex (g : Gal(D.commonCoefficientField/ℚ)) (j : D.EmbeddingIndex) : |
| 119 | D.EmbeddingIndex := ⟨j.1, D.galoisEmbedding g j.1 j.2⟩ |
| 120 | |
| 121 | @[simp] |
| 122 | theorem Decomposition.CM.CMDecomposition.galoisIndex_one (j : D.EmbeddingIndex) : D.galoisIndex 1 j = j := by |
| 123 | rcases j with ⟨i, σ⟩ |
| 124 | exact congrArg (fun τ => (⟨i, τ⟩ : D.EmbeddingIndex)) (D.galoisEmbedding_one i σ) |
| 125 | |
| 126 | theorem Decomposition.CM.CMDecomposition.galoisIndex_mul (g h : Gal(D.commonCoefficientField/ℚ)) (j : D.EmbeddingIndex) : |
| 127 | D.galoisIndex (g * h) j = D.galoisIndex g (D.galoisIndex h j) := by |
| 128 | rcases j with ⟨i, σ⟩ |
| 129 | exact congrArg (fun τ => (⟨i, τ⟩ : D.EmbeddingIndex)) (D.galoisEmbedding_mul g h i σ) |
| 130 | |
| 131 | /-- Galois conjugation gives the same index involution as complex conjugation. -/ |
| 132 | theorem Decomposition.CM.CMDecomposition.galoisIndex_conjugation (j : D.EmbeddingIndex) : |
| 133 | D.galoisIndex (GaloisSigns.CM.CMCoefficientField.conjugation D.commonCoefficientField) j = |
| 134 | D.conjugateIndex j := by |
| 135 | rcases j with ⟨i, σ⟩ |
| 136 | apply congrArg (fun τ => (⟨i, τ⟩ : D.EmbeddingIndex)) |
| 137 | ext x |
| 138 | change (GaloisSigns.CM.CMCoefficientField.conjugation D.commonCoefficientField |
| 139 | (D.embeddingToCommonField i σ x) : ℂ) = star (σ x) |
| 140 | rw [GaloisSigns.CM.CMCoefficientField.conjugation_coe, Decomposition.CM.CMDecomposition.embeddingToCommonField_coe] |
| 141 | |
| 142 | /-- The actual Hodge sign of an embedding line along its scalar Galois orbit. -/ |
| 143 | def Decomposition.CM.CMDecomposition.galoisSign (j : D.EmbeddingIndex) (g : Gal(D.commonCoefficientField/ℚ)) : Bool := |
| 144 | D.embeddingSign (D.galoisIndex g j) |
| 145 | |
| 146 | @[simp] |
| 147 | theorem Decomposition.CM.CMDecomposition.galoisSign_one (j : D.EmbeddingIndex) : D.galoisSign j 1 = D.embeddingSign j := by |
| 148 | simp [Decomposition.CM.CMDecomposition.galoisSign] |
| 149 | |
| 150 | /-- Every embedding line defines an odd sign function on one finite Galois group. -/ |
| 151 | theorem Decomposition.CM.CMDecomposition.galoisSign_conjugation_mul (j : D.EmbeddingIndex) |
| 152 | (g : Gal(D.commonCoefficientField/ℚ)) : |
| 153 | D.galoisSign j (GaloisSigns.CM.CMCoefficientField.conjugation D.commonCoefficientField * g) = |
| 154 | !D.galoisSign j g := by |
| 155 | rw [Decomposition.CM.CMDecomposition.galoisSign, Decomposition.CM.CMDecomposition.galoisIndex_mul, Decomposition.CM.CMDecomposition.galoisIndex_conjugation, Decomposition.CM.CMDecomposition.embeddingSign_conjugate] |
| 156 | rfl |
| 157 | |
| 158 | theorem Decomposition.CM.CMDecomposition.galoisSign_odd (j : D.EmbeddingIndex) (g : Gal(D.commonCoefficientField/ℚ)) : |
| 159 | SignSwitch.CM.signValue (D.galoisSign j (GaloisSigns.CM.CMCoefficientField.conjugation D.commonCoefficientField * g)) = |
| 160 | -SignSwitch.CM.signValue (D.galoisSign j g) := by |
| 161 | rw [Decomposition.CM.CMDecomposition.galoisSign_conjugation_mul] |
| 162 | exact SignSwitch.CM.signValue_not _ |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI.AlgebraicGeometry.ComplexMultiplication |