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.CMExtraction.Quaternion.RealSplit |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.QuaternionSubgroup |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CMArchimedeanCoordinates |
| 4 | |
| 5 | /-! # Quaternion Real Place -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.QuaternionRealPlace |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual binary quaternion coefficient is positive at the retained |
| 12 | active real completion of the CM field. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open _root_.NumberField OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.CMArchimedeanCoordinates.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 17 | |
| 18 | theorem cmQuaternion_second_coefficient_ne_zero |
| 19 | (E : Type) [Field E] [NumberField E] [IsCMField E] |
| 20 | (b : E) (hb : IsCMField.complexConj E b = b) (hb0 : b ≠ 0) : |
| 21 | -Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb ≠ 0 := by |
| 22 | apply neg_ne_zero.mpr |
| 23 | intro h |
| 24 | exact hb0 (congrArg (fun x : maximalRealSubfield E => (x : E)) h) |
| 25 | |
| 26 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [IsCMField E] |
| 27 | (places : HeckeCycles.GeometricSource.CM.Places E) (b : E) (hb : IsCMField.complexConj E b = b) (hb0 : b ≠ 0) |
| 28 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) |
| 29 | |
| 30 | theorem cmQuaternion_active_real_positive |
| 31 | (hball : (HeckeCycles.ReferenceDatum.CM.embeddings E places places.distinguished b).re < 0) : |
| 32 | 0 < ThetaCycle.CMArchimedeanCoordinates.CM.sourceRealCoordinate E places places.distinguished |
| 33 | (NumberTheory.Quaternion.Arithmetic.LocalAdeles.localEmbedding (Sum.inl (ThetaCycle.RealPlaces.CM.sourceRealPlaces E places places.distinguished)) |
| 34 | (-Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb)) := by |
| 35 | have he := congrArg Complex.re (ThetaCycle.CMArchimedeanCoordinates.CM.source_real_coordinate_rational E places places.distinguished |
| 36 | (-Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb)) |
| 37 | change ThetaCycle.CMArchimedeanCoordinates.CM.sourceRealCoordinate E places places.distinguished |
| 38 | (NumberTheory.Quaternion.Arithmetic.LocalAdeles.localEmbedding (Sum.inl (ThetaCycle.RealPlaces.CM.sourceRealPlaces E places places.distinguished)) |
| 39 | (-Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb)) = |
| 40 | (HeckeCycles.ReferenceDatum.CM.embeddings E places places.distinguished (-b)).re at he |
| 41 | have he' : ThetaCycle.CMArchimedeanCoordinates.CM.sourceRealCoordinate E places places.distinguished |
| 42 | (NumberTheory.Quaternion.Arithmetic.LocalAdeles.localEmbedding (Sum.inl (ThetaCycle.RealPlaces.CM.sourceRealPlaces E places places.distinguished)) |
| 43 | (-Geometry.ComplexBall.ArithmeticQuotientSplitUnitary.realCoefficient b hb)) = |
| 44 | -(HeckeCycles.ReferenceDatum.CM.embeddings E places places.distinguished b).re := by |
| 45 | simpa only [map_neg, Complex.neg_re] using he |
| 46 | rw [he'] |
| 47 | exact neg_pos.mpr hball |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CM.QuaternionRealPlace |