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.Crystalline.Continuous |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 3 | |
| 4 | /-! # Open Condition -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenCondition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: original crystalline objects whose closed map factors through a geometric chart |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 22 | (g : X ⟶ Y) |
| 23 | |
| 24 | def property : ObjectProperty (BigCrystallineSite.Object p B J δ fY) := fun U => |
| 25 | ∃ t : Spec (CommRingCat.of (U.ring ⧸ U.ideal)) ⟶ X, t ≫ g = U.mapToX |
| 26 | |
| 27 | theorem incoming {U V : BigCrystallineSite.Object p B J δ fY} (α : U ⟶ V) (hV : property g V) : property g U := by |
| 28 | obtain ⟨t, ht⟩ := hV |
| 29 | exact ⟨BigCrystallineSite.Object.closed.map α ≫ t, (Category.assoc _ _ _).trans |
| 30 | ((congrArg (fun s => BigCrystallineSite.Object.closed.map α ≫ s) ht).trans α.overX)⟩ |
| 31 | |
| 32 | variable (hg : g ≫ fY = f) |
| 33 | (U : BigCrystallineSite.Object p B J δ fY) (t : Spec (CommRingCat.of (U.ring ⧸ U.ideal)) ⟶ X) |
| 34 | (ht : t ≫ g = U.mapToX) |
| 35 | |
| 36 | def liftObject : BigCrystallineSite.Object p B J δ f where |
| 37 | ring := U.ring |
| 38 | base := U.base |
| 39 | ideal := U.ideal |
| 40 | dividedPowers := U.dividedPowers |
| 41 | baseCompatible := U.baseCompatible |
| 42 | primeNilpotent := U.primeNilpotent |
| 43 | nilIdeal := U.nilIdeal |
| 44 | mapToX := t |
| 45 | overBase := by |
| 46 | rw [← hg, ← Category.assoc, ht, U.overBase] |
| 47 | |
| 48 | theorem liftObject_property (n : ℕ) (hU : BoundedCrystalline.Site.property fY n U) : |
| 49 | BoundedCrystalline.Site.property f n (liftObject g hg U t ht) := hU |
| 50 | |
| 51 | def liftIso : (BigCrystallineSite.postcompose g hg).obj (liftObject g hg U t ht) ≅ U where |
| 52 | hom := |
| 53 | { ringMap := DividedPowers.DPMorphism.id U.dividedPowers |
| 54 | overBase := rfl |
| 55 | overX := by |
| 56 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U U |
| 57 | (DividedPowers.DPMorphism.id U.dividedPowers))) ≫ U.mapToX = t ≫ g |
| 58 | rw [BigCrystallineSite.Object.quotientMap_id, CommRingCat.ofHom_id, Spec.map_id, Category.id_comp] |
| 59 | exact ht.symm } |
| 60 | inv := |
| 61 | { ringMap := DividedPowers.DPMorphism.id U.dividedPowers |
| 62 | overBase := rfl |
| 63 | overX := by |
| 64 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U U |
| 65 | (DividedPowers.DPMorphism.id U.dividedPowers))) ≫ (t ≫ g) = U.mapToX |
| 66 | rw [BigCrystallineSite.Object.quotientMap_id, CommRingCat.ofHom_id, Spec.map_id, Category.id_comp] |
| 67 | exact ht } |
| 68 | hom_inv_id := by apply BigCrystallineSite.Object.Hom.ext; rfl |
| 69 | inv_hom_id := by apply BigCrystallineSite.Object.Hom.ext; rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenCondition |