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.ResidueCycleSupport |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.PointSectionNontrivial |
| 3 | |
| 4 | /-! # Minimal Source -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The zero residue fiber of the genuine Poincare family is trivial and has a field-valued point. Hence its global sections, the first residue cycles of its universal Cech model, and the first module of every local minimal model are nonzero. Together with the proved residue support this identifies the coefficient ideal with the maximal ideal. -/ |
| 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 {K : Type u} [Field K] {g : ℕ} {A : Abelian.Schemes.AbelianScheme g (Spec (.of K))} |
| 18 | variable (D : Dual.Data.DualAbelianData A) |
| 19 | variable {P : Scheme.{u}} [P.IsSeparated] |
| 20 | variable {a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left} {b : P ⟶ D.poincareZeroStalkScheme} |
| 21 | variable (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.scheme.hom) D.poincareZeroStalkParameterMap) |
| 22 | variable {κ : Type u} [LinearOrder κ] [Finite κ] (U : κ → P.Opens) |
| 23 | variable (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 24 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj |
| 25 | (D.poincare.pullback a).sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 26 | variable {C : CochainComplex (ModuleCat.{u} Γ(D.poincareZeroStalkScheme, ⊤)) ℕ} |
| 27 | variable (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom (D.poincare.pullback a).sheaf U) |
| 28 | variable (ht : ∀ (B : Type u) [AddCommGroup B] [Module Γ(D.poincareZeroStalkScheme, ⊤) B], |
| 29 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) |
| 30 | |
| 31 | include H hU ha he ht in |
| 32 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_minimal_firstModule_nontrivial |
| 33 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)) : Nontrivial Q.complex.X₁ := by |
| 34 | have : IsLocalRing Γ(Spec (D.abelian.scheme.left.presheaf.stalk |
| 35 | (η[D.abelian.scheme].left (IsLocalRing.closedPoint K))), ⊤) := |
| 36 | Dual.Data.DualAbelianData.poincareZeroStalkGlobalSections_isLocalRing D |
| 37 | let T := D.poincareZeroStalkScheme |
| 38 | let t := D.poincareZeroStalkParameterMap |
| 39 | let R := Γ(T, ⊤) |
| 40 | let B := IsLocalRing.ResidueField R |
| 41 | let : AddCommGroup B := (inferInstance : CommRing B).toAddCommGroup |
| 42 | let : Module R B := (inferInstance : Algebra R B).toModule |
| 43 | let j : Spec (.of B) ⟶ T := Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap R B) |
| 44 | have hjSurj : Function.Surjective (algebraMap R B) := by |
| 45 | exact IsLocalRing.residue_surjective |
| 46 | have : IsClosedImmersion j := Affine.QuotientCoefficientMap.affineCoordinateMap_isClosedImmersion (algebraMap R B) hjSurj |
| 47 | let x₀ := η[D.abelian.scheme].left (IsLocalRing.closedPoint K) |
| 48 | have : IsLocalRing (D.abelian.scheme.left.presheaf.stalk x₀) := inferInstance |
| 49 | have hj : j (IsLocalRing.closedPoint B) = IsLocalRing.closedPoint (D.abelian.scheme.left.presheaf.stalk x₀) := |
| 50 | QuotientResiduePointZero.closedImmersion_singlePoint_localSpec_image (R := D.abelian.scheme.left.presheaf.stalk x₀) j (IsLocalRing.closedPoint B) |
| 51 | have hpoint : (j ≫ t) (IsLocalRing.closedPoint B) = x₀ := |
| 52 | (congrArg (D.abelian.scheme.left.fromSpecStalk x₀) hj).trans Scheme.fromSpecStalk_closedPoint |
| 53 | have hz : η[D.abelian.scheme].left ≫ D.abelian.scheme.hom = 𝟙 (Spec (.of K)) := η[D.abelian.scheme].w |
| 54 | have hzero : j ≫ t = ((j ≫ t) ≫ D.abelian.scheme.hom) ≫ η[D.abelian.scheme].left := |
| 55 | HilbertConstruction.Field.PointRationalZero.fieldPoint_eq_rational_section_of_point D.abelian.scheme.hom η[D.abelian.scheme].left hz (j ≫ t) hpoint |
| 56 | let a' := pullback.fst b j |
| 57 | let b' := pullback.snd b j |
| 58 | let H' : IsPullback a' b' b j := IsPullback.of_hasPullback b j |
| 59 | let HF : IsPullback (a' ≫ a) b' (pullback.fst D.abelian.scheme.hom A.scheme.hom) (j ≫ t) := |
| 60 | H'.paste_horiz H |
| 61 | obtain ⟨ef⟩ := D.poincareBaseFamily_zero_implies_trivial (j ≫ t) HF hzero |
| 62 | let L := D.poincare.pullback a |
| 63 | let e : (L.pullback a').sheaf ≅ Line.Bundles.structureModule (CategoryTheory.Limits.pullback b j) := |
| 64 | (Scheme.Modules.pullbackComp a' a).app D.poincare.sheaf ≪≫ ef |
| 65 | let c := (j ≫ t) ≫ D.abelian.scheme.hom |
| 66 | let v : Spec (.of B) ⟶ A.scheme.left := c ≫ η[A.scheme].left |
| 67 | have hv : (j ≫ t) ≫ D.abelian.scheme.hom = v ≫ A.scheme.hom := by |
| 68 | change c = (c ≫ η[A.scheme].left) ≫ A.scheme.hom |
| 69 | exact ((Category.assoc c η[A.scheme].left A.scheme.hom).trans |
| 70 | ((congrArg (fun w => c ≫ w) η[A.scheme].w).trans (Category.comp_id c))).symm |
| 71 | let σ : Spec (.of B) ⟶ (D.abelian.scheme ⊗ A.scheme).left := pullback.lift (j ≫ t) v hv |
| 72 | have hσ : σ ≫ pullback.fst D.abelian.scheme.hom A.scheme.hom = (𝟙 _) ≫ (j ≫ t) := |
| 73 | (pullback.lift_fst (j ≫ t) v hv).trans (Category.id_comp (j ≫ t)).symm |
| 74 | let y : Spec (.of B) ⟶ CategoryTheory.Limits.pullback b j := HF.lift σ (𝟙 _) hσ |
| 75 | have : Nontrivial Γ((Scheme.Modules.pullback a').obj L.sheaf, ⊤) := |
| 76 | HilbertConstruction.Field.PointSectionNontrivial.trivialModule_globalSections_nontrivial_of_fieldPoint y (L.pullback a').sheaf e |
| 77 | have hAlg : (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra = (inferInstance : Algebra R B) := by |
| 78 | rw [Affine.QuotientCoefficientMap.specBaseCoefficientMap_affineCoordinateMap] |
| 79 | exact toAlgebra_algebraMap |
| 80 | let q : B →+* Γ(CategoryTheory.Limits.pullback b j, ⊤) := HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficientMap (b := b') |
| 81 | have hq : q.comp (algebraMap R B) = a'.appTop.hom.comp b.appTop.hom := by |
| 82 | have hh := HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficient_compatible H' |
| 83 | erw [hAlg] at hh |
| 84 | exact hh |
| 85 | have hψ : QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 86 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a' b.appTop.hom L.sheaf q hq U) 0 := by |
| 87 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra j) φ) := ht (Affine.TensorSectionComparison.morphismGlobalAlgebra j) |
| 88 | have hcomparison : |
| 89 | letI : Algebra R B := (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra |
| 90 | letI : AddCommGroup B := (inferInstance : CommRing B).toAddCommGroup |
| 91 | letI : Module R B := (inferInstance : Algebra R B).toModule |
| 92 | ∀ hh : q.comp (algebraMap R B) = a'.appTop.hom.comp b.appTop.hom, |
| 93 | QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 94 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a' b.appTop.hom L.sheaf q hh U) 0 := by |
| 95 | let : Algebra R B := (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra |
| 96 | let : AddCommGroup B := (inferInstance : CommRing B).toAddCommGroup |
| 97 | let : Module R B := (inferInstance : Algebra R B).toModule |
| 98 | intro hh |
| 99 | exact HilbertConstruction.Spec.CoefficientCechComparison.spec_affineFrame_coefficientCechModel_quasiIsoAt H' U L ha he φ 0 |
| 100 | erw [hAlg] at hcomparison |
| 101 | exact hcomparison hq |
| 102 | exact Coefficient.ModelFirstCycles.minimal_firstModule_nontrivial_of_residue_sections |
| 103 | a' b.appTop.hom L.sheaf q hq U hU φ Q |
| 104 | |
| 105 | include H hU ha he ht in |
| 106 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_minimal_firstDifferentialIdeal_eq_maximal |
| 107 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)) : |
| 108 | Q.firstDifferentialIdeal = IsLocalRing.maximalIdeal Γ(D.poincareZeroStalkScheme, ⊤) := by |
| 109 | have : Nontrivial Q.complex.X₁ := D.poincareZeroStalk_minimal_firstModule_nontrivial H U hU ha he φ ht Q |
| 110 | exact D.poincareZeroStalk_firstDifferentialIdeal_eq_maximal_of_nontrivial_minimal_source H U hU ha he φ ht Q |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |