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.Lattices.Infinitesimal.Degree |
| 2 | |
| 3 | /-! # Bounded Nilpotent Action -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.BoundedNilpotentAction.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The bounded polynomial representation of a nilpotent matrix is |
| 10 | nilpotent as a finite-dimensional endomorphism. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | |
| 14 | theorem finiteDimensional_nilpotent_of_locally_nilpotent |
| 15 | {k V : Type*} [Field k] [AddCommGroup V] [Module k V] [Module.Finite k V] |
| 16 | (f : Module.End k V) (hf : ∀ x, ∃ r : ℕ, (f ^ r) x = 0) : IsNilpotent f := by |
| 17 | let b := Module.finBasis k V |
| 18 | choose r hr using fun i => hf (b i) |
| 19 | refine ⟨∑ i, r i, b.ext fun i => ?_⟩ |
| 20 | have hi : r i ≤ ∑ j, r j := Finset.single_le_sum (fun j _ => Nat.zero_le (r j)) (Finset.mem_univ i) |
| 21 | change (f ^ ∑ j, r j) (b i) = 0 |
| 22 | rw [← Nat.sub_add_cancel hi, pow_add, Module.End.mul_apply, hr, map_zero] |
| 23 | |
| 24 | theorem boundedInfinitesimal_pow_coe |
| 25 | {k : Type} [Field k] {n d : ℕ} (A : Matrix (Fin n) (Fin n) k) |
| 26 | (r : ℕ) (p : BoundedRepresentation.Construction.BoundedPolynomials k n d) : |
| 27 | ((Infinitesimal.Degree.Construction.boundedInfinitesimal d A ^ r) p).val = ((Infinitesimal.Action.Construction.rightInfinitesimal A).toLinearMap ^ r) p.val := by |
| 28 | induction r with |
| 29 | | zero => rfl |
| 30 | | succ r hr => |
| 31 | rw [pow_succ', pow_succ', Module.End.mul_apply, Module.End.mul_apply] |
| 32 | change Infinitesimal.Action.Construction.rightInfinitesimal A (((Infinitesimal.Degree.Construction.boundedInfinitesimal d A ^ r) p).val) = |
| 33 | Infinitesimal.Action.Construction.rightInfinitesimal A (((Infinitesimal.Action.Construction.rightInfinitesimal A).toLinearMap ^ r) p.val) |
| 34 | rw [hr] |
| 35 | |
| 36 | theorem boundedInfinitesimal_isNilpotent |
| 37 | {k : Type} [Field k] {n : ℕ} (d : ℕ) (A : Matrix (Fin n) (Fin n) k) (hA : IsNilpotent A) : |
| 38 | IsNilpotent (Infinitesimal.Degree.Construction.boundedInfinitesimal d A) := by |
| 39 | apply finiteDimensional_nilpotent_of_locally_nilpotent |
| 40 | intro p |
| 41 | obtain ⟨r, hr⟩ := LocallyNilpotentDerivation.Construction.nilpotent_matrix_locally_nilpotent_infinitesimal A hA p.val |
| 42 | refine ⟨r, Subtype.ext ?_⟩ |
| 43 | rw [boundedInfinitesimal_pow_coe] |
| 44 | exact hr |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.ArithmeticGroups.Lattices.BoundedNilpotentAction.Construction |