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.PoincareStalk.FieldSupport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ParameterVanishingIdeal |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.FlatCochainSupport |
| 4 | |
| 5 | /-! # Affine Parameter Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over any affine parameter scheme, the genuine Poincare cohomology model is supported on the inverse image of the dual zero section. Its coefficient ideal is defined from that actual geometric subset. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {S T : Scheme.{u}} [IsAffine T] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g S} |
| 19 | variable (D : Dual.Data.DualAbelianData A) (t : T ⟶ D.abelian.scheme.left) |
| 20 | |
| 21 | def Dual.Data.DualAbelianData.poincareAffineParameterIdeal : Ideal Γ(T, ⊤) := |
| 22 | Affine.ParameterVanishingIdeal.affineParameterVanishingIdeal (t ⁻¹' Set.range η[D.abelian.scheme].left) |
| 23 | |
| 24 | variable {P : Scheme.{u}} [P.IsSeparated] |
| 25 | variable {a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left} {b : P ⟶ T} |
| 26 | variable (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.scheme.hom) t) |
| 27 | variable {κ : Type u} [LinearOrder κ] [Finite κ] (U : κ → P.Opens) |
| 28 | variable (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 29 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj |
| 30 | (D.poincare.pullback a).sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 31 | variable {C : CochainComplex (ModuleCat.{u} Γ(T, ⊤)) ℕ} |
| 32 | variable (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom (D.poincare.pullback a).sheaf U) |
| 33 | variable (ht : ∀ (B : Type u) [AddCommGroup B] [Module Γ(T, ⊤) B], QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) |
| 34 | |
| 35 | include H hU ha he ht in |
| 36 | theorem Dual.Data.DualAbelianData.poincareAffine_model_field_support : Cochain.FieldSupport.CochainFieldSupport C (D.poincareAffineParameterIdeal t) := by |
| 37 | intro B _ _ hnot |
| 38 | let R := Γ(T, ⊤) |
| 39 | let j : Spec (.of B) ⟶ T := Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap R B) |
| 40 | let a' := pullback.fst b j |
| 41 | let b' := pullback.snd b j |
| 42 | let H' : IsPullback a' b' b j := IsPullback.of_hasPullback b j |
| 43 | let c : Spec (.of B) ⟶ S := (j ≫ t) ≫ D.abelian.scheme.hom |
| 44 | let x : (Over.map c).obj (𝟙_ (Over (Spec (.of B)))) ⟶ D.abelian.scheme := |
| 45 | Over.homMk (j ≫ t) (by change _ = (𝟙 _) ≫ c; exact (Category.id_comp c).symm) |
| 46 | have hout : t (j (IsLocalRing.closedPoint B)) ∉ Set.range η[D.abelian.scheme].left := by |
| 47 | intro hz |
| 48 | exact hnot (Affine.ParameterVanishingIdeal.affineParameterVanishingIdeal_le_kernel_of_point_mem |
| 49 | (t ⁻¹' Set.range η[D.abelian.scheme].left) (algebraMap R B) hz) |
| 50 | have hx : x ≠ 1 := |
| 51 | D.fieldDualPoint_ne_one_of_point_outside_zero c x (IsLocalRing.closedPoint B) hout |
| 52 | let HF : IsPullback (a' ≫ a) b' (pullback.fst D.abelian.scheme.hom A.scheme.hom) x.left := |
| 53 | H'.paste_horiz H |
| 54 | let L := D.poincare.pullback a |
| 55 | let e : (L.pullback a').sheaf ≅ (D.poincare.pullback (a' ≫ a)).sheaf := |
| 56 | (Scheme.Modules.pullbackComp a' a).app D.poincare.sheaf |
| 57 | have hAlg : (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra = (inferInstance : Algebra R B) := by |
| 58 | rw [Affine.QuotientCoefficientMap.specBaseCoefficientMap_affineCoordinateMap] |
| 59 | exact toAlgebra_algebraMap |
| 60 | intro q |
| 61 | have hzero := D.poincareFieldFiber_cohomology_vanish c x HF hx q |
| 62 | let eH := (Zariski.Cohomology.ZariskiCohomology.zariskiFunctor (CategoryTheory.Limits.pullback b j) q).mapIso e |
| 63 | have hi : Function.Injective eH.hom := (AddCommGrpCat.mono_iff_injective eH.hom).mp inferInstance |
| 64 | have hL : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback a').sheaf q) := |
| 65 | ⟨fun y z => hi (hzero.elim _ _)⟩ |
| 66 | have hres := HilbertConstruction.Spec.ModelAllDegreeVanishing.spec_model_exactAt_of_cohomology_zero_all H' L U hU ha he φ ht q hL |
| 67 | have hexa : (((HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor R B).mapHomologicalComplex (.up ℕ)).obj C).ExactAt q := by |
| 68 | erw [hAlg] at hres |
| 69 | exact hres |
| 70 | exact (Base.ChangeTensorExactness.baseChange_exactAt_iff_tensor C q).mp hexa |
| 71 | |
| 72 | include H hU ha he ht in |
| 73 | theorem Dual.Data.DualAbelianData.poincareAffine_model_homology_support |
| 74 | (hfin : ∀ q, Module.Finite Γ(T, ⊤) (C.X q)) |
| 75 | (hflat : ∀ q, Module.Flat Γ(T, ⊤) (C.X q)) (q : ℕ) : |
| 76 | Module.support Γ(T, ⊤) (C.homology q) ⊆ |
| 77 | PrimeSpectrum.zeroLocus (D.poincareAffineParameterIdeal t : Set Γ(T, ⊤)) := |
| 78 | HilbertConstruction.Finite.FlatCochainSupport.finiteFlatCochain_fieldSupport_homology_support C hfin hflat (D.poincareAffineParameterIdeal t) |
| 79 | (D.poincareAffine_model_field_support t H U hU ha he φ ht) q |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |