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.AlgebraicGeometry.Picard.Homomorphisms.OrdinaryDivision |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.DualGroupComparison |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusPoints |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.GeometricKernel |
| 5 | |
| 6 | /-! # Ordinary Dual Count -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.OrdinaryDualCount |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The ordinary p-rank count transfers through the given isogeny to the |
| 13 | dual and determines the number of points of its Picard Frobenius kernel. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (p : ℕ) [Fact p.Prime] {k : Type u} [Field k] [IsAlgClosed k] [CharP k p] |
| 25 | variable {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 26 | variable (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) |
| 27 | variable (ell : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A D.abelian) |
| 28 | |
| 29 | include ell in |
| 30 | theorem ordinary_dualFrobenius_kernelPointCount |
| 31 | (hordinary : Nat.card (A.torsionPoints p (Over.mk (𝟙 (Spec (.of k))))) = p ^ g) : |
| 32 | Nat.card {x : Over.mk (𝟙 (Spec (.of k))) ⟶ |
| 33 | (D.abelian.pullback (Frobenius.Construction.absoluteFrobenius p Fact.out (Spec (.of k)) |
| 34 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)))).scheme // |
| 35 | x ≫ DualFrobenius.Construction.dualRelativeFrobenius D p Fact.out |
| 36 | (Affine.Construction.prime_eq_zero_spec p k (CharP.cast_eq_zero k p)) = 1} = p ^ g := by |
| 37 | rw [DualGroupComparison.Construction.dualRelativeFrobenius_eq_verschiebung D p] |
| 38 | exact (FrobeniusPoints.Construction.verschiebungKernelPoints_card p k D.abelian.scheme).trans |
| 39 | (OrdinaryDivision.Construction.isogeny_preserves_ordinary_torsion_count A D.abelian ell p Fact.out hordinary) |
| 40 | |
| 41 | end Construction |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.OrdinaryDualCount |