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.FrobeniusKernelRank |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelGroup |
| 3 | import Mathlib.AlgebraicGeometry.Group.Affine |
| 4 | |
| 5 | /-! # Kernel Coordinate Rank -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelCoordinateRank |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The rank of the actual Frobenius kernel equals the dimension of any |
| 12 | of its finite Hopf-coordinate presentations. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | theorem finiteHopf_coordinate_finrank (k : Type u) [Field k] |
| 24 | (R : CommHopfAlgCat k) [Module.Finite k R] (x : PrimeSpectrum k) : |
| 25 | (((hopfSpec (.of k)).obj (op R)).X).hom.finrank x = Module.finrank k R := by |
| 26 | change (Spec.map (CommRingCat.ofHom (algebraMap k R))).finrank x = _ |
| 27 | rw [Scheme.Hom.finrank_SpecMap_algebraMap, Module.rankAtStalk_eq_finrank_of_free] |
| 28 | rfl |
| 29 | |
| 30 | theorem frobeniusKernel_coordinate_finrank (p : ℕ) (hp : p.Prime) |
| 31 | (k : Type u) [Field k] (hS : (p : Γ(Spec (.of k), ⊤)) = 0) |
| 32 | (A : Over (Spec (.of k))) [GrpObj A] (g : ℕ) [SmoothOfRelativeDimension g A.hom] |
| 33 | (R : CommHopfAlgCat k) [Module.Finite k R] |
| 34 | (e : ((hopfSpec (.of k)).obj (op R)).X ≅ |
| 35 | Kernel.Construction.kernelScheme (Frobenius.Construction.relativeFrobenius p hp hS A)) : Module.finrank k R = p ^ g := by |
| 36 | have : Smooth A.hom := SmoothOfRelativeDimension.smooth g A.hom |
| 37 | let F := Frobenius.Construction.relativeFrobenius p hp hS A |
| 38 | have hK := Kernel.Construction.kernelScheme_finiteLocallyFree F |
| 39 | (Quotient.Construction.relativeFrobenius_finiteLocallyFree_quotient p hp hS A).1 |
| 40 | have : Flat (Kernel.Construction.kernelScheme F).hom := hK.2.1 |
| 41 | have : IsFinite (Kernel.Construction.kernelScheme F).hom := hK.1 |
| 42 | have : IsIso e.hom.left := inferInstanceAs (IsIso ((Over.forget (Spec (.of k))).map e.hom)) |
| 43 | let x : PrimeSpectrum k := ⟨⊥, inferInstance⟩ |
| 44 | calc |
| 45 | Module.finrank k R = (((hopfSpec (.of k)).obj (op R)).X).hom.finrank x := |
| 46 | (finiteHopf_coordinate_finrank k R x).symm |
| 47 | _ = (Kernel.Construction.kernelScheme F).hom.finrank x := by |
| 48 | rw [← e.hom.w, Scheme.Hom.finrank_comp_left_of_isIso] |
| 49 | _ = p ^ g := FrobeniusKernelRank.Construction.relativeFrobenius_kernel_finrank p hp hS A g x |
| 50 | |
| 51 | end Construction |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelCoordinateRank |