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.GlobalFunction.CrystallineEquivalence |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.CrystallineFrobenius |
| 3 | import Mathlib.LinearAlgebra.Charpoly.ToMatrix |
| 4 | |
| 5 | /-! # Crystalline Polynomial -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.CrystallinePolynomial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original degree-zero crystalline Frobenius polynomial is the polynomial of the actual global-function Witt Frobenius. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | attribute [local instance] PeriodInvariants.WittAlgebraFunctor.wittAlgebra |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 21 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] [Nonempty X.left] |
| 22 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) (a : ℕ) (hcard : Fintype.card k = p ^ a) |
| 23 | |
| 24 | local notation "W" => WittVector p k |
| 25 | local notation "K" => FractionRing (WittVector p k) |
| 26 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 27 | |
| 28 | theorem rational (z : TensorProduct W K (WittVector p A)) : |
| 29 | Global.CrystallineFrobenius.rationalFrobenius p k X a hcard 0 |
| 30 | (CrystallineEquivalence.rationalEquiv p k X hprojective z) = |
| 31 | CrystallineEquivalence.rationalEquiv p k X hprojective |
| 32 | ((WittFrobenius.witt p k X).toLinearMap.baseChange K z) := by |
| 33 | induction z using TensorProduct.inductionOn with |
| 34 | | tmul c w => |
| 35 | change c ⊗ₜ[W] Global.CrystallineFrobenius.integralFrobenius p k X a hcard 0 |
| 36 | (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective w) = |
| 37 | c ⊗ₜ[W] SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective |
| 38 | (WittFrobenius.witt p k X w) |
| 39 | exact congrArg (fun x => c ⊗ₜ[W] x) (CrystallineFrobenius.integral p k X hprojective a hcard w) |
| 40 | | add x y hx hy => simp only [map_add, hx, hy] |
| 41 | |
| 42 | theorem conjugate : |
| 43 | (CrystallineEquivalence.rationalEquiv p k X hprojective).symm.conj |
| 44 | (Global.CrystallineFrobenius.rationalFrobenius p k X a hcard 0) = |
| 45 | (WittFrobenius.witt p k X).toLinearMap.baseChange K := by |
| 46 | let e := CrystallineEquivalence.rationalEquiv p k X hprojective |
| 47 | apply LinearMap.ext |
| 48 | intro z |
| 49 | apply e.injective |
| 50 | change e (e.symm (Global.CrystallineFrobenius.rationalFrobenius p k X a hcard 0 (e z))) = |
| 51 | e ((WittFrobenius.witt p k X).toLinearMap.baseChange K z) |
| 52 | exact (e.apply_symm_apply _).trans (rational p k X hprojective a hcard z) |
| 53 | |
| 54 | theorem charpoly : |
| 55 | letI := SmoothProper.CrystallineFiniteness.rational p k X hprojective 0 |
| 56 | letI := SmoothProper.GlobalFunctionWitt.finite p k X hprojective |
| 57 | (Global.CrystallineFrobenius.rationalFrobenius p k X a hcard 0).charpoly = |
| 58 | ((WittFrobenius.witt p k X).toLinearMap.baseChange K).charpoly := by |
| 59 | let := SmoothProper.CrystallineFiniteness.rational p k X hprojective 0 |
| 60 | let := SmoothProper.GlobalFunctionWitt.finite p k X hprojective |
| 61 | let : Module.Free K (TensorProduct W K (WittVector p A)) := Module.Free.of_divisionRing K _ |
| 62 | exact ((CrystallineEquivalence.rationalEquiv p k X hprojective).symm.charpoly_conj |
| 63 | (Global.CrystallineFrobenius.rationalFrobenius p k X a hcard 0)).symm.trans |
| 64 | (congrArg (fun F : Module.End K (TensorProduct W K (WittVector p A)) => F.charpoly) |
| 65 | (conjugate p k X hprojective a hcard)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.CrystallinePolynomial |