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.ComplexPairing |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RealStructure |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SiegelGraphPositivity |
| 4 | |
| 5 | /-! # Prescribed Positivity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PrescribedPositivity.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The literal prescribed source subspace is positive for its original |
| 12 | trace pairing. Positivity follows from the given Siegel graph. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ComplexAction.CM |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 19 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} (L : GeometricSource.CM.LinePeriod E B places d) |
| 20 | |
| 21 | omit [IsGalois ℚ E] in |
| 22 | theorem position_ne_zero (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (x : GeometricSource.CM.Ambient E) |
| 23 | (hx : GeometricSource.CM.prescribed E B places d z x) (hx0 : x ≠ 0) : (L.coordinates.complex x).2 ≠ 0 := by |
| 24 | intro hq |
| 25 | apply hx0 |
| 26 | apply L.coordinates.complex.injective |
| 27 | rw [map_zero] |
| 28 | apply Prod.ext |
| 29 | · change (L.coordinates.complex x).1 = 0 |
| 30 | rw [(L.graph_prescribed z hz x).mp hx, hq, Matrix.mulVec_zero] |
| 31 | · exact hq |
| 32 | |
| 33 | theorem positive (z : GeometricSource.CM.BallChart) (hz : z ∈ B.domain) (x : GeometricSource.CM.Ambient E) |
| 34 | (hx : GeometricSource.CM.prescribed E B places d z x) (hx0 : x ≠ 0) : |
| 35 | 0 < (ComplexPairing.CM.ambientForm E B.b L.coordinates.delta L.coordinates.a |
| 36 | x (RealStructure.CM.conjugate E x)).im := by |
| 37 | rw [← ComplexPairing.CM.form_equality E L.coordinates, |
| 38 | ComplexPairing.CM.frameForm_apply, RealStructure.CM.frame] |
| 39 | have he : Finite.TracePhase.CM.pairing (ComplexAction.CM.complexFrame E L.coordinates x) |
| 40 | (fun i => star (ComplexAction.CM.complexFrame E L.coordinates x i)) = |
| 41 | SiegelGraphPositivity.CM.pairing (L.coordinates.complex x).1 (L.coordinates.complex x).2 := by |
| 42 | apply Finset.sum_congr rfl |
| 43 | intro i _ |
| 44 | change (L.coordinates.complex x).1 i * star ((L.coordinates.complex x).2 i) - |
| 45 | star ((L.coordinates.complex x).1 i) * (L.coordinates.complex x).2 i = _ |
| 46 | ring |
| 47 | rw [he, (L.graph_prescribed z hz x).mp hx] |
| 48 | exact SiegelGraphPositivity.CM.positive (L.period z) _ (position_ne_zero E L z hz x hx hx0) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.PrescribedPositivity.CM |