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.Picard.Homomorphisms.FiniteGroupMaps |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.GroupRigidity |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiniteEndomorphism |
| 4 | |
| 5 | /-! # Ordinary Division -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.OrdinaryDivision |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite geometric torsion implies division of rational points on an |
| 12 | abelian variety. In particular the ordinary p-rank hypothesis supplies |
| 13 | the division needed for isogeny invariance of p-rank. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | attribute [local instance] GroupDescent.Construction.groupHom_pow_isMonHom |
| 25 | |
| 26 | def torsionKernelPointEquiv {S : Scheme.{u}} |
| 27 | (A : Over S) [GrpObj A] [IsCommMonObj A] (n : ℕ) (T : Over S) : |
| 28 | (T ⟶ Kernel.Construction.kernelScheme ((𝟙 A) ^ n)) ≃ (powMonoidHom n : (T ⟶ A) →* _).ker := |
| 29 | (FiniteGroupMaps.Construction.kernelPointEquiv ((𝟙 A) ^ n) T).trans |
| 30 | (Equiv.subtypeEquivRight fun x => by |
| 31 | change x ≫ (𝟙 A) ^ n = 1 ↔ x ^ n = 1 |
| 32 | rw [MonObj.comp_pow, Category.comp_id]) |
| 33 | |
| 34 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 35 | variable (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 36 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 37 | variable (n : ℕ) |
| 38 | variable [Finite (powMonoidHom n : (Over.mk (𝟙 (Spec (.of k))) ⟶ A) →* _).ker] |
| 39 | |
| 40 | omit [Smooth A.hom] [GeometricallyConnected A.hom] in |
| 41 | theorem multiplication_finite_of_finite_rational_torsion : IsFinite ((𝟙 A) ^ n).left := by |
| 42 | have : Finite (Over.mk (𝟙 (Spec (.of k))) ⟶ Kernel.Construction.kernelScheme ((𝟙 A) ^ n)) := |
| 43 | Finite.of_equiv _ (torsionKernelPointEquiv A n _).symm |
| 44 | have : IsFinite (Kernel.Construction.kernelScheme ((𝟙 A) ^ n)).hom := |
| 45 | FiniteGeometricPoints.Construction.finite_morphism_of_proper_finite_rationalPoints (Kernel.Construction.kernelScheme ((𝟙 A) ^ n)) |
| 46 | exact FiniteGroupMaps.Construction.groupHom_finite_of_finite_kernel ((𝟙 A) ^ n) |
| 47 | |
| 48 | theorem multiplication_surjective_of_finite_rational_torsion : |
| 49 | Surjective ((𝟙 A) ^ n).left := by |
| 50 | have : IsFinite ((𝟙 A) ^ n).left := multiplication_finite_of_finite_rational_torsion A n |
| 51 | have : IsIntegral A.left := GroupRigidity.Construction.integral_smooth_proper_connected_group A |
| 52 | have : IsLocallyNoetherian A.left := LocallyOfFiniteType.isLocallyNoetherian A.hom |
| 53 | have : CompactSpace A.left := QuasiCompact.compactSpace_of_compactSpace A.hom |
| 54 | have : IsNoetherian A.left := ⟨⟩ |
| 55 | exact ArithmeticGeometry.OrdinaryLocus.Openness.FiniteEndomorphism.Construction.surjective_finite_endomorphism_of_isIntegral ((𝟙 A) ^ n).left |
| 56 | |
| 57 | theorem rational_points_divisible_of_finite_torsion : |
| 58 | Function.Surjective (fun x : Over.mk (𝟙 (Spec (.of k))) ⟶ A => x ^ n) := by |
| 59 | let f : A ⟶ A := (𝟙 A) ^ n |
| 60 | have : IsFinite f.left := multiplication_finite_of_finite_rational_torsion A n |
| 61 | have : Surjective f.left := multiplication_surjective_of_finite_rational_torsion A n |
| 62 | intro y |
| 63 | obtain ⟨x, hx⟩ := AbelianScheme.FrobeniusKernel.GeometricIsogeny.Construction.exists_geometric_lift f.left y.left |
| 64 | let z := (AbelianScheme.FrobeniusKernel.GeometricIsogeny.Construction.overGeometricFiberEquiv f (𝟙 _) y).symm ⟨x, hx⟩ |
| 65 | refine ⟨z.val, ?_⟩ |
| 66 | have h := z.property |
| 67 | simpa only [f, MonObj.comp_pow, Category.comp_id] using h |
| 68 | |
| 69 | theorem isogeny_torsion_card_of_finite_source {g h : ℕ} |
| 70 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 71 | (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))) |
| 72 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (n : ℕ) |
| 73 | [Finite (A.torsionPoints n (Over.mk (𝟙 (Spec (.of k)))))] : |
| 74 | Nat.card (A.torsionPoints n (Over.mk (𝟙 (Spec (.of k))))) = |
| 75 | Nat.card (B.torsionPoints n (Over.mk (𝟙 (Spec (.of k))))) := by |
| 76 | have : Finite (powMonoidHom n : (Over.mk (𝟙 (Spec (.of k))) ⟶ A.scheme) →* _).ker := |
| 77 | inferInstanceAs (Finite (A.torsionPoints n (Over.mk (𝟙 (Spec (.of k)))))) |
| 78 | apply AbelianScheme.FrobeniusKernel.GeometricIsogeny.Construction.isogeny_geometric_qRank_preserved f (𝟙 _) n |
| 79 | intro x |
| 80 | exact rational_points_divisible_of_finite_torsion A.scheme n x.val |
| 81 | |
| 82 | theorem isogeny_preserves_ordinary_torsion_count {g : ℕ} |
| 83 | (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 84 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (p : ℕ) (hp : p.Prime) |
| 85 | (hordinary : Nat.card (A.torsionPoints p (Over.mk (𝟙 (Spec (.of k))))) = p ^ g) : |
| 86 | Nat.card (B.torsionPoints p (Over.mk (𝟙 (Spec (.of k))))) = p ^ g := by |
| 87 | have : Finite (A.torsionPoints p (Over.mk (𝟙 (Spec (.of k))))) := |
| 88 | Nat.finite_of_card_ne_zero (hordinary ▸ pow_ne_zero g hp.ne_zero) |
| 89 | exact (isogeny_torsion_card_of_finite_source A B f p).symm.trans hordinary |
| 90 | |
| 91 | end Construction |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.OrdinaryDivision |