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.CechProduct |
| 2 | |
| 3 | /-! # Cech Differential -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CechDifferential.Product |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A graded product rule for the given presheaf differential passes to |
| 10 | the actual Čech cosimplicial modules. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 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 | |
| 21 | def presheafDifferential (p : ℕ) : CechProduct.cochains N P p ⟶ CechProduct.cochains N P (p + 1) := |
| 22 | (FormalCoproduct.cosimplicialObjectFunctor N).map (P.d p (p + 1)) |
| 23 | |
| 24 | theorem projection_presheafDifferential (p : ℕ) (n : SimplexCategory) (i : (N.obj (op n)).I) |
| 25 | (x : (CechProduct.cochains N P p).obj n) : |
| 26 | Cech.BilinearPairing.projection N (P.X (p + 1)) n i ((presheafDifferential N P p).app n x) = |
| 27 | (P.d p (p + 1)).app (op ((N.obj (op n)).obj i)) (Cech.BilinearPairing.projection N (P.X p) n i x) := |
| 28 | ConcreteCategory.congr_hom (CategoryTheory.Limits.Pi.map_π |
| 29 | (fun j => (P.d p (p + 1)).app (op ((N.obj (op n)).obj j))) i) x |
| 30 | |
| 31 | def formDegreeCast {p q : ℕ} (h : p = q) (n : SimplexCategory) : |
| 32 | (CechProduct.cochains N P p).obj n ≃ₗ[R] (CechProduct.cochains N P q).obj n := |
| 33 | h ▸ LinearEquiv.refl R ((CechProduct.cochains N P p).obj n) |
| 34 | |
| 35 | theorem projection_formDegreeCast {p q : ℕ} (h : p = q) (n : SimplexCategory) |
| 36 | (i : (N.obj (op n)).I) (x : (CechProduct.cochains N P p).obj n) : |
| 37 | Cech.BilinearPairing.projection N (P.X q) n i (formDegreeCast N P h n x) = |
| 38 | CechProduct.sectionDegreeCast P h (op ((N.obj (op n)).obj i)) (Cech.BilinearPairing.projection N (P.X p) n i x) := by |
| 39 | subst q |
| 40 | rfl |
| 41 | |
| 42 | variable (μ : ∀ p q (U : Cᵒᵖ), (P.X p).obj U →ₗ[R] |
| 43 | (P.X q).obj U →ₗ[R] (P.X (p + q)).obj U) |
| 44 | |
| 45 | theorem native_projection_pairing (p q : ℕ) (n : SimplexCategory) |
| 46 | (i : (N.obj (op n)).I) (x : (CechProduct.cochains N P p).obj n) (y : (CechProduct.cochains N P q).obj n) : |
| 47 | Cech.BilinearPairing.projection N (P.X (p + q)) n i (CechProduct.pairing N P μ p q n x y) = |
| 48 | μ p q (op ((N.obj (op n)).obj i)) (Cech.BilinearPairing.projection N (P.X p) n i x) |
| 49 | (Cech.BilinearPairing.projection N (P.X q) n i y) := |
| 50 | Cech.BilinearPairing.projection_pairing N _ _ _ (μ p q) n i x y |
| 51 | |
| 52 | theorem native_projection_cast_pairing (p q t : ℕ) (h : p + q = t) (n : SimplexCategory) |
| 53 | (i : (N.obj (op n)).I) (x : (CechProduct.cochains N P p).obj n) (y : (CechProduct.cochains N P q).obj n) : |
| 54 | Cech.BilinearPairing.projection N (P.X t) n i (formDegreeCast N P h n (CechProduct.pairing N P μ p q n x y)) = |
| 55 | CechProduct.sectionDegreeCast P h (op ((N.obj (op n)).obj i)) |
| 56 | (μ p q (op ((N.obj (op n)).obj i)) (Cech.BilinearPairing.projection N (P.X p) n i x) |
| 57 | (Cech.BilinearPairing.projection N (P.X q) n i y)) := |
| 58 | (projection_formDegreeCast N P h n i _).trans |
| 59 | (congrArg (CechProduct.sectionDegreeCast P h (op ((N.obj (op n)).obj i))) |
| 60 | (native_projection_pairing N P μ p q n i x y)) |
| 61 | |
| 62 | variable (dμ : ∀ p q (U : Cᵒᵖ) (x : (P.X p).obj U) (y : (P.X q).obj U), |
| 63 | (P.d (p + q) (p + q + 1)).app U (μ p q U x y) = |
| 64 | CechProduct.sectionDegreeCast P (by omega : (p + 1) + q = p + q + 1) U |
| 65 | (μ (p + 1) q U ((P.d p (p + 1)).app U x) y) + |
| 66 | (-1 : ℤ) ^ p • CechProduct.sectionDegreeCast P (by omega : p + (q + 1) = p + q + 1) U |
| 67 | (μ p (q + 1) U x ((P.d q (q + 1)).app U y))) |
| 68 | |
| 69 | include dμ in |
| 70 | theorem presheafDifferential_pairing (p q : ℕ) (n : SimplexCategory) |
| 71 | (x : (CechProduct.cochains N P p).obj n) (y : (CechProduct.cochains N P q).obj n) : |
| 72 | (presheafDifferential N P (p + q)).app n (CechProduct.pairing N P μ p q n x y) = |
| 73 | formDegreeCast N P (by omega : (p + 1) + q = p + q + 1) n |
| 74 | (CechProduct.pairing N P μ (p + 1) q n ((presheafDifferential N P p).app n x) y) + |
| 75 | (-1 : ℤ) ^ p • formDegreeCast N P (by omega : p + (q + 1) = p + q + 1) n |
| 76 | (CechProduct.pairing N P μ p (q + 1) n x ((presheafDifferential N P q).app n y)) := by |
| 77 | apply Module.ProductScalarKernel.element_ext |
| 78 | (fun i => (P.X (p + q + 1)).obj (op ((N.obj (op n)).obj i))) |
| 79 | intro i |
| 80 | change Cech.BilinearPairing.projection N (P.X (p + q + 1)) n i _ = Cech.BilinearPairing.projection N (P.X (p + q + 1)) n i _ |
| 81 | let U := op ((N.obj (op n)).obj i) |
| 82 | let px := Cech.BilinearPairing.projection N (P.X p) n i x |
| 83 | let py := Cech.BilinearPairing.projection N (P.X q) n i y |
| 84 | let pr := Cech.BilinearPairing.projection N (P.X (p + q + 1)) n i |
| 85 | let dx := (presheafDifferential N P p).app n x |
| 86 | let dy := (presheafDifferential N P q).app n y |
| 87 | let l := formDegreeCast N P (by omega : (p + 1) + q = p + q + 1) n |
| 88 | (CechProduct.pairing N P μ (p + 1) q n dx y) |
| 89 | let r := formDegreeCast N P (by omega : p + (q + 1) = p + q + 1) n |
| 90 | (CechProduct.pairing N P μ p (q + 1) n x dy) |
| 91 | have hl : pr l = CechProduct.sectionDegreeCast P (by omega) U |
| 92 | (μ (p + 1) q U ((P.d p (p + 1)).app U px) py) := |
| 93 | (native_projection_cast_pairing N P μ (p + 1) q (p + q + 1) (by omega) n i dx y).trans |
| 94 | (congrArg (fun z => CechProduct.sectionDegreeCast P (by omega) U (μ (p + 1) q U z py)) |
| 95 | (projection_presheafDifferential N P p n i x)) |
| 96 | have hr : pr r = CechProduct.sectionDegreeCast P (by omega) U |
| 97 | (μ p (q + 1) U px ((P.d q (q + 1)).app U py)) := |
| 98 | (native_projection_cast_pairing N P μ p (q + 1) (p + q + 1) (by omega) n i x dy).trans |
| 99 | (congrArg (fun z => CechProduct.sectionDegreeCast P (by omega) U (μ p (q + 1) U px z)) |
| 100 | (projection_presheafDifferential N P q n i y)) |
| 101 | have hleft := (projection_presheafDifferential N P (p + q) n i (CechProduct.pairing N P μ p q n x y)).trans |
| 102 | (congrArg ((P.d (p + q) (p + q + 1)).app U) |
| 103 | (native_projection_pairing N P μ p q n i x y)) |
| 104 | have hsum : pr (l + (-1 : ℤ) ^ p • r) = pr l + (-1 : ℤ) ^ p • pr r := |
| 105 | (pr.map_add l _).trans (congrArg (pr l + ·) (map_zsmul pr ((-1 : ℤ) ^ p) r)) |
| 106 | exact hleft.trans ((dμ p q U px py).trans |
| 107 | ((congrArg₂ (fun (a b : (P.X (p + q + 1)).obj U) => a + (-1 : ℤ) ^ p • b) |
| 108 | hl hr).symm.trans hsum.symm)) |
| 109 | |
| 110 | include dμ in |
| 111 | theorem presheafDifferential_cup (p q a b : ℕ) |
| 112 | (x : (CechProduct.cochains N P p).obj ⦋a⦌) (y : (CechProduct.cochains N P q).obj ⦋b⦌) : |
| 113 | (presheafDifferential N P (p + q)).app ⦋a + b⦌ (CechProduct.cup N P μ p q a b x y) = |
| 114 | formDegreeCast N P (by omega : (p + 1) + q = p + q + 1) ⦋a + b⦌ |
| 115 | (CechProduct.cup N P μ (p + 1) q a b ((presheafDifferential N P p).app ⦋a⦌ x) y) + |
| 116 | (-1 : ℤ) ^ p • formDegreeCast N P (by omega : p + (q + 1) = p + q + 1) ⦋a + b⦌ |
| 117 | (CechProduct.cup N P μ p (q + 1) a b x ((presheafDifferential N P q).app ⦋b⦌ y)) := by |
| 118 | have hf := ConcreteCategory.congr_hom |
| 119 | ((presheafDifferential N P p).naturality (AlgebraicTopology.Products.SimplexFaceIdentities.frontInclusion a b)) x |
| 120 | have hb := ConcreteCategory.congr_hom |
| 121 | ((presheafDifferential N P q).naturality (AlgebraicTopology.Products.SimplexFaceIdentities.backInclusion a b)) y |
| 122 | change (presheafDifferential N P (p + q)).app ⦋a + b⦌ |
| 123 | (CechProduct.pairing N P μ p q ⦋a + b⦌ ((CechProduct.cochains N P p).map (AlgebraicTopology.Products.SimplexFaceIdentities.frontInclusion a b) x) |
| 124 | ((CechProduct.cochains N P q).map (AlgebraicTopology.Products.SimplexFaceIdentities.backInclusion a b) y)) = _ |
| 125 | rw [presheafDifferential_pairing N P μ dμ] |
| 126 | change (presheafDifferential N P p).app ⦋a + b⦌ |
| 127 | ((CechProduct.cochains N P p).map (AlgebraicTopology.Products.SimplexFaceIdentities.frontInclusion a b) x) = _ at hf |
| 128 | change (presheafDifferential N P q).app ⦋a + b⦌ |
| 129 | ((CechProduct.cochains N P q).map (AlgebraicTopology.Products.SimplexFaceIdentities.backInclusion a b) y) = _ at hb |
| 130 | rw [hf, hb] |
| 131 | rfl |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CechDifferential.Product |