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.Crystalline.Cohomology.Mixed.SheafLocality |
| 2 | import Mathlib.Algebra.Homology.SingleHomology |
| 3 | |
| 4 | /-! # Sheaf Exactness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.MixedCech.SheafExactness.MixedCechSheafExactness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Mixed-universe version for the native crystalline coefficient modules. |
| 12 | |
| 13 | # Global exactness of Čech sheaves in positive degrees |
| 14 | |
| 15 | Restrictions of the global Čech sheaf complex are contracted on every |
| 16 | cover member. Restriction preserves homology, and zero sheaves are |
| 17 | detected on an open cover. Consequently all its positive homology |
| 18 | sheaves vanish. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory Limits Opposite _root_.AlgebraicGeometry |
| 22 | |
| 23 | universe u v |
| 24 | |
| 25 | section General |
| 26 | |
| 27 | variable {A B : Type*} [Category A] [Category B] [Abelian A] [Abelian B] |
| 28 | (G : A ⥤ B) [G.Additive] [G.PreservesHomology] |
| 29 | |
| 30 | def mapHomologyIso (K : CochainComplex A ℕ) (n : ℕ) : |
| 31 | ((G.mapHomologicalComplex (ComplexShape.up ℕ)).obj K).homology n ≅ G.obj (K.homology n) := |
| 32 | (K.sc n).mapHomologyIso G |
| 33 | |
| 34 | end General |
| 35 | |
| 36 | section Single |
| 37 | |
| 38 | variable {A B : Type*} [Category A] [Category B] [Abelian A] [Abelian B] |
| 39 | (G : A ⥤ B) [G.Additive] (P : A) (n : ℕ) (hn : n ≠ 0) |
| 40 | |
| 41 | include hn in |
| 42 | theorem mapped_single_homology_zero : |
| 43 | IsZero (((G.mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 44 | ((CochainComplex.single₀ A).obj P)).homology n) := |
| 45 | (HomologicalComplex.ExactAt.of_isZero |
| 46 | (G.map_isZero (HomologicalComplex.isZero_single_obj_X (ComplexShape.up ℕ) 0 P n hn))).isZero_homology |
| 47 | |
| 48 | end Single |
| 49 | |
| 50 | variable (R : Type v) [CommRing R] (X : Scheme.{u}) |
| 51 | {ι : Type u} (U : ι → X.Opens) (hU : iSup U = ⊤) (P : Presheaf.MixedCechPresheaf.Presheaves R X) |
| 52 | |
| 53 | theorem restricted_homology_zero (i : ι) (n : ℕ) (hn : n ≠ 0) : |
| 54 | IsZero ((CechRestriction.MixedCechRestriction.sheafRestrictionFunctor R (U i).ι).obj |
| 55 | ((Presheaf.MixedCechPresheaf.sheafComplex R X U P).homology n)) := by |
| 56 | let G := CechRestriction.MixedCechRestriction.sheafRestrictionFunctor R (U i).ι |
| 57 | let F := Presheaf.MixedCechPresheaf.sheafification R (U i).toScheme |
| 58 | let Q := Coefficients.MixedCechCoefficients.restricted X U i R P |
| 59 | let e := CechRestriction.MixedCechRestriction.restrictedSheafHomotopyEquiv R P U i |
| 60 | have hz := mapped_single_homology_zero F Q n hn |
| 61 | have ht := hz.of_iso (e.toHomologyIso n).symm |
| 62 | exact ht.of_iso (MixedCechSheafExactness.mapHomologyIso G (Presheaf.MixedCechPresheaf.sheafComplex R X U P) n).symm |
| 63 | |
| 64 | include hU in |
| 65 | /-- The Čech sheaf complex of a covering family is exact in every positive degree. -/ |
| 66 | theorem positive_homology_zero (n : ℕ) (hn : n ≠ 0) : |
| 67 | IsZero ((Presheaf.MixedCechPresheaf.sheafComplex R X U P).homology n) := |
| 68 | Mixed.SheafLocality.MixedSheafLocality.isZero_of_restrictions R X U hU _ (fun i => restricted_homology_zero R X U P i n hn) |
| 69 | |
| 70 | include hU in |
| 71 | theorem exactAt_positive (n : ℕ) (hn : n ≠ 0) : (Presheaf.MixedCechPresheaf.sheafComplex R X U P).ExactAt n := |
| 72 | (HomologicalComplex.exactAt_iff_isZero_homology _ n).mpr (positive_homology_zero R X U hU P n hn) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.MixedCech.SheafExactness.MixedCechSheafExactness |