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.Open.CoverRefinementQuasiIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BaseCechCoverRefinement |
| 3 | |
| 4 | /-! # Cech Open Cover Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CechOpenCoverRefinement.Base |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The same-open refinement theorem for the original base-linear |
| 11 | module Čech complex, with its literal coefficient structure. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open Scheme.Modules OAI.NumberTheory.PadicHodge.IntegralComparison.BaseCechCoverRefinement |
| 15 | |
| 16 | universe u |
| 17 | variable {X S : Scheme.{u}} (π : X ⟶ S) [X.IsSeparated] |
| 18 | {ι κ : Type u} (U : ι → X.Opens) (V : κ → X.Opens) |
| 19 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 20 | (M : X.Modules) [M.IsQuasicoherent] (O : X.Opens) |
| 21 | |
| 22 | theorem quasiIso (hU : iSup U = O) (hV : iSup V = O) |
| 23 | (haU : ∀ i, IsAffineOpen (U i)) (haV : ∀ i, IsAffineOpen (V i)) : |
| 24 | QuasiIso (GeometricComparison.NonemptyCech.Refinement.NonemptyCechRefinement.map U V r (AlgebraicGeometry.SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M)) := by |
| 25 | let G : ModuleCat.{u} Γ(S, ⊤) ⥤ AddCommGrpCat.{u} := forget₂ _ _ |
| 26 | have hq : QuasiIso (Cech.CoverRefinement.map U V r M.presheaf) := |
| 27 | Open.CoverRefinementQuasiIso.Cech.quasiIso U V r M O hU hV haU haV |
| 28 | rw [_root_.quasiIso_iff] |
| 29 | intro n |
| 30 | let : IsIso (HomologicalComplex.homologyMap (Cech.CoverRefinement.map U V r M.presheaf) n) := |
| 31 | (quasiIsoAt_iff_isIso_homologyMap _ n).mp (hq.quasiIsoAt n) |
| 32 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 33 | have he : G.map (HomologicalComplex.homologyMap (BaseCechCoverRefinement.map π U V r M) n) = |
| 34 | (BaseCechCoverRefinement.homologyIso π M U n).hom ≫ |
| 35 | HomologicalComplex.homologyMap (Cech.CoverRefinement.map U V r M.presheaf) n ≫ |
| 36 | (BaseCechCoverRefinement.homologyIso π M V n).inv := by |
| 37 | apply (cancel_mono (BaseCechCoverRefinement.homologyIso π M V n).hom).mp |
| 38 | simpa only [Category.assoc, Iso.inv_hom_id, Category.comp_id] using |
| 39 | BaseCechCoverRefinement.homology_natural π U V r M n |
| 40 | have : IsIso (G.map (HomologicalComplex.homologyMap (BaseCechCoverRefinement.map π U V r M) n)) := by |
| 41 | rw [he] |
| 42 | infer_instance |
| 43 | exact isIso_of_reflects_iso (HomologicalComplex.homologyMap (BaseCechCoverRefinement.map π U V r M) n) G |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CechOpenCoverRefinement.Base |