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.BruhatSiegelCoordinates |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.PermutationApproximationQRBound |
| 3 | import OAI.NumberTheory.ArithmeticGroups.Lattices.QRCompactTriangularTranslations |
| 4 | |
| 5 | /-! # QR Matrix Reconstruction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.QRMatrixReconstruction.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Ambient translated Siegel comparison: for any fixed real |
| 14 | invertible matrix, an output chamber bound controls the output |
| 15 | unipotent coordinates uniformly. -/ |
| 16 | |
| 17 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 18 | |
| 19 | def translatedSiegelPoint {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 20 | (M : (Matrix (Fin m) (Fin m) ℝ)ˣ) (x : Fin m → ℝ) (n : UpperUnitriangularGroup.Construction.upperUnitriangularMatrixGroup m) : |
| 21 | (L →L[ℝ] L)ˣ := |
| 22 | (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis).symm (Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit x * n.val * M) |
| 23 | |
| 24 | theorem compact_upper_translated_siegel_comparison {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 25 | (M : (Matrix (Fin m) (Fin m) ℝ)ˣ) |
| 26 | (C : Set (UpperUnitriangularGroup.Construction.upperUnitriangularMatrixGroup m)) (hC : IsCompact C) |
| 27 | (t s : ℝ) (ht : 0 ≤ t) : |
| 28 | ∃ c : ℝ, 0 ≤ c ∧ ∀ x : Fin m → ℝ, |
| 29 | (∀ i j, i.val + 1 = j.val → x i - x j ≤ t) → ∀ n ∈ C, |
| 30 | (∀ i j, i.val + 1 = j.val → |
| 31 | OperatorQRVal.Construction.operatorQRLogDiagonal b (translatedSiegelPoint b M x n) i - |
| 32 | OperatorQRVal.Construction.operatorQRLogDiagonal b (translatedSiegelPoint b M x n) j ≤ s) → |
| 33 | ∀ i j, |OperatorQRVal.Construction.operatorQRUnipotentMatrix b (translatedSiegelPoint b M x n) i j| ≤ c := by |
| 34 | let F := ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis |
| 35 | obtain ⟨S, V, z, σ, Φ, hS, hV, hΦ, hcoord⟩ := BruhatSiegelCoordinates.Construction.matrix_bruhat_siegel_coordinates M |
| 36 | let T := t + 2 * ‖z‖ |
| 37 | have hT : 0 ≤ T := add_nonneg ht (mul_nonneg (by norm_num) (norm_nonneg _)) |
| 38 | obtain ⟨c₀, _, hb⟩ := PermutationApproximationQRBound.Construction.compact_upper_permutation_siegel_comparison b σ (Φ '' C) (hC.image hΦ) T s hT |
| 39 | let D : Set (Matrix (Fin m) (Fin m) ℝ)ˣ := |
| 40 | {u | UpperUnitriangularMatrices.Construction.IsUpperUnitriangular u.val ∧ ∀ i j, |u.val i j| ≤ c₀} |
| 41 | have hD : IsCompact D := UpperUnitriangularMatrices.Construction.bounded_upper_unitriangular_isCompact m c₀ |
| 42 | obtain ⟨c, hc, hbound⟩ := Compact.TriangularConjugates.Construction.compact_matrix_unit_entries_bound ((fun u => u * V) '' D) |
| 43 | (hD.image (continuous_id.mul continuous_const)) |
| 44 | refine ⟨c, hc, fun x hx n hn hg i j => ?_⟩ |
| 45 | let g₀ := PermutationSiegelPoint.Construction.permutationSiegelPoint b σ (x + z) (Φ n) |
| 46 | have hS' : ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis (F.symm S).val ∈ Matrix.orthogonalGroup (Fin m) ℝ := by |
| 47 | change (F (F.symm S)).val ∈ _ |
| 48 | rw [F.apply_symm_apply] |
| 49 | exact hS |
| 50 | have hV' : UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis (F.symm V).val) := by |
| 51 | change UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (F (F.symm V)).val |
| 52 | rw [F.apply_symm_apply] |
| 53 | exact hV |
| 54 | have he : translatedSiegelPoint b M x n = F.symm S * g₀ * F.symm V := by |
| 55 | apply F.injective |
| 56 | change F (F.symm (Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit x * n.val * M)) = |
| 57 | F (F.symm S * F.symm (Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (x + z) * (Φ n).val * PermutationMatrixUnits.Construction.permutationMatrixUnit σ) * F.symm V) |
| 58 | simp only [map_mul, F.apply_symm_apply] |
| 59 | rw [hcoord] |
| 60 | simp only [mul_assoc] |
| 61 | have hqr := QRCompactTriangularTranslations.Construction.operatorQR_orthogonal_unipotent_coordinates b (F.symm S) g₀ (F.symm V) hS' hV' |
| 62 | have hlog : OperatorQRVal.Construction.operatorQRLogDiagonal b (translatedSiegelPoint b M x n) = OperatorQRVal.Construction.operatorQRLogDiagonal b g₀ := by |
| 63 | rw [he] |
| 64 | exact hqr.1 |
| 65 | have hx' : ∀ i j, i.val + 1 = j.val → (x + z) i - (x + z) j ≤ T := by |
| 66 | intro i j hij |
| 67 | have hh := hx i j hij |
| 68 | have hz := QRCompactTriangularTranslations.Construction.finite_tuple_difference_norm_bound z i j |
| 69 | change x i + z i - (x j + z j) ≤ t + 2 * ‖z‖ |
| 70 | linarith |
| 71 | have hg₀ : ∀ i j, i.val + 1 = j.val → |
| 72 | OperatorQRVal.Construction.operatorQRLogDiagonal b g₀ i - OperatorQRVal.Construction.operatorQRLogDiagonal b g₀ j ≤ s := by |
| 73 | intro i j hij |
| 74 | rw [← hlog] |
| 75 | exact hg i j hij |
| 76 | have hUb := hb (x + z) hx' (Φ n) ⟨n, hn, rfl⟩ hg₀ |
| 77 | have hUD : OperatorQRVal.Construction.operatorQRUnipotentUnit b g₀ ∈ D := by |
| 78 | change UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (OperatorQRVal.Construction.operatorQRUnipotentUnit b g₀).val ∧ _ |
| 79 | simp only [OperatorQRVal.Construction.operatorQRUnipotentUnit_val] |
| 80 | exact ⟨OperatorQRVal.Construction.operatorQRUnipotentMatrix_unitriangular b g₀, hUb⟩ |
| 81 | have hU : OperatorQRVal.Construction.operatorQRUnipotentUnit b (translatedSiegelPoint b M x n) = OperatorQRVal.Construction.operatorQRUnipotentUnit b g₀ * V := by |
| 82 | rw [he, hqr.2] |
| 83 | change OperatorQRVal.Construction.operatorQRUnipotentUnit b g₀ * F (F.symm V) = _ |
| 84 | rw [F.apply_symm_apply] |
| 85 | have hmem : OperatorQRVal.Construction.operatorQRUnipotentUnit b (translatedSiegelPoint b M x n) ∈ (fun u => u * V) '' D := |
| 86 | ⟨OperatorQRVal.Construction.operatorQRUnipotentUnit b g₀, hUD, hU.symm⟩ |
| 87 | simpa only [OperatorQRVal.Construction.operatorQRUnipotentUnit_val] using hbound _ hmem i j |
| 88 | |
| 89 | end |
| 90 | |
| 91 | /-! Reconstructing an arbitrary operator from its ambient QR |
| 92 | coordinates, also after right multiplication by a fixed operator. -/ |
| 93 | |
| 94 | variable {L : Type*} [NormedAddCommGroup L] [InnerProductSpace ℝ L] [FiniteDimensional ℝ L] |
| 95 | |
| 96 | def operatorQRUpperElement {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) (g : (L →L[ℝ] L)ˣ) : |
| 97 | UpperUnitriangularGroup.Construction.upperUnitriangularMatrixGroup m := |
| 98 | ⟨OperatorQRVal.Construction.operatorQRUnipotentUnit b g, by |
| 99 | change UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (OperatorQRVal.Construction.operatorQRUnipotentUnit b g).val |
| 100 | rw [OperatorQRVal.Construction.operatorQRUnipotentUnit_val] |
| 101 | exact OperatorQRVal.Construction.operatorQRUnipotentMatrix_unitriangular b g⟩ |
| 102 | |
| 103 | theorem operatorQR_translated_reconstruction {m : ℕ} (b : OrthonormalBasis (Fin m) ℝ L) |
| 104 | (g x : (L →L[ℝ] L)ˣ) : |
| 105 | ∃ k : (L →L[ℝ] L)ˣ, |
| 106 | ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis k.val ∈ Matrix.orthogonalGroup (Fin m) ℝ ∧ |
| 107 | g * x = k * translatedSiegelPoint b (ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis x) |
| 108 | (OperatorQRVal.Construction.operatorQRLogDiagonal b g) (operatorQRUpperElement b g) := by |
| 109 | let F := ContinuousEndMatrixEquiv.Construction.continuousEndMatrixUnitsEquiv b.toBasis |
| 110 | let K := OrthogonalOperatorMatrices.Construction.orthogonalMatrixUnit (OperatorQRVal.Construction.operatorQRCompactMatrix b g) (OperatorQRVal.Construction.operatorQRCompactMatrix_orthogonal b g) |
| 111 | let k := F.symm K |
| 112 | have hFk : F k = K := F.apply_symm_apply _ |
| 113 | have hk : ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis k.val ∈ Matrix.orthogonalGroup (Fin m) ℝ := by |
| 114 | change (F k).val ∈ _ |
| 115 | rw [F.apply_symm_apply] |
| 116 | exact OperatorQRVal.Construction.operatorQRCompactMatrix_orthogonal b g |
| 117 | refine ⟨k, hk, ?_⟩ |
| 118 | apply F.injective |
| 119 | change F (g * x) = F (k * F.symm |
| 120 | (Compact.ExponentialDiagonals.Construction.exponentialDiagonalMatrixUnit (OperatorQRVal.Construction.operatorQRLogDiagonal b g) * (operatorQRUpperElement b g).val * F x)) |
| 121 | simp only [map_mul, F.apply_symm_apply, hFk] |
| 122 | apply Units.ext |
| 123 | change ContinuousOperatorExponentialDeterminant.Construction.continuousEndMatrix b.toBasis g.val * (F x).val = |
| 124 | OperatorQRVal.Construction.operatorQRCompactMatrix b g * |
| 125 | (Matrix.diagonal (fun i => Real.exp (OperatorQRVal.Construction.operatorQRLogDiagonal b g i)) * |
| 126 | (OperatorQRVal.Construction.operatorQRUnipotentUnit b g).val * (F x).val) |
| 127 | have he : (fun i => Real.exp (OperatorQRVal.Construction.operatorQRLogDiagonal b g i)) = OperatorQRBasis.Construction.operatorQRDiagonal b g := by |
| 128 | funext i |
| 129 | exact Real.exp_log (OperatorQRBasis.Construction.operatorQRDiagonal_pos b g i) |
| 130 | rw [he, OperatorQRVal.Construction.operatorQRUnipotentUnit_val, OperatorQRVal.Construction.operatorQR_kan_factorization b g] |
| 131 | simp only [mul_assoc] |
| 132 | |
| 133 | end |
| 134 | |
| 135 | end OAI.NumberTheory.ArithmeticGroups.Lattices.QRMatrixReconstruction.Construction |