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.Weight.RaisingExponential |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.OperatorWeightMatrix |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.ContinuousEndMatrixEquiv |
| 4 | |
| 5 | /-! # Transitive Matrix Support -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.TransitiveMatrixSupport.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transitive matrix support patterns are multiplicatively closed |
| 12 | and are preserved by the exponential after subtracting the identity. -/ |
| 13 | |
| 14 | open NormedSpace |
| 15 | |
| 16 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 17 | |
| 18 | def operatorSupportSubmodule {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 19 | (r : Fin m → Fin m → Prop) : Submodule ℝ (L →L[ℝ] L) where |
| 20 | carrier := {X | ∀ i j, ¬r i j → ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis X i j = 0} |
| 21 | zero_mem' := by intro i j _; simp |
| 22 | add_mem' hX hY := by intro i j h; simp [map_add, hX i j h, hY i j h] |
| 23 | smul_mem' c X hX := by intro i j h; simp [hX i j h] |
| 24 | |
| 25 | omit [FiniteDimensional ℝ L] in |
| 26 | theorem operatorSupportSubmodule_mul {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 27 | (r : Fin m → Fin m → Prop) (hr : ∀ ⦃i j k⦄, r i j → r j k → r i k) |
| 28 | (X Y : L →L[ℝ] L) (hX : X ∈ operatorSupportSubmodule b r) |
| 29 | (hY : Y ∈ operatorSupportSubmodule b r) : X * Y ∈ operatorSupportSubmodule b r := by |
| 30 | intro i j hij |
| 31 | rw [map_mul, Matrix.mul_apply] |
| 32 | apply Finset.sum_eq_zero |
| 33 | intro k _ |
| 34 | by_cases hik : r i k |
| 35 | · have hkj : ¬r k j := fun h => hij (hr hik h) |
| 36 | rw [hY k j hkj, mul_zero] |
| 37 | · rw [hX i k hik, zero_mul] |
| 38 | |
| 39 | theorem operatorSupportSubmodule_exp_sub_one {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 40 | (r : Fin m → Fin m → Prop) (hr : ∀ ⦃i j k⦄, r i j → r j k → r i k) |
| 41 | (X : L →L[ℝ] L) (hX : X ∈ operatorSupportSubmodule b r) : |
| 42 | exp X - 1 ∈ operatorSupportSubmodule b r := by |
| 43 | let : CompleteSpace L := FiniteDimensional.complete ℝ L |
| 44 | exact Weight.RaisingExponential.Construction.exp_sub_one_mem_closed_multiplicative_submodule (operatorSupportSubmodule b r) |
| 45 | (operatorSupportSubmodule b r).closed_of_finiteDimensional |
| 46 | (fun X hX Y hY => operatorSupportSubmodule_mul b r hr X Y hX hY) X hX |
| 47 | |
| 48 | omit [FiniteDimensional ℝ L] in |
| 49 | theorem operatorSupportSubmodule_commutes_diagonal {m : ℕ} |
| 50 | (b : OrthonormalBasis (Fin m) ℝ L) (r : Fin m → Fin m → Prop) |
| 51 | (X : L →L[ℝ] L) (hX : X ∈ operatorSupportSubmodule b r) |
| 52 | (a : Fin m → ℝ) (ha : ∀ i j, r i j → a i = a j) : |
| 53 | Commute (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis X) (Matrix.diagonal a) := by |
| 54 | change ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis X * Matrix.diagonal a = |
| 55 | Matrix.diagonal a * ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis X |
| 56 | ext i j |
| 57 | rw [Matrix.mul_diagonal, Matrix.diagonal_mul] |
| 58 | by_cases hij : r i j |
| 59 | · rw [ha i j hij, mul_comm] |
| 60 | · rw [hX i j hij, zero_mul, mul_zero] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.ArithmeticGroups.Lattices.TransitiveMatrixSupport.Construction |