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.ConstantSection.OpenTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Open.SectionCechIsomorphicResolution |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexPostcompose |
| 4 | |
| 5 | /-! # Resolution Quasi Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ResolutionQuasiIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical constant-sheaf sections compute an injective target when |
| 12 | their genuine open Čech cone, target map, and injective edge are |
| 13 | quasi-isomorphisms. All comparison cancellations precede specialization. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u v w z r s |
| 18 | variable {C : Type u} [Category.{v} C] (R : Type w) [CommRing R] |
| 19 | (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{w} R)] |
| 20 | [HasExt.{max w z} (Sheaf J (ModuleCat.{w} R))] |
| 21 | {D : Type r} [Category.{s} D] [HasBinaryProducts D] |
| 22 | (F : Sheaf J (ModuleCat.{w} R) ⥤ ModuleCat.{max w z} R) [F.Additive] |
| 23 | (G : Sheaf J (ModuleCat.{w} R) ⥤ Dᵒᵖ ⥤ ModuleCat.{max w z} R) [G.Additive] |
| 24 | (e : Ext.ModuleFunctor.functor R (Module.ConstantSections.constantUnit R J) 0 ≅ F) |
| 25 | (b : F ⋙ Functor.const Dᵒᵖ ⟶ G) |
| 26 | {ι : Type} [Finite ι] (U : ι → D) |
| 27 | (M : CochainComplex (ModuleCat.{w} R) ℕ) |
| 28 | {K K' I : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ} |
| 29 | (a : ((constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ)).obj M ⟶ K') |
| 30 | (t : K ≅ K') (f : K ⟶ I) |
| 31 | |
| 32 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.Ext.ModuleFunctor.functor R (OAI.NumberTheory.PadicHodge.IntegralComparison.Module.ConstantSections.constantUnit R J) 0 |
| 33 | |
| 34 | variable (hsource : QuasiIso (Presheaf.ConeQuasiIso.map U |
| 35 | (OpenTotal.sectionMap.{u,v,w,z,r,s} R J F G e.hom b M K' a))) |
| 36 | (hmap : QuasiIso ((GeometricComparison.CechCone.TotalFunctor.CechConeTotalFunctor.functor U).map |
| 37 | (HomologicalComplex.complexOfFunctorsToFunctorToComplex.map |
| 38 | ((G.mapHomologicalComplex (.up ℕ)).map f)))) |
| 39 | (hedge : QuasiIso (Presheaf.ConeQuasiIso.map (A := ModuleCat.{max w z} R) U |
| 40 | (M := (F.mapHomologicalComplex (.up ℕ)).obj I) |
| 41 | ((b.mapHomologicalComplex (.up ℕ)).app I))) |
| 42 | |
| 43 | /-- Constant sections followed by the original map through the resolving complex. -/ |
| 44 | def resolvedMap := ComplexMap.map R J M K' a ≫ |
| 45 | ((E).mapHomologicalComplex (.up ℕ)).map (t.inv ≫ f) |
| 46 | |
| 47 | private abbrev resolvedMap_quasiIso := |
| 48 | Open.SectionCechIsomorphicResolution.quasiIso E F G e b U t f |
| 49 | (ComplexMap.map R J M K' a) hsource hmap hedge |
| 50 | |
| 51 | include hsource hmap hedge in |
| 52 | omit [Finite ι] in |
| 53 | theorem quasiIso : QuasiIso |
| 54 | (ComplexMap.map.{u,v,w,z} R J M I (a ≫ t.inv ≫ f)) := by |
| 55 | exact ComplexPostcompose.quasiIso R J M a (t.inv ≫ f) |
| 56 | (resolvedMap_quasiIso R J F G e b U M a t f hsource hmap hedge) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ResolutionQuasiIso |