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.TransportEdges |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.CoefficientQuasiIso |
| 3 | |
| 4 | /-! # Transport Cohomology -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.TransportCohomology |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The balanced mixed-total comparison is natural for original Ext. |
| 11 | Only the two endpoint coefficient resolutions are injective. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | open Abelian |
| 16 | |
| 17 | universe u v u' v' z t |
| 18 | |
| 19 | private theorem through_edges {A : Type*} [Category A] {U V U' V' E E' : A} |
| 20 | (e : U ≅ V) (e' : U' ≅ V') (m : V ⟶ V') (a : U ⟶ U') |
| 21 | (h : U ⟶ E) (h' : U' ⟶ E') (f : E ⟶ E') |
| 22 | (hm : e.hom ≫ m = a ≫ e'.hom) (ha : a ≫ h' = h ≫ f) : |
| 23 | m ≫ (e'.inv ≫ h') = (e.inv ≫ h) ≫ f := by |
| 24 | apply (cancel_epi e.hom).mp |
| 25 | calc |
| 26 | e.hom ≫ (m ≫ (e'.inv ≫ h')) = (e.hom ≫ m) ≫ (e'.inv ≫ h') := |
| 27 | (Category.assoc _ _ _).symm |
| 28 | _ = (a ≫ e'.hom) ≫ (e'.inv ≫ h') := congrArg (fun b => b ≫ (e'.inv ≫ h')) hm |
| 29 | _ = a ≫ h' := by simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 30 | _ = h ≫ f := ha |
| 31 | _ = e.hom ≫ ((e.inv ≫ h) ≫ f) := by simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 32 | |
| 33 | variable {C : Type u} [Category.{v} C] [Abelian C] [HasExt.{z} C] |
| 34 | {D : Type u'} [Category.{v'} D] [Abelian D] [HasExt.{z} D] |
| 35 | (F : C ⥤ D) [F.Additive] [PreservesFiniteLimits F] [PreservesFiniteColimits F] |
| 36 | (R : Type t) [CommRing R] [Linear R C] [Linear R D] [F.Linear R] |
| 37 | {Z Y : C} {W Y' : D} (I : InjectiveResolution Y) (J : InjectiveResolution Y') |
| 38 | (γ : (F.mapHomologicalComplex (.up ℕ)).obj I.cocomplex ⟶ J.cocomplex) |
| 39 | (g : W ⟶ F.obj Z) (a : F.obj Y ⟶ Y') |
| 40 | (hγ : F.map (I.ι.f 0) ≫ γ.f 0 = a ≫ J.ι.f 0) |
| 41 | |
| 42 | def extMap (i : ℕ) : ModuleCat.of R (Ext.{z} Z Y i) ⟶ ModuleCat.of R (Ext.{z} W Y' i) := |
| 43 | IntegralComparison.Ext.ExactFunctorModule.component F R Z i Y ≫ |
| 44 | ModuleCat.ofHom ((Ext.mk₀ a).postcompOfLinear R (F.obj Z) (add_zero i)) ≫ |
| 45 | (IntegralComparison.Ext.ContravariantModuleFunctor.functor R Y' i).map g.op |
| 46 | |
| 47 | include hγ in |
| 48 | theorem section_homology (i : ℕ) : |
| 49 | HomologicalComplex.homologyMap (AlgebraicGeometry.Crystalline.Cohomology.Acyclic.TransportNaturality.AcyclicTransportNaturality.sectionMap R F Z g γ) i ≫ |
| 50 | (InjectiveSectionCohomology.homologyIso R W J i).hom = |
| 51 | (InjectiveSectionCohomology.homologyIso R Z I i).hom ≫ extMap F R g a i := by |
| 52 | apply ModuleCat.hom_ext |
| 53 | apply LinearMap.ext |
| 54 | intro x |
| 55 | cases i with |
| 56 | | zero => |
| 57 | exact AlgebraicGeometry.Crystalline.Cohomology.Acyclic.TransportNaturality.AcyclicTransportNaturality.naturality R F Z g γ I.ι J.ι a hγ |
| 58 | (fun b q => Ext.subsingleton_of_injective Z (I.cocomplex.X b) q) |
| 59 | (fun b q => Ext.subsingleton_of_injective (F.obj Z) (J.cocomplex.X b) q) |
| 60 | (fun b q => Ext.subsingleton_of_injective W (J.cocomplex.X b) q) 0 x |
| 61 | | succ i => |
| 62 | exact AlgebraicGeometry.Crystalline.Cohomology.Acyclic.TransportNaturality.AcyclicTransportNaturality.naturality R F Z g γ I.ι J.ι a hγ |
| 63 | (fun b q => Ext.subsingleton_of_injective Z (I.cocomplex.X b) q) |
| 64 | (fun b q => Ext.subsingleton_of_injective (F.obj Z) (J.cocomplex.X b) q) |
| 65 | (fun b q => Ext.subsingleton_of_injective W (J.cocomplex.X b) q) (i + 1) x |
| 66 | |
| 67 | variable (P : ChainComplex C ℕ) (Q : ChainComplex D ℕ) |
| 68 | (β : Q ⟶ (F.mapHomologicalComplex (.down ℕ)).obj P) |
| 69 | (ε : P ⟶ (ChainComplex.single₀ C).obj Z) (η : Q ⟶ (ChainComplex.single₀ D).obj W) |
| 70 | [QuasiIso ε] [QuasiIso η] (hβ : β.f 0 ≫ F.map (ε.f 0) = η.f 0 ≫ g) |
| 71 | |
| 72 | local instance moduleCoproducts : HasCoproducts.{0} (ModuleCat.{z} R) := |
| 73 | fun A => (ModuleCat.hasColimitsOfSize.{z, t, 0, 0} R).has_colimits_of_shape (Discrete A) |
| 74 | |
| 75 | include hγ hβ in |
| 76 | theorem total_homology (i : ℕ) : |
| 77 | HomologicalComplex.homologyMap (TransportEdges.totalMap F R P Q β γ) i ≫ |
| 78 | (Total.homologyIso R Q η J i).hom = |
| 79 | (Total.homologyIso R P ε I i).hom ≫ extMap F R g a i := by |
| 80 | let e := Total.edge R P ε I.cocomplex |
| 81 | let e' := Total.edge R Q η J.cocomplex |
| 82 | let m := TransportEdges.totalMap F R P Q β γ |
| 83 | let s := AlgebraicGeometry.Crystalline.Cohomology.Acyclic.TransportNaturality.AcyclicTransportNaturality.sectionMap R F Z g γ |
| 84 | let : QuasiIso e := Total.edge_quasiIso R P ε I.cocomplex I.injective |
| 85 | let : QuasiIso e' := Total.edge_quasiIso R Q η J.cocomplex J.injective |
| 86 | have hs : HomologicalComplex.homologyMap e i ≫ HomologicalComplex.homologyMap m i = |
| 87 | HomologicalComplex.homologyMap s i ≫ HomologicalComplex.homologyMap e' i := |
| 88 | (HomologicalComplex.homologyMap_comp e m i).symm.trans |
| 89 | ((congrArg (fun b => HomologicalComplex.homologyMap b i) |
| 90 | (TransportEdges.source_edge F R P Q β γ ε η g hβ)).trans |
| 91 | (HomologicalComplex.homologyMap_comp s e' i)) |
| 92 | exact through_edges (isoOfQuasiIsoAt e i) (isoOfQuasiIsoAt e' i) |
| 93 | (HomologicalComplex.homologyMap m i) (HomologicalComplex.homologyMap s i) |
| 94 | (InjectiveSectionCohomology.homologyIso R Z I i).hom |
| 95 | (InjectiveSectionCohomology.homologyIso R W J i).hom (extMap F R g a i) hs |
| 96 | (section_homology F R I J γ g a hγ i) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ResolutionHom.TransportCohomology |