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.SourceScales |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RationalBallCoordinates |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.GeometricGroup |
| 4 | import OAI.RepresentationTheory.Theta.Adelic.BallNatural |
| 5 | |
| 6 | /-! # Source Intrinsic Line -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicLine.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The native rational special-unitary action is the original source |
| 15 | matrix at every CM embedding, conjugated by the explicit Hermitian |
| 16 | normalizer. In particular the active matrix uses the original action. -/ |
| 17 | |
| 18 | open scoped Classical _root_.NumberField _root_.Matrix |
| 19 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 21 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 22 | open OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.GeometricGroup |
| 23 | |
| 24 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 25 | |
| 26 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 27 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 28 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) |
| 29 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 30 | (N : ℕ) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) |
| 31 | |
| 32 | theorem direct_source_rational_local_matrix (v : Fin places.count) : |
| 33 | ((RepresentationTheory.Theta.Adelic.RationalSU.rationalArchimedeanSU (maximalRealSubfield K) |
| 34 | (CMGlobalFrames.CM.cmHermitianUnit K Q.delta Q.delta_imaginary B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 35 | (RationalBallUnitary.CM.rationalBallSU K Q.delta Q.delta_imaginary Q.delta_ne_zero B N g hg)) |
| 36 | (RealPlaces.CM.sourceRealPlaces K places v)).val.val.map |
| 37 | (CMArchimedeanCoordinates.CM.sourceComplexCoordinate K places Q.delta Q.delta_imaginary Q.delta_ne_zero v) = |
| 38 | (LinearMap.toMatrix' g.toLinearMap).map (HeckeCycles.ReferenceDatum.CM.embeddings K places v) := by |
| 39 | ext i j |
| 40 | change CMArchimedeanCoordinates.CM.sourceComplexCoordinate K places Q.delta Q.delta_imaginary Q.delta_ne_zero v |
| 41 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K Q.delta Q.delta_imaginary) |
| 42 | (.inl (RealPlaces.CM.sourceRealPlaces K places v)) |
| 43 | ((RationalBallUnitary.CM.rationalBallUnit K Q.delta Q.delta_imaginary Q.delta_ne_zero g).val i j)) = _ |
| 44 | refine (congrArg (fun x => CMArchimedeanCoordinates.CM.sourceComplexCoordinate K places Q.delta Q.delta_imaginary Q.delta_ne_zero v |
| 45 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K Q.delta Q.delta_imaginary) |
| 46 | (.inl (RealPlaces.CM.sourceRealPlaces K places v)) x)) |
| 47 | (RationalBallCoordinates.CM.rational_ball_unit_entry K Q.delta Q.delta_imaginary Q.delta_ne_zero g i j)).trans ?_ |
| 48 | exact (CMArchimedeanCoordinates.CM.source_complex_coordinate_rational K places Q.delta Q.delta_imaginary Q.delta_ne_zero v _).trans |
| 49 | (congrArg (HeckeCycles.ReferenceDatum.CM.embeddings K places v) |
| 50 | ((QuadraticModel.CM.cmQuadraticEquiv K Q.delta Q.delta_imaginary Q.delta_ne_zero).apply_symm_apply _)) |
| 51 | |
| 52 | theorem direct_source_standard_matrix (v : Fin places.count) : |
| 53 | RepresentationTheory.Theta.Adelic.BallGeometryData.standardMatrix (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) |
| 54 | (RepresentationTheory.Theta.Adelic.RationalSU.rationalArchimedeanSU (maximalRealSubfield K) |
| 55 | (CMGlobalFrames.CM.cmHermitianUnit K Q.delta Q.delta_imaginary B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 56 | (RationalBallUnitary.CM.rationalBallSU K Q.delta Q.delta_imaginary Q.delta_ne_zero B N g hg)) v = |
| 57 | ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV v).inv * |
| 58 | (LinearMap.toMatrix' g.toLinearMap).map (HeckeCycles.ReferenceDatum.CM.embeddings K places v) * |
| 59 | ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV v).val := by |
| 60 | exact congrArg (fun M => ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV v).inv * M * |
| 61 | ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV v).val) |
| 62 | (direct_source_rational_local_matrix K Q N g hg v) |
| 63 | |
| 64 | theorem direct_source_active_standard_matrix : |
| 65 | RepresentationTheory.Theta.Adelic.BallGeometryData.standardMatrix (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) |
| 66 | (RepresentationTheory.Theta.Adelic.RationalSU.rationalArchimedeanSU (maximalRealSubfield K) |
| 67 | (CMGlobalFrames.CM.cmHermitianUnit K Q.delta Q.delta_imaginary B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 68 | (RationalBallUnitary.CM.rationalBallSU K Q.delta Q.delta_imaginary Q.delta_ne_zero B N g hg)) places.distinguished = |
| 69 | ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV places.distinguished).inv * |
| 70 | BallActionMatrix.CM.ballActionMatrix K g * |
| 71 | ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV places.distinguished).val := by |
| 72 | have hm : (LinearMap.toMatrix' g.toLinearMap).map (HeckeCycles.ReferenceDatum.CM.embeddings K places places.distinguished) = |
| 73 | BallActionMatrix.CM.ballActionMatrix K g := by |
| 74 | ext i j |
| 75 | exact congrArg (fun f => f (LinearMap.toMatrix' g.toLinearMap i j)) (HeckeCycles.ReferenceDatum.CM.embeddings_distinguished K places) |
| 76 | exact (direct_source_standard_matrix K Q hμ hother N g hg places.distinguished).trans |
| 77 | (congrArg (fun M => ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV places.distinguished).inv * M * |
| 78 | ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV places.distinguished).val) hm) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | section |
| 83 | |
| 84 | /-! The active Hermitian normalizer rescales precisely the third |
| 85 | homogeneous coordinate. Its conjugation preserves the source projective |
| 86 | denominator and rescales the affine ball coordinates by the same radius. -/ |
| 87 | |
| 88 | open scoped Classical _root_.NumberField _root_.Matrix |
| 89 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 90 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.RationalSU |
| 91 | |
| 92 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 93 | |
| 94 | def weightedBallConjugate (r : ℂ) (M : Matrix (Fin 3) (Fin 3) ℂ) : Matrix (Fin 3) (Fin 3) ℂ := |
| 95 | Matrix.diagonal (fun i => if i = 2 then r else 1) * M * |
| 96 | Matrix.diagonal (fun i => if i = 2 then r⁻¹ else 1) |
| 97 | |
| 98 | theorem weighted_ball_conjugate_line (r : ℂ) (hr : r ≠ 0) |
| 99 | (M : Matrix (Fin 3) (Fin 3) ℂ) (z : HeckeCycles.GeometricSource.CM.BallChart) : |
| 100 | (weightedBallConjugate r M).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector (fun j => z j / r)) = |
| 101 | fun i => if i = 2 then M.mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z) i |
| 102 | else M.mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z) i / r := by |
| 103 | funext i |
| 104 | fin_cases i <;> |
| 105 | simp [weightedBallConjugate, Matrix.mulVec, dotProduct, Fin.sum_univ_succ, HeckeCycles.GeometricSource.CM.BallDatum.lineVector] <;> |
| 106 | field_simp [hr] |
| 107 | |
| 108 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 109 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 110 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) |
| 111 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 112 | |
| 113 | theorem direct_source_active_basis_inverse : |
| 114 | ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV places.distinguished).inv = |
| 115 | Matrix.diagonal (fun i => if i = 2 then (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) else 1) := by |
| 116 | have h := SourceScales.CM.source_hermitian_normalizer_inv K places B.b B.conjugate_b |
| 117 | (BallArithmetic.CM.direct_source_ball_b_ne_zero K B) places.distinguished |
| 118 | have hs : (fun i : Fin 3 => if i = 2 then (SourceScales.CM.sourceNativePlaceRadius K places B.b places.distinguished : ℂ) else 1) = |
| 119 | (fun i : Fin 3 => if i = 2 then (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) else 1) := by |
| 120 | rw [SourceScales.CM.source_native_place_radius_active] |
| 121 | exact h.trans (congrArg Matrix.diagonal hs) |
| 122 | |
| 123 | theorem direct_source_active_basis_value : |
| 124 | ((BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother).basisV places.distinguished).val = |
| 125 | Matrix.diagonal (fun i => if i = 2 then (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ)⁻¹ else 1) := by |
| 126 | change Matrix.diagonal (fun i => (DiagonalNormalization.CM.diagonalNormalizationScale |
| 127 | (CMFormCoordinates.CM.sourceHermitianRealCoefficients K places B.b places.distinguished i) : ℂ)) = _ |
| 128 | apply congrArg Matrix.diagonal |
| 129 | funext i |
| 130 | by_cases hi : i = 2 |
| 131 | · subst i |
| 132 | change (((Real.sqrt |(HeckeCycles.ReferenceDatum.CM.embeddings K places places.distinguished B.b).re|)⁻¹ : ℝ) : ℂ) = |
| 133 | (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ)⁻¹ |
| 134 | rw [Complex.ofReal_inv] |
| 135 | exact congrArg (fun r : ℝ => (r : ℂ)⁻¹) (SourceScales.CM.source_native_place_radius_active K places B) |
| 136 | · simp [DiagonalNormalization.CM.diagonalNormalizationScale, CMFormCoordinates.CM.sourceHermitianRealCoefficients, hi] |
| 137 | |
| 138 | variable (N : ℕ) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) |
| 139 | |
| 140 | theorem direct_source_active_matrix_weighted : |
| 141 | RepresentationTheory.Theta.Adelic.BallGeometryData.standardMatrix (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) |
| 142 | (RepresentationTheory.Theta.Adelic.RationalSU.rationalArchimedeanSU (maximalRealSubfield K) |
| 143 | (CMGlobalFrames.CM.cmHermitianUnit K Q.delta Q.delta_imaginary B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 144 | (RationalBallUnitary.CM.rationalBallSU K Q.delta Q.delta_imaginary Q.delta_ne_zero B N g hg)) places.distinguished = |
| 145 | weightedBallConjugate (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) (BallActionMatrix.CM.ballActionMatrix K g) := by |
| 146 | refine (direct_source_active_standard_matrix K Q hμ hother N g hg).trans ?_ |
| 147 | exact congrArg₂ (fun M P => M * BallActionMatrix.CM.ballActionMatrix K g * P) |
| 148 | (direct_source_active_basis_inverse K Q hμ hother) (direct_source_active_basis_value K Q hμ hother) |
| 149 | |
| 150 | end |
| 151 | |
| 152 | /-! The constructed native ball action agrees exactly with the literal |
| 153 | principal action on the original BallDatum, under its radius coordinates. |
| 154 | The natural denominator is the original projective denominator. -/ |
| 155 | |
| 156 | open scoped Classical _root_.NumberField _root_.Matrix |
| 157 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 158 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 159 | open OAI.RepresentationTheory.Theta.Adelic.RationalSU OAI.RepresentationTheory.Theta.Adelic.GeometricGroup |
| 160 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallNatural.Factors |
| 161 | |
| 162 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 163 | |
| 164 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 165 | {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} {d : Fin 2 → Fin places.count → Bool} |
| 166 | (Q : Lagrangians.CM.LagrangianPair K B places d) (hμ : ∀ j, d j places.distinguished = true) |
| 167 | (hother : ∃ τ : Gal(K/ℚ), τ ≠ 1 ∧ τ ≠ ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation K) |
| 168 | (N : ℕ) (g : HeckeCycles.GeometricSource.CM.Vec K ≃ₗ[K] HeckeCycles.GeometricSource.CM.Vec K) (hg : B.principalLevel N g) |
| 169 | |
| 170 | abbrev directSourceBallGroup : RepresentationTheory.Theta.Adelic.BallNatural.BallGroup := |
| 171 | RepresentationTheory.Theta.Adelic.GeometricGroup.geometricBallHom (BallArithmetic.CM.directSourceBallArithmeticData K Q hμ hother) |
| 172 | (RepresentationTheory.Theta.Adelic.RationalSU.rationalArchimedeanSU (maximalRealSubfield K) |
| 173 | (CMGlobalFrames.CM.cmHermitianUnit K Q.delta Q.delta_imaginary B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 174 | (RationalBallUnitary.CM.rationalBallSU K Q.delta Q.delta_imaginary Q.delta_ne_zero B N g hg)) |
| 175 | |
| 176 | theorem direct_source_ball_group_matrix : |
| 177 | (RepresentationTheory.Theta.Adelic.BallNatural.asSL (directSourceBallGroup K Q hμ hother N g hg)).val = |
| 178 | weightedBallConjugate (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) (BallActionMatrix.CM.ballActionMatrix K g) := |
| 179 | direct_source_active_matrix_weighted K Q hμ hother N g hg |
| 180 | |
| 181 | theorem direct_source_native_image_line (z : B.Domain) : |
| 182 | (RepresentationTheory.Theta.Adelic.BallNatural.asSL (directSourceBallGroup K Q hμ hother N g hg)).val.mulVec |
| 183 | (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z).val) = |
| 184 | fun i => if i = 2 then (BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) i |
| 185 | else (BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) i / (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) := by |
| 186 | have hm := congrArg (fun M : Matrix (Fin 3) (Fin 3) ℂ => |
| 187 | M.mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector (fun j => z.val j / (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ)))) |
| 188 | (direct_source_ball_group_matrix K Q hμ hother N g hg) |
| 189 | exact hm.trans (weighted_ball_conjugate_line (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) |
| 190 | (Complex.ofReal_ne_zero.mpr (ne_of_gt (SourceIntrinsicBall.CM.source_ball_radius_pos K B))) (BallActionMatrix.CM.ballActionMatrix K g) z.val) |
| 191 | |
| 192 | theorem direct_source_native_denominator (z : B.Domain) : |
| 193 | RepresentationTheory.Theta.Adelic.BallNatural.Factors.automorphyFactor (directSourceBallGroup K Q hμ hother N g hg) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) = |
| 194 | (BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2 := by |
| 195 | have h := congrFun (direct_source_native_image_line K Q hμ hother N g hg z) 2 |
| 196 | simpa only [ite_true] using! h |
| 197 | |
| 198 | theorem source_native_principal_ball_action (z : B.Domain) : |
| 199 | directSourceBallGroup K Q hμ hother N g hg • SourceIntrinsicBall.CM.sourceNativeBallPoint K B z = |
| 200 | SourceIntrinsicBall.CM.sourceNativeBallPoint K B (BallLineAction.CM.ballPrincipalAction K B g hg.1 z) := by |
| 201 | apply Subtype.ext |
| 202 | funext j |
| 203 | have ht := congrFun (direct_source_native_image_line K Q hμ hother N g hg z) j.castSucc |
| 204 | have hj : j.castSucc ≠ (2 : Fin 3) := Fin.castSucc_ne_last j |
| 205 | simp only [ite_eq_right hj] at ht |
| 206 | have hb := direct_source_native_denominator K Q hμ hother N g hg z |
| 207 | change ((RepresentationTheory.Theta.Adelic.BallNatural.asSL (directSourceBallGroup K Q hμ hother N g hg)).val.mulVec |
| 208 | (RepresentationTheory.Theta.Adelic.DeterminantCoordinates.lineVector (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z).val) j.castSucc) / |
| 209 | RepresentationTheory.Theta.Adelic.BallNatural.Factors.automorphyFactor (directSourceBallGroup K Q hμ hother N g hg) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) = |
| 210 | ((BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) j.castSucc / |
| 211 | (BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2) / (SourceIntrinsicBall.CM.sourceBallRadius K B : ℂ) |
| 212 | rw [ht, hb] |
| 213 | ring |
| 214 | |
| 215 | theorem source_native_natural_half_factor (z : B.Domain) : |
| 216 | RepresentationTheory.Theta.Adelic.BallNatural.Factors.naturalHalfFactor 2 (directSourceBallGroup K Q hμ hother N g hg) (SourceIntrinsicBall.CM.sourceNativeBallPoint K B z) = |
| 217 | ((BallActionMatrix.CM.ballActionMatrix K g).mulVec (HeckeCycles.GeometricSource.CM.BallDatum.lineVector z.val) 2) ^ 2 := |
| 218 | congrArg (fun c : ℂ => c ^ 2) (direct_source_native_denominator K Q hμ hother N g hg z) |
| 219 | |
| 220 | end |
| 221 | |
| 222 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SourceIntrinsicLine.CM |