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.IntegralModel.IsogenyComplement |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Etale |
| 3 | import Mathlib.AlgebraicGeometry.Geometrically.Connected |
| 4 | |
| 5 | /-! # Isogeny Complement Geometry -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.IsogenyComplementGeometry |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Geometric properties of the constructed complementary isogeny. |
| 12 | Positive multiplication is finite étale and surjective over a characteristic |
| 13 | zero field. Both multiplication identities therefore make the reverse map |
| 14 | finite étale and surjective as an actual scheme morphism. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {k : Type u} [Field k] [CharZero k] |
| 22 | |
| 23 | theorem integer_unit_at_field_stalk (n : ℕ) (hn : 0 < n) (x : Spec (.of k)) : |
| 24 | IsUnit (n : (Spec (.of k)).presheaf.stalk x) := by |
| 25 | let constants : k →+* Γ(Spec (.of k), ⊤) := (Scheme.ΓSpecIso (.of k)).inv.hom |
| 26 | let toStalk : k →+* (Spec (.of k)).presheaf.stalk x := |
| 27 | ((Spec (.of k)).presheaf.germ ⊤ x (by trivial)).hom.comp constants |
| 28 | have hu : IsUnit (n : k) := isUnit_iff_ne_zero.mpr (Nat.cast_ne_zero.mpr hn.ne') |
| 29 | simpa only [map_natCast] using hu.map toStalk |
| 30 | |
| 31 | variable (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 32 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 33 | |
| 34 | theorem positive_multiplication_finite_etale_surjective (n : ℕ) (hn : 0 < n) : |
| 35 | IsFinite (((𝟙 A : A ⟶ A) ^ n).left) ∧ |
| 36 | Etale (((𝟙 A : A ⟶ A) ^ n).left) ∧ Surjective (((𝟙 A : A ⟶ A) ^ n).left) := by |
| 37 | let p : A ⟶ A := (𝟙 A : A ⟶ A) ^ n |
| 38 | have he : Etale p.left := AbelianScheme.TorsionQuotient.Etale.TorsionEtale.power_etale A n |
| 39 | (integer_unit_at_field_stalk n hn) |
| 40 | have hp : IsProper p.left := AbelianScheme.TorsionQuotient.Quasi.TorsionGeometry.power_isProper A n |
| 41 | have hf : IsFinite p.left := AbelianScheme.TorsionQuotient.Quasi.TorsionGeometry.finite_of_proper_formallyUnramified p.left |
| 42 | have : Nonempty (Spec (.of k)) := ⟨IsLocalRing.closedPoint k⟩ |
| 43 | have : ConnectedSpace A.left := GeometricallyConnected.connectedSpace_of_subsingleton A.hom |
| 44 | have hcl : IsClopen (Set.range p.left) := ⟨by |
| 45 | simpa only [Set.image_univ] using p.left.isClosedMap Set.univ isClosed_univ, |
| 46 | p.left.isOpenMap.isOpen_range⟩ |
| 47 | have hr : Set.range p.left = Set.univ := hcl.eq_univ (Set.range_nonempty _) |
| 48 | exact ⟨hf, he, ⟨Set.range_eq_univ.mp hr⟩⟩ |
| 49 | |
| 50 | variable [IsAlgClosed k] |
| 51 | {A B : Over (Spec (.of k))} [GrpObj A] [GrpObj B] |
| 52 | [IsCommMonObj A] [IsCommMonObj B] |
| 53 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 54 | [Smooth B.hom] [IsProper B.hom] [GeometricallyConnected B.hom] |
| 55 | |
| 56 | /-- Both the reverse morphism and its finite étale geometry are |
| 57 | constructed, together with a positive torsion bound for its kernel. -/ |
| 58 | theorem exists_complementary_finite_etale_isogeny |
| 59 | (f : A ⟶ B) [IsMonHom f] [IsFinite f.left] [Etale f.left] [Surjective f.left] : |
| 60 | ∃ (n : ℕ) (d : B ⟶ A), 0 < n ∧ IsMonHom d ∧ IsFinite d.left ∧ Etale d.left ∧ |
| 61 | Surjective d.left ∧ f ≫ d = (𝟙 A : A ⟶ A) ^ n ∧ |
| 62 | d ≫ f = (𝟙 B : B ⟶ B) ^ n ∧ |
| 63 | ∀ (T : Over (Spec (.of k))) (x : T ⟶ B), x ≫ d = 1 → x ^ n = 1 := by |
| 64 | obtain ⟨n, d, hn, hd, hfd, hdf, hker⟩ := IsogenyComplement.exists_complementary_map_of_finite_etale f |
| 65 | obtain ⟨_, _, hsurjA⟩ := positive_multiplication_finite_etale_surjective A n hn |
| 66 | obtain ⟨hfiniteB, hetaleB, _⟩ := positive_multiplication_finite_etale_surjective B n hn |
| 67 | have hdf' : d.left ≫ f.left = ((𝟙 B : B ⟶ B) ^ n).left := congrArg Over.Hom.left hdf |
| 68 | have hfd' : f.left ≫ d.left = ((𝟙 A : A ⟶ A) ^ n).left := congrArg Over.Hom.left hfd |
| 69 | have : IsFinite (d.left ≫ f.left) := hdf' ▸ hfiniteB |
| 70 | have : Etale (d.left ≫ f.left) := hdf' ▸ hetaleB |
| 71 | have hdFinite : IsFinite d.left := IsFinite.of_comp d.left f.left |
| 72 | have hdEtale : Etale d.left := Etale.of_comp d.left f.left |
| 73 | have : Surjective (f.left ≫ d.left) := hfd' ▸ hsurjA |
| 74 | have hdSurj : Surjective d.left := by |
| 75 | constructor |
| 76 | intro a |
| 77 | obtain ⟨x, hx⟩ := this.1 a |
| 78 | exact ⟨f.left x, hx⟩ |
| 79 | exact ⟨n, d, hn, hd, hdFinite, hdEtale, hdSurj, hfd, hdf, hker⟩ |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.IsogenyComplementGeometry |