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.Affine.SmoothProper |
| 2 | import Mathlib.AlgebraicGeometry.ZariskisMainTheorem |
| 3 | |
| 4 | /-! # Quasi Finite Smooth Proper -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.QuasiFiniteSmoothProper.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original all-degree comparison for smooth proper projective schemes with zero-dimensional fibers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (p ℓ a : ℕ) [Fact p.Prime] [Fact ℓ.Prime] |
| 17 | (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 18 | (hcard : Fintype.card k = p ^ a) |
| 19 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of k)) [IsProper f] [Smooth f] |
| 20 | |
| 21 | theorem comparison [LocallyQuasiFinite f] (hprojective : Projectivity.Construction.ProjectiveOver k f) (i : ℕ) : |
| 22 | ∃ (hcrys : FiniteDimensional (FractionRing (WittVector p k)) (Interfaces.CrystallineCohomology p k f i)) |
| 23 | (het : FiniteDimensional ℚ_[ℓ] (Interfaces.EtaleCohomology ℓ k f i)), |
| 24 | letI := hcrys |
| 25 | letI := het |
| 26 | ∃ P : Polynomial ℤ, P.Monic ∧ |
| 27 | (Interfaces.crystallineQFrobenius p a k hcard f i).charpoly = |
| 28 | P.map (Int.castRingHom (FractionRing (WittVector p k))) ∧ |
| 29 | (Interfaces.etaleGeometricFrobenius ℓ p a k hcard f i).charpoly = P.map (Int.castRingHom ℚ_[ℓ]) := by |
| 30 | let : IsFinite f := IsFinite.of_isProper_of_locallyQuasiFinite f |
| 31 | let : IsAffine X := isAffine_of_isAffineHom f |
| 32 | exact Affine.SmoothProper.Comparison.comparison p ℓ a k hcard f hprojective i |
| 33 | |
| 34 | theorem finiteSpace [Finite X] (hprojective : Projectivity.Construction.ProjectiveOver k f) (i : ℕ) : |
| 35 | ∃ (hcrys : FiniteDimensional (FractionRing (WittVector p k)) (Interfaces.CrystallineCohomology p k f i)) |
| 36 | (het : FiniteDimensional ℚ_[ℓ] (Interfaces.EtaleCohomology ℓ k f i)), |
| 37 | letI := hcrys |
| 38 | letI := het |
| 39 | ∃ P : Polynomial ℤ, P.Monic ∧ |
| 40 | (Interfaces.crystallineQFrobenius p a k hcard f i).charpoly = |
| 41 | P.map (Int.castRingHom (FractionRing (WittVector p k))) ∧ |
| 42 | (Interfaces.etaleGeometricFrobenius ℓ p a k hcard f i).charpoly = P.map (Int.castRingHom ℚ_[ℓ]) := by |
| 43 | let : LocallyQuasiFinite f := LocallyQuasiFinite.of_finite_preimage_singleton f |
| 44 | (fun _ => Set.toFinite _) |
| 45 | exact comparison p ℓ a k hcard f hprojective i |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.QuasiFiniteSmoothProper.Comparison |