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.DividedPower.Relations |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Small.CrystallineLocalization |
| 3 | |
| 4 | /-! # Relation Quotient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelationQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: quotienting crystalline thickenings by divided-power relations |
| 12 | |
| 13 | Relations inside the divided-power ideal preserve the original closed |
| 14 | subscheme. The quotient is an actual crystalline object, and it stays in |
| 15 | the small site whenever the original object belongs to the small site. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 23 | |
| 24 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 25 | variable {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 26 | variable (U : BigCrystallineSite.Object p B J δ f) (S : Set U.ring) (hS : S ⊆ U.ideal) |
| 27 | |
| 28 | abbrev Ring := U.ring ⧸ DividedPower.Relations.relationIdeal U.dividedPowers S |
| 29 | |
| 30 | abbrev quotientRingMap : U.ring →+* Ring U S := |
| 31 | Ideal.Quotient.mk (DividedPower.Relations.relationIdeal U.dividedPowers S) |
| 32 | |
| 33 | abbrev ideal := U.ideal.map (quotientRingMap U S) |
| 34 | |
| 35 | abbrev dividedPowers := DividedPower.Relations.dividedPowers U.dividedPowers S hS |
| 36 | |
| 37 | def quotientDP : DividedPowers.DPMorphism U.dividedPowers (RelationQuotient.dividedPowers U S hS) := |
| 38 | DividedPower.Relations.quotientMap U.dividedPowers S hS |
| 39 | |
| 40 | def closedRingMap : U.ring ⧸ U.ideal →+* Ring U S ⧸ RelationQuotient.ideal U S := |
| 41 | IntegralComparison.Quotient.QuotientPullback.residueMap U.ideal (quotientRingMap U S) |
| 42 | |
| 43 | include hS in |
| 44 | lemma closedRingMap_eq : closedRingMap U S = |
| 45 | (DividedPower.Relations.residueEquiv U.dividedPowers S hS).symm.toRingHom := by |
| 46 | apply RingHom.ext |
| 47 | intro x |
| 48 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 49 | rfl |
| 50 | |
| 51 | def closedMap : Spec (CommRingCat.of (Ring U S ⧸ RelationQuotient.ideal U S)) ⟶ |
| 52 | Spec (CommRingCat.of (U.ring ⧸ U.ideal)) := Spec.map (CommRingCat.ofHom (closedRingMap U S)) |
| 53 | |
| 54 | include hS in |
| 55 | lemma closedMap_isIso : IsIso (closedMap U S) := by |
| 56 | unfold closedMap |
| 57 | rw [closedRingMap_eq U S hS] |
| 58 | exact inferInstanceAs (IsIso (Spec.map |
| 59 | (DividedPower.Relations.residueEquiv U.dividedPowers S hS).toCommRingCatIso.inv)) |
| 60 | |
| 61 | lemma closed_cartesian : IsPullback (closedMap U S) |
| 62 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk (RelationQuotient.ideal U S)))) |
| 63 | (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk U.ideal))) |
| 64 | (Spec.map (CommRingCat.ofHom (quotientRingMap U S))) := |
| 65 | IntegralComparison.Quotient.QuotientPullback.schemePullback U.ideal (quotientRingMap U S) |
| 66 | |
| 67 | abbrev object : BigCrystallineSite.Object p B J δ f where |
| 68 | ring := CommRingCat.of (Ring U S) |
| 69 | base := (quotientRingMap U S).comp U.base |
| 70 | ideal := RelationQuotient.ideal U S |
| 71 | dividedPowers := RelationQuotient.dividedPowers U S hS |
| 72 | baseCompatible := (quotientDP U S hS).isDPMorphism.comp _ U.baseCompatible |
| 73 | primeNilpotent := by simpa only [map_natCast] using U.primeNilpotent.map (quotientRingMap U S) |
| 74 | nilIdeal := by |
| 75 | intro x hx |
| 76 | obtain ⟨a, ha, rfl⟩ := |
| 77 | (Ideal.mem_map_iff_of_surjective (quotientRingMap U S) Ideal.Quotient.mk_surjective).mp hx |
| 78 | exact (U.nilIdeal a ha).map (quotientRingMap U S) |
| 79 | mapToX := closedMap U S ≫ U.mapToX |
| 80 | overBase := by |
| 81 | rw [Category.assoc, U.overBase, ← Category.assoc, |
| 82 | (closed_cartesian U S).w, |
| 83 | Category.assoc, ← Spec.map_comp] |
| 84 | rfl |
| 85 | |
| 86 | def hom : object U S hS ⟶ U where |
| 87 | ringMap := quotientDP U S hS |
| 88 | overBase := rfl |
| 89 | overX := rfl |
| 90 | |
| 91 | instance quotient_open [IsOpenImmersion U.mapToX] : IsOpenImmersion (object U S hS).mapToX := by |
| 92 | have : IsIso (closedMap U S) := closedMap_isIso U S hS |
| 93 | change IsOpenImmersion (closedMap U S ≫ U.mapToX) |
| 94 | infer_instance |
| 95 | |
| 96 | abbrev smallObject (U : Site.AffineThickening p B J δ f) |
| 97 | (S : Set U.ring) (hS : S ⊆ U.ideal) : Site.AffineThickening p B J δ f := by |
| 98 | have : IsOpenImmersion (BigCrystallineSite.fromSmall.obj U).mapToX := U.isOpenImmersion |
| 99 | have : IsOpenImmersion (object (BigCrystallineSite.fromSmall.obj U) S hS).mapToX := quotient_open (BigCrystallineSite.fromSmall.obj U) S hS |
| 100 | exact Small.CrystallineLocalization.smallOfBig (object (BigCrystallineSite.fromSmall.obj U) S hS) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelationQuotient |