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.SectionsExactness |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.CochainAugmentation |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.LocalizedLeft |
| 4 | |
| 5 | /-! # Augmented Sections -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.AugmentedSections.CechAugmentedSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The canonical augmentation on Čech sections |
| 13 | |
| 14 | The already constructed Čech augmentation identifies sections with |
| 15 | zero-cocycles on a cover member. Left exactness descends to global |
| 16 | sections when coefficients and zero-cochains localize on that cover. |
| 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 presheafInitial : ShortComplex (Presheaf.CechPresheaf.Presheaves R X) := |
| 27 | CochainAugmentation.CochainAugmentationCriterion.initialShort (Presheaf.CechPresheaf.augmentation R X U P) |
| 28 | (HomologicalComplex.single_obj_d _ _ _ _ _) |
| 29 | |
| 30 | def initial (V : X.Opens) : ShortComplex (ModuleCat.{u} R) := |
| 31 | (presheafInitial R X U P).map ((evaluation X.Opensᵒᵖ (ModuleCat.{u} R)).obj (op V)) |
| 32 | |
| 33 | def restriction (V : X.Opens) : initial R X U P ⊤ ⟶ initial R X U P V := |
| 34 | (presheafInitial R X U P).mapNatTrans |
| 35 | ((evaluation X.Opensᵒᵖ (ModuleCat.{u} R)).map V.leTop.op) |
| 36 | |
| 37 | def augmentation (V : X.Opens) := |
| 38 | (((evaluation X.Opensᵒᵖ (ModuleCat.{u} R)).obj (op V)).mapHomologicalComplex |
| 39 | (ComplexShape.up ℕ)).map (Presheaf.CechPresheaf.augmentation R X U P) |
| 40 | |
| 41 | theorem member_leftExact (i : ι) : |
| 42 | (initial R X U P (U i)).Exact ∧ Mono (initial R X U P (U i)).f := by |
| 43 | let G := Cover.CechRestriction.restrictionFunctor R (U i).ι |
| 44 | let E := (evaluation (U i).toScheme.Opensᵒᵖ (ModuleCat.{u} R)).obj (op ⊤) |
| 45 | let a := (G.mapHomologicalComplex (ComplexShape.up ℕ)).map (Presheaf.CechPresheaf.augmentation R X U P) |
| 46 | have ha : QuasiIso a := AugmentationRestriction.CechAugmentationRestriction.restricted_augmentation_quasiIso R P U i |
| 47 | have hK : ((G.mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 48 | ((CochainComplex.single₀ (Presheaf.CechPresheaf.Presheaves R X)).obj P)).d 0 1 = 0 := by |
| 49 | exact (congrArg G.map (HomologicalComplex.single_obj_d (ComplexShape.up ℕ) 0 P 0 1)).trans |
| 50 | (G.map_zero _ _) |
| 51 | have hi : ((presheafInitial R X U P).map G).Exact ∧ |
| 52 | Mono ((presheafInitial R X U P).map G).f := |
| 53 | (CochainAugmentation.CochainAugmentationCriterion.quasiIsoAt_zero_iff a hK).mp (ha.quasiIsoAt 0) |
| 54 | have hm : Mono ((presheafInitial R X U P).map G).f := hi.2 |
| 55 | have he : (((presheafInitial R X U P).map G).map E).Exact ∧ |
| 56 | Mono (((presheafInitial R X U P).map G).map E).f := |
| 57 | ⟨hi.1.map E, by change Mono (E.map ((presheafInitial R X U P).map G).f); infer_instance⟩ |
| 58 | change (initial R X U P ((U i).ι ''ᵁ ⊤)).Exact ∧ |
| 59 | Mono (initial R X U P ((U i).ι ''ᵁ ⊤)).f at he |
| 60 | rwa [Scheme.Opens.ι_image_top] at he |
| 61 | |
| 62 | theorem global_leftExact (s : ι → R) (hs : Ideal.span (Set.range s) = ⊤) |
| 63 | [∀ i, IsLocalizedModule (Submonoid.powers (s i)) (P.map (U i).leTop.op).hom] |
| 64 | [∀ i, IsLocalizedModule (Submonoid.powers (s i)) |
| 65 | ((SectionsExactness.CechSectionsExactness.restriction R X U P (U i)).f 0).hom] : |
| 66 | (initial R X U P ⊤).Exact ∧ Mono (initial R X U P ⊤).f := by |
| 67 | have : ∀ i, IsLocalizedModule (Submonoid.powers (s i)) |
| 68 | ((restriction R X U P (U i)).τ₁).hom := by |
| 69 | intro i |
| 70 | change IsLocalizedModule (Submonoid.powers (s i)) (P.map (U i).leTop.op).hom |
| 71 | infer_instance |
| 72 | have : ∀ i, IsLocalizedModule (Submonoid.powers (s i)) |
| 73 | ((restriction R X U P (U i)).τ₂).hom := by |
| 74 | intro i |
| 75 | change IsLocalizedModule (Submonoid.powers (s i)) |
| 76 | ((SectionsExactness.CechSectionsExactness.restriction R X U P (U i)).f 0).hom |
| 77 | infer_instance |
| 78 | exact LocalizedLeft.LocalizedLeftExactness.leftExact R ι s hs (initial R X U P ⊤) |
| 79 | (fun i => initial R X U P (U i)) (fun i => restriction R X U P (U i)) |
| 80 | (fun i => member_leftExact R X U P i) |
| 81 | |
| 82 | theorem quasiIsoAt_zero_iff (V : X.Opens) : |
| 83 | QuasiIsoAt (augmentation R X U P V) 0 ↔ |
| 84 | (initial R X U P V).Exact ∧ Mono (initial R X U P V).f := by |
| 85 | exact CochainAugmentation.CochainAugmentationCriterion.quasiIsoAt_zero_iff (augmentation R X U P V) (by |
| 86 | let E := (evaluation X.Opensᵒᵖ (ModuleCat.{u} R)).obj (op V) |
| 87 | exact (congrArg E.map (HomologicalComplex.single_obj_d (ComplexShape.up ℕ) 0 P 0 1)).trans |
| 88 | (E.map_zero _ _)) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.AugmentedSections.CechAugmentedSections |