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.MinimalSource |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.LocalMinimalCechModel |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | |
| 5 | /-! # Geometric Minimal Model -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At the rational zero point of the dual abelian variety, the genuine Poincare family has a constructed universal finite free Cech model and a constructed local minimal short complex whose first differential generates the maximal ideal. No model, support, nonzero source, or coefficient-ideal equality is assumed. -/ |
| 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 {K : Type u} [Field K] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 19 | variable (D : Dual.Data.DualAbelianData A) |
| 20 | |
| 21 | instance Dual.Data.DualAbelianData.poincareZeroStalkGlobalSections_isNoetherianRing : |
| 22 | IsNoetherianRing Γ(D.poincareZeroStalkScheme, ⊤) := by |
| 23 | have : IsLocallyNoetherian D.abelian.scheme.left := |
| 24 | LocallyOfFiniteType.isLocallyNoetherian D.abelian.scheme.hom |
| 25 | let x := η[D.abelian.scheme].left (IsLocalRing.closedPoint K) |
| 26 | have : IsNoetherianRing (D.abelian.scheme.left.presheaf.stalk x) := |
| 27 | AlgebraicGeometry.instIsNoetherianRingCarrierStalkCommRingCatPresheafOfIsLocallyNoetherian |
| 28 | (X := D.abelian.scheme.left) (x := x) |
| 29 | exact isNoetherianRing_of_ringEquiv (D.abelian.scheme.left.presheaf.stalk x) |
| 30 | (Scheme.ΓSpecIso (D.abelian.scheme.left.presheaf.stalk x)).symm.commRingCatIsoToRingEquiv |
| 31 | |
| 32 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_exists_geometric_minimal_model : |
| 33 | let p := pullback.fst D.abelian.scheme.hom A.scheme.hom; |
| 34 | let b := pullback.snd p D.poincareZeroStalkParameterMap; |
| 35 | let L := D.poincare.pullback (pullback.fst p D.poincareZeroStalkParameterMap); |
| 36 | ∃ (k : ℕ) (U : ULift.{u} (Fin k) → (CategoryTheory.Limits.pullback p D.poincareZeroStalkParameterMap).Opens), |
| 37 | iSup U = ⊤ ∧ (∀ i, IsAffineOpen (U i)) ∧ |
| 38 | (∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) ∧ |
| 39 | ∃ (C : CochainComplex (ModuleCat.{u} Γ(D.poincareZeroStalkScheme, ⊤)) ℕ) |
| 40 | (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom L.sheaf U) |
| 41 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)), |
| 42 | QuasiIso φ ∧ |
| 43 | (∃ N, ∀ q, N ≤ q → IsZero (C.X q)) ∧ |
| 44 | (∀ q, Module.Finite Γ(D.poincareZeroStalkScheme, ⊤) (C.X q)) ∧ |
| 45 | (∀ q, Module.Free Γ(D.poincareZeroStalkScheme, ⊤) (C.X q)) ∧ |
| 46 | (∀ (B : Type u) [AddCommGroup B] [Module Γ(D.poincareZeroStalkScheme, ⊤) B], |
| 47 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) ∧ |
| 48 | Nontrivial Q.complex.X₁ ∧ |
| 49 | Q.firstDifferentialIdeal = IsLocalRing.maximalIdeal Γ(D.poincareZeroStalkScheme, ⊤) := by |
| 50 | dsimp only |
| 51 | let p := pullback.fst D.abelian.scheme.hom A.scheme.hom |
| 52 | let t := D.poincareZeroStalkParameterMap |
| 53 | let P := CategoryTheory.Limits.pullback p t |
| 54 | let a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left := pullback.fst p t |
| 55 | let b : P ⟶ D.poincareZeroStalkScheme := pullback.snd p t |
| 56 | let H : IsPullback a b p t := IsPullback.of_hasPullback p t |
| 57 | let L := D.poincare.pullback a |
| 58 | have hproper : IsProper A.scheme.hom := A.proper |
| 59 | have hflat : Flat A.scheme.hom := inferInstance |
| 60 | have : IsProper p := MorphismProperty.of_isPullback (P := @IsProper) |
| 61 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hproper |
| 62 | have : Flat p := MorphismProperty.of_isPullback (P := @Flat) |
| 63 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hflat |
| 64 | have : IsProper b := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 65 | have : Flat b := MorphismProperty.of_isPullback (P := @Flat) H inferInstance |
| 66 | have : P.IsSeparated := ⟨by rw [← terminal.comp_from b]; infer_instance⟩ |
| 67 | have : CompactSpace P := QuasiCompact.compactSpace_of_compactSpace b |
| 68 | have : L.sheaf.IsQuasicoherent := L.isQuasicoherent |
| 69 | obtain ⟨k, V, ha, he, hcover⟩ := L.exists_finite_affine_frames |
| 70 | let U : ULift.{u} (Fin k) → P.Opens := fun i => V i.down |
| 71 | have hU : iSup U = ⊤ := by |
| 72 | apply top_unique |
| 73 | intro y _ |
| 74 | obtain ⟨i, hi⟩ := hcover y |
| 75 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨⟨i⟩, hi⟩ |
| 76 | have hUa : ∀ i, IsAffineOpen (U i) := fun i => ha i.down |
| 77 | have hUe : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ |
| 78 | Line.Bundles.structureModule (U i).toScheme) := fun i => he i.down |
| 79 | obtain ⟨C, φ, Q, hφ, hb, hfin, hfree, ht, _, _⟩ := |
| 80 | ProperFlat.LocalMinimalCechModel.properFlat_exists_local_minimal_cech_model b L U hU hUa |
| 81 | have hn : Nontrivial Q.complex.X₁ := |
| 82 | D.poincareZeroStalk_minimal_firstModule_nontrivial H U hU hUa hUe φ ht Q |
| 83 | have hI : Q.firstDifferentialIdeal = IsLocalRing.maximalIdeal Γ(D.poincareZeroStalkScheme, ⊤) := |
| 84 | D.poincareZeroStalk_minimal_firstDifferentialIdeal_eq_maximal H U hU hUa hUe φ ht Q |
| 85 | exact ⟨k, U, hU, hUa, hUe, C, φ, Q, hφ, hb, hfin, hfree, ht, hn, hI⟩ |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |