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.SmoothProperVanishing |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.DegreeZero |
| 3 | |
| 4 | /-! # Smooth Proper -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.SmoothProper.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! All-degree comparison on the original cohomology and Frobenius for affine smooth proper projective schemes. -/ |
| 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}} [IsAffine X] (f : X ⟶ Spec (CommRingCat.of k)) |
| 20 | [IsProper f] [Smooth f] |
| 21 | |
| 22 | theorem comparison (hprojective : Projectivity.Construction.ProjectiveOver k f) (i : ℕ) : |
| 23 | ∃ (hcrys : FiniteDimensional (FractionRing (WittVector p k)) (Interfaces.CrystallineCohomology p k f i)) |
| 24 | (het : FiniteDimensional ℚ_[ℓ] (Interfaces.EtaleCohomology ℓ k f i)), |
| 25 | letI := hcrys |
| 26 | letI := het |
| 27 | ∃ P : Polynomial ℤ, P.Monic ∧ |
| 28 | (Interfaces.crystallineQFrobenius p a k hcard f i).charpoly = |
| 29 | P.map (Int.castRingHom (FractionRing (WittVector p k))) ∧ |
| 30 | (Interfaces.etaleGeometricFrobenius ℓ p a k hcard f i).charpoly = P.map (Int.castRingHom ℚ_[ℓ]) := by |
| 31 | cases i with |
| 32 | | zero => exact SmoothProper.DegreeZero.Comparison.comparison p ℓ a k hcard f hprojective |
| 33 | | succ i => |
| 34 | let : IsAffine (Over.mk f).left := inferInstanceAs (IsAffine X) |
| 35 | let : IsProper (Over.mk f).hom := inferInstanceAs (IsProper f) |
| 36 | let : Smooth (Over.mk f).hom := inferInstanceAs (Smooth f) |
| 37 | let : Subsingleton (Interfaces.CrystallineCohomology p k f (i + 1)) := |
| 38 | SmoothProperVanishing.crystalline p k (Over.mk f) hprojective i |
| 39 | let : Subsingleton (Interfaces.EtaleCohomology ℓ k f (i + 1)) := |
| 40 | SmoothProperVanishing.etale p k (Over.mk f) hprojective ℓ i |
| 41 | refine ⟨inferInstance, inferInstance, 1, Polynomial.monic_one, ?_, ?_⟩ |
| 42 | · have h : Interfaces.crystallineQFrobenius p a k hcard f (i + 1) = 0 := Subsingleton.elim _ _ |
| 43 | rw [h, LinearMap.charpoly_zero, Module.finrank_zero_of_subsingleton, pow_zero, Polynomial.map_one] |
| 44 | · have h : Interfaces.etaleGeometricFrobenius ℓ p a k hcard f (i + 1) = 0 := Subsingleton.elim _ _ |
| 45 | rw [h, LinearMap.charpoly_zero, Module.finrank_zero_of_subsingleton, pow_zero, Polynomial.map_one] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.SmoothProper.Comparison |