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.SourceAdelic.ThetaRationalFrame |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaComplexComponents |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Adelic.ThetaRationalComplexComparison |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.FrameComplexChange |
| 5 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.FrameBilinearExt |
| 6 | |
| 7 | /-! # Theta Complex Frame -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaComplexFrame.CM |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original complex source space is identified with AdelicTheta's actual |
| 14 | CM tensor components by the complexification of the derived rational |
| 15 | symplectic matrix. No complex or theta matching hypothesis is added. -/ |
| 16 | |
| 17 | open scoped Classical _root_.NumberField _root_.Matrix |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 20 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 21 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalFrame.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM |
| 22 | |
| 23 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 24 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 25 | (L : GeometricSource.CM.LinePeriod E B places d) (T : ThetaRationalFrame.CM.Data E L) |
| 26 | (hT : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification T (Source.GlobalFrames.CM.frames E |
| 27 | (OppositeCoordinates.CM.coordinates E L.coordinates))) |
| 28 | |
| 29 | def nativeFrame : GeometricSource.CM.Ambient E ≃ₗ[ℂ] |
| 30 | ((RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex (Source.BallArithmetic.CM.data E L) ⊕ |
| 31 | RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex (Source.BallArithmetic.CM.data E L)) → ℂ) := |
| 32 | Rational.FrameComplexChange.CM.frame (ThetaRationalFrame.CM.index E L) (Source.ComplexAction.CM.complexFrame E L.coordinates) (ThetaRationalFrame.CM.matrix E L T hT) |
| 33 | |
| 34 | theorem native_rational (x : GeometricSource.CM.Vec E) : |
| 35 | nativeFrame E L T hT (GeometricSource.CM.embeddingCoordinates E x) = fun i => (ThetaRationalFrame.CM.native E L T x i : ℂ) := |
| 36 | Rational.FrameComplexChange.CM.rational (ThetaRationalFrame.CM.index E L) |
| 37 | (Source.ComplexAction.CM.Symplectic.frame E L.coordinates) (Source.ComplexAction.CM.complexFrame E L.coordinates) |
| 38 | (GeometricSource.CM.embeddingCoordinates E) (Source.ComplexAction.CM.complexFrame_rational E L.coordinates) (ThetaRationalFrame.CM.matrix E L T hT) |
| 39 | (ThetaRationalFrame.CM.native E L T) (ThetaRationalFrame.CM.matrix_source E L T hT) x |
| 40 | |
| 41 | def equiv : GeometricSource.CM.Ambient E ≃ₗ[ℂ] RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (Source.BallArithmetic.CM.data E L) := |
| 42 | (nativeFrame E L T hT).trans T.complexPhase.toLinearEquiv |
| 43 | |
| 44 | theorem rational (x : GeometricSource.CM.Vec E) : |
| 45 | equiv E L T hT (GeometricSource.CM.embeddingCoordinates E x) = |
| 46 | ThetaComplexComponents.CM.components E L (GeometricSource.CM.embeddingCoordinates E x) := by |
| 47 | change T.complexPhase (nativeFrame E L T hT (GeometricSource.CM.embeddingCoordinates E x)) = _ |
| 48 | rw [native_rational, ThetaComplexComponents.CM.rational] |
| 49 | exact Adelic.ThetaRationalComplexComparison.CM.rational (Source.QuadraticConjugation.CM.Field.RealField E) |
| 50 | (Source.QuadraticConjugation.CM.Field.discriminant E (OppositeCoordinates.CM.coordinates E L.coordinates)) 1 |
| 51 | (Source.QuadraticForms.CM.hermitianForm E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 52 | (Source.QuadraticForms.CM.skewForm E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 53 | (Source.GlobalFrames.CM.frames E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 54 | (Source.BallArithmetic.CM.data E L) T hT |
| 55 | (Source.TensorPairing.CM.tensorVector E (OppositeCoordinates.CM.coordinates E L.coordinates) x) |
| 56 | |
| 57 | theorem comparison : (equiv E L T hT).toLinearMap = |
| 58 | ThetaComplexComponents.CM.components E L := by |
| 59 | apply Rational.FrameBilinearExt.CM.Linear.ext (Source.ComplexAction.CM.Symplectic.frame E L.coordinates) |
| 60 | (Source.ComplexAction.CM.complexFrame E L.coordinates) (GeometricSource.CM.embeddingCoordinates E) (Source.ComplexAction.CM.complexFrame_rational E L.coordinates) |
| 61 | exact rational E L T hT |
| 62 | |
| 63 | theorem apply (w : GeometricSource.CM.Ambient E) : |
| 64 | equiv E L T hT w = ThetaComplexComponents.CM.components E L w := |
| 65 | LinearMap.congr_fun (comparison E L T hT) w |
| 66 | |
| 67 | include hT in |
| 68 | theorem components_bijective : Function.Bijective (ThetaComplexComponents.CM.components E L) := by |
| 69 | have he : (ThetaComplexComponents.CM.components E L : GeometricSource.CM.Ambient E → |
| 70 | RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (Source.BallArithmetic.CM.data E L)) = equiv E L T hT := |
| 71 | funext (fun w => (CM.apply E L T hT w).symm) |
| 72 | rw [he] |
| 73 | exact (equiv E L T hT).bijective |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaComplexFrame.CM |