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.CrystallinePrincipal.Continuous |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RingDescent |
| 3 | |
| 4 | /-! # Principal Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.PrincipalSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: crystalline principal sections are affine Zariski sections |
| 12 | |
| 13 | The divided-power localization ring is canonically the ring of sections |
| 14 | on the corresponding principal open of the ambient affine scheme. These |
| 15 | isomorphisms commute with every principal-open restriction map. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Localization |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.PrincipalOpens.Category (Principal toOpens) |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.Functor |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 27 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} (U : BigCrystallineSite.Object p B J δ f) |
| 28 | |
| 29 | abbrev Sections (r : PrincipalOpens.Category.Principal U.ring) := |
| 30 | (Spec.structureSheaf U.ring).obj.obj (op (PrimeSpectrum.basicOpen r.function)) |
| 31 | |
| 32 | instance sectionsAlgebra (r : PrincipalOpens.Category.Principal U.ring) : Algebra U.ring (Sections U r) := |
| 33 | StructureSheaf.openAlgebra U.ring _ |
| 34 | |
| 35 | instance sectionsLocalization (r : PrincipalOpens.Category.Principal U.ring) : IsLocalization.Away r.function (Sections U r) := |
| 36 | StructureSheaf.IsLocalization.to_basicOpen U.ring r.function |
| 37 | |
| 38 | def sectionsEquiv (r : PrincipalOpens.Category.Principal U.ring) : Crystalline.Localization.Ring U r.function ≃ₐ[U.ring] Sections U r := |
| 39 | IsLocalization.algEquiv (Submonoid.powers r.function) _ _ |
| 40 | |
| 41 | def ringPresheaf : (PrincipalOpens.Category.Principal U.ring)ᵒᵖ ⥤ CommRingCat.{u} := |
| 42 | (Functor.inclusion U).op ⋙ (Over.forget U).op ⋙ Crystalline.RingDescent.ringPresheaf f |
| 43 | |
| 44 | def zariskiPresheaf : (PrincipalOpens.Category.Principal U.ring)ᵒᵖ ⥤ CommRingCat.{u} := |
| 45 | (PrincipalOpens.Category.toOpens U.ring).op ⋙ (Spec.structureSheaf U.ring).obj |
| 46 | |
| 47 | theorem sections_natural {r s : PrincipalOpens.Category.Principal U.ring} (a : r ⟶ s) : |
| 48 | (ringPresheaf U).map a.op ≫ (sectionsEquiv U r).toRingEquiv.toCommRingCatIso.hom = |
| 49 | (sectionsEquiv U s).toRingEquiv.toCommRingCatIso.hom ≫ (zariskiPresheaf U).map a.op := by |
| 50 | apply CommRingCat.hom_ext |
| 51 | change (sectionsEquiv U r).toRingHom.comp ((Functor.inclusion U).map a).left.ringMap.toRingHom = |
| 52 | ((Spec.structureSheaf U.ring).obj.map ((PrincipalOpens.Category.toOpens U.ring).map a).op).hom.comp |
| 53 | (sectionsEquiv U s).toRingHom |
| 54 | apply IsLocalization.ringHom_ext (S := Crystalline.Localization.Ring U s.function) (Submonoid.powers s.function) |
| 55 | apply RingHom.ext |
| 56 | intro x |
| 57 | have h := congrArg (fun g => g.ringMap x) (Over.w ((Functor.inclusion U).map a)) |
| 58 | change (sectionsEquiv U r) (((Functor.inclusion U).map a).left.ringMap |
| 59 | (algebraMap U.ring (Crystalline.Localization.Ring U s.function) x)) = |
| 60 | ((Spec.structureSheaf U.ring).obj.map ((PrincipalOpens.Category.toOpens U.ring).map a).op) |
| 61 | ((sectionsEquiv U s) (algebraMap U.ring (Crystalline.Localization.Ring U s.function) x)) |
| 62 | change ((Functor.inclusion U).map a).left.ringMap (algebraMap U.ring (Crystalline.Localization.Ring U s.function) x) = |
| 63 | algebraMap U.ring (Crystalline.Localization.Ring U r.function) x at h |
| 64 | rw [h, (sectionsEquiv U r).commutes, (sectionsEquiv U s).commutes] |
| 65 | rfl |
| 66 | |
| 67 | theorem sections_natural_apply {r s : PrincipalOpens.Category.Principal U.ring} (a : r ⟶ s) (x : Crystalline.Localization.Ring U s.function) : |
| 68 | sectionsEquiv U r (((Functor.inclusion U).map a).left.ringMap x) = |
| 69 | (zariskiPresheaf U).map a.op (sectionsEquiv U s x) := by |
| 70 | have h := congrArg (fun g => g.hom) (sections_natural U a) |
| 71 | exact DFunLike.congr_fun h x |
| 72 | |
| 73 | def ringPresheafIso : ringPresheaf U ≅ zariskiPresheaf U := |
| 74 | NatIso.ofComponents (fun r => (sectionsEquiv U r.unop).toRingEquiv.toCommRingCatIso) |
| 75 | (fun a => sections_natural U a.unop) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CrystallinePrincipal.PrincipalSections |