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.FiniteEtale.GeometricComponents |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PermutationPolynomial |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.EtaleDegreeZero |
| 4 | |
| 5 | /-! # Polynomial -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.Polynomial.Etale |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original geometric étale Frobenius of a finite étale affine scheme has the actual Witt Frobenius polynomial. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (p a : ℕ) [Fact p.Prime] (k A : Type u) [Field k] [Fintype k] [CommRing A] [Algebra k A] |
| 19 | [CharP k p] [Nontrivial A] [Module.Finite k A] [Algebra.Etale k A] |
| 20 | (hcard : Fintype.card k = p ^ a) |
| 21 | |
| 22 | local notation "Ω" => AlgebraicClosure k |
| 23 | local notation "T" => Ω ⊗[k] A |
| 24 | local notation "f" => Spec.map (CommRingCat.ofHom (algebraMap k A)) |
| 25 | local notation "Y" => OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Geometry.geometricFiber (L := Ω) f |
| 26 | |
| 27 | local instance : IsFinite f := |
| 28 | (IsFinite.SpecMap_iff _).mpr (RingHom.finite_algebraMap.mpr inferInstance) |
| 29 | local instance : Fintype (PrimeSpectrum T) := |
| 30 | let := WittSplitting.finite_index k A |
| 31 | Fintype.ofFinite _ |
| 32 | local instance : DecidableEq (PrimeSpectrum T) := Classical.decEq _ |
| 33 | local instance : Fintype (_root_.ConnectedComponents Y) := Fintype.ofFinite _ |
| 34 | local instance : DecidableEq (_root_.ConnectedComponents Y) := Classical.decEq _ |
| 35 | |
| 36 | theorem polynomial : SmoothProper.EtaleDegreeZero.polynomial p a k hcard f = |
| 37 | FrobeniusPolynomial.polynomial p k A := by |
| 38 | exact (PermutationPolynomial.Equivalence.polynomial |
| 39 | (WittPermutation.permutation k A (FrobeniusPolynomial.frobenius p k A)) |
| 40 | (SmoothProper.EtaleDegreeZero.permutation p a k hcard f) |
| 41 | (GeometricComponents.equiv k A) |
| 42 | (GeometricComponents.frobenius k A p a hcard)).symm |
| 43 | |
| 44 | theorem charpoly (ℓ : ℕ) [Fact ℓ.Prime] : |
| 45 | (Interfaces.etaleGeometricFrobenius ℓ p a k hcard f 0).charpoly = |
| 46 | (FrobeniusPolynomial.polynomial p k A).map (Int.castRingHom ℚ_[ℓ]) := by |
| 47 | rw [SmoothProper.EtaleDegreeZero.charpoly, polynomial p a k A hcard] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.Polynomial.Etale |