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.Crystalline.Site |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers |
| 3 | |
| 4 | /-! # Crystalline -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: the actual Witt-vector crystalline base and rational cohomology |
| 12 | |
| 13 | The divided powers on (p) are imported from a proved arithmetic helper, |
| 14 | not from an Cohomology statement or comparison theorem. The site consists of |
| 15 | affine divided-power thickenings of opens of X over this Witt-vector base. |
| 16 | Rational coefficients are obtained by tensoring with Frac(W(k)). |
| 17 | No finiteness, cohomological Frobenius, or trace comparison is assumed. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Site |
| 25 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] |
| 28 | variable (k : Type u) [Field k] [CharP k p] [PerfectRing k p] |
| 29 | |
| 30 | local notation "W" => WittVector p k |
| 31 | local notation "K₀" => FractionRing (WittVector p k) |
| 32 | |
| 33 | /-- The special fiber regarded as a scheme over the Witt-vector ring. -/ |
| 34 | def wittStructureMap (X : Over (Spec (CommRingCat.of k))) : |
| 35 | X.left ⟶ Spec (CommRingCat.of W) := |
| 36 | X.hom ≫ Spec.map (CommRingCat.ofHom (WittVector.constantCoeff : W →+* k)) |
| 37 | |
| 38 | /-- The affine crystalline site of the given special fiber over W(k). -/ |
| 39 | abbrev CrystallineObject (X : Over (Spec (CommRingCat.of k))) := |
| 40 | Crystalline.Site.AffineThickening p W (Ideal.span {(p : W)}) (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 41 | (wittStructureMap p k X) |
| 42 | |
| 43 | /-- Integral crystalline cohomology with the actual Witt-vector action. -/ |
| 44 | abbrev integralCohomology (X : Over (Spec (CommRingCat.of k))) (n : ℕ) : Type (u + 2) := |
| 45 | Crystalline.Site.AffineThickening.IntegralModuleCohomology |
| 46 | (p := p) (B := W) (J := Ideal.span {(p : W)}) (δB := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 47 | (f := wittStructureMap p k X) n |
| 48 | |
| 49 | /-- Rational crystalline cohomology, defined by scalar extension from |
| 50 | the integral geometric cohomology group. -/ |
| 51 | def rationalCohomology (X : Over (Spec (CommRingCat.of k))) (n : ℕ) : ModuleCat.{u + 2} K₀ := |
| 52 | ModuleCat.of K₀ (TensorProduct W K₀ (integralCohomology p k X n)) |
| 53 | |
| 54 | /-- The canonical Witt Frobenius is a morphism of divided-power rings. -/ |
| 55 | def wittFrobeniusDP : |
| 56 | DividedPowers.DPMorphism (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) where |
| 57 | toRingHom := (WittVector.frobeniusEquiv p k).toRingHom |
| 58 | ideal_comp := Ideal.map_le_iff_le_comap.mpr (fun x hx => AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.frobenius_mem p k x hx) |
| 59 | dpow_comp x hx := (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.frobenius_dpow p k _ x hx).symm |
| 60 | |
| 61 | @[simp] |
| 62 | lemma wittFrobeniusDP_apply (x : W) : wittFrobeniusDP p k x = WittVector.frobenius x := rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |