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 Mathlib |
| 2 | |
| 3 | /-! # Cyclic Operators -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CyclicOperators.Radial |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A commuting operator on a finite cyclic space is a linear |
| 10 | combination of powers of the cyclic operator. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | theorem cyclic_commuting_operator |
| 15 | {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 16 | (D A : Module.End ℂ W) (v : W) (M : ℕ) |
| 17 | (hspan : Submodule.span ℂ (Set.range (fun i : Fin M => (D ^ i.val) v)) = ⊤) |
| 18 | (hcomm : Commute A D) : |
| 19 | ∃ c : Fin M → ℂ, A = ∑ i : Fin M, c i • D ^ i.val := by |
| 20 | have hv : A v ∈ Submodule.span ℂ (Set.range (fun i : Fin M => (D ^ i.val) v)) := by |
| 21 | rw [hspan] |
| 22 | trivial |
| 23 | obtain ⟨c, hc⟩ := (Submodule.mem_span_range_iff_exists_fun ℂ).mp hv |
| 24 | let P : Module.End ℂ W := ∑ i : Fin M, c i • D ^ i.val |
| 25 | have hp : P v = A v := by |
| 26 | simpa only [P, LinearMap.sum_apply, LinearMap.smul_apply] using hc |
| 27 | have hpcomm : Commute P D := by |
| 28 | change P * D = D * P |
| 29 | simp only [P, Finset.sum_mul, Finset.mul_sum, smul_mul_assoc, mul_smul_comm] |
| 30 | apply Finset.sum_congr rfl |
| 31 | intro i _ |
| 32 | exact congrArg (fun B : Module.End ℂ W => c i • B) ((Commute.self_pow D i.val).eq.symm) |
| 33 | refine ⟨c, ?_⟩ |
| 34 | apply LinearMap.ext_on_range hspan |
| 35 | intro i |
| 36 | calc |
| 37 | A ((D ^ i.val) v) = (D ^ i.val) (A v) := |
| 38 | congrArg (fun B : Module.End ℂ W => B v) (hcomm.pow_right i.val).eq |
| 39 | _ = (D ^ i.val) (P v) := by rw [hp] |
| 40 | _ = P ((D ^ i.val) v) := |
| 41 | (congrArg (fun B : Module.End ℂ W => B v) (hpcomm.pow_right i.val).eq).symm |
| 42 | |
| 43 | theorem end_pow_of_eigenvector |
| 44 | {W : Type*} [AddCommGroup W] [Module ℂ W] |
| 45 | (D : Module.End ℂ W) (e : ℂ) (x : W) (hx : D x = e • x) (n : ℕ) : |
| 46 | (D ^ n) x = e ^ n • x := by |
| 47 | induction n with |
| 48 | | zero => simp |
| 49 | | succ n ih => |
| 50 | rw [pow_succ, Module.End.mul_apply, hx, map_smul, ih, smul_smul, pow_succ, mul_comm] |
| 51 | |
| 52 | theorem linear_map_pow_relation |
| 53 | {V W : Type*} [AddCommGroup V] [Module ℂ V] [AddCommGroup W] [Module ℂ W] |
| 54 | (D : Module.End ℂ V) (Θ : V →ₗ[ℂ] W) (e : ℂ) |
| 55 | (h : ∀ b, Θ (D b) = e • Θ b) (n : ℕ) (b : V) : |
| 56 | Θ ((D ^ n) b) = e ^ n • Θ b := by |
| 57 | induction n generalizing b with |
| 58 | | zero => simp |
| 59 | | succ n ih => |
| 60 | rw [pow_succ, Module.End.mul_apply, ih, h, smul_smul, pow_succ] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.CyclicOperators.Radial |