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.ComplexMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.Coordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.CochainUnit |
| 4 | |
| 5 | /-! # Constant Cochain Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.ConstantCochainCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical section of a sheafified constant-presheaf cochain |
| 12 | map evaluates to the literal sheafification-unit image. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | |
| 16 | universe u v z |
| 17 | variable {C : Type u} [Category.{v} C] (R : Type u) [CommRing R] |
| 18 | (J : GrothendieckTopology C) [HasSheafify J (ModuleCat.{u} R)] |
| 19 | [HasExt.{max u z} (Sheaf J (ModuleCat.{u} R))] |
| 20 | (M : CochainComplex (ModuleCat.{u} R) ℕ) |
| 21 | (P : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ) |
| 22 | (a : ((Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ)).obj M ⟶ P) |
| 23 | |
| 24 | local notation "S" => presheafToSheaf J (ModuleCat R) |
| 25 | |
| 26 | def sheafComplex := ((S).mapHomologicalComplex (.up ℕ)).obj P |
| 27 | |
| 28 | def sheafMap : ((constantSheaf J (ModuleCat.{u} R)).mapHomologicalComplex (.up ℕ)).obj M ⟶ |
| 29 | sheafComplex R J P := ((S).mapHomologicalComplex (.up ℕ)).map a |
| 30 | |
| 31 | def sectionMap := ConstantSection.ComplexMap.map R J M |
| 32 | (sheafComplex R J P) (sheafMap R J M P a) |
| 33 | |
| 34 | theorem coordinates (q : ℕ) (x : M.X q) (V : Cᵒᵖ) : |
| 35 | (Ext.ZeroPresheafSections.equivalence.{u,v,u,z} R J ((sheafComplex R J P).X q) |
| 36 | ((sectionMap R J M P a).f q (ULift.up x))).down.app V (1 : R) = |
| 37 | ((sheafificationAdjunction J (ModuleCat.{u} R)).unit.app (P.X q)).app V |
| 38 | ((a.f q).app V x) := by |
| 39 | have h := ConstantSection.Coordinates.section_apply.{u,v,u,z} R J (M.X q) |
| 40 | ((sheafComplex R J P).X q) ((sheafMap R J M P a).f q) x V (1 : R) |
| 41 | have hn := (sheafificationAdjunction J (ModuleCat.{u} R)).unit.naturality (a.f q) |
| 42 | change _ = _ at h |
| 43 | exact h.trans (by |
| 44 | change (((sheafificationAdjunction J (ModuleCat.{u} R)).unit.app |
| 45 | (((Functor.const Cᵒᵖ).obj (M.X q)))).app V ≫ |
| 46 | ((S).map (a.f q)).hom.app V) ((1 : R) • x) = _ |
| 47 | rw [one_smul] |
| 48 | exact (ConcreteCategory.congr_hom (congrArg (fun b => b.app V) hn) x).symm) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Sheafified.ConstantCochainCoordinates |