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.AffineRankOne |
| 2 | |
| 3 | /-! # Affine Rank One Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineRankOneRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An affine-open basis gives a frame of the restricted module. -/ |
| 10 | |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | universe u |
| 14 | |
| 15 | def affineRankOneRestrictionIso {X : Scheme.{u}} (M : X.Modules) |
| 16 | [M.IsQuasicoherent] (U : X.affineOpens) |
| 17 | (e : Γ(X, U.1) ≃ₗ[Γ(X, U.1)] Γ(M, U.1)) : |
| 18 | Invertible.Scheme.Modules.unitObj U.1.toScheme ≅ M.restrict U.1.ι := by |
| 19 | have he : Nonempty (Γ(X, U.1.ι ''ᵁ (⊤ : U.1.toScheme.Opens)) ≃ₗ[ |
| 20 | Γ(X, U.1.ι ''ᵁ (⊤ : U.1.toScheme.Opens))] |
| 21 | Γ(M, U.1.ι ''ᵁ (⊤ : U.1.toScheme.Opens))) := by |
| 22 | rw [U.1.ι_image_top] |
| 23 | exact ⟨e⟩ |
| 24 | let e' := Classical.choice he |
| 25 | let N := M.restrict U.1.ι |
| 26 | let eR := U.1.ι.appIso (⊤ : U.1.toScheme.Opens) |
| 27 | let eM := M.restrictAppIso U.1.ι (⊤ : U.1.toScheme.Opens) |
| 28 | let x : Γ(N, ⊤) := eM.inv (e' 1) |
| 29 | let f := AffineRankOne.globalGeneratorHom N x |
| 30 | have hformula (r : Γ(U.1.toScheme, ⊤)) : |
| 31 | eM.hom (f.val.app (op ⊤) r) = e' (eR.inv r) := by |
| 32 | change eM.hom ((AffineRankOne.globalGeneratorHom N x).val.app (op ⊤) r) = _ |
| 33 | rw [AffineRankOne.globalGeneratorHom_top] |
| 34 | rw [Scheme.Modules.smul_restrictAppIso_hom_apply] |
| 35 | change eR.inv r • eM.hom (eM.inv (e' 1)) = _ |
| 36 | rw [Iso.inv_hom_id_apply, ← e'.map_smul] |
| 37 | simp only [smul_eq_mul, mul_one] |
| 38 | have hbij : Function.Bijective (f.val.app (op ⊤)) := by |
| 39 | have heM := ConcreteCategory.bijective_of_isIso eM.hom |
| 40 | have hcomp : Function.Bijective (eM.hom ∘ f.val.app (op ⊤)) := by |
| 41 | have hfun : eM.hom ∘ f.val.app (op ⊤) = e' ∘ eR.inv := funext hformula |
| 42 | rw [hfun] |
| 43 | exact e'.bijective.comp (ConcreteCategory.bijective_of_isIso eR.inv) |
| 44 | refine ⟨fun a b h => hcomp.1 (congrArg eM.hom h), ?_⟩ |
| 45 | intro y |
| 46 | obtain ⟨r, hr⟩ := hcomp.2 (eM.hom y) |
| 47 | exact ⟨r, heM.1 hr⟩ |
| 48 | letI : IsAffine U.1.toScheme := U.2 |
| 49 | letI : (Invertible.Scheme.Modules.unitObj U.1.toScheme).IsQuasicoherent := |
| 50 | InvertibleFinitePresentation.invertible_quasicoherent Invertible.Scheme.Modules.isInvertible_unit |
| 51 | letI : IsIso f := Quasicoherent.Scheme.Modules.isIso_of_isQuasicoherent_of_isIso_app_top f |
| 52 | ((ConcreteCategory.isIso_iff_bijective (f.val.app (op ⊤))).mpr hbij) |
| 53 | exact asIso f |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.AffineRankOneRestriction |