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.UpperDiagonalConjugation |
| 2 | |
| 3 | /-! # Triangular Conjugates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.TriangularConjugates.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compact upper-unitriangular families have compact containers for |
| 10 | all diagonal conjugates with uniformly bounded coordinate ratios. -/ |
| 11 | |
| 12 | open Set _root_.Matrix |
| 13 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 14 | |
| 15 | theorem compact_matrix_unit_entries_bound {n : ℕ} |
| 16 | (C : Set (Matrix (Fin n) (Fin n) ℝ)ˣ) (hC : IsCompact C) : |
| 17 | ∃ c : ℝ, 0 ≤ c ∧ ∀ g ∈ C, ∀ i j, |g.val i j| ≤ c := by |
| 18 | have hv : Continuous (fun g : (Matrix (Fin n) (Fin n) ℝ)ˣ => g.val) := Units.continuous_val |
| 19 | have hc : Continuous (fun g : (Matrix (Fin n) (Fin n) ℝ)ˣ => ‖g.val‖) := |
| 20 | continuous_norm.comp hv |
| 21 | obtain ⟨c, hc⟩ := hC.bddAbove_image hc.continuousOn |
| 22 | refine ⟨max 0 c, le_max_left _ _, fun g hg i j => ?_⟩ |
| 23 | exact ((norm_le_pi_norm (g.val i) j).trans (norm_le_pi_norm g.val i)).trans |
| 24 | ((hc ⟨g, hg, rfl⟩).trans (le_max_right _ _)) |
| 25 | |
| 26 | theorem diagonal_matrix_unit_inverse {n : ℕ} (a : (Matrix (Fin n) (Fin n) ℝ)ˣ) |
| 27 | (d : Fin n → ℝ) (hd : ∀ i, d i ≠ 0) (ha : a.val = diagonal d) : |
| 28 | (a⁻¹).val = diagonal (fun i => (d i)⁻¹) := by |
| 29 | have he : a.val * diagonal (fun i => (d i)⁻¹) = 1 := by |
| 30 | rw [ha, Matrix.diagonal_mul_diagonal] |
| 31 | simp only [mul_inv_cancel₀ (hd _), Matrix.diagonal_one] |
| 32 | apply (a.isUnit.mul_right_injective) |
| 33 | exact a.val_inv.trans he.symm |
| 34 | |
| 35 | theorem compact_upper_diagonal_conjugates {n : ℕ} |
| 36 | (C : Set (Matrix (Fin n) (Fin n) ℝ)ˣ) (hC : IsCompact C) |
| 37 | (htri : ∀ u ∈ C, UpperUnitriangularMatrices.Construction.IsUpperUnitriangular u.val) (R : ℝ) (hR : 0 ≤ R) : |
| 38 | ∃ D : Set (Matrix (Fin n) (Fin n) ℝ)ˣ, IsCompact D ∧ |
| 39 | ∀ (d : Fin n → ℝ), (∀ i, 0 < d i) → |
| 40 | (∀ i j, i ≤ j → d i / d j ≤ R) → |
| 41 | ∀ a : (Matrix (Fin n) (Fin n) ℝ)ˣ, a.val = diagonal d → |
| 42 | ∀ u ∈ C, a * u * a⁻¹ ∈ D := by |
| 43 | obtain ⟨c, hc, hbound⟩ := compact_matrix_unit_entries_bound C hC |
| 44 | refine ⟨{g | UpperUnitriangularMatrices.Construction.IsUpperUnitriangular g.val ∧ ∀ i j, |g.val i j| ≤ R * c}, |
| 45 | UpperUnitriangularMatrices.Construction.bounded_upper_unitriangular_isCompact n (R * c), fun d hd hratio a ha u hu => ?_⟩ |
| 46 | change UpperUnitriangularMatrices.Construction.IsUpperUnitriangular (a.val * u.val * (a⁻¹).val) ∧ |
| 47 | ∀ i j, |(a.val * u.val * (a⁻¹).val) i j| ≤ R * c |
| 48 | rw [diagonal_matrix_unit_inverse a d (fun i => (hd i).ne') ha, ha] |
| 49 | exact ⟨(htri u hu).diagonal_conjugation d (fun i => (hd i).ne'), |
| 50 | UpperDiagonalConjugation.Construction.diagonal_conjugation_entry_bound d hd u.val (htri u hu).1 c R hc hR (hbound u hu) hratio⟩ |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Compact.TriangularConjugates.Construction |