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.Proper.IntegralAffineImageFiniteness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.LineBundleImage |
| 3 | |
| 4 | /-! # Integral Restricted Image Finiteness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.IntegralRestrictedImageFiniteness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite sections of restricted proper direct images over nonempty affine neighborhoods. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem proper_integral_restricted_directImage_sections_finite |
| 17 | {X S : Scheme.{u}} [IsIntegral X] [IsLocallyNoetherian S] |
| 18 | (f : X ⟶ S) [IsProper f] (L : Line.Bundles.LineBundle X) |
| 19 | (U : S.Opens) (hU : IsAffineOpen U) [Nonempty (f ⁻¹ᵁ U)] : |
| 20 | Module.Finite Γ(U.toScheme, ⊤) |
| 21 | Γ(((pushforward f).obj L.sheaf).restrict U.ι, ⊤) := by |
| 22 | let V := f ⁻¹ᵁ U |
| 23 | let q := f ∣_ U |
| 24 | have : IsAffine U.toScheme := hU |
| 25 | have : Nonempty V.toScheme := inferInstanceAs (Nonempty V) |
| 26 | have : IsIntegral V.toScheme := isIntegral_of_isOpenImmersion V.ι |
| 27 | have : Module.Finite Γ(U.toScheme, ⊤) |
| 28 | Γ((pushforward q).obj (L.pullback V.ι).sheaf, ⊤) := |
| 29 | IntegralAffineImageFiniteness.proper_integral_affine_directImage_sections_finite q (L.pullback V.ι) |
| 30 | let e : (((pushforward f).obj L.sheaf).restrict U.ι) ≅ |
| 31 | (pushforward q).obj (L.pullback V.ι).sheaf := |
| 32 | Open.RestrictionPushforward.restrictPushforwardIsoOfIsPullbackApp f q V.ι U.ι |
| 33 | (isPullback_morphismRestrict f U) L.sheaf ≪≫ |
| 34 | (pushforward q).mapIso ((restrictFunctorIsoPullback V.ι).app L.sheaf) |
| 35 | let eΓ : Γ(((pushforward f).obj L.sheaf).restrict U.ι, ⊤) ≃ₗ[Γ(U.toScheme, ⊤)] |
| 36 | Γ((pushforward q).obj (L.pullback V.ι).sheaf, ⊤) := |
| 37 | ((SheafOfModules.evaluation U.toScheme.ringCatSheaf (op ⊤)).mapIso e).toLinearEquiv |
| 38 | exact Module.Finite.equiv eΓ.symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.IntegralRestrictedImageFiniteness |