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.OrderedCech.Projection |
| 2 | |
| 3 | /-! # Functor -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Functor.Projection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original ordered nonempty Čech complex as an additive functor |
| 10 | of its coefficient presheaf. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u v |
| 15 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 16 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 17 | {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 18 | |
| 19 | def complexMap {P Q : Cᵒᵖ ⥤ D} (f : P ⟶ Q) : Projection.complex U P ⟶ Projection.complex U Q := |
| 20 | CochainComplex.ofHom (fun n => AugmentedOrdered.CechFunctor.objectMap U f (n + 1)) |
| 21 | (fun n => by |
| 22 | simpa only [Projection.complex, CochainComplex.of_d, Projection.differential] using |
| 23 | AugmentedOrdered.CechFunctor.objectMap_differential U f (n + 1)) |
| 24 | |
| 25 | def functor : (Cᵒᵖ ⥤ D) ⥤ CochainComplex D ℕ where |
| 26 | obj := Projection.complex U |
| 27 | map := complexMap U |
| 28 | map_id P := by |
| 29 | apply HomologicalComplex.Hom.ext |
| 30 | funext n |
| 31 | exact congrArg (fun f => f.f (n + 1)) (AugmentedOrdered.CechFunctor.functor U |>.map_id P) |
| 32 | map_comp f g := by |
| 33 | apply HomologicalComplex.Hom.ext |
| 34 | funext n |
| 35 | exact congrArg (fun f => f.f (n + 1)) (AugmentedOrdered.CechFunctor.functor U |>.map_comp f g) |
| 36 | |
| 37 | instance additive : (functor U (D := D)).Additive where |
| 38 | map_add {P Q} f g := by |
| 39 | apply HomologicalComplex.Hom.ext |
| 40 | funext n |
| 41 | exact congrArg (fun h => h.f (n + 1)) |
| 42 | ((AugmentedOrdered.CechFunctor.functor U).map_add (f := f) (g := g)) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Functor.Projection |