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.PhaseMatrixReindex |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.BallArithmetic |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.TensorAction |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.GlobalFrames |
| 5 | |
| 6 | /-! # Theta Rational Frame -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalFrame.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The rational frame supplied by the full AdelicTheta conclusion, expressed in |
| 13 | the original source index and polarization. Compatibility is proved from |
| 14 | AdelicTheta's coordinate conclusion and the actual source trace pairing. -/ |
| 15 | |
| 16 | open scoped Classical _root_.NumberField _root_.Matrix |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticForms.CM |
| 19 | open OAI.RepresentationTheory.Theta.Adelic.DataTheta OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 20 | |
| 21 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 22 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 23 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 24 | |
| 25 | abbrev Data := RepresentationTheory.Theta.Adelic.DataTheta.ComparisonData (Source.QuadraticConjugation.CM.Field.RealField E) |
| 26 | (Source.QuadraticForms.CM.hermitianForm E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 27 | (Source.QuadraticForms.CM.skewForm E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 28 | (Source.BallArithmetic.CM.data E L) |
| 29 | |
| 30 | def index : GeometricSource.CM.Positions E places ≃ RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex (Source.BallArithmetic.CM.data E L) where |
| 31 | toFun i := (i.1, i.2, 0) |
| 32 | invFun j := (j.1, j.2.1) |
| 33 | left_inv _ := rfl |
| 34 | right_inv _ := Prod.ext rfl (Prod.ext rfl (Subsingleton.elim _ _)) |
| 35 | |
| 36 | def native (T : Data E L) : GeometricSource.CM.Vec E ≃ₗ[ℚ] |
| 37 | ((RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex (Source.BallArithmetic.CM.data E L) ⊕ |
| 38 | RepresentationTheory.Theta.Adelic.BallGeometryData.FrameIndex (Source.BallArithmetic.CM.data E L)) → ℚ) := |
| 39 | ((Source.TensorAction.CM.tensorEquiv E |
| 40 | (OppositeCoordinates.CM.coordinates E L.coordinates)).restrictScalars ℚ).trans |
| 41 | (((Source.GlobalFrames.CM.frames E |
| 42 | (OppositeCoordinates.CM.coordinates E L.coordinates)).rational.coordinates.restrictScalars ℚ).trans |
| 43 | T.rationalPhase) |
| 44 | |
| 45 | def frame (T : Data E L) : GeometricSource.CM.Vec E ≃ₗ[ℚ] |
| 46 | ((GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) → ℚ) := |
| 47 | (native E L T).trans (PhaseMatrixReindex.CM.swap (index E L)) |
| 48 | |
| 49 | variable (T : Data E L) |
| 50 | (hT : RepresentationTheory.Theta.Adelic.DataTheta.CoordinateIdentification T (Source.GlobalFrames.CM.frames E |
| 51 | (OppositeCoordinates.CM.coordinates E L.coordinates))) |
| 52 | |
| 53 | include hT in |
| 54 | theorem native_pairing (x y : GeometricSource.CM.Vec E) : |
| 55 | RepresentationTheory.Theta.Adelic.DataTheta.standardPairing (native E L T x) (native E L T y) = |
| 56 | Algebra.trace ℚ E (L.coordinates.delta * -L.coordinates.a * GeometricSource.CM.hermitian E B.b x y) := by |
| 57 | change RepresentationTheory.Theta.Adelic.DataTheta.standardPairing (T.rationalPhase _) (T.rationalPhase _) = _ |
| 58 | rw [hT.2.2.1] |
| 59 | change Algebra.trace ℚ (Source.QuadraticConjugation.CM.Field.RealField E) (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.coordinatePairing 3 1 |
| 60 | ((Source.GlobalFrames.CM.frames E |
| 61 | (OppositeCoordinates.CM.coordinates E L.coordinates)).rational.coordinates |
| 62 | (Source.TensorPairing.CM.tensorVector E |
| 63 | (OppositeCoordinates.CM.coordinates E L.coordinates) x)) |
| 64 | ((Source.GlobalFrames.CM.frames E |
| 65 | (OppositeCoordinates.CM.coordinates E L.coordinates)).rational.coordinates |
| 66 | (Source.TensorPairing.CM.tensorVector E |
| 67 | (OppositeCoordinates.CM.coordinates E L.coordinates) y))) = _ |
| 68 | rw [(Source.GlobalFrames.CM.frames E |
| 69 | (OppositeCoordinates.CM.coordinates E L.coordinates)).rational.preserves] |
| 70 | rw [Source.TensorPairing.CM.source_pairing] |
| 71 | rfl |
| 72 | |
| 73 | include hT in |
| 74 | theorem frame_pairing (x y : GeometricSource.CM.Vec E) : |
| 75 | Source.ComplexAction.CM.Symplectic.pairing (frame E L T x) (frame E L T y) = |
| 76 | Algebra.trace ℚ E (L.coordinates.delta * L.coordinates.a * GeometricSource.CM.hermitian E B.b x y) := by |
| 77 | change Source.ComplexAction.CM.Symplectic.pairing |
| 78 | (PhaseMatrixReindex.CM.swap (index E L) (native E L T x)) |
| 79 | (PhaseMatrixReindex.CM.swap (index E L) (native E L T y)) = _ |
| 80 | rw [PhaseMatrixReindex.CM.swap_pairing, native_pairing E L T hT] |
| 81 | have he : L.coordinates.delta * -L.coordinates.a * GeometricSource.CM.hermitian E B.b x y = |
| 82 | -(L.coordinates.delta * L.coordinates.a * GeometricSource.CM.hermitian E B.b x y) := by ring |
| 83 | rw [he, map_neg, neg_neg] |
| 84 | |
| 85 | def changeOfFrame : ((GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) → ℚ) ≃ₗ[ℚ] |
| 86 | ((GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) → ℚ) := |
| 87 | (Source.ComplexAction.CM.Symplectic.frame E L.coordinates).symm.trans (frame E L T) |
| 88 | |
| 89 | include hT in |
| 90 | theorem change_pairing (x y : (GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) → ℚ) : |
| 91 | Source.ComplexAction.CM.Symplectic.pairing |
| 92 | (changeOfFrame E L T x) (changeOfFrame E L T y) = |
| 93 | Source.ComplexAction.CM.Symplectic.pairing x y := by |
| 94 | change Source.ComplexAction.CM.Symplectic.pairing |
| 95 | (frame E L T ((Source.ComplexAction.CM.Symplectic.frame E L.coordinates).symm x)) |
| 96 | (frame E L T ((Source.ComplexAction.CM.Symplectic.frame E L.coordinates).symm y)) = _ |
| 97 | rw [frame_pairing E L T hT, ← Source.ComplexAction.CM.Symplectic.frame_pairing, |
| 98 | LinearEquiv.apply_symm_apply, LinearEquiv.apply_symm_apply] |
| 99 | |
| 100 | def matrix : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp (GeometricSource.CM.Positions E places) ℚ := |
| 101 | ⟨LinearMap.toMatrix' (changeOfFrame E L T).toLinearMap, |
| 102 | Source.ComplexAction.CM.Symplectic.matrix_symplectic _ (by |
| 103 | intro x y |
| 104 | simpa only [LinearMap.toMatrix'_mulVec, LinearEquiv.coe_coe] using |
| 105 | change_pairing E L T hT x y)⟩ |
| 106 | |
| 107 | theorem matrix_source (x : GeometricSource.CM.Vec E) : |
| 108 | (matrix E L T hT).val *ᵥ Source.ComplexAction.CM.Symplectic.frame E L.coordinates x = |
| 109 | frame E L T x := by |
| 110 | change (LinearMap.toMatrix' (changeOfFrame E L T).toLinearMap) *ᵥ _ = _ |
| 111 | rw [LinearMap.toMatrix'_mulVec] |
| 112 | exact congrArg (frame E L T) |
| 113 | ((Source.ComplexAction.CM.Symplectic.frame E L.coordinates).symm_apply_apply x) |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaRationalFrame.CM |