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.SheafCohomology.Projective.InvertibleFinitePresentation |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent |
| 3 | |
| 4 | /-! # Affine Rank One -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineRankOne |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Recovering an affine rank-one frame from a generator of global sections. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X : Scheme.{u}} (M : X.Modules) |
| 19 | |
| 20 | /-- Restriction of a global section, as a compatible family of sections. -/ |
| 21 | def globalSectionFamily (x : Γ(M, (⊤ : X.Opens))) : M.sections := |
| 22 | PresheafOfModules.sectionsMk |
| 23 | (fun U => M.presheaf.map U.unop.leTop.op x) |
| 24 | (by |
| 25 | intro U V f |
| 26 | change M.presheaf.map f (M.presheaf.map U.unop.leTop.op x) = |
| 27 | M.presheaf.map V.unop.leTop.op x |
| 28 | rw [← M.presheaf.map_comp_apply] |
| 29 | congr 2) |
| 30 | |
| 31 | /-- The map from the structure sheaf with prescribed image of one. -/ |
| 32 | def globalGeneratorHom (x : Γ(M, (⊤ : X.Opens))) : |
| 33 | Invertible.Scheme.Modules.unitObj X ⟶ M := |
| 34 | M.unitHomEquiv.symm (globalSectionFamily M x) |
| 35 | |
| 36 | theorem globalGeneratorHom_app (x : Γ(M, (⊤ : X.Opens))) |
| 37 | (U : X.Opens) (r : Γ(X, U)) : |
| 38 | (globalGeneratorHom M x).val.app (op U) r = |
| 39 | r • M.presheaf.map U.leTop.op x := rfl |
| 40 | |
| 41 | @[simp] |
| 42 | theorem globalGeneratorHom_top (x : Γ(M, (⊤ : X.Opens))) |
| 43 | (r : Γ(X, (⊤ : X.Opens))) : |
| 44 | (globalGeneratorHom M x).val.app (op ⊤) r = r • x := by |
| 45 | rw [globalGeneratorHom_app] |
| 46 | have h : (⊤ : X.Opens).leTop.op = 𝟙 (op (⊤ : X.Opens)) := Subsingleton.elim _ _ |
| 47 | rw [h, M.presheaf.map_id] |
| 48 | rfl |
| 49 | |
| 50 | /-- On an affine scheme, a global basis of a quasicoherent module gives a |
| 51 | genuine isomorphism with the structure sheaf. -/ |
| 52 | def affineRankOneIso [IsAffine X] [M.IsQuasicoherent] |
| 53 | (e : Γ(X, (⊤ : X.Opens)) ≃ₗ[Γ(X, (⊤ : X.Opens))] Γ(M, (⊤ : X.Opens))) : |
| 54 | Invertible.Scheme.Modules.unitObj X ≅ M := by |
| 55 | let f := globalGeneratorHom M (e 1) |
| 56 | have htop : f.val.app (op ⊤) = e.toModuleIso.hom := by |
| 57 | apply ModuleCat.hom_ext |
| 58 | apply LinearMap.ext |
| 59 | intro r |
| 60 | change (globalGeneratorHom M (e 1)).val.app (op ⊤) r = e r |
| 61 | rw [globalGeneratorHom_top, ← e.map_smul] |
| 62 | simp only [smul_eq_mul, mul_one] |
| 63 | letI : (Invertible.Scheme.Modules.unitObj X).IsQuasicoherent := |
| 64 | InvertibleFinitePresentation.invertible_quasicoherent Invertible.Scheme.Modules.isInvertible_unit |
| 65 | letI : IsIso f := Quasicoherent.Scheme.Modules.isIso_of_isQuasicoherent_of_isIso_app_top f |
| 66 | (htop ▸ inferInstance) |
| 67 | exact asIso f |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineRankOne |