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.BallArithmetic |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CMOrthonormalFrames |
| 3 | |
| 4 | /-! # Single Line Arithmetic -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineArithmetic.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! One actual multiplicity line in the original CM embeddings, with |
| 11 | the opposite skew trace coefficient required by the native phase order. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField _root_.Matrix |
| 14 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 16 | |
| 17 | attribute [local instance] BallArithmetic.CM.directNativeRealNumberField |
| 18 | |
| 19 | variable (K : IntermediateField ℚ ℂ) [NumberField K] [IsCMField K] [IsGalois ℚ K] |
| 20 | (δ : K) (hδ : IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 21 | (a : K) (ha : IsCMField.complexConj K a = a) (ha0 : a ≠ 0) |
| 22 | |
| 23 | def directSingleLineSkewUnit : |
| 24 | (Matrix (Fin 1) (Fin 1) (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ)))ˣ := |
| 25 | CMOrthonormalFrames.CM.singleLineSkewUnit K δ hδ hδ0 (-a) (by rw [map_neg, ha]) (neg_ne_zero.mpr ha0) |
| 26 | |
| 27 | theorem direct_single_line_skew_conjugate_transpose : |
| 28 | (directSingleLineSkewUnit K δ hδ hδ0 a ha ha0).val.conjTranspose = |
| 29 | -(directSingleLineSkewUnit K δ hδ hδ0 a ha ha0).val := |
| 30 | CMOrthonormalFrames.CM.single_line_skew_conjugate_transpose K δ hδ hδ0 (-a) (by rw [map_neg, ha]) (neg_ne_zero.mpr ha0) |
| 31 | |
| 32 | def directSingleLineGlobalFrames (β : K) (hβ : IsCMField.complexConj K β = β) (hβ0 : β ≠ 0) : |
| 33 | RepresentationTheory.Weil.AdelicSplitting.Assembly.Construction.GlobalFrames (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) 3 1 |
| 34 | (CMGlobalFrames.CM.cmHermitianUnit K δ hδ β hβ hβ0) (directSingleLineSkewUnit K δ hδ hδ0 a ha ha0) := |
| 35 | CMOrthonormalFrames.CM.singleLineGlobalFrames K δ hδ hδ0 (-a) (by rw [map_neg, ha]) (neg_ne_zero.mpr ha0) β hβ hβ0 |
| 36 | |
| 37 | theorem direct_single_line_skew_local_matrix (places : HeckeCycles.GeometricSource.CM.Places K) (i : Fin places.count) : |
| 38 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm (maximalRealSubfield K) (directSingleLineSkewUnit K δ hδ hδ0 a ha ha0).val |
| 39 | (.inl (RealPlaces.CM.sourceRealPlaces K places i))).map (CMArchimedeanCoordinates.CM.sourceComplexCoordinate K places δ hδ hδ0 i) = |
| 40 | Matrix.diagonal (fun j => (CMOrthonormalFrames.CM.singleLineSkewCoefficient K δ a places i j : ℂ) * Complex.I) := by |
| 41 | apply Matrix.ext |
| 42 | intro j k |
| 43 | have hj : j = 0 := Subsingleton.elim _ _ |
| 44 | have hk : k = 0 := Subsingleton.elim _ _ |
| 45 | subst j k |
| 46 | exact congrArg (fun M : Matrix (Fin 2) (Fin 2) ℂ => M 0 0) |
| 47 | (BallArithmetic.CM.direct_source_skew_local_matrix K places δ hδ hδ0 (fun _ => a) (fun _ => ha) (fun _ => ha0) i) |
| 48 | |
| 49 | theorem direct_single_line_skew_normalized (places : HeckeCycles.GeometricSource.CM.Places K) (i : Fin places.count) : |
| 50 | (CMOrthonormalFrames.CM.singleLineSkewNormalizer K δ hδ hδ0 a ha ha0 places i).val.conjTranspose * |
| 51 | ((RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm (maximalRealSubfield K) (directSingleLineSkewUnit K δ hδ hδ0 a ha ha0).val |
| 52 | (.inl (RealPlaces.CM.sourceRealPlaces K places i))).map (CMArchimedeanCoordinates.CM.sourceComplexCoordinate K places δ hδ hδ0 i)) * |
| 53 | (CMOrthonormalFrames.CM.singleLineSkewNormalizer K δ hδ hδ0 a ha ha0 places i).val = |
| 54 | Matrix.diagonal (fun j => (if 0 < CMOrthonormalFrames.CM.singleLineSkewCoefficient K δ a places i j then (1 : ℂ) else -1) * Complex.I) := by |
| 55 | rw [direct_single_line_skew_local_matrix] |
| 56 | exact DiagonalNormalization.CM.complex_diagonal_normalizer_form _ _ Complex.I |
| 57 | |
| 58 | omit δ hδ hδ0 a ha ha0 in |
| 59 | def directSingleLineArithmetic {B : HeckeCycles.GeometricSource.CM.BallDatum K} {places : HeckeCycles.GeometricSource.CM.Places K} |
| 60 | {d : Fin 2 → Fin places.count → Bool} (Q : Lagrangians.CM.LagrangianPair K B places d) |
| 61 | (hμ : ∀ j, d j places.distinguished = true) (j : Fin 2) : |
| 62 | RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K Q.delta Q.delta_imaginary) 1 |
| 63 | (CMGlobalFrames.CM.cmHermitianUnit K Q.delta Q.delta_imaginary B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 64 | (directSingleLineSkewUnit K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a j) |
| 65 | (BallArithmetic.CM.direct_source_a_fixed K Q j) (BallArithmetic.CM.direct_source_a_ne_zero K Q j)) where |
| 66 | places := places.count |
| 67 | enumerate := RealPlaces.CM.sourceRealPlaces K places |
| 68 | distinguished := places.distinguished |
| 69 | other_place := BallArithmetic.CM.source_other_place K places B.other_place |
| 70 | real := CMArchimedeanCoordinates.CM.sourceRealCoordinate K places |
| 71 | real_continuous := CMArchimedeanCoordinates.CM.source_real_coordinate_continuous K places |
| 72 | real_inverse_continuous := CMArchimedeanCoordinates.CM.source_real_coordinate_inverse_continuous K places |
| 73 | complex := CMArchimedeanCoordinates.CM.sourceComplexCoordinate K places Q.delta Q.delta_imaginary Q.delta_ne_zero |
| 74 | complex_continuous := CMArchimedeanCoordinates.CM.source_complex_coordinate_continuous K places Q.delta Q.delta_imaginary Q.delta_ne_zero |
| 75 | complex_inverse_continuous := CMArchimedeanCoordinates.CM.source_complex_coordinate_inverse_continuous K places Q.delta Q.delta_imaginary Q.delta_ne_zero |
| 76 | complex_scalar := CMArchimedeanCoordinates.CM.source_complex_coordinate_scalar K places Q.delta Q.delta_imaginary Q.delta_ne_zero |
| 77 | complex_star := CMArchimedeanCoordinates.CM.source_complex_coordinate_star K places Q.delta Q.delta_imaginary Q.delta_ne_zero |
| 78 | basisV := CMOrthonormalFrames.CM.sourceHermitianNormalizer K places B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B) |
| 79 | basisP := CMOrthonormalFrames.CM.singleLineSkewNormalizer K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a j) |
| 80 | (BallArithmetic.CM.direct_source_a_fixed K Q j) (BallArithmetic.CM.direct_source_a_ne_zero K Q j) places |
| 81 | positive i _ := !(d j i) |
| 82 | distinguished_sign _ := by simp [hμ j] |
| 83 | formV i := (BallArithmetic.CM.direct_source_hermitian_normalized K places Q.delta Q.delta_imaginary Q.delta_ne_zero |
| 84 | B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B) i).trans |
| 85 | (congrArg Matrix.diagonal (funext (CMOrthonormalFrames.CM.source_ball_hermitian_sign K places B i))) |
| 86 | formP i := (direct_single_line_skew_normalized K Q.delta Q.delta_imaginary Q.delta_ne_zero (Q.a j) |
| 87 | (BallArithmetic.CM.direct_source_a_fixed K Q j) (BallArithmetic.CM.direct_source_a_ne_zero K Q j) places i).trans |
| 88 | (congrArg Matrix.diagonal (funext (fun _ => CMOrthonormalFrames.CM.source_lagrangian_skew_sign K places Q hμ i j))) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.SingleLineArithmetic.CM |