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.Presheaf.CechDifferential |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cosimplicial.BilinearDegrees |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BicomplexPairing |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Total |
| 5 | |
| 6 | /-! # Total Cup -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalCup.CechProduct |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The signed exterior/Alexander–Whitney product on the given |
| 13 | categorical Čech total complex. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | open scoped Simplicial |
| 17 | |
| 18 | universe u v w t r |
| 19 | |
| 20 | variable {R : Type r} [CommRing R] {C : Type u} [Category.{v} C] |
| 21 | (N : SimplicialObject (FormalCoproduct.{w} C)) |
| 22 | (P : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max w t} R) ℕ) |
| 23 | (μ : ∀ p q (U : Cᵒᵖ), (P.X p).obj U →ₗ[R] |
| 24 | (P.X q).obj U →ₗ[R] (P.X (p + q)).obj U) |
| 25 | |
| 26 | def bicomplex : HomologicalComplex₂ (ModuleCat.{max w t} R) (.up ℕ) (.up ℕ) := |
| 27 | CechCoefficient.Total.bicomplex N P |
| 28 | |
| 29 | def total : CochainComplex (ModuleCat.{max w t} R) ℕ := (bicomplex N P).total (.up ℕ) |
| 30 | |
| 31 | def signedPairing (p a q b : ℕ) : |
| 32 | ((bicomplex N P).X p).X a →ₗ[R] ((bicomplex N P).X q).X b →ₗ[R] |
| 33 | ((bicomplex N P).X (p + q)).X (a + b) := |
| 34 | (-1 : ℤ) ^ (a * q) • CechProduct.cup N P μ p q a b |
| 35 | |
| 36 | def totalCup (n m : ℕ) : (CechProduct.total N P).X n →ₗ[R] (CechProduct.total N P).X m →ₗ[R] |
| 37 | (CechProduct.total N P).X (n + m) := |
| 38 | BicomplexPairing.totalPairing (bicomplex N P) (bicomplex N P) (bicomplex N P) |
| 39 | (signedPairing N P μ) n m |
| 40 | |
| 41 | theorem totalCup_ι (n m p a q b : ℕ) (hpa : p + a = n) (hqb : q + b = m) |
| 42 | (x : ((bicomplex N P).X p).X a) (y : ((bicomplex N P).X q).X b) : |
| 43 | totalCup N P μ n m ((bicomplex N P).ιTotal (.up ℕ) p a n hpa x) |
| 44 | ((bicomplex N P).ιTotal (.up ℕ) q b m hqb y) = |
| 45 | (-1 : ℤ) ^ (a * q) • |
| 46 | (bicomplex N P).ιTotal (.up ℕ) (p + q) (a + b) (n + m) (by |
| 47 | change (p + q) + (a + b) = n + m |
| 48 | omega) (CechProduct.cup N P μ p q a b x y) := by |
| 49 | exact (BicomplexPairing.totalPairing_ι _ _ _ (signedPairing N P μ) |
| 50 | n m p a q b hpa hqb x y).trans (map_zsmul |
| 51 | ((bicomplex N P).ιTotal (.up ℕ) (p + q) (a + b) (n + m) (by |
| 52 | change (p + q) + (a + b) = n + m |
| 53 | omega)).hom ((-1 : ℤ) ^ (a * q)) (CechProduct.cup N P μ p q a b x y)) |
| 54 | |
| 55 | theorem bicomplex_d_form_apply (p a : ℕ) (x : ((bicomplex N P).X p).X a) : |
| 56 | ((bicomplex N P).d p (p + 1)).f a x = (CechDifferential.Product.presheafDifferential N P p).app ⦋a⦌ x := rfl |
| 57 | |
| 58 | theorem bicomplex_d_cech_apply (p a : ℕ) (x : ((bicomplex N P).X p).X a) : |
| 59 | ((bicomplex N P).X p).d a (a + 1) x = |
| 60 | Cosimplicial.BilinearCup.differential (CechProduct.cochains N P p) a x := |
| 61 | Cosimplicial.BilinearCup.complex_d_apply (CechProduct.cochains N P p) a x |
| 62 | |
| 63 | theorem formDegreeCast_ι {p q a n : ℕ} (h : p = q) (hpa : p + a = n) (hqa : q + a = n) |
| 64 | (x : ((bicomplex N P).X p).X a) : |
| 65 | (bicomplex N P).ιTotal (.up ℕ) q a n hqa (CechDifferential.Product.formDegreeCast N P h ⦋a⦌ x) = |
| 66 | (bicomplex N P).ιTotal (.up ℕ) p a n hpa x := by |
| 67 | subst q |
| 68 | rfl |
| 69 | |
| 70 | theorem cechDegreeCast_ι {p a b n : ℕ} (h : a = b) (hpa : p + a = n) (hpb : p + b = n) |
| 71 | (x : ((bicomplex N P).X p).X a) : |
| 72 | (bicomplex N P).ιTotal (.up ℕ) p b n hpb |
| 73 | (Cosimplicial.BilinearDegrees.Cup.degreeCast (CechProduct.cochains N P p) h x) = |
| 74 | (bicomplex N P).ιTotal (.up ℕ) p a n hpa x := by |
| 75 | subst b |
| 76 | rfl |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalCup.CechProduct |