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.OperatorQRVal |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.OperatorQRDiagonalTranslation |
| 4 | import OAI.NumberTheory.ArithmeticGroups.Lattices.OperatorQROrthogonalTranslation |
| 5 | import OAI.NumberTheory.ArithmeticGroups.Lattices.OperatorQRUnipotentTranslation |
| 6 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.TriangularConjugates |
| 7 | |
| 8 | /-! # QR Positive Unit -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.QRPositiveUnit.Construction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! The positive diagonal QR coordinate as a continuous matrix unit. -/ |
| 17 | |
| 18 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 19 | |
| 20 | def operatorQRPositiveDiagonalUnit {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 21 | (g : (L →L[ℝ] L)ˣ) : (Matrix (Fin m) (Fin m) ℝ)ˣ := |
| 22 | Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (OperatorQRVal.Construction.operatorQRLogDiagonal b g) |
| 23 | |
| 24 | omit [FiniteDimensional ℝ L] in |
| 25 | theorem operatorQRPositiveDiagonalUnit_val {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 26 | (g : (L →L[ℝ] L)ˣ) : (operatorQRPositiveDiagonalUnit b g).val = Matrix.diagonal (OperatorQRBasis.Construction.operatorQRDiagonal b g) := by |
| 27 | change Matrix.diagonal (fun i => Real.exp (Real.log (OperatorQRBasis.Construction.operatorQRDiagonal b g i))) = _ |
| 28 | congr 1 |
| 29 | funext i |
| 30 | exact Real.exp_log (OperatorQRBasis.Construction.operatorQRDiagonal_pos b g i) |
| 31 | |
| 32 | omit [FiniteDimensional ℝ L] in |
| 33 | theorem operatorQRPositiveDiagonalUnit_continuous {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) : |
| 34 | Continuous (operatorQRPositiveDiagonalUnit b) := |
| 35 | (Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit_continuous m).comp (OperatorQRVal.Construction.operatorQRLogDiagonal_continuous b) |
| 36 | |
| 37 | theorem operatorQRPositiveDiagonalUnit_right_diagonal {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 38 | (g a : (L →L[ℝ] L)ˣ) (d : Fin m → ℝ) (hd : ∀ i, 0 < d i) |
| 39 | (ha : ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis a.val = Matrix.diagonal d) : |
| 40 | operatorQRPositiveDiagonalUnit b (g * a) = |
| 41 | operatorQRPositiveDiagonalUnit b g * ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis a := by |
| 42 | apply Units.ext |
| 43 | change (operatorQRPositiveDiagonalUnit b (g * a)).val = |
| 44 | (operatorQRPositiveDiagonalUnit b g).val * ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis a.val |
| 45 | rw [operatorQRPositiveDiagonalUnit_val, operatorQRPositiveDiagonalUnit_val, ha, |
| 46 | (OperatorQRDiagonalTranslation.Construction.operatorQR_right_diagonal b g a d hd ha).2.1, Matrix.diagonal_mul_diagonal] |
| 47 | |
| 48 | theorem operatorQRPositiveDiagonalUnit_right_unipotent {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 49 | (g n : (L →L[ℝ] L)ˣ) (hn : UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis n.val)) : |
| 50 | operatorQRPositiveDiagonalUnit b (g * n) = operatorQRPositiveDiagonalUnit b g := by |
| 51 | apply Units.ext |
| 52 | rw [operatorQRPositiveDiagonalUnit_val, operatorQRPositiveDiagonalUnit_val, |
| 53 | (OperatorQRUnipotentTranslation.Construction.operatorQR_right_unipotent b g n hn).2.1] |
| 54 | |
| 55 | theorem operatorQRPositiveDiagonalUnit_left_orthogonal {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 56 | (k g : (L →L[ℝ] L)ˣ) (hk : ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis k.val ∈ Matrix.orthogonalGroup (Fin m) ℝ) : |
| 57 | operatorQRPositiveDiagonalUnit b (k * g) = operatorQRPositiveDiagonalUnit b g := by |
| 58 | apply Units.ext |
| 59 | rw [operatorQRPositiveDiagonalUnit_val, operatorQRPositiveDiagonalUnit_val, |
| 60 | (OperatorQROrthogonalTranslation.Construction.operatorQR_left_orthogonal b k g hk).2.1] |
| 61 | |
| 62 | end |
| 63 | |
| 64 | section |
| 65 | |
| 66 | /-! Translation identities for the unipotent QR coordinate in the |
| 67 | matrix unit group. -/ |
| 68 | |
| 69 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 70 | |
| 71 | theorem operatorQRUnipotentUnit_right_diagonal {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 72 | (g a : (L →L[ℝ] L)ˣ) (d : Fin m → ℝ) (hd : ∀ i, 0 < d i) |
| 73 | (ha : ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis a.val = Matrix.diagonal d) : |
| 74 | OperatorQRVal.Construction.operatorQRUnipotentUnit b (g * a) = (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis a)⁻¹ * |
| 75 | OperatorQRVal.Construction.operatorQRUnipotentUnit b g * ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis a := by |
| 76 | apply Units.ext |
| 77 | change (OperatorQRVal.Construction.operatorQRUnipotentUnit b (g * a)).val = |
| 78 | ((ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis a)⁻¹).val * (OperatorQRVal.Construction.operatorQRUnipotentUnit b g).val * |
| 79 | ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis a.val |
| 80 | rw [OperatorQRVal.Construction.operatorQRUnipotentUnit_val, OperatorQRVal.Construction.operatorQRUnipotentUnit_val, |
| 81 | Compact.TriangularConjugates.Construction.diagonal_matrix_unit_inverse (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis a) d (fun i => ne_of_gt (hd i)) ha, |
| 82 | ha, (OperatorQRDiagonalTranslation.Construction.operatorQR_right_diagonal b g a d hd ha).2.2] |
| 83 | |
| 84 | theorem operatorQRUnipotentUnit_right_unipotent {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 85 | (g n : (L →L[ℝ] L)ˣ) (hn : UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis n.val)) : |
| 86 | OperatorQRVal.Construction.operatorQRUnipotentUnit b (g * n) = OperatorQRVal.Construction.operatorQRUnipotentUnit b g * ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis n := by |
| 87 | apply Units.ext |
| 88 | change (OperatorQRVal.Construction.operatorQRUnipotentUnit b (g * n)).val = |
| 89 | (OperatorQRVal.Construction.operatorQRUnipotentUnit b g).val * ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis n.val |
| 90 | rw [OperatorQRVal.Construction.operatorQRUnipotentUnit_val, OperatorQRVal.Construction.operatorQRUnipotentUnit_val, (OperatorQRUnipotentTranslation.Construction.operatorQR_right_unipotent b g n hn).2.2] |
| 91 | |
| 92 | theorem operatorQRUnipotentUnit_left_orthogonal {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 93 | (k g : (L →L[ℝ] L)ˣ) (hk : ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis k.val ∈ Matrix.orthogonalGroup (Fin m) ℝ) : |
| 94 | OperatorQRVal.Construction.operatorQRUnipotentUnit b (k * g) = OperatorQRVal.Construction.operatorQRUnipotentUnit b g := by |
| 95 | apply Units.ext |
| 96 | rw [OperatorQRVal.Construction.operatorQRUnipotentUnit_val, OperatorQRVal.Construction.operatorQRUnipotentUnit_val, (OperatorQROrthogonalTranslation.Construction.operatorQR_left_orthogonal b k g hk).2.2] |
| 97 | |
| 98 | end |
| 99 | |
| 100 | /-! Cancellation of the unbounded diagonal in the normalized mixed |
| 101 | QR unipotent product, with a compactness consequence. -/ |
| 102 | |
| 103 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 104 | |
| 105 | theorem operatorQR_normalized_mixed_product {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 106 | (q a v : (L →L[ℝ] L)ˣ) (d : Fin m → ℝ) (hd : ∀ i, 0 < d i) |
| 107 | (ha : ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis a.val = Matrix.diagonal d) |
| 108 | (hv : UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis v.val)) : |
| 109 | operatorQRPositiveDiagonalUnit b (q * a * v) * OperatorQRVal.Construction.operatorQRUnipotentUnit b (q * a * v) * |
| 110 | (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis v)⁻¹ * (operatorQRPositiveDiagonalUnit b (q * a * v))⁻¹ = |
| 111 | operatorQRPositiveDiagonalUnit b q * OperatorQRVal.Construction.operatorQRUnipotentUnit b q * (operatorQRPositiveDiagonalUnit b q)⁻¹ := by |
| 112 | rw [operatorQRPositiveDiagonalUnit_right_unipotent b (q * a) v hv, |
| 113 | operatorQRUnipotentUnit_right_unipotent b (q * a) v hv, |
| 114 | operatorQRPositiveDiagonalUnit_right_diagonal b q a d hd ha, |
| 115 | operatorQRUnipotentUnit_right_diagonal b q a d hd ha] |
| 116 | group |
| 117 | |
| 118 | theorem compact_operatorQR_normalized_mixed_products {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 119 | (Q : Set (L →L[ℝ] L)ˣ) (hQ : IsCompact Q) : |
| 120 | ∃ D : Set (Matrix (Fin m) (Fin m) ℝ)ˣ, IsCompact D ∧ |
| 121 | ∀ q ∈ Q, ∀ a v : (L →L[ℝ] L)ˣ, ∀ d : Fin m → ℝ, |
| 122 | (∀ i, 0 < d i) → ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis a.val = Matrix.diagonal d → |
| 123 | UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis v.val) → |
| 124 | operatorQRPositiveDiagonalUnit b (q * a * v) * OperatorQRVal.Construction.operatorQRUnipotentUnit b (q * a * v) * |
| 125 | (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis v)⁻¹ * (operatorQRPositiveDiagonalUnit b (q * a * v))⁻¹ ∈ D := by |
| 126 | let f := fun q => operatorQRPositiveDiagonalUnit b q * OperatorQRVal.Construction.operatorQRUnipotentUnit b q * |
| 127 | (operatorQRPositiveDiagonalUnit b q)⁻¹ |
| 128 | have hf : Continuous f := ((operatorQRPositiveDiagonalUnit_continuous b).mul |
| 129 | (OperatorQRVal.Construction.operatorQRUnipotentUnit_continuous b)).mul (operatorQRPositiveDiagonalUnit_continuous b).inv |
| 130 | refine ⟨f '' Q, hQ.image hf, fun q hq a v d hd ha hv => ?_⟩ |
| 131 | rw [operatorQR_normalized_mixed_product b q a v d hd ha hv] |
| 132 | exact ⟨q, hq, rfl⟩ |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.NumberTheory.ArithmeticGroups.Lattices.QRPositiveUnit.Construction |