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.CechCoefficient.Cup |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.TotalCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TotalBiadditiveExt |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalCup |
| 5 | |
| 6 | /-! # Total Cup -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.TotalCup |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exact coefficient change preserves the signed product on the |
| 13 | original finite Čech total, including both totalization signs. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.TotalCup.CechProduct |
| 17 | |
| 18 | universe u v r s a b |
| 19 | variable {C : Type u} [Category.{v} C] |
| 20 | {R : Type r} [CommRing R] {S : Type s} [CommRing S] |
| 21 | (F : ModuleCat.{a} R ⥤ ModuleCat.{b} S) [F.Additive] |
| 22 | (η : ∀ M : ModuleCat.{a} R, M →+ F.obj M) |
| 23 | (hη : ∀ {M N : ModuleCat.{a} R} (f : M ⟶ N) (x : M), |
| 24 | F.map f (η M x) = η N (f x)) |
| 25 | (E : SimplicialObject (FormalCoproduct.{0} C)) |
| 26 | (hE : ∀ n, Finite (E.obj (op n)).I) |
| 27 | (P : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{a} R) ℕ) |
| 28 | |
| 29 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.mappedComplex F P |
| 30 | |
| 31 | def map (n : ℕ) : (Presheaf.TotalCup.CechProduct.total E P).X n →+ (Presheaf.TotalCup.CechProduct.total E Q).X n := |
| 32 | ((GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.totalIso F E hE P).hom.f n).hom.toAddMonoidHom.comp |
| 33 | (η ((Presheaf.TotalCup.CechProduct.total E P).X n)) |
| 34 | |
| 35 | def row (p q : ℕ) := Cup.component F η E hE (P.X p) ⦋q⦌ |
| 36 | |
| 37 | theorem row_eq (p q : ℕ) (x : ((Presheaf.TotalCup.CechProduct.bicomplex E P).X p).X q) : |
| 38 | ((GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE P).hom.f p).f q |
| 39 | (η _ x) = row F η E hE P p q x := |
| 40 | ConcreteCategory.congr_hom (GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.hom_f F E hE (P.X p) q) (η _ x) |
| 41 | |
| 42 | include hη in |
| 43 | theorem injection (p q n : ℕ) (h : p+q=n) (x : ((Presheaf.TotalCup.CechProduct.bicomplex E P).X p).X q) : |
| 44 | TotalCup.map F η E hE P n ((Presheaf.TotalCup.CechProduct.bicomplex E P).ιTotal (.up ℕ) p q n h x) = |
| 45 | (Presheaf.TotalCup.CechProduct.bicomplex E Q).ιTotal (.up ℕ) p q n h (row F η E hE P p q x) := |
| 46 | (congrArg ((GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal.totalIso F E hE P).hom.f n) |
| 47 | (hη ((Presheaf.TotalCup.CechProduct.bicomplex E P).ιTotal (.up ℕ) p q n h) x).symm).trans |
| 48 | ((ConcreteCategory.congr_hom |
| 49 | (TotalCoordinates.injection F E hE P p q n h) (η _ x)).trans |
| 50 | (congrArg ((Presheaf.TotalCup.CechProduct.bicomplex E Q).ιTotal (.up ℕ) p q n h) (row_eq F η E hE P p q x))) |
| 51 | |
| 52 | variable |
| 53 | (μ : ∀ p q U, (P.X p).obj U →ₗ[R] (P.X q).obj U →ₗ[R] (P.X (p+q)).obj U) |
| 54 | (ν : ∀ p q U, F.obj ((P.X p).obj U) →ₗ[S] F.obj ((P.X q).obj U) →ₗ[S] |
| 55 | F.obj ((P.X (p+q)).obj U)) |
| 56 | (hprod : ∀ p q U (x : (P.X p).obj U) (y : (P.X q).obj U), |
| 57 | η ((P.X (p+q)).obj U) (μ p q U x y) = |
| 58 | ν p q U (η ((P.X p).obj U) x) (η ((P.X q).obj U) y)) |
| 59 | |
| 60 | include hη hprod in |
| 61 | theorem row_cup (p q j k : ℕ) (x : ((Presheaf.TotalCup.CechProduct.bicomplex E P).X p).X j) |
| 62 | (y : ((Presheaf.TotalCup.CechProduct.bicomplex E P).X q).X k) : |
| 63 | row F η E hE P (p+q) (j+k) (Presheaf.CechProduct.cup E P μ p q j k x y) = |
| 64 | Presheaf.CechProduct.cup E Q ν p q j k (row F η E hE P p j x) (row F η E hE P q k y) := |
| 65 | Cup.cup F η hη E hE (P.X p) (P.X q) (P.X (p+q)) |
| 66 | (μ p q) (ν p q) (hprod p q) j k x y |
| 67 | |
| 68 | include hη hprod in |
| 69 | theorem map_cup (n m : ℕ) (x : (Presheaf.TotalCup.CechProduct.total E P).X n) (y : (Presheaf.TotalCup.CechProduct.total E P).X m) : |
| 70 | TotalCup.map F η E hE P (n+m) (Presheaf.TotalCup.CechProduct.totalCup E P μ n m x y) = |
| 71 | Presheaf.TotalCup.CechProduct.totalCup E Q ν n m (TotalCup.map F η E hE P n x) (TotalCup.map F η E hE P m y) := by |
| 72 | let A := (LinearMap.toAddMonoidHom'.comp (Presheaf.TotalCup.CechProduct.totalCup E P μ n m).toAddMonoidHom).compr₂ |
| 73 | (TotalCup.map F η E hE P (n+m)) |
| 74 | let B := ((LinearMap.toAddMonoidHom'.comp (Presheaf.TotalCup.CechProduct.totalCup E Q ν n m).toAddMonoidHom).compl₂ |
| 75 | (TotalCup.map F η E hE P m)).comp (TotalCup.map F η E hE P n) |
| 76 | have hab : A = B := by |
| 77 | apply TotalBiadditiveExt.biadditive_ext (Presheaf.TotalCup.CechProduct.bicomplex E P) (Presheaf.TotalCup.CechProduct.bicomplex E P) n m |
| 78 | intro p j q k hpj hqk u v |
| 79 | change TotalCup.map F η E hE P (n+m) |
| 80 | (Presheaf.TotalCup.CechProduct.totalCup E P μ n m ((Presheaf.TotalCup.CechProduct.bicomplex E P).ιTotal (.up ℕ) p j n hpj u) |
| 81 | ((Presheaf.TotalCup.CechProduct.bicomplex E P).ιTotal (.up ℕ) q k m hqk v)) = |
| 82 | Presheaf.TotalCup.CechProduct.totalCup E Q ν n m (TotalCup.map F η E hE P n ((Presheaf.TotalCup.CechProduct.bicomplex E P).ιTotal (.up ℕ) p j n hpj u)) |
| 83 | (TotalCup.map F η E hE P m ((Presheaf.TotalCup.CechProduct.bicomplex E P).ιTotal (.up ℕ) q k m hqk v)) |
| 84 | have hi := injection F η hη E hE P (p+q) (j+k) (n+m) (by omega) |
| 85 | (Presheaf.CechProduct.cup E P μ p q j k u v) |
| 86 | have hc := congrArg ((Presheaf.TotalCup.CechProduct.bicomplex E Q).ιTotal (.up ℕ) (p+q) (j+k) (n+m) (by change (p+q)+(j+k)=n+m; omega)) |
| 87 | (row_cup F η hη E hE P μ ν hprod p q j k u v) |
| 88 | exact (congrArg (TotalCup.map F η E hE P (n+m)) (Presheaf.TotalCup.CechProduct.totalCup_ι E P μ n m p j q k hpj hqk u v)).trans |
| 89 | ((map_zsmul (TotalCup.map F η E hE P (n+m)) ((-1 : ℤ)^(j*q)) _).trans |
| 90 | ((congrArg ((-1 : ℤ)^(j*q) • ·) (hi.trans hc)).trans |
| 91 | ((Presheaf.TotalCup.CechProduct.totalCup_ι E Q ν n m p j q k hpj hqk (row F η E hE P p j u) |
| 92 | (row F η E hE P q k v)).symm.trans |
| 93 | (congrArg₂ (fun x y => Presheaf.TotalCup.CechProduct.totalCup E Q ν n m x y) |
| 94 | (injection F η hη E hE P p j n hpj u).symm |
| 95 | (injection F η hη E hE P q k m hqk v).symm)))) |
| 96 | exact DFunLike.congr_fun (DFunLike.congr_fun hab x) y |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.TotalCup |