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.FrameCech.ExtCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.FunctorCoordinates |
| 3 | |
| 4 | /-! # Presheaf -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.Presheaf.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual original Ext resolution cochains are identified with any canonically isomorphic coefficient presheaf Čech complex. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 13 | |
| 14 | universe u v z |
| 15 | |
| 16 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 17 | {ι : Type v} (F : ι → C) (R : Type (max u v)) [CommRing R] (J : GrothendieckTopology C) |
| 18 | [HasExt.{max u v z} (Sheaf J (ModuleCat.{max u v} R))] |
| 19 | (H : Sheaf J (ModuleCat.{max u v} R)) (P : Cᵒᵖ ⥤ ModuleCat.{max u v} R) (e : P ≅ H.obj) |
| 20 | |
| 21 | local instance moduleProducts : HasProducts.{v} (ModuleCat.{max u v} R) := by |
| 22 | let h : HasLimitsOfSize.{v, v} (ModuleCat.{max u v} R) := |
| 23 | ModuleCat.hasLimitsOfSize.{v, v, max u v, max u v} |
| 24 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 25 | |
| 26 | def complex : CochainComplex (ModuleCat.{max u v z} R) ℕ := |
| 27 | ((ModuleCat.uliftFunctor.{z, max u v} R).mapHomologicalComplex (.up ℕ)).obj |
| 28 | (Differential.complex F R P) |
| 29 | |
| 30 | def comparison : Acyclic.ChainCohomology.complex R H |
| 31 | (CoveringPresentationResolution.complex J R F) ≅ complex F R P := |
| 32 | FrameCech.Ext.Comparison.comparison F R J H ≪≫ |
| 33 | ((ModuleCat.uliftFunctor.{z, max u v} R).mapHomologicalComplex (.up ℕ)).mapIso |
| 34 | ((NonemptyCechNerve.complexFunctor F).mapIso e.symm) |
| 35 | |
| 36 | theorem coordinate_mk (n : ℕ) (t : Fin (n + 1) → ι) |
| 37 | (f : (CoveringPresentationResolution.complex J R F).X n ⟶ H) : |
| 38 | Differential.coordinate F R P n t |
| 39 | (((comparison F R J H P e).hom.f n (Abelian.Ext.mk₀ f)).down) = |
| 40 | e.inv.app (op (Presentation.TupleProducts.family F n t)) |
| 41 | (Presentation.ResolutionCoordinates.sheaf F R n J H f t) := by |
| 42 | have h := congrArg (fun a => a (((FrameCech.Ext.Comparison.comparison F R J H).hom.f n (Abelian.Ext.mk₀ f)).down)) |
| 43 | (FunctorCoordinates.coordinate F R e.inv n t) |
| 44 | exact h.trans (congrArg (e.inv.app (op (Presentation.TupleProducts.family F n t))) |
| 45 | (ExtCoordinates.coordinate_mk F R J H n t f)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.Presheaf.Comparison |