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.PEL.ConormalCharacterBasis |
| 2 | |
| 3 | /-! # PEL Character Support Indices -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PELCharacterSupportIndices.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original rank-three signature leaves only its distinguished |
| 10 | two-by-one pair available to a form supported on conjugate characters. |
| 11 | The index sets and their cardinalities use the actual prescribed ranks. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.ConormalCharacterBasis |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 19 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) |
| 20 | |
| 21 | abbrev pelConormalBasisIndex := Σ j, Fin (P.pairedLieRank j) |
| 22 | |
| 23 | def pelCharacterIndexEmbedding (q : Fin s × Bool) : |
| 24 | Fin (P.pairedLieRank q) ↪ pelConormalBasisIndex P where |
| 25 | toFun := fun i => ⟨q, i⟩ |
| 26 | inj' := by |
| 27 | intro i j h |
| 28 | exact eq_of_heq (Sigma.mk.inj_iff.mp h).2 |
| 29 | |
| 30 | def pelCharacterIndexSet (q : Fin s × Bool) : Finset (pelConormalBasisIndex P) := |
| 31 | Finset.univ.map (pelCharacterIndexEmbedding P q) |
| 32 | |
| 33 | omit [NumberField E] [NumberField.IsCMField E] in |
| 34 | theorem mem_pelCharacterIndexSet (q : Fin s × Bool) (i : pelConormalBasisIndex P) : |
| 35 | i ∈ pelCharacterIndexSet P q ↔ i.1 = q := by |
| 36 | classical |
| 37 | constructor |
| 38 | · intro hi |
| 39 | obtain ⟨j, _, hj⟩ := Finset.mem_map.mp hi |
| 40 | exact (congrArg Sigma.fst hj).symm |
| 41 | · rcases i with ⟨p, j⟩ |
| 42 | intro hp |
| 43 | change p = q at hp |
| 44 | subst p |
| 45 | exact Finset.mem_map.mpr ⟨j, Finset.mem_univ _, rfl⟩ |
| 46 | |
| 47 | omit [NumberField E] [NumberField.IsCMField E] in |
| 48 | theorem pelCharacterIndexSet_card (q : Fin s × Bool) : |
| 49 | (pelCharacterIndexSet P q).card = P.pairedLieRank q := by |
| 50 | rw [pelCharacterIndexSet, Finset.card_map, Finset.card_univ, Fintype.card_fin] |
| 51 | |
| 52 | def pelPositiveTangentIndices := pelCharacterIndexSet P (P.distinguished, false) |
| 53 | def pelNegativeTangentIndices := pelCharacterIndexSet P (P.distinguished, true) |
| 54 | |
| 55 | omit [NumberField E] [NumberField.IsCMField E] in |
| 56 | theorem pelPositiveTangentIndices_card : (pelPositiveTangentIndices P).card = 2 := by |
| 57 | rw [pelPositiveTangentIndices, pelCharacterIndexSet_card] |
| 58 | simp [AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.pairedLieRank, AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.firstLieRank] |
| 59 | |
| 60 | omit [NumberField E] [NumberField.IsCMField E] in |
| 61 | theorem pelNegativeTangentIndices_card : (pelNegativeTangentIndices P).card = 1 := by |
| 62 | rw [pelNegativeTangentIndices, pelCharacterIndexSet_card] |
| 63 | simp [AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.pairedLieRank, AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.firstLieRank] |
| 64 | |
| 65 | omit [NumberField E] [NumberField.IsCMField E] in |
| 66 | theorem pelConjugateIndices_distinguished (i j : pelConormalBasisIndex P) |
| 67 | (h : i.1 = (j.1.1, !j.1.2)) : |
| 68 | (i ∈ pelPositiveTangentIndices P ∧ j ∈ pelNegativeTangentIndices P) ∨ |
| 69 | (i ∈ pelNegativeTangentIndices P ∧ j ∈ pelPositiveTangentIndices P) := by |
| 70 | classical |
| 71 | rcases i with ⟨⟨a, b⟩, x⟩ |
| 72 | rcases j with ⟨⟨c, d⟩, y⟩ |
| 73 | have ha : a = c := congrArg Prod.fst h |
| 74 | subst a |
| 75 | have hc : c = P.distinguished := by |
| 76 | by_contra hn |
| 77 | have hx := x.isLt |
| 78 | have hy := y.isLt |
| 79 | cases b <;> cases d <;> cases hs : P.compactSigns c <;> |
| 80 | simp_all [AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.pairedLieRank, AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum.firstLieRank] |
| 81 | simp only [pelPositiveTangentIndices, pelNegativeTangentIndices, mem_pelCharacterIndexSet] |
| 82 | cases b <;> cases d <;> simp_all |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.PELCharacterSupportIndices.Construction |