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.BallArithmetic |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.TensorAction |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction |
| 4 | |
| 5 | /-! # Theta Complex Components -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaComplexComponents.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The source CM components in the actual orthonormal tensor bases of |
| 12 | AdelicTheta. Both halves are complex linear in the original embedding components. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField _root_.Matrix Kronecker |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.BallGeometryData |
| 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} |
| 21 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 22 | |
| 23 | def matrix (v : Fin places.count) : Matrix (Fin 3 × Fin 1) (Fin 3 × Fin 1) ℂ := |
| 24 | ((Source.BallArithmetic.CM.data E L).basisV v).inv ⊗ₖ |
| 25 | ((Source.BallArithmetic.CM.data E L).basisP v).inv |
| 26 | |
| 27 | def sign (v : Fin places.count) (ij : Fin 3 × Fin 1) : ℂ := |
| 28 | (if v = places.distinguished ∧ ij.1 = 2 then (-1 : ℂ) else 1) * |
| 29 | (if (Source.BallArithmetic.CM.data E L).positive v ij.2 then (1 : ℂ) else -1) |
| 30 | |
| 31 | def embeddingLinear (τ : Gal(E/ℚ)) : GeometricSource.CM.Ambient E →ₗ[ℂ] (Fin 3 × Fin 1 → ℂ) where |
| 32 | toFun w ij := w τ ij.1 |
| 33 | map_add' _ _ := rfl |
| 34 | map_smul' _ _ := rfl |
| 35 | |
| 36 | def components : GeometricSource.CM.Ambient E →ₗ[ℂ] RepresentationTheory.Theta.Adelic.BallGeometryData.ComplexPhase (Source.BallArithmetic.CM.data E L) := |
| 37 | LinearMap.pi (fun v => |
| 38 | ((Matrix.toLin' (matrix E L v)).comp (embeddingLinear E (places.representative v))).prod |
| 39 | (LinearMap.pi (fun ij => sign E L v ij • |
| 40 | ((LinearMap.proj ij).comp ((Matrix.toLin' ((matrix E L v).map star)).comp |
| 41 | (embeddingLinear E (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative v))))))) |
| 42 | |
| 43 | theorem rational_coordinate (x : GeometricSource.CM.Vec E) (v : Fin places.count) (ij : Fin 3 × Fin 1) : |
| 44 | (Source.BallArithmetic.CM.data E L).complex v |
| 45 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (Source.QuadraticConjugation.CM.Field.RealField E) |
| 46 | (Source.QuadraticConjugation.CM.Field.discriminant E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 47 | (.inl ((Source.BallArithmetic.CM.data E L).enumerate v)) |
| 48 | (Source.TensorPairing.CM.tensorVector E |
| 49 | (OppositeCoordinates.CM.coordinates E L.coordinates) x ij)) = |
| 50 | GeometricSource.CM.embeddingCoordinates E x (places.representative v) ij.1 := by |
| 51 | change Source.ArchimedeanCoordinates.CM.complexCoordinate E |
| 52 | (OppositeCoordinates.CM.coordinates E L.coordinates) v |
| 53 | (RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (Source.QuadraticConjugation.CM.Field.RealField E) _ _ |
| 54 | ((Source.QuadraticConjugation.CM.Field.fieldEquiv E (OppositeCoordinates.CM.coordinates E L.coordinates)).symm (x ij.1))) = _ |
| 55 | rw [Source.ArchimedeanCoordinates.CM.rational_compatibility, AlgEquiv.apply_symm_apply] |
| 56 | rfl |
| 57 | |
| 58 | theorem rational (x : GeometricSource.CM.Vec E) : |
| 59 | components E L (GeometricSource.CM.embeddingCoordinates E x) = |
| 60 | RepresentationTheory.Theta.Adelic.BallGeometryData.realTensorComponents (Source.BallArithmetic.CM.data E L) (fun v ij => |
| 61 | RepresentationTheory.Weil.AdelicSplitting.Integral.Construction.rationalQuadraticLocal (Source.QuadraticConjugation.CM.Field.RealField E) |
| 62 | (Source.QuadraticConjugation.CM.Field.discriminant E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 63 | (.inl ((Source.BallArithmetic.CM.data E L).enumerate v)) |
| 64 | (Source.TensorPairing.CM.tensorVector E |
| 65 | (OppositeCoordinates.CM.coordinates E L.coordinates) x ij)) := by |
| 66 | have he (v : Fin places.count) : |
| 67 | (fun ij : Fin 3 × Fin 1 => GeometricSource.CM.embeddingCoordinates E x |
| 68 | (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative v) ij.1) = |
| 69 | fun ij => star (GeometricSource.CM.embeddingCoordinates E x (places.representative v) ij.1) := by |
| 70 | funext ij |
| 71 | exact ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_coe E (places.representative v (x ij.1)) |
| 72 | funext v |
| 73 | change Fin places.count at v |
| 74 | apply Prod.ext |
| 75 | · exact congrArg (Matrix.mulVec (matrix E L v)) |
| 76 | (funext fun ij => (rational_coordinate E L x v ij).symm) |
| 77 | · funext ij |
| 78 | change sign E L v ij * (((matrix E L v).map star).mulVec _) ij = |
| 79 | sign E L v ij * star ((matrix E L v).mulVec _ ij) |
| 80 | congr 1 |
| 81 | change ((matrix E L v).map star).mulVec |
| 82 | (fun kl => GeometricSource.CM.embeddingCoordinates E x (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * places.representative v) kl.1) ij = _ |
| 83 | rw [he, ← RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.conjugate_mulVec] |
| 84 | apply congrArg star |
| 85 | apply congrArg (fun f : (Fin 3 × Fin 1) → ℂ => (matrix E L v).mulVec f ij) |
| 86 | funext kl |
| 87 | exact (rational_coordinate E L x v kl).symm |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.ThetaComplexComponents.CM |