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.Cech.AugmentationRestriction |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizedComplex |
| 3 | import Mathlib.Algebra.Homology.SingleHomology |
| 4 | |
| 5 | /-! # Sections Exactness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.SectionsExactness.CechSectionsExactness |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Exactness of Čech sections from principal localization |
| 13 | |
| 14 | Sections of the actual Čech presheaf complex contract over each cover |
| 15 | member. If restriction to these members localizes every cochain module, |
| 16 | the unit-ideal criterion gives exactness of global cochains. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory Limits Opposite _root_.AlgebraicGeometry |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R : Type u) [CommRing R] (X : Scheme.{u}) |
| 24 | {ι : Type u} (U : ι → X.Opens) (P : Presheaf.CechPresheaf.Presheaves R X) |
| 25 | |
| 26 | def sections (V : X.Opens) : CochainComplex (ModuleCat.{u} R) ℕ := |
| 27 | (((evaluation X.Opensᵒᵖ (ModuleCat.{u} R)).obj (op V)).mapHomologicalComplex |
| 28 | (ComplexShape.up ℕ)).obj (Presheaf.CechPresheaf.complex R X U P) |
| 29 | |
| 30 | def restriction (V : X.Opens) : sections R X U P ⊤ ⟶ sections R X U P V := |
| 31 | (((evaluation X.Opensᵒᵖ (ModuleCat.{u} R)).map (homOfLE le_top : V ⟶ ⊤).op).mapHomologicalComplex |
| 32 | (ComplexShape.up ℕ)).app (Presheaf.CechPresheaf.complex R X U P) |
| 33 | |
| 34 | theorem member_exactAt (i : ι) (n : ℕ) (hn : n ≠ 0) : |
| 35 | (sections R X U P (U i)).ExactAt n := by |
| 36 | let G := Cover.CechRestriction.restrictionFunctor R (U i).ι |
| 37 | let E := (evaluation (U i).toScheme.Opensᵒᵖ (ModuleCat.{u} R)).obj (op ⊤) |
| 38 | let e := E.mapHomotopyEquiv (AugmentationRestriction.CechAugmentationRestriction.restrictedHomotopyEquiv R P U i) |
| 39 | have hz : IsZero (((E.mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 40 | ((G.mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 41 | ((CochainComplex.single₀ (Presheaf.CechPresheaf.Presheaves R X)).obj P))).homology n) := by |
| 42 | apply HomologicalComplex.ExactAt.isZero_homology |
| 43 | apply HomologicalComplex.ExactAt.of_isZero |
| 44 | exact E.map_isZero (G.map_isZero |
| 45 | (HomologicalComplex.isZero_single_obj_X (ComplexShape.up ℕ) 0 P n hn)) |
| 46 | have ht := (hz.of_iso (e.toHomologyIso n).symm) |
| 47 | have he := (HomologicalComplex.exactAt_iff_isZero_homology _ n).mpr ht |
| 48 | change (sections R X U P ((U i).ι ''ᵁ ⊤)).ExactAt n at he |
| 49 | rwa [Scheme.Opens.ι_image_top] at he |
| 50 | |
| 51 | theorem global_exactAt (s : ι → R) (hs : Ideal.span (Set.range s) = ⊤) |
| 52 | [∀ i n, IsLocalizedModule (Submonoid.powers (s i)) |
| 53 | ((restriction R X U P (U i)).f n).hom] |
| 54 | (n : ℕ) (hn : n ≠ 0) : (sections R X U P ⊤).ExactAt n := |
| 55 | LocalizedComplex.LocalizedComplexExactness.exactAt R ι s hs (ComplexShape.up ℕ) |
| 56 | (sections R X U P ⊤) (fun i => sections R X U P (U i)) |
| 57 | (fun i => restriction R X U P (U i)) n (fun i => member_exactAt R X U P i n hn) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.SectionsExactness.CechSectionsExactness |