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.Bounded.WittBase |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.Nilpotence |
| 3 | |
| 4 | /-! # Base Point Frame -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.BasePointFrame |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual truncated Witt base is a terminal frame in the original bounded crystalline site of the base field. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 19 | |
| 20 | def baseMap : Spec (CommRingCat.of k) ⟶ Spec (CommRingCat.of (WittVector p k)) := |
| 21 | Witt.Crystalline.wittStructureMap p k (Over.mk (𝟙 (Spec (CommRingCat.of k)))) |
| 22 | |
| 23 | omit [Fintype k] [CharP k p] in |
| 24 | theorem baseMap_eq : baseMap p k = Spec.map (CommRingCat.ofHom WittVector.constantCoeff) := |
| 25 | Category.id_comp _ |
| 26 | |
| 27 | instance baseMap_mono : Mono (baseMap p k) := by |
| 28 | rw [baseMap_eq] |
| 29 | let : IsClosedImmersion (Spec.map (CommRingCat.ofHom |
| 30 | (WittVector.constantCoeff : WittVector p k →+* k))) := |
| 31 | IsClosedImmersion.spec_of_surjective _ (WittVector.constantCoeff_surjective p) |
| 32 | infer_instance |
| 33 | |
| 34 | variable (n : ℕ) |
| 35 | |
| 36 | def residueEquiv : (Truncated.Witt.Ring p k n ⧸ Truncated.Witt.ideal p k n) ≃+* k := |
| 37 | (Ideal.quotEquivOfEq (Truncated.Witt.reduction_kernel p k n).symm).trans |
| 38 | (RingHom.quotientKerEquivOfSurjective (Truncated.Witt.reduction_surjective p k n)) |
| 39 | |
| 40 | theorem residueEquiv_mk (w : Truncated.Witt.Ring p k n) : |
| 41 | residueEquiv p k n (Ideal.Quotient.mk (Truncated.Witt.ideal p k n) w) = |
| 42 | Truncated.Witt.reduction p k n w := by |
| 43 | change (RingHom.quotientKerEquivOfSurjective (Truncated.Witt.reduction_surjective p k n)) |
| 44 | ((Ideal.quotEquivOfEq (Truncated.Witt.reduction_kernel p k n).symm) |
| 45 | (Ideal.Quotient.mk (Truncated.Witt.ideal p k n) w)) = _ |
| 46 | rw [Ideal.quotEquivOfEq_mk] |
| 47 | rfl |
| 48 | |
| 49 | def object : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 50 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (baseMap p k) where |
| 51 | ring := CommRingCat.of (Truncated.Witt.Ring p k n) |
| 52 | base := Truncated.Witt.quotient p k n |
| 53 | ideal := Truncated.Witt.ideal p k n |
| 54 | dividedPowers := Truncated.Witt.dividedPowers p k n |
| 55 | baseCompatible := Truncated.Witt.quotient_isDPMorphism p k n |
| 56 | primeNilpotent := Truncated.Witt.prime_nilpotent p k n |
| 57 | nilIdeal := fun _ hx => DividedPower.Nilpotence.nilpotent_of_mem |
| 58 | (Truncated.Witt.dividedPowers p k n) p (Fact.out : p.Prime).pos |
| 59 | (Truncated.Witt.prime_nilpotent p k n) hx |
| 60 | mapToX := Spec.map (CommRingCat.ofHom (residueEquiv p k n).symm.toRingHom) |
| 61 | overBase := by |
| 62 | rw [baseMap_eq, ← Spec.map_comp, ← Spec.map_comp] |
| 63 | congr 1 |
| 64 | apply CommRingCat.hom_ext |
| 65 | apply RingHom.ext |
| 66 | intro w |
| 67 | apply (residueEquiv p k n).injective |
| 68 | change residueEquiv p k n ((residueEquiv p k n).symm (WittVector.constantCoeff w)) = |
| 69 | residueEquiv p k n (Ideal.Quotient.mk (Truncated.Witt.ideal p k n) |
| 70 | (Truncated.Witt.quotient p k n w)) |
| 71 | rw [RingEquiv.apply_symm_apply, residueEquiv_mk] |
| 72 | rfl |
| 73 | |
| 74 | def bounded : BoundedCrystalline.Site.Objects (p := p) |
| 75 | (J := Ideal.span {(p : WittVector p k)}) |
| 76 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (baseMap p k) n := |
| 77 | ⟨object p k n, Truncated.Witt.prime_power_zero p k n⟩ |
| 78 | |
| 79 | variable (U : BoundedCrystalline.Site.Objects (p := p) |
| 80 | (J := Ideal.span {(p : WittVector p k)}) |
| 81 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (baseMap p k) n) |
| 82 | |
| 83 | def ringMap : DividedPowers.DPMorphism (object p k n).dividedPowers U.obj.dividedPowers := |
| 84 | { toRingHom := Bounded.WittBase.truncatedBase p k U.obj n U.property |
| 85 | __ := Bounded.WittBase.truncatedBase_isDPMorphism p k U.obj n U.property } |
| 86 | |
| 87 | theorem overBase : (BasePointFrame.ringMap p k n U).toRingHom.comp (object p k n).base = U.obj.base := |
| 88 | Bounded.WittBase.truncatedBase_quotient p k U.obj n U.property |
| 89 | |
| 90 | theorem overX : |
| 91 | Spec.map (CommRingCat.ofHom (BigCrystallineSite.Object.quotientMap U.obj (object p k n) (BasePointFrame.ringMap p k n U))) ≫ |
| 92 | (object p k n).mapToX = U.obj.mapToX := by |
| 93 | apply (cancel_mono (baseMap p k)).mp |
| 94 | rw [Category.assoc, (object p k n).overBase, U.obj.overBase] |
| 95 | rw [← Spec.map_comp, ← Spec.map_comp, ← Spec.map_comp] |
| 96 | congr 1 |
| 97 | |
| 98 | def toBase : U ⟶ bounded p k n := |
| 99 | ObjectProperty.homMk |
| 100 | { ringMap := BasePointFrame.ringMap p k n U |
| 101 | overBase := BasePointFrame.overBase p k n U |
| 102 | overX := BasePointFrame.overX p k n U } |
| 103 | |
| 104 | theorem unique (g : U ⟶ bounded p k n) : g = toBase p k n U := by |
| 105 | apply ObjectProperty.hom_ext |
| 106 | apply BigCrystallineSite.Object.Hom.ext |
| 107 | apply DividedPowers.DPMorphism.ext |
| 108 | funext x |
| 109 | obtain ⟨w, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 110 | exact congrArg (fun h => h w) g.hom.overBase |
| 111 | |
| 112 | def isTerminal : IsTerminal (bounded p k n) := |
| 113 | IsTerminal.ofUniqueHom (toBase p k n) (fun U g => unique p k n U g) |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.BasePointFrame |