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.FormalGeometry.Completion.Endomorphisms |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Etale |
| 3 | |
| 4 | /-! # Multiplication -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual multiplication covers and torsion schemes for the endomorphism argument. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {K : Type u} [Field K] |
| 21 | |
| 22 | /-- An integer nonzero in the field is a unit in every actual base stalk. -/ |
| 23 | theorem field_natCast_stalk_isUnit (n : ℕ) (hn : (n : K) ≠ 0) |
| 24 | (x : Spec (CommRingCat.of K)) : |
| 25 | IsUnit (n : (Spec (CommRingCat.of K)).presheaf.stalk x) := by |
| 26 | let φ := ((Scheme.ΓSpecIso (CommRingCat.of K)).inv ≫ |
| 27 | (Spec (CommRingCat.of K)).presheaf.germ ⊤ x trivial).hom |
| 28 | simpa only [map_natCast] using (isUnit_iff_ne_zero.mpr hn).map φ |
| 29 | |
| 30 | variable (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 31 | |
| 32 | /-- Addition in the genuine endomorphism ring is the actual pointwise group law. -/ |
| 33 | theorem algebraicEnd_nsmul_hom (n : ℕ) (f : Endomorphisms.Construction.AlgebraicEnd A) : |
| 34 | (n • f).toMul.hom.hom = f.toMul.hom.hom ^ n := by |
| 35 | change (f.toMul ^ n).hom.hom = _ |
| 36 | simp only [Grp.Hom.hom_pow, Mon.Hom.hom_pow] |
| 37 | |
| 38 | /-- Multiplication by n is a homomorphism of the actual commutative group scheme. -/ |
| 39 | instance multiplication_isMonHom (n : ℕ) : IsMonHom ((𝟙 A : A ⟶ A) ^ n) := by |
| 40 | have h : (n • (1 : Endomorphisms.Construction.AlgebraicEnd A)).toMul.hom.hom = (𝟙 A : A ⟶ A) ^ n := |
| 41 | algebraicEnd_nsmul_hom A n 1 |
| 42 | rw [← h] |
| 43 | infer_instance |
| 44 | |
| 45 | /-- The actual multiplication morphism is finite when the integer is nonzero in the base field. -/ |
| 46 | theorem multiplication_isFinite [IsProper A.hom] (n : ℕ) (hn : (n : K) ≠ 0) : |
| 47 | IsFinite ((𝟙 A : A ⟶ A) ^ n).left := by |
| 48 | have : IsProper ((𝟙 A : A ⟶ A) ^ n).left := AbelianScheme.TorsionQuotient.Quasi.TorsionGeometry.power_isProper A n |
| 49 | have : FormallyUnramified ((𝟙 A : A ⟶ A) ^ n).left := |
| 50 | AbelianScheme.TorsionQuotient.Power.PowerGeometry.power_formallyUnramified A n (field_natCast_stalk_isUnit n hn) |
| 51 | exact AbelianScheme.TorsionQuotient.Quasi.TorsionGeometry.finite_of_proper_formallyUnramified _ |
| 52 | |
| 53 | /-- Etaleness is derived from the actual infinitesimal lifting calculation. -/ |
| 54 | theorem multiplication_etale [Smooth A.hom] (n : ℕ) (hn : (n : K) ≠ 0) : |
| 55 | Etale ((𝟙 A : A ⟶ A) ^ n).left := |
| 56 | AbelianScheme.TorsionQuotient.Etale.TorsionEtale.power_etale A n (field_natCast_stalk_isUnit n hn) |
| 57 | |
| 58 | /-- Connectedness makes the nonempty clopen image of multiplication the whole scheme. -/ |
| 59 | theorem multiplication_surjective_of_connected [IsProper A.hom] [Smooth A.hom] |
| 60 | [PreconnectedSpace A.left] [Nonempty A.left] (n : ℕ) (hn : (n : K) ≠ 0) : |
| 61 | Surjective ((𝟙 A : A ⟶ A) ^ n).left := by |
| 62 | have : IsFinite ((𝟙 A : A ⟶ A) ^ n).left := multiplication_isFinite A n hn |
| 63 | have : Etale ((𝟙 A : A ⟶ A) ^ n).left := multiplication_etale A n hn |
| 64 | let f := ((𝟙 A : A ⟶ A) ^ n).left |
| 65 | have hc : IsClopen (Set.range f) := ⟨f.isClosedMap.isClosed_range, f.isOpenMap.isOpen_range⟩ |
| 66 | exact ⟨Set.range_eq_univ.mp (hc.eq_univ (Set.range_nonempty f))⟩ |
| 67 | |
| 68 | /-- The actual finite etale multiplication cover of a geometrically integral group is surjective. -/ |
| 69 | theorem multiplication_surjective [IsProper A.hom] [Smooth A.hom] |
| 70 | [GeometricallyIntegral A.hom] (n : ℕ) (hn : (n : K) ≠ 0) : |
| 71 | Surjective ((𝟙 A : A ⟶ A) ^ n).left := by |
| 72 | have : IsIntegral A.left := GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 73 | exact multiplication_surjective_of_connected A n hn |
| 74 | |
| 75 | /-- The actual equalizer of multiplication and zero is finite etale over the field. -/ |
| 76 | theorem torsionScheme_finite_etale [IsProper A.hom] [Smooth A.hom] |
| 77 | (n : ℕ) (hn : (n : K) ≠ 0) : |
| 78 | IsFinite (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ Etale (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom := |
| 79 | AbelianScheme.TorsionQuotient.Etale.TorsionEtale.torsion_finite_etale A n (field_natCast_stalk_isUnit n hn) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction |