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.FinSuccessorBasisLift |
| 2 | import Mathlib.LinearAlgebra.Basis.SMul |
| 3 | |
| 4 | /-! # Normalize Orthogonal Basis -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.NormalizeOrthogonalBasis.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Normalize an orthogonal basis while retaining its positive |
| 11 | diagonal scaling factors. -/ |
| 12 | |
| 13 | open _root_.Module |
| 14 | |
| 15 | variable {E ι : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [Fintype ι] |
| 16 | |
| 17 | omit [Fintype ι] in |
| 18 | theorem orthogonal_basis_normalized_orthonormal (b : Basis ι ℝ E) |
| 19 | (hb : Pairwise (fun i j => inner ℝ (b i) (b j) = 0)) : |
| 20 | Orthonormal ℝ (fun i => ‖b i‖⁻¹ • b i) := by |
| 21 | constructor |
| 22 | · intro i |
| 23 | rw [norm_smul, Real.norm_eq_abs, abs_of_nonneg (inv_nonneg.mpr (norm_nonneg _)), |
| 24 | inv_mul_cancel₀ (norm_ne_zero_iff.mpr (b.ne_zero i))] |
| 25 | · intro i j hij |
| 26 | rw [real_inner_smul_left, real_inner_smul_right, hb hij, mul_zero, mul_zero] |
| 27 | |
| 28 | def normalizedOrthogonalBasis (b : Basis ι ℝ E) |
| 29 | (hb : Pairwise (fun i j => inner ℝ (b i) (b j) = 0)) : OrthonormalBasis ι ℝ E := |
| 30 | (b.isUnitSMul (fun i => isUnit_iff_ne_zero.mpr |
| 31 | (inv_ne_zero (norm_ne_zero_iff.mpr (b.ne_zero i))))).toOrthonormalBasis (by |
| 32 | convert orthogonal_basis_normalized_orthonormal b hb using 1 |
| 33 | funext i |
| 34 | exact Basis.isUnitSMul_apply _ i) |
| 35 | |
| 36 | theorem normalizedOrthogonalBasis_apply (b : Basis ι ℝ E) |
| 37 | (hb : Pairwise (fun i j => inner ℝ (b i) (b j) = 0)) (i : ι) : |
| 38 | normalizedOrthogonalBasis b hb i = ‖b i‖⁻¹ • b i := by |
| 39 | simp [normalizedOrthogonalBasis, Basis.coe_toOrthonormalBasis, Basis.isUnitSMul_apply] |
| 40 | |
| 41 | theorem orthogonalBasis_eq_norm_smul_normalized (b : Basis ι ℝ E) |
| 42 | (hb : Pairwise (fun i j => inner ℝ (b i) (b j) = 0)) (i : ι) : |
| 43 | b i = ‖b i‖ • normalizedOrthogonalBasis b hb i := by |
| 44 | rw [normalizedOrthogonalBasis_apply, smul_smul, |
| 45 | mul_inv_cancel₀ (norm_ne_zero_iff.mpr (b.ne_zero i)), one_smul] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.ArithmeticGroups.Lattices.NormalizeOrthogonalBasis.Construction |