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.IdealModule |
| 2 | |
| 3 | /-! # Canonical Affine Frame -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.CanonicalAffineFrame |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical affine frames with a prescribed generator on the ambient open. -/ |
| 10 | |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 16 | |
| 17 | def restrictionTopIso : Γ(M.restrict U.ι, (⊤ : U.toScheme.Opens)) ≅ Γ(M, U) := |
| 18 | M.restrictAppIso U.ι ⊤ ≪≫ M.presheaf.mapIso (eqToIso U.ι_image_top.symm).op |
| 19 | |
| 20 | theorem restrictionTopIso_smul (a : Γ(U.toScheme, ⊤)) |
| 21 | (x : Γ(M.restrict U.ι, (⊤ : U.toScheme.Opens))) : |
| 22 | (restrictionTopIso M U).hom (a • x) = |
| 23 | U.topIso.hom a • (restrictionTopIso M U).hom x := by |
| 24 | change M.presheaf.map (eqToIso U.ι_image_top.symm).op.hom |
| 25 | ((M.restrictAppIso U.ι ⊤).hom (a • x)) = _ |
| 26 | rw [Scheme.Modules.smul_restrictAppIso_hom_apply] |
| 27 | change M.presheaf.map (eqToHom U.ι_image_top.symm).op |
| 28 | ((U.ι.appIso ⊤).inv a • (M.restrictAppIso U.ι ⊤).hom x) = _ |
| 29 | rw [M.map_smul] |
| 30 | rw [Scheme.Opens.topIso_hom, Scheme.Opens.ι_appIso] |
| 31 | rfl |
| 32 | |
| 33 | /-- The section on the open is the chosen image of one. -/ |
| 34 | def openGeneratorHom (s : Γ(M, U)) : |
| 35 | Invertible.Scheme.Modules.unitObj U.toScheme ⟶ M.restrict U.ι := |
| 36 | AffineRankOne.globalGeneratorHom (M.restrict U.ι) ((restrictionTopIso M U).inv s) |
| 37 | |
| 38 | theorem openGeneratorHom_top (s : Γ(M, U)) (a : Γ(U.toScheme, ⊤)) : |
| 39 | (restrictionTopIso M U).hom ((openGeneratorHom M U s).val.app (op ⊤) a) = |
| 40 | U.topIso.hom a • s := by |
| 41 | change (restrictionTopIso M U).hom |
| 42 | ((AffineRankOne.globalGeneratorHom (M.restrict U.ι) _).val.app (op ⊤) a) = _ |
| 43 | rw [AffineRankOne.globalGeneratorHom_top, restrictionTopIso_smul, Iso.inv_hom_id_apply] |
| 44 | |
| 45 | theorem openGeneratorHom_isIso [M.IsQuasicoherent] (hU : IsAffineOpen U) |
| 46 | (s : Γ(M, U)) (hs : Function.Bijective (fun a : Γ(X, U) => a • s)) : |
| 47 | IsIso (openGeneratorHom M U s) := by |
| 48 | have : IsAffine U.toScheme := hU |
| 49 | have : (Invertible.Scheme.Modules.unitObj U.toScheme).IsQuasicoherent := |
| 50 | InvertibleFinitePresentation.invertible_quasicoherent Invertible.Scheme.Modules.isInvertible_unit |
| 51 | apply Quasicoherent.Scheme.Modules.isIso_of_isQuasicoherent_of_isIso_app_top |
| 52 | rw [ConcreteCategory.isIso_iff_bijective] |
| 53 | have hTop := ConcreteCategory.bijective_of_isIso (restrictionTopIso M U).hom |
| 54 | have hRing := ConcreteCategory.bijective_of_isIso U.topIso.hom |
| 55 | constructor |
| 56 | · intro a b hab |
| 57 | apply hRing.1 |
| 58 | apply hs.1 |
| 59 | have h := congrArg (restrictionTopIso M U).hom hab |
| 60 | simpa only [openGeneratorHom_top] using h |
| 61 | · intro y |
| 62 | obtain ⟨a, ha⟩ := hs.2 ((restrictionTopIso M U).hom y) |
| 63 | obtain ⟨b, hb⟩ := hRing.2 a |
| 64 | refine ⟨b, hTop.1 ?_⟩ |
| 65 | rw [openGeneratorHom_top, hb] |
| 66 | exact ha |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.CanonicalAffineFrame |