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 | /- |
| 2 | Derived from AINTLIB: |
| 3 | projects/ModularCurves/ModularCurves/ForMathlib/SchemeModuleQuasicoherent.lean |
| 4 | The upstream AINTLIB repository is licensed under Apache 2.0. |
| 5 | This file has been modified. |
| 6 | -/ |
| 7 | import Mathlib.AlgebraicGeometry.Modules.Sheaf |
| 8 | import Mathlib.Algebra.Module.TransferInstance |
| 9 | |
| 10 | /-! # Restriction Section Finiteness -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictionSectionFiniteness |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! Finiteness passes from sections on an open to native global sections of its restriction. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem module_restrict_sections_finite_of_sections_finite {X : Scheme.{u}} |
| 23 | (M : X.Modules) (U : X.Opens) [Module.Finite Γ(X, U) Γ(M, U)] : |
| 24 | Module.Finite Γ(U.toScheme, ⊤) Γ(M.restrict U.ι, ⊤) := by |
| 25 | let eR' := U.ι.appIso (⊤ : U.toScheme.Opens) |
| 26 | let eR : Γ(X, U.ι ''ᵁ (⊤ : U.toScheme.Opens)) ≃+* Γ(U.toScheme, ⊤) := |
| 27 | eR'.commRingCatIsoToRingEquiv |
| 28 | let eM' := M.restrictAppIso U.ι ⊤ |
| 29 | let σ : Γ(U.toScheme, ⊤) →+* |
| 30 | Γ(X, U.ι ''ᵁ (⊤ : U.toScheme.Opens)) := eR'.inv.hom |
| 31 | let eM : Γ(M.restrict U.ι, ⊤) →ₛₗ[σ] |
| 32 | Γ(M, U.ι ''ᵁ (⊤ : U.toScheme.Opens)) := |
| 33 | { toFun := eM'.hom |
| 34 | map_add' := eM'.hom.hom.map_add |
| 35 | map_smul' := by |
| 36 | intro r x |
| 37 | change eM'.hom (r • x) = eR'.inv.hom r • eM'.hom x |
| 38 | exact Scheme.Modules.smul_restrictAppIso_hom_apply U.ι M ⊤ r x } |
| 39 | have hσ : Function.Surjective σ := by |
| 40 | change Function.Surjective |
| 41 | (eR.symm : Γ(U.toScheme, ⊤) →+* |
| 42 | Γ(X, U.ι ''ᵁ (⊤ : U.toScheme.Opens))) |
| 43 | exact eR.symm.surjective |
| 44 | let : RingHomSurjective σ := ⟨hσ⟩ |
| 45 | have heM : Function.Bijective eM := by |
| 46 | change Function.Bijective eM'.hom |
| 47 | exact ConcreteCategory.bijective_of_isIso eM'.hom |
| 48 | have htarget : Module.Finite |
| 49 | Γ(X, U.ι ''ᵁ (⊤ : U.toScheme.Opens)) |
| 50 | Γ(M, U.ι ''ᵁ (⊤ : U.toScheme.Opens)) := by |
| 51 | rw [U.ι_image_top] |
| 52 | infer_instance |
| 53 | exact (eM.finite_iff_of_bijective heM).mpr htarget |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RestrictionSectionFiniteness |