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.ModelCohomologyBound |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Universal.CochainTruncation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PoincareStalk.MinimalRank |
| 4 | |
| 5 | /-! # Truncated Model -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct a universal finite free Cech model of the actual dual-zero-stalk Poincare family concentrated in degrees 0 through g. Its minimal first source has rank one and its first coefficients generate the maximal ideal. -/ |
| 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 | |
| 19 | theorem PolarizationData.PolarizedAbelianWithFullLevel.poincareZeroStalk_exists_dimension_bounded_model |
| 20 | {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 21 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) (D : Dual.Data.DualAbelianData A.abelian) |
| 22 | (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) : |
| 23 | let p := pullback.fst D.abelian.scheme.hom A.abelian.scheme.hom; |
| 24 | let b := pullback.snd p D.poincareZeroStalkParameterMap; |
| 25 | let L := D.poincare.pullback (pullback.fst p D.poincareZeroStalkParameterMap); |
| 26 | ∃ (k : ℕ) (U : ULift.{u} (Fin k) → (CategoryTheory.Limits.pullback p D.poincareZeroStalkParameterMap).Opens), |
| 27 | iSup U = ⊤ ∧ (∀ i, IsAffineOpen (U i)) ∧ |
| 28 | (∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) ∧ |
| 29 | ∃ (C : CochainComplex (ModuleCat.{u} Γ(D.poincareZeroStalkScheme, ⊤)) ℕ) |
| 30 | (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom L.sheaf U) |
| 31 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)), |
| 32 | QuasiIso φ ∧ (∀ q, g < q → IsZero (C.X q)) ∧ |
| 33 | (∀ q, Module.Finite Γ(D.poincareZeroStalkScheme, ⊤) (C.X q)) ∧ |
| 34 | (∀ q, Module.Free Γ(D.poincareZeroStalkScheme, ⊤) (C.X q)) ∧ |
| 35 | (∀ (B : Type u) [AddCommGroup B] [Module Γ(D.poincareZeroStalkScheme, ⊤) B], |
| 36 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) ∧ |
| 37 | Module.finrank Γ(D.poincareZeroStalkScheme, ⊤) Q.complex.X₁ = 1 ∧ |
| 38 | Q.firstDifferentialIdeal = IsLocalRing.maximalIdeal Γ(D.poincareZeroStalkScheme, ⊤) := by |
| 39 | dsimp only |
| 40 | let p := pullback.fst D.abelian.scheme.hom A.abelian.scheme.hom |
| 41 | let t := D.poincareZeroStalkParameterMap |
| 42 | let P := CategoryTheory.Limits.pullback p t |
| 43 | let a : P ⟶ (D.abelian.scheme ⊗ A.abelian.scheme).left := pullback.fst p t |
| 44 | let b : P ⟶ D.poincareZeroStalkScheme := pullback.snd p t |
| 45 | let H : IsPullback a b p t := IsPullback.of_hasPullback p t |
| 46 | let L := D.poincare.pullback a |
| 47 | let R := Γ(D.poincareZeroStalkScheme, ⊤) |
| 48 | have : IsProper A.abelian.scheme.hom := A.abelian.proper |
| 49 | have : IsProper p := MorphismProperty.of_isPullback (P := @IsProper) |
| 50 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.abelian.scheme.hom).flip inferInstance |
| 51 | have : IsProper b := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 52 | have : P.IsSeparated := ⟨by rw [← terminal.comp_from b]; infer_instance⟩ |
| 53 | obtain ⟨k, U, hU, ha, he, C, φ, _, hφ, hb, hfin, hfree, ht, _, _⟩ := |
| 54 | D.poincareZeroStalk_exists_geometric_minimal_model |
| 55 | have hres := A.poincareZeroStalk_model_residue_cohomology_vanish_above_dimension |
| 56 | D H U hU ha he φ ht hN hNk |
| 57 | let T := HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncation C g |
| 58 | let κ := HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncationι C g |
| 59 | let ψ := κ ≫ φ |
| 60 | have hT := HilbertConstruction.Finite.FreeCochainTruncation.finiteCochainTruncation_finite_free C hfin hfree g (hres (g + 1) (Nat.lt_succ_self g)) |
| 61 | have : QuasiIso φ := hφ |
| 62 | have : QuasiIso κ := HilbertConstruction.Finite.FreeCochainTruncation.finiteCochainTruncation_quasiIso_of_residue_bound C hfin hfree g hres |
| 63 | have hψ : QuasiIso ψ := quasiIso_comp κ φ |
| 64 | have ht' : ∀ (B : Type u) [AddCommGroup B] [Module R B], QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B ψ) := by |
| 65 | intro B _ _ |
| 66 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B κ) := |
| 67 | Universal.CochainTruncation.finiteCochainTruncation_tensor_quasiIso_of_residue_bound C hb hfin hfree g hres B |
| 68 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ) := ht B |
| 69 | change QuasiIso (((HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor B).mapHomologicalComplex (.up ℕ)).map (κ ≫ φ)) |
| 70 | rw [Functor.map_comp] |
| 71 | infer_instance |
| 72 | have : Module.Finite R (T.sc' 0 1 2).X₁ := (hT 0).1 |
| 73 | have : Module.Free R (T.sc' 0 1 2).X₁ := (hT 0).2 |
| 74 | have : Module.Finite R (T.sc' 0 1 2).X₂ := (hT 1).1 |
| 75 | have : Module.Free R (T.sc' 0 1 2).X₂ := (hT 1).2 |
| 76 | have : Module.Finite R (T.sc' 0 1 2).X₃ := (hT 2).1 |
| 77 | have : Module.Free R (T.sc' 0 1 2).X₃ := (hT 2).2 |
| 78 | obtain ⟨Q⟩ := Local.MinimalShortComplex.LocalSectionLifting.exists_localMinimalShortComplex (T.sc' 0 1 2) |
| 79 | have hdim := D.poincareZeroStalk_minimal_firstModule_finrank_one H U hU ha he ψ ht' Q |
| 80 | have hI := D.poincareZeroStalk_minimal_firstDifferentialIdeal_eq_maximal H U hU ha he ψ ht' Q |
| 81 | exact ⟨k, U, hU, ha, he, T, ψ, Q, hψ, |
| 82 | fun q hq => HilbertConstruction.Finite.CochainTruncation.finiteCochainTruncation_isZero_above C g q hq, |
| 83 | fun q => (hT q).1, fun q => (hT q).2, ht', hdim, hI⟩ |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |