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.PhaseMatrixReindex |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceFinite.FieldAction |
| 4 | |
| 5 | /-! # Theta Rational Action -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalAction.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! AdelicTheta's characterized rational symplectic matrices are exactly the |
| 12 | original source matrices conjugated by the derived change of frame. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalFrame.CM |
| 19 | |
| 20 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 21 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 22 | (L : GeometricSource.CM.LinePeriod E B places d) (T : ThetaRationalFrame.CM.Data E L) |
| 23 | (hT : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification T (Source.GlobalFrames.CM.frames E |
| 24 | (OppositeCoordinates.CM.coordinates E L.coordinates))) |
| 25 | |
| 26 | def nativeMatrix (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 27 | Matrix (GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) (GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) ℚ := |
| 28 | (RepresentationTheory.Theta.Adelic.DataTheta.blockMatrix (T.rationalSymplectic (Source.UnitaryMatrix.CM.hom E |
| 29 | (OppositeCoordinates.CM.coordinates E L.coordinates) g))).submatrix |
| 30 | ((ThetaRationalFrame.CM.index E L).sumCongr (ThetaRationalFrame.CM.index E L)) ((ThetaRationalFrame.CM.index E L).sumCongr (ThetaRationalFrame.CM.index E L)) |
| 31 | |
| 32 | include hT in |
| 33 | theorem native_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (x : GeometricSource.CM.Vec E) : |
| 34 | (RepresentationTheory.Theta.Adelic.DataTheta.blockMatrix (T.rationalSymplectic (Source.UnitaryMatrix.CM.hom E |
| 35 | (OppositeCoordinates.CM.coordinates E L.coordinates) g))) *ᵥ RepresentationTheory.Theta.Adelic.DataTheta.swapPhase (ThetaRationalFrame.CM.native E L T x) = |
| 36 | RepresentationTheory.Theta.Adelic.DataTheta.swapPhase (ThetaRationalFrame.CM.native E L T (Source.ComplexAction.CM.Symplectic.rationalAction E g x)) := by |
| 37 | have h := hT.2.2.2.2.2.2.2.2.1 |
| 38 | (Source.UnitaryMatrix.CM.hom E (OppositeCoordinates.CM.coordinates E L.coordinates) g) |
| 39 | ((Source.GlobalFrames.CM.rational E (OppositeCoordinates.CM.coordinates E L.coordinates)).coordinates |
| 40 | (Source.TensorPairing.CM.tensorVector E (OppositeCoordinates.CM.coordinates E L.coordinates) x)) |
| 41 | change _ = RepresentationTheory.Theta.Adelic.DataTheta.swapPhase (T.rationalPhase |
| 42 | ((SourceFinite.FieldAction.CM.rational E (OppositeCoordinates.CM.coordinates E L.coordinates) g).val *ᵥ |
| 43 | (Source.GlobalFrames.CM.rational E (OppositeCoordinates.CM.coordinates E L.coordinates)).coordinates |
| 44 | (Source.TensorPairing.CM.tensorVector E |
| 45 | (OppositeCoordinates.CM.coordinates E L.coordinates) x))) at h |
| 46 | rw [SourceFinite.FieldAction.CM.rational_action] at h |
| 47 | exact h |
| 48 | |
| 49 | include hT in |
| 50 | theorem frame_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (x : GeometricSource.CM.Vec E) : |
| 51 | nativeMatrix E L T g *ᵥ ThetaRationalFrame.CM.frame E L T x = |
| 52 | ThetaRationalFrame.CM.frame E L T (Source.ComplexAction.CM.Symplectic.rationalAction E g x) := by |
| 53 | change (RepresentationTheory.Theta.Adelic.DataTheta.blockMatrix _).submatrix ((ThetaRationalFrame.CM.index E L).sumCongr (ThetaRationalFrame.CM.index E L)) |
| 54 | ((ThetaRationalFrame.CM.index E L).sumCongr (ThetaRationalFrame.CM.index E L)) *ᵥ |
| 55 | PhaseMatrixReindex.CM.swap (ThetaRationalFrame.CM.index E L) (ThetaRationalFrame.CM.native E L T x) = _ |
| 56 | rw [PhaseMatrixReindex.CM.action, native_action E L T hT] |
| 57 | funext i |
| 58 | cases i <;> rfl |
| 59 | |
| 60 | theorem conjugated_action (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) (x : GeometricSource.CM.Vec E) : |
| 61 | ((ThetaRationalFrame.CM.matrix E L T hT * Source.ComplexAction.CM.Symplectic.symplectic E L.coordinates g * |
| 62 | (ThetaRationalFrame.CM.matrix E L T hT)⁻¹).val) *ᵥ ThetaRationalFrame.CM.frame E L T x = |
| 63 | ThetaRationalFrame.CM.frame E L T (Source.ComplexAction.CM.Symplectic.rationalAction E g x) := by |
| 64 | rw [← ThetaRationalFrame.CM.matrix_source E L T hT x] |
| 65 | change ((ThetaRationalFrame.CM.matrix E L T hT).val * (Source.ComplexAction.CM.Symplectic.symplectic E L.coordinates g).val * |
| 66 | ((ThetaRationalFrame.CM.matrix E L T hT)⁻¹).val) *ᵥ |
| 67 | ((ThetaRationalFrame.CM.matrix E L T hT).val *ᵥ Source.ComplexAction.CM.Symplectic.frame E L.coordinates x) = _ |
| 68 | rw [Matrix.mulVec_mulVec, Matrix.mul_assoc, Matrix.mul_assoc] |
| 69 | have h : ((ThetaRationalFrame.CM.matrix E L T hT)⁻¹).val * (ThetaRationalFrame.CM.matrix E L T hT).val = 1 := |
| 70 | congrArg Subtype.val (inv_mul_cancel (ThetaRationalFrame.CM.matrix E L T hT)) |
| 71 | rw [h, Matrix.mul_one, ← Matrix.mulVec_mulVec, |
| 72 | Source.ComplexAction.CM.Symplectic.symplectic_apply, ThetaRationalFrame.CM.matrix_source] |
| 73 | |
| 74 | theorem matrix_eq (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) : |
| 75 | nativeMatrix E L T g = |
| 76 | (ThetaRationalFrame.CM.matrix E L T hT * Source.ComplexAction.CM.Symplectic.symplectic E L.coordinates g * |
| 77 | (ThetaRationalFrame.CM.matrix E L T hT)⁻¹).val := by |
| 78 | apply Matrix.mulVec_injective |
| 79 | funext v |
| 80 | obtain ⟨x, rfl⟩ := (ThetaRationalFrame.CM.frame E L T).surjective v |
| 81 | rw [frame_action E L T hT, conjugated_action E L T hT] |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalAction.CM |