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.ComplexAction |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.FrameSemilinearExt |
| 3 | |
| 4 | /-! # Real Structure -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RealStructure.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The real structure on the source exchanges conjugate CM components. |
| 11 | Its given complex symplectic frame sends it to ordinary conjugation. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM.Symplectic |
| 16 | |
| 17 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 18 | |
| 19 | def conjugate : GeometricSource.CM.Ambient E →ₗ⋆[ℂ] GeometricSource.CM.Ambient E where |
| 20 | toFun w τ i := star (w (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) i) |
| 21 | map_add' x y := by |
| 22 | funext τ i |
| 23 | exact star_add _ _ |
| 24 | map_smul' c x := by |
| 25 | funext τ i |
| 26 | change star (c * x (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) i) = star c * star (x (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) i) |
| 27 | exact map_mul (starRingEnd ℂ) c (x (ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E * τ) i) |
| 28 | |
| 29 | theorem rational (x : GeometricSource.CM.Vec E) : conjugate E (GeometricSource.CM.embeddingCoordinates E x) = GeometricSource.CM.embeddingCoordinates E x := by |
| 30 | funext τ i |
| 31 | change star ((ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation E (τ (x i)) : E) : ℂ) = (τ (x i) : ℂ) |
| 32 | rw [ComplexMultiplication.GaloisSigns.CM.CMCoefficientField.conjugation_coe, star_star] |
| 33 | |
| 34 | variable {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} (C : GeometricSource.CM.SymplecticCoordinates E B places) |
| 35 | |
| 36 | theorem frame (x : GeometricSource.CM.Ambient E) : ComplexAction.CM.complexFrame E C (conjugate E x) = |
| 37 | fun i => star (ComplexAction.CM.complexFrame E C x i) := by |
| 38 | let A := (ComplexAction.CM.complexFrame E C).toLinearMap.comp (conjugate E) |
| 39 | let D := (starLinearEquiv ℂ (A := (GeometricSource.CM.Positions E places ⊕ GeometricSource.CM.Positions E places) → ℂ)).toLinearMap.comp |
| 40 | (ComplexAction.CM.complexFrame E C).toLinearMap |
| 41 | have he : A = D := by |
| 42 | apply Rational.FrameSemilinearExt.CM.ext (ComplexAction.CM.Symplectic.frame E C) |
| 43 | (ComplexAction.CM.complexFrame E C) (GeometricSource.CM.embeddingCoordinates E) (ComplexAction.CM.complexFrame_rational E C) |
| 44 | intro y |
| 45 | change ComplexAction.CM.complexFrame E C (conjugate E (GeometricSource.CM.embeddingCoordinates E y)) = |
| 46 | star (ComplexAction.CM.complexFrame E C (GeometricSource.CM.embeddingCoordinates E y)) |
| 47 | rw [rational, ComplexAction.CM.complexFrame_rational] |
| 48 | ext i |
| 49 | simp |
| 50 | exact LinearMap.congr_fun he x |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RealStructure.CM |