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.BigCrystallineSite |
| 2 | |
| 3 | /-! # Crystalline Diagram -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Open.CrystallineDiagram |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A diagram of actual open crystalline thickenings retains its |
| 10 | original rings and maps when viewed in the small crystalline site. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v w |
| 15 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 16 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 17 | {C : Type v} [Category.{w} C] |
| 18 | (F : C ⥤ BigCrystallineSite.Object p B J δ f) |
| 19 | (hOpen : ∀ c, IsOpenImmersion (F.obj c).mapToX) |
| 20 | |
| 21 | def object (c : C) : Crystalline.Site.AffineThickening p B J δ f where |
| 22 | ring := (F.obj c).ring |
| 23 | base := (F.obj c).base |
| 24 | ideal := (F.obj c).ideal |
| 25 | dividedPowers := (F.obj c).dividedPowers |
| 26 | baseCompatible := (F.obj c).baseCompatible |
| 27 | primeNilpotent := (F.obj c).primeNilpotent |
| 28 | nilIdeal := (F.obj c).nilIdeal |
| 29 | openMap := (F.obj c).mapToX |
| 30 | isOpenImmersion := hOpen c |
| 31 | overBase := (F.obj c).overBase |
| 32 | |
| 33 | def map {c d : C} (a : c ⟶ d) : object F hOpen c ⟶ object F hOpen d where |
| 34 | ringMap := (F.map a).ringMap |
| 35 | overBase := (F.map a).overBase |
| 36 | overX := (F.map a).overX |
| 37 | |
| 38 | def functor : C ⥤ Crystalline.Site.AffineThickening p B J δ f where |
| 39 | obj := object F hOpen |
| 40 | map := CrystallineDiagram.map F hOpen |
| 41 | map_id c := by |
| 42 | apply Crystalline.Site.AffineThickening.Hom.ext |
| 43 | exact congrArg BigCrystallineSite.Object.Hom.ringMap (F.map_id c) |
| 44 | map_comp a b := by |
| 45 | apply Crystalline.Site.AffineThickening.Hom.ext |
| 46 | exact congrArg BigCrystallineSite.Object.Hom.ringMap (F.map_comp a b) |
| 47 | |
| 48 | def inclusionIso : functor F hOpen ⋙ BigCrystallineSite.fromSmall ≅ F := |
| 49 | NatIso.ofComponents (fun _ => Iso.refl _) (fun _ => by simp; rfl) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Open.CrystallineDiagram |