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.AffineSectionIs |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.AdditiveCoproductSections |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation |
| 4 | |
| 5 | /-! # Module Basis Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.ModuleBasisIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An actual finite basis of affine sections gives an isomorphism from |
| 12 | a finite coproduct of the structure module to the original sheaf. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | def affineModuleIsoOfBasis |
| 21 | {X : Scheme.{u}} [IsAffine X] (M : X.Modules) [M.IsQuasicoherent] |
| 22 | (I : Type) [Fintype I] (b : Module.Basis I Γ(X, ⊤) Γ(M, ⊤)) : |
| 23 | (∐ fun _ : I => SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) ≅ M := by |
| 24 | let C := ∐ fun _ : I => SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X |
| 25 | have : C.IsQuasicoherent := SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_coproduct _ |
| 26 | (fun _ => SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit) |
| 27 | let F : X.Modules ⥤ ModuleCat.{u} Γ(X, ⊤) := |
| 28 | SheafOfModules.evaluation X.ringCatSheaf (Opposite.op ⊤) |
| 29 | have : F.Additive := { map_add := by intros; ext x; rfl } |
| 30 | letI : HasFiniteBiproducts X.Modules := HasFiniteBiproducts.of_hasFiniteProducts |
| 31 | let eR : F.obj (SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) ≅ ModuleCat.of Γ(X, ⊤) Γ(X, ⊤) := Iso.refl _ |
| 32 | let e : F.obj C ≅ F.obj M := |
| 33 | SheafCohomology.Projective.AdditiveCoproductSections.additiveCoproductIsoPi F (fun _ : I => SheafCohomology.Projective.Invertible.Scheme.Modules.unitObj X) ≪≫ |
| 34 | (LinearEquiv.piCongrRight (fun _ : I => eR.toLinearEquiv)).toModuleIso ≪≫ |
| 35 | b.equivFun.symm.toModuleIso |
| 36 | exact (Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction.counitIso X C).symm ≪≫ |
| 37 | (Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction.left X).mapIso e ≪≫ |
| 38 | Quotients.FiniteDescent.AffineSectionIs.Construction.AffineSectionAdjunction.counitIso X M |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Affine.ModuleBasisIso |