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.Cech.BilinearPairing |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.WedgeNaturality |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.Descent |
| 4 | |
| 5 | /-! # Cech Cup -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.CechCup |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exterior products on the original algebraic form presheaves and |
| 12 | their actual Čech cosimplicial modules. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | open scoped Simplicial |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] [Algebra ℚ R] |
| 20 | (X : Over (Spec (CommRingCat.of R))) |
| 21 | |
| 22 | local instance rationalSections (U : X.left.Opens) : Algebra ℚ Γ(X.left, U) := |
| 23 | Algebra.compHom Γ(X.left, U) (algebraMap ℚ R) |
| 24 | |
| 25 | def sectionPairing (p q : ℕ) (U : X.left.Opensᵒᵖ) : |
| 26 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X p).obj U →ₗ[R] |
| 27 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X q).obj U →ₗ[R] |
| 28 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X (p + q)).obj U := |
| 29 | (Wedge.wedge R Γ(X.left, U.unop) p q).restrictScalars₁₂ R R |
| 30 | |
| 31 | theorem sectionPairing_natural (p q : ℕ) {U V : X.left.Opensᵒᵖ} (f : U ⟶ V) |
| 32 | (x : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X p).obj U) |
| 33 | (y : (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X q).obj U) : |
| 34 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X (p + q)).map f (sectionPairing R X p q U x y) = |
| 35 | sectionPairing R X p q V ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X p).map f x) |
| 36 | ((AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X q).map f y) := by |
| 37 | let : Algebra ℚ ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).obj U) := rationalSections R X U.unop |
| 38 | let : Algebra ℚ ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).obj V) := rationalSections R X V.unop |
| 39 | exact WedgeNaturality.formMap_wedge ((AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).map f) p q x y |
| 40 | |
| 41 | variable (N : SimplicialObject (FormalCoproduct.{u} X.left.Opens)) |
| 42 | |
| 43 | def cochains (p : ℕ) : CosimplicialObject (ModuleCat.{u} R) := |
| 44 | Cech.BilinearPairing.cosimplicial N (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X p) |
| 45 | |
| 46 | def pairing (p q : ℕ) (n : SimplexCategory) : |
| 47 | (cochains R X N p).obj n →ₗ[R] (cochains R X N q).obj n →ₗ[R] |
| 48 | (cochains R X N (p + q)).obj n := |
| 49 | Cech.BilinearPairing.pairing N |
| 50 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X p) (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X q) |
| 51 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formsPresheaf R X (p + q)) (sectionPairing R X p q) n |
| 52 | |
| 53 | theorem pairing_natural (p q : ℕ) {n m : SimplexCategory} (f : n ⟶ m) |
| 54 | (x : (cochains R X N p).obj n) (y : (cochains R X N q).obj n) : |
| 55 | (cochains R X N (p + q)).map f (pairing R X N p q n x y) = |
| 56 | pairing R X N p q m ((cochains R X N p).map f x) ((cochains R X N q).map f y) := |
| 57 | Cech.BilinearPairing.pairing_natural N _ _ _ (sectionPairing R X p q) |
| 58 | (sectionPairing_natural R X p q) f x y |
| 59 | |
| 60 | def cup (p q a b : ℕ) : |
| 61 | (cochains R X N p).obj ⦋a⦌ →ₗ[R] (cochains R X N q).obj ⦋b⦌ →ₗ[R] |
| 62 | (cochains R X N (p + q)).obj ⦋a + b⦌ := |
| 63 | Cosimplicial.BilinearCup.cup (cochains R X N p) (cochains R X N q) |
| 64 | (cochains R X N (p + q)) (pairing R X N p q) a b |
| 65 | |
| 66 | theorem differential_cup (p q a b : ℕ) |
| 67 | (x : (cochains R X N p).obj ⦋a⦌) (y : (cochains R X N q).obj ⦋b⦌) : |
| 68 | Cosimplicial.BilinearCup.differential (cochains R X N (p + q)) (a + b) |
| 69 | (cup R X N p q a b x y) = |
| 70 | pairing R X N p q ⦋a + b + 1⦌ |
| 71 | ((cochains R X N p).map |
| 72 | (SimplexCategory.subinterval 0 (a + 1) (by omega : 0 + (a + 1) ≤ a + b + 1)) |
| 73 | (Cosimplicial.BilinearCup.differential (cochains R X N p) a x)) |
| 74 | ((cochains R X N q).map |
| 75 | (SimplexCategory.subinterval (a + 1) b (by omega : (a + 1) + b ≤ a + b + 1)) y) + |
| 76 | (-1 : ℤ) ^ a • pairing R X N p q ⦋a + b + 1⦌ |
| 77 | ((cochains R X N p).map |
| 78 | (SimplexCategory.subinterval 0 a (by omega : 0 + a ≤ a + b + 1)) x) |
| 79 | ((cochains R X N q).map |
| 80 | (SimplexCategory.subinterval a (b + 1) (by omega : a + (b + 1) ≤ a + b + 1)) |
| 81 | (Cosimplicial.BilinearCup.differential (cochains R X N q) b y)) := |
| 82 | Cosimplicial.BilinearCup.differential_cup _ _ _ (pairing R X N p q) |
| 83 | (pairing_natural R X N p q) a b x y |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.CechCup |