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.FiberGeneration |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Models |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts |
| 4 | |
| 5 | /-! # Residue Point -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ResiduePoint.CM |
| 12 | |
| 13 | /-! At an actual rational point over an algebraically closed field, |
| 14 | the canonical algebraic-closure residue point is isomorphic to that |
| 15 | point. This identifies the torsion counts in CMPoints with actual point |
| 16 | functors, without changing their field or adding an ordinarity premise. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FiberGeneration.CM |
| 21 | |
| 22 | variable {k : Type} [Field k] [IsAlgClosed k] |
| 23 | (X : Over (Spec (.of k))) [LocallyOfFiniteType X.hom] |
| 24 | (p : PointExt.CM.pointBase k ⟶ X) |
| 25 | |
| 26 | def closedPoint : _root_.closedPoints X.left := |
| 27 | pointEquivClosedPoint X.hom ⟨p.left, p.w⟩ |
| 28 | |
| 29 | theorem pointOfClosedPoint_eq : |
| 30 | AlgebraicGeometry.pointOfClosedPoint X.hom (CM.closedPoint X p).val |
| 31 | (CM.closedPoint X p).property = p.left := |
| 32 | congrArg Subtype.val ((pointEquivClosedPoint X.hom).symm_apply_apply ⟨p.left, p.w⟩) |
| 33 | |
| 34 | def residueClosureIso : |
| 35 | PELModuli.CMPoints.Models.geometricPoint X.left (CM.closedPoint X p).val ≅ Over.mk p.left := by |
| 36 | let x := (CM.closedPoint X p).val |
| 37 | let e := residueFieldIsoBase X.hom x (CM.closedPoint X p).property |
| 38 | let : IsAlgClosed (X.left.residueField x) := |
| 39 | IsAlgClosed.of_ringEquiv k _ e.symm.commRingCatIsoToRingEquiv |
| 40 | let f := CommRingCat.ofHom (algebraMap (X.left.residueField x) |
| 41 | (AlgebraicClosure (X.left.residueField x))) |
| 42 | let : IsIso f := (ConcreteCategory.isIso_iff_bijective f).mpr |
| 43 | IsAlgClosed.algebraMap_bijective_of_isIntegral |
| 44 | let c : CommRingCat.of k ≅ CommRingCat.of (AlgebraicClosure (X.left.residueField x)) := |
| 45 | e.symm ≪≫ asIso f |
| 46 | refine Over.isoMk (Scheme.Spec.mapIso c.op) ?_ |
| 47 | change Spec.map (e.inv ≫ f) ≫ p.left = |
| 48 | Spec.map f ≫ X.left.fromSpecResidueField x |
| 49 | rw [← pointOfClosedPoint_eq X p] |
| 50 | change Spec.map (e.inv ≫ f) ≫ |
| 51 | (Spec.map e.hom ≫ X.left.fromSpecResidueField x) = _ |
| 52 | rw [← Category.assoc, ← Spec.map_comp] |
| 53 | simp only [← Category.assoc, e.hom_inv_id, Category.id_comp] |
| 54 | |
| 55 | variable (A : Over X.left) [GrpObj A] (n : ℕ) |
| 56 | |
| 57 | theorem torsionPointCard_eq : |
| 58 | Nat.card {z : PELModuli.CMPoints.Models.geometricPoint X.left (CM.closedPoint X p).val ⟶ A // z ^ n = 1} = |
| 59 | Nat.card {z : Over.mk p.left ⟶ A // z ^ n = 1} := by |
| 60 | let e := FiberGeneration.CM.testPointMulEquiv (G := A) (residueClosureIso X p) |
| 61 | apply Nat.card_congr |
| 62 | exact e.toEquiv.subtypeEquiv (fun z => by |
| 63 | change z ^ n = 1 ↔ (e z) ^ n = 1 |
| 64 | rw [← map_pow, e.map_eq_one_iff]) |
| 65 | |
| 66 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ResiduePoint.CM |
| 67 | |
| 68 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ResiduePoint.CM.RationalOrdinary |
| 69 | |
| 70 | /-! The ordinary-locus condition at an actual geometric moduli point |
| 71 | is exactly maximal rank of its actual q-torsion point group. -/ |
| 72 | |
| 73 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 74 | open scoped _root_.CategoryTheory.MonObj |
| 75 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM |
| 76 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ResiduePoint.CM |
| 77 | |
| 78 | variable {k : Type} [Field k] [IsAlgClosed k] |
| 79 | (X : Over (Spec (.of k))) [LocallyOfFiniteType X.hom] |
| 80 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g X.left) |
| 81 | |
| 82 | omit [IsAlgClosed k] [LocallyOfFiniteType X.hom] in |
| 83 | theorem fiber_dimension (x : X.left) : |
| 84 | topologicalKrullDim (A.scheme.hom.fiber x) = (g : WithBot ℕ∞) := by |
| 85 | let e : A.scheme ⟶ A.scheme := 𝟙 A.scheme |
| 86 | let : IsOpenImmersion e.left := |
| 87 | inferInstanceAs (IsOpenImmersion (𝟙 A.scheme.left)) |
| 88 | apply ArithmeticGeometry.OrdinaryLocus.Openness.FiberDimensionCharts.Construction.dimension_fiber_of_smooth_chart A.scheme A.scheme e g x |
| 89 | refine ⟨η[A.scheme].left x, ?_⟩ |
| 90 | have h : η[A.scheme].left ≫ A.scheme.hom = 𝟙 X.left := (η[A.scheme]).w |
| 91 | exact (Scheme.Hom.comp_apply _ _ x).symm.trans |
| 92 | (congrArg (fun f : X.left ⟶ X.left => f x) h) |
| 93 | |
| 94 | theorem isOrdinaryAt_iff_point_count (p : PointExt.CM.pointBase k ⟶ X) (q : ℕ) : |
| 95 | PELModuli.CMPoints.Models.IsOrdinaryAt q A.scheme (p.left (IsLocalRing.closedPoint k)) ↔ |
| 96 | Nat.card (A.torsionPoints q (Over.mk p.left)) = q ^ g := by |
| 97 | have hc := torsionPointCard_eq X p A.scheme q |
| 98 | change Nat.card {z : PELModuli.CMPoints.Models.geometricPoint X.left (p.left (IsLocalRing.closedPoint k)) ⟶ A.scheme // |
| 99 | z ^ q = 1} = Nat.card (A.torsionPoints q (Over.mk p.left)) at hc |
| 100 | constructor |
| 101 | · rintro ⟨d, hd, hn⟩ |
| 102 | have hdg : d = g := by |
| 103 | exact_mod_cast hd.symm.trans (fiber_dimension X A _) |
| 104 | subst d |
| 105 | exact hc.symm.trans hn |
| 106 | · intro h |
| 107 | exact ⟨g, fiber_dimension X A _, hc.trans h⟩ |
| 108 | |
| 109 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ResiduePoint.CM.RationalOrdinary |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI |