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.ConnectedTower |
| 2 | import OAI.AlgebraicGeometry.GroupSchemes.SplitAlgebra |
| 3 | |
| 4 | /-! # Prime Dichotomy -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.GroupSchemes |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A prime-order group scheme killed by p is connected or split étale. -/ |
| 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 | |
| 17 | section |
| 18 | |
| 19 | /-- A rank-p group with p-torsion rational points is local or split étale. -/ |
| 20 | theorem FiniteEtale.FiniteCommGroupScheme.local_or_split (G : FiniteEtale.FiniteCommGroupScheme k) (p : ℕ) [Fact p.Prime] |
| 21 | (hdim : Module.finrank k G.algebra = p) |
| 22 | (hpow : ∀ x : FiniteEtale.affine k (CommAlgCat.of k k) ⟶ G.scheme, x ^ p = 1) : |
| 23 | IsLocalRing G.algebra ∨ Algebra.IsFiniteSplit k G.algebra := by |
| 24 | by_cases hlocal : IsLocalRing G.algebra |
| 25 | · exact Or.inl hlocal |
| 26 | right |
| 27 | obtain ⟨x, hx⟩ : ∃ x : FiniteEtale.affine k (CommAlgCat.of k k) ⟶ G.scheme, x ≠ 1 := by |
| 28 | by_contra h |
| 29 | push Not at h |
| 30 | exact hlocal (G.local_of_point_eq_one h) |
| 31 | have horder : orderOf x = p := orderOf_eq_prime (hpow x) hx |
| 32 | let f : Fin p → G.algebra →ₐ[k] k := |
| 33 | fun i => ((G.coordinatePoints (CommAlgCat.of k k)).symm (x ^ (i : ℕ))).ofConv |
| 34 | have hf : Function.Injective f := by |
| 35 | intro i j hij |
| 36 | have he : (G.coordinatePoints (CommAlgCat.of k k)).symm (x ^ (i : ℕ)) = |
| 37 | (G.coordinatePoints (CommAlgCat.of k k)).symm (x ^ (j : ℕ)) := |
| 38 | WithConv.ofConv_injective hij |
| 39 | have hp := (G.coordinatePoints (CommAlgCat.of k k)).symm.injective he |
| 40 | apply Fin.ext |
| 41 | exact pow_injOn_Iio_orderOf (by simpa only [horder, Set.mem_Iio] using i.isLt) |
| 42 | (by simpa only [horder, Set.mem_Iio] using j.isLt) hp |
| 43 | exact ⟨p, ⟨SplitAlgebra.FiniteEtale.evaluationEquiv k G.algebra f hf |
| 44 | (by simpa only [Fintype.card_fin] using hdim.symm)⟩⟩ |
| 45 | |
| 46 | end |
| 47 | |
| 48 | /-- The first level of a height-one p-divisible group is connected or split étale. -/ |
| 49 | theorem FiniteEtale.PDivisibleGroup.first_local_or_split {p : ℕ} [Fact p.Prime] |
| 50 | (G : FiniteEtale.PDivisibleGroup k p 1) : |
| 51 | IsLocalRing (G.level 1).algebra ∨ Algebra.IsFiniteSplit k (G.level 1).algebra := by |
| 52 | apply (G.level 1).local_or_split p |
| 53 | · simpa only [Nat.mul_one, pow_one] using G.rank 1 |
| 54 | · intro x |
| 55 | simpa only [pow_one] using G.annihilated k 1 (CommAlgCat.of k k) x |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.GroupSchemes |