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.HodgeConjecture.ThetaCycle.RealPlaces |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealQuadraticCoordinates |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Rational |
| 4 | |
| 5 | /-! # CM Archimedean Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CMArchimedeanCoordinates.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! ThetaCycle: real and complex local coordinates from the actual CM field, |
| 12 | chosen embedding representatives, and retained imaginary trace coefficient. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open _root_.NumberField _root_.NumberField.InfinitePlace _root_.NumberField.InfinitePlace.Completion |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 17 | |
| 18 | variable (K : IntermediateField ℚ ℂ) |
| 19 | [NumberField K] [IsGalois ℚ K] [IsCMField K] (places : HeckeCycles.GeometricSource.CM.Places K) |
| 20 | |
| 21 | def sourceRealCoordinate (i : Fin places.count) : |
| 22 | (RealPlaces.CM.sourceRealPlaces K places i).Completion ≃+* ℝ := |
| 23 | ringEquivRealOfIsReal (IsTotallyReal.isReal (RealPlaces.CM.sourceRealPlaces K places i)) |
| 24 | |
| 25 | theorem source_real_coordinate_continuous (i : Fin places.count) : |
| 26 | Continuous (sourceRealCoordinate K places i) := |
| 27 | (isometryEquivRealOfIsReal (IsTotallyReal.isReal (RealPlaces.CM.sourceRealPlaces K places i))).continuous |
| 28 | |
| 29 | theorem source_real_coordinate_inverse_continuous (i : Fin places.count) : |
| 30 | Continuous (sourceRealCoordinate K places i).symm := |
| 31 | (isometryEquivRealOfIsReal (IsTotallyReal.isReal (RealPlaces.CM.sourceRealPlaces K places i))).symm.continuous |
| 32 | |
| 33 | theorem source_real_coordinate_rational (i : Fin places.count) (x : maximalRealSubfield K) : |
| 34 | (sourceRealCoordinate K places i |
| 35 | (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar (maximalRealSubfield K) (.inl (RealPlaces.CM.sourceRealPlaces K places i)) x) : ℂ) = |
| 36 | HeckeCycles.ReferenceDatum.CM.embeddings K places i (x : K) := by |
| 37 | change (extensionEmbeddingOfIsReal (IsTotallyReal.isReal (RealPlaces.CM.sourceRealPlaces K places i)) |
| 38 | (algebraMap (maximalRealSubfield K) (RealPlaces.CM.sourceRealPlaces K places i).Completion x) : ℂ) = _ |
| 39 | simpa using RealPlaces.CM.source_real_embedding K places i x |
| 40 | |
| 41 | variable (δ : K) (hδ : IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 42 | |
| 43 | include hδ in |
| 44 | theorem source_imaginary_real_zero (i : Fin places.count) : |
| 45 | (HeckeCycles.ReferenceDatum.CM.embeddings K places i δ).re = 0 := by |
| 46 | have hc := IsCMField.complexEmbedding_complexConj K (HeckeCycles.ReferenceDatum.CM.embeddings K places i).toRingHom δ |
| 47 | rw [hδ, map_neg] at hc |
| 48 | have h := congrArg Complex.re hc |
| 49 | simp only [Complex.neg_re, Complex.conj_re] at h |
| 50 | change -(HeckeCycles.ReferenceDatum.CM.embeddings K places i δ).re = (HeckeCycles.ReferenceDatum.CM.embeddings K places i δ).re at h |
| 51 | linarith |
| 52 | |
| 53 | include hδ hδ0 in |
| 54 | theorem source_imaginary_im_ne_zero (i : Fin places.count) : |
| 55 | (HeckeCycles.ReferenceDatum.CM.embeddings K places i δ).im ≠ 0 := by |
| 56 | intro h |
| 57 | apply hδ0 |
| 58 | apply (HeckeCycles.ReferenceDatum.CM.embeddings K places i).injective |
| 59 | rw [map_zero] |
| 60 | exact Complex.ext (source_imaginary_real_zero K places δ hδ i) h |
| 61 | |
| 62 | theorem source_quadratic_parameter_real (i : Fin places.count) : |
| 63 | sourceRealCoordinate K places i |
| 64 | (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar (maximalRealSubfield K) (.inl (RealPlaces.CM.sourceRealPlaces K places i)) |
| 65 | (QuadraticModel.CM.cmQuadraticParameter K δ hδ)) = -((HeckeCycles.ReferenceDatum.CM.embeddings K places i δ).im ^ 2) := by |
| 66 | have h := congrArg Complex.re |
| 67 | (source_real_coordinate_rational K places i (QuadraticModel.CM.cmQuadraticParameter K δ hδ)) |
| 68 | change _ = (HeckeCycles.ReferenceDatum.CM.embeddings K places i (δ ^ 2)).re at h |
| 69 | rw [map_pow] at h |
| 70 | simpa only [Complex.ofReal_re, pow_two, Complex.mul_re, |
| 71 | source_imaginary_real_zero K places δ hδ i, zero_mul, zero_sub] using h |
| 72 | |
| 73 | def sourceComplexCoordinate (i : Fin places.count) : |
| 74 | RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) |
| 75 | (.inl (RealPlaces.CM.sourceRealPlaces K places i)) ≃+* ℂ := |
| 76 | RealQuadraticCoordinates.CM.realQuadraticComplexEquiv (sourceRealCoordinate K places i) _ (HeckeCycles.ReferenceDatum.CM.embeddings K places i δ).im |
| 77 | (source_quadratic_parameter_real K places δ hδ i) |
| 78 | (source_imaginary_im_ne_zero K places δ hδ hδ0 i) |
| 79 | |
| 80 | theorem source_complex_coordinate_continuous (i : Fin places.count) : |
| 81 | Continuous (sourceComplexCoordinate K places δ hδ hδ0 i) := |
| 82 | RealQuadraticCoordinates.CM.real_quadratic_complex_continuous _ _ _ _ _ (source_real_coordinate_continuous K places i) |
| 83 | |
| 84 | theorem source_complex_coordinate_inverse_continuous (i : Fin places.count) : |
| 85 | Continuous (sourceComplexCoordinate K places δ hδ hδ0 i).symm := |
| 86 | RealQuadraticCoordinates.CM.real_quadratic_complex_inverse_continuous _ _ _ _ _ |
| 87 | (source_real_coordinate_inverse_continuous K places i) |
| 88 | |
| 89 | theorem source_complex_coordinate_scalar (i : Fin places.count) |
| 90 | (x : (RealPlaces.CM.sourceRealPlaces K places i).Completion) : |
| 91 | sourceComplexCoordinate K places δ hδ hδ0 i (algebraMap _ _ x) = |
| 92 | (sourceRealCoordinate K places i x : ℂ) := |
| 93 | RealQuadraticCoordinates.CM.real_quadratic_complex_scalar _ _ _ _ _ x |
| 94 | |
| 95 | theorem source_complex_coordinate_star (i : Fin places.count) |
| 96 | (x : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) |
| 97 | (.inl (RealPlaces.CM.sourceRealPlaces K places i))) : |
| 98 | sourceComplexCoordinate K places δ hδ hδ0 i (star x) = |
| 99 | star (sourceComplexCoordinate K places δ hδ hδ0 i x) := |
| 100 | RealQuadraticCoordinates.CM.real_quadratic_complex_star _ _ _ _ _ x |
| 101 | |
| 102 | theorem source_complex_coordinate_rational (i : Fin places.count) |
| 103 | (x : RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ)) : |
| 104 | sourceComplexCoordinate K places δ hδ hδ0 i |
| 105 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) |
| 106 | (.inl (RealPlaces.CM.sourceRealPlaces K places i)) x) = |
| 107 | HeckeCycles.ReferenceDatum.CM.embeddings K places i (QuadraticModel.CM.cmQuadraticEquiv K δ hδ hδ0 x) := by |
| 108 | have hδc : HeckeCycles.ReferenceDatum.CM.embeddings K places i δ = ((HeckeCycles.ReferenceDatum.CM.embeddings K places i δ).im : ℂ) * Complex.I := by |
| 109 | apply Complex.ext |
| 110 | · simpa using source_imaginary_real_zero K places δ hδ i |
| 111 | · simp |
| 112 | change (sourceRealCoordinate K places i (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar (maximalRealSubfield K) |
| 113 | (.inl (RealPlaces.CM.sourceRealPlaces K places i)) x.re) : ℂ) + |
| 114 | (sourceRealCoordinate K places i (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar (maximalRealSubfield K) |
| 115 | (.inl (RealPlaces.CM.sourceRealPlaces K places i)) x.im) : ℂ) * |
| 116 | ((HeckeCycles.ReferenceDatum.CM.embeddings K places i δ).im : ℂ) * Complex.I = |
| 117 | HeckeCycles.ReferenceDatum.CM.embeddings K places i (QuadraticModel.CM.cmQuadraticMap K δ hδ x) |
| 118 | rw [source_real_coordinate_rational, source_real_coordinate_rational, |
| 119 | QuadraticModel.CM.cm_quadratic_map_apply, map_add, map_mul, hδc] |
| 120 | simp only [Complex.mul_im, Complex.ofReal_re, Complex.I_im, Complex.ofReal_im, |
| 121 | Complex.I_re, mul_one, mul_zero, add_zero] |
| 122 | ring |
| 123 | |
| 124 | /-- The conjugate coordinate is also retained explicitly, for the native |
| 125 | unitary convention with distinguished skew coefficient a negative multiple of `I`. -/ |
| 126 | def sourceConjugateComplexCoordinate (i : Fin places.count) : |
| 127 | RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) |
| 128 | (.inl (RealPlaces.CM.sourceRealPlaces K places i)) ≃+* ℂ := |
| 129 | (sourceComplexCoordinate K places δ hδ hδ0 i).trans Complex.conjAe.toRingEquiv |
| 130 | |
| 131 | theorem source_conjugate_complex_coordinate_apply (i : Fin places.count) |
| 132 | (x : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) |
| 133 | (.inl (RealPlaces.CM.sourceRealPlaces K places i))) : |
| 134 | sourceConjugateComplexCoordinate K places δ hδ hδ0 i x = |
| 135 | star (sourceComplexCoordinate K places δ hδ hδ0 i x) := rfl |
| 136 | |
| 137 | theorem source_conjugate_complex_coordinate_continuous (i : Fin places.count) : |
| 138 | Continuous (sourceConjugateComplexCoordinate K places δ hδ hδ0 i) := |
| 139 | Complex.continuous_conj.comp (source_complex_coordinate_continuous K places δ hδ hδ0 i) |
| 140 | |
| 141 | theorem source_conjugate_complex_coordinate_inverse_continuous (i : Fin places.count) : |
| 142 | Continuous (sourceConjugateComplexCoordinate K places δ hδ hδ0 i).symm := |
| 143 | (source_complex_coordinate_inverse_continuous K places δ hδ hδ0 i).comp Complex.continuous_conj |
| 144 | |
| 145 | theorem source_conjugate_complex_coordinate_scalar (i : Fin places.count) |
| 146 | (x : (RealPlaces.CM.sourceRealPlaces K places i).Completion) : |
| 147 | sourceConjugateComplexCoordinate K places δ hδ hδ0 i (algebraMap _ _ x) = |
| 148 | (sourceRealCoordinate K places i x : ℂ) := by |
| 149 | rw [source_conjugate_complex_coordinate_apply, source_complex_coordinate_scalar] |
| 150 | exact Complex.conj_ofReal _ |
| 151 | |
| 152 | theorem source_conjugate_complex_coordinate_star (i : Fin places.count) |
| 153 | (x : RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.localQuadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) |
| 154 | (.inl (RealPlaces.CM.sourceRealPlaces K places i))) : |
| 155 | sourceConjugateComplexCoordinate K places δ hδ hδ0 i (star x) = |
| 156 | star (sourceConjugateComplexCoordinate K places δ hδ hδ0 i x) := |
| 157 | congrArg star (source_complex_coordinate_star K places δ hδ hδ0 i x) |
| 158 | |
| 159 | end |
| 160 | |
| 161 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CMArchimedeanCoordinates.CM |