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 Mathlib |
| 2 | |
| 3 | /-! # Point Field -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.PointField |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A descended scheme point carries its actual coefficient-field map. |
| 10 | The complex descent triangle forces compatibility with the chosen base |
| 11 | embedding, so the subsequent q-adic specialization uses the same point. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {B F : Type} [Field B] [Field F] |
| 16 | (X : Over (Spec (.of B))) (p : Spec (.of F) ⟶ X.left) |
| 17 | |
| 18 | def pointCoefficientEmbedding : B →+* F := |
| 19 | (Spec.preimage (p ≫ X.hom)).hom |
| 20 | |
| 21 | theorem pointCoefficientEmbedding_spec : |
| 22 | Spec.map (CommRingCat.ofHom (pointCoefficientEmbedding X p)) = p ≫ X.hom := |
| 23 | Spec.map_preimage _ |
| 24 | |
| 25 | theorem pointCoefficientEmbedding_compatible |
| 26 | (κ : B →+* ℂ) (σ : F →+* ℂ) (pC : Spec (.of ℂ) ⟶ X.left) |
| 27 | (hp : Spec.map (CommRingCat.ofHom σ) ≫ p = pC) |
| 28 | (hC : pC ≫ X.hom = Spec.map (CommRingCat.ofHom κ)) : |
| 29 | σ.comp (pointCoefficientEmbedding X p) = κ := by |
| 30 | apply congrArg (fun f : CommRingCat.of B ⟶ CommRingCat.of ℂ => f.hom) |
| 31 | apply Spec.map_injective |
| 32 | change Spec.map (CommRingCat.ofHom (pointCoefficientEmbedding X p) ≫ CommRingCat.ofHom σ) = _ |
| 33 | rw [Spec.map_comp, pointCoefficientEmbedding_spec, ← Category.assoc, hp, hC] |
| 34 | rfl |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.PointField |