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 | |
| 3 | /-! # Coefficient Intrinsic Arithmetic -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CoefficientIntrinsicArithmetic.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native arithmetic data from explicit CM multiplicity coefficients |
| 10 | and their signs. This keeps the imaginary generator and all place maps |
| 11 | fixed when the rational orthogonal multiplicity basis changes. -/ |
| 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 | (B : HeckeCycles.GeometricSource.CM.BallDatum K) (places : HeckeCycles.GeometricSource.CM.Places K) |
| 21 | (δ : K) (hδ : IsCMField.complexConj K δ = -δ) (hδ0 : δ ≠ 0) |
| 22 | (a : Fin 2 → K) (ha : ∀ j, IsCMField.complexConj K (a j) = a j) (ha0 : ∀ j, a j ≠ 0) |
| 23 | (s : Fin 2 → Fin places.count → Bool) (hμ : ∀ j, s j places.distinguished = true) |
| 24 | (hs : ∀ j v, if s j v = true then (HeckeCycles.ReferenceDatum.CM.embeddings K places v (δ * a j)).im < 0 |
| 25 | else 0 < (HeckeCycles.ReferenceDatum.CM.embeddings K places v (δ * a j)).im) |
| 26 | |
| 27 | include hs in |
| 28 | theorem coefficient_native_skew_sign (v : Fin places.count) (j : Fin 2) : |
| 29 | (if 0 < CMFormCoordinates.CM.sourceSkewRealCoefficients K places δ a v j then (1 : ℂ) else -1) * Complex.I = |
| 30 | if !(s j v) then Complex.I else -Complex.I := by |
| 31 | have h := hs j v |
| 32 | cases hd : s j v |
| 33 | · simp only [hd, Bool.false_eq_true, ite_false] at h |
| 34 | have hp : 0 < CMFormCoordinates.CM.sourceSkewRealCoefficients K places δ a v j := mul_pos (by norm_num) h |
| 35 | simp [hp] |
| 36 | · simp only [hd, ite_true] at h |
| 37 | have hp : ¬ 0 < CMFormCoordinates.CM.sourceSkewRealCoefficients K places δ a v j := by |
| 38 | change ¬ 0 < 2 * (HeckeCycles.ReferenceDatum.CM.embeddings K places v (δ * a j)).im |
| 39 | linarith |
| 40 | simp [hp] |
| 41 | |
| 42 | def sourceCoefficientArithmetic : |
| 43 | RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData (maximalRealSubfield K) (QuadraticModel.CM.cmQuadraticParameter K δ hδ) 2 |
| 44 | (CMGlobalFrames.CM.cmHermitianUnit K δ hδ B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B)) |
| 45 | (BallArithmetic.CM.directSourceSkewUnit K δ hδ hδ0 a ha ha0) where |
| 46 | places := places.count |
| 47 | enumerate := RealPlaces.CM.sourceRealPlaces K places |
| 48 | distinguished := places.distinguished |
| 49 | other_place := BallArithmetic.CM.source_other_place K places B.other_place |
| 50 | real := CMArchimedeanCoordinates.CM.sourceRealCoordinate K places |
| 51 | real_continuous := CMArchimedeanCoordinates.CM.source_real_coordinate_continuous K places |
| 52 | real_inverse_continuous := CMArchimedeanCoordinates.CM.source_real_coordinate_inverse_continuous K places |
| 53 | complex := CMArchimedeanCoordinates.CM.sourceComplexCoordinate K places δ hδ hδ0 |
| 54 | complex_continuous := CMArchimedeanCoordinates.CM.source_complex_coordinate_continuous K places δ hδ hδ0 |
| 55 | complex_inverse_continuous := CMArchimedeanCoordinates.CM.source_complex_coordinate_inverse_continuous K places δ hδ hδ0 |
| 56 | complex_scalar := CMArchimedeanCoordinates.CM.source_complex_coordinate_scalar K places δ hδ hδ0 |
| 57 | complex_star := CMArchimedeanCoordinates.CM.source_complex_coordinate_star K places δ hδ hδ0 |
| 58 | basisV := CMOrthonormalFrames.CM.sourceHermitianNormalizer K places B.b B.conjugate_b (BallArithmetic.CM.direct_source_ball_b_ne_zero K B) |
| 59 | basisP := CMOrthonormalFrames.CM.sourceSkewNormalizer K places δ hδ hδ0 a ha ha0 |
| 60 | positive v j := !(s j v) |
| 61 | distinguished_sign j := by simp [hμ j] |
| 62 | formV v := (BallArithmetic.CM.direct_source_hermitian_normalized K places δ hδ hδ0 B.b B.conjugate_b |
| 63 | (BallArithmetic.CM.direct_source_ball_b_ne_zero K B) v).trans |
| 64 | (congrArg Matrix.diagonal (funext (CMOrthonormalFrames.CM.source_ball_hermitian_sign K places B v))) |
| 65 | formP v := (BallArithmetic.CM.direct_source_skew_normalized K places δ hδ hδ0 a ha ha0 v).trans |
| 66 | (congrArg Matrix.diagonal (funext (coefficient_native_skew_sign K places δ a s hs v))) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CoefficientIntrinsicArithmetic.CM |