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.Stalk.PrimeQuotient |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.OpenImmersion |
| 3 | |
| 4 | /-! # Stalk Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.StalkSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The defining prime of a reduced support stalk is preserved by an |
| 11 | open immersion whenever the actual generic support points correspond. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 18 | |
| 19 | theorem kernelPrime_comap {Y X : Scheme} (i : Y ⟶ X) |
| 20 | (A : IrreducibleCloseds Y) (B : IrreducibleCloseds X) |
| 21 | (hAB : i (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint B) |
| 22 | (y : Y) (hy : y ∈ (A : Set Y)) (hx : i y ∈ (B : Set X)) : |
| 23 | (Stalk.PrimeQuotient.kernelPrime Y A y hy).asIdeal.comap (i.stalkMap y).hom = |
| 24 | (Stalk.PrimeQuotient.kernelPrime X B (i y) hx).asIdeal := by |
| 25 | have he := congrArg (fun f : Spec (Y.presheaf.stalk y) ⟶ X => f (Stalk.PrimeQuotient.kernelPrime Y A y hy)) |
| 26 | (Scheme.SpecMap_stalkMap_fromSpecStalk i (x := y)) |
| 27 | change X.fromSpecStalk (i y) ((Spec.map (i.stalkMap y)) (Stalk.PrimeQuotient.kernelPrime Y A y hy)) = |
| 28 | i (Y.fromSpecStalk y (Stalk.PrimeQuotient.kernelPrime Y A y hy)) at he |
| 29 | rw [Stalk.PrimeQuotient.kernelPrime_image, hAB] at he |
| 30 | have hp : (Spec.map (i.stalkMap y)) (Stalk.PrimeQuotient.kernelPrime Y A y hy) = Stalk.PrimeQuotient.kernelPrime X B (i y) hx := |
| 31 | (X.fromSpecStalk (i y)).isEmbedding.injective (he.trans (Stalk.PrimeQuotient.kernelPrime_image X B (i y) hx).symm) |
| 32 | exact congrArg PrimeSpectrum.asIdeal hp |
| 33 | |
| 34 | theorem kernelPrime_map {Y X : Scheme} (i : Y ⟶ X) [IsOpenImmersion i] |
| 35 | (A : IrreducibleCloseds Y) (B : IrreducibleCloseds X) |
| 36 | (hAB : i (CycleClass.Thom.IntersectionGeometry.supportPoint A) = CycleClass.Thom.IntersectionGeometry.supportPoint B) |
| 37 | (y : Y) (hy : y ∈ (A : Set Y)) (hx : i y ∈ (B : Set X)) : |
| 38 | (Stalk.PrimeQuotient.kernelPrime X B (i y) hx).asIdeal.map (i.stalkMap y).hom = |
| 39 | (Stalk.PrimeQuotient.kernelPrime Y A y hy).asIdeal := by |
| 40 | rw [← kernelPrime_comap i A B hAB y hy hx] |
| 41 | exact Ideal.map_comap_of_surjective _ (ConcreteCategory.bijective_of_isIso (i.stalkMap y)).surjective _ |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Open.StalkSupport |