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.Mixed.SheafQuasiIsoLocality |
| 2 | |
| 3 | /-! # Conservative Exact Family -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ConservativeExactFamily.Family |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A family of exact functors which detects zero objects also detects quasi-isomorphisms. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u v w z t |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] [Abelian C] {ι : Type t} |
| 16 | {D : ι → Type w} [∀ i, Category.{z} (D i)] [∀ i, Abelian (D i)] |
| 17 | (F : ∀ i, C ⥤ D i) [∀ i, (F i).Additive] |
| 18 | [∀ i, PreservesFiniteLimits (F i)] [∀ i, PreservesFiniteColimits (F i)] |
| 19 | (hzero : ∀ X : C, (∀ i, IsZero ((F i).obj X)) → IsZero X) |
| 20 | |
| 21 | include hzero in |
| 22 | theorem isIso {X Y : C} (f : X ⟶ Y) (hf : ∀ i, IsIso ((F i).map f)) : IsIso f := by |
| 23 | have hk : IsZero (kernel f) := hzero (kernel f) (fun i => by |
| 24 | let : IsIso ((F i).map f) := hf i |
| 25 | exact (isZero_kernel_of_mono ((F i).map f)).of_iso (PreservesKernel.iso (F i) f)) |
| 26 | have hc : IsZero (cokernel f) := hzero (cokernel f) (fun i => by |
| 27 | let : IsIso ((F i).map f) := hf i |
| 28 | exact (isZero_cokernel_of_epi ((F i).map f)).of_iso (PreservesCokernel.iso (F i) f)) |
| 29 | let : Mono f := Abelian.mono_of_kernel_ι_eq_zero f (hk.eq_of_src _ _) |
| 30 | let : Epi f := Abelian.epi_of_cokernel_π_eq_zero f (hc.eq_of_tgt _ _) |
| 31 | exact isIso_of_mono_of_epi f |
| 32 | |
| 33 | include hzero in |
| 34 | theorem quasiIso_complex {α : Type*} {c : ComplexShape α} {K L : HomologicalComplex C c} (f : K ⟶ L) |
| 35 | (hf : ∀ i, QuasiIso (((F i).mapHomologicalComplex c).map f)) : QuasiIso f := by |
| 36 | constructor |
| 37 | intro n |
| 38 | apply (quasiIsoAt_iff_isIso_homologyMap f n).mpr |
| 39 | apply isIso F hzero |
| 40 | intro i |
| 41 | let hm : IsIso (HomologicalComplex.homologyMap (((F i).mapHomologicalComplex c).map f) n) := |
| 42 | (quasiIsoAt_iff_isIso_homologyMap _ n).mp ((hf i).quasiIsoAt n) |
| 43 | let eK := (K.sc n).mapHomologyIso (F i) |
| 44 | let eL := (L.sc n).mapHomologyIso (F i) |
| 45 | have h : HomologicalComplex.homologyMap (((F i).mapHomologicalComplex c).map f) n ≫ eL.hom = |
| 46 | eK.hom ≫ (F i).map (HomologicalComplex.homologyMap f n) := |
| 47 | ShortComplex.mapHomologyIso_hom_naturality |
| 48 | ((HomologicalComplex.shortComplexFunctor C c n).map f) (F i) |
| 49 | let : IsIso eK.hom := eK.isIso_hom |
| 50 | let : IsIso eL.hom := eL.isIso_hom |
| 51 | have hc : IsIso (HomologicalComplex.homologyMap (((F i).mapHomologicalComplex c).map f) n ≫ eL.hom) := |
| 52 | IsIso.comp_isIso' hm eL.isIso_hom |
| 53 | have hr : IsIso (eK.hom ≫ (F i).map (HomologicalComplex.homologyMap f n)) := h ▸ hc |
| 54 | exact (isIso_comp_left_iff eK.hom _).mp hr |
| 55 | |
| 56 | include hzero in |
| 57 | theorem quasiIso {K L : CochainComplex C ℕ} (f : K ⟶ L) |
| 58 | (hf : ∀ i, QuasiIso (((F i).mapHomologicalComplex (.up ℕ)).map f)) : QuasiIso f := |
| 59 | quasiIso_complex F hzero f hf |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ConservativeExactFamily.Family |