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.ComponentUniformization |
| 2 | |
| 3 | /-! # Definite Embeddings -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Definiteness is preserved by conjugating a complex embedding. The |
| 10 | specified CM embedding enumeration therefore gives definiteness at |
| 11 | every embedding away from the distinguished conjugate pair. -/ |
| 12 | |
| 13 | variable {E : Type} [Field E] |
| 14 | |
| 15 | theorem Hermitian.DefiniteEmbeddings.complexMatrixHermitian_conjugate (μ : E →+* ℂ) |
| 16 | (H : Matrix (Fin 3) (Fin 3) E) (x y : Fin 3 → ℂ) : |
| 17 | Datum.RankThreePELDatum.complexMatrixHermitian ((starRingEnd ℂ).comp μ) H x y = |
| 18 | star (Datum.RankThreePELDatum.complexMatrixHermitian μ H |
| 19 | (fun i => star (x i)) (fun i => star (y i))) := by |
| 20 | simp only [Datum.RankThreePELDatum.complexMatrixHermitian, RingHom.comp_apply, |
| 21 | starRingEnd_apply, star_sum, star_mul, star_star] |
| 22 | apply Finset.sum_congr rfl |
| 23 | intro i _ |
| 24 | apply Finset.sum_congr rfl |
| 25 | intro j _ |
| 26 | ring |
| 27 | |
| 28 | theorem Hermitian.DefiniteEmbeddings.complexMatrixHermitian_definite_conjugate (μ : E →+* ℂ) |
| 29 | (H : Matrix (Fin 3) (Fin 3) E) |
| 30 | (hdef : (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 31 | 0 < (Datum.RankThreePELDatum.complexMatrixHermitian μ H x x).re) ∨ |
| 32 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 33 | (Datum.RankThreePELDatum.complexMatrixHermitian μ H x x).re < 0)) : |
| 34 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 35 | 0 < (Datum.RankThreePELDatum.complexMatrixHermitian ((starRingEnd ℂ).comp μ) H x x).re) ∨ |
| 36 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 37 | (Datum.RankThreePELDatum.complexMatrixHermitian ((starRingEnd ℂ).comp μ) H x x).re < 0) := by |
| 38 | have hn (x : Fin 3 → ℂ) (hx : x ≠ 0) : (fun i => star (x i)) ≠ 0 := by |
| 39 | intro h |
| 40 | apply hx |
| 41 | funext i |
| 42 | simpa only [Pi.zero_apply, star_star, star_zero] using congrArg star (congrFun h i) |
| 43 | rcases hdef with hp | hm |
| 44 | · left |
| 45 | intro x hx |
| 46 | rw [Hermitian.DefiniteEmbeddings.complexMatrixHermitian_conjugate, Complex.star_def, Complex.conj_re] |
| 47 | exact hp _ (hn x hx) |
| 48 | · right |
| 49 | intro x hx |
| 50 | rw [Hermitian.DefiniteEmbeddings.complexMatrixHermitian_conjugate, Complex.star_def, Complex.conj_re] |
| 51 | exact hm _ (hn x hx) |
| 52 | |
| 53 | variable [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 54 | {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 55 | |
| 56 | theorem Datum.RankThreePELDatum.definite_other_embedding (hP : P.IsAdmissible) |
| 57 | (H : Matrix (Fin 3) (Fin 3) E) |
| 58 | (hdef : ∀ i, i ≠ P.distinguished → |
| 59 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 60 | 0 < (Datum.RankThreePELDatum.complexMatrixHermitian (P.embeddings i).toRingHom H x x).re) ∨ |
| 61 | (∀ x : Fin 3 → ℂ, x ≠ 0 → |
| 62 | (Datum.RankThreePELDatum.complexMatrixHermitian (P.embeddings i).toRingHom H x x).re < 0)) |
| 63 | (ν : E →+* ℂ) (hν : ν ≠ P.μ) (hνc : ν ≠ (starRingEnd ℂ).comp P.μ) : |
| 64 | (∀ x : Fin 3 → ℂ, x ≠ 0 → 0 < (Datum.RankThreePELDatum.complexMatrixHermitian ν H x x).re) ∨ |
| 65 | (∀ x : Fin 3 → ℂ, x ≠ 0 → (Datum.RankThreePELDatum.complexMatrixHermitian ν H x x).re < 0) := by |
| 66 | obtain ⟨⟨i, side⟩, hi⟩ := hP.1.2 ν.toRatAlgHom |
| 67 | cases side |
| 68 | · have he : (P.embeddings i).toRingHom = ν := congrArg AlgHom.toRingHom hi |
| 69 | have hne : i ≠ P.distinguished := by |
| 70 | intro h |
| 71 | subst i |
| 72 | exact hν he.symm |
| 73 | rw [← he] |
| 74 | exact hdef i hne |
| 75 | · have he : (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)).toRingHom = ν := |
| 76 | congrArg AlgHom.toRingHom hi |
| 77 | have hne : i ≠ P.distinguished := by |
| 78 | intro h |
| 79 | subst i |
| 80 | exact hνc he.symm |
| 81 | rw [← he] |
| 82 | have hc : (ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings i)).toRingHom = |
| 83 | (starRingEnd ℂ).comp (P.embeddings i).toRingHom := by |
| 84 | ext x |
| 85 | rfl |
| 86 | rw [hc] |
| 87 | exact Hermitian.DefiniteEmbeddings.complexMatrixHermitian_definite_conjugate (P.embeddings i).toRingHom H (hdef i hne) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |