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.PELModuli.CMPoints.Models |
| 2 | |
| 3 | /-! # Paired Embedding Labels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PairedEmbeddingLabels.Construction |
| 6 | |
| 7 | /-! Relabel the same conjugate block indices for the two-sided pairing |
| 8 | formula, retaining the original labels and their conjugation rule. -/ |
| 9 | |
| 10 | def pairedIndexEquiv (s : ℕ) : (Fin s ⊕ Fin s) ≃ (Fin s × Bool) where |
| 11 | toFun |
| 12 | | Sum.inl i => (i, false) |
| 13 | | Sum.inr i => (i, true) |
| 14 | invFun |
| 15 | | (i, false) => Sum.inl i |
| 16 | | (i, true) => Sum.inr i |
| 17 | left_inv x := by cases x <;> rfl |
| 18 | right_inv x := by rcases x with ⟨i, b⟩; cases b <;> rfl |
| 19 | |
| 20 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 21 | (s : ℕ) (labels : (Fin s × Bool) ≃ Gal(E/ℚ)) |
| 22 | (hc : ∀ i, labels (i, true) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (i, false)) |
| 23 | |
| 24 | def pairedEmbeddingLabels : (Fin s ⊕ Fin s) ≃ Gal(E/ℚ) := |
| 25 | (pairedIndexEquiv s).trans labels |
| 26 | |
| 27 | include hc in |
| 28 | theorem pairedEmbeddingLabels_conjugate (i : Fin s ⊕ Fin s) : |
| 29 | pairedEmbeddingLabels s labels (Sum.swap i) = |
| 30 | PELModuli.CMPoints.Arithmetic.rationalConjugation E * pairedEmbeddingLabels s labels i := by |
| 31 | cases i with |
| 32 | | inl v => exact hc v |
| 33 | | inr v => |
| 34 | change labels (v, false) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, true) |
| 35 | rw [hc, ← mul_assoc, PELModuli.CMPoints.Models.rationalConjugation_mul_self, one_mul] |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PairedEmbeddingLabels.Construction |