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.ArithmeticPointTransport |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius |
| 3 | |
| 4 | /-! # Special Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.SpecialDetection.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! IntegralModel generation and CMPoints density give faithful detection by the |
| 11 | actual prime-field ordinary Albanese differences. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseProduct.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison.CM |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 20 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 21 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 22 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) (a : M.Family) |
| 23 | |
| 24 | def ordinaryPointIso := |
| 25 | ArithmeticPointTransport.CM.pointsIso q (M.components a).A R.specialBase R.geometricBase |
| 26 | (Frobenius.CM.geometricBase_factor R) |
| 27 | |
| 28 | theorem ordinaryImage_transport (x : Detection.CM.ordinaryPoints R a) : |
| 29 | ordinaryPointIso R a (Detection.CM.ordinaryAlbanesePoint R a x) = SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a x := |
| 30 | ArithmeticPointTransport.CM.component_point q (M.components a).A R.specialBase R.geometricBase |
| 31 | (Frobenius.CM.geometricBase_factor R) x.1 ((M.components a).a x.1) x.2.val |
| 32 | |
| 33 | variable (hS : ∀ i, Smooth ((M.components a).S i).hom) |
| 34 | (hA : ∀ i, AlbaneseProduct.CM.GoodGroupGeometry ((M.components a).A i).X) |
| 35 | (hgenerate : ∀ i, ∃ n : ℕ, 0 < n ∧ |
| 36 | ∀ t : PELModuli.IntegralModel.Base.GeometricPoint M.arithmetic.base, |
| 37 | Function.Surjective ((M.components a).sumOfDifferences i n t)) |
| 38 | (ho : IsOpen (R.ordinaryLocus a)) |
| 39 | (hd : ∀ x : R.geom a, Dense {y : connectedComponent x | R.IsOrdinary a y.val}) |
| 40 | |
| 41 | include hS hA hgenerate ho hd in |
| 42 | theorem integral_detection (f : AbelianScheme.TateComparison.End.IntegralEnd (Frobenius.CM.specialAlbanese R a).X) |
| 43 | (h : ∀ x y : Detection.CM.ordinaryPoints R a, x.1 = y.1 → |
| 44 | PointSpecializationFormula.CM.Points.evaluateAt (Frobenius.CM.specialAlbanese R a) (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q) f |
| 45 | (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a x - SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a y) = 0) : f = 0 := |
| 46 | ArithmeticPointTransport.CM.detection_transfer q (M.components a).A R.specialBase R.geometricBase |
| 47 | (Frobenius.CM.geometricBase_factor R) (fun x : Detection.CM.ordinaryPoints R a => x.1) |
| 48 | (Detection.CM.ordinaryAlbanesePoint R a) (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a) (ordinaryImage_transport R a) |
| 49 | (fun g hg => Detection.CM.detection_from_IntegralModel_CMPoints R a hS hA hgenerate ho hd g hg) f h |
| 50 | |
| 51 | include hS hA hgenerate ho hd in |
| 52 | theorem algebraic_detection (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (Frobenius.CM.specialAlbanese R a).X) |
| 53 | (h : ∀ x y : Detection.CM.ordinaryPoints R a, x.1 = y.1 → |
| 54 | PointEvaluation.CM.action (Frobenius.CM.specialAlbanese R a) (AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q) f |
| 55 | (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a x - SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a y) = 0) : f = 0 := by |
| 56 | apply (EndomorphismComparison.CM.integralEquiv (Frobenius.CM.specialAlbanese R a).X).symm.injective |
| 57 | rw [map_zero] |
| 58 | exact integral_detection R a hS hA hgenerate ho hd |
| 59 | ((EndomorphismComparison.CM.integralEquiv (Frobenius.CM.specialAlbanese R a).X).symm f) h |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.SpecialDetection.CM |