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.ArchimedeanForms |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.DiagonalNormalization |
| 3 | |
| 4 | /-! # Archimedean Bases -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanBases.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Construct the source's actual orthonormal archimedean bases. -/ |
| 11 | |
| 12 | open scoped Classical _root_.NumberField |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanPlaces.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanCoordinates.CM |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanForms.CM |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 20 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (C : GeometricSource.CM.SymplecticCoordinates E B places) |
| 21 | |
| 22 | def hermitian (v : Fin places.count) : (Matrix (Fin 3) (Fin 3) ℂ)ˣ := |
| 23 | DiagonalNormalization.CM.normalizer (ArchimedeanForms.CM.hermitianReal E (B := B) v) (ArchimedeanForms.CM.hermitian_ne_zero E v) |
| 24 | |
| 25 | def skew (v : Fin places.count) : (Matrix (Fin 1) (Fin 1) ℂ)ˣ := |
| 26 | DiagonalNormalization.CM.normalizer (fun _ : Fin 1 => ArchimedeanForms.CM.skewReal E C v) (fun _ => ArchimedeanForms.CM.skew_ne_zero E C v) |
| 27 | |
| 28 | theorem hermitian_form (v : Fin places.count) : |
| 29 | (hermitian E (B := B) v).val.conjTranspose * |
| 30 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm (QuadraticConjugation.CM.Field.RealField E) (QuadraticForms.CM.hermitianForm E C).val (.inl (ArchimedeanPlaces.CM.enumeration E places v))).map |
| 31 | (ArchimedeanCoordinates.CM.complexCoordinate E C v) * (hermitian E (B := B) v).val = |
| 32 | Matrix.diagonal (fun i => if 0 < ArchimedeanForms.CM.hermitianReal E (B := B) v i then (1 : ℂ) else -1) := by |
| 33 | rw [ArchimedeanForms.CM.hermitian_matrix] |
| 34 | simpa only [hermitian, mul_one] using DiagonalNormalization.CM.form |
| 35 | (ArchimedeanForms.CM.hermitianReal E (B := B) v) (ArchimedeanForms.CM.hermitian_ne_zero E v) 1 |
| 36 | |
| 37 | theorem skew_form (v : Fin places.count) : |
| 38 | (skew E C v).val.conjTranspose * |
| 39 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.localizedForm (QuadraticConjugation.CM.Field.RealField E) (QuadraticForms.CM.skewForm E C).val (.inl (ArchimedeanPlaces.CM.enumeration E places v))).map |
| 40 | (ArchimedeanCoordinates.CM.complexCoordinate E C v) * (skew E C v).val = |
| 41 | Matrix.diagonal (fun _ : Fin 1 => (if 0 < ArchimedeanForms.CM.skewReal E C v then (1 : ℂ) else -1) * Complex.I) := by |
| 42 | rw [ArchimedeanForms.CM.skew_matrix] |
| 43 | exact DiagonalNormalization.CM.form _ _ Complex.I |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanBases.CM |