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.Compact.ExponentialDiagonals |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.PermutationIntertwining |
| 3 | |
| 4 | /-! # Permutation Diagonal Factorization -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.PermutationDiagonalFactorization.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Separating a bounded logarithmic diagonal from a common chamber |
| 11 | diagonal yields the bounded core used in permutation reduction. -/ |
| 12 | |
| 13 | theorem exponentialDiagonalMatrixUnit_add {n : ℕ} (x y : Fin n → ℝ) : |
| 14 | Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (x + y) = Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit x * Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit y := by |
| 15 | apply Units.ext |
| 16 | change Matrix.diagonal (fun i => Real.exp ((x + y) i)) = |
| 17 | Matrix.diagonal (fun i => Real.exp (x i)) * Matrix.diagonal (fun i => Real.exp (y i)) |
| 18 | rw [Matrix.diagonal_mul_diagonal] |
| 19 | congr 1 |
| 20 | funext i |
| 21 | exact Real.exp_add _ _ |
| 22 | |
| 23 | theorem exponentialDiagonalMatrixUnit_permutation {n : ℕ} (σ : Equiv.Perm (Fin n)) |
| 24 | (y : Fin n → ℝ) : |
| 25 | (PermutationMatrixUnits.Construction.permutationMatrixUnit σ)⁻¹ * Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit y * PermutationMatrixUnits.Construction.permutationMatrixUnit σ = |
| 26 | Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (y ∘ σ.symm) := by |
| 27 | apply Units.ext |
| 28 | exact PermutationMatrixUnits.Construction.permutationMatrixUnit_conjugate_diagonal σ (fun i => Real.exp (y i)) |
| 29 | |
| 30 | theorem permutation_diagonal_factorization {n : ℕ} (σ : Equiv.Perm (Fin n)) |
| 31 | (u v : (Matrix (Fin n) (Fin n) ℝ)ˣ) |
| 32 | (hu : ∀ i j, ¬(i < j ∧ σ j < σ i) → (u.val - 1) i j = 0) |
| 33 | (x y : Fin n → ℝ) (hy : Monotone y) (hyσ : Monotone (y ∘ σ.symm)) : |
| 34 | Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit x * (u * v) * PermutationMatrixUnits.Construction.permutationMatrixUnit σ = |
| 35 | (Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (x - y) * u * PermutationMatrixUnits.Construction.permutationMatrixUnit σ) * |
| 36 | Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (y ∘ σ.symm) * |
| 37 | ((PermutationMatrixUnits.Construction.permutationMatrixUnit σ)⁻¹ * v * PermutationMatrixUnits.Construction.permutationMatrixUnit σ) := by |
| 38 | have hua : u * Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit y = Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit y * u := by |
| 39 | apply Units.ext |
| 40 | exact (QRGramIntertwining.Construction.commute_diagonal_function u.val y |
| 41 | (PermutationFactorCentralizer.Construction.inversion_supported_matrix_commutes_diagonal σ u.val hu y hy hyσ) Real.exp).eq |
| 42 | have hx : Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit x = |
| 43 | Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (x - y) * Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit y := by |
| 44 | rw [← exponentialDiagonalMatrixUnit_add, sub_add_cancel] |
| 45 | rw [← exponentialDiagonalMatrixUnit_permutation, hx] |
| 46 | calc |
| 47 | Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (x - y) * Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit y * (u * v) * |
| 48 | PermutationMatrixUnits.Construction.permutationMatrixUnit σ = |
| 49 | Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (x - y) * (Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit y * u) * v * |
| 50 | PermutationMatrixUnits.Construction.permutationMatrixUnit σ := by simp only [mul_assoc] |
| 51 | _ = _ := by rw [← hua]; group |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.ArithmeticGroups.Lattices.PermutationDiagonalFactorization.Construction |