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.GeometricComparison.NonemptyCech.AugmentationNaturality |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CochainLimits |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge |
| 5 | |
| 6 | /-! # Cone Total -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A cone into an actual presheaf complex gives the canonical edge |
| 13 | map to its original Cech total. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 16 | |
| 17 | universe u v a b |
| 18 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 20 | {ι : Type} (U : ι → C) |
| 21 | |
| 22 | local instance cech_additive : (IntegralComparison.NonemptyCechNerve.complexFunctor (A := A) U).Additive := by |
| 23 | change (FormalCoproduct.cochainComplexFunctor (IntegralComparison.NonemptyCechNerve.nerve U)).Additive |
| 24 | infer_instance |
| 25 | |
| 26 | def constant : CochainComplex A ℕ ⥤ CochainComplex (Cᵒᵖ ⥤ A) ℕ := |
| 27 | (Functor.const Cᵒᵖ).mapHomologicalComplex (.up ℕ) |
| 28 | |
| 29 | def bicomplex (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) : HomologicalComplex₂ A (.up ℕ) (.up ℕ) := |
| 30 | ((IntegralComparison.NonemptyCechNerve.complexFunctor U).mapHomologicalComplex (.up ℕ)).obj K |
| 31 | |
| 32 | variable (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) (M : CochainComplex A ℕ) |
| 33 | (η : (constant (C := C)).obj M ⟶ K) |
| 34 | |
| 35 | def component (q : ℕ) : M.X q ⟶ ((CechPresheafConeTotal.bicomplex U K).X q).X 0 := |
| 36 | (NonemptyCech.Augmentation.NonemptyCechAugmentation.restriction U (K.X q) (M.X q) (η.f q)).app ⦋0⦌ |
| 37 | |
| 38 | omit [HasCoproducts.{0} A] in |
| 39 | theorem comm (q q' : ℕ) : component U K M η q ≫ ((CechPresheafConeTotal.bicomplex U K).d q q').f 0 = |
| 40 | M.d q q' ≫ component U K M η q' := by |
| 41 | change Pi.lift (fun t : Fin 1 → ι => (η.f q).app (op (∏ᶜ (U ∘ t)))) ≫ |
| 42 | Limits.Pi.map (fun t : Fin 1 → ι => (K.d q q').app (op (∏ᶜ (U ∘ t)))) = |
| 43 | M.d q q' ≫ Pi.lift (fun t : Fin 1 → ι => (η.f q').app (op (∏ᶜ (U ∘ t)))) |
| 44 | apply Pi.hom_ext |
| 45 | intro t |
| 46 | simp only [Category.assoc, Pi.map_π] |
| 47 | erw [Pi.lift_comp_π_assoc, Pi.lift_comp_π] |
| 48 | exact congrArg (fun α => α.app (op (∏ᶜ (U ∘ t)))) (η.comm q q') |
| 49 | |
| 50 | omit [HasCoproducts.{0} A] in |
| 51 | theorem cocycle (q : ℕ) : component U K M η q ≫ ((CechPresheafConeTotal.bicomplex U K).X q).d 0 1 = 0 := |
| 52 | NonemptyCech.Augmentation.NonemptyCechAugmentation.cocycle U (K.X q) (M.X q) (η.f q) |
| 53 | |
| 54 | local instance hasTotal : (CechPresheafConeTotal.bicomplex U K).HasTotal (.up ℕ) := |
| 55 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 56 | |
| 57 | def map : M ⟶ (CechPresheafConeTotal.bicomplex U K).total (.up ℕ) := |
| 58 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge (bicomplex U K)) M (component U K M η) |
| 59 | (fun q q' _ => CechPresheafConeTotal.comm U K M η q q') (cocycle U K M η) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal |