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.Poincare.AffineParameterSupport |
| 2 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 3 | |
| 4 | /-! # Affine Closed Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The affine Poincare model is supported on the actual closed inverse image of the dual zero section, without enlarging it by closure. If that inverse image is empty, all its cohomology vanishes. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | universe u |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {S T : Scheme.{u}} [IsAffine T] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g S} |
| 18 | variable (D : Dual.Data.DualAbelianData A) (t : T ⟶ D.abelian.scheme.left) |
| 19 | |
| 20 | theorem Dual.Data.DualAbelianData.dualZeroSection_range_isClosed : IsClosed (Set.range η[D.abelian.scheme].left) := by |
| 21 | let z := η[D.abelian.scheme].left |
| 22 | have : IsProper D.abelian.scheme.hom := D.abelian.proper |
| 23 | have hz : z ≫ D.abelian.scheme.hom = 𝟙 S := η[D.abelian.scheme].w |
| 24 | have : IsClosedImmersion (z ≫ D.abelian.scheme.hom) := by rw [hz]; exact MorphismProperty.id_mem (@IsClosedImmersion : MorphismProperty Scheme.{u}) S |
| 25 | have : IsClosedImmersion z := IsClosedImmersion.of_comp (f := z) (g := D.abelian.scheme.hom) |
| 26 | exact z.isClosedEmbedding.isClosed_range |
| 27 | |
| 28 | theorem Dual.Data.DualAbelianData.poincareAffineParameterIdeal_zeroLocus : |
| 29 | PrimeSpectrum.zeroLocus (D.poincareAffineParameterIdeal t : Set Γ(T, ⊤)) = |
| 30 | T.isoSpec.hom '' (t ⁻¹' Set.range η[D.abelian.scheme].left) := by |
| 31 | have hZ : IsClosed (t ⁻¹' Set.range η[D.abelian.scheme].left) := |
| 32 | D.dualZeroSection_range_isClosed.preimage t.continuous |
| 33 | have hi : IsClosed (T.isoSpec.hom '' (t ⁻¹' Set.range η[D.abelian.scheme].left)) := |
| 34 | T.isoSpec.hom.homeomorph.isClosedMap _ hZ |
| 35 | exact (PrimeSpectrum.zeroLocus_vanishingIdeal_eq_closure _).trans hi.closure_eq |
| 36 | |
| 37 | variable {P : Scheme.{u}} [P.IsSeparated] |
| 38 | variable {a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left} {b : P ⟶ T} |
| 39 | variable (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.scheme.hom) t) |
| 40 | variable {κ : Type u} [LinearOrder κ] [Finite κ] (U : κ → P.Opens) |
| 41 | variable (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 42 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj |
| 43 | (D.poincare.pullback a).sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 44 | variable {C : CochainComplex (ModuleCat.{u} Γ(T, ⊤)) ℕ} |
| 45 | variable (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom (D.poincare.pullback a).sheaf U) |
| 46 | variable (ht : ∀ (B : Type u) [AddCommGroup B] [Module Γ(T, ⊤) B], QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) |
| 47 | |
| 48 | include H hU ha he ht in |
| 49 | theorem Dual.Data.DualAbelianData.poincareAffine_model_homology_supported_on_zero |
| 50 | (hfin : ∀ q, Module.Finite Γ(T, ⊤) (C.X q)) |
| 51 | (hflat : ∀ q, Module.Flat Γ(T, ⊤) (C.X q)) (q : ℕ) : |
| 52 | Module.support Γ(T, ⊤) (C.homology q) ⊆ |
| 53 | T.isoSpec.hom '' (t ⁻¹' Set.range η[D.abelian.scheme].left) := by |
| 54 | have h := D.poincareAffine_model_homology_support t H U hU ha he φ ht hfin hflat q |
| 55 | rwa [D.poincareAffineParameterIdeal_zeroLocus t] at h |
| 56 | |
| 57 | include H hU ha he ht in |
| 58 | theorem Dual.Data.DualAbelianData.poincareAffine_model_acyclic_off_zero |
| 59 | (hfin : ∀ q, Module.Finite Γ(T, ⊤) (C.X q)) |
| 60 | (hflat : ∀ q, Module.Flat Γ(T, ⊤) (C.X q)) |
| 61 | (hoff : t ⁻¹' Set.range η[D.abelian.scheme].left = ∅) : C.Acyclic := by |
| 62 | intro q |
| 63 | apply (C.exactAt_iff_isZero_homology q).mpr |
| 64 | have hs := D.poincareAffine_model_homology_supported_on_zero t H U hU ha he φ ht hfin hflat q |
| 65 | rw [hoff, Set.image_empty, Set.subset_empty_iff] at hs |
| 66 | have : Subsingleton (C.homology q) := |
| 67 | (Module.support_eq_empty_iff (R := Γ(T, ⊤)) (M := C.homology q)).mp hs |
| 68 | exact ModuleCat.isZero_of_subsingleton _ |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |