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.RationalAwayTopology |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedAwayHomeomorph |
| 3 | |
| 4 | /-! # Rational Away Coordinates -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalAwayCoordinates.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Recover the complete native away element continuously from the |
| 11 | remaining finite-place coordinates of the actual rational range. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalAwayTopology.CM |
| 17 | |
| 18 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 19 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 20 | (L : GeometricSource.CM.LinePeriod E B places d) {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 21 | |
| 22 | theorem native_recovery (g : FactorTheta.CM.RationalWeilFactorization.Away E L f) : |
| 23 | RestrictedAwayHomeomorph.CM.insert |
| 24 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 25 | (QadicPlace.CM.place E f) (RationalAwayTopology.CM.coordinates E L f g) = RationalAwayTopology.CM.nativeCoordinates E L f g := |
| 26 | RestrictedAwayHomeomorph.CM.insert_forget |
| 27 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 28 | (QadicPlace.CM.place E f) (RationalAwayTopology.CM.nativeCoordinates E L f g) |
| 29 | |
| 30 | theorem native_continuous : Continuous (RationalAwayTopology.CM.nativeCoordinates E L f) := |
| 31 | ((RestrictedAwayHomeomorph.CM.insert_continuous |
| 32 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 33 | (QadicPlace.CM.place E f)).comp (RationalAwayTopology.CM.coordinates_continuous E L f)).congr |
| 34 | (native_recovery E L f) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalAwayCoordinates.CM |