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.VolumeMatrixOperatorLift |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Ambient.OperatorSiegelData |
| 3 | import Mathlib.LinearAlgebra.UnitaryGroup |
| 4 | |
| 5 | /-! # Orthogonal Operator Matrices -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.OrthogonalOperatorMatrices.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Orthogonal matrices lift to the compact orthogonal factor of the |
| 14 | volume-preserving operator group. -/ |
| 15 | |
| 16 | open _root_.ContinuousLinearMap |
| 17 | open scoped Classical |
| 18 | |
| 19 | def orthogonalMatrixUnit {m : ℕ} (K : Matrix (Fin m) (Fin m) ℝ) |
| 20 | (hK : K ∈ Matrix.orthogonalGroup (Fin m) ℝ) : (Matrix (Fin m) (Fin m) ℝ)ˣ where |
| 21 | val := K |
| 22 | inv := K.transpose |
| 23 | val_inv := (Matrix.mem_orthogonalGroup_iff (Fin m) ℝ).mp hK |
| 24 | inv_val := (Matrix.mem_orthogonalGroup_iff' (Fin m) ℝ).mp hK |
| 25 | |
| 26 | theorem orthogonal_matrix_abs_det {m : ℕ} (K : Matrix (Fin m) (Fin m) ℝ) |
| 27 | (hK : K ∈ Matrix.orthogonalGroup (Fin m) ℝ) : |K.det| = 1 := by |
| 28 | have he := congrArg Matrix.det ((Matrix.mem_orthogonalGroup_iff (Fin m) ℝ).mp hK) |
| 29 | rw [Matrix.det_mul, Matrix.det_transpose, Matrix.det_one] at he |
| 30 | nlinarith [sq_abs K.det, abs_nonneg K.det] |
| 31 | |
| 32 | theorem volume_operator_of_orthogonal_matrix |
| 33 | {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 34 | {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) (g : VolumePreservingOperatorUnits.Construction.volumePreservingOperatorUnits (L := L)) |
| 35 | (hg : (VolumeMatrixOperatorLift.Construction.volumeOperatorMatrixHom b g).val ∈ Matrix.orthogonalGroup (Fin m) ℝ) : |
| 36 | g ∈ Ambient.OperatorSiegelData.Construction.ambientSiegelCompact := by |
| 37 | let : CompleteSpace L := FiniteDimensional.complete ℝ L |
| 38 | let T := g.val.val |
| 39 | have he : adjoint T * T = 1 := by |
| 40 | apply (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixAlgEquiv b.toBasis).injective |
| 41 | change ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis (adjoint T * T) = ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis 1 |
| 42 | rw [map_mul, map_one] |
| 43 | have hadj : ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis (adjoint T) = (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis T).transpose := by |
| 44 | ext i j |
| 45 | exact OrthogonalFilteredProjection.Construction.continuousEndMatrix_adjoint_entry b T i j |
| 46 | rw [hadj] |
| 47 | exact (Matrix.mem_orthogonalGroup_iff' (Fin m) ℝ).mp hg |
| 48 | constructor |
| 49 | · intro x y |
| 50 | simp only [zero_apply, map_zero] |
| 51 | · intro x y |
| 52 | change inner ℝ (T x) (T y) = inner ℝ x y |
| 53 | rw [← adjoint_inner_left] |
| 54 | have hx := DFunLike.congr_fun he x |
| 55 | change adjoint T (T x) = x at hx |
| 56 | rw [hx] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-! In orthonormal coordinates, an orthogonal bracket operator has |
| 61 | an orthogonal matrix. -/ |
| 62 | |
| 63 | open _root_.ContinuousLinearMap |
| 64 | |
| 65 | theorem orthogonalBracketUnit_matrix |
| 66 | {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 67 | {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 68 | (B : L →L[ℝ] L →L[ℝ] L) (g : (L →L[ℝ] L)ˣ) |
| 69 | (hg : g ∈ OrthogonalBracketUnitCompactness.Construction.orthogonalBracketUnitGroup B) : |
| 70 | ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis g.val ∈ Matrix.orthogonalGroup (Fin m) ℝ := by |
| 71 | let : CompleteSpace L := FiniteDimensional.complete ℝ L |
| 72 | have ht : (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis g.val).transpose = |
| 73 | ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis (g⁻¹).val := by |
| 74 | rw [← OrthogonalBracketUnitCompactness.Construction.orthogonalBracketUnit_adjoint_eq_inv B g hg] |
| 75 | ext i j |
| 76 | exact (OrthogonalFilteredProjection.Construction.continuousEndMatrix_adjoint_entry b g.val i j).symm |
| 77 | apply (Matrix.mem_orthogonalGroup_iff (Fin m) ℝ).mpr |
| 78 | rw [ht, ← map_mul] |
| 79 | have hi : g.val * (g⁻¹).val = 1 := g.val_inv |
| 80 | rw [hi, map_one] |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.ArithmeticGroups.Lattices.OrthogonalOperatorMatrices.Construction |