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.NumberTheory.ArithmeticGroups.Congruence |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Data |
| 3 | |
| 4 | /-! # Levels -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Levels.CongruenceLevel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open scoped Classical |
| 11 | |
| 12 | variable {E : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 13 | [NumberField.IsCMField E] |
| 14 | |
| 15 | theorem principalLevel_torsion_free |
| 16 | (b : E) (Λ : Submodule ℤ (Data.CongruenceLevel.VE E)) (hΛ : Data.CongruenceLevel.FullStableLattice Λ) |
| 17 | (N : ℕ) (hN : 3 ≤ N) (g : Data.CongruenceLevel.VE E ≃ₗ[E] Data.CongruenceLevel.VE E) |
| 18 | (hg : Data.CongruenceLevel.PrincipalLevel b Λ N g) |
| 19 | (k : ℕ) (hk : 0 < k) (hpow : g ^ k = 1) : g = 1 := by |
| 20 | let : Module.Finite ℤ Λ := Module.Finite.of_fg hΛ.1 |
| 21 | let f : Module.End ℤ Λ := (g.toLinearMap.restrictScalars ℤ).restrict |
| 22 | (fun x hx => (hg.2.1 x).mp hx) |
| 23 | have hp (n : ℕ) (x : Λ) : ((f ^ n) x : Data.CongruenceLevel.VE E) = (g ^ n) (x : Data.CongruenceLevel.VE E) := by |
| 24 | induction n with |
| 25 | | zero => rfl |
| 26 | | succ n ih => |
| 27 | simp only [pow_succ', Module.End.mul_apply, LinearEquiv.mul_apply] |
| 28 | change g (((f ^ n) x : Λ) : Data.CongruenceLevel.VE E) = g ((g ^ n) (x : Data.CongruenceLevel.VE E)) |
| 29 | rw [ih] |
| 30 | have hf : f = 1 := by |
| 31 | apply Congruence.Level.finite_lattice_congruence_torsion f N hN |
| 32 | (k := k) (hk := hk) |
| 33 | · intro x |
| 34 | obtain ⟨y, hy, hxy⟩ := hg.2.2 x x.property |
| 35 | refine ⟨⟨y, hy⟩, ?_⟩ |
| 36 | apply Subtype.ext |
| 37 | change g (x : Data.CongruenceLevel.VE E) - (x : Data.CongruenceLevel.VE E) = N • y |
| 38 | simpa only [natCast_zsmul] using hxy |
| 39 | · apply LinearMap.ext |
| 40 | intro x |
| 41 | apply Subtype.ext |
| 42 | rw [hp, hpow] |
| 43 | rfl |
| 44 | let D : Data.CongruenceLevel.VE E →ₗ[ℚ] Data.CongruenceLevel.VE E := g.toLinearMap.restrictScalars ℚ - LinearMap.id |
| 45 | have hspan : Submodule.span ℚ (Λ : Set (Data.CongruenceLevel.VE E)) ≤ D.ker := by |
| 46 | apply Submodule.span_le.mpr |
| 47 | intro x hx |
| 48 | have h := LinearMap.congr_fun hf (⟨x, hx⟩ : Λ) |
| 49 | have h' := congrArg (fun y : Λ => (y : Data.CongruenceLevel.VE E)) h |
| 50 | change g x = x at h' |
| 51 | change g x - x = 0 |
| 52 | exact sub_eq_zero.mpr h' |
| 53 | rw [hΛ.2.1] at hspan |
| 54 | apply LinearEquiv.ext |
| 55 | intro x |
| 56 | have h := hspan (Submodule.mem_top : x ∈ (⊤ : Submodule ℚ (Data.CongruenceLevel.VE E))) |
| 57 | change g x - x = 0 at h |
| 58 | exact sub_eq_zero.mp h |
| 59 | |
| 60 | theorem arbitrarily_deep_principal_levels |
| 61 | (b : E) (Λ : Submodule ℤ (Data.CongruenceLevel.VE E)) (hΛ : Data.CongruenceLevel.FullStableLattice Λ) |
| 62 | (N₀ : ℕ) (hN₀ : 0 < N₀) : |
| 63 | ∃ N : ℕ, 3 ≤ N ∧ N₀ ∣ N ∧ |
| 64 | ∀ g : Data.CongruenceLevel.VE E ≃ₗ[E] Data.CongruenceLevel.VE E, Data.CongruenceLevel.PrincipalLevel b Λ N g → |
| 65 | ∀ k : ℕ, 0 < k → g ^ k = 1 → g = 1 := by |
| 66 | refine ⟨3 * N₀, by omega, dvd_mul_left N₀ 3, ?_⟩ |
| 67 | intro g hg k hk hp |
| 68 | exact principalLevel_torsion_free b Λ hΛ _ (by omega) g hg k hk hp |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.ArithmeticGroups.Levels.CongruenceLevel |