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.MultiplicativeLevels |
| 2 | import OAI.AlgebraicGeometry.GroupSchemes.PowerCoordinates |
| 3 | import OAI.AlgebraicGeometry.GroupSchemes.NontrivialMultiplication |
| 4 | import OAI.AlgebraicGeometry.GroupSchemes.EtaleCyclic |
| 5 | |
| 6 | /-! # Dual Cyclic -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.GroupSchemes.DualCyclic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The split Cartier-dual levels in height one have cyclic rational-point groups. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite WithConv _root_.CategoryTheory.MonObj |
| 15 | open OAI.AlgebraicGeometry.GroupSchemes.PowerCoordinates.FiniteEtale |
| 16 | |
| 17 | namespace FiniteEtale |
| 18 | |
| 19 | universe u |
| 20 | variable (k A : Type u) [Field k] [CommRing A] [HopfAlgebra k A] |
| 21 | [Coalgebra.IsCocomm k A] [Module.Finite k A] |
| 22 | variable (p : ℕ) [Fact p.Prime] [CharP k p] [PerfectRing k p] |
| 23 | |
| 24 | local instance : CommRing (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) := LinearMap.convCommRing |
| 25 | local instance : Algebra k (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) := LinearMap.convAlgebra |
| 26 | |
| 27 | /-- If a split dual's rational points are killed by p^n, so is multiplication on the original. -/ |
| 28 | theorem constant_of_dual_points [Algebra.IsFiniteSplit k (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A)] (n : ℕ) |
| 29 | (hpoints : ∀ y : (FiniteEtale.FiniteCommGroupScheme.dualOfHopf (k := k) A).rationalPoints, |
| 30 | y ^ (p ^ n) = 1) (x : A) : |
| 31 | PowerCoordinates.FiniteEtale.powerMap k A (p ^ n) x = algebraMap k A (Coalgebra.counit (R := k) x) := by |
| 32 | have hpow : ∀ f : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A →ₐ[k] k, (toConv f) ^ (p ^ n) = 1 := by |
| 33 | intro f |
| 34 | let e := @Spec.mapMulEquiv k (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) k _ _ _ inferInstance _ |
| 35 | apply e.injective |
| 36 | exact (map_pow e (toConv f) (p ^ n)).trans ((hpoints (e (toConv f))).trans e.map_one.symm) |
| 37 | exact PowerCoordinates.FiniteEtale.powerMap_constant_of_dual k A p n |
| 38 | (fun f => PowerCoordinates.FiniteEtale.powerMap_constant_of_points k (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) (p ^ n) hpow f) x |
| 39 | |
| 40 | end FiniteEtale |
| 41 | |
| 42 | namespace FiniteEtale.PDivisibleGroup |
| 43 | |
| 44 | universe u |
| 45 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 46 | variable {p : ℕ} [Fact p.Prime] [CharP k p] |
| 47 | |
| 48 | /-- The dual point group contains a point of order p^n when all dual levels split. -/ |
| 49 | theorem _root_.OAI.AlgebraicGeometry.GroupSchemes.FiniteEtale.PDivisibleGroup.exists_dual_point_order (G : GroupSchemes.FiniteEtale.PDivisibleGroup k p 1) |
| 50 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).cartierDual.algebra) (n : ℕ) : |
| 51 | ∃ x : (G.level n).cartierDual.rationalPoints, orderOf x = p ^ n := by |
| 52 | cases n with |
| 53 | | zero => exact ⟨1, by simp⟩ |
| 54 | | succ n => |
| 55 | have := hsplit (n + 1) |
| 56 | have hcard : Nat.card (G.level (n + 1)).cartierDual.rationalPoints = p ^ (n + 1) := by |
| 57 | rw [(G.level (n + 1)).cartierDual.rationalPoints_card, |
| 58 | (G.level (n + 1)).cartierDual_rank, G.rank, Nat.mul_one] |
| 59 | have hex : ∃ x : (G.level (n + 1)).cartierDual.rationalPoints, x ^ (p ^ n) ≠ 1 := by |
| 60 | by_contra h |
| 61 | push Not at h |
| 62 | have hzero := @constant_of_dual_points |
| 63 | k (G.level (n + 1)).algebra _ _ (G.level (n + 1)).coordinateHopf |
| 64 | (G.level (n + 1)).coordinateHopf_cocomm (G.level (n + 1)).finite |
| 65 | p _ _ _ (hsplit (n + 1)) n h |
| 66 | apply G.identity_power_ne_one n |
| 67 | have halg : (G.level (n + 1)).coordinatePower (p ^ n) = |
| 68 | (G.level (n + 1)).coordinateIdentity (G.level (n + 1)).algebra := by |
| 69 | ext x |
| 70 | exact hzero x |
| 71 | have hp := ((G.level (n + 1)).coordinatePoints_pow_eq_one_iff |
| 72 | (G.level (n + 1)).algebra (AlgHom.id k (G.level (n + 1)).algebra) (p ^ n)).mpr |
| 73 | (by simpa only [AlgHom.id_comp] using halg) |
| 74 | have hid : (G.level (n + 1)).coordinatePoints (G.level (n + 1)).algebra |
| 75 | (toConv (AlgHom.id k (G.level (n + 1)).algebra)) = (𝟙 (G.level (n + 1)).scheme) := by |
| 76 | rw [FiniteEtale.FiniteCommGroupScheme.coordinatePoints_apply] |
| 77 | exact (algSpec (CommRingCat.of k)).map_id _ |
| 78 | exact (congrArg (fun z => z ^ (p ^ n)) hid).symm.trans hp |
| 79 | obtain ⟨x, hx⟩ := hex |
| 80 | refine ⟨x, orderOf_eq_prime_pow hx ?_⟩ |
| 81 | simpa only [hcard] using (pow_card_eq_one' (x := x)) |
| 82 | |
| 83 | /-- Every split Cartier-dual level is cyclic in height one. -/ |
| 84 | theorem _root_.OAI.AlgebraicGeometry.GroupSchemes.FiniteEtale.PDivisibleGroup.dual_rationalPoints_cyclic (G : GroupSchemes.FiniteEtale.PDivisibleGroup k p 1) |
| 85 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).cartierDual.algebra) (n : ℕ) : |
| 86 | IsCyclic (G.level n).cartierDual.rationalPoints := by |
| 87 | have := hsplit n |
| 88 | obtain ⟨x, hx⟩ := G.exists_dual_point_order hsplit n |
| 89 | apply isCyclic_of_orderOf_eq_card x |
| 90 | rw [hx, (G.level n).cartierDual.rationalPoints_card, (G.level n).cartierDual_rank, |
| 91 | G.rank, Nat.mul_one] |
| 92 | |
| 93 | end FiniteEtale.PDivisibleGroup |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.GroupSchemes.DualCyclic |