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.ContinuousEndMatrixEquiv |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Positive.DerivationNilpotence |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Weight.BlockProjection |
| 4 | |
| 5 | /-! # Operator Weight Matrix -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.OperatorWeightMatrix.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Matrix coordinates for weight-raising and weight-preserving |
| 12 | operators in an orthonormal eigenbasis. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix.Norms.Operator |
| 15 | open _root_.ContinuousLinearMap |
| 16 | |
| 17 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] |
| 18 | |
| 19 | theorem continuousEndMatrix_orthonormal_apply {m : ℕ} |
| 20 | (b : OrthonormalBasis (Fin m) ℝ L) (A : L →L[ℝ] L) (i j : Fin m) : |
| 21 | ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis A i j = b.repr (A (b j)) i := by |
| 22 | change LinearMap.toMatrix b.toBasis b.toBasis A.toLinearMap i j = _ |
| 23 | rw [LinearMap.toMatrix_apply] |
| 24 | convert! OrthonormalBasis.coe_toBasis_repr_apply b (A (b j)) i using 1 |
| 25 | |
| 26 | theorem weightRaising_matrix_iff {m : ℕ} |
| 27 | (b : OrthonormalBasis (Fin m) ℝ L) (w : Fin m → ℝ) (A : L →L[ℝ] L) : |
| 28 | A ∈ Positive.DerivationNilpotence.Construction.weightRaisingOperators b w ↔ ∀ i j, w i ≤ w j → ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis A i j = 0 := by |
| 29 | simp only [continuousEndMatrix_orthonormal_apply] |
| 30 | rfl |
| 31 | |
| 32 | theorem commuting_operator_weight_matrix {m : ℕ} |
| 33 | (b : OrthonormalBasis (Fin m) ℝ L) (w : Fin m → ℝ) |
| 34 | (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) (heig : ∀ i, H (b i) = w i • b i) |
| 35 | (A : L →L[ℝ] L) (hHA : Commute H A) (i j : Fin m) (hij : w i ≠ w j) : |
| 36 | ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis A i j = 0 := by |
| 37 | have he := Positive.DerivationNilpotence.Construction.commutator_eigen_coordinate b H hH w heig A i j |
| 38 | rw [sub_eq_zero.mpr hHA.eq] at he |
| 39 | have hz : (w i - w j) * b.repr (A (b j)) i = 0 := by |
| 40 | simpa only [zero_apply, map_zero, PiLp.zero_apply] using he.symm |
| 41 | rw [continuousEndMatrix_orthonormal_apply] |
| 42 | exact (mul_eq_zero.mp hz).resolve_left (sub_ne_zero.mpr hij) |
| 43 | |
| 44 | theorem commuting_operator_weightBlockProjection {m : ℕ} |
| 45 | (b : OrthonormalBasis (Fin m) ℝ L) (w : Fin m → ℝ) |
| 46 | (H : L →L[ℝ] L) (hH : H.toLinearMap.IsSymmetric) (heig : ∀ i, H (b i) = w i • b i) |
| 47 | (A : L →L[ℝ] L) (hHA : Commute H A) : |
| 48 | Weight.BlockProjection.Construction.weightBlockProjection w (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis A) = ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis A := by |
| 49 | ext i j |
| 50 | rw [Weight.BlockProjection.Construction.weightBlockProjection_apply] |
| 51 | by_cases hij : w i = w j |
| 52 | · rw [ite_eq_left hij] |
| 53 | · rw [ite_eq_right hij, commuting_operator_weight_matrix b w H hH heig A hHA i j hij] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.ArithmeticGroups.Lattices.OperatorWeightMatrix.Construction |