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.AugmentedOrdered.Cech |
| 2 | import Mathlib.CategoryTheory.Preadditive.FunctorCategory |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Finite.TotalComparison |
| 4 | |
| 5 | /-! # Cech Functor -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechFunctor |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Functoriality of the genuine augmented ordered Čech complex. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite |
| 13 | universe u v |
| 14 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 15 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 16 | {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 17 | |
| 18 | def objectMap {P Q : Cᵒᵖ ⥤ D} (f : P ⟶ Q) (n : ℕ) : Cech.object U P n ⟶ Cech.object U Q n := |
| 19 | ((FormalCoproduct.evalOp C D).map f).app (op (Cech.formal U n)) |
| 20 | |
| 21 | omit [Preadditive D] in |
| 22 | theorem objectMap_coface {P Q : Cᵒᵖ ⥤ D} (f : P ⟶ Q) (n : ℕ) (k : Fin (n + 1)) : |
| 23 | objectMap U f n ≫ Cech.coface U Q n k = Cech.coface U P n k ≫ objectMap U f (n + 1) := |
| 24 | (((FormalCoproduct.evalOp C D).map f).naturality (Cech.face U n k).op).symm |
| 25 | |
| 26 | theorem objectMap_differential {P Q : Cᵒᵖ ⥤ D} (f : P ⟶ Q) (n : ℕ) : |
| 27 | objectMap U f n ≫ Cech.differential U Q n = Cech.differential U P n ≫ objectMap U f (n + 1) := by |
| 28 | simp only [Cech.differential, comp_sum, sum_comp, comp_zsmul, zsmul_comp, objectMap_coface] |
| 29 | |
| 30 | def complexMap {P Q : Cᵒᵖ ⥤ D} (f : P ⟶ Q) : Cech.complex U P ⟶ Cech.complex U Q := |
| 31 | CochainComplex.ofHom (fun n => objectMap U f n) (fun n => by |
| 32 | dsimp only [Cech.complex] |
| 33 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 34 | exact objectMap_differential U f n) |
| 35 | |
| 36 | def functor : (Cᵒᵖ ⥤ D) ⥤ CochainComplex D ℕ where |
| 37 | obj := Cech.complex U |
| 38 | map := complexMap U |
| 39 | map_id P := by |
| 40 | apply HomologicalComplex.Hom.ext |
| 41 | funext n |
| 42 | change ((FormalCoproduct.evalOp C D).map (𝟙 P)).app (op (Cech.formal U n)) = 𝟙 _ |
| 43 | rw [CategoryTheory.Functor.map_id] |
| 44 | rfl |
| 45 | map_comp f g := by |
| 46 | apply HomologicalComplex.Hom.ext |
| 47 | funext n |
| 48 | change ((FormalCoproduct.evalOp C D).map (f ≫ g)).app (op (Cech.formal U n)) = _ |
| 49 | rw [CategoryTheory.Functor.map_comp] |
| 50 | rfl |
| 51 | |
| 52 | instance additive : (functor U (D := D)).Additive where |
| 53 | map_add {P Q} f g := by |
| 54 | apply HomologicalComplex.Hom.ext |
| 55 | funext n |
| 56 | change (Limits.Pi.map (fun i : Cech.Index ι n => (f + g).app (op ((Cech.formal U n).obj i)))) = |
| 57 | Limits.Pi.map (fun i : Cech.Index ι n => f.app (op ((Cech.formal U n).obj i))) + |
| 58 | Limits.Pi.map (fun i : Cech.Index ι n => g.app (op ((Cech.formal U n).obj i))) |
| 59 | apply Pi.hom_ext |
| 60 | intro i |
| 61 | simp only [Pi.map_π, add_comp] |
| 62 | exact Preadditive.comp_add _ _ _ |
| 63 | (Pi.π (fun j : Cech.Index ι n => P.obj (op ((Cech.formal U n).obj j))) i) |
| 64 | (f.app (op ((Cech.formal U n).obj i))) (g.app (op ((Cech.formal U n).obj i))) |
| 65 | |
| 66 | def bicomplex (K : CochainComplex (Cᵒᵖ ⥤ D) ℕ) : |
| 67 | HomologicalComplex₂ D (.up ℕ) (.up ℕ) := |
| 68 | ((functor U).mapHomologicalComplex (.up ℕ)).obj K |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechFunctor |