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 | |
| 4 | /-! # Cover Refinement Quasi Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoverRefinementQuasiIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The literal affine-cover refinement map is a quasi-isomorphism for |
| 11 | quasicoherent modules in all degrees. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | universe u |
| 16 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 17 | {ι κ : Type u} (U : ι → X.left.Opens) (V : κ → X.left.Opens) |
| 18 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) (M : X.left.Modules) |
| 19 | [X.left.IsSeparated] [M.IsQuasicoherent] |
| 20 | (hU : iSup U = ⊤) (hV : iSup V = ⊤) |
| 21 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) |
| 22 | |
| 23 | include hU hV haU haV in |
| 24 | theorem quasiIso : QuasiIso (CoverRefinement.map R X U V r M) := by |
| 25 | let G := CohomologyNaturality.forgetCoefficients R |
| 26 | let F := (SheafOfModules.toSheaf X.left.ringCatSheaf).obj M |
| 27 | have hq : QuasiIso (Cech.CoverRefinement.map U V r M.presheaf) := |
| 28 | Cech.CoverRefinementQuasiIso.quasiIso U V r F hU hV |
| 29 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic M U haU) |
| 30 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoverCechAcyclicity.IntrinsicCech.quasicoherent_affine_intersections_acyclic M V haV) |
| 31 | rw [_root_.quasiIso_iff] |
| 32 | intro n |
| 33 | let : IsIso (HomologicalComplex.homologyMap (Cech.CoverRefinement.map U V r M.presheaf) n) := |
| 34 | (quasiIsoAt_iff_isIso_homologyMap _ n).mp (hq.quasiIsoAt n) |
| 35 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 36 | have h := CoverRefinement.forget_homology_natural R X U V r M n |
| 37 | have he : G.map (HomologicalComplex.homologyMap (CoverRefinement.map R X U V r M) n) = |
| 38 | (CohomologyNaturality.forgetHomologyIso R X U M n).hom ≫ |
| 39 | HomologicalComplex.homologyMap (Cech.CoverRefinement.map U V r M.presheaf) n ≫ |
| 40 | (CohomologyNaturality.forgetHomologyIso R X V M n).inv := by |
| 41 | apply (cancel_mono (CohomologyNaturality.forgetHomologyIso R X V M n).hom).mp |
| 42 | simpa only [Category.assoc, Iso.inv_hom_id, Category.comp_id] using h |
| 43 | have : IsIso (G.map (HomologicalComplex.homologyMap (CoverRefinement.map R X U V r M) n)) := by |
| 44 | rw [he] |
| 45 | infer_instance |
| 46 | exact isIso_of_reflects_iso (HomologicalComplex.homologyMap (CoverRefinement.map R X U V r M) n) G |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoverRefinementQuasiIso |