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.BoundedOpen.Equivalence |
| 2 | |
| 3 | /-! # Postcompose Composition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.PostcomposeComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Composition of the actual crystalline geometric functors retains identity maps on PD rings. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 18 | {X Y Z : Scheme.{u}} {fX : X ⟶ Spec (CommRingCat.of B)} |
| 19 | {fY : Y ⟶ Spec (CommRingCat.of B)} {fZ : Z ⟶ Spec (CommRingCat.of B)} |
| 20 | (g : X ⟶ Y) (h : Y ⟶ Z) (hg : g ≫ fY = fX) (hh : h ≫ fZ = fY) |
| 21 | |
| 22 | include hg hh in |
| 23 | theorem overBase : (g ≫ h) ≫ fZ = fX := |
| 24 | (Category.assoc _ _ _).trans ((congrArg (fun a => g ≫ a) hh).trans hg) |
| 25 | |
| 26 | def objectIso (U : BigCrystallineSite.Object p B J δ fX) : |
| 27 | (BigCrystallineSite.postcompose h hh).obj ((BigCrystallineSite.postcompose g hg).obj U) ≅ |
| 28 | (BigCrystallineSite.postcompose (g ≫ h) (PostcomposeComposition.overBase g h hg hh)).obj U where |
| 29 | hom := |
| 30 | { ringMap := DividedPowers.DPMorphism.id U.dividedPowers |
| 31 | overBase := rfl |
| 32 | overX := by |
| 33 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U U |
| 34 | (DividedPowers.DPMorphism.id U.dividedPowers))) ≫ (U.mapToX ≫ (g ≫ h)) = (U.mapToX ≫ g) ≫ h |
| 35 | rw [BigCrystallineSite.Object.quotientMap_id, CommRingCat.ofHom_id, Spec.map_id, Category.id_comp] |
| 36 | exact (Category.assoc _ _ _).symm } |
| 37 | inv := |
| 38 | { ringMap := DividedPowers.DPMorphism.id U.dividedPowers |
| 39 | overBase := rfl |
| 40 | overX := by |
| 41 | change Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U U |
| 42 | (DividedPowers.DPMorphism.id U.dividedPowers))) ≫ ((U.mapToX ≫ g) ≫ h) = U.mapToX ≫ (g ≫ h) |
| 43 | rw [BigCrystallineSite.Object.quotientMap_id, CommRingCat.ofHom_id, Spec.map_id, Category.id_comp] |
| 44 | exact Category.assoc _ _ _ } |
| 45 | hom_inv_id := by apply BigCrystallineSite.Object.Hom.ext; rfl |
| 46 | inv_hom_id := by apply BigCrystallineSite.Object.Hom.ext; rfl |
| 47 | |
| 48 | def iso : BigCrystallineSite.postcompose (p := p) (J := J) (δ := δ) g hg ⋙ BigCrystallineSite.postcompose h hh ≅ |
| 49 | BigCrystallineSite.postcompose (g ≫ h) (PostcomposeComposition.overBase g h hg hh) := |
| 50 | NatIso.ofComponents (objectIso g h hg hh) (by intro U V α; apply BigCrystallineSite.Object.Hom.ext; rfl) |
| 51 | |
| 52 | def boundedIso (n : ℕ) : |
| 53 | BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n ⋙ |
| 54 | BoundedOpen.Equivalence.postcompose h hh n ≅ |
| 55 | BoundedOpen.Equivalence.postcompose (g ≫ h) (PostcomposeComposition.overBase g h hg hh) n := |
| 56 | NatIso.ofComponents |
| 57 | (fun U => (BoundedCrystalline.Site.property fZ n).isoMk (objectIso g h hg hh U.obj)) |
| 58 | (by |
| 59 | intro U V α |
| 60 | apply (BoundedCrystalline.Site.inclusion fZ n).map_injective |
| 61 | apply BigCrystallineSite.Object.Hom.ext |
| 62 | rfl) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.PostcomposeComposition |