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.Geometric.EmbeddingRanks |
| 2 | import Mathlib.Data.Fintype.BigOperators |
| 3 | |
| 4 | /-! # Lie Ranks -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual CM embedding enumeration gives all prescribed Lie ranks, |
| 11 | including the conjugate ranks, and their sum is the abelian dimension. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 17 | {s : ℕ} (P : Datum.RankThreePELDatum E s) |
| 18 | |
| 19 | section |
| 20 | |
| 21 | def Datum.RankThreePELDatum.pairedEmbedding (p : Fin s × Bool) : E →ₐ[ℚ] ℂ := |
| 22 | if p.2 then ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (P.embeddings p.1) else P.embeddings p.1 |
| 23 | |
| 24 | def Datum.RankThreePELDatum.pairedLieRank (p : Fin s × Bool) : ℕ := |
| 25 | if p.2 then 3 - P.firstLieRank p.1 else P.firstLieRank p.1 |
| 26 | |
| 27 | theorem Datum.RankThreePELDatum.pairedEmbedding_injective (hP : P.IsAdmissible) : |
| 28 | Function.Injective P.pairedEmbedding := hP.1.1 |
| 29 | |
| 30 | omit [NumberField E] [NumberField.IsCMField E] in |
| 31 | theorem Datum.RankThreePELDatum.firstLieRank_le_three (i : Fin s) : P.firstLieRank i ≤ 3 := by |
| 32 | unfold Datum.RankThreePELDatum.firstLieRank |
| 33 | split_ifs <;> decide |
| 34 | |
| 35 | omit [NumberField E] [NumberField.IsCMField E] in |
| 36 | theorem Datum.RankThreePELDatum.pairedLieRank_sum : (∑ p : Fin s × Bool, P.pairedLieRank p) = 3 * s := by |
| 37 | classical |
| 38 | rw [Fintype.sum_prod_type] |
| 39 | have hi (i : Fin s) : (∑ b : Bool, P.pairedLieRank (i, b)) = 3 := by |
| 40 | simp only [Fintype.sum_bool] |
| 41 | change (3 - P.firstLieRank i) + P.firstLieRank i = 3 |
| 42 | exact Nat.sub_add_cancel (P.firstLieRank_le_three i) |
| 43 | simp only [hi, Finset.sum_const, Finset.card_univ, Fintype.card_fin, smul_eq_mul] |
| 44 | exact Nat.mul_comm s 3 |
| 45 | |
| 46 | theorem Datum.RankThreePELDatum.lieRank_of_pairedEmbedding (hP : P.IsAdmissible) (τ : E ≃ₐ[ℚ] E) |
| 47 | (p : Fin s × Bool) (hτ : P.μ.comp τ.toRingHom = (P.pairedEmbedding p).toRingHom) : |
| 48 | P.lieRank τ = P.pairedLieRank p := by |
| 49 | classical |
| 50 | have heq (q : Fin s × Bool) : |
| 51 | (P.pairedEmbedding p).toRingHom = (P.pairedEmbedding q).toRingHom ↔ p = q := by |
| 52 | constructor |
| 53 | · intro h |
| 54 | exact P.pairedEmbedding_injective hP (AlgHom.ext |
| 55 | (fun x => congrArg (fun f : E →+* ℂ => f x) h)) |
| 56 | · rintro rfl |
| 57 | rfl |
| 58 | unfold Datum.RankThreePELDatum.lieRank |
| 59 | rw [hτ] |
| 60 | change (∑ i : Fin s, |
| 61 | if (P.pairedEmbedding p).toRingHom = (P.pairedEmbedding (i, false)).toRingHom |
| 62 | then P.firstLieRank i |
| 63 | else if (P.pairedEmbedding p).toRingHom = (P.pairedEmbedding (i, true)).toRingHom |
| 64 | then 3 - P.firstLieRank i else 0) = P.pairedLieRank p |
| 65 | simp only [heq] |
| 66 | rcases p with ⟨i, b⟩ |
| 67 | cases b <;> simp [Datum.RankThreePELDatum.pairedLieRank] |
| 68 | |
| 69 | end |
| 70 | |
| 71 | variable [IsGalois ℚ E] {K : Type} [Field K] [NumberField K] |
| 72 | {N : ℕ} {iota : E →+* K} {T : Over (Spec (.of K))} |
| 73 | (A : PEL.Objects.PELObject P iota N T) (κ : K →+* ℂ) (hκ : κ.comp iota = P.μ) |
| 74 | (p : Spec (.of ℂ) ⟶ T.left) (hp : p ≫ T.hom = Spec.map (CommRingCat.ofHom κ)) |
| 75 | |
| 76 | include hκ hp in |
| 77 | omit [NumberField K] in |
| 78 | theorem PEL.Objects.PELObject.complexFiber_paired_rank (hP : P.IsAdmissible) (j : Fin s × Bool) : |
| 79 | LieRanks.HasLieRank (A.polarized.abelian.pullback p) (A.action.pullback p) |
| 80 | ((P.pairedEmbedding j).toRingHom.comp (algebraMap (NumberField.RingOfIntegers E) E)) |
| 81 | (P.pairedLieRank j) := by |
| 82 | obtain ⟨τ, hτ⟩ := EmbeddingLieIndices.embedding_eq_comp_aut (P.embeddings P.distinguished) (P.pairedEmbedding j) |
| 83 | have hr := A.lieRanks ℂ κ p hp τ |
| 84 | have he : ((κ.comp iota).comp (τ.toRingHom.comp (algebraMap (NumberField.RingOfIntegers E) E))) = |
| 85 | (P.pairedEmbedding j).toRingHom.comp (algebraMap (NumberField.RingOfIntegers E) E) := by |
| 86 | rw [hκ, ← RingHom.comp_assoc] |
| 87 | exact congrArg (fun f : E →+* ℂ => f.comp (algebraMap (NumberField.RingOfIntegers E) E)) hτ |
| 88 | rw [he, P.lieRank_of_pairedEmbedding hP τ j hτ] at hr |
| 89 | exact hr |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |