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.GlobalFunctionResidue |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineDegreeZeroTorsion |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineFiniteness |
| 4 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.PrincipalAdicLinearCriterion |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.CrystallineGeneration |
| 6 | |
| 7 | /-! # Crystalline Equivalence -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.CrystallineEquivalence |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Actual Witt vectors of global functions identify with the original integral crystalline H⁰. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | attribute [local instance] PeriodInvariants.WittAlgebraFunctor.wittAlgebra PeriodInvariants.WittAlgebraFunctor.residueAlgebra |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 22 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] [Nonempty X.left] |
| 23 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 24 | |
| 25 | local notation "W" => WittVector p k |
| 26 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 27 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.integralCohomology p k X 0 |
| 28 | |
| 29 | include hprojective in |
| 30 | private theorem perfect : PerfectRing A p := by |
| 31 | let := SmoothProper.GlobalFunctionAlgebra.nontrivial k X |
| 32 | let := SmoothProper.GlobalFunctionAlgebra.module_finite k X hprojective |
| 33 | let := SmoothProper.GlobalFunctionAlgebra.etale k X p hprojective |
| 34 | exact PeriodInvariants.FiniteEtaleWittModule.targetPerfect p k A |
| 35 | |
| 36 | theorem surjective : Function.Surjective (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective) := |
| 37 | CrystallineGeneration.surjective p k X hprojective |
| 38 | |
| 39 | theorem reflects_prime (w : WittVector p A) |
| 40 | (hw : ∃ y : M, (p : W) • y = SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective w) : |
| 41 | ∃ v : WittVector p A, (p : W) • v = w := by |
| 42 | let := SmoothProper.GlobalFunctionAlgebra.characteristic k X p |
| 43 | let := perfect p k X hprojective |
| 44 | obtain ⟨y, hy⟩ := hw |
| 45 | have hz : Crystalline.GlobalFunctionResidue.map p k X hprojective ((p : W) • y) = 0 := by |
| 46 | rw [map_smul, Algebra.smul_def, map_natCast, CharP.cast_eq_zero A p, zero_mul] |
| 47 | have hc : w.coeff 0 = 0 := |
| 48 | (Crystalline.GlobalFunctionResidue.constants p k X hprojective w).symm.trans |
| 49 | ((congrArg (Crystalline.GlobalFunctionResidue.map p k X hprojective) hy.symm).trans hz) |
| 50 | obtain ⟨v, hv⟩ := (Ideal.mem_span_singleton.mp ((WittVector.mem_span_p_iff_coeff_zero_eq_zero w).mpr hc)) |
| 51 | refine ⟨v, ?_⟩ |
| 52 | rw [Algebra.smul_def, map_natCast] |
| 53 | exact hv.symm |
| 54 | |
| 55 | theorem injective : Function.Injective (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective) := by |
| 56 | let := SmoothProper.GlobalFunctionAlgebra.characteristic k X p |
| 57 | let := perfect p k X hprojective |
| 58 | let := PeriodInvariants.WittAlgebraCompleteness.complete p k A |
| 59 | exact PeriodInvariants.PrincipalAdicLinearCriterion.injective (p : W) |
| 60 | (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective) |
| 61 | (SmoothProper.CrystallineDegreeZeroTorsion.regular p k X hprojective) |
| 62 | (reflects_prime p k X hprojective) |
| 63 | |
| 64 | def integralEquiv : WittVector p A ≃ₗ[W] M := |
| 65 | LinearEquiv.ofBijective (SmoothProper.GlobalFunctionConstants.integralMap p k X hprojective) |
| 66 | ⟨injective p k X hprojective, surjective p k X hprojective⟩ |
| 67 | |
| 68 | def rationalEquiv : TensorProduct W (FractionRing W) (WittVector p A) ≃ₗ[FractionRing W] |
| 69 | Witt.Crystalline.rationalCohomology p k X 0 := |
| 70 | (integralEquiv p k X hprojective).baseChange W (FractionRing W) (WittVector p A) M |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.CrystallineEquivalence |