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.ResidueFrame |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModelResidueLinearity |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TrivialFieldSectionDimension |
| 4 | |
| 5 | /-! # Minimal Rank -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every local minimal model of the actual dual-zero-stalk Poincare family has first free rank one. The rank is computed through actual residue-field sections of the trivial Poincare fiber and its proper smooth geometrically connected projection. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 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 | variable {P : Scheme.{u}} [P.IsSeparated] |
| 21 | variable {a : P ⟶ (D.abelian.scheme ⊗ A.scheme).left} {b : P ⟶ D.poincareZeroStalkScheme} |
| 22 | variable (H : IsPullback a b (pullback.fst D.abelian.scheme.hom A.scheme.hom) D.poincareZeroStalkParameterMap) |
| 23 | variable {κ : Type u} [LinearOrder κ] [Finite κ] (U : κ → P.Opens) |
| 24 | variable (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 25 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj |
| 26 | (D.poincare.pullback a).sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 27 | variable {C : CochainComplex (ModuleCat.{u} Γ(D.poincareZeroStalkScheme, ⊤)) ℕ} |
| 28 | variable (φ : C ⟶ Ordered.CoefficientCechComplex.orderedCoefficientCechComplex b.appTop.hom (D.poincare.pullback a).sheaf U) |
| 29 | variable (ht : ∀ (B : Type u) [AddCommGroup B] [Module Γ(D.poincareZeroStalkScheme, ⊤) B], |
| 30 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ)) |
| 31 | |
| 32 | include H hU ha he ht in |
| 33 | theorem Dual.Data.DualAbelianData.poincareZeroStalk_minimal_firstModule_finrank_one |
| 34 | (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex (C.sc' 0 1 2)) : |
| 35 | Module.finrank Γ(D.poincareZeroStalkScheme, ⊤) Q.complex.X₁ = 1 := by |
| 36 | have : IsLocalRing Γ(Spec (D.abelian.scheme.left.presheaf.stalk |
| 37 | (η[D.abelian.scheme].left (IsLocalRing.closedPoint K))), ⊤) := |
| 38 | Dual.Data.DualAbelianData.poincareZeroStalkGlobalSections_isLocalRing D |
| 39 | let T := D.poincareZeroStalkScheme |
| 40 | let t := D.poincareZeroStalkParameterMap |
| 41 | let R := Γ(T, ⊤) |
| 42 | let B := IsLocalRing.ResidueField R |
| 43 | let : AddCommGroup B := (inferInstance : CommRing B).toAddCommGroup |
| 44 | let : Module R B := (inferInstance : Algebra R B).toModule |
| 45 | let j : Spec (.of B) ⟶ T := Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap R B) |
| 46 | let a' := pullback.fst b j |
| 47 | let b' := pullback.snd b j |
| 48 | let H' : IsPullback a' b' b j := IsPullback.of_hasPullback b j |
| 49 | let p := pullback.fst D.abelian.scheme.hom A.scheme.hom |
| 50 | let HF : IsPullback (a' ≫ a) b' p (j ≫ t) := H'.paste_horiz H |
| 51 | let L := D.poincare.pullback a |
| 52 | obtain ⟨e⟩ := D.poincareZeroStalk_residue_family_trivial H |
| 53 | obtain ⟨y, hy⟩ := D.poincareBaseFamily_exists_section (j ≫ t) HF |
| 54 | have hproper : IsProper A.scheme.hom := A.proper |
| 55 | have hsmooth : Smooth A.scheme.hom := inferInstance |
| 56 | have hconnected : GeometricallyConnected A.scheme.hom := inferInstance |
| 57 | have : IsProper p := MorphismProperty.of_isPullback (P := @IsProper) |
| 58 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hproper |
| 59 | have : Smooth p := MorphismProperty.of_isPullback (P := @Smooth) |
| 60 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hsmooth |
| 61 | have : GeometricallyConnected p := MorphismProperty.of_isPullback (P := @GeometricallyConnected) |
| 62 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip hconnected |
| 63 | have : IsProper b' := MorphismProperty.of_isPullback (P := @IsProper) HF inferInstance |
| 64 | have : Smooth b' := MorphismProperty.of_isPullback (P := @Smooth) HF inferInstance |
| 65 | have : GeometricallyConnected b' := |
| 66 | MorphismProperty.of_isPullback (P := @GeometricallyConnected) HF inferInstance |
| 67 | let q : B →+* Γ(CategoryTheory.Limits.pullback b j, ⊤) := HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficientMap (b := b') |
| 68 | have hd : Module.finrank B ((Coefficient.ModulePresheaf.coefficientModulePresheaf q (L.pullback a').sheaf).obj (op ⊤)) = 1 := |
| 69 | TrivialFieldSectionDimension.properSmoothConnected_trivialModule_coefficientSections_finrank_one (K := B) |
| 70 | b' y hy (L.pullback a').sheaf e |
| 71 | have hAlg : (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra = (inferInstance : Algebra R B) := by |
| 72 | rw [Affine.QuotientCoefficientMap.specBaseCoefficientMap_affineCoordinateMap] |
| 73 | exact toAlgebra_algebraMap |
| 74 | have hq : q.comp (algebraMap R B) = a'.appTop.hom.comp b.appTop.hom := by |
| 75 | have hh := HilbertConstruction.Spec.CoefficientCechComparison.specPullbackCoefficient_compatible H' |
| 76 | erw [hAlg] at hh |
| 77 | exact hh |
| 78 | have hψ : QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 79 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a' b.appTop.hom L.sheaf q hq U) 0 := by |
| 80 | have : QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map (Affine.TensorSectionComparison.morphismGlobalAlgebra j) φ) := ht (Affine.TensorSectionComparison.morphismGlobalAlgebra j) |
| 81 | have hcomparison : |
| 82 | letI : Algebra R B := (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra |
| 83 | letI : AddCommGroup B := (inferInstance : CommRing B).toAddCommGroup |
| 84 | letI : Module R B := (inferInstance : Algebra R B).toModule |
| 85 | ∀ hh : q.comp (algebraMap R B) = a'.appTop.hom.comp b.appTop.hom, |
| 86 | QuasiIsoAt (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map B φ ≫ |
| 87 | Coefficient.SectionTensorModelCriterion.coefficientCechTensorPushforwardMap a' b.appTop.hom L.sheaf q hh U) 0 := by |
| 88 | let : Algebra R B := (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap j).toAlgebra |
| 89 | let : AddCommGroup B := (inferInstance : CommRing B).toAddCommGroup |
| 90 | let : Module R B := (inferInstance : Algebra R B).toModule |
| 91 | intro hh |
| 92 | exact HilbertConstruction.Spec.CoefficientCechComparison.spec_affineFrame_coefficientCechModel_quasiIsoAt H' U L ha he φ 0 |
| 93 | erw [hAlg] at hcomparison |
| 94 | exact hcomparison hq |
| 95 | exact (Coefficient.ModelResidueLinearity.minimal_firstModule_finrank_eq_residue_sections |
| 96 | a' b.appTop.hom L.sheaf q hq U hU φ Q).trans hd |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |