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.Smooth.TotalD |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TotalProductSigns |
| 3 | |
| 4 | /-! # Total Leibniz -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.TotalLeibniz.AlgebraicCechProduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The full graded product rule on the original smooth Čech total complex. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped Simplicial |
| 14 | |
| 15 | variable (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 16 | (N : SimplicialObject (FormalCoproduct.{0} X.left.Opens)) |
| 17 | |
| 18 | theorem cupInto_differential_left_component (n m p a q b : ℕ) |
| 19 | (hpa : p + a = n) (hqb : q + b = m) |
| 20 | (x : (AlgebraicSmoothCechProduct.smoothCochains X N p).obj ⦋a⦌) (y : (AlgebraicSmoothCechProduct.smoothCochains X N q).obj ⦋b⦌) : |
| 21 | TotalD.AlgebraicCechProduct.cupInto X N (n + 1) m (n + m + 1) (by omega) |
| 22 | ((AlgebraicSmoothCechProduct.smoothTotal X N).d n (n + 1) (TotalD.AlgebraicCechProduct.component X N p a n hpa x)) (TotalD.AlgebraicCechProduct.component X N q b m hqb y) = |
| 23 | (-1 : ℤ) ^ (a * q) • TotalD.AlgebraicCechProduct.component X N ((p + 1) + q) (a + b) (n + m + 1) (by omega) |
| 24 | (AlgebraicSmoothCechProduct.cup X N (p + 1) q a b ((TotalD.AlgebraicCechProduct.deRhamDifferential X N p).app ⦋a⦌ x) y) + |
| 25 | (-1 : ℤ) ^ p • ((-1 : ℤ) ^ ((a + 1) * q) • |
| 26 | TotalD.AlgebraicCechProduct.component X N (p + q) ((a + 1) + b) (n + m + 1) (by omega) |
| 27 | (AlgebraicSmoothCechProduct.cup X N p q (a + 1) b |
| 28 | (Cosimplicial.BilinearCup.differential (AlgebraicSmoothCechProduct.smoothCochains X N p) a x) y)) := by |
| 29 | let B := (TotalD.AlgebraicCechProduct.cupInto X N (n + 1) m (n + m + 1) (by omega)).flip |
| 30 | (TotalD.AlgebraicCechProduct.component X N q b m hqb y) |
| 31 | let u := TotalD.AlgebraicCechProduct.component X N (p + 1) a (n + 1) (by omega) ((TotalD.AlgebraicCechProduct.deRhamDifferential X N p).app ⦋a⦌ x) |
| 32 | let v := TotalD.AlgebraicCechProduct.component X N p (a + 1) (n + 1) (by omega) |
| 33 | (Cosimplicial.BilinearCup.differential (AlgebraicSmoothCechProduct.smoothCochains X N p) a x) |
| 34 | have hs : B (u + (-1 : ℤ) ^ p • v) = B u + (-1 : ℤ) ^ p • B v := |
| 35 | (B.map_add u _).trans (congrArg (B u + ·) (map_zsmul B ((-1 : ℤ) ^ p) v)) |
| 36 | exact (congrArg B (TotalD.AlgebraicCechProduct.differential_component X N p a n hpa x)).trans |
| 37 | (hs.trans (congrArg₂ (fun z w => z + (-1 : ℤ) ^ p • w) |
| 38 | (TotalD.AlgebraicCechProduct.cupInto_component X N (n + 1) m (n + m + 1) (p + 1) a q b (by omega) (by omega) hqb |
| 39 | ((TotalD.AlgebraicCechProduct.deRhamDifferential X N p).app ⦋a⦌ x) y) |
| 40 | (TotalD.AlgebraicCechProduct.cupInto_component X N (n + 1) m (n + m + 1) p (a + 1) q b (by omega) (by omega) hqb |
| 41 | (Cosimplicial.BilinearCup.differential (AlgebraicSmoothCechProduct.smoothCochains X N p) a x) y))) |
| 42 | |
| 43 | theorem cupInto_differential_right_component (n m p a q b : ℕ) |
| 44 | (hpa : p + a = n) (hqb : q + b = m) |
| 45 | (x : (AlgebraicSmoothCechProduct.smoothCochains X N p).obj ⦋a⦌) (y : (AlgebraicSmoothCechProduct.smoothCochains X N q).obj ⦋b⦌) : |
| 46 | TotalD.AlgebraicCechProduct.cupInto X N n (m + 1) (n + m + 1) (by omega) |
| 47 | (TotalD.AlgebraicCechProduct.component X N p a n hpa x) ((AlgebraicSmoothCechProduct.smoothTotal X N).d m (m + 1) (TotalD.AlgebraicCechProduct.component X N q b m hqb y)) = |
| 48 | (-1 : ℤ) ^ (a * (q + 1)) • TotalD.AlgebraicCechProduct.component X N (p + (q + 1)) (a + b) (n + m + 1) (by omega) |
| 49 | (AlgebraicSmoothCechProduct.cup X N p (q + 1) a b x ((TotalD.AlgebraicCechProduct.deRhamDifferential X N q).app ⦋b⦌ y)) + |
| 50 | (-1 : ℤ) ^ q • ((-1 : ℤ) ^ (a * q) • |
| 51 | TotalD.AlgebraicCechProduct.component X N (p + q) (a + (b + 1)) (n + m + 1) (by omega) |
| 52 | (AlgebraicSmoothCechProduct.cup X N p q a (b + 1) x |
| 53 | (Cosimplicial.BilinearCup.differential (AlgebraicSmoothCechProduct.smoothCochains X N q) b y))) := by |
| 54 | let B := TotalD.AlgebraicCechProduct.cupInto X N n (m + 1) (n + m + 1) (by omega) (TotalD.AlgebraicCechProduct.component X N p a n hpa x) |
| 55 | let u := TotalD.AlgebraicCechProduct.component X N (q + 1) b (m + 1) (by omega) ((TotalD.AlgebraicCechProduct.deRhamDifferential X N q).app ⦋b⦌ y) |
| 56 | let v := TotalD.AlgebraicCechProduct.component X N q (b + 1) (m + 1) (by omega) |
| 57 | (Cosimplicial.BilinearCup.differential (AlgebraicSmoothCechProduct.smoothCochains X N q) b y) |
| 58 | have hs : B (u + (-1 : ℤ) ^ q • v) = B u + (-1 : ℤ) ^ q • B v := |
| 59 | (B.map_add u _).trans (congrArg (B u + ·) (map_zsmul B ((-1 : ℤ) ^ q) v)) |
| 60 | exact (congrArg B (TotalD.AlgebraicCechProduct.differential_component X N q b m hqb y)).trans |
| 61 | (hs.trans (congrArg₂ (fun z w => z + (-1 : ℤ) ^ q • w) |
| 62 | (TotalD.AlgebraicCechProduct.cupInto_component X N n (m + 1) (n + m + 1) p a (q + 1) b (by omega) hpa (by omega) |
| 63 | x ((TotalD.AlgebraicCechProduct.deRhamDifferential X N q).app ⦋b⦌ y)) |
| 64 | (TotalD.AlgebraicCechProduct.cupInto_component X N n (m + 1) (n + m + 1) p a q (b + 1) (by omega) hpa (by omega) |
| 65 | x (Cosimplicial.BilinearCup.differential (AlgebraicSmoothCechProduct.smoothCochains X N q) b y)))) |
| 66 | |
| 67 | theorem differential_totalPairing_components (n m p a q b : ℕ) |
| 68 | (hpa : p + a = n) (hqb : q + b = m) |
| 69 | (x : (AlgebraicSmoothCechProduct.smoothCochains X N p).obj ⦋a⦌) (y : (AlgebraicSmoothCechProduct.smoothCochains X N q).obj ⦋b⦌) : |
| 70 | (AlgebraicSmoothCechProduct.smoothTotal X N).d (n + m) (n + m + 1) |
| 71 | (AlgebraicSmoothCechProduct.totalPairing X N n m (TotalD.AlgebraicCechProduct.component X N p a n hpa x) (TotalD.AlgebraicCechProduct.component X N q b m hqb y)) = |
| 72 | TotalD.AlgebraicCechProduct.cupInto X N (n + 1) m (n + m + 1) (by omega) |
| 73 | ((AlgebraicSmoothCechProduct.smoothTotal X N).d n (n + 1) (TotalD.AlgebraicCechProduct.component X N p a n hpa x)) (TotalD.AlgebraicCechProduct.component X N q b m hqb y) + |
| 74 | (-1 : ℤ) ^ n • TotalD.AlgebraicCechProduct.cupInto X N n (m + 1) (n + m + 1) (by omega) |
| 75 | (TotalD.AlgebraicCechProduct.component X N p a n hpa x) ((AlgebraicSmoothCechProduct.smoothTotal X N).d m (m + 1) (TotalD.AlgebraicCechProduct.component X N q b m hqb y)) := by |
| 76 | have hc := TotalD.AlgebraicCechProduct.totalPairing_ι X N n m p a q b hpa hqb x y |
| 77 | have hd := TotalD.AlgebraicCechProduct.differential_component_cup X N p q a b (n + m) (by omega) x y |
| 78 | have hleft := (congrArg ((AlgebraicSmoothCechProduct.smoothTotal X N).d (n + m) (n + m + 1)) hc).trans |
| 79 | ((map_zsmul ((AlgebraicSmoothCechProduct.smoothTotal X N).d (n + m) (n + m + 1)).hom ((-1 : ℤ) ^ (a * q)) |
| 80 | (TotalD.AlgebraicCechProduct.component X N (p + q) (a + b) (n + m) (by omega) (AlgebraicSmoothCechProduct.cup X N p q a b x y))).trans |
| 81 | (congrArg ((-1 : ℤ) ^ (a * q) • ·) hd)) |
| 82 | exact hleft.trans ((TotalProductSigns.product_rule p a q n hpa _ _ _ _).trans |
| 83 | (congrArg₂ (fun z w => z + (-1 : ℤ) ^ n • w) |
| 84 | (cupInto_differential_left_component X N n m p a q b hpa hqb x y) |
| 85 | (cupInto_differential_right_component X N n m p a q b hpa hqb x y)).symm) |
| 86 | |
| 87 | theorem differential_totalPairing (n m : ℕ) (x : (AlgebraicSmoothCechProduct.smoothTotal X N).X n) (y : (AlgebraicSmoothCechProduct.smoothTotal X N).X m) : |
| 88 | (AlgebraicSmoothCechProduct.smoothTotal X N).d (n + m) (n + m + 1) (AlgebraicSmoothCechProduct.totalPairing X N n m x y) = |
| 89 | TotalD.AlgebraicCechProduct.cupInto X N (n + 1) m (n + m + 1) (by omega) ((AlgebraicSmoothCechProduct.smoothTotal X N).d n (n + 1) x) y + |
| 90 | (-1 : ℤ) ^ n • TotalD.AlgebraicCechProduct.cupInto X N n (m + 1) (n + m + 1) (by omega) x ((AlgebraicSmoothCechProduct.smoothTotal X N).d m (m + 1) y) := by |
| 91 | let L := (AlgebraicSmoothCechProduct.totalPairing X N n m).compr₂ ((AlgebraicSmoothCechProduct.smoothTotal X N).d (n + m) (n + m + 1)).hom |
| 92 | let D := (TotalD.AlgebraicCechProduct.cupInto X N (n + 1) m (n + m + 1) (by omega)).compl₁₂ |
| 93 | ((AlgebraicSmoothCechProduct.smoothTotal X N).d n (n + 1)).hom LinearMap.id + |
| 94 | (-1 : ℤ) ^ n • (TotalD.AlgebraicCechProduct.cupInto X N n (m + 1) (n + m + 1) (by omega)).compl₁₂ |
| 95 | LinearMap.id ((AlgebraicSmoothCechProduct.smoothTotal X N).d m (m + 1)).hom |
| 96 | have h : L = D := by |
| 97 | apply BicomplexPairing.bilinear_ext (AlgebraicSmoothCechProduct.smoothBicomplex X N) (AlgebraicSmoothCechProduct.smoothBicomplex X N) n m |
| 98 | intro p a q b hpa hqb u v |
| 99 | exact differential_totalPairing_components X N n m p a q b hpa hqb u v |
| 100 | exact DFunLike.congr_fun (DFunLike.congr_fun h x) y |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.TotalLeibniz.AlgebraicCechProduct |