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.IntersectionTheory.ProjectionFormula.Affine.ParameterRestriction |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.Localization |
| 3 | |
| 4 | /-! # Parameter Germ -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.ParameterGerm |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A global affine parameter commutes with the actual localization |
| 11 | from a scheme stalk to a prime of that stalk. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.Polynomial |
| 18 | |
| 19 | def globalSection {Z : Scheme} (t : Z ⟶ Spec (.of ℂ[X])) (a : ℂ) : Γ(Z, ⊤) := |
| 20 | t.appTop ((Scheme.ΓSpecIso (.of ℂ[X])).inv (Polynomial.X - Polynomial.C a)) |
| 21 | |
| 22 | theorem global_germ {Z : Scheme} (t : Z ⟶ Spec (.of ℂ[X])) (a : ℂ) (x : Z) : |
| 23 | Z.presheaf.germ ⊤ x trivial (globalSection t a) = Affine.ParameterFiber.germ ℂ t x a := by |
| 24 | change (t.app ⊤ ≫ Z.presheaf.germ (t ⁻¹ᵁ ⊤) x trivial) |
| 25 | ((Scheme.ΓSpecIso (.of ℂ[X])).inv (Polynomial.X - Polynomial.C a)) = _ |
| 26 | rw [← Scheme.Hom.germ_stalkMap t ⊤ x trivial] |
| 27 | rfl |
| 28 | |
| 29 | theorem global_localization (Z : Scheme) (x : Z) (p : PrimeSpectrum (Z.presheaf.stalk x)) |
| 30 | (s : Γ(Z, ⊤)) : |
| 31 | (Z.fromSpecStalk x).stalkMap p (Z.presheaf.germ ⊤ (Z.fromSpecStalk x p) trivial s) = |
| 32 | StructureSheaf.toStalk (Z.presheaf.stalk x) p (Z.presheaf.germ ⊤ x trivial s) := by |
| 33 | change (Z.presheaf.germ ⊤ (Z.fromSpecStalk x p) trivial ≫ (Z.fromSpecStalk x).stalkMap p) s = _ |
| 34 | rw [Scheme.Hom.germ_stalkMap, Scheme.fromSpecStalk_app (show x ∈ (⊤ : Z.Opens) from trivial)] |
| 35 | simp only [Category.assoc, TopCat.Presheaf.germ_res] |
| 36 | rfl |
| 37 | |
| 38 | theorem localization {Z : Scheme} (t : Z ⟶ Spec (.of ℂ[X])) (a : ℂ) (x : Z) |
| 39 | (p : PrimeSpectrum (Z.presheaf.stalk x)) : |
| 40 | (Z.fromSpecStalk x).stalkMap p |
| 41 | (Affine.ParameterFiber.germ ℂ t (Z.fromSpecStalk x p) a) = |
| 42 | StructureSheaf.toStalk (Z.presheaf.stalk x) p (Affine.ParameterFiber.germ ℂ t x a) := by |
| 43 | rw [← global_germ t a (Z.fromSpecStalk x p), ← global_germ t a x] |
| 44 | exact global_localization Z x p (globalSection t a) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.ParameterGerm |