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.FiniteEtale |
| 2 | |
| 3 | /-! # Tower -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.GroupSchemes |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # FiniteEtale: multiplication and torsion in the geometric tower |
| 11 | |
| 12 | Multiplication by p from level n+1 to level n is constructed from the |
| 13 | defining kernel property on the universal affine point. No surjectivity, |
| 14 | Cartier comparison, or classification is assumed. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 19 | open _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | universe u v |
| 22 | |
| 23 | section Monoidal |
| 24 | |
| 25 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 26 | {A B D : C} [MonObj A] [MonObj B] [MonObj D] |
| 27 | |
| 28 | /-- A monomorphism of monoid objects detects the homomorphism laws. -/ |
| 29 | theorem Tower.FiniteEtale.isMonHom_of_comp_mono (f : A ⟶ B) (g : B ⟶ D) |
| 30 | [IsMonHom g] [Mono g] [IsMonHom (f ≫ g)] : IsMonHom f := by |
| 31 | constructor |
| 32 | · apply (cancel_mono g).mp |
| 33 | simp only [Category.assoc, IsMonHom.one_hom] |
| 34 | · apply (cancel_mono g).mp |
| 35 | simp only [Category.assoc, IsMonHom.mul_hom] |
| 36 | rw [← Category.assoc, tensorHom_comp_tensorHom] |
| 37 | |
| 38 | variable [BraidedCategory C] [IsCommMonObj B] |
| 39 | |
| 40 | /-- Pointwise powers of a homomorphism into a commutative group object. -/ |
| 41 | theorem Tower.FiniteEtale.isMonHom_pow (f : A ⟶ B) [IsMonHom f] (n : ℕ) : IsMonHom (f ^ n) := by |
| 42 | induction n with |
| 43 | | zero => |
| 44 | change IsMonHom (1 : A ⟶ B) |
| 45 | change IsMonHom (toUnit A ≫ η[B]) |
| 46 | infer_instance |
| 47 | | succ n ih => |
| 48 | have : IsMonHom (f ^ n) := ih |
| 49 | rw [pow_succ, Hom.mul_def] |
| 50 | infer_instance |
| 51 | |
| 52 | end Monoidal |
| 53 | |
| 54 | variable {k : Type u} [Field k] {p h : ℕ} |
| 55 | |
| 56 | variable (G : FiniteEtale.PDivisibleGroup k p h) |
| 57 | |
| 58 | instance FiniteEtale.PDivisibleGroup.inclusion_mono (n : ℕ) : Mono (G.inclusion n) := |
| 59 | Over.mono_of_mono_left _ |
| 60 | |
| 61 | /-- The pth-power endomorphism of level n+1 factors through level n. -/ |
| 62 | theorem FiniteEtale.PDivisibleGroup.exists_multiplyDown (n : ℕ) : |
| 63 | ∃ f : (G.level (n + 1)).scheme ⟶ (G.level n).scheme, |
| 64 | f ≫ G.inclusion n = (𝟙 (G.level (n + 1)).scheme) ^ p := by |
| 65 | apply (G.kernel n (G.level (n + 1)).algebra _).mpr |
| 66 | rw [← pow_mul, ← pow_succ'] |
| 67 | exact G.annihilated k (n + 1) _ (𝟙 _) |
| 68 | |
| 69 | /-- Multiplication by p, with codomain lowered by one finite level. -/ |
| 70 | def FiniteEtale.PDivisibleGroup.multiplyDown (n : ℕ) : (G.level (n + 1)).scheme ⟶ (G.level n).scheme := |
| 71 | (G.exists_multiplyDown n).choose |
| 72 | |
| 73 | @[reassoc] |
| 74 | theorem FiniteEtale.PDivisibleGroup.multiplyDown_inclusion (n : ℕ) : |
| 75 | G.multiplyDown n ≫ G.inclusion n = (𝟙 (G.level (n + 1)).scheme) ^ p := |
| 76 | (G.exists_multiplyDown n).choose_spec |
| 77 | |
| 78 | instance FiniteEtale.PDivisibleGroup.multiplyDown_isMonHom (n : ℕ) : IsMonHom (G.multiplyDown n) := by |
| 79 | have : IsMonHom ((𝟙 (G.level (n + 1)).scheme) ^ p) := Tower.FiniteEtale.isMonHom_pow _ _ |
| 80 | have : IsMonHom (G.multiplyDown n ≫ G.inclusion n) := by |
| 81 | rw [G.multiplyDown_inclusion n] |
| 82 | infer_instance |
| 83 | exact Tower.FiniteEtale.isMonHom_of_comp_mono _ (G.inclusion n) |
| 84 | |
| 85 | /-- The other composite is multiplication by p on the lower level. -/ |
| 86 | @[reassoc] |
| 87 | theorem FiniteEtale.PDivisibleGroup.inclusion_multiplyDown (n : ℕ) : |
| 88 | G.inclusion n ≫ G.multiplyDown n = (𝟙 (G.level n).scheme) ^ p := by |
| 89 | apply (cancel_mono (G.inclusion n)).mp |
| 90 | rw [Category.assoc, G.multiplyDown_inclusion, MonObj.comp_pow, Category.comp_id, |
| 91 | MonObj.pow_comp, Category.id_comp] |
| 92 | |
| 93 | /-- Multiplication and the transition maps commute in consecutive levels. -/ |
| 94 | theorem FiniteEtale.PDivisibleGroup.multiplyDown_compatible (n : ℕ) : |
| 95 | G.inclusion (n + 1) ≫ G.multiplyDown (n + 1) = |
| 96 | G.multiplyDown n ≫ G.inclusion n := by |
| 97 | rw [G.inclusion_multiplyDown, G.multiplyDown_inclusion] |
| 98 | |
| 99 | /-- The geometric multiplication map acts as the pth power on every affine point. -/ |
| 100 | theorem FiniteEtale.PDivisibleGroup.multiplyDown_points (n : ℕ) (R : CommAlgCat.{u} k) |
| 101 | (x : FiniteEtale.affine k R ⟶ (G.level (n + 1)).scheme) : |
| 102 | x ≫ G.multiplyDown n ≫ G.inclusion n = x ^ p := by |
| 103 | rw [G.multiplyDown_inclusion, MonObj.comp_pow, Category.comp_id] |
| 104 | |
| 105 | /-- Its pointwise kernel consists exactly of the p-torsion. -/ |
| 106 | theorem FiniteEtale.PDivisibleGroup.multiplyDown_kernel (n : ℕ) (R : CommAlgCat.{u} k) |
| 107 | (x : FiniteEtale.affine k R ⟶ (G.level (n + 1)).scheme) : |
| 108 | x ≫ G.multiplyDown n = 1 ↔ x ^ p = 1 := by |
| 109 | rw [← cancel_mono (G.inclusion n), Category.assoc, |
| 110 | G.multiplyDown_points, MonObj.one_comp] |
| 111 | |
| 112 | /-- The composite of r successive closed transition embeddings. -/ |
| 113 | def FiniteEtale.PDivisibleGroup.inclusionIter (n : ℕ) : ∀ r, (G.level n).scheme ⟶ (G.level (n + r)).scheme |
| 114 | | 0 => 𝟙 _ |
| 115 | | r + 1 => inclusionIter n r ≫ G.inclusion (n + r) |
| 116 | |
| 117 | instance FiniteEtale.PDivisibleGroup.inclusionIter_isMonHom (n r : ℕ) : IsMonHom (G.inclusionIter n r) := by |
| 118 | induction r with |
| 119 | | zero => change IsMonHom (𝟙 _); infer_instance |
| 120 | | succ r ih => |
| 121 | have : IsMonHom (G.inclusionIter n r) := ih |
| 122 | change IsMonHom (G.inclusionIter n r ≫ G.inclusion (n + r)) |
| 123 | infer_instance |
| 124 | |
| 125 | instance FiniteEtale.PDivisibleGroup.inclusionIter_mono (n r : ℕ) : Mono (G.inclusionIter n r) := by |
| 126 | induction r with |
| 127 | | zero => change Mono (𝟙 _); infer_instance |
| 128 | | succ r ih => |
| 129 | have : Mono (G.inclusionIter n r) := ih |
| 130 | change Mono (G.inclusionIter n r ≫ G.inclusion (n + r)) |
| 131 | infer_instance |
| 132 | |
| 133 | /-- The n-th level is exactly the p^n-torsion in every later level. -/ |
| 134 | theorem FiniteEtale.PDivisibleGroup.inclusionIter_kernel (n r : ℕ) (R : CommAlgCat.{u} k) |
| 135 | (x : FiniteEtale.affine k R ⟶ (G.level (n + r)).scheme) : |
| 136 | (∃ y : FiniteEtale.affine k R ⟶ (G.level n).scheme, y ≫ G.inclusionIter n r = x) ↔ |
| 137 | x ^ (p ^ n) = 1 := by |
| 138 | induction r with |
| 139 | | zero => |
| 140 | constructor |
| 141 | · intro _; exact G.annihilated k n R x |
| 142 | · intro _; exact ⟨x, Category.comp_id x⟩ |
| 143 | | succ r ih => |
| 144 | constructor |
| 145 | · rintro ⟨y, rfl⟩ |
| 146 | rw [← MonObj.pow_comp, G.annihilated k n R y, MonObj.one_comp] |
| 147 | · intro hx |
| 148 | have hx' : x ^ (p ^ (n + r)) = 1 := by |
| 149 | obtain ⟨d, hd⟩ := pow_dvd_pow p (Nat.le_add_right n r) |
| 150 | rw [hd, pow_mul, hx, one_pow] |
| 151 | obtain ⟨z, hz⟩ := (G.kernel (n + r) R x).mpr hx' |
| 152 | have hzp : z ^ (p ^ n) = 1 := by |
| 153 | apply (cancel_mono (G.inclusion (n + r))).mp |
| 154 | rw [MonObj.pow_comp, hz, MonObj.one_comp] |
| 155 | exact hx |
| 156 | obtain ⟨y, hy⟩ := (ih z).mpr hzp |
| 157 | refine ⟨y, ?_⟩ |
| 158 | change y ≫ (G.inclusionIter n r ≫ G.inclusion (n + r)) = x |
| 159 | rw [← Category.assoc, hy, hz] |
| 160 | |
| 161 | /-! Iterated transitions retain the actual closed-immersion property. -/ |
| 162 | |
| 163 | instance FiniteEtale.PDivisibleGroup.inclusionIter_closed (n r : ℕ) : IsClosedImmersion (G.inclusionIter n r).left := by |
| 164 | induction r with |
| 165 | | zero => |
| 166 | change IsClosedImmersion (𝟙 _) |
| 167 | infer_instance |
| 168 | | succ r ih => |
| 169 | have := ih |
| 170 | change IsClosedImmersion ((G.inclusionIter n r).left ≫ (G.inclusion (n + r)).left) |
| 171 | infer_instance |
| 172 | |
| 173 | end |
| 174 | |
| 175 | end OAI.AlgebraicGeometry.GroupSchemes |