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.Affine.ModuleGlobalSectionsIsomorphism |
| 2 | |
| 3 | /-! # Section Adjunction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SectionAdjunction.AffineSectionAdjunction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The global-sections adjunction over the actual ring of functions of a scheme. -/ |
| 10 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 11 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 12 | universe u |
| 13 | |
| 14 | def sections (X : Scheme.{u}) : X.Modules ⥤ ModuleCat.{u} Γ(X, ⊤) := |
| 15 | SheafOfModules.forget X.ringCatSheaf ⋙ PresheafOfModules.evaluation _ (op ⊤) |
| 16 | |
| 17 | def pushforwardIso {X Y : Scheme.{u}} (f : Y ⟶ X) : |
| 18 | Scheme.Modules.pushforward f ⋙ sections X ≅ |
| 19 | sections Y ⋙ ModuleCat.restrictScalars f.appTop.hom := |
| 20 | NatIso.ofComponents (fun M => ModuleCat.isoMk (Iso.refl _) (by |
| 21 | intro r |
| 22 | ext x |
| 23 | rfl)) (by |
| 24 | intro M N a |
| 25 | ext x |
| 26 | rfl) |
| 27 | |
| 28 | def affinizationSectionsIso (X : Scheme.{u}) : |
| 29 | Scheme.Modules.pushforward X.toSpecΓ ⋙ moduleSpecΓFunctor (R := Γ(X, ⊤)) ≅ sections X := |
| 30 | NatIso.ofComponents (fun M => ModuleCat.isoMk (Iso.refl _) (by |
| 31 | intro r |
| 32 | ext x |
| 33 | let x' : Γ(M, ⊤) := x |
| 34 | change r • x' = X.toSpecΓ.appTop ((Scheme.ΓSpecIso Γ(X, ⊤)).inv r) • x' |
| 35 | rw [Scheme.toSpecΓ_appTop, Iso.inv_hom_id_apply])) (by |
| 36 | intro M N a |
| 37 | ext x |
| 38 | rfl) |
| 39 | |
| 40 | def left (X : Scheme.{u}) : ModuleCat.{u} Γ(X, ⊤) ⥤ X.Modules := |
| 41 | tilde.functor Γ(X, ⊤) ⋙ Scheme.Modules.pullback X.toSpecΓ |
| 42 | |
| 43 | def adjunction (X : Scheme.{u}) : left X ⊣ sections X := |
| 44 | ((tilde.adjunction (R := Γ(X, ⊤))).comp |
| 45 | (Scheme.Modules.pullbackPushforwardAdjunction X.toSpecΓ)).ofNatIsoRight |
| 46 | (affinizationSectionsIso X) |
| 47 | |
| 48 | theorem pullback_equivalence {X Y : Scheme.{u}} (e : X ≅ Y) : |
| 49 | (Scheme.Modules.pullback e.hom).IsEquivalence := |
| 50 | Functor.IsEquivalence.mk' (Scheme.Modules.pullback e.inv) |
| 51 | ((Scheme.Modules.pullbackComp e.inv e.hom ≪≫ |
| 52 | Scheme.Modules.pullbackCongr e.inv_hom_id ≪≫ Scheme.Modules.pullbackId Y).symm) |
| 53 | (Scheme.Modules.pullbackComp e.hom e.inv ≪≫ |
| 54 | Scheme.Modules.pullbackCongr e.hom_inv_id ≪≫ Scheme.Modules.pullbackId X) |
| 55 | |
| 56 | instance left_full (X : Scheme.{u}) [IsAffine X] : (left X).Full := by |
| 57 | have : (Scheme.Modules.pullback X.toSpecΓ).IsEquivalence := pullback_equivalence (asIso X.toSpecΓ) |
| 58 | exact inferInstanceAs ((tilde.functor Γ(X, ⊤) ⋙ Scheme.Modules.pullback X.toSpecΓ).Full) |
| 59 | |
| 60 | instance left_faithful (X : Scheme.{u}) [IsAffine X] : (left X).Faithful := by |
| 61 | have : (Scheme.Modules.pullback X.toSpecΓ).IsEquivalence := pullback_equivalence (asIso X.toSpecΓ) |
| 62 | exact inferInstanceAs ((tilde.functor Γ(X, ⊤) ⋙ Scheme.Modules.pullback X.toSpecΓ).Faithful) |
| 63 | |
| 64 | theorem left_quasicoherent (X : Scheme.{u}) [IsAffine X] (A : ModuleCat.{u} Γ(X, ⊤)) : |
| 65 | ((left X).obj A).IsQuasicoherent := by |
| 66 | exact (SheafOfModules.isQuasicoherent X.ringCatSheaf).prop_of_iso |
| 67 | ((Scheme.Modules.restrictFunctorIsoPullback X.toSpecΓ).app (tilde A)) inferInstance |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.SectionAdjunction.AffineSectionAdjunction |