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.AbelianScheme.TateComparison.Subgroups |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CentralAction.Scalar |
| 3 | |
| 4 | /-! # Kernels -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.Kernels.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scheme-theoretic scalar kernels on the actual chosen split blocks. |
| 11 | The q-adic unit factor does not change the kernel; this is proved for |
| 12 | every test scheme, including nonreduced schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Subgroups |
| 18 | |
| 19 | theorem torsion_coprime_power_eq_one_iff {G : Type*} [Group G] |
| 20 | (x : G) (N k : ℕ) (hx : x ^ N = 1) (hk : Nat.Coprime k N) : |
| 21 | x ^ k = 1 ↔ x = 1 := by |
| 22 | constructor |
| 23 | · intro h |
| 24 | obtain ⟨m, hm⟩ := exists_pow_eq_self_of_coprime |
| 25 | (hk.coprime_dvd_right (orderOf_dvd_of_pow_eq_one hx)) |
| 26 | rw [h, one_pow] at hm |
| 27 | exact hm.symm |
| 28 | · rintro rfl |
| 29 | exact one_pow _ |
| 30 | |
| 31 | theorem torsion_unit_residue_kernel {G : Type*} [Group G] |
| 32 | (x : G) (N : ℕ) [NeZero N] (hx : x ^ N = 1) |
| 33 | (a : ℕ) (u : (ZMod N)ˣ) : |
| 34 | x ^ (((a : ZMod N) * u).val) = 1 ↔ x ^ a = 1 := by |
| 35 | have hmod : (((a : ZMod N) * u).val) ≡ a * (u : ZMod N).val [MOD N] := by |
| 36 | apply (ZMod.natCast_eq_natCast_iff _ _ _).mp |
| 37 | simp |
| 38 | rw [pow_eq_pow_of_modEq hmod hx, pow_mul] |
| 39 | have hy : (x ^ a) ^ N = 1 := by rw [pow_right_comm, hx, one_pow] |
| 40 | have hu : Nat.Coprime (u : ZMod N).val N := by |
| 41 | apply (ZMod.isUnit_iff_coprime _ _).mp |
| 42 | simp |
| 43 | exact torsion_coprime_power_eq_one_iff (x ^ a) N _ hy hu |
| 44 | |
| 45 | universe u |
| 46 | variable {E : Type u} [Field E] {g N q : ℕ} [Fact q.Prime] {S : Scheme.{u}} |
| 47 | |
| 48 | /-- On a chosen q^h-block, a scalar with local value q^a times a unit |
| 49 | has precisely the q^a-torsion kernel. -/ |
| 50 | theorem scalar_kernel_on_splitBlock |
| 51 | (D : TateComparison.PEL.PELFamilyData (NumberField.RingOfIntegers E) g N S) |
| 52 | (χ : NumberField.RingOfIntegers E →+* ℤ_[q]) |
| 53 | (b : NumberField.RingOfIntegers E) (h a : ℕ) (u : ℤ_[q]ˣ) |
| 54 | (hlocal : χ b = (q : ℤ_[q]) ^ a * u) |
| 55 | (T : Over S) (x : T ⟶ D.abelian.scheme) |
| 56 | (hblock : x ∈ (TateComparison.Subgroups.splitBlock D χ h).atTest T) : |
| 57 | x ≫ Scalar.Construction.scalarMap D b = 1 ↔ x ^ (q ^ a) = 1 := by |
| 58 | have hx : x ^ (q ^ h) = 1 := hblock.1 |
| 59 | have haction : x ≫ Scalar.Construction.scalarMap D b = x ^ (PadicInt.toZModPow h (χ b)).val := hblock.2 b |
| 60 | let ur : (ZMod (q ^ h))ˣ := Units.map (PadicInt.toZModPow h).toMonoidHom u |
| 61 | rw [haction, hlocal, map_mul, map_pow, map_natCast] |
| 62 | have he : (q : ZMod (q ^ h)) ^ a * PadicInt.toZModPow h (u : ℤ_[q]) = |
| 63 | ((q ^ a : ℕ) : ZMod (q ^ h)) * (ur : ZMod (q ^ h)) := by |
| 64 | rw [Nat.cast_pow] |
| 65 | rfl |
| 66 | rw [he] |
| 67 | exact torsion_unit_residue_kernel x (q ^ h) hx (q ^ a) ur |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.Kernels.Construction |