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.Ordinary.Locus |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberGeneration |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductDetection |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseProduct |
| 5 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced |
| 6 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange |
| 7 | |
| 8 | /-! # Detection -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Faithful ordinary-difference detection for CMPoints's actual geometric |
| 15 | family and IntegralModel's actual component Albanese groups. The detection clause |
| 16 | is proved from the native geometric and generation conclusions. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BaseChange |
| 21 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Locus.CM |
| 22 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointEvaluationCM.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductPoints.CM |
| 23 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductDetection.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseProduct.CM |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 26 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 27 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 28 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) (a : M.Family) |
| 29 | |
| 30 | abbrev residueClosure := AlgebraicClosure (ZMod q) |
| 31 | |
| 32 | def geometricAlbaneseFactors (i : Fin (M.componentCount a)) : |
| 33 | CommGrp (Over (Spec (.of (residueClosure (q := q))))) := |
| 34 | AbelianScheme.TateComparison.BaseChange.baseChangedGroup ((M.components a).A i).X R.geometricBase |
| 35 | |
| 36 | def geometricAlbanese : CommGrp (Over (Spec (.of (residueClosure (q := q))))) := |
| 37 | AbelianScheme.TateComparison.Products.componentProduct (geometricAlbaneseFactors R a) |
| 38 | |
| 39 | def geometricComponentMap (i : Fin (M.componentCount a)) : |
| 40 | Ordinary.Locus.CM.componentFiber R a i ⟶ (geometricAlbaneseFactors R a i).X := |
| 41 | (Over.pullback R.geometricBase).map ((M.components a).a i) |
| 42 | |
| 43 | def ordinaryPoints := Σ i : Fin (M.componentCount a), |
| 44 | {p : Geometric.PointExt.CM.pointBase (residueClosure (q := q)) ⟶ Ordinary.Locus.CM.componentFiber R a i // |
| 45 | p.left (IsLocalRing.closedPoint (residueClosure (q := q))) ∈ Ordinary.Locus.CM.componentOrdinaryLocus R a i} |
| 46 | |
| 47 | def ordinaryAlbanesePoint (p : ordinaryPoints R a) : |
| 48 | Additive (Geometric.PointExt.CM.pointBase (residueClosure (q := q)) ⟶ (geometricAlbanese R a).X) := |
| 49 | Additive.ofMul (p.2.val ≫ geometricComponentMap R a p.1 ≫ |
| 50 | ProductPoints.CM.factorMap (geometricAlbaneseFactors R a) p.1) |
| 51 | |
| 52 | theorem geometric_factor_geometry |
| 53 | (hA : ∀ i, AlbaneseProduct.CM.GoodGroupGeometry ((M.components a).A i).X) |
| 54 | (i : Fin (M.componentCount a)) : AlbaneseProduct.CM.GoodGroupGeometry (geometricAlbaneseFactors R a i).X := by |
| 55 | let : Smooth ((M.components a).A i).X.hom := (hA i).1 |
| 56 | let : IsProper ((M.components a).A i).X.hom := (hA i).2.1 |
| 57 | let : GeometricallyConnected ((M.components a).A i).X.hom := (hA i).2.2 |
| 58 | change Smooth (CategoryTheory.Limits.pullback.snd ((M.components a).A i).X.hom R.geometricBase) ∧ |
| 59 | IsProper (CategoryTheory.Limits.pullback.snd ((M.components a).A i).X.hom R.geometricBase) ∧ |
| 60 | GeometricallyConnected |
| 61 | (CategoryTheory.Limits.pullback.snd ((M.components a).A i).X.hom R.geometricBase) |
| 62 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 63 | |
| 64 | theorem detection_from_IntegralModel_CMPoints |
| 65 | (hS : ∀ i, Smooth ((M.components a).S i).hom) |
| 66 | (hA : ∀ i, AlbaneseProduct.CM.GoodGroupGeometry ((M.components a).A i).X) |
| 67 | (hgenerate : ∀ i, ∃ n : ℕ, 0 < n ∧ |
| 68 | ∀ t : PELModuli.IntegralModel.Base.GeometricPoint M.arithmetic.base, |
| 69 | Function.Surjective ((M.components a).sumOfDifferences i n t)) |
| 70 | (ho : IsOpen (R.ordinaryLocus a)) |
| 71 | (hd : ∀ x : R.geom a, Dense {y : connectedComponent x | R.IsOrdinary a y.val}) |
| 72 | (f : AbelianScheme.TateComparison.End.IntegralEnd (geometricAlbanese R a).X) |
| 73 | (h : ∀ x y : ordinaryPoints R a, x.1 = y.1 → |
| 74 | PointEvaluationCM.CM.pointAction (geometricAlbanese R a).X f |
| 75 | (ordinaryAlbanesePoint R a x - ordinaryAlbanesePoint R a y) = 0) : f = 0 := by |
| 76 | let : IsDomain M.arithmetic.R := Localization.Away.isDomain |
| 77 | (Nat.cast_ne_zero.mpr M.arithmetic.denominator_ne_zero) |
| 78 | let : ∀ i, Smooth (Ordinary.Locus.CM.componentFiber R a i).hom := fun i => by |
| 79 | let : Smooth ((M.components a).S i).hom := hS i |
| 80 | exact inferInstanceAs |
| 81 | (Smooth (CategoryTheory.Limits.pullback.snd ((M.components a).S i).hom R.geometricBase)) |
| 82 | let : ∀ i, IsReduced (Ordinary.Locus.CM.componentFiber R a i).left := |
| 83 | fun i => ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced.Construction.isReduced_smooth_over_field (Ordinary.Locus.CM.componentFiber R a i).hom |
| 84 | have hG := AlbaneseProduct.CM.component_product_geometry (geometricAlbaneseFactors R a) |
| 85 | (geometric_factor_geometry R a hA) |
| 86 | let : Smooth (AbelianScheme.TateComparison.Products.componentProduct (geometricAlbaneseFactors R a)).X.hom := hG.1 |
| 87 | let : IsProper (AbelianScheme.TateComparison.Products.componentProduct (geometricAlbaneseFactors R a)).X.hom := hG.2.1 |
| 88 | let : IsReduced (AbelianScheme.TateComparison.Products.componentProduct (geometricAlbaneseFactors R a)).X.left := |
| 89 | ArithmeticGeometry.OrdinaryLocus.Openness.SmoothReduced.Construction.isReduced_smooth_over_field |
| 90 | (AbelianScheme.TateComparison.Products.componentProduct (geometricAlbaneseFactors R a)).X.hom |
| 91 | let U : ∀ i, (Ordinary.Locus.CM.componentFiber R a i).left.Opens := fun i => |
| 92 | ⟨Ordinary.Locus.CM.componentOrdinaryLocus R a i, (Ordinary.Locus.CM.componentOrdinaryLocus_open_dense R a ho hd i).1⟩ |
| 93 | let n : Fin (M.componentCount a) → ℕ := fun i => (hgenerate i).choose |
| 94 | have hn : ∀ i, Function.Surjective (fun z : Fin (n i) → |
| 95 | (Geometric.PointExt.CM.pointBase (residueClosure (q := q)) ⟶ Ordinary.Locus.CM.componentFiber R a i) × |
| 96 | (Geometric.PointExt.CM.pointBase (residueClosure (q := q)) ⟶ Ordinary.Locus.CM.componentFiber R a i) => |
| 97 | ∑ v, (Additive.ofMul ((z v).1 ≫ geometricComponentMap R a i) - |
| 98 | Additive.ofMul ((z v).2 ≫ geometricComponentMap R a i))) := by |
| 99 | intro i |
| 100 | let : Smooth ((M.components a).A i).X.hom := (hA i).1 |
| 101 | let : IsProper ((M.components a).A i).X.hom := (hA i).2.1 |
| 102 | let : GeometricallyConnected ((M.components a).A i).X.hom := (hA i).2.2 |
| 103 | let t : PELModuli.IntegralModel.Base.GeometricPoint M.arithmetic.base := |
| 104 | ⟨residueClosure (q := q), R.geometricBase⟩ |
| 105 | exact FiberGeneration.CM.component_generation_on_fiber (M.components a) i t (n i) |
| 106 | ((hgenerate i).choose_spec.2 t) |
| 107 | apply ProductDetection.CM.product_end_eq_zero_of_ordinary_differences (geometricAlbaneseFactors R a) |
| 108 | (Ordinary.Locus.CM.componentFiber R a) (geometricComponentMap R a) U |
| 109 | (fun i => (Ordinary.Locus.CM.componentOrdinaryLocus_open_dense R a ho hd i).2) n hn f |
| 110 | intro i p z hp hz |
| 111 | exact h ⟨i, p, hp⟩ ⟨i, z, hz⟩ rfl |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM |