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.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 2 | |
| 3 | /-! # Compact Standard Unitary -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Adelic.CompactStandardUnitary |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compactness of the standard positive-definite special-unitary group |
| 10 | in its actual matrix-unit topology. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix.Norms.Elementwise |
| 13 | |
| 14 | open _root_.Matrix OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 15 | |
| 16 | variable {I : Type*} [Fintype I] [DecidableEq I] |
| 17 | |
| 18 | theorem unitary_entry_norm_le_one (M : Matrix I I ℂ) (hM : M.conjTranspose * M = 1) (i j : I) : |
| 19 | ‖M i j‖ ≤ 1 := by |
| 20 | have he := congrArg (fun A : Matrix I I ℂ => (A j j).re) hM |
| 21 | have hs : ∑ k, Complex.normSq (M k j) = 1 := by |
| 22 | simpa [Matrix.mul_apply, Matrix.conjTranspose_apply, Complex.normSq_apply, Complex.mul_re] using he |
| 23 | have hi := Finset.single_le_sum (fun k (_ : k ∈ Finset.univ) => Complex.normSq_nonneg (M k j)) |
| 24 | (Finset.mem_univ i) |
| 25 | rw [hs, Complex.normSq_eq_norm_sq] at hi |
| 26 | nlinarith [norm_nonneg (M i j)] |
| 27 | |
| 28 | def standardUnitaryMatrices : Set (Matrix I I ℂ) := |
| 29 | {M | M.conjTranspose * M = 1 ∧ M.det = 1} |
| 30 | |
| 31 | theorem standardUnitaryMatrices_compact : IsCompact (standardUnitaryMatrices (I := I)) := by |
| 32 | let : ProperSpace (Matrix I I ℂ) := inferInstanceAs (ProperSpace (I → I → ℂ)) |
| 33 | apply Metric.isCompact_iff_isClosed_bounded.mpr |
| 34 | constructor |
| 35 | · exact (isClosed_eq (by fun_prop) continuous_const).inter |
| 36 | (isClosed_eq (by fun_prop) continuous_const) |
| 37 | · apply isBounded_iff_forall_norm_le.mpr |
| 38 | refine ⟨1, ?_⟩ |
| 39 | intro M hM |
| 40 | apply (pi_norm_le_iff_of_nonneg zero_le_one).mpr |
| 41 | intro i |
| 42 | apply (pi_norm_le_iff_of_nonneg zero_le_one).mpr |
| 43 | intro j |
| 44 | exact unitary_entry_norm_le_one M hM.1 i j |
| 45 | |
| 46 | def standardUnitaryOfMatrix (M : standardUnitaryMatrices (I := I)) : SpecialUnitary.SU (1 : Matrix I I ℂ) := |
| 47 | ⟨Matrix.SpecialLinearGroup.toGL ⟨M.val, M.property.2⟩, |
| 48 | by |
| 49 | change M.val.conjTranspose * 1 * M.val = 1 |
| 50 | simpa only [mul_one] using M.property.1, |
| 51 | Matrix.SpecialLinearGroup.coeToGL_det ⟨M.val, M.property.2⟩⟩ |
| 52 | |
| 53 | theorem standardUnitaryOfMatrix_inverse (M : standardUnitaryMatrices (I := I)) : |
| 54 | ((standardUnitaryOfMatrix M).val⁻¹).val = M.val.conjTranspose := by |
| 55 | exact (left_inv_eq_right_inv M.property.1 (standardUnitaryOfMatrix M).val.val_inv).symm |
| 56 | |
| 57 | theorem standardUnitaryOfMatrix_continuous : Continuous (standardUnitaryOfMatrix (I := I)) := by |
| 58 | apply Continuous.subtype_mk |
| 59 | apply Units.continuous_iff.mpr |
| 60 | constructor |
| 61 | · exact continuous_subtype_val |
| 62 | · exact (show Continuous (fun M : standardUnitaryMatrices (I := I) => M.val.conjTranspose) |
| 63 | by fun_prop).congr (fun M => (standardUnitaryOfMatrix_inverse M).symm) |
| 64 | |
| 65 | theorem standardUnitary_compact : CompactSpace (SpecialUnitary.SU (1 : Matrix I I ℂ)) := by |
| 66 | have hs : Function.Surjective (standardUnitaryOfMatrix (I := I)) := by |
| 67 | intro g |
| 68 | refine ⟨⟨g.val.val, ?_, congrArg Units.val g.property.2⟩, ?_⟩ |
| 69 | · have h : g.val.val.conjTranspose * 1 * g.val.val = 1 := g.property.1 |
| 70 | simpa only [mul_one] using h |
| 71 | · apply Subtype.ext |
| 72 | apply Units.ext |
| 73 | rfl |
| 74 | have hc := standardUnitaryMatrices_compact (I := I) |
| 75 | let : CompactSpace (standardUnitaryMatrices (I := I)) := isCompact_iff_compactSpace.mp hc |
| 76 | constructor |
| 77 | have h := isCompact_univ.image (standardUnitaryOfMatrix_continuous (I := I)) |
| 78 | simpa only [Set.image_univ, hs.range_eq] using h |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.RepresentationTheory.Theta.Adelic.CompactStandardUnitary |