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.Quotients.FiniteDescent.LineEndRing |
| 2 | |
| 3 | /-! # Line Rigidity Eq -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineRigidityEq.Construction.LineRigidity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Rigidity of line-bundle isomorphisms on a proper connected reduced scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem pullback_end_injective {K : Type u} [Field K] |
| 16 | (X : Over (Spec (.of K))) [IsProper X.hom] [ConnectedSpace X.left] [IsReduced X.left] |
| 17 | {Y : Scheme.{u}} [Nonempty Y] (f : Y ⟶ X.left) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) : |
| 18 | Function.Injective (fun a : End L.sheaf => (Scheme.Modules.pullback f).map a) := by |
| 19 | let := (ProperFunctionsEq.Construction.ProperFunctions.globalSections_isField X).toField |
| 20 | have : Nontrivial Γ(Y, ⊤) := |
| 21 | (Y.presheaf.germ ⊤ (Nonempty.some (inferInstance : Nonempty Y)) (by trivial)).hom.domain_nontrivial |
| 22 | intro a b h |
| 23 | obtain ⟨r, rfl⟩ := LineEndRing.Construction.LineScalars.scalar_surjective L a |
| 24 | obtain ⟨s, rfl⟩ := LineEndRing.Construction.LineScalars.scalar_surjective L b |
| 25 | change (Scheme.Modules.pullback f).map (ModuleScalarsApp.Construction.ModuleScalars.scalar L.sheaf r) = |
| 26 | (Scheme.Modules.pullback f).map (ModuleScalarsApp.Construction.ModuleScalars.scalar L.sheaf s) at h |
| 27 | rw [ModuleScalarsApp.Construction.ModuleScalars.pullback_scalar, ModuleScalarsApp.Construction.ModuleScalars.pullback_scalar] at h |
| 28 | have hr : f.appTop r = f.appTop s := LineScalarsEq.Construction.LineScalars.scalar_injective (L.pullback f) h |
| 29 | exact congrArg (ModuleScalarsApp.Construction.ModuleScalars.scalarHom L.sheaf) (f.appTop.hom.injective hr) |
| 30 | |
| 31 | /-- Once the two bundles are globally isomorphic, restriction to any |
| 32 | nonempty scheme over the proper source detects equality of their morphisms. -/ |
| 33 | theorem pullback_hom_injective {K : Type u} [Field K] |
| 34 | (X : Over (Spec (.of K))) [IsProper X.hom] [ConnectedSpace X.left] [IsReduced X.left] |
| 35 | {Y : Scheme.{u}} [Nonempty Y] (f : Y ⟶ X.left) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 36 | {M : X.left.Modules} (e : L.sheaf ≅ M) : |
| 37 | Function.Injective (fun a : L.sheaf ⟶ M => (Scheme.Modules.pullback f).map a) := by |
| 38 | intro a b h |
| 39 | apply (cancel_mono e.inv).mp |
| 40 | apply pullback_end_injective X f L |
| 41 | change (Scheme.Modules.pullback f).map a = (Scheme.Modules.pullback f).map b at h |
| 42 | change (Scheme.Modules.pullback f).map (a ≫ e.inv) = |
| 43 | (Scheme.Modules.pullback f).map (b ≫ e.inv) |
| 44 | rw [Functor.map_comp, Functor.map_comp, h] |
| 45 | |
| 46 | /-- Two line-bundle isomorphisms which agree after a nonempty pullback are equal. -/ |
| 47 | theorem iso_eq_of_pullback_eq {K : Type u} [Field K] |
| 48 | (X : Over (Spec (.of K))) [IsProper X.hom] [ConnectedSpace X.left] [IsReduced X.left] |
| 49 | {Y : Scheme.{u}} [Nonempty Y] (f : Y ⟶ X.left) (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X.left) |
| 50 | (e e' : L.sheaf ≅ M.sheaf) |
| 51 | (h : (Scheme.Modules.pullback f).mapIso e = (Scheme.Modules.pullback f).mapIso e') : e = e' := by |
| 52 | apply Iso.ext |
| 53 | exact pullback_hom_injective X f L e (congrArg Iso.hom h) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineRigidityEq.Construction.LineRigidity |