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.ResolutionHom.CoefficientEdge |
| 2 | |
| 3 | /-! # Coefficient Quasi Iso -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.CoefficientQuasiIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! For a coefficient injective resolution and a source complex whose |
| 10 | terms are acyclic for that coefficient, the actual coefficient edge into |
| 11 | the mixed Hom total is a quasi-isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u v z t |
| 16 | |
| 17 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 18 | (R : Type t) [CommRing R] [Linear R C] (P : ChainComplex C ℕ) |
| 19 | {Y : C} (I : InjectiveResolution Y) |
| 20 | |
| 21 | local instance moduleCoproducts : HasCoproducts.{0} (ModuleCat.{z} R) := |
| 22 | fun J => (ModuleCat.hasColimitsOfSize.{z, t, 0, 0} R).has_colimits_of_shape (Discrete J) |
| 23 | |
| 24 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.Bicomplex.bicomplex R P I.cocomplex |
| 25 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.CoefficientEdge.rowMap R P I.cocomplex I.ι |
| 26 | |
| 27 | def columnIso (a : ℕ) : ((D).flip).X a ≅ InjectiveSectionCohomology.complex R (P.X a) I := |
| 28 | Iso.refl _ |
| 29 | |
| 30 | theorem augmented_column (a : ℕ) : |
| 31 | (ShortComplex.mk ((e).f a) (((D).flip.X a).d 0 1) |
| 32 | (CoefficientEdge.vertical R P I.cocomplex I.ι a)).Exact ∧ Mono ((e).f a) := by |
| 33 | have h := Augmented.ResolutionCycles.augmentation_exact_and_mono I.cocomplex I.ι |
| 34 | let : Mono (I.ι.f 0) := h.2 |
| 35 | let S := ShortComplex.mk (I.ι.f 0) (I.cocomplex.d 0 1) |
| 36 | (Augmented.ResolutionCycles.augmentation_condition I.cocomplex I.ι) |
| 37 | let : Mono S.f := h.2 |
| 38 | have hs : S.Exact := h.1 |
| 39 | exact ⟨IntegralComparison.Ext.ZeroKernels.map_exact R (P.X a) S hs, |
| 40 | IntegralComparison.Ext.ZeroKernels.map_mono R (P.X a) (I.ι.f 0)⟩ |
| 41 | |
| 42 | variable (hP : ∀ a q, Subsingleton (Abelian.Ext.{z} (P.X a) Y (q + 1))) |
| 43 | |
| 44 | include hP in |
| 45 | theorem column_exact (a q : ℕ) : ((D).flip.X a).ExactAt (q + 1) := by |
| 46 | let : Subsingleton (Abelian.Ext.{z} (P.X a) Y (q + 1)) := hP a q |
| 47 | apply (HomologicalComplex.exactAt_iff_isZero_homology _ _).mpr |
| 48 | exact IsZero.of_iso (ModuleCat.isZero_of_subsingleton _) |
| 49 | (HomologicalComplex.homologyMapIso (columnIso R P I a) (q + 1) ≪≫ |
| 50 | InjectiveSectionCohomology.homologyIso R (P.X a) I (q + 1)) |
| 51 | |
| 52 | include hP in |
| 53 | theorem edge_quasiIso : QuasiIso (CoefficientEdge.edge R P I.cocomplex I.ι) := by |
| 54 | let h := CoefficientEdge.horizontal R P I.cocomplex I.ι |
| 55 | let w := CoefficientEdge.vertical R P I.cocomplex I.ι |
| 56 | have he : QuasiIso ((AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge (D).flip) |
| 57 | (Acyclic.ChainCohomology.complex R Y P) (fun a => (e).f a) h w) := |
| 58 | Module.HorizontalTotal.Comparison.quasiIso R (D).flip |
| 59 | (Acyclic.ChainCohomology.complex R Y P) (fun a => (e).f a) h w |
| 60 | (fun a => (augmented_column R P I a).1) (fun a => (augmented_column R P I a).2) |
| 61 | (column_exact R P I hP) |
| 62 | have hf : QuasiIso ((D).totalFlipIso (.up ℕ)).hom := quasiIso_of_isIso _ |
| 63 | exact quasiIso_comp _ _ (hφ := he) (hφ' := hf) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.CoefficientQuasiIso |