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.Functor |
| 2 | |
| 3 | /-! # Evaluation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Evaluation.Tate |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Evaluation of the actual inverse limit and its q-power kernel. A |
| 10 | divisible point group gives all torsion points as Tate evaluations. -/ |
| 11 | |
| 12 | universe u |
| 13 | variable (q : ℕ) [Fact q.Prime] {H : Type u} [AddCommGroup H] |
| 14 | |
| 15 | def evaluate (n : ℕ) : Add.Tate.Module (H := H) q →ₗ[ℤ_[q]] Add.Tate.torsion q H n where |
| 16 | toFun x := x.val n |
| 17 | map_add' _ _ := rfl |
| 18 | map_smul' _ _ := rfl |
| 19 | |
| 20 | def divisionChain (hdiv : ∀ x : H, ∃ y, q • y = x) (x : H) : ℕ → H |
| 21 | | 0 => x |
| 22 | | n + 1 => (hdiv (divisionChain hdiv x n)).choose |
| 23 | |
| 24 | omit [Fact q.Prime] in |
| 25 | theorem divisionChain_step (hdiv : ∀ x : H, ∃ y, q • y = x) (x : H) (n : ℕ) : |
| 26 | q • Tate.divisionChain q hdiv x (n + 1) = Tate.divisionChain q hdiv x n := |
| 27 | (hdiv (Tate.divisionChain q hdiv x n)).choose_spec |
| 28 | |
| 29 | omit [Fact q.Prime] in |
| 30 | theorem divisionChain_iterate (hdiv : ∀ x : H, ∃ y, q • y = x) (x : H) (n : ℕ) : |
| 31 | q ^ n • Tate.divisionChain q hdiv x n = x := by |
| 32 | induction n with |
| 33 | | zero => simp [Tate.divisionChain] |
| 34 | | succ n ih => rw [pow_succ', mul_nsmul, divisionChain_step, ih] |
| 35 | |
| 36 | theorem evaluate_surjective (hdiv : ∀ x : H, ∃ y, q • y = x) (n : ℕ) : |
| 37 | Function.Surjective (evaluate (H := H) q n) := by |
| 38 | intro x |
| 39 | let y : ∀ k, Add.Tate.torsion q H k := fun k => |
| 40 | ⟨q ^ n • Tate.divisionChain q hdiv x.val k, by |
| 41 | change q ^ k • (q ^ n • Tate.divisionChain q hdiv x.val k) = 0 |
| 42 | rw [smul_comm, divisionChain_iterate] |
| 43 | exact x.property⟩ |
| 44 | have hy : y ∈ Add.Tate.compatible (H := H) q := by |
| 45 | intro k |
| 46 | apply Subtype.ext |
| 47 | change q • (q ^ n • Tate.divisionChain q hdiv x.val (k + 1)) = |
| 48 | q ^ n • Tate.divisionChain q hdiv x.val k |
| 49 | rw [smul_comm, divisionChain_step] |
| 50 | refine ⟨⟨y, hy⟩, ?_⟩ |
| 51 | apply Subtype.ext |
| 52 | exact divisionChain_iterate q hdiv x.val n |
| 53 | |
| 54 | theorem evaluate_eq_zero_iff (n : ℕ) (x : Add.Tate.Module (H := H) q) : |
| 55 | evaluate q n x = 0 ↔ ∃ y : Add.Tate.Module (H := H) q, (q : ℤ_[q]) ^ n • y = x := by |
| 56 | constructor |
| 57 | · intro hx |
| 58 | have hx0 : (x.val n).val = 0 := congrArg Subtype.val hx |
| 59 | let y : ∀ k, Add.Tate.torsion q H k := fun k => |
| 60 | ⟨(x.val (n + k)).val, (Functor.Tate.transition_iterate q x n k).trans hx0⟩ |
| 61 | have hy : y ∈ Add.Tate.compatible (H := H) q := by |
| 62 | intro k |
| 63 | apply Subtype.ext |
| 64 | have ht := congrArg Subtype.val (x.property (n + k)) |
| 65 | change q • (x.val (n + k + 1)).val = (x.val (n + k)).val at ht |
| 66 | change q • (x.val (n + (k + 1))).val = (x.val (n + k)).val |
| 67 | rw [← Nat.add_assoc] |
| 68 | exact ht |
| 69 | refine ⟨⟨y, hy⟩, ?_⟩ |
| 70 | apply Subtype.ext |
| 71 | funext k |
| 72 | apply Subtype.ext |
| 73 | rw [← Nat.cast_pow, Nat.cast_smul_eq_nsmul] |
| 74 | change q ^ n • (x.val (n + k)).val = (x.val k).val |
| 75 | rw [Nat.add_comm n k] |
| 76 | exact Functor.Tate.transition_iterate q x k n |
| 77 | · rintro ⟨y, rfl⟩ |
| 78 | rw [map_smul, ← Nat.cast_pow, Nat.cast_smul_eq_nsmul] |
| 79 | apply Subtype.ext |
| 80 | exact (y.val n).property |
| 81 | |
| 82 | def torsionQuotientEquiv (hdiv : ∀ x : H, ∃ y, q • y = x) (n : ℕ) : |
| 83 | (Add.Tate.Module (H := H) q ⧸ (evaluate (H := H) q n).ker) ≃ₗ[ℤ_[q]] Add.Tate.torsion q H n := |
| 84 | (evaluate q n).quotKerEquivOfSurjective (evaluate_surjective q hdiv n) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Evaluation.Tate |