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.Supported.OrderedCechExact |
| 2 | |
| 3 | /-! # Ordered Cech -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCech.Comparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The supported Čech comparison and its canonical support-forgetting |
| 10 | map, once the positive rows of the chosen resolution are exact. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | universe u v w z |
| 18 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 19 | {C : Type w} [Preorder C] [HasFiniteProducts C] |
| 20 | (F : C ⥤ Opens X) {ι : Type w} [LinearOrder ι] (U : ι → C) (O : Opens X) |
| 21 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) |
| 22 | (ModuleCat.{max u v w z} R)) ℕ) |
| 23 | (hO : ∀ i, F.obj (U i) ≤ O) |
| 24 | (hcover : F.obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (U i)) |
| 25 | (hrows : ∀ q r, |
| 26 | ((OrderedCechEdge.bicomplex.{u,v,w,z} R X F U K).X q).ExactAt (r + 1)) |
| 27 | |
| 28 | local notation "V" => F.obj (⊤_ C) |
| 29 | |
| 30 | local instance total_exists : |
| 31 | (OrderedCechEdge.bicomplex.{u,v,w,z} R X F U K).HasTotal (.up ℕ) := |
| 32 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 33 | |
| 34 | include hcover hrows in |
| 35 | theorem quasiIso : QuasiIso (OrderedCechEdge.map.{u,v,w,z} R X F U O K hO) := |
| 36 | GeometricComparison.Module.TotalEdge.ModuleTotalEdge.quasiIso.{u,max v w z} R |
| 37 | (OrderedCechEdge.bicomplex.{u,v,w,z} R X F U K) |
| 38 | (OrderedCechEdge.source.{u,v,w,z} R X F O K) |
| 39 | (OrderedCechEdge.component.{u,v,w,z} R X F U O K) |
| 40 | (fun q q' _ => OrderedCechEdge.comm.{u,v,w,z} R X F U O K q q') |
| 41 | (OrderedCechEdge.cocycle.{u,v,w,z} R X F U O K hO) |
| 42 | (OrderedCechExact.exact.{u,v,w,z} R X F U O K hO hcover) |
| 43 | (OrderedCechExact.mono.{u,v,w,z} R X F U O K) hrows |
| 44 | |
| 45 | def homologyIso (i : ℕ) : |
| 46 | (OrderedCechEdge.source.{u,v,w,z} R X F O K).homology i ≅ |
| 47 | ((OrderedCechEdge.bicomplex.{u,v,w,z} R X F U K).total (.up ℕ)).homology i := by |
| 48 | letI := quasiIso.{u,v,w,z} R X F U O K hO hcover hrows |
| 49 | exact isoOfQuasiIsoAt (OrderedCechEdge.map.{u,v,w,z} R X F U O K hO) i |
| 50 | |
| 51 | def forgetSupport (hglobal : V ⊔ O = ⊤) (i : ℕ) : |
| 52 | ((OrderedCechEdge.bicomplex.{u,v,w,z} R X F U K).total (.up ℕ)).homology i ⟶ |
| 53 | (((SectionsExcision.sections (D := ModuleCat.{max u v w z} R) |
| 54 | (⊤ : Opens X)).mapHomologicalComplex (.up ℕ)).obj K).homology i := |
| 55 | (homologyIso.{u,v,w,z} R X F U O K hO hcover hrows i).inv ≫ |
| 56 | HomologicalComplex.homologyMap |
| 57 | (SectionsExcision.extensionComplex O V hglobal K) i |
| 58 | |
| 59 | theorem map_forgetSupport (hglobal : V ⊔ O = ⊤) (i : ℕ) : |
| 60 | HomologicalComplex.homologyMap |
| 61 | (OrderedCechEdge.map.{u,v,w,z} R X F U O K hO) i ≫ |
| 62 | forgetSupport.{u,v,w,z} R X F U O K hO hcover hrows hglobal i = |
| 63 | HomologicalComplex.homologyMap |
| 64 | (SectionsExcision.extensionComplex O V hglobal K) i := by |
| 65 | change (homologyIso.{u,v,w,z} R X F U O K hO hcover hrows i).hom ≫ |
| 66 | ((homologyIso.{u,v,w,z} R X F U O K hO hcover hrows i).inv ≫ _) = _ |
| 67 | rw [← Category.assoc, Iso.hom_inv_id, Category.id_comp] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCech.Comparison |