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.NonemptyDegreeZero |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.EmptyDegreeZero |
| 3 | |
| 4 | /-! # Degree Zero -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.DegreeZero.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Unconditional degree-zero Katz–Messing comparison on the original cohomology and Frobenius. -/ |
| 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] (hcard : Fintype.card k = p ^ a) |
| 18 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of k)) [IsProper f] [Smooth f] |
| 19 | (hprojective : Projectivity.Construction.ProjectiveOver k f) |
| 20 | |
| 21 | include hprojective in |
| 22 | theorem comparison : |
| 23 | ∃ (hcrys : FiniteDimensional (FractionRing (WittVector p k)) (Interfaces.CrystallineCohomology p k f 0)) |
| 24 | (het : FiniteDimensional ℚ_[ℓ] (Interfaces.EtaleCohomology ℓ k f 0)), |
| 25 | letI := hcrys |
| 26 | letI := het |
| 27 | ∃ P : Polynomial ℤ, P.Monic ∧ |
| 28 | (Interfaces.crystallineQFrobenius p a k hcard f 0).charpoly = |
| 29 | P.map (Int.castRingHom (FractionRing (WittVector p k))) ∧ |
| 30 | (Interfaces.etaleGeometricFrobenius ℓ p a k hcard f 0).charpoly = P.map (Int.castRingHom ℚ_[ℓ]) := by |
| 31 | let : IsProper (Over.mk f).hom := inferInstanceAs (IsProper f) |
| 32 | let : Smooth (Over.mk f).hom := inferInstanceAs (Smooth f) |
| 33 | rcases isEmpty_or_nonempty X with h | h |
| 34 | · let : IsEmpty (Over.mk f).left := h |
| 35 | exact EmptyDegreeZero.Comparison.comparison p k (Over.mk f) hprojective a hcard ℓ |
| 36 | · let : Nonempty (Over.mk f).left := h |
| 37 | exact NonemptyDegreeZero.Comparison.comparison p k (Over.mk f) hprojective a hcard ℓ |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.DegreeZero.Comparison |