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.GroupSchemes.EtalePointFunctor |
| 2 | import OAI.AlgebraicGeometry.GroupSchemes.EtaleGenerators |
| 3 | |
| 4 | /-! # Etale Classification -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.GroupSchemes |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Classification of the split étale branch as an actual all-affine tower isomorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite WithConv _root_.CategoryTheory.MonObj |
| 13 | |
| 14 | universe u |
| 15 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 16 | variable {p : ℕ} [Fact p.Prime] |
| 17 | |
| 18 | /-- Compatible cyclic coordinates on locally constant point functions. -/ |
| 19 | def FiniteEtale.PDivisibleGroup.cyclicLocallyConstantEquiv (G : FiniteEtale.PDivisibleGroup k p 1) |
| 20 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) |
| 21 | (n : ℕ) (R : CommAlgCat.{u} k) : |
| 22 | LocallyConstant (PrimeSpectrum R) (G.level n).rationalPoints ≃* |
| 23 | LocallyConstant (PrimeSpectrum R) (Multiplicative (ZMod (p ^ n))) where |
| 24 | toEquiv := LocallyConstant.congrRight (G.cyclicPointEquiv hsplit n).symm.toEquiv |
| 25 | map_mul' x y := by |
| 26 | apply LocallyConstant.ext |
| 27 | intro P |
| 28 | exact (G.cyclicPointEquiv hsplit n).symm.map_mul (x P) (y P) |
| 29 | |
| 30 | /-- The standard cyclic group identification on every affine algebra. -/ |
| 31 | def FiniteEtale.PDivisibleGroup.etaleLevelPointEquiv (G : FiniteEtale.PDivisibleGroup k p 1) |
| 32 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) |
| 33 | (n : ℕ) (R : CommAlgCat.{u} k) : |
| 34 | (G.level n).points.obj R ≃* (FiniteEtale.etaleLevel k p n).obj R := by |
| 35 | have := hsplit n |
| 36 | exact ((G.level n).etalePointsMulEquiv R).trans (G.cyclicLocallyConstantEquiv hsplit n R) |
| 37 | |
| 38 | /-- Naturality on all affine algebras of the standard cyclic identification. -/ |
| 39 | def FiniteEtale.PDivisibleGroup.etaleLevelPointIso (G : FiniteEtale.PDivisibleGroup k p 1) |
| 40 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) : |
| 41 | (G.level n).points ≅ FiniteEtale.etaleLevel k p n := |
| 42 | NatIso.ofComponents (fun R => (G.etaleLevelPointEquiv hsplit n R).toCommGrpIso) (by |
| 43 | intro R S a |
| 44 | apply CommGrpCat.hom_ext |
| 45 | apply MonoidHom.ext |
| 46 | intro x |
| 47 | apply LocallyConstant.ext |
| 48 | intro P |
| 49 | have := hsplit n |
| 50 | exact congrArg |
| 51 | (fun f : LocallyConstant (PrimeSpectrum S) (G.level n).rationalPoints => |
| 52 | (G.cyclicPointEquiv hsplit n).symm (f P)) |
| 53 | ((G.level n).etalePoints_naturality a x)) |
| 54 | |
| 55 | /-- Every split height-one tower is naturally isomorphic to the standard Qp/Zp tower. -/ |
| 56 | def FiniteEtale.PDivisibleGroup.etaleTowerIso (G : FiniteEtale.PDivisibleGroup k p 1) |
| 57 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) : |
| 58 | FiniteEtale.GroupTower.Iso k (G.points k) (FiniteEtale.etaleTower k p) where |
| 59 | levelIso := G.etaleLevelPointIso hsplit |
| 60 | compatibility n := by |
| 61 | apply NatTrans.ext |
| 62 | funext R |
| 63 | apply CommGrpCat.hom_ext |
| 64 | apply MonoidHom.ext |
| 65 | intro x |
| 66 | apply LocallyConstant.ext |
| 67 | intro P |
| 68 | have := hsplit n |
| 69 | have := hsplit (n + 1) |
| 70 | let y := (G.level n).etalePointsMulEquiv R x P |
| 71 | let a := (G.cyclicPointEquiv hsplit n).symm y |
| 72 | change (G.cyclicPointEquiv hsplit (n + 1)).symm |
| 73 | ((G.level (n + 1)).etalePointsMulEquiv R (x ≫ G.inclusion n) P) = |
| 74 | Multiplicative.ofAdd (FiniteEtale.cyclicInclusion p n a.toAdd) |
| 75 | apply (G.cyclicPointEquiv hsplit (n + 1)).injective |
| 76 | rw [MulEquiv.apply_symm_apply] |
| 77 | have hs := congrArg (fun f : LocallyConstant (PrimeSpectrum R) |
| 78 | (G.level (n + 1)).rationalPoints => f P) |
| 79 | (FiniteEtale.FiniteCommGroupScheme.etalePoints_postcomp (G.inclusion n) R x) |
| 80 | have hg : G.cyclicPointEquiv hsplit n a = y := (G.cyclicPointEquiv hsplit n).apply_symm_apply y |
| 81 | exact hs.trans ((congrArg (fun z => z ≫ G.inclusion n) hg.symm).trans |
| 82 | (G.cyclicPointEquiv_compatibility hsplit n a.toAdd)) |
| 83 | |
| 84 | /-- An étale first level gives the full standard étale tower, naturally on every affine algebra. -/ |
| 85 | theorem FiniteEtale.PDivisibleGroup.etale_classification_of_first_split (G : FiniteEtale.PDivisibleGroup k p 1) |
| 86 | (hfirst : Algebra.IsFiniteSplit k (G.level 1).algebra) : |
| 87 | Nonempty (FiniteEtale.GroupTower.Iso k (G.points k) (FiniteEtale.etaleTower k p)) := |
| 88 | ⟨G.etaleTowerIso (G.split_of_first_split hfirst)⟩ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.GroupSchemes |