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.TotalCup |
| 2 | |
| 3 | /-! # Total Components -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalComponents.CechProduct |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Component formulas for the differential and the cup product of |
| 10 | the given Čech total complex. -/ |
| 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 | def component (p a n : ℕ) (h : p + a = n) : |
| 24 | (CechProduct.cochains N P p).obj ⦋a⦌ →ₗ[R] (TotalCup.CechProduct.total N P).X n := |
| 25 | ((TotalCup.CechProduct.bicomplex N P).ιTotal (.up ℕ) p a n h).hom |
| 26 | |
| 27 | def totalDegreeCast {n m : ℕ} (h : n = m) : (TotalCup.CechProduct.total N P).X n ≃ₗ[R] (TotalCup.CechProduct.total N P).X m := |
| 28 | h ▸ LinearEquiv.refl R ((TotalCup.CechProduct.total N P).X n) |
| 29 | |
| 30 | def cupInto (n m k : ℕ) (h : n + m = k) : |
| 31 | (TotalCup.CechProduct.total N P).X n →ₗ[R] (TotalCup.CechProduct.total N P).X m →ₗ[R] (TotalCup.CechProduct.total N P).X k := |
| 32 | (TotalCup.CechProduct.totalCup N P μ n m).compr₂ (totalDegreeCast N P h).toLinearMap |
| 33 | |
| 34 | theorem cupInto_component (n m k p a q b : ℕ) (hnm : n + m = k) |
| 35 | (hpa : p + a = n) (hqb : q + b = m) |
| 36 | (x : (CechProduct.cochains N P p).obj ⦋a⦌) (y : (CechProduct.cochains N P q).obj ⦋b⦌) : |
| 37 | cupInto N P μ n m k hnm (component N P p a n hpa x) (component N P q b m hqb y) = |
| 38 | (-1 : ℤ) ^ (a * q) • component N P (p + q) (a + b) k (by omega) |
| 39 | (CechProduct.cup N P μ p q a b x y) := by |
| 40 | subst k |
| 41 | exact TotalCup.CechProduct.totalCup_ι N P μ n m p a q b hpa hqb x y |
| 42 | |
| 43 | theorem totalDegreeCast_component {p a n m : ℕ} (h : n = m) (hpa : p + a = n) |
| 44 | (hpa' : p + a = m) (x : (CechProduct.cochains N P p).obj ⦋a⦌) : |
| 45 | totalDegreeCast N P h (component N P p a n hpa x) = component N P p a m hpa' x := by |
| 46 | subst m |
| 47 | rfl |
| 48 | |
| 49 | theorem component_formDegreeCast {p q a n : ℕ} (h : p = q) (hpa : p + a = n) (hqa : q + a = n) |
| 50 | (x : (CechProduct.cochains N P p).obj ⦋a⦌) : |
| 51 | component N P q a n hqa (CechDifferential.Product.formDegreeCast N P h ⦋a⦌ x) = component N P p a n hpa x := by |
| 52 | subst q |
| 53 | rfl |
| 54 | |
| 55 | theorem component_cechDegreeCast {p a b n : ℕ} (h : a = b) (hpa : p + a = n) (hpb : p + b = n) |
| 56 | (x : (CechProduct.cochains N P p).obj ⦋a⦌) : |
| 57 | component N P p b n hpb (Cosimplicial.BilinearDegrees.Cup.degreeCast (CechProduct.cochains N P p) h x) = |
| 58 | component N P p a n hpa x := by |
| 59 | subst b |
| 60 | rfl |
| 61 | |
| 62 | theorem differential_component (p a n : ℕ) (hpa : p + a = n) (x : (CechProduct.cochains N P p).obj ⦋a⦌) : |
| 63 | (TotalCup.CechProduct.total N P).d n (n + 1) (component N P p a n hpa x) = |
| 64 | component N P (p + 1) a (n + 1) (by omega) ((CechDifferential.Product.presheafDifferential N P p).app ⦋a⦌ x) + |
| 65 | (-1 : ℤ) ^ p • component N P p (a + 1) (n + 1) (by omega) |
| 66 | (Cosimplicial.BilinearCup.differential (CechProduct.cochains N P p) a x) := by |
| 67 | have h := ConcreteCategory.congr_hom (AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatBoundary.Projective.ιTotal_d_of_sum (TotalCup.CechProduct.bicomplex N P) p a n hpa) x |
| 68 | simp only [Units.smul_def] at h |
| 69 | change (TotalCup.CechProduct.total N P).d n (n + 1) (component N P p a n hpa x) = |
| 70 | component N P (p + 1) a (n + 1) (by omega) (((TotalCup.CechProduct.bicomplex N P).d p (p + 1)).f a x) + |
| 71 | (-1 : ℤ) ^ p • component N P p (a + 1) (n + 1) (by omega) |
| 72 | (((TotalCup.CechProduct.bicomplex N P).X p).d a (a + 1) x) at h |
| 73 | exact h.trans (congrArg₂ (· + ·) |
| 74 | (congrArg (component N P (p + 1) a (n + 1) (by omega)) |
| 75 | (TotalCup.CechProduct.bicomplex_d_form_apply N P p a x)) |
| 76 | (congrArg (fun z => (-1 : ℤ) ^ p • component N P p (a + 1) (n + 1) (by omega) z) |
| 77 | (TotalCup.CechProduct.bicomplex_d_cech_apply N P p a x))) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalComponents.CechProduct |