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.TruncatedModel |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Poincare.ResidueAllCohomologyDimensions |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.StalkClosedFieldPoint |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Structure.CohomologyIsomorphicFieldBase |
| 5 | |
| 6 | /-! # Cohomology Dimensions -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Over every field, the actual structure-sheaf cohomology dimensions of the supplied polarized full-level abelian data are choose(g,q) in every degree. The proof constructs the finite model and identifies its residue specialization with the original variety. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | theorem PolarizationData.PolarizedAbelianWithFullLevel.structure_cohomology_finrank |
| 21 | {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 22 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) (D : Dual.Data.DualAbelianData A.abelian) |
| 23 | (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) (q : ℕ) : |
| 24 | Module.finrank K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 25 | (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) q).obj (Line.Bundles.structureModule A.abelian.scheme.left)) = |
| 26 | g.choose q := by |
| 27 | let T := D.poincareZeroStalkScheme |
| 28 | let t := D.poincareZeroStalkParameterMap |
| 29 | let p := pullback.fst D.abelian.scheme.hom A.abelian.scheme.hom |
| 30 | let P := CategoryTheory.Limits.pullback p t |
| 31 | let a : P ⟶ (D.abelian.scheme ⊗ A.abelian.scheme).left := pullback.fst p t |
| 32 | let b : P ⟶ T := pullback.snd p t |
| 33 | let H : IsPullback a b p t := IsPullback.of_hasPullback p t |
| 34 | have : IsProper A.abelian.scheme.hom := A.abelian.proper |
| 35 | have : A.abelian.scheme.left.IsSeparated := ⟨by rw [← terminal.comp_from A.abelian.scheme.hom]; infer_instance⟩ |
| 36 | have : IsProper p := MorphismProperty.of_isPullback (P := @IsProper) |
| 37 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.abelian.scheme.hom).flip inferInstance |
| 38 | have : IsProper b := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 39 | have : P.IsSeparated := ⟨by rw [← terminal.comp_from b]; infer_instance⟩ |
| 40 | obtain ⟨k, U, hU, ha, he, C, φ, Q, _, hbound, hfin, hfree, ht, _, _⟩ := |
| 41 | A.poincareZeroStalk_exists_dimension_bounded_model D hN hNk |
| 42 | let R := Γ(T, ⊤) |
| 43 | let B := IsLocalRing.ResidueField R |
| 44 | let j : Spec (.of B) ⟶ T := Affine.QuotientCoefficientMap.affineCoordinateMap (algebraMap R B) |
| 45 | let a' := pullback.fst b j |
| 46 | let b' := pullback.snd b j |
| 47 | let H' : IsPullback a' b' b j := IsPullback.of_hasPullback b j |
| 48 | let HF : IsPullback (a' ≫ a) b' p (j ≫ t) := H'.paste_horiz H |
| 49 | let c : Spec (.of B) ⟶ Spec (.of K) := (j ≫ t) ≫ D.abelian.scheme.hom |
| 50 | let aA := (a' ≫ a) ≫ pullback.snd D.abelian.scheme.hom A.abelian.scheme.hom |
| 51 | have HA : IsPullback aA b' A.abelian.scheme.hom c := |
| 52 | HF.paste_horiz (IsPullback.of_hasPullback D.abelian.scheme.hom A.abelian.scheme.hom).flip |
| 53 | have hs : Function.Surjective (algebraMap R B) := by |
| 54 | change Function.Surjective (algebraMap R (IsLocalRing.ResidueField R)) |
| 55 | rw [IsLocalRing.ResidueField.algebraMap_eq] |
| 56 | exact IsLocalRing.residue_surjective |
| 57 | have : IsClosedImmersion j := Affine.QuotientCoefficientMap.affineCoordinateMap_isClosedImmersion (algebraMap R B) hs |
| 58 | have : IsIso c := Rational.StalkClosedFieldPoint.rationalStalk_closedFieldPoint_structure_isIso |
| 59 | D.abelian.scheme.hom η[D.abelian.scheme].left η[D.abelian.scheme].w j |
| 60 | have hdim := D.poincareZeroStalk_residue_structure_cohomology_finrank |
| 61 | H U hU ha he φ ht hfin hfree hbound Q q |
| 62 | change Module.finrank B ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 63 | (Coefficient.ModulePresheaf.schemeCoefficientMap b') q).obj (Line.Bundles.structureModule (CategoryTheory.Limits.pullback b j))) = g.choose q at hdim |
| 64 | exact (Structure.CohomologyIsomorphicFieldBase.structureCohomology_finrank_isomorphic_field_base HA q).trans hdim |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |