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 Mathlib.AlgebraicGeometry.Modules.Sheaf |
| 2 | import Mathlib.Algebra.Module.TransferInstance |
| 3 | |
| 4 | /-! # Restriction Section Finiteness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictionSectionFiniteness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finiteness passes through the semilinear section isomorphism for any open immersion. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem module_openRestrict_sections_finite {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 17 | [IsOpenImmersion f] (M : Y.Modules) (U : X.Opens) |
| 18 | [Module.Finite Γ(Y, f ''ᵁ U) Γ(M, f ''ᵁ U)] : |
| 19 | Module.Finite Γ(X, U) Γ(M.restrict f, U) := by |
| 20 | let eR' := f.appIso U |
| 21 | let eR : Γ(Y, f ''ᵁ U) ≃+* Γ(X, U) := eR'.commRingCatIsoToRingEquiv |
| 22 | let eM' := M.restrictAppIso f U |
| 23 | let σ : Γ(X, U) →+* Γ(Y, f ''ᵁ U) := eR'.inv.hom |
| 24 | let eM : Γ(M.restrict f, U) →ₛₗ[σ] Γ(M, f ''ᵁ U) := |
| 25 | { toFun := eM'.hom |
| 26 | map_add' := eM'.hom.hom.map_add |
| 27 | map_smul' := by |
| 28 | intro r x |
| 29 | change eM'.hom (r • x) = eR'.inv.hom r • eM'.hom x |
| 30 | exact Scheme.Modules.smul_restrictAppIso_hom_apply f M U r x } |
| 31 | have hσ : Function.Surjective σ := eR.symm.surjective |
| 32 | let : RingHomSurjective σ := ⟨hσ⟩ |
| 33 | have heM : Function.Bijective eM := ConcreteCategory.bijective_of_isIso eM'.hom |
| 34 | exact (eM.finite_iff_of_bijective heM).mpr inferInstance |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Open.RestrictionSectionFiniteness |