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.AbelianModuli.HilbertConstruction.Global.Sections |
| 2 | |
| 3 | /-! # Restriction Scalars -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictionScalars |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restriction of scalar endomorphisms and independence from a chosen structure-module frame. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | /-- The scalar of an endomorphism on an open is the restriction of its global scalar. -/ |
| 18 | theorem structureModuleEndValue_onOpen (a : End (Line.Bundles.structureModule X)) (U : X.Opens) : |
| 19 | a.app U (1 : Γ(X, U)) = |
| 20 | X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op (Frame.Coordinates.structureModuleEndValue X a) := by |
| 21 | have ha := ConcreteCategory.congr_hom |
| 22 | (a.mapPresheaf.naturality (homOfLE (show U ≤ ⊤ from le_top)).op) (1 : Γ(X, ⊤)) |
| 23 | change a.app U (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op (1 : Γ(X, ⊤))) = _ at ha |
| 24 | exact (congrArg (fun z : Γ(X, U) => a.app U z) |
| 25 | (map_one (X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op).hom)).symm.trans ha |
| 26 | |
| 27 | /-- On an open immersion, restricting to the image and then using the structure-sheaf isomorphism |
| 28 | is the map on global functions. -/ |
| 29 | theorem appIso_top_restrict (f : X ⟶ Y) [IsOpenImmersion f] (r : Γ(Y, ⊤)) : |
| 30 | (f.appIso ⊤).hom (Y.presheaf.map (homOfLE (show f ''ᵁ ⊤ ≤ ⊤ from le_top)).op r) = |
| 31 | f.appTop r := by |
| 32 | have hh := f.map_appLE (Scheme.Hom.preimage_image_eq f ⊤).ge |
| 33 | (homOfLE (show f ''ᵁ ⊤ ≤ ⊤ from le_top)).op |
| 34 | rw [← f.appIso_hom'] at hh |
| 35 | have he : f.appLE ⊤ ⊤ (by intro x _; trivial) = f.appTop := by |
| 36 | change f.appTop ≫ X.presheaf.map (𝟙 (Opposite.op (⊤ : X.Opens))) = f.appTop |
| 37 | exact (congrArg (fun z : Γ(X, ⊤) ⟶ Γ(X, ⊤) => f.appTop ≫ z) |
| 38 | (X.presheaf.map_id (Opposite.op (⊤ : X.Opens)))).trans (Category.comp_id f.appTop) |
| 39 | exact (ConcreteCategory.congr_hom hh r).trans (ConcreteCategory.congr_hom he r) |
| 40 | |
| 41 | /-- Conjugating a restricted scalar map through any frame gives the pulled-back global scalar. -/ |
| 42 | theorem structureModuleEndValue_restrict (f : X ⟶ Y) [IsOpenImmersion f] |
| 43 | (a : End (Line.Bundles.structureModule Y)) (e : (Line.Bundles.structureModule Y).restrict f ≅ Line.Bundles.structureModule X) : |
| 44 | Frame.Coordinates.structureModuleEndValue X (e.inv ≫ (Scheme.Modules.restrictFunctor f).map a ≫ e.hom) = |
| 45 | f.appTop (Frame.Coordinates.structureModuleEndValue Y a) := by |
| 46 | let U : X.Opens := ⊤ |
| 47 | let V : Y.Opens := f ''ᵁ U |
| 48 | let c : Γ(Y, V) := a.app V (1 : Γ(Y, V)) |
| 49 | let b : Γ(Y, V) := e.inv.app U (1 : Γ(X, U)) |
| 50 | let q : Γ(X, U) := (f.appIso U).hom c |
| 51 | have hcb : q • (show Γ((Line.Bundles.structureModule Y).restrict f, U) from b) = c * b := by |
| 52 | change (f.appIso U).inv ((f.appIso U).hom c) * b = c * b |
| 53 | exact congrArg (fun z : Γ(Y, V) => z * b) |
| 54 | (ConcreteCategory.congr_hom (f.appIso U).hom_inv_id c) |
| 55 | have heb : e.hom.app U b = (1 : Γ(X, U)) := |
| 56 | ConcreteCategory.congr_hom |
| 57 | (congrArg (fun z : Line.Bundles.structureModule X ⟶ Line.Bundles.structureModule X => z.app U) e.inv_hom_id) |
| 58 | (1 : Γ(X, U)) |
| 59 | have hec : e.hom.app U (c * b) = q := |
| 60 | (congrArg (fun z : Γ((Line.Bundles.structureModule Y).restrict f, U) => e.hom.app U z) hcb).symm.trans |
| 61 | ((e.hom.app_smul q b).trans |
| 62 | ((congrArg (fun z : Γ(X, U) => q * z) heb).trans (mul_one q))) |
| 63 | have ha : a.app V b = c * b := (TensorPower.Units.structureModuleEnd_app a V b).trans (mul_comm b c) |
| 64 | have hval : Frame.Coordinates.structureModuleEndValue X |
| 65 | (e.inv ≫ (Scheme.Modules.restrictFunctor f).map a ≫ e.hom) = q := |
| 66 | (congrArg (fun z : Γ((Line.Bundles.structureModule Y).restrict f, U) => e.hom.app U z) ha).trans hec |
| 67 | exact hval.trans |
| 68 | ((congrArg (fun z : Γ(Y, V) => (f.appIso U).hom z) (structureModuleEndValue_onOpen a V)).trans |
| 69 | (appIso_top_restrict f (Frame.Coordinates.structureModuleEndValue Y a))) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictionScalars |