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.EtaleCyclic |
| 2 | |
| 3 | /-! # Etale Generators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.GroupSchemes |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible choices of full-order points in a split height-one tower. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite WithConv _root_.CategoryTheory.MonObj |
| 12 | |
| 13 | universe u |
| 14 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 15 | variable {p : ℕ} [Fact p.Prime] |
| 16 | |
| 17 | /-- Multiplication-down on rational points. -/ |
| 18 | def FiniteEtale.PDivisibleGroup.downOnPoints (G : FiniteEtale.PDivisibleGroup k p 1) (n : ℕ) : |
| 19 | (G.level (n + 1)).rationalPoints →* (G.level n).rationalPoints := |
| 20 | ((FiniteEtale.FiniteCommGroupScheme.mapPoints (G.multiplyDown n)).app (CommAlgCat.of k k)).hom |
| 21 | |
| 22 | /-- Multiplication-down is surjective in the split tower. -/ |
| 23 | theorem FiniteEtale.PDivisibleGroup.downOnPoints_surjective (G : FiniteEtale.PDivisibleGroup k p 1) |
| 24 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) : |
| 25 | Function.Surjective (G.downOnPoints n) := by |
| 26 | have := hsplit n |
| 27 | have := hsplit (n + 1) |
| 28 | have := G.rationalPoints_cyclic hsplit (n + 1) |
| 29 | have hker : (G.downOnPoints n).ker = |
| 30 | (powMonoidHom p : (G.level (n + 1)).rationalPoints →* (G.level (n + 1)).rationalPoints).ker := by |
| 31 | ext x |
| 32 | exact G.multiplyDown_kernel n (CommAlgCat.of k k) x |
| 33 | apply (G.downOnPoints n).surjective_of_card_ker_le_div |
| 34 | rw [hker, IsCyclic.card_powMonoidHom_ker, |
| 35 | (G.level (n + 1)).rationalPoints_card, (G.level n).rationalPoints_card, |
| 36 | G.rank, G.rank, Nat.mul_one, Nat.mul_one, pow_succ] |
| 37 | rw [Nat.gcd_eq_right (dvd_mul_left p (p ^ n)), Nat.mul_div_cancel_left _ |
| 38 | (pow_pos (Fact.out : p.Prime).pos n)] |
| 39 | |
| 40 | /-- A point of the full prescribed order. -/ |
| 41 | def FiniteEtale.PDivisibleGroup.PointGenerator (G : FiniteEtale.PDivisibleGroup k p 1) (n : ℕ) := |
| 42 | { x : (G.level n).rationalPoints // orderOf x = p ^ n } |
| 43 | |
| 44 | /-- Every generator lifts under multiplication-down to a generator of the next level. -/ |
| 45 | theorem FiniteEtale.PDivisibleGroup.generator_lift (G : FiniteEtale.PDivisibleGroup k p 1) |
| 46 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) |
| 47 | (n : ℕ) (x : G.PointGenerator n) : |
| 48 | ∃ y : G.PointGenerator (n + 1), G.downOnPoints n y.val = x.val := by |
| 49 | cases n with |
| 50 | | zero => |
| 51 | obtain ⟨y, hy⟩ := G.exists_point_order hsplit 1 |
| 52 | refine ⟨⟨y, hy⟩, ?_⟩ |
| 53 | have hx : x.val = 1 := by |
| 54 | simpa only [pow_zero, pow_one] using G.annihilated k 0 (CommAlgCat.of k k) x.val |
| 55 | have hd : G.downOnPoints 0 y = 1 := by |
| 56 | simpa only [pow_zero, pow_one] using |
| 57 | G.annihilated k 0 (CommAlgCat.of k k) (G.downOnPoints 0 y) |
| 58 | exact hd.trans hx.symm |
| 59 | | succ n => |
| 60 | obtain ⟨y, hy⟩ := G.downOnPoints_surjective hsplit (n + 1) x.val |
| 61 | refine ⟨⟨y, orderOf_eq_prime_pow ?_ |
| 62 | (G.annihilated k (n + 1 + 1) (CommAlgCat.of k k) y)⟩, hy⟩ |
| 63 | intro hbad |
| 64 | have hxpow : x.val ^ (p ^ n) = 1 := by |
| 65 | apply (cancel_mono (G.inclusion (n + 1))).mp |
| 66 | rw [MonObj.pow_comp, ← hy, MonObj.one_comp] |
| 67 | change ((y ≫ G.multiplyDown (n + 1)) ≫ G.inclusion (n + 1)) ^ (p ^ n) = 1 |
| 68 | rw [Category.assoc, G.multiplyDown_points, ← pow_mul, ← pow_succ'] |
| 69 | exact hbad |
| 70 | exact pow_ne_one_of_lt_orderOf (pow_ne_zero n (Fact.out : p.Prime).ne_zero) |
| 71 | (by rw [x.property]; exact Nat.pow_lt_pow_right (Fact.out : p.Prime).one_lt (Nat.lt_succ_self n)) hxpow |
| 72 | |
| 73 | /-- A recursive compatible system of full-order generators. -/ |
| 74 | def FiniteEtale.PDivisibleGroup.compatibleGenerators (G : FiniteEtale.PDivisibleGroup k p 1) |
| 75 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) : ∀ n, G.PointGenerator n |
| 76 | | 0 => ⟨1, by simp⟩ |
| 77 | | n + 1 => Classical.choose (G.generator_lift hsplit n (compatibleGenerators G hsplit n)) |
| 78 | |
| 79 | /-- The chosen generators lift each other under multiplication-down. -/ |
| 80 | theorem FiniteEtale.PDivisibleGroup.compatibleGenerators_down (G : FiniteEtale.PDivisibleGroup k p 1) |
| 81 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) : |
| 82 | G.downOnPoints n (G.compatibleGenerators hsplit (n + 1)).val = |
| 83 | (G.compatibleGenerators hsplit n).val := |
| 84 | Classical.choose_spec (G.generator_lift hsplit n (G.compatibleGenerators hsplit n)) |
| 85 | |
| 86 | /-- The original inclusions send each generator to the pth power of the next one. -/ |
| 87 | theorem FiniteEtale.PDivisibleGroup.compatibleGenerators_inclusion (G : FiniteEtale.PDivisibleGroup k p 1) |
| 88 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) : |
| 89 | (G.compatibleGenerators hsplit n).val ≫ G.inclusion n = |
| 90 | (G.compatibleGenerators hsplit (n + 1)).val ^ p := by |
| 91 | have hd : (G.compatibleGenerators hsplit (n + 1)).val ≫ G.multiplyDown n = |
| 92 | (G.compatibleGenerators hsplit n).val := G.compatibleGenerators_down hsplit n |
| 93 | rw [← G.multiplyDown_points n (CommAlgCat.of k k), ← Category.assoc, hd] |
| 94 | |
| 95 | /-- Each chosen point generates its entire finite point group. -/ |
| 96 | theorem FiniteEtale.PDivisibleGroup.compatibleGenerators_generate (G : FiniteEtale.PDivisibleGroup k p 1) |
| 97 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) : |
| 98 | ∀ x : (G.level n).rationalPoints, x ∈ Subgroup.zpowers (G.compatibleGenerators hsplit n).val := by |
| 99 | have := hsplit n |
| 100 | have htop : Subgroup.zpowers (G.compatibleGenerators hsplit n).val = ⊤ := by |
| 101 | apply (Subgroup.card_eq_iff_eq_top _).mp |
| 102 | rw [Nat.card_zpowers, (G.compatibleGenerators hsplit n).property, |
| 103 | (G.level n).rationalPoints_card, G.rank, Nat.mul_one] |
| 104 | intro x |
| 105 | rw [htop] |
| 106 | trivial |
| 107 | |
| 108 | /-- Cyclic coordinates chosen compatibly with the geometric transitions. -/ |
| 109 | def FiniteEtale.PDivisibleGroup.cyclicPointEquiv (G : FiniteEtale.PDivisibleGroup k p 1) |
| 110 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) : |
| 111 | Multiplicative (ZMod (p ^ n)) ≃* (G.level n).rationalPoints := |
| 112 | zmodMulEquivOfGenerator (G.compatibleGenerators_generate hsplit n) (by |
| 113 | have := hsplit n |
| 114 | rw [(G.level n).rationalPoints_card, G.rank, Nat.mul_one]) |
| 115 | |
| 116 | /-- The cyclic point coordinates evaluate integer classes by powers of the chosen generator. -/ |
| 117 | theorem FiniteEtale.PDivisibleGroup.cyclicPointEquiv_intCast (G : FiniteEtale.PDivisibleGroup k p 1) |
| 118 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) (z : ℤ) : |
| 119 | G.cyclicPointEquiv hsplit n (Multiplicative.ofAdd (z : ZMod (p ^ n))) = |
| 120 | (G.compatibleGenerators hsplit n).val ^ z := |
| 121 | zmodMulEquivOfGenerator_apply_ofAdd_intCast _ _ z |
| 122 | |
| 123 | /-- The cyclic coordinates respect the original transition inclusions. -/ |
| 124 | theorem FiniteEtale.PDivisibleGroup.cyclicPointEquiv_compatibility (G : FiniteEtale.PDivisibleGroup k p 1) |
| 125 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).algebra) (n : ℕ) |
| 126 | (a : ZMod (p ^ n)) : |
| 127 | G.cyclicPointEquiv hsplit n (Multiplicative.ofAdd a) ≫ G.inclusion n = |
| 128 | G.cyclicPointEquiv hsplit (n + 1) (Multiplicative.ofAdd (FiniteEtale.cyclicInclusion p n a)) := by |
| 129 | obtain ⟨z, rfl⟩ := ZMod.intCast_surjective a |
| 130 | rw [FiniteEtale.PDivisibleGroup.cyclicPointEquiv_intCast, GrpObj.zpow_comp, G.compatibleGenerators_inclusion, |
| 131 | FiniteEtale.cyclicInclusion_intCast] |
| 132 | have hz : p • (z : ZMod (p ^ (n + 1))) = (((p : ℤ) * z : ℤ) : ZMod (p ^ (n + 1))) := by |
| 133 | simp only [nsmul_eq_mul, Int.cast_mul, Int.cast_natCast] |
| 134 | rw [hz, FiniteEtale.PDivisibleGroup.cyclicPointEquiv_intCast, zpow_mul, zpow_natCast] |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.GroupSchemes |