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.Field.PoincarePointCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Picard.TestFamilyPullback |
| 3 | |
| 4 | /-! # Field Specialization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A field-valued point of the dual over an arbitrary base gives the actual Cartesian fiber of the Poincare family. Away from the identity, this fiber has zero cohomology in every degree. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {K : Type u} [Field K] {g : ℕ} |
| 17 | variable {A : Abelian.Schemes.AbelianScheme g S} (D : Dual.Data.DualAbelianData A) (c : Spec (.of K) ⟶ S) |
| 18 | variable (x : (Over.map c).obj (𝟙_ (Over (Spec (.of K)))) ⟶ D.abelian.scheme) |
| 19 | |
| 20 | theorem Dual.Data.DualAbelianData.fieldDualPoint_ne_one_of_point_outside_zero (k : Spec (.of K)) |
| 21 | (hx : x.left k ∉ Set.range η[D.abelian.scheme].left) : x ≠ 1 := by |
| 22 | intro h |
| 23 | apply hx |
| 24 | rw [h, Hom.one_def] |
| 25 | exact ⟨(toUnit ((Over.map c).obj (𝟙_ (Over (Spec (.of K)))))).left k, rfl⟩ |
| 26 | |
| 27 | def Dual.Data.DualAbelianData.poincareFieldSpecializationPoint : |
| 28 | 𝟙_ (Over (Spec (.of K))) ⟶ (D.abelian.pullback c).scheme := |
| 29 | (D.abelian.baseChangePointsMulEquiv c (𝟙_ (Over (Spec (.of K))))).symm x |
| 30 | |
| 31 | theorem Dual.Data.DualAbelianData.poincareFieldSpecializationPoint_ne_one (hx : x ≠ 1) : |
| 32 | D.poincareFieldSpecializationPoint c x ≠ 1 := by |
| 33 | intro h |
| 34 | apply hx |
| 35 | have he := congrArg (D.abelian.baseChangePointsMulEquiv c (𝟙_ (Over (Spec (.of K))))) h |
| 36 | simpa only [Dual.Data.DualAbelianData.poincareFieldSpecializationPoint, MulEquiv.apply_symm_apply, map_one] using he |
| 37 | |
| 38 | def Dual.Data.DualAbelianData.poincareFieldSpecializationMap : |
| 39 | (A.pullback c).scheme.left ⟶ (D.abelian.scheme ⊗ A.scheme).left := |
| 40 | (lift ((Over.map c).map (toUnit (A.pullback c).scheme) ≫ x) |
| 41 | (Dual.Data.DualAbelianData.baseChangeProjection A c)).left |
| 42 | |
| 43 | theorem Dual.Data.DualAbelianData.poincareFieldSpecializationMap_fst : |
| 44 | D.poincareFieldSpecializationMap c x ≫ pullback.fst D.abelian.scheme.hom A.scheme.hom = |
| 45 | (A.pullback c).scheme.hom ≫ x.left := by |
| 46 | exact congrArg Over.Hom.left (lift_fst |
| 47 | ((Over.map c).map (toUnit (A.pullback c).scheme) ≫ x) (Dual.Data.DualAbelianData.baseChangeProjection A c)) |
| 48 | |
| 49 | theorem Dual.Data.DualAbelianData.poincareFieldSpecializationMap_snd : |
| 50 | D.poincareFieldSpecializationMap c x ≫ pullback.snd D.abelian.scheme.hom A.scheme.hom = |
| 51 | pullback.fst A.scheme.hom c := by |
| 52 | have h := congrArg Over.Hom.left (lift_snd |
| 53 | ((Over.map c).map (toUnit (A.pullback c).scheme) ≫ x) (Dual.Data.DualAbelianData.baseChangeProjection A c)) |
| 54 | change D.poincareFieldSpecializationMap c x ≫ pullback.snd D.abelian.scheme.hom A.scheme.hom = |
| 55 | (𝟙 (A.pullback c).scheme.left) ≫ pullback.fst A.scheme.hom c at h |
| 56 | exact h.trans (Category.id_comp _) |
| 57 | |
| 58 | theorem Dual.Data.DualAbelianData.poincareFieldSpecialization_isPullback : |
| 59 | IsPullback (D.poincareFieldSpecializationMap c x) (A.pullback c).scheme.hom |
| 60 | (pullback.fst D.abelian.scheme.hom A.scheme.hom) x.left := by |
| 61 | have hx : x.left ≫ D.abelian.scheme.hom = c := x.w.trans (Category.id_comp c) |
| 62 | have hr : IsPullback |
| 63 | (D.poincareFieldSpecializationMap c x ≫ pullback.snd D.abelian.scheme.hom A.scheme.hom) |
| 64 | (A.pullback c).scheme.hom A.scheme.hom (x.left ≫ D.abelian.scheme.hom) := by |
| 65 | rw [D.poincareFieldSpecializationMap_snd, hx] |
| 66 | exact IsPullback.of_hasPullback A.scheme.hom c |
| 67 | exact IsPullback.of_right hr (D.poincareFieldSpecializationMap_fst c x) |
| 68 | (IsPullback.of_hasPullback D.abelian.scheme.hom A.scheme.hom).flip |
| 69 | |
| 70 | def Dual.Data.DualAbelianData.poincareFieldSpecializationBundleIso : |
| 71 | ((D.pullback c).poincarePointBundle (D.poincareFieldSpecializationPoint c x)).sheaf ≅ |
| 72 | (D.poincare.pullback (D.poincareFieldSpecializationMap c x)).sheaf := by |
| 73 | let B := (A.pullback c).scheme |
| 74 | let z := D.poincareFieldSpecializationPoint c x |
| 75 | have hz : D.abelian.baseChangePointsEquiv c (𝟙_ (Over (Spec (.of K)))) z = x := |
| 76 | (D.abelian.baseChangePointsMulEquiv c (𝟙_ (Over (Spec (.of K))))).apply_symm_apply x |
| 77 | have h : D.abelian.baseChangePointsEquiv c B (toUnit B ≫ z) = |
| 78 | (Over.map c).map (toUnit B) ≫ x := by |
| 79 | rw [Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_precomp, hz] |
| 80 | let e := D.poincarePair_baseChangeIso c (toUnit B ≫ z) (𝟙 B) |
| 81 | change ((D.pullback c).poincarePointBundle z).sheaf ≅ |
| 82 | (D.poincarePair (D.abelian.baseChangePointsEquiv c B (toUnit B ≫ z)) |
| 83 | (Dual.Data.DualAbelianData.baseChangeProjection A c)).sheaf at e |
| 84 | rw [h] at e |
| 85 | exact e ≪≫ D.poincarePairDirectIso ((Over.map c).map (toUnit B) ≫ x) (Dual.Data.DualAbelianData.baseChangeProjection A c) |
| 86 | |
| 87 | theorem Dual.Data.DualAbelianData.poincareFieldSpecialization_cohomology_vanish (hx : x ≠ 1) (n : ℕ) : |
| 88 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H |
| 89 | (D.poincare.pullback (D.poincareFieldSpecializationMap c x)).sheaf n) := by |
| 90 | have hz := (D.pullback c).poincarePointBundle_cohomology_vanish_overField |
| 91 | (D.poincareFieldSpecializationPoint c x) (D.poincareFieldSpecializationPoint_ne_one c x hx) n |
| 92 | let e := (Zariski.Cohomology.ZariskiCohomology.zariskiFunctor (A.pullback c).scheme.left n).mapIso |
| 93 | (D.poincareFieldSpecializationBundleIso c x) |
| 94 | have hi : Function.Injective e.inv := |
| 95 | (AddCommGrpCat.mono_iff_injective e.inv).mp inferInstance |
| 96 | exact ⟨fun a b => hi (hz.elim _ _)⟩ |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |