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.GlobalConeQuasiIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ResolutionQuasiIso |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.PresheafMapQuasiIso |
| 4 | |
| 5 | /-! # Global Resolution Quasi Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.GlobalResolutionQuasiIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine global level cone computes injective sections when its |
| 12 | open Čech augmentation and target section comparison do. Source-cone |
| 13 | normalization and section cancellation are combined before specialization. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | universe u v w z r |
| 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} [SemilatticeInf 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 | [HasProducts.{0} (Sheaf J (ModuleCat.{w} R))] |
| 27 | [HasCoproducts.{0} (Sheaf J (ModuleCat.{w} R))] |
| 28 | {ι : Type} [Finite ι] (U : ι → D) |
| 29 | (Q : Dᵒᵖ ⥤ CochainComplex (ModuleCat.{w} R) ℕ) |
| 30 | (P : Dᵒᵖ ⥤ CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ) |
| 31 | (a : Q ⋙ (constantSheaf J (ModuleCat.{w} R)).mapHomologicalComplex (.up ℕ) ⟶ P) |
| 32 | |
| 33 | local instance constZero : (Functor.const Dᵒᵖ : ModuleCat.{max w z} R ⥤ |
| 34 | Dᵒᵖ ⥤ ModuleCat.{max w z} R).PreservesZeroMorphisms where |
| 35 | map_zero _ _ := rfl |
| 36 | |
| 37 | variable (ψ : Q ⋙ (ModuleCat.uliftFunctor.{z,w} R).mapHomologicalComplex (.up ℕ) ⋙ |
| 38 | (Functor.const Dᵒᵖ).mapHomologicalComplex (.up ℕ) ⟶ P ⋙ G.mapHomologicalComplex (.up ℕ)) |
| 39 | (hψ : ConstantSection.OpenTotal.transformation.{u,v,w,z,r,r} R J F G e.hom b Q P a = ψ) |
| 40 | (h : QuasiIso (Cech.PresheafGlobalAugmentation.map R U |
| 41 | (Q ⋙ (ModuleCat.uliftFunctor.{z,w} R).mapHomologicalComplex (.up ℕ)) |
| 42 | (P ⋙ G.mapHomologicalComplex (.up ℕ)) ψ)) |
| 43 | {K I : CochainComplex (Sheaf J (ModuleCat.{w} R)) ℕ} |
| 44 | (t : K ≅ GeometricComparison.CechCone.Total.CechConeTotal.total U P) (f : K ⟶ I) |
| 45 | (hmap : QuasiIso ((GeometricComparison.CechCone.TotalFunctor.CechConeTotalFunctor.functor U).map |
| 46 | (HomologicalComplex.complexOfFunctorsToFunctorToComplex.map |
| 47 | ((G.mapHomologicalComplex (.up ℕ)).map f)))) |
| 48 | (hedge : QuasiIso (Presheaf.ConeQuasiIso.map (A := ModuleCat.{max w z} R) U |
| 49 | (M := (F.mapHomologicalComplex (.up ℕ)).obj I) |
| 50 | ((b.mapHomologicalComplex (.up ℕ)).app I))) |
| 51 | |
| 52 | include hψ h hmap hedge in |
| 53 | theorem quasiIso : |
| 54 | QuasiIso (ConstantSection.ComplexMap.map.{u,v,w,z} R J |
| 55 | (GeometricComparison.CechCone.Total.CechConeTotal.total U Q) I |
| 56 | (GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map (constantSheaf J (ModuleCat.{w} R)) U Q P a ≫ t.inv ≫ f)) := ConstantSection.ResolutionQuasiIso.quasiIso.{u,v,w,z,r,r} |
| 57 | R J F G e b U (GeometricComparison.CechCone.Total.CechConeTotal.total U Q) |
| 58 | (GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map (constantSheaf J (ModuleCat.{w} R)) U Q P a) t f |
| 59 | (ConstantSection.GlobalConeQuasiIso.quasiIso R J F G e.hom b U Q P a ψ hψ h) |
| 60 | hmap hedge |
| 61 | |
| 62 | include hψ h hedge in |
| 63 | omit hmap in |
| 64 | theorem quasiIso_of_evaluation |
| 65 | (hv : ∀ (j : ℕ) (d : Fin (j+1) → ι), QuasiIso |
| 66 | ((((CategoryTheory.evaluation Dᵒᵖ (ModuleCat.{max w z} R)).obj |
| 67 | (Opposite.op (∏ᶜ (U ∘ d)))).mapHomologicalComplex (.up ℕ)).map |
| 68 | ((G.mapHomologicalComplex (.up ℕ)).map f))) : |
| 69 | QuasiIso (ConstantSection.ComplexMap.map.{u,v,w,z} R J |
| 70 | (GeometricComparison.CechCone.Total.CechConeTotal.total U Q) I |
| 71 | (GeometricComparison.CechCone.TotalLevelMap.CechConeTotalLevelMap.map (constantSheaf J (ModuleCat.{w} R)) U Q P a ≫ t.inv ≫ f)) := |
| 72 | quasiIso R J F G e b U Q P a ψ hψ h t f |
| 73 | (Cech.ConeDiagramQuasiIso.quasiIso.{r,r,w,z} R U |
| 74 | (HomologicalComplex.complexOfFunctorsToFunctorToComplex.map |
| 75 | ((G.mapHomologicalComplex (.up ℕ)).map f)) (fun j d => hv j d)) |
| 76 | hedge |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.GlobalResolutionQuasiIso |