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.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoverRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.CoverRefinementQuasiIso |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic |
| 4 | |
| 5 | /-! # Base Cech Cover Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BaseCechCoverRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original base-linear Čech refinement on arbitrary affine |
| 12 | covers is a quasi-isomorphism for quasicoherent modules. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite Simplicial |
| 15 | open Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | variable {X S : Scheme.{u}} (π : X ⟶ S) |
| 19 | {ι κ : Type u} (U : ι → X.Opens) (V : κ → X.Opens) |
| 20 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) (M : X.Modules) |
| 21 | |
| 22 | private abbrev forget : ModuleCat.{u} Γ(S, ⊤) ⥤ AddCommGrpCat.{u} := forget₂ _ _ |
| 23 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BaseCechCoverRefinement.forget (S := S) |
| 24 | local notation "P" => OAI.AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M |
| 25 | |
| 26 | def map : AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U ⟶ AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M V := |
| 27 | GeometricComparison.Cech.FamilyRefinement.CechFamilyRefinement.map (FormalCoproduct.mk ι U) (FormalCoproduct.mk κ V) r P |
| 28 | |
| 29 | def forgetIso {ι : Type u} (U : ι → X.Opens) : |
| 30 | ((G).mapHomologicalComplex (.up ℕ)).obj (AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U) ≅ |
| 31 | (cechComplexFunctor U).obj M.presheaf := |
| 32 | AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G (FormalCoproduct.mk ι U).cech P |
| 33 | |
| 34 | theorem forget_natural : |
| 35 | ((G).mapHomologicalComplex (.up ℕ)).map (BaseCechCoverRefinement.map π U V r M) ≫ (forgetIso π M V).hom = |
| 36 | (forgetIso π M U).hom ≫ Cech.CoverRefinement.map U V r M.presheaf := by |
| 37 | apply HomologicalComplex.hom_ext |
| 38 | intro n |
| 39 | change (G).map ((BaseCechCoverRefinement.map π U V r M).f n) ≫ |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G (FormalCoproduct.mk κ V).cech P).hom.f n = |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G (FormalCoproduct.mk ι U).cech P).hom.f n ≫ _ |
| 42 | rw [AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.hom_f, AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.hom_f] |
| 43 | let En := (FormalCoproduct.mk ι U).cech.obj (op ⦋n⦌) |
| 44 | let Em := (FormalCoproduct.mk κ V).cech.obj (op ⦋n⦌) |
| 45 | let a := (FormalCoproduct.cechFunctor.map r).app (op ⦋n⦌) |
| 46 | exact AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.piComparison_natural G |
| 47 | (fun i : En.I => (P).obj (op (En.obj i))) |
| 48 | (fun i : Em.I => (P).obj (op (Em.obj i))) a.f (fun i => (P).map (a.φ i).op) |
| 49 | |
| 50 | def homologyIso {ι : Type u} (U : ι → X.Opens) (n : ℕ) : |
| 51 | (G).obj ((AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).homology n) ≅ |
| 52 | ((cechComplexFunctor U).obj M.presheaf).homology n := |
| 53 | (((AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).sc n).mapHomologyIso G).symm ≪≫ |
| 54 | HomologicalComplex.homologyMapIso (forgetIso π M U) n |
| 55 | |
| 56 | theorem homology_natural (n : ℕ) : |
| 57 | (G).map (HomologicalComplex.homologyMap (BaseCechCoverRefinement.map π U V r M) n) ≫ (homologyIso π M V n).hom = |
| 58 | (homologyIso π M U n).hom ≫ |
| 59 | HomologicalComplex.homologyMap (Cech.CoverRefinement.map U V r M.presheaf) n := |
| 60 | GeometricComparison.ExactHomology.ExactHomologyComparison.naturality G (.up ℕ) |
| 61 | (forgetIso π M U) (forgetIso π M V) (BaseCechCoverRefinement.map π U V r M) |
| 62 | (Cech.CoverRefinement.map U V r M.presheaf) (forget_natural π U V r M) n |
| 63 | |
| 64 | variable [X.IsSeparated] [M.IsQuasicoherent] |
| 65 | |
| 66 | theorem quasiIso (hU : iSup U = ⊤) (hV : iSup V = ⊤) |
| 67 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) : |
| 68 | QuasiIso (BaseCechCoverRefinement.map π U V r M) := by |
| 69 | have hq : QuasiIso (Cech.CoverRefinement.map U V r M.presheaf) := |
| 70 | Cech.CoverRefinementQuasiIso.quasiIso U V r ((SheafOfModules.toSheaf X.ringCatSheaf).obj M) hU hV |
| 71 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic M U haU) |
| 72 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic M V haV) |
| 73 | rw [_root_.quasiIso_iff] |
| 74 | intro n |
| 75 | let : IsIso (HomologicalComplex.homologyMap (Cech.CoverRefinement.map U V r M.presheaf) n) := |
| 76 | (quasiIsoAt_iff_isIso_homologyMap _ n).mp (hq.quasiIsoAt n) |
| 77 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 78 | have he : (G).map (HomologicalComplex.homologyMap (BaseCechCoverRefinement.map π U V r M) n) = |
| 79 | (homologyIso π M U n).hom ≫ |
| 80 | HomologicalComplex.homologyMap (Cech.CoverRefinement.map U V r M.presheaf) n ≫ |
| 81 | (homologyIso π M V n).inv := by |
| 82 | apply (cancel_mono (homologyIso π M V n).hom).mp |
| 83 | simpa only [Category.assoc, Iso.inv_hom_id, Category.comp_id] using homology_natural π U V r M n |
| 84 | have : IsIso ((G).map (HomologicalComplex.homologyMap (BaseCechCoverRefinement.map π U V r M) n)) := by |
| 85 | rw [he] |
| 86 | infer_instance |
| 87 | exact isIso_of_reflects_iso (HomologicalComplex.homologyMap (BaseCechCoverRefinement.map π U V r M) n) G |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BaseCechCoverRefinement |