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 | /-! # Cartesian -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Cartesian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: cartesian coverings in the crystalline sites |
| 11 | |
| 12 | For the small crystalline site, a morphism which is an open immersion on |
| 13 | ambient thickenings is automatically cartesian on the closed subschemes. |
| 14 | This verifies the compatibility of the existing small-site coverings with |
| 15 | the explicit covering condition in the big site. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | lemma isPullback_of_open_closed_surjective {U V T S : Scheme.{u}} |
| 23 | (a : U ⟶ V) (i : U ⟶ T) (j : V ⟶ S) (b : T ⟶ S) |
| 24 | [IsOpenImmersion a] [IsOpenImmersion b] [IsClosedImmersion j] |
| 25 | (h : a ≫ j = i ≫ b) (hi : Function.Surjective i) : IsPullback a i j b := by |
| 26 | let l : U ⟶ pullback j b := pullback.lift a i h |
| 27 | have hfst : l ≫ pullback.fst j b = a := pullback.lift_fst _ _ _ |
| 28 | have hsnd : l ≫ pullback.snd j b = i := pullback.lift_snd _ _ _ |
| 29 | have : IsOpenImmersion (l ≫ pullback.fst j b) := by rw [hfst]; infer_instance |
| 30 | have : IsOpenImmersion l := IsOpenImmersion.of_comp l (pullback.fst j b) |
| 31 | have hsurj : Function.Surjective l := by |
| 32 | intro z |
| 33 | obtain ⟨x, hx⟩ := hi (pullback.snd j b z) |
| 34 | refine ⟨x, ?_⟩ |
| 35 | apply (pullback.snd j b).isClosedEmbedding.injective |
| 36 | change (l ≫ pullback.snd j b) x = pullback.snd j b z |
| 37 | rw [hsnd] |
| 38 | exact hx |
| 39 | have : Epi l.base := (TopCat.epi_iff_surjective l.base).mpr hsurj |
| 40 | have : IsIso l := IsOpenImmersion.isIso l |
| 41 | exact IsPullback.of_iso_pullback ⟨h⟩ (asIso l) hfst hsnd |
| 42 | |
| 43 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Site |
| 44 | |
| 45 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 46 | variable {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} |
| 47 | variable {U V : Site.AffineThickening p B J δ f} (α : U ⟶ V) |
| 48 | |
| 49 | lemma small_cover_cartesian [IsOpenImmersion (Site.AffineThickening.ambient.map α)] : |
| 50 | BigCrystallineSite.Object.Cartesian |
| 51 | (BigCrystallineSite.fromSmall.map α) := by |
| 52 | let a := Spec.map (CommRingCat.ofHom (Site.AffineThickening.quotientMap U V α.ringMap)) |
| 53 | let i := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk U.ideal)) |
| 54 | let j := Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk V.ideal)) |
| 55 | let b := Spec.map (CommRingCat.ofHom α.ringMap.toRingHom) |
| 56 | have ha : IsOpenImmersion a := by |
| 57 | have : IsOpenImmersion (a ≫ V.openMap) := by |
| 58 | change IsOpenImmersion (Spec.map (CommRingCat.ofHom |
| 59 | (Site.AffineThickening.quotientMap U V α.ringMap)) ≫ V.openMap) |
| 60 | rw [α.overX] |
| 61 | infer_instance |
| 62 | exact IsOpenImmersion.of_comp a V.openMap |
| 63 | have hb : IsOpenImmersion b := inferInstanceAs (IsOpenImmersion (Site.AffineThickening.ambient.map α)) |
| 64 | have hj : IsClosedImmersion j := IsClosedImmersion.spec_of_surjective _ Ideal.Quotient.mk_surjective |
| 65 | have hi : Function.Surjective i := by |
| 66 | apply (PrimeSpectrum.comap_quotientMk_bijective_of_le_nilradical (I := U.ideal) ?_).2 |
| 67 | intro x hx |
| 68 | exact mem_nilradical.mpr (U.nilIdeal x hx) |
| 69 | have h : a ≫ j = i ≫ b := by |
| 70 | change Spec.map (CommRingCat.ofHom (Site.AffineThickening.quotientMap U V α.ringMap)) ≫ |
| 71 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk V.ideal)) = |
| 72 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk U.ideal)) ≫ Spec.map (CommRingCat.ofHom α.ringMap.toRingHom) |
| 73 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 74 | rfl |
| 75 | exact isPullback_of_open_closed_surjective a i j b h hi |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Cartesian |