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.PELModuli.CMPoints.Models |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryFromFactors |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts |
| 4 | |
| 5 | /-! # Ordinary Fiber Count -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryFiberCount |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The point count on the actual geometric fiber is equivalent to |
| 12 | the ordinary predicate used in Openness and the repaired CMPoints statement. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | theorem abelian_fiber_dimension {S : Scheme.{0}} {g : ℕ} |
| 18 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (x : S) : |
| 19 | topologicalKrullDim (A.scheme.hom.fiber x) = (g : WithBot ℕ∞) := by |
| 20 | let : IsOpenImmersion (Over.Hom.left (𝟙 A.scheme)) := inferInstanceAs (IsOpenImmersion (𝟙 A.scheme.left)) |
| 21 | apply ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts.Construction.dimension_fiber_of_smooth_chart A.scheme A.scheme (𝟙 _) g x |
| 22 | refine ⟨η[A.scheme].left x, ?_⟩ |
| 23 | have h : η[A.scheme].left ≫ A.scheme.hom = 𝟙 S := (η[A.scheme]).w |
| 24 | exact (Scheme.Hom.comp_apply _ _ x).symm.trans (congrArg (fun f : S ⟶ S => f x) h) |
| 25 | |
| 26 | def geometricTorsionPointsEquiv {S : Scheme.{0}} {g : ℕ} |
| 27 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (x : S) (m : ℕ) : |
| 28 | (A.pullback (Models.geometricPoint S x).hom).torsionPoints m |
| 29 | (Over.mk (𝟙 (Spec (.of (AlgebraicClosure (S.residueField x)))))) ≃ |
| 30 | {z : Models.geometricPoint S x ⟶ A.scheme // z ^ m = 1} := by |
| 31 | let p := (Models.geometricPoint S x).hom |
| 32 | let T : Over (Spec (.of (AlgebraicClosure (S.residueField x)))) := Over.mk (𝟙 _) |
| 33 | let e : (Over.map p).obj T ≅ Models.geometricPoint S x := Over.isoMk (Iso.refl _) (by rfl) |
| 34 | exact (A.torsionBaseChangeEquiv p T m).toEquiv.trans |
| 35 | (Equiv.ofBijective (((A.torsionFunctor m).mapIso e.op).hom) |
| 36 | (ConcreteCategory.bijective_of_isIso _)) |
| 37 | |
| 38 | theorem isOrdinaryAt_iff_geometricFiber_count {S : Scheme.{0}} {g q : ℕ} |
| 39 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (x : S) : |
| 40 | Models.IsOrdinaryAt q A.scheme x ↔ |
| 41 | Nat.card ((A.pullback (Models.geometricPoint S x).hom).torsionPoints q |
| 42 | (Over.mk (𝟙 (Spec (.of (AlgebraicClosure (S.residueField x))))))) = q ^ g := by |
| 43 | have hc := Nat.card_congr (geometricTorsionPointsEquiv A x q) |
| 44 | constructor |
| 45 | · rintro ⟨d, hd, hn⟩ |
| 46 | have hdg : d = g := by |
| 47 | exact_mod_cast hd.symm.trans (abelian_fiber_dimension A x) |
| 48 | subst d |
| 49 | exact hc.trans hn |
| 50 | · intro h |
| 51 | exact ⟨g, abelian_fiber_dimension A x, hc.symm.trans h⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.OrdinaryFiberCount |