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.ZeroLevel.GlobalFunctions |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Covering |
| 3 | |
| 4 | /-! # Global Section Injectivity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.GlobalSectionInjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smoothness makes the actual global-function value of a level-zero crystalline section injective. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.AffineOpenSections |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 19 | (X : Over (Spec (CommRingCat.of k))) [Smooth X.hom] |
| 20 | |
| 21 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k X |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 23 | |
| 24 | theorem value_eq_of_support (s t : AffineOpenSections.Sections p k X) (V : X.left.Opens) (hV : IsAffineOpen V) |
| 25 | (h : AffineOpenSections.value p k X s V hV = AffineOpenSections.value p k X t V hV) |
| 26 | (U : BoundedCrystalline.Site.Objects (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 27 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 28 | (Witt.Crystalline.wittStructureMap p k X) 0) |
| 29 | (hr : Set.range U.obj.mapToX ⊆ Set.range hV.fromSpec) : s.app (op U) = t.app (op U) := by |
| 30 | let j : Spec (CommRingCat.of (U.obj.ring ⧸ U.obj.ideal)) ⟶ Spec Γ(X.left, V) := |
| 31 | IsOpenImmersion.lift hV.fromSpec U.obj.mapToX hr |
| 32 | have hj : j ≫ hV.fromSpec = U.obj.mapToX := IsOpenImmersion.lift_fac hV.fromSpec U.obj.mapToX hr |
| 33 | obtain ⟨β⟩ := @OpenFrame.exists_map p inferInstance k (AffineOpenSections.sectionRing k X V) |
| 34 | inferInstance inferInstance inferInstance (CommAlgCat.commRing (AffineOpenSections.sectionRing k X V)) |
| 35 | (CommAlgCat.algebra (AffineOpenSections.sectionRing k X V)) X hV.fromSpec |
| 36 | (AffineOpen.SectionBase.overBase k X V hV) U.obj j hj (AffineOpenSections.smooth k X V hV) |
| 37 | ((pow_one (p : U.obj.ring)).symm.trans U.property) |
| 38 | let γ : U ⟶ AffineOpenSections.frame p k X V hV := ObjectProperty.homMk β |
| 39 | apply ModuleCat.hom_ext |
| 40 | apply LinearMap.ext_ring |
| 41 | apply ULift.ext |
| 42 | exact (BoundedCrystalline.CrystallineSections.value_natural f 0 s γ).symm.trans |
| 43 | ((congrArg β.ringMap h).trans (BoundedCrystalline.CrystallineSections.value_natural f 0 t γ)) |
| 44 | |
| 45 | theorem affine_ext (s t : AffineOpenSections.Sections p k X) |
| 46 | (h : ∀ (U : X.left.Opens) (hU : IsAffineOpen U), AffineOpenSections.value p k X s U hU = AffineOpenSections.value p k X t U hU) : s = t := by |
| 47 | have hP := (BoundedCrystalline.Site.inclusion (p := p) |
| 48 | (J := Ideal.span {(p : WittVector p k)}) |
| 49 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f 0).op_comp_isSheaf_of_isSheaf |
| 50 | (BoundedCrystalline.Site.topology f 0) BigCrystallineSite.Object.topology |
| 51 | (BigCrystallineCohomology.largePresheaf f) (Crystalline.StructureDescent.largePresheaf_isSheaf f) |
| 52 | apply NatTrans.ext |
| 53 | funext T |
| 54 | let V : X.left.affineOpens → X.left.Opens := fun U => U.val |
| 55 | have hc : BoundedOpen.Covering.sieve V T.unop ∈ BoundedCrystalline.Site.topology f 0 T.unop := by |
| 56 | apply BoundedOpen.Covering.covering |
| 57 | intro z |
| 58 | exact TopologicalSpace.Opens.mem_iSup.mp |
| 59 | ((iSup_affineOpens_eq_top X.left).symm ▸ (show T.unop.obj.mapToX z ∈ (⊤ : X.left.Opens) from trivial)) |
| 60 | apply (hP (ModuleCat.of R R) (BoundedOpen.Covering.sieve V T.unop) hc).isSeparatedFor.ext |
| 61 | intro U α hα |
| 62 | obtain ⟨i, hi⟩ := hα |
| 63 | have hr : Set.range U.obj.mapToX ⊆ Set.range i.property.fromSpec := by |
| 64 | rw [i.property.range_fromSpec] |
| 65 | exact (BoundedOpen.Support.property_iff_range_subset f 0 U i.val).mp hi |
| 66 | have hv : s.app (op U) = t.app (op U) := |
| 67 | value_eq_of_support p k X s t i.val i.property (h i.val i.property) U hr |
| 68 | exact ((s.naturality α.op).symm.trans (Category.id_comp _)).trans |
| 69 | (hv.trans ((t.naturality α.op).symm.trans (Category.id_comp _)).symm) |
| 70 | |
| 71 | theorem injective [IsSeparated X.hom] : Function.Injective (GlobalFunctions.value p k X) := by |
| 72 | intro s t h |
| 73 | apply affine_ext p k X |
| 74 | intro U hU |
| 75 | exact (GlobalFunctions.restriction p k X s U hU).symm.trans |
| 76 | ((congrArg (X.left.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op) h).trans |
| 77 | (GlobalFunctions.restriction p k X t U hU)) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.GlobalSectionInjectivity |