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.Cech.Cup |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Small.CrystallineSeparatedProduct |
| 3 | |
| 4 | /-! # Cech Cup -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CechCup |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Alexander–Whitney multiplication on Čech cochains of the original |
| 11 | crystalline structure coefficient. The ring lift is exactly the universe |
| 12 | lift already used by the additive crystalline structure presheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Site |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 21 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 22 | (f : X ⟶ Spec (CommRingCat.of B)) [IsSeparated f] |
| 23 | |
| 24 | local instance : HasBinaryProducts (Site.AffineThickening p B J δ f) := |
| 25 | Small.CrystallineSeparatedProduct.hasBinaryProducts f (Fact.out : p.Prime).pos |
| 26 | |
| 27 | def structureRingPresheaf : (Site.AffineThickening p B J δ f)ᵒᵖ ⥤ CommRingCat.{u + 1} where |
| 28 | obj U := CommRingCat.of (ULift.{u + 1} U.unop.ring) |
| 29 | map α := CommRingCat.ofHom |
| 30 | { toFun := fun x => ⟨α.unop.ringMap x.down⟩ |
| 31 | map_one' := by ext; exact map_one α.unop.ringMap.toRingHom |
| 32 | map_mul' := fun x y => by ext; exact map_mul α.unop.ringMap.toRingHom x.down y.down |
| 33 | map_zero' := by ext; exact map_zero α.unop.ringMap.toRingHom |
| 34 | map_add' := fun x y => by ext; exact map_add α.unop.ringMap.toRingHom x.down y.down } |
| 35 | map_id _ := by ext; rfl |
| 36 | map_comp _ _ := by ext; rfl |
| 37 | |
| 38 | def structureForgetIso : structureRingPresheaf (p := p) (J := J) (δ := δ) f ⋙ |
| 39 | Cech.Cup.forgetRing ≅ |
| 40 | Site.AffineThickening.structureAbPresheaf (p := p) (B := B) (J := J) (δB := δ) (f := f) := |
| 41 | Iso.refl _ |
| 42 | |
| 43 | variable {ι : Type (u + 1)} (U : ι → Site.AffineThickening p B J δ f) |
| 44 | |
| 45 | def complex : CochainComplex AddCommGrpCat.{u + 1} ℕ := |
| 46 | (NonemptyCechNerve.complexFunctor U).obj |
| 47 | (Site.AffineThickening.structureAbPresheaf (p := p) (B := B) (J := J) (δB := δ) (f := f)) |
| 48 | |
| 49 | def originalIso : Cech.Cup.nativeComplex U (structureRingPresheaf f) ≅ complex f U := |
| 50 | (NonemptyCechNerve.complexFunctor U).mapIso (structureForgetIso f) |
| 51 | |
| 52 | def cup {m n : ℕ} (x : (complex f U).X m) (y : (complex f U).X n) : |
| 53 | (complex f U).X (m + n) := |
| 54 | (originalIso f U).hom.f (m + n) |
| 55 | (Cech.Cup.cup U (structureRingPresheaf f) |
| 56 | ((originalIso f U).inv.f m x) ((originalIso f U).inv.f n y)) |
| 57 | |
| 58 | theorem cup_isCocycle {m n : ℕ} (x : (complex f U).X m) (y : (complex f U).X n) |
| 59 | (hx : (complex f U).d m (m + 1) x = 0) |
| 60 | (hy : (complex f U).d n (n + 1) y = 0) : |
| 61 | (complex f U).d (m + n) (m + n + 1) (cup f U x y) = 0 := by |
| 62 | have hxm : (Cech.Cup.nativeComplex U (structureRingPresheaf f)).d m (m + 1) |
| 63 | ((originalIso f U).inv.f m x) = 0 := by |
| 64 | exact (ConcreteCategory.congr_hom ((originalIso f U).inv.comm m (m + 1)) x).trans |
| 65 | ((congrArg ((originalIso f U).inv.f (m + 1)) hx).trans (map_zero _)) |
| 66 | have hyn : (Cech.Cup.nativeComplex U (structureRingPresheaf f)).d n (n + 1) |
| 67 | ((originalIso f U).inv.f n y) = 0 := by |
| 68 | exact (ConcreteCategory.congr_hom ((originalIso f U).inv.comm n (n + 1)) y).trans |
| 69 | ((congrArg ((originalIso f U).inv.f (n + 1)) hy).trans (map_zero _)) |
| 70 | have hz := Cech.Cup.cup_isCocycle U (structureRingPresheaf f) _ _ hxm hyn |
| 71 | exact (ConcreteCategory.congr_hom ((originalIso f U).hom.comm (m + n) (m + n + 1)) _).trans |
| 72 | ((congrArg ((originalIso f U).hom.f (m + n + 1)) hz).trans (map_zero _)) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.CechCup |