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.ComponentProducts |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TotalProductSigns |
| 3 | |
| 4 | /-! # Total Leibniz -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalLeibniz.CechProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The graded Leibniz rule for the actual total presheaf Čech product. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open scoped Simplicial |
| 14 | |
| 15 | universe u v w t r |
| 16 | |
| 17 | variable {R : Type r} [CommRing R] {C : Type u} [Category.{v} C] |
| 18 | (N : SimplicialObject (FormalCoproduct.{w} C)) |
| 19 | (P : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max w t} R) ℕ) |
| 20 | (μ : ∀ p q (U : Cᵒᵖ), (P.X p).obj U →ₗ[R] |
| 21 | (P.X q).obj U →ₗ[R] (P.X (p + q)).obj U) |
| 22 | |
| 23 | variable |
| 24 | (hμ : ∀ p q {U V : Cᵒᵖ} (f : U ⟶ V) (x : (P.X p).obj U) (y : (P.X q).obj U), |
| 25 | (P.X (p + q)).map f (μ p q U x y) = μ p q V ((P.X p).map f x) ((P.X q).map f y)) |
| 26 | (dμ : ∀ p q (U : Cᵒᵖ) (x : (P.X p).obj U) (y : (P.X q).obj U), |
| 27 | (P.d (p + q) (p + q + 1)).app U (μ p q U x y) = |
| 28 | CechProduct.sectionDegreeCast P (by omega : (p + 1) + q = p + q + 1) U |
| 29 | (μ (p + 1) q U ((P.d p (p + 1)).app U x) y) + |
| 30 | (-1 : ℤ) ^ p • CechProduct.sectionDegreeCast P (by omega : p + (q + 1) = p + q + 1) U |
| 31 | (μ p (q + 1) U x ((P.d q (q + 1)).app U y))) |
| 32 | |
| 33 | theorem cupInto_differential_left_component (n m p a q b : ℕ) |
| 34 | (hpa : p + a = n) (hqb : q + b = m) |
| 35 | (x : (CechProduct.cochains N P p).obj ⦋a⦌) (y : (CechProduct.cochains N P q).obj ⦋b⦌) : |
| 36 | TotalComponents.CechProduct.cupInto N P μ (n + 1) m (n + m + 1) (by omega) |
| 37 | ((TotalCup.CechProduct.total N P).d n (n + 1) (TotalComponents.CechProduct.component N P p a n hpa x)) (TotalComponents.CechProduct.component N P q b m hqb y) = |
| 38 | (-1 : ℤ) ^ (a * q) • TotalComponents.CechProduct.component N P ((p + 1) + q) (a + b) (n + m + 1) (by omega) |
| 39 | (CechProduct.cup N P μ (p + 1) q a b ((CechDifferential.Product.presheafDifferential N P p).app ⦋a⦌ x) y) + |
| 40 | (-1 : ℤ) ^ p • ((-1 : ℤ) ^ ((a + 1) * q) • |
| 41 | TotalComponents.CechProduct.component N P (p + q) ((a + 1) + b) (n + m + 1) (by omega) |
| 42 | (CechProduct.cup N P μ p q (a + 1) b |
| 43 | (Cosimplicial.BilinearCup.differential (CechProduct.cochains N P p) a x) y)) := by |
| 44 | let B := (TotalComponents.CechProduct.cupInto N P μ (n + 1) m (n + m + 1) (by omega)).flip |
| 45 | (TotalComponents.CechProduct.component N P q b m hqb y) |
| 46 | let u := TotalComponents.CechProduct.component N P (p + 1) a (n + 1) (by omega) ((CechDifferential.Product.presheafDifferential N P p).app ⦋a⦌ x) |
| 47 | let v := TotalComponents.CechProduct.component N P p (a + 1) (n + 1) (by omega) |
| 48 | (Cosimplicial.BilinearCup.differential (CechProduct.cochains N P p) a x) |
| 49 | have hs : B (u + (-1 : ℤ) ^ p • v) = B u + (-1 : ℤ) ^ p • B v := |
| 50 | (B.map_add u _).trans (congrArg (B u + ·) (map_zsmul B ((-1 : ℤ) ^ p) v)) |
| 51 | exact (congrArg B (TotalComponents.CechProduct.differential_component N P p a n hpa x)).trans |
| 52 | (hs.trans (congrArg₂ (fun z w => z + (-1 : ℤ) ^ p • w) |
| 53 | (TotalComponents.CechProduct.cupInto_component N P μ (n + 1) m (n + m + 1) (p + 1) a q b (by omega) (by omega) hqb |
| 54 | ((CechDifferential.Product.presheafDifferential N P p).app ⦋a⦌ x) y) |
| 55 | (TotalComponents.CechProduct.cupInto_component N P μ (n + 1) m (n + m + 1) p (a + 1) q b (by omega) (by omega) hqb |
| 56 | (Cosimplicial.BilinearCup.differential (CechProduct.cochains N P p) a x) y))) |
| 57 | |
| 58 | theorem cupInto_differential_right_component (n m p a q b : ℕ) |
| 59 | (hpa : p + a = n) (hqb : q + b = m) |
| 60 | (x : (CechProduct.cochains N P p).obj ⦋a⦌) (y : (CechProduct.cochains N P q).obj ⦋b⦌) : |
| 61 | TotalComponents.CechProduct.cupInto N P μ n (m + 1) (n + m + 1) (by omega) |
| 62 | (TotalComponents.CechProduct.component N P p a n hpa x) ((TotalCup.CechProduct.total N P).d m (m + 1) (TotalComponents.CechProduct.component N P q b m hqb y)) = |
| 63 | (-1 : ℤ) ^ (a * (q + 1)) • TotalComponents.CechProduct.component N P (p + (q + 1)) (a + b) (n + m + 1) (by omega) |
| 64 | (CechProduct.cup N P μ p (q + 1) a b x ((CechDifferential.Product.presheafDifferential N P q).app ⦋b⦌ y)) + |
| 65 | (-1 : ℤ) ^ q • ((-1 : ℤ) ^ (a * q) • |
| 66 | TotalComponents.CechProduct.component N P (p + q) (a + (b + 1)) (n + m + 1) (by omega) |
| 67 | (CechProduct.cup N P μ p q a (b + 1) x |
| 68 | (Cosimplicial.BilinearCup.differential (CechProduct.cochains N P q) b y))) := by |
| 69 | let B := TotalComponents.CechProduct.cupInto N P μ n (m + 1) (n + m + 1) (by omega) (TotalComponents.CechProduct.component N P p a n hpa x) |
| 70 | let u := TotalComponents.CechProduct.component N P (q + 1) b (m + 1) (by omega) ((CechDifferential.Product.presheafDifferential N P q).app ⦋b⦌ y) |
| 71 | let v := TotalComponents.CechProduct.component N P q (b + 1) (m + 1) (by omega) |
| 72 | (Cosimplicial.BilinearCup.differential (CechProduct.cochains N P q) b y) |
| 73 | have hs : B (u + (-1 : ℤ) ^ q • v) = B u + (-1 : ℤ) ^ q • B v := |
| 74 | (B.map_add u _).trans (congrArg (B u + ·) (map_zsmul B ((-1 : ℤ) ^ q) v)) |
| 75 | exact (congrArg B (TotalComponents.CechProduct.differential_component N P q b m hqb y)).trans |
| 76 | (hs.trans (congrArg₂ (fun z w => z + (-1 : ℤ) ^ q • w) |
| 77 | (TotalComponents.CechProduct.cupInto_component N P μ n (m + 1) (n + m + 1) p a (q + 1) b (by omega) hpa (by omega) |
| 78 | x ((CechDifferential.Product.presheafDifferential N P q).app ⦋b⦌ y)) |
| 79 | (TotalComponents.CechProduct.cupInto_component N P μ n (m + 1) (n + m + 1) p a q (b + 1) (by omega) hpa (by omega) |
| 80 | x (Cosimplicial.BilinearCup.differential (CechProduct.cochains N P q) b y)))) |
| 81 | |
| 82 | include hμ dμ in |
| 83 | theorem differential_totalCup_components (n m p a q b : ℕ) |
| 84 | (hpa : p + a = n) (hqb : q + b = m) |
| 85 | (x : (CechProduct.cochains N P p).obj ⦋a⦌) (y : (CechProduct.cochains N P q).obj ⦋b⦌) : |
| 86 | (TotalCup.CechProduct.total N P).d (n + m) (n + m + 1) |
| 87 | (TotalCup.CechProduct.totalCup N P μ n m (TotalComponents.CechProduct.component N P p a n hpa x) (TotalComponents.CechProduct.component N P q b m hqb y)) = |
| 88 | TotalComponents.CechProduct.cupInto N P μ (n + 1) m (n + m + 1) (by omega) |
| 89 | ((TotalCup.CechProduct.total N P).d n (n + 1) (TotalComponents.CechProduct.component N P p a n hpa x)) (TotalComponents.CechProduct.component N P q b m hqb y) + |
| 90 | (-1 : ℤ) ^ n • TotalComponents.CechProduct.cupInto N P μ n (m + 1) (n + m + 1) (by omega) |
| 91 | (TotalComponents.CechProduct.component N P p a n hpa x) ((TotalCup.CechProduct.total N P).d m (m + 1) (TotalComponents.CechProduct.component N P q b m hqb y)) := by |
| 92 | have hc := TotalCup.CechProduct.totalCup_ι N P μ n m p a q b hpa hqb x y |
| 93 | have hd := ComponentProducts.CechProduct.differential_component_cup N P μ hμ dμ p q a b (n + m) (by omega) x y |
| 94 | have hleft := (congrArg ((TotalCup.CechProduct.total N P).d (n + m) (n + m + 1)) hc).trans |
| 95 | ((map_zsmul ((TotalCup.CechProduct.total N P).d (n + m) (n + m + 1)).hom ((-1 : ℤ) ^ (a * q)) |
| 96 | (TotalComponents.CechProduct.component N P (p + q) (a + b) (n + m) (by omega) (CechProduct.cup N P μ p q a b x y))).trans |
| 97 | (congrArg ((-1 : ℤ) ^ (a * q) • ·) hd)) |
| 98 | exact hleft.trans ((TotalProductSigns.product_rule p a q n hpa _ _ _ _).trans |
| 99 | (congrArg₂ (fun z w => z + (-1 : ℤ) ^ n • w) |
| 100 | (cupInto_differential_left_component N P μ n m p a q b hpa hqb x y) |
| 101 | (cupInto_differential_right_component N P μ n m p a q b hpa hqb x y)).symm) |
| 102 | |
| 103 | include hμ dμ in |
| 104 | theorem differential_totalCup (n m : ℕ) (x : (TotalCup.CechProduct.total N P).X n) (y : (TotalCup.CechProduct.total N P).X m) : |
| 105 | (TotalCup.CechProduct.total N P).d (n + m) (n + m + 1) (TotalCup.CechProduct.totalCup N P μ n m x y) = |
| 106 | TotalComponents.CechProduct.cupInto N P μ (n + 1) m (n + m + 1) (by omega) ((TotalCup.CechProduct.total N P).d n (n + 1) x) y + |
| 107 | (-1 : ℤ) ^ n • TotalComponents.CechProduct.cupInto N P μ n (m + 1) (n + m + 1) (by omega) x ((TotalCup.CechProduct.total N P).d m (m + 1) y) := by |
| 108 | let L := (TotalCup.CechProduct.totalCup N P μ n m).compr₂ ((TotalCup.CechProduct.total N P).d (n + m) (n + m + 1)).hom |
| 109 | let D := (TotalComponents.CechProduct.cupInto N P μ (n + 1) m (n + m + 1) (by omega)).compl₁₂ |
| 110 | ((TotalCup.CechProduct.total N P).d n (n + 1)).hom LinearMap.id + |
| 111 | (-1 : ℤ) ^ n • (TotalComponents.CechProduct.cupInto N P μ n (m + 1) (n + m + 1) (by omega)).compl₁₂ |
| 112 | LinearMap.id ((TotalCup.CechProduct.total N P).d m (m + 1)).hom |
| 113 | have h : L = D := by |
| 114 | apply BicomplexPairing.bilinear_ext (TotalCup.CechProduct.bicomplex N P) (TotalCup.CechProduct.bicomplex N P) n m |
| 115 | intro p a q b hpa hqb u v |
| 116 | exact differential_totalCup_components N P μ hμ dμ n m p a q b hpa hqb u v |
| 117 | exact DFunLike.congr_fun (DFunLike.congr_fun h x) y |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalLeibniz.CechProduct |