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.AffineOpen.QuasicoherentLocalization |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Localized.RankOneBasisTransport |
| 3 | |
| 4 | /-! # Principal Rank One Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PrincipalRankOneSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A rank-one basis of localized global sections gives an actual section basis on the corresponding principal open. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | variable {X : Scheme.{u}} [IsAffine X] (M : X.Modules) [M.IsQuasicoherent] |
| 14 | |
| 15 | def affinePrincipalRankOneSections (r : Γ(X, ⊤)) |
| 16 | (e : LocalizedModule.Away r Γ(M, ⊤) ≃ₗ[Localization.Away r] Localization.Away r) : |
| 17 | Γ(M, X.basicOpen r) ≃ₗ[Γ(X, X.basicOpen r)] Γ(X, X.basicOpen r) := by |
| 18 | let R := Γ(X, ⊤) |
| 19 | let B := Γ(X, X.basicOpen r) |
| 20 | let L := Γ(M, X.basicOpen r) |
| 21 | letI : Module R L := Module.compHom _ (algebraMap R B) |
| 22 | letI : IsScalarTower R B L := IsScalarTower.of_algebraMap_smul fun _ _ => rfl |
| 23 | letI : IsLocalization.Away r B := (isAffineOpen_top X).isLocalization_basicOpen r |
| 24 | let φ : Γ(M, ⊤) →ₗ[R] L := { |
| 25 | toFun := M.presheaf.map (homOfLE (X.basicOpen_le r)).op |
| 26 | map_add' := (M.presheaf.map (homOfLE (X.basicOpen_le r)).op).hom.map_add |
| 27 | map_smul' := fun a x => M.map_smul (homOfLE (X.basicOpen_le r)) a x } |
| 28 | haveI : IsLocalizedModule.Away r φ := |
| 29 | AffineOpen.QuasicoherentLocalization.affineOpen_quasicoherent_sections_localize M ⟨⊤, isAffineOpen_top X⟩ r |
| 30 | exact Localized.RankOneBasisTransport.localizedRankOneBasisTransport (.powers r) φ e |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.PrincipalRankOneSections |