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.Analysis.InnerProductSpace.GramSchmidtOrtho |
| 2 | |
| 3 | /-! # Gram Schmidt Positive Diagonal -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.GramSchmidtPositiveDiagonal.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Gram--Schmidt has a strictly positive triangular diagonal on |
| 10 | a linearly independent family. -/ |
| 11 | |
| 12 | open InnerProductSpace |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem gramSchmidt_inner_original |
| 16 | {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 17 | {n : ℕ} (f : Fin n → E) (i : Fin n) : |
| 18 | inner ℝ (gramSchmidt ℝ f i) (f i) = ‖gramSchmidt ℝ f i‖ ^ 2 := by |
| 19 | conv_lhs => rhs; rw [gramSchmidt_def'' ℝ f i] |
| 20 | simp only [RCLike.ofReal_real_eq_id, id_eq] |
| 21 | rw [inner_add_right, inner_sum] |
| 22 | have hs : (∑ j ∈ Finset.Iio i, |
| 23 | inner ℝ (gramSchmidt ℝ f i) |
| 24 | ((inner ℝ (gramSchmidt ℝ f j) (f i) / ‖gramSchmidt ℝ f j‖ ^ 2) • gramSchmidt ℝ f j)) = 0 := by |
| 25 | apply Finset.sum_eq_zero |
| 26 | intro j hj |
| 27 | rw [real_inner_smul_right, gramSchmidt_orthogonal ℝ f (ne_of_gt (Finset.mem_Iio.mp hj)), mul_zero] |
| 28 | rw [hs, add_zero, real_inner_self_eq_norm_sq] |
| 29 | |
| 30 | theorem gramSchmidtNormed_inner_original |
| 31 | {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 32 | {n : ℕ} (f : Fin n → E) (hf : LinearIndependent ℝ f) (i : Fin n) : |
| 33 | inner ℝ (gramSchmidtNormed ℝ f i) (f i) = ‖gramSchmidt ℝ f i‖ := by |
| 34 | rw [gramSchmidtNormed, real_inner_smul_left, gramSchmidt_inner_original] |
| 35 | simp only [RCLike.ofReal_real_eq_id, id_eq] |
| 36 | have hn : ‖gramSchmidt ℝ f i‖ ≠ 0 := norm_ne_zero_iff.mpr (gramSchmidt_ne_zero i hf) |
| 37 | field_simp |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.ArithmeticGroups.Lattices.GramSchmidtPositiveDiagonal.Construction |