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.HeckeCycles.Source.ArchimedeanBases |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanSignMatrices |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 4 | |
| 5 | /-! # Ball Arithmetic -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.BallArithmetic.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct the complete archimedean ball arithmetic datum from the |
| 12 | original source period, using its derived signs and actual local forms. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanPlaces.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanCoordinates.CM |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 20 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} (L : GeometricSource.CM.LinePeriod E B places d) |
| 21 | |
| 22 | include B in |
| 23 | omit [IsGalois ℚ E] in |
| 24 | theorem other_place : ∃ v : Fin places.count, v ≠ places.distinguished := by |
| 25 | obtain ⟨τ, hτ1, hτc⟩ := B.other_place |
| 26 | obtain ⟨⟨v, b⟩, hv⟩ := places.complete.2 τ |
| 27 | refine ⟨v, ?_⟩ |
| 28 | intro he |
| 29 | subst v |
| 30 | cases b |
| 31 | · exact hτ1 (by simpa only [Bool.false_eq_true, ite_false, places.identity] using hv.symm) |
| 32 | · exact hτc (by simpa only [ite_true, places.identity, mul_one] using hv.symm) |
| 33 | |
| 34 | def data : RepresentationTheory.Theta.Adelic.BallGeometryData.BallArithmeticData (QuadraticConjugation.CM.Field.RealField E) |
| 35 | (QuadraticConjugation.CM.Field.discriminant E (OppositeCoordinates.CM.coordinates E L.coordinates)) 1 |
| 36 | (QuadraticForms.CM.hermitianForm E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 37 | (QuadraticForms.CM.skewForm E (OppositeCoordinates.CM.coordinates E L.coordinates)) where |
| 38 | places := places.count |
| 39 | enumerate := ArchimedeanPlaces.CM.enumeration E places |
| 40 | distinguished := places.distinguished |
| 41 | other_place := CM.other_place E (B := B) (places := places) |
| 42 | real := ArchimedeanPlaces.CM.realCoordinate E places |
| 43 | real_continuous := ArchimedeanPlaces.CM.real_continuous E places |
| 44 | real_inverse_continuous := ArchimedeanPlaces.CM.real_inverse_continuous E places |
| 45 | complex := ArchimedeanCoordinates.CM.complexCoordinate E (OppositeCoordinates.CM.coordinates E L.coordinates) |
| 46 | complex_continuous := ArchimedeanCoordinates.CM.continuous E |
| 47 | (OppositeCoordinates.CM.coordinates E L.coordinates) |
| 48 | complex_inverse_continuous := ArchimedeanCoordinates.CM.inverse_continuous E |
| 49 | (OppositeCoordinates.CM.coordinates E L.coordinates) |
| 50 | complex_scalar := ArchimedeanCoordinates.CM.scalar E (OppositeCoordinates.CM.coordinates E L.coordinates) |
| 51 | complex_star := ArchimedeanCoordinates.CM.star E (OppositeCoordinates.CM.coordinates E L.coordinates) |
| 52 | basisV := ArchimedeanBases.CM.hermitian E (B := B) |
| 53 | basisP := ArchimedeanBases.CM.skew E (OppositeCoordinates.CM.coordinates E L.coordinates) |
| 54 | positive v _ := ArchimedeanSignMatrices.CM.positive E (d := d) v |
| 55 | distinguished_sign _ := by simp [ArchimedeanSignMatrices.CM.positive] |
| 56 | formV v := |
| 57 | (ArchimedeanBases.CM.hermitian_form E |
| 58 | (OppositeCoordinates.CM.coordinates E L.coordinates) v).trans |
| 59 | (congrArg Matrix.diagonal (funext (ArchimedeanSignMatrices.CM.hermitian_sign E v))) |
| 60 | formP v := |
| 61 | (ArchimedeanBases.CM.skew_form E |
| 62 | (OppositeCoordinates.CM.coordinates E L.coordinates) v).trans |
| 63 | (congrArg Matrix.diagonal (funext fun _ => ArchimedeanSignMatrices.CM.skew_sign E L v)) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.BallArithmetic.CM |