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.Open.RestrictionCoefficientSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PushforwardSections |
| 3 | |
| 4 | /-! # Basic Open Module Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasicOpenModuleRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual restriction adjunction on a basic open agrees with section restriction over global coefficients. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} (M : X.Modules) (r : Γ(X, ⊤)) |
| 18 | |
| 19 | def basicOpenRestrictionModule : X.Modules := |
| 20 | (pushforward (X.basicOpen r).ι).obj (M.restrict (X.basicOpen r).ι) |
| 21 | |
| 22 | def basicOpenRestrictionMap : Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M ⟶ |
| 23 | Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) (basicOpenRestrictionModule M r) := |
| 24 | (Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor (RingHom.id Γ(X, ⊤))).map |
| 25 | ((restrictAdjunction (X.basicOpen r).ι).unit.app M) |
| 26 | |
| 27 | theorem basicOpen_image_preimage (U : X.Opens) : |
| 28 | (X.basicOpen r).ι ''ᵁ ((X.basicOpen r).ι ⁻¹ᵁ U) = |
| 29 | X.basicOpen (X.presheaf.map U.leTop.op r) := by |
| 30 | rw [Scheme.Hom.image_preimage_eq_opensRange_inf, Scheme.Opens.opensRange_ι, |
| 31 | X.basicOpen_res, inf_comm] |
| 32 | |
| 33 | def basicOpenRestrictionAppIso (U : X.Opens) : |
| 34 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) (basicOpenRestrictionModule M r)).obj (op U) ≅ |
| 35 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M).obj |
| 36 | (op (X.basicOpen (X.presheaf.map U.leTop.op r))) := |
| 37 | (Coefficient.PushforwardSections.coefficientPushforwardSectionEquiv (X.basicOpen r).ι (RingHom.id Γ(X, ⊤)) |
| 38 | (M.restrict (X.basicOpen r).ι) U).toModuleIso ≪≫ |
| 39 | Open.RestrictionCoefficientSections.coefficientOpenRestrictionSectionIso (X.basicOpen r).ι (RingHom.id Γ(X, ⊤)) M |
| 40 | ((X.basicOpen r).ι ⁻¹ᵁ U) ≪≫ |
| 41 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M).mapIso |
| 42 | (eqToIso (basicOpen_image_preimage r U).symm).op |
| 43 | |
| 44 | theorem basicOpenRestrictionMap_app_iso (U : X.Opens) : |
| 45 | (basicOpenRestrictionMap M r).app (op U) ≫ (basicOpenRestrictionAppIso M r U).hom = |
| 46 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M).map |
| 47 | (homOfLE (X.basicOpen_le (X.presheaf.map U.leTop.op r))).op := by |
| 48 | apply ModuleCat.hom_ext |
| 49 | apply LinearMap.ext |
| 50 | intro x |
| 51 | let x' : Γ(M, U) := x |
| 52 | change M.presheaf.map (eqToIso (basicOpen_image_preimage r U).symm).op.hom |
| 53 | (M.presheaf.map (homOfLE ((X.basicOpen r).ι.image_preimage_le U)).op x') = |
| 54 | M.presheaf.map (homOfLE (X.basicOpen_le (X.presheaf.map U.leTop.op r))).op x' |
| 55 | rw [← M.presheaf.map_comp_apply] |
| 56 | rfl |
| 57 | |
| 58 | def basicOpenRestrictionTopIso : |
| 59 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) (basicOpenRestrictionModule M r)).obj (op ⊤) ≅ |
| 60 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M).obj (op (X.basicOpen r)) := |
| 61 | (Coefficient.PushforwardSections.coefficientPushforwardSectionEquiv (X.basicOpen r).ι (RingHom.id Γ(X, ⊤)) |
| 62 | (M.restrict (X.basicOpen r).ι) ⊤).toModuleIso ≪≫ |
| 63 | Open.RestrictionCoefficientSections.coefficientOpenRestrictionSectionIso (X.basicOpen r).ι (RingHom.id Γ(X, ⊤)) M ⊤ ≪≫ |
| 64 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M).mapIso |
| 65 | (eqToIso (X.basicOpen r).ι_image_top.symm).op |
| 66 | |
| 67 | theorem basicOpenRestrictionMap_top_iso : |
| 68 | (basicOpenRestrictionMap M r).app (op ⊤) ≫ (basicOpenRestrictionTopIso M r).hom = |
| 69 | (Coefficient.ModulePresheaf.coefficientModulePresheaf (RingHom.id Γ(X, ⊤)) M).map (X.basicOpen r).leTop.op := by |
| 70 | apply ModuleCat.hom_ext |
| 71 | apply LinearMap.ext |
| 72 | intro x |
| 73 | let x' : Γ(M, ⊤) := x |
| 74 | change M.presheaf.map (eqToIso (X.basicOpen r).ι_image_top.symm).op.hom |
| 75 | (M.presheaf.map ((X.basicOpen r).ι ''ᵁ (⊤ : (X.basicOpen r).toScheme.Opens)).leTop.op x') = |
| 76 | M.presheaf.map (X.basicOpen r).leTop.op x' |
| 77 | rw [← M.presheaf.map_comp_apply] |
| 78 | rfl |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BasicOpenModuleRestriction |