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.LineBundle.TensorLocalFrames |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Module.QuasicoherenceNeighborhoods |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.RestrictionFiniteType |
| 4 | |
| 5 | /-! # Tensor Coherence -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TensorCoherence |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual tensor product with a line bundle preserves quasicoherence and finite type. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem tensorModuleRight_lineBundle_quasicoherent {X : Scheme.{u}} |
| 18 | (M : X.Modules) [M.IsQuasicoherent] (L : Line.Bundles.LineBundle X) : |
| 19 | (Tensor.ProductSheaf.tensorModule M L.sheaf).IsQuasicoherent := by |
| 20 | apply HilbertConstruction.Module.QuasicoherenceNeighborhoods.module_quasicoherent_of_affine_neighborhoods |
| 21 | intro x |
| 22 | obtain ⟨U, hx, hU, ⟨e⟩⟩ := L.exists_affine_frame x |
| 23 | refine ⟨U, hx, hU, ?_⟩ |
| 24 | exact (SheafOfModules.isQuasicoherent U.toScheme.ringCatSheaf).prop_of_iso |
| 25 | (TensorLocalFrames.tensorModuleRightFrameIso U.ι M L e).symm inferInstance |
| 26 | |
| 27 | theorem tensorModuleRight_lineBundle_finiteType {X : Scheme.{u}} |
| 28 | (M : X.Modules) [M.IsQuasicoherent] [M.IsFiniteType] (L : Line.Bundles.LineBundle X) : |
| 29 | (Tensor.ProductSheaf.tensorModule M L.sheaf).IsFiniteType := by |
| 30 | have : (Tensor.ProductSheaf.tensorModule M L.sheaf).IsQuasicoherent := tensorModuleRight_lineBundle_quasicoherent M L |
| 31 | apply HilbertConstruction.Finite.FromAffineSectionNeighborhoods.module_finiteType_of_affine_section_neighborhoods |
| 32 | intro x |
| 33 | obtain ⟨U, hx, hU, ⟨e⟩⟩ := L.exists_affine_frame x |
| 34 | have : IsAffine U.toScheme := hU |
| 35 | have : (M.restrict U.ι).IsFiniteType := Quasicoherent.RestrictionFiniteType.quasicoherent_openRestrict_finiteType U.ι M |
| 36 | have : Module.Finite Γ(U.toScheme, ⊤) Γ(M.restrict U.ι, ⊤) := |
| 37 | Affine.QuasicoherentFiniteTypeSections.affine_quasicoherent_finiteType_sections_finite (M.restrict U.ι) |
| 38 | let F : U.toScheme.Modules ⥤ ModuleCat.{u} Γ(U.toScheme, ⊤) := |
| 39 | SheafOfModules.evaluation U.toScheme.ringCatSheaf (.op ⊤) |
| 40 | let E : Γ(M.restrict U.ι, ⊤) ≃ₗ[Γ(U.toScheme, ⊤)] |
| 41 | Γ((Tensor.ProductSheaf.tensorModule M L.sheaf).restrict U.ι, ⊤) := |
| 42 | (F.mapIso (TensorLocalFrames.tensorModuleRightFrameIso U.ι M L e).symm).toLinearEquiv |
| 43 | exact ⟨U, hx, hU, Module.Finite.equiv E⟩ |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.TensorCoherence |