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.ArithmeticGeometry.Descent.CMVariety.LogarithmicTorsionRigidity |
| 2 | import Mathlib.LinearAlgebra.Basis.Defs |
| 3 | import Mathlib.Analysis.Normed.Operator.ContinuousLinearMap |
| 4 | |
| 5 | /-! # Torsion Period Coordinates -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.TorsionPeriodCoordinates.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Positive-order torsion points of a surjective exponential have exact |
| 13 | integer-period coordinates divided by their order. The coordinates use |
| 14 | the full actual kernel lattice and its compatible real frame. |
| 15 | -/ |
| 16 | |
| 17 | open scoped BigOperators Classical |
| 18 | |
| 19 | variable {Index V : Type} [Fintype Index] |
| 20 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 21 | |
| 22 | theorem realFrame_eq_sum (r : (Index → ℝ) →ₗ[ℝ] V) (v : Index → ℝ) : |
| 23 | r v = ∑ i, v i • r (Pi.single i 1) := by |
| 24 | classical |
| 25 | have hv : v = ∑ i, v i • Pi.single i (1 : ℝ) := by |
| 26 | ext j |
| 27 | simp [Pi.single_apply] |
| 28 | conv_lhs => rw [hv] |
| 29 | rw [map_sum] |
| 30 | apply Finset.sum_congr rfl |
| 31 | intro i _ |
| 32 | exact r.map_smul (v i) (Pi.single i 1) |
| 33 | |
| 34 | theorem realFrame_integer_mem (Λ : Submodule ℤ V) |
| 35 | (r : (Index → ℝ) →ₗ[ℝ] V) |
| 36 | (hr : ∀ i, r (Pi.single i 1) ∈ Λ) (z : Index → ℤ) : |
| 37 | r (fun i => (z i : ℝ)) ∈ Λ := by |
| 38 | rw [realFrame_eq_sum] |
| 39 | apply Submodule.sum_mem |
| 40 | intro i _ |
| 41 | rw [Int.cast_smul_eq_zsmul] |
| 42 | exact Λ.smul_mem (z i) (hr i) |
| 43 | |
| 44 | theorem realFrame_basis_repr (Λ : Submodule ℤ V) |
| 45 | (b : Module.Basis Index ℤ Λ) (r : (Index → ℝ) →ₗ[ℝ] V) |
| 46 | (hr : ∀ i, (b i : V) = r (Pi.single i 1)) (l : Λ) : |
| 47 | r (fun i => (b.repr l i : ℝ)) = (l : V) := by |
| 48 | rw [realFrame_eq_sum] |
| 49 | have h := congrArg (fun a : Λ => (a : V)) (b.sum_repr l) |
| 50 | simpa only [← hr, Submodule.coe_sum, Submodule.coe_smul, Int.cast_smul_eq_zsmul] using h |
| 51 | |
| 52 | theorem torsion_of_integer_period_coordinates |
| 53 | {G : Type} [Group G] (exponential : V → G) |
| 54 | (hzero : exponential 0 = 1) |
| 55 | (hadd : ∀ v w, exponential (v + w) = exponential v * exponential w) |
| 56 | (Λ : Submodule ℤ V) (hΛ : ∀ v, v ∈ Λ ↔ exponential v = 1) |
| 57 | (r : (Index → ℝ) →ₗ[ℝ] V) (hr : ∀ i, r (Pi.single i 1) ∈ Λ) |
| 58 | (n : ℕ) (hn : 0 < n) (z : Index → ℤ) : |
| 59 | exponential ((n : ℝ)⁻¹ • r (fun i => (z i : ℝ))) ^ n = 1 := by |
| 60 | have hn' : (n : ℝ) ≠ 0 := by exact_mod_cast Nat.ne_of_gt hn |
| 61 | rw [← LogarithmicTorsionRigidity.Abelian.additive_exponential_nsmul exponential hzero hadd, |
| 62 | ← Nat.cast_smul_eq_nsmul ℝ, smul_smul, mul_inv_cancel₀ hn', one_smul] |
| 63 | exact (hΛ _).mp (realFrame_integer_mem Λ r hr z) |
| 64 | |
| 65 | theorem exists_integer_period_coordinates_of_torsion |
| 66 | {G : Type} [Group G] (exponential : V → G) |
| 67 | (hzero : exponential 0 = 1) |
| 68 | (hadd : ∀ v w, exponential (v + w) = exponential v * exponential w) |
| 69 | (hsurj : Function.Surjective exponential) |
| 70 | (Λ : Submodule ℤ V) (hΛ : ∀ v, v ∈ Λ ↔ exponential v = 1) |
| 71 | (b : Module.Basis Index ℤ Λ) (r : (Index → ℝ) →ₗ[ℝ] V) |
| 72 | (hr : ∀ i, (b i : V) = r (Pi.single i 1)) |
| 73 | (n : ℕ) (hn : 0 < n) (x : G) (hx : x ^ n = 1) : |
| 74 | ∃ z : Index → ℤ, exponential ((n : ℝ)⁻¹ • r (fun i => (z i : ℝ))) = x := by |
| 75 | obtain ⟨v, hv⟩ := hsurj x |
| 76 | have hl : (n : ℝ) • v ∈ Λ := by |
| 77 | apply (hΛ _).mpr |
| 78 | rw [Nat.cast_smul_eq_nsmul ℝ, LogarithmicTorsionRigidity.Abelian.additive_exponential_nsmul exponential hzero hadd, hv, hx] |
| 79 | let l : Λ := ⟨(n : ℝ) • v, hl⟩ |
| 80 | refine ⟨fun i => b.repr l i, ?_⟩ |
| 81 | rw [realFrame_basis_repr Λ b r hr l] |
| 82 | change exponential ((n : ℝ)⁻¹ • ((n : ℝ) • v)) = x |
| 83 | have hn' : (n : ℝ) ≠ 0 := by exact_mod_cast Nat.ne_of_gt hn |
| 84 | rw [smul_smul, inv_mul_cancel₀ hn', one_smul, hv] |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.ArithmeticGeometry.Descent.CMVariety.TorsionPeriodCoordinates.Abelian |