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.Witt.Crystalline |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation |
| 3 | |
| 4 | /-! # Witt -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: the actual truncated Witt divided-power base |
| 12 | |
| 13 | Positive powers of the Witt base ideal define quotient rings with proved |
| 14 | divided powers, residue maps, and nilpotence. These are the coefficient |
| 15 | rings for finite polynomial crystalline presentations. |
| 16 | -/ |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] [PerfectRing k p] |
| 21 | |
| 22 | local notation "W" => WittVector p k |
| 23 | local notation "J" => Ideal.span {(p : W)} |
| 24 | local notation "δ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 25 | |
| 26 | abbrev Ring (n : ℕ) := AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.Ring W J n |
| 27 | |
| 28 | def quotient (n : ℕ) : W →+* Ring p k n := Ideal.Quotient.mk (J ^ (n + 1)) |
| 29 | |
| 30 | def ideal (n : ℕ) : Ideal (Ring p k n) := AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.ideal W J n |
| 31 | |
| 32 | def dividedPowers (n : ℕ) : DividedPowers (ideal p k n) := AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.dividedPowers W J δ n |
| 33 | |
| 34 | omit [PerfectRing k p] in |
| 35 | theorem quotient_isDPMorphism (n : ℕ) : |
| 36 | DividedPowers.IsDPMorphism δ (dividedPowers p k n) (quotient p k n) := |
| 37 | AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.quotient_isDPMorphism W J δ n |
| 38 | |
| 39 | def reduction (n : ℕ) : Ring p k n →+* k := |
| 40 | AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.reduction W J WittVector.constantCoeff WittVector.ker_constantCoeff n |
| 41 | |
| 42 | theorem reduction_quotient (n : ℕ) : |
| 43 | (reduction p k n).comp (quotient p k n) = WittVector.constantCoeff := by |
| 44 | ext w |
| 45 | rfl |
| 46 | |
| 47 | theorem reduction_surjective (n : ℕ) : Function.Surjective (reduction p k n) := |
| 48 | AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.reduction_surjective W J WittVector.constantCoeff WittVector.ker_constantCoeff |
| 49 | (WittVector.constantCoeff_surjective p) n |
| 50 | |
| 51 | theorem reduction_kernel (n : ℕ) : RingHom.ker (reduction p k n) = ideal p k n := |
| 52 | AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.reduction_kernel W J WittVector.constantCoeff WittVector.ker_constantCoeff n |
| 53 | |
| 54 | omit [CharP k p] [PerfectRing k p] in |
| 55 | theorem prime_power_zero (n : ℕ) : (p : Ring p k n) ^ (n + 1) = 0 := by |
| 56 | rw [← map_natCast (quotient p k n) p, ← map_pow] |
| 57 | exact Ideal.Quotient.eq_zero_iff_mem.mpr |
| 58 | (Ideal.pow_mem_pow (Ideal.subset_span (Set.mem_singleton (p : W))) (n + 1)) |
| 59 | |
| 60 | omit [CharP k p] [PerfectRing k p] in |
| 61 | theorem prime_nilpotent (n : ℕ) : IsNilpotent (p : Ring p k n) := |
| 62 | ⟨n + 1, prime_power_zero p k n⟩ |
| 63 | |
| 64 | omit [CharP k p] [PerfectRing k p] in |
| 65 | theorem ideal_nilpotent (n : ℕ) : IsNilpotent (ideal p k n) := |
| 66 | AlgebraicGeometry.Crystalline.Cohomology.PD.Truncation.PDTruncation.ideal_isNilpotent W J n |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt |