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.ModuleScalarsApp |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineEndomorphismsComm |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackScalarsValue |
| 4 | |
| 5 | /-! # Line Scalars Eq -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineScalarsEq.Construction.LineScalars |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Frame coordinates for line-bundle endomorphisms and faithful scalar action. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} |
| 18 | |
| 19 | def frameValue {M : X.Modules} (e : M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (a : End M) : Γ(X, ⊤) := |
| 20 | AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (e.inv ≫ a ≫ e.hom) |
| 21 | |
| 22 | theorem frameValue_independent {M : X.Modules} (e f : M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (a : End M) : |
| 23 | frameValue e a = frameValue f a := |
| 24 | congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X) (LineEndomorphismsComm.Construction.LineEndomorphisms.frame_independent e f a) |
| 25 | |
| 26 | theorem frameValue_pullback (f : X ⟶ Y) {M : Y.Modules} |
| 27 | (e : M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) |
| 28 | (e' : (Scheme.Modules.pullback f).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (a : End M) : |
| 29 | frameValue e' ((Scheme.Modules.pullback f).map a) = f.appTop (frameValue e a) := by |
| 30 | let ec := (Scheme.Modules.pullback f).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f |
| 31 | rw [frameValue_independent e' ec] |
| 32 | have hc : ec.inv ≫ (Scheme.Modules.pullback f).map a ≫ ec.hom = |
| 33 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).inv ≫ |
| 34 | (Scheme.Modules.pullback f).map (e.inv ≫ a ≫ e.hom) ≫ |
| 35 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom := by |
| 36 | simp only [ec, Iso.trans_inv, Iso.trans_hom, Functor.mapIso_inv, Functor.mapIso_hom, |
| 37 | Functor.map_comp, Category.assoc] |
| 38 | exact (congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X) hc).trans (PullbackScalarsValue.Construction.PullbackScalars.value_pullback f _) |
| 39 | |
| 40 | theorem frameValue_functorComparison {F G : Y.Modules ⥤ X.Modules} (δ : F ≅ G) |
| 41 | {M : Y.Modules} (e : F.obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 42 | (e' : G.obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (a : End M) : |
| 43 | frameValue e (F.map a) = frameValue e' (G.map a) := by |
| 44 | let ec := δ.app M ≪≫ e' |
| 45 | rw [frameValue_independent e ec] |
| 46 | have hn : F.map a ≫ (δ.app M).hom = (δ.app M).hom ≫ G.map a := δ.hom.naturality a |
| 47 | have hc : ec.inv ≫ F.map a ≫ ec.hom = e'.inv ≫ G.map a ≫ e'.hom := by |
| 48 | simp only [ec, Iso.trans_inv, Iso.trans_hom, Category.assoc] |
| 49 | rw [← Category.assoc (F.map a) (δ.app M).hom e'.hom, hn, Category.assoc, |
| 50 | Iso.inv_hom_id_assoc] |
| 51 | exact congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X) hc |
| 52 | |
| 53 | theorem scalar_eq_of_frame {M : X.Modules} (e : M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (a : End M) : |
| 54 | ModuleScalarsApp.Construction.ModuleScalars.scalar M (frameValue e a) = a := by |
| 55 | have h : ModuleScalarsApp.Construction.ModuleScalars.scalar (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (frameValue e a) = e.inv ≫ a ≫ e.hom := by |
| 56 | apply AbelianModuli.HilbertConstruction.Global.Sections.structureModuleEndValue_injective X |
| 57 | exact ModuleScalarsApp.Construction.ModuleScalars.structure_value _ |
| 58 | apply (cancel_epi e.inv).mp |
| 59 | apply (cancel_mono e.hom).mp |
| 60 | simpa only [Category.assoc, ModuleScalarsApp.Construction.ModuleScalars.scalar_naturality e.hom, |
| 61 | Iso.inv_hom_id_assoc] using h |
| 62 | |
| 63 | theorem scalar_injective (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : Function.Injective (ModuleScalarsApp.Construction.ModuleScalars.scalarHom L.sheaf) := by |
| 64 | intro r s h |
| 65 | apply TopCat.Presheaf.section_ext X.sheaf ⊤ r s |
| 66 | intro x _ |
| 67 | obtain ⟨U, hx, ⟨e⟩⟩ := L.locallyTrivial x |
| 68 | have hl : U.ι.appTop r = U.ι.appTop s := by |
| 69 | have he := congrArg (fun a : End L.sheaf => (Scheme.Modules.pullback U.ι).map a) h |
| 70 | change (Scheme.Modules.pullback U.ι).map (ModuleScalarsApp.Construction.ModuleScalars.scalar L.sheaf r) = |
| 71 | (Scheme.Modules.pullback U.ι).map (ModuleScalarsApp.Construction.ModuleScalars.scalar L.sheaf s) at he |
| 72 | rw [ModuleScalarsApp.Construction.ModuleScalars.pullback_scalar, ModuleScalarsApp.Construction.ModuleScalars.pullback_scalar] at he |
| 73 | have hO : ModuleScalarsApp.Construction.ModuleScalars.scalar (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.toScheme) (U.ι.appTop r) = |
| 74 | ModuleScalarsApp.Construction.ModuleScalars.scalar (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.toScheme) (U.ι.appTop s) := by |
| 75 | apply (cancel_epi e.hom).mp |
| 76 | exact (ModuleScalarsApp.Construction.ModuleScalars.scalar_naturality e.hom _).symm.trans |
| 77 | ((congrArg (fun a => a ≫ e.hom) he).trans (ModuleScalarsApp.Construction.ModuleScalars.scalar_naturality e.hom _)) |
| 78 | have hv := congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue U.toScheme) hO |
| 79 | simpa only [ModuleScalarsApp.Construction.ModuleScalars.structure_value] using hv |
| 80 | let y : U.toScheme := ⟨x, hx⟩ |
| 81 | apply (ConcreteCategory.bijective_of_isIso (U.ι.stalkMap y)).1 |
| 82 | change U.ι.stalkMap y (X.presheaf.germ ⊤ (U.ι y) trivial r) = |
| 83 | U.ι.stalkMap y (X.presheaf.germ ⊤ (U.ι y) trivial s) |
| 84 | exact (U.ι.germ_stalkMap_apply ⊤ y (by trivial) r).trans |
| 85 | ((congrArg (U.toScheme.presheaf.germ ⊤ y (by trivial)) hl).trans |
| 86 | (U.ι.germ_stalkMap_apply ⊤ y (by trivial) s).symm) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineScalarsEq.Construction.LineScalars |