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.PELModuli.CMPoints.Products |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Descent |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Models |
| 4 | import OAI.NumberTheory.ArithmeticGroups.EmbeddingLattice |
| 5 | |
| 6 | /-! # Period Coordinates -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.PeriodCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The diagonal reference period has three explicit rank-one CM |
| 15 | types. Their signs are determined by the changing line and the compact |
| 16 | places, and RiemannProjectivity realizes each type as an actual CM abelian variety. -/ |
| 17 | |
| 18 | open scoped Classical |
| 19 | |
| 20 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [NumberField.IsCMField E] {s : ℕ} |
| 22 | (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 23 | |
| 24 | def coordinateFirstSign (j : Fin 3) (i : Fin s) : Bool := |
| 25 | if i = P.distinguished then decide (j = 2) else !(P.compactSigns i) |
| 26 | |
| 27 | def coordinateCMType (j : Fin 3) : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType E := by |
| 28 | let e := NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1 |
| 29 | refine ⟨fun σ => if (e.symm σ).2 then !(coordinateFirstSign P j (e.symm σ).1) |
| 30 | else coordinateFirstSign P j (e.symm σ).1, ?_⟩ |
| 31 | intro σ |
| 32 | obtain ⟨⟨i, b⟩, rfl⟩ := e.surjective σ |
| 33 | rw [← NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs_conjugate] |
| 34 | dsimp only [e] |
| 35 | simp only [Equiv.symm_apply_apply] |
| 36 | cases b <;> simp |
| 37 | |
| 38 | theorem coordinateCMType_first (j : Fin 3) (i : Fin s) : |
| 39 | (coordinateCMType P hP j).val (P.embeddings i) = coordinateFirstSign P j i := by |
| 40 | have he : NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1 (i, false) = P.embeddings i := rfl |
| 41 | change (if ((NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1).symm (P.embeddings i)).2 then _ else _) = _ |
| 42 | rw [← he, Equiv.symm_apply_apply] |
| 43 | rfl |
| 44 | |
| 45 | theorem coordinateCMType_second (j : Fin 3) (i : Fin s) : |
| 46 | (coordinateCMType P hP j).val (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)) = |
| 47 | !(coordinateFirstSign P j i) := by |
| 48 | rw [(coordinateCMType P hP j).property, coordinateCMType_first] |
| 49 | |
| 50 | def coordinateCMHodge : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure (Fin 3 → E) := |
| 51 | Products.hodgePi (fun j => (coordinateCMType P hP j).hodgeStructure) |
| 52 | |
| 53 | def coordinateCMDecomposition : ComplexMultiplication.Decomposition.CM.CMDecomposition (coordinateCMHodge P hP) := |
| 54 | Products.cmPiDecomposition E (fun j => (coordinateCMType P hP j).hodgeStructure) |
| 55 | (fun j => (coordinateCMType P hP j).rankOneCMAction) |
| 56 | |
| 57 | theorem coordinateCMRealization_hasCMH1 (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (coordinateCMHodge P hP)) : |
| 58 | R.abelianVariety.HasCMH1 := |
| 59 | Products.realization_hasCMH1_of_product E (fun j => (coordinateCMType P hP j).hodgeStructure) |
| 60 | (fun j => (coordinateCMType P hP j).rankOneCMAction) R |
| 61 | |
| 62 | variable (F : IntermediateField ℚ ℂ) [NumberField F] [IsGalois ℚ F] |
| 63 | [NumberField.IsCMField F] |
| 64 | |
| 65 | def embeddingTypeToGaloisType (ε : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType F) : |
| 66 | ComplexMultiplication.OddSignSwitch.CM.OddSignPattern (fun τ : Gal(F/ℚ) => ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation F * τ) := |
| 67 | ⟨fun τ => ε.val (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv F τ), fun τ => by |
| 68 | change ε.val (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv F (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation F * τ)) = |
| 69 | !(ε.val (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv F τ)) |
| 70 | exact (congrArg ε.val (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv_conjugation F τ)).trans |
| 71 | (ε.property _)⟩ |
| 72 | |
| 73 | theorem galoisType_recovers_embeddingType (ε : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType F) : |
| 74 | ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.embeddingType F (embeddingTypeToGaloisType F ε) = ε := by |
| 75 | apply Subtype.ext |
| 76 | funext σ |
| 77 | exact congrArg ε.val ((ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.galoisEmbeddingEquiv F).apply_symm_apply σ) |
| 78 | |
| 79 | theorem exists_CM_realization_of_embeddingType (hRiemannProjectivity : Realization.RiemannProjectivityInput) |
| 80 | (ε : ComplexMultiplication.CM.TypeHodgeStructure.CMEmbeddingType F) : |
| 81 | ∃ R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization ε.hodgeStructure, R.abelianVariety.HasCMH1 := by |
| 82 | have h := Realization.exists_CM_realization hRiemannProjectivity F (embeddingTypeToGaloisType F ε) |
| 83 | unfold ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure at h |
| 84 | rw [galoisType_recovers_embeddingType] at h |
| 85 | exact h |
| 86 | |
| 87 | theorem exists_coordinate_CM_realizations (hRiemannProjectivity : Realization.RiemannProjectivityInput) (hCMAbelianVariety : Descent.AbelianInput) |
| 88 | (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum F s) (hP : P.IsAdmissible) : |
| 89 | ∃ R : ∀ j : Fin 3, ComplexMultiplication.CMKnownResults.CM.HodgeRealization (coordinateCMType P hP j).hodgeStructure, |
| 90 | ∀ j, (R j).abelianVariety.HasCMH1 ∧ ArithmeticGeometry.Descent.CMVariety.AbelianFiber.HasNumberFieldModel (R j).abelianVariety := by |
| 91 | have hex (j : Fin 3) := exists_CM_realization_of_embeddingType F hRiemannProjectivity (coordinateCMType P hP j) |
| 92 | choose R hR using hex |
| 93 | exact ⟨R, fun j => ⟨hR j, hCMAbelianVariety (R j).abelianVariety (hR j)⟩⟩ |
| 94 | |
| 95 | end |
| 96 | |
| 97 | /-! The actual complexification of the three CM fields is identified |
| 98 | with the embedding coordinates of the rank-three PEL period domain. -/ |
| 99 | |
| 100 | open scoped Classical |
| 101 | |
| 102 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 103 | [NumberField.IsCMField E] {s : ℕ} |
| 104 | (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 105 | |
| 106 | theorem representativePairs_first (i : Fin s) : |
| 107 | (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1).symm (P.embeddings i) = (i, false) := |
| 108 | (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1).symm_apply_apply (i, false) |
| 109 | |
| 110 | theorem representativePairs_second (i : Fin s) : |
| 111 | (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1).symm |
| 112 | (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)) = (i, true) := |
| 113 | (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1).symm_apply_apply (i, true) |
| 114 | |
| 115 | def pairedCoordinateEquiv : (Fin 3 → ((E →ₐ[ℚ] ℂ) → ℂ)) ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) where |
| 116 | toFun f i := (fun j => f j (P.embeddings i), fun j => f j (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i))) |
| 117 | invFun u j σ := |
| 118 | let p := (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1).symm σ |
| 119 | if p.2 then (u p.1).2 j else (u p.1).1 j |
| 120 | left_inv f := by |
| 121 | funext j σ |
| 122 | obtain ⟨⟨i, b⟩, rfl⟩ := (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1).surjective σ |
| 123 | simp only [Equiv.symm_apply_apply] |
| 124 | cases b <;> rfl |
| 125 | right_inv u := by |
| 126 | funext i |
| 127 | apply Prod.ext <;> funext j |
| 128 | · dsimp only |
| 129 | rw [representativePairs_first P hP i] |
| 130 | rfl |
| 131 | · dsimp only |
| 132 | rw [representativePairs_second P hP i] |
| 133 | rfl |
| 134 | map_add' f g := rfl |
| 135 | map_smul' a f := rfl |
| 136 | |
| 137 | def cmPeriodCoordinates : ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E) ≃ₗ[ℂ] Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s) := |
| 138 | Products.hodgePiCoordinates.trans ((LinearEquiv.piCongrRight |
| 139 | (fun _ : Fin 3 => ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv E)).trans (pairedCoordinateEquiv P hP)) |
| 140 | |
| 141 | theorem cmPeriodCoordinates_first (x : ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E)) (i : Fin s) (j : Fin 3) : |
| 142 | (cmPeriodCoordinates P hP x i).1 j = |
| 143 | ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv E (Products.hodgePiCoordinates x j) (P.embeddings i) := rfl |
| 144 | |
| 145 | theorem cmPeriodCoordinates_second (x : ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E)) (i : Fin s) (j : Fin 3) : |
| 146 | (cmPeriodCoordinates P hP x i).2 j = |
| 147 | ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv E (Products.hodgePiCoordinates x j) (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)) := rfl |
| 148 | |
| 149 | theorem cmPeriodCoordinates_conjugate (x : ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E)) : |
| 150 | cmPeriodCoordinates P hP (ComplexMultiplication.WeightOne.CM.coefficientConjugation (Fin 3 → E) x) = |
| 151 | Geometry.ComplexBall.PrescribedSignsB.realConj (cmPeriodCoordinates P hP x) := by |
| 152 | funext i |
| 153 | apply Prod.ext <;> funext j |
| 154 | · change ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv E (Products.hodgePiCoordinates (ComplexMultiplication.WeightOne.CM.coefficientConjugation _ x) j) |
| 155 | (P.embeddings i) = _ |
| 156 | rw [Products.hodgePiCoordinates_conjugate, ComplexMultiplication.CM.TypeHodgeStructure.fieldComplexificationEquiv_conjugation] |
| 157 | rfl |
| 158 | · change ComplexMultiplication.EmbeddingDecomposition.CM.fieldComplexificationEquiv E (Products.hodgePiCoordinates (ComplexMultiplication.WeightOne.CM.coefficientConjugation _ x) j) |
| 159 | (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)) = _ |
| 160 | rw [Products.hodgePiCoordinates_conjugate, ComplexMultiplication.CM.TypeHodgeStructure.fieldComplexificationEquiv_conjugation, ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding_involutive] |
| 161 | rfl |
| 162 | |
| 163 | def coordinateSignCondition (u : Geometry.ComplexBall.PrescribedSignsB.Ambient (Fin s)) : Prop := |
| 164 | ∀ i j, ((u i).1 j ≠ 0 → coordinateFirstSign P j i = true) ∧ |
| 165 | ((u i).2 j ≠ 0 → (!(coordinateFirstSign P j i)) = true) |
| 166 | |
| 167 | theorem coordinateCMHodge_holomorphic (x : ComplexMultiplication.WeightOne.CM.Complexification (Fin 3 → E)) : |
| 168 | x ∈ (coordinateCMHodge P hP).holomorphic ↔ |
| 169 | coordinateSignCondition P (cmPeriodCoordinates P hP x) := by |
| 170 | change (∀ j, Products.hodgePiCoordinates x j ∈ (coordinateCMType P hP j).subspace true) ↔ _ |
| 171 | constructor |
| 172 | · intro hx i j |
| 173 | have h := ((coordinateCMType P hP j).mem_subspace_iff true _).mp (hx j) |
| 174 | constructor |
| 175 | · intro hn |
| 176 | exact (coordinateCMType_first P hP j i).symm.trans (h (P.embeddings i) hn) |
| 177 | · intro hn |
| 178 | exact (coordinateCMType_second P hP j i).symm.trans (h (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)) hn) |
| 179 | · intro hx j |
| 180 | apply ((coordinateCMType P hP j).mem_subspace_iff true _).mpr |
| 181 | intro σ hn |
| 182 | obtain ⟨⟨i, b⟩, rfl⟩ := (NumberTheory.ArithmeticGroups.EmbeddingLattice.CongruenceLevel.representativePairs P.embeddings hP.1).surjective σ |
| 183 | cases b |
| 184 | · exact (coordinateCMType_first P hP j i).trans ((hx i j).1 hn) |
| 185 | · exact (coordinateCMType_second P hP j i).trans ((hx i j).2 hn) |
| 186 | |
| 187 | end |
| 188 | |
| 189 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.PeriodCoordinates |