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 Mathlib.AlgebraicGeometry.Modules.Sheaf |
| 2 | import Mathlib.Algebra.Category.ModuleCat.Sheaf.LocallyFree |
| 3 | |
| 4 | /-! # Module Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Open.ModuleFrames.Restriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Transport actual free frames on an open subscheme to the corresponding slice site. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X : Scheme.{0}} (U : X.Opens) |
| 15 | |
| 16 | def overModuleEquiv : |
| 17 | SheafOfModules.{0} (X.ringCatSheaf.over U) ≌ SheafOfModules.{0} U.toScheme.ringCatSheaf := |
| 18 | Scheme.Modules.overEquiv U |
| 19 | |
| 20 | def overEquivUnitIso : |
| 21 | (overModuleEquiv U).functor.obj (SheafOfModules.unit (X.ringCatSheaf.over U)) ≅ |
| 22 | SheafOfModules.unit U.toScheme.ringCatSheaf := |
| 23 | (Scheme.Modules.overFunctorEquiv U).app (SheafOfModules.unit X.ringCatSheaf) ≪≫ |
| 24 | Scheme.Modules.restrictUnitIso U.ι |
| 25 | |
| 26 | def overEquivInverseUnitIso : |
| 27 | SheafOfModules.unit (X.ringCatSheaf.over U) ≅ |
| 28 | (overModuleEquiv U).inverse.obj (SheafOfModules.unit U.toScheme.ringCatSheaf) := |
| 29 | (overModuleEquiv U).unitIso.app (SheafOfModules.unit (X.ringCatSheaf.over U)) ≪≫ |
| 30 | (overModuleEquiv U).inverse.mapIso (overEquivUnitIso U) |
| 31 | |
| 32 | def overFreeIso (M : X.Modules) (I : Type) |
| 33 | (e : SheafOfModules.free (R := U.toScheme.ringCatSheaf) I ≅ M.restrict U.ι) : |
| 34 | SheafOfModules.free (R := X.ringCatSheaf.over U) I ≅ M.over U := |
| 35 | SheafOfModules.mapFreeIso (overModuleEquiv U).inverse I (overEquivInverseUnitIso U) ≪≫ |
| 36 | (overModuleEquiv U).inverse.mapIso e ≪≫ |
| 37 | (overModuleEquiv U).inverse.mapIso ((Scheme.Modules.overFunctorEquiv U).app M).symm ≪≫ |
| 38 | ((overModuleEquiv U).unitIso.app (M.over U)).symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Comparison.Betti.Open.ModuleFrames.Restriction |