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.LineEndScalars |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleScalarsApp |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ProperFunctionsEq |
| 4 | |
| 5 | /-! # Line End Rigidity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.LineEndRigidity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Intrinsic endomorphism scalars and their pullback give rigidity of |
| 12 | line-bundle isomorphisms on connected reduced proper schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | namespace Construction |
| 19 | |
| 20 | universe u |
| 21 | variable {X Y : Scheme.{u}} |
| 22 | |
| 23 | theorem lineBundle_scalar_injective (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 24 | Function.Injective (Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalarHom L.sheaf) := by |
| 25 | intro r s hrs |
| 26 | let U : X → X.Opens := fun x => (L.locallyTrivial x).choose |
| 27 | let e (x : X) := L.overFrameIso (U x) (L.locallyTrivial x).choose_spec.2.some |
| 28 | let F : TopCat.Sheaf AddCommGrpCat X := |
| 29 | ⟨(AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).presheaf, (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X).isSheaf⟩ |
| 30 | apply F.eq_of_locally_eq' U ⊤ (fun x => (U x).leTop) |
| 31 | · intro x _ |
| 32 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨x, (L.locallyTrivial x).choose_spec.1⟩ |
| 33 | · intro x |
| 34 | apply LineEndScalars.Construction.scalar_eq_of_linearFrame (R := Γ(X, U x)) (LineEndScalars.Construction.lineFrameAt L (e x) le_rfl) |
| 35 | intro z |
| 36 | exact congrArg (fun a : End L.sheaf => a.app (U x) z) hrs |
| 37 | |
| 38 | theorem lineBundle_scalar_surjective (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 39 | Function.Surjective (Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalarHom L.sheaf) := by |
| 40 | intro a |
| 41 | obtain ⟨r, hr⟩ := LineEndScalars.Construction.lineEnd_exists_global_scalar L a |
| 42 | refine ⟨r, ?_⟩ |
| 43 | apply Scheme.Modules.hom_ext |
| 44 | intro U |
| 45 | ext z |
| 46 | exact (hr U z).symm |
| 47 | |
| 48 | /-- The endomorphism ring of an actual line bundle is canonically the |
| 49 | ring of global functions. -/ |
| 50 | def lineBundleEndRingEquiv (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : End L.sheaf ≃+* Γ(X, ⊤) := |
| 51 | (RingEquiv.ofBijective (Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalarHom L.sheaf) |
| 52 | ⟨lineBundle_scalar_injective L, lineBundle_scalar_surjective L⟩).symm |
| 53 | |
| 54 | theorem lineBundleEndRingEquiv_scalar (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (r : Γ(X, ⊤)) : |
| 55 | lineBundleEndRingEquiv L (Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar L.sheaf r) = r := |
| 56 | (lineBundleEndRingEquiv L).apply_symm_apply r |
| 57 | |
| 58 | theorem scalar_lineBundleEndRingEquiv (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (a : End L.sheaf) : |
| 59 | Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar L.sheaf (lineBundleEndRingEquiv L a) = a := |
| 60 | (lineBundleEndRingEquiv L).symm_apply_apply a |
| 61 | |
| 62 | /-- The intrinsic endomorphism scalar commutes with arbitrary pullback. -/ |
| 63 | theorem lineBundleEndRingEquiv_pullback (f : X ⟶ Y) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 64 | (a : End L.sheaf) : |
| 65 | lineBundleEndRingEquiv (L.pullback f) ((Scheme.Modules.pullback f).map a) = |
| 66 | f.appTop (lineBundleEndRingEquiv L a) := by |
| 67 | conv_lhs => rw [← scalar_lineBundleEndRingEquiv L a] |
| 68 | rw [Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.pullback_scalar] |
| 69 | exact lineBundleEndRingEquiv_scalar (L.pullback f) _ |
| 70 | |
| 71 | theorem lineBundle_end_pullback_injective (f : X ⟶ Y) |
| 72 | (hf : Function.Injective f.appTop) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) : |
| 73 | Function.Injective (fun a : End L.sheaf => (Scheme.Modules.pullback f).map a) := by |
| 74 | intro a b hab |
| 75 | apply (lineBundleEndRingEquiv L).injective |
| 76 | apply hf |
| 77 | rw [← lineBundleEndRingEquiv_pullback, ← lineBundleEndRingEquiv_pullback] |
| 78 | exact congrArg (lineBundleEndRingEquiv (L.pullback f)) hab |
| 79 | |
| 80 | theorem lineBundle_end_pullback_bijective (f : X ⟶ Y) |
| 81 | (hf : Function.Bijective f.appTop) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) : |
| 82 | Function.Bijective (fun a : End L.sheaf => (Scheme.Modules.pullback f).map a) := by |
| 83 | refine ⟨lineBundle_end_pullback_injective f hf.1 L, ?_⟩ |
| 84 | intro b |
| 85 | obtain ⟨r, hr⟩ := hf.2 (lineBundleEndRingEquiv (L.pullback f) b) |
| 86 | refine ⟨Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar L.sheaf r, ?_⟩ |
| 87 | change (Scheme.Modules.pullback f).map (Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.scalar L.sheaf r) = b |
| 88 | rw [Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars.pullback_scalar, hr] |
| 89 | exact scalar_lineBundleEndRingEquiv (L.pullback f) b |
| 90 | |
| 91 | /-- Once one comparison is an isomorphism, injectivity on global |
| 92 | functions detects equality of both line-bundle morphisms after pullback. -/ |
| 93 | theorem lineBundle_hom_ext_of_pullback (f : X ⟶ Y) |
| 94 | (hf : Function.Injective f.appTop) (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 95 | (a b : L.sheaf ⟶ M.sheaf) [IsIso a] |
| 96 | (h : (Scheme.Modules.pullback f).map a = (Scheme.Modules.pullback f).map b) : a = b := by |
| 97 | apply (cancel_epi (inv a)).mp |
| 98 | apply lineBundle_end_pullback_injective f hf M |
| 99 | simp only [Functor.map_comp, h] |
| 100 | |
| 101 | /-- Any map from a nonempty scheme detects line-bundle endomorphisms on |
| 102 | a connected reduced proper scheme over a field. -/ |
| 103 | theorem proper_lineBundle_end_pullback_injective |
| 104 | {k : Type u} [Field k] (Y : Over (Spec (.of k))) |
| 105 | [IsProper Y.hom] [ConnectedSpace Y.left] [IsReduced Y.left] |
| 106 | (f : X ⟶ Y.left) [Nonempty X] (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y.left) : |
| 107 | Function.Injective (fun a : End L.sheaf => (Scheme.Modules.pullback f).map a) := by |
| 108 | let := (Quotients.FiniteDescent.ProperFunctionsEq.Construction.ProperFunctions.globalSections_isField Y).toField |
| 109 | have : Nontrivial Γ(X, ⊤) := |
| 110 | (X.presheaf.germ ⊤ (Nonempty.some ‹Nonempty X›) trivial).hom.domain_nontrivial |
| 111 | exact lineBundle_end_pullback_injective f f.appTop.hom.injective L |
| 112 | |
| 113 | theorem proper_lineBundle_iso_hom_ext |
| 114 | {k : Type u} [Field k] (Y : Over (Spec (.of k))) |
| 115 | [IsProper Y.hom] [ConnectedSpace Y.left] [IsReduced Y.left] |
| 116 | (f : X ⟶ Y.left) [Nonempty X] (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y.left) |
| 117 | (a b : L.sheaf ≅ M.sheaf) |
| 118 | (h : (Scheme.Modules.pullback f).map a.hom = (Scheme.Modules.pullback f).map b.hom) : |
| 119 | a.hom = b.hom := by |
| 120 | apply (cancel_epi a.inv).mp |
| 121 | apply proper_lineBundle_end_pullback_injective Y f M |
| 122 | simp only [Functor.map_comp, h] |
| 123 | |
| 124 | /-- Between pointed connected reduced proper schemes, restriction is a |
| 125 | bijection on global functions. The base-field identifications are proved |
| 126 | using the actual point and structure maps. -/ |
| 127 | theorem proper_pointed_appTop_bijective |
| 128 | {k : Type u} [Field k] (X Y : Over (Spec (.of k))) |
| 129 | [IsProper X.hom] [ConnectedSpace X.left] [IsReduced X.left] |
| 130 | [IsProper Y.hom] [ConnectedSpace Y.left] [IsReduced Y.left] |
| 131 | (f : X ⟶ Y) (z : Spec (.of k) ⟶ X.left) (hz : z ≫ X.hom = 𝟙 _) : |
| 132 | Function.Bijective f.left.appTop := by |
| 133 | have : IsIso X.hom.appTop := Quotients.FiniteDescent.ProperFunctionsEq.Construction.ProperFunctions.isIso_appTop_of_section X z hz |
| 134 | have : IsIso Y.hom.appTop := Quotients.FiniteDescent.ProperFunctionsEq.Construction.ProperFunctions.isIso_appTop_of_section Y (z ≫ f.left) (by |
| 135 | rw [Category.assoc, f.w, hz]) |
| 136 | have hc : IsIso (Y.hom.appTop ≫ f.left.appTop) := by |
| 137 | rw [← Scheme.Hom.comp_appTop, f.w] |
| 138 | infer_instance |
| 139 | have : IsIso f.left.appTop := (isIso_comp_left_iff Y.hom.appTop f.left.appTop).mp hc |
| 140 | exact ConcreteCategory.bijective_of_isIso f.left.appTop |
| 141 | |
| 142 | end Construction |
| 143 | |
| 144 | end |
| 145 | |
| 146 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.LineEndRigidity |