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.AbelianScheme.CentralAction.Scalar |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Etale |
| 3 | |
| 4 | /-! # Scalar Isogeny -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.ScalarIsogeny.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The principal scalar's finite etale geometry is proved from the |
| 11 | ordinary abelian-scheme properties and its exact nonzero norm. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | /-- A finite etale group endomorphism is onto a group scheme with |
| 18 | geometrically connected fibers: its clopen image meets each fiber at zero. -/ |
| 19 | theorem surjective_of_proper_etale_group_end |
| 20 | {S : Scheme} (B : Over S) [GrpObj B] [IsCommMonObj B] |
| 21 | [GeometricallyConnected B.hom] |
| 22 | (f : B ⟶ B) [IsMonHom f] [IsProper f.left] [Etale f.left] : Surjective f.left := by |
| 23 | constructor |
| 24 | intro y |
| 25 | let s := B.hom y |
| 26 | let z := η[B].left s |
| 27 | have hz : B.hom z = s := by |
| 28 | have he := congrArg (fun h : S ⟶ S => h s) η[B].w |
| 29 | exact he |
| 30 | have hfz : f.left z = z := by |
| 31 | have he := congrArg (fun h => h.left s) (IsMonHom.one_hom f) |
| 32 | exact he |
| 33 | have hcl : IsClopen (Set.range f.left) := |
| 34 | ⟨f.left.isClosedMap.isClosed_range, f.left.isOpenMap.isOpen_range⟩ |
| 35 | have hinter : ((B.hom ⁻¹' {s}) ∩ Set.range f.left).Nonempty := |
| 36 | ⟨z, hz, z, hfz⟩ |
| 37 | have hsub := (B.hom.isConnected_preimage_singleton s).isPreconnected.subset_isClopen hcl hinter |
| 38 | exact hsub (show y ∈ B.hom ⁻¹' {s} from rfl) |
| 39 | |
| 40 | /-- Multiplication by a base unit is a finite etale surjection on an |
| 41 | abelian scheme. Etaleness uses the checked infinitesimal TorsionQuotient proof. -/ |
| 42 | theorem abelian_multiplier_finite_etale_surjective |
| 43 | {S : Scheme} {g : ℕ} (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 44 | (n : ℕ) (hn : ∀ x : S, IsUnit (n : S.presheaf.stalk x)) : |
| 45 | IsFinite ((𝟙 B.scheme) ^ n).left ∧ Etale ((𝟙 B.scheme) ^ n).left ∧ |
| 46 | Surjective ((𝟙 B.scheme) ^ n).left := by |
| 47 | have : IsProper ((𝟙 B.scheme) ^ n).left := TorsionQuotient.Quasi.TorsionGeometry.power_isProper B.scheme n |
| 48 | have : Etale ((𝟙 B.scheme) ^ n).left := TorsionQuotient.Etale.TorsionEtale.power_etale B.scheme n hn |
| 49 | have : IsFinite ((𝟙 B.scheme) ^ n).left := |
| 50 | TorsionQuotient.Quasi.TorsionGeometry.finite_of_proper_formallyUnramified _ |
| 51 | have : IsMonHom ((𝟙 B.scheme) ^ n) := by |
| 52 | rw [← Scalar.Construction.scalar_natCast_schemeMap] |
| 53 | infer_instance |
| 54 | exact ⟨inferInstance, inferInstance, surjective_of_proper_etale_group_end B.scheme _⟩ |
| 55 | |
| 56 | /-- Every nonzero integer is a unit on a scheme over a characteristic-zero field. -/ |
| 57 | theorem nat_unit_on_charZero_scheme {K : Type} [Field K] [CharZero K] |
| 58 | {S : Scheme} (p : S ⟶ Spec (.of K)) (n : ℕ) (hn : n ≠ 0) : |
| 59 | ∀ x : S, IsUnit (n : S.presheaf.stalk x) := by |
| 60 | intro x |
| 61 | have hu : IsUnit (n : K) := isUnit_iff_ne_zero.mpr (Nat.cast_ne_zero.mpr hn) |
| 62 | let r : K →+* S.presheaf.stalk x := |
| 63 | (S.presheaf.germ ⊤ x (by trivial)).hom.comp |
| 64 | (p.appTop.hom.comp (Scheme.ΓSpecIso (.of K)).inv.hom) |
| 65 | simpa only [map_natCast] using hu.map r |
| 66 | |
| 67 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 68 | [Field K] [CharZero K] {g N : ℕ} {S : Scheme} |
| 69 | |
| 70 | /-- The scalar PEL isogeny is now constructed without any assumed |
| 71 | finiteness, flatness, surjectivity, or correspondence compatibility. -/ |
| 72 | def scalarPELIsogeny_of_norm |
| 73 | (B : TateComparison.PEL.PELFamilyData (NumberField.RingOfIntegers E) g N S) |
| 74 | (base : S ⟶ Spec (.of K)) |
| 75 | (hRosati : B.IsRosatiCompatible |
| 76 | (NumberField.IsCMField.ringOfIntegersComplexConj E).toRingHom) |
| 77 | (b : NumberField.RingOfIntegers E) (n : ℕ) (hn : n ≠ 0) |
| 78 | (hnorm : b * NumberField.IsCMField.ringOfIntegersComplexConj E b = n) |
| 79 | (hlevel : Marking.Construction.levelReduction E N b = 1) : TateComparison.PELIsogenies.PELIsogeny B B n := by |
| 80 | have hh := abelian_multiplier_finite_etale_surjective B.abelian n |
| 81 | (nat_unit_on_charZero_scheme base n hn) |
| 82 | have := hh.1 |
| 83 | have := hh.2.1 |
| 84 | have := hh.2.2 |
| 85 | exact Scalar.Construction.scalarPELIsogeny_of_finiteEtale_multiplier B hRosati b n hnorm hlevel |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.ScalarIsogeny.Construction |