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.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PositiveHermitianCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Complex.HermitianMatrixForm |
| 3 | import OAI.RepresentationTheory.Theta.Adelic.UnitaryCoordinateTopology |
| 4 | import OAI.RepresentationTheory.Theta.Adelic.CompactStandardUnitary |
| 5 | |
| 6 | /-! # Definite Unitary Compactness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DefiniteUnitaryCompactness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A definite Hermitian form has compact special unitary group. The |
| 13 | orthonormal coordinates are constructed from the actual form, and the |
| 14 | result transports through any specified continuous complex coordinate |
| 15 | on a native archimedean coefficient field. -/ |
| 16 | |
| 17 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary OAI.RepresentationTheory.Theta.Adelic.UnitaryCoordinateTopology OAI.RepresentationTheory.Theta.Adelic.CompactStandardUnitary |
| 18 | |
| 19 | theorem formValue_linearFirst (H : Matrix (Fin 3) (Fin 3) ℂ) (x y : Fin 3 → ℂ) : |
| 20 | RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue H x y = ReferenceFamily.Complex.HermitianMatrixForm.complexHermitianMatrixForm H.transpose y x := by |
| 21 | simp only [RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue, Matrix.mulVec, dotProduct, ReferenceFamily.Complex.HermitianMatrixForm.complexHermitianMatrixForm_apply, |
| 22 | Matrix.transpose_apply, Finset.mul_sum] |
| 23 | rw [Finset.sum_comm] |
| 24 | apply Finset.sum_congr rfl |
| 25 | intro i _ |
| 26 | apply Finset.sum_congr rfl |
| 27 | intro j _ |
| 28 | ring |
| 29 | |
| 30 | theorem complex_specialUnitary_compact_of_positive |
| 31 | (H : Matrix (Fin 3) (Fin 3) ℂ) (hH : H.conjTranspose = H) |
| 32 | (hpos : ∀ x : Fin 3 → ℂ, x ≠ 0 → 0 < (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue H x x).re) : |
| 33 | CompactSpace (RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H) := by |
| 34 | let F := ReferenceFamily.Complex.HermitianMatrixForm.complexHermitianMatrixForm H.transpose |
| 35 | have hsym (x y : Fin 3 → ℂ) : F y x = star (F x y) := by |
| 36 | apply ReferenceFamily.Complex.HermitianMatrixForm.complexHermitianMatrixForm_symmetry |
| 37 | intro i j |
| 38 | exact (congrArg (fun M => M j i) hH).symm |
| 39 | have hFpos (x : Fin 3 → ℂ) (hx : x ≠ 0) : 0 < (F x x).re := by |
| 40 | rw [← formValue_linearFirst] |
| 41 | exact hpos x hx |
| 42 | obtain ⟨e, he⟩ := PositiveHermitianCoordinates.exists_positiveHermitian_coordinates F hsym hFpos 3 (by simp) |
| 43 | let B : (Matrix (Fin 3) (Fin 3) ℂ)ˣ := |
| 44 | Matrix.GeneralLinearGroup.toLin.symm (LinearMap.GeneralLinearGroup.ofLinearEquiv e.symm) |
| 45 | have hBv (x : Fin 3 → ℂ) : B.val.mulVec x = e.symm x := by |
| 46 | exact LinearMap.congr_fun (Matrix.toLin'_toMatrix' e.symm.toLinearMap) x |
| 47 | have hform (x y : Fin 3 → ℂ) : |
| 48 | RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue H (B.val.mulVec x) (B.val.mulVec y) = RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue 1 x y := by |
| 49 | rw [hBv, hBv, formValue_linearFirst] |
| 50 | change F (e.symm y) (e.symm x) = _ |
| 51 | rw [he, e.apply_symm_apply, e.apply_symm_apply] |
| 52 | simp only [RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue, Matrix.one_mulVec, dotProduct] |
| 53 | apply Finset.sum_congr rfl |
| 54 | intro i _ |
| 55 | exact mul_comm _ _ |
| 56 | have hB : B.val.conjTranspose * H * B.val = 1 := by |
| 57 | ext i j |
| 58 | have h := hform (Pi.single i 1) (Pi.single j 1) |
| 59 | rw [RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue_change] at h |
| 60 | simpa [RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue, dotProduct, Matrix.mulVec, Pi.single_apply, apply_ite] using h |
| 61 | let : CompactSpace (RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (1 : Matrix (Fin 3) (Fin 3) ℂ)) := RepresentationTheory.Theta.Adelic.CompactStandardUnitary.standardUnitary_compact |
| 62 | exact (RepresentationTheory.Theta.Adelic.UnitaryCoordinateTopology.specialUnitaryBasisContinuousEquiv H 1 B hB).symm.toHomeomorph.compactSpace |
| 63 | |
| 64 | theorem specialUnitary_neg (H : Matrix (Fin 3) (Fin 3) ℂ) : |
| 65 | RepresentationTheory.Theta.Adelic.SpecialUnitary.specialUnitary (-H) = RepresentationTheory.Theta.Adelic.SpecialUnitary.specialUnitary H := by |
| 66 | ext g |
| 67 | change (g.val.conjTranspose * (-H) * g.val = -H ∧ |
| 68 | Matrix.GeneralLinearGroup.det g = 1) ↔ |
| 69 | (g.val.conjTranspose * H * g.val = H ∧ Matrix.GeneralLinearGroup.det g = 1) |
| 70 | rw [mul_neg, neg_mul, neg_inj] |
| 71 | |
| 72 | theorem complex_specialUnitary_compact_of_definite |
| 73 | (H : Matrix (Fin 3) (Fin 3) ℂ) (hH : H.conjTranspose = H) |
| 74 | (hdef : (∀ x : Fin 3 → ℂ, x ≠ 0 → 0 < (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue H x x).re) ∨ |
| 75 | (∀ x : Fin 3 → ℂ, x ≠ 0 → (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue H x x).re < 0)) : |
| 76 | CompactSpace (RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H) := by |
| 77 | rcases hdef with hpos | hneg |
| 78 | · exact complex_specialUnitary_compact_of_positive H hH hpos |
| 79 | · have hHneg : (-H).conjTranspose = -H := by |
| 80 | rw [Matrix.conjTranspose_neg, hH] |
| 81 | have hpos (x : Fin 3 → ℂ) (hx : x ≠ 0) : 0 < (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (-H) x x).re := by |
| 82 | have hform : RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (-H) x x = -RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue H x x := by |
| 83 | simp [RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue, Matrix.mulVec, dotProduct] |
| 84 | rw [hform, Complex.neg_re] |
| 85 | exact neg_pos.mpr (hneg x hx) |
| 86 | let : CompactSpace (RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (-H)) := |
| 87 | complex_specialUnitary_compact_of_positive (-H) hHneg hpos |
| 88 | have he : (RepresentationTheory.Theta.Adelic.SpecialUnitary.specialUnitary (-H) : Set (Matrix (Fin 3) (Fin 3) ℂ)ˣ) = |
| 89 | (RepresentationTheory.Theta.Adelic.SpecialUnitary.specialUnitary H : Set (Matrix (Fin 3) (Fin 3) ℂ)ˣ) := |
| 90 | congrArg SetLike.coe (specialUnitary_neg H) |
| 91 | exact (Homeomorph.setCongr he).compactSpace |
| 92 | |
| 93 | theorem field_specialUnitary_compact_of_definite |
| 94 | {R : Type*} [CommRing R] [StarRing R] [TopologicalSpace R] |
| 95 | (e : R ≃+* ℂ) (hs : ∀ x, e (star x) = star (e x)) |
| 96 | (hc : Continuous e) (hi : Continuous e.symm) |
| 97 | (H : Matrix (Fin 3) (Fin 3) R) (hH : H.conjTranspose = H) |
| 98 | (hdef : (∀ x : Fin 3 → ℂ, x ≠ 0 → 0 < (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (H.map e.toRingHom) x x).re) ∨ |
| 99 | (∀ x : Fin 3 → ℂ, x ≠ 0 → (RepresentationTheory.Weil.AdelicSplitting.TensorSpace.Construction.formValue (H.map e.toRingHom) x x).re < 0)) : |
| 100 | CompactSpace (RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H) := by |
| 101 | have heH : (H.map e.toRingHom).conjTranspose = H.map e.toRingHom := by |
| 102 | ext i j |
| 103 | change star (e (H j i)) = e (H i j) |
| 104 | rw [← hs] |
| 105 | exact congrArg e (congrArg (fun M => M i j) hH) |
| 106 | let : CompactSpace (RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map e.toRingHom)) := |
| 107 | complex_specialUnitary_compact_of_definite (H.map e.toRingHom) heH hdef |
| 108 | exact (RepresentationTheory.Theta.Adelic.UnitaryCoordinateTopology.specialUnitaryFieldContinuousEquiv e hs hc hi H).symm.toHomeomorph.compactSpace |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DefiniteUnitaryCompactness |