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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.SectionExtension |
| 8 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.SectionVanishing |
| 9 | |
| 10 | /-! # Quasicoherent Localization -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.QuasicoherentLocalization |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.AlgebraicGeometry.Scheme.Modules Opposite _root_.TopologicalSpace |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {X : Scheme.{u}} |
| 21 | |
| 22 | theorem affineOpen_quasicoherent_sections_localize |
| 23 | (M : X.Modules) [M.IsQuasicoherent] |
| 24 | (U : X.affineOpens) (f : Γ(X, U.1)) : |
| 25 | let : Module Γ(X, U.1) Γ(M, X.basicOpen f) := |
| 26 | Module.compHom _ (algebraMap Γ(X, U.1) Γ(X, X.basicOpen f)) |
| 27 | IsLocalizedModule.Away f |
| 28 | ({ |
| 29 | toFun := M.presheaf.map (homOfLE (X.basicOpen_le f)).op |
| 30 | map_add' := |
| 31 | (M.presheaf.map (homOfLE (X.basicOpen_le f)).op).hom.map_add |
| 32 | map_smul' := fun r x ↦ |
| 33 | M.map_smul (homOfLE (X.basicOpen_le f)) r x |
| 34 | } : Γ(M, U.1) →ₗ[Γ(X, U.1)] Γ(M, X.basicOpen f)) := by |
| 35 | let : Module Γ(X, U.1) Γ(M, X.basicOpen f) := |
| 36 | Module.compHom _ (algebraMap Γ(X, U.1) Γ(X, X.basicOpen f)) |
| 37 | let : IsLocalization.Away f Γ(X, X.basicOpen f) := |
| 38 | U.2.isLocalization_basicOpen f |
| 39 | let ψ : Γ(M, U.1) →ₗ[Γ(X, U.1)] Γ(M, X.basicOpen f) := |
| 40 | { |
| 41 | toFun := M.presheaf.map (homOfLE (X.basicOpen_le f)).op |
| 42 | map_add' := |
| 43 | (M.presheaf.map (homOfLE (X.basicOpen_le f)).op).hom.map_add |
| 44 | map_smul' := fun r x ↦ |
| 45 | M.map_smul (homOfLE (X.basicOpen_le f)) r x |
| 46 | } |
| 47 | change IsLocalizedModule.Away f ψ |
| 48 | refine IsLocalizedModule.Away.mk_of_addCommGroup ?_ ?_ ?_ |
| 49 | · have hunit : IsUnit |
| 50 | (algebraMap Γ(X, U.1) Γ(X, X.basicOpen f) f) := |
| 51 | IsLocalization.Away.algebraMap_isUnit _ |
| 52 | have hunitEnd := hunit.map |
| 53 | (algebraMap Γ(X, X.basicOpen f) |
| 54 | (Module.End Γ(X, X.basicOpen f) Γ(M, X.basicOpen f))) |
| 55 | rw [Module.End.isUnit_iff] at hunitEnd ⊢ |
| 56 | convert hunitEnd using 1 |
| 57 | · intro s |
| 58 | obtain ⟨n, t, ht⟩ := |
| 59 | SectionExtension.affineOpen_quasicoherent_section_clear_denominator |
| 60 | M U f s |
| 61 | exact ⟨n, t, ht.symm⟩ |
| 62 | · intro t ht |
| 63 | exact |
| 64 | SectionVanishing.affineOpen_quasicoherent_section_vanishing |
| 65 | M U f t ht |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineOpen.QuasicoherentLocalization |