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.BoundedCrystalline.Site |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.WittZero |
| 3 | |
| 4 | /-! # Witt Base -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.WittBase |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: bounded original crystalline objects have their native truncated Witt base |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 21 | {X : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of (WittVector p k))} |
| 22 | |
| 23 | local notation "W" => WittVector p k |
| 24 | local notation "WittIdeal" => Ideal.span {(p : W)} |
| 25 | local notation "wittDP" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 26 | |
| 27 | variable (U : BigCrystallineSite.Object p (WittVector p k) (Ideal.span {(p : WittVector p k)}) |
| 28 | (AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f) |
| 29 | (n : ℕ) (hn : (p : U.ring) ^ (n + 1) = 0) |
| 30 | |
| 31 | omit [Fintype k] in |
| 32 | include hn in |
| 33 | theorem base_kills : WittIdeal ^ (n + 1) ≤ RingHom.ker U.base := by |
| 34 | rw [Ideal.span_singleton_pow, Ideal.span_le] |
| 35 | rintro a (rfl : a = _) |
| 36 | change U.base ((p : W) ^ (n + 1)) = 0 |
| 37 | rw [map_pow, map_natCast, hn] |
| 38 | |
| 39 | def truncatedBase : Truncated.Witt.Ring p k n →+* U.ring := |
| 40 | Ideal.Quotient.lift _ U.base (base_kills p k U n hn) |
| 41 | |
| 42 | omit [Fintype k] in |
| 43 | theorem truncatedBase_quotient : |
| 44 | (truncatedBase p k U n hn).comp (Truncated.Witt.quotient p k n) = U.base := by |
| 45 | apply RingHom.ext |
| 46 | intro w |
| 47 | rfl |
| 48 | |
| 49 | omit [Fintype k] in |
| 50 | theorem truncatedBase_isDPMorphism : |
| 51 | DividedPowers.IsDPMorphism (Truncated.Witt.dividedPowers p k n) U.dividedPowers |
| 52 | (truncatedBase p k U n hn) := by |
| 53 | apply DividedPowers.IsDPMorphism.of_comp wittDP (Truncated.Witt.dividedPowers p k n) |
| 54 | U.dividedPowers (Truncated.Witt.quotient p k n) (truncatedBase p k U n hn) rfl |
| 55 | (Truncated.Witt.quotient_isDPMorphism p k n) |
| 56 | rw [truncatedBase_quotient] |
| 57 | exact U.baseCompatible |
| 58 | |
| 59 | def residueBase (h : (p : U.ring) = 0) : k →+* U.ring := |
| 60 | (truncatedBase p k U 0 ((pow_one (p : U.ring)).trans h)).comp |
| 61 | (Truncated.WittZero.residueEquiv p k).symm.toRingHom |
| 62 | |
| 63 | theorem residueBase_constantCoeff (h : (p : U.ring) = 0) : |
| 64 | (residueBase p k U h).comp WittVector.constantCoeff = U.base := by |
| 65 | have he (w : W) : (Truncated.WittZero.residueEquiv p k).symm (WittVector.constantCoeff w) = |
| 66 | Truncated.Witt.quotient p k 0 w := by |
| 67 | apply (Truncated.WittZero.residueEquiv p k).injective |
| 68 | rw [RingEquiv.apply_symm_apply] |
| 69 | rfl |
| 70 | apply RingHom.ext |
| 71 | intro w |
| 72 | change truncatedBase p k U 0 ((pow_one (p : U.ring)).trans h) |
| 73 | ((Truncated.WittZero.residueEquiv p k).symm (WittVector.constantCoeff w)) = U.base w |
| 74 | rw [he] |
| 75 | rfl |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.WittBase |