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.LikeCharacters |
| 2 | import OAI.AlgebraicGeometry.GroupSchemes.DualCyclic |
| 3 | |
| 4 | /-! # Character Generators -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.GroupSchemes |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible generators of coordinate characters in the multiplicative branch. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite WithConv _root_.CategoryTheory.MonObj |
| 13 | |
| 14 | namespace CharacterGenerators.FiniteEtale |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | /-- Generators lift along a surjection between cyclic groups of consecutive prime-power orders. -/ |
| 19 | theorem generator_lift {A B : Type u} [CommGroup A] [CommGroup B] [Finite A] [Finite B] |
| 20 | {p : ℕ} [Fact p.Prime] (n : ℕ) (f : A →* B) (hf : Function.Surjective f) |
| 21 | (z : A) (hz : orderOf z = p ^ (n + 1)) (hA : Nat.card A = p ^ (n + 1)) |
| 22 | (hB : Nat.card B = p ^ n) (x : B) (hx : orderOf x = p ^ n) : |
| 23 | ∃ y : A, orderOf y = p ^ (n + 1) ∧ f y = x := by |
| 24 | have hgen : ∀ a : A, a ∈ Subgroup.zpowers z := by |
| 25 | have ht : Subgroup.zpowers z = ⊤ := (Subgroup.card_eq_iff_eq_top _).mp |
| 26 | (by rw [Nat.card_zpowers, hz, hA]) |
| 27 | intro a |
| 28 | rw [ht] |
| 29 | trivial |
| 30 | have hfg : ∀ b : B, b ∈ Subgroup.zpowers (f z) := by |
| 31 | intro b |
| 32 | obtain ⟨a, rfl⟩ := hf b |
| 33 | obtain ⟨m, rfl⟩ := hgen a |
| 34 | exact ⟨m, (map_zpow f z m).symm⟩ |
| 35 | have hfz : orderOf (f z) = p ^ n := (orderOf_eq_card_of_forall_mem_zpowers hfg).trans hB |
| 36 | cases n with |
| 37 | | zero => |
| 38 | refine ⟨z, hz, ?_⟩ |
| 39 | have h1 : f z = 1 := orderOf_eq_one_iff.mp (by simpa only [pow_zero] using hfz) |
| 40 | have h2 : x = 1 := orderOf_eq_one_iff.mp (by simpa only [pow_zero] using hx) |
| 41 | exact h1.trans h2.symm |
| 42 | | succ n => |
| 43 | obtain ⟨a, ha⟩ := (mem_powers_iff_mem_zpowers.mpr (hfg x)) |
| 44 | change f z ^ a = x at ha |
| 45 | have hdiv : p ^ (n + 1) / (p ^ (n + 1)).gcd a = p ^ (n + 1) := by |
| 46 | calc |
| 47 | _ = orderOf (f z ^ a) := by rw [orderOf_pow, hfz] |
| 48 | _ = p ^ (n + 1) := (congrArg orderOf ha).trans hx |
| 49 | have hcop : (p ^ (n + 1)).Coprime a := by |
| 50 | apply Nat.coprime_iff_gcd_eq_one.mpr |
| 51 | have hpos : 0 < p ^ (n + 1) := pow_pos (Fact.out : p.Prime).pos _ |
| 52 | have heq := (Nat.div_eq_iff_eq_mul_left |
| 53 | (Nat.gcd_pos_of_pos_left a hpos) (Nat.gcd_dvd_left _ _)).mp hdiv |
| 54 | nlinarith |
| 55 | have hcop' : (p ^ (n + 1 + 1)).Coprime a := |
| 56 | ((Nat.coprime_pow_left_iff (by omega) p a).mp hcop).pow_left _ |
| 57 | refine ⟨z ^ a, ?_, ?_⟩ |
| 58 | · rw [orderOf_pow, hz, hcop'.gcd_eq_one, Nat.div_one] |
| 59 | · exact (map_pow f z a).trans ha |
| 60 | |
| 61 | end CharacterGenerators.FiniteEtale |
| 62 | |
| 63 | universe u |
| 64 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 65 | variable {p : ℕ} [Fact p.Prime] [CharP k p] |
| 66 | |
| 67 | /-- A coordinate character of full order. -/ |
| 68 | def FiniteEtale.PDivisibleGroup.CharacterGenerator (G : FiniteEtale.PDivisibleGroup k p 1) (n : ℕ) := |
| 69 | { x : (G.level n).characterGroup // orderOf x = p ^ n } |
| 70 | |
| 71 | /-- Every level admits a full-order coordinate character when the dual levels split. -/ |
| 72 | theorem FiniteEtale.PDivisibleGroup.exists_character_order (G : FiniteEtale.PDivisibleGroup k p 1) |
| 73 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).cartierDual.algebra) (n : ℕ) : |
| 74 | ∃ x : (G.level n).characterGroup, orderOf x = p ^ n := by |
| 75 | obtain ⟨x, hx⟩ := G.exists_dual_point_order hsplit n |
| 76 | refine ⟨(G.level n).dualPointsCharacterEquiv x, ?_⟩ |
| 77 | exact (orderOf_injective (G.level n).dualPointsCharacterEquiv.toMonoidHom |
| 78 | (G.level n).dualPointsCharacterEquiv.injective x).trans hx |
| 79 | |
| 80 | /-- Full-order coordinate characters lift through each original inclusion. -/ |
| 81 | theorem FiniteEtale.PDivisibleGroup.character_generator_lift (G : FiniteEtale.PDivisibleGroup k p 1) |
| 82 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).cartierDual.algebra) |
| 83 | (n : ℕ) (x : G.CharacterGenerator n) : |
| 84 | ∃ y : G.CharacterGenerator (n + 1), |
| 85 | FiniteEtale.FiniteCommGroupScheme.characterMap (G.inclusion n) y.val = x.val := by |
| 86 | have := hsplit n |
| 87 | have := hsplit (n + 1) |
| 88 | obtain ⟨z, hz⟩ := G.exists_character_order hsplit (n + 1) |
| 89 | obtain ⟨y, hy, hmap⟩ := CharacterGenerators.FiniteEtale.generator_lift n |
| 90 | (FiniteEtale.FiniteCommGroupScheme.characterMap (G.inclusion n)) |
| 91 | (FiniteEtale.FiniteCommGroupScheme.characterMap_surjective (G.inclusion n)) z hz |
| 92 | (by rw [(G.level (n + 1)).characterGroup_card, G.rank, Nat.mul_one]) |
| 93 | (by rw [(G.level n).characterGroup_card, G.rank, Nat.mul_one]) x.val x.property |
| 94 | exact ⟨⟨y, hy⟩, hmap⟩ |
| 95 | |
| 96 | /-- A compatible system of full-order coordinate characters. -/ |
| 97 | def FiniteEtale.PDivisibleGroup.compatibleCharacters (G : FiniteEtale.PDivisibleGroup k p 1) |
| 98 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).cartierDual.algebra) : |
| 99 | ∀ n, G.CharacterGenerator n |
| 100 | | 0 => ⟨1, by simp⟩ |
| 101 | | n + 1 => Classical.choose (G.character_generator_lift hsplit n |
| 102 | (compatibleCharacters G hsplit n)) |
| 103 | |
| 104 | /-- Restricting the chosen character at the next level gives the preceding character. -/ |
| 105 | theorem FiniteEtale.PDivisibleGroup.compatibleCharacters_restriction (G : FiniteEtale.PDivisibleGroup k p 1) |
| 106 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).cartierDual.algebra) (n : ℕ) : |
| 107 | FiniteEtale.FiniteCommGroupScheme.characterMap (G.inclusion n) (G.compatibleCharacters hsplit (n + 1)).val = |
| 108 | (G.compatibleCharacters hsplit n).val := |
| 109 | Classical.choose_spec (G.character_generator_lift hsplit n (G.compatibleCharacters hsplit n)) |
| 110 | |
| 111 | /-- Each chosen character generates all characters of its level. -/ |
| 112 | theorem FiniteEtale.PDivisibleGroup.compatibleCharacters_generate (G : FiniteEtale.PDivisibleGroup k p 1) |
| 113 | (hsplit : ∀ n, Algebra.IsFiniteSplit k (G.level n).cartierDual.algebra) (n : ℕ) : |
| 114 | ∀ x : (G.level n).characterGroup, x ∈ Subgroup.zpowers (G.compatibleCharacters hsplit n).val := by |
| 115 | have := hsplit n |
| 116 | have htop : Subgroup.zpowers (G.compatibleCharacters hsplit n).val = ⊤ := by |
| 117 | apply (Subgroup.card_eq_iff_eq_top _).mp |
| 118 | rw [Nat.card_zpowers, (G.compatibleCharacters hsplit n).property, |
| 119 | (G.level n).characterGroup_card, G.rank, Nat.mul_one] |
| 120 | intro x |
| 121 | rw [htop] |
| 122 | trivial |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.GroupSchemes |