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.SmoothProper.CrystallineResidueInjection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CrystallineFiniteness |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.EtaleDegreeZero |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Zero.ResidueVanishing |
| 5 | |
| 6 | /-! # Empty Degree Zero -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.EmptyDegreeZero.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Vanishing and the common polynomial 1 for the original degree-zero cohomology of an empty scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem globalFunctions (Y : Scheme.{u}) [IsEmpty Y] : Subsingleton Γ(Y, ⊤) := by |
| 19 | constructor |
| 20 | intro s t |
| 21 | exact TopCat.Presheaf.section_ext Y.sheaf ⊤ s t (fun y _ => isEmptyElim y) |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 24 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] [IsEmpty X.left] |
| 25 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 28 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.integralCohomology p k X 0 |
| 29 | local notation "K" => FractionRing (WittVector p k) |
| 30 | |
| 31 | include hprojective in |
| 32 | theorem integral : Subsingleton M := by |
| 33 | let : Subsingleton Γ(X.left, ⊤) := globalFunctions X.left |
| 34 | let : Subsingleton (ZeroLevel.GlobalFunctionLinear.coefficientModule p k X) := by |
| 35 | constructor |
| 36 | intro x y |
| 37 | apply ULift.ext |
| 38 | exact @Subsingleton.elim Γ(X.left, ⊤) inferInstance x.down y.down |
| 39 | let : Module.Finite R M := SmoothProper.CrystallineFiniteness.integral_coefficient p k X hprojective 0 |
| 40 | let : IsAdicComplete (Ideal.span {(p : R)}) R := Witt.Coefficient.coefficient p k |
| 41 | exact Zero.ResidueVanishing.subsingleton (Ideal.span {(p : R)}) (IsAdicComplete.le_jacobson_bot _) |
| 42 | (SmoothProper.CrystallineResidueInjection.integralEvaluation p k X hprojective) |
| 43 | (SmoothProper.CrystallineResidueInjection.integralEvaluation_kernel p k X hprojective) |
| 44 | |
| 45 | include hprojective in |
| 46 | theorem rational : Subsingleton (Witt.Crystalline.rationalCohomology p k X 0) := by |
| 47 | let := integral p k X hprojective |
| 48 | exact inferInstanceAs (Subsingleton (TensorProduct (WittVector p k) K M)) |
| 49 | |
| 50 | omit p [Fact p.Prime] [Fintype k] [CharP k p] [IsProper X.hom] [Smooth X.hom] in |
| 51 | theorem etale (ℓ : ℕ) [Fact ℓ.Prime] : Subsingleton (Interfaces.EtaleCohomology ℓ k X.hom 0) := by |
| 52 | let : IsEmpty (Frobenius.Geometry.geometricFiber (L := AlgebraicClosure k) X.hom) := |
| 53 | ⟨fun x => isEmptyElim (pullback.fst X.hom (Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k)))) x)⟩ |
| 54 | exact (PeriodInvariants.EtaleDegreeZero.sectionsEquivQp ℓ _).injective.subsingleton |
| 55 | |
| 56 | include hprojective in |
| 57 | theorem comparison (a : ℕ) (hcard : Fintype.card k = p ^ a) (ℓ : ℕ) [Fact ℓ.Prime] : |
| 58 | ∃ (hcrys : FiniteDimensional K (Witt.Crystalline.rationalCohomology p k X 0)) |
| 59 | (het : FiniteDimensional ℚ_[ℓ] (Interfaces.EtaleCohomology ℓ k X.hom 0)), |
| 60 | letI := hcrys |
| 61 | letI := het |
| 62 | ∃ P : Polynomial ℤ, P.Monic ∧ |
| 63 | (Global.CrystallineFrobenius.rationalFrobenius p k X a hcard 0).charpoly = P.map (Int.castRingHom K) ∧ |
| 64 | (Interfaces.etaleGeometricFrobenius ℓ p a k hcard X.hom 0).charpoly = P.map (Int.castRingHom ℚ_[ℓ]) := by |
| 65 | let := rational p k X hprojective |
| 66 | let := etale k X ℓ |
| 67 | refine ⟨inferInstance, inferInstance, 1, Polynomial.monic_one, ?_, ?_⟩ |
| 68 | · have hf : Global.CrystallineFrobenius.rationalFrobenius p k X a hcard 0 = 0 := Subsingleton.elim _ _ |
| 69 | rw [hf, LinearMap.charpoly_zero, Module.finrank_zero_of_subsingleton, pow_zero, Polynomial.map_one] |
| 70 | · have hf : Interfaces.etaleGeometricFrobenius ℓ p a k hcard X.hom 0 = 0 := Subsingleton.elim _ _ |
| 71 | rw [hf, LinearMap.charpoly_zero, Module.finrank_zero_of_subsingleton, pow_zero, Polynomial.map_one] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.EmptyDegreeZero.Comparison |