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.EtaleTower |
| 2 | |
| 3 | /-! # Etale Cyclic -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.GroupSchemes |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The finite point groups of a split height-one tower are cyclic of the prescribed orders. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite WithConv _root_.CategoryTheory.MonObj |
| 12 | |
| 13 | universe u |
| 14 | variable {k : Type u} [Field k] |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-- Rational points of the actual finite group scheme. -/ |
| 19 | abbrev FiniteEtale.FiniteCommGroupScheme.rationalPoints (G : FiniteEtale.FiniteCommGroupScheme k) := FiniteEtale.affine k (CommAlgCat.of k k) ⟶ G.scheme |
| 20 | |
| 21 | /-- Rational points in affine coordinates. -/ |
| 22 | def FiniteEtale.FiniteCommGroupScheme.rationalPointsEquivAlgHom (G : FiniteEtale.FiniteCommGroupScheme k) : |
| 23 | G.rationalPoints ≃ (G.algebra →ₐ[k] k) := |
| 24 | (G.coordinatePoints (CommAlgCat.of k k)).toEquiv.symm.trans (WithConv.equiv _) |
| 25 | |
| 26 | instance FiniteEtale.FiniteCommGroupScheme.rationalPoints_finite (G : FiniteEtale.FiniteCommGroupScheme k) : Finite G.rationalPoints := |
| 27 | Finite.of_equiv (G.algebra →ₐ[k] k) G.rationalPointsEquivAlgHom.symm |
| 28 | |
| 29 | /-- For a split finite group scheme, rational-point count equals coordinate dimension. -/ |
| 30 | theorem FiniteEtale.FiniteCommGroupScheme.rationalPoints_card [IsAlgClosed k] (G : FiniteEtale.FiniteCommGroupScheme k) |
| 31 | [Algebra.IsFiniteSplit k G.algebra] : |
| 32 | Nat.card G.rationalPoints = Module.finrank k G.algebra := by |
| 33 | rw [Nat.card_congr G.rationalPointsEquivAlgHom, |
| 34 | Nat.card_congr (Algebra.IsFiniteSplit.algHomEquivPrimeSpectrum k G.algebra)] |
| 35 | have : IsArtinianRing G.algebra := isArtinian_of_tower k inferInstance |
| 36 | have : Fintype (PrimeSpectrum G.algebra) := Fintype.ofFinite _ |
| 37 | have hdim := (Algebra.FormallyEtale.equivPiOfIsSepClosed k G.algebra).toLinearEquiv.finrank_eq |
| 38 | simpa only [Module.finrank_pi, Nat.card_eq_fintype_card] using hdim.symm |
| 39 | |
| 40 | end |
| 41 | |
| 42 | variable [IsAlgClosed k] {p : ℕ} [Fact p.Prime] |
| 43 | |
| 44 | /-- A split height-one level contains an element of exact order p^n. -/ |
| 45 | theorem FiniteEtale.PDivisibleGroup.exists_point_order (G : FiniteEtale.PDivisibleGroup k p 1) |
| 46 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) : |
| 47 | ∃ x : (G.level n).rationalPoints, orderOf x = p ^ n := by |
| 48 | cases n with |
| 49 | | zero => exact ⟨1, by simp⟩ |
| 50 | | succ n => |
| 51 | have := hsplit n |
| 52 | have := hsplit (n + 1) |
| 53 | have hlow : Nat.card (G.level n).rationalPoints = p ^ n := by |
| 54 | rw [(G.level n).rationalPoints_card, G.rank, Nat.mul_one] |
| 55 | have hhigh : Nat.card (G.level (n + 1)).rationalPoints = p ^ (n + 1) := by |
| 56 | rw [(G.level (n + 1)).rationalPoints_card, G.rank, Nat.mul_one] |
| 57 | have hlt : p ^ n < p ^ (n + 1) := |
| 58 | Nat.pow_lt_pow_right (Fact.out : p.Prime).one_lt (Nat.lt_succ_self n) |
| 59 | have hnotsurj : ¬ Function.Surjective |
| 60 | (fun y : (G.level n).rationalPoints => y ≫ G.inclusion n) := by |
| 61 | intro h |
| 62 | have hc := Nat.card_le_card_of_surjective _ h |
| 63 | rw [hlow, hhigh] at hc |
| 64 | omega |
| 65 | simp only [Function.Surjective, not_forall, not_exists] at hnotsurj |
| 66 | obtain ⟨x, hx⟩ := hnotsurj |
| 67 | refine ⟨x, orderOf_eq_prime_pow ?_ (G.annihilated k (n + 1) (CommAlgCat.of k k) x)⟩ |
| 68 | intro hp |
| 69 | obtain ⟨y, hy⟩ := (G.kernel n (CommAlgCat.of k k) x).mpr hp |
| 70 | exact hx y hy |
| 71 | |
| 72 | /-- Each finite point group in the split height-one tower is cyclic. -/ |
| 73 | theorem FiniteEtale.PDivisibleGroup.rationalPoints_cyclic (G : FiniteEtale.PDivisibleGroup k p 1) |
| 74 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) : |
| 75 | IsCyclic (G.level n).rationalPoints := by |
| 76 | have := hsplit n |
| 77 | obtain ⟨x, hx⟩ := G.exists_point_order hsplit n |
| 78 | apply isCyclic_of_orderOf_eq_card x |
| 79 | rw [hx, (G.level n).rationalPoints_card, G.rank, Nat.mul_one] |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.GroupSchemes |