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.CycleClass.Thom.StalkPrimeQuotient |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.StratumClosure |
| 3 | |
| 4 | /-! # Image Stalk Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImageStalkKernel.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For a genuine closed immersion of an integral scheme, the kernel |
| 11 | used by the original reduced-support module is the kernel of the |
| 12 | actual morphism on stalks. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable {X Y : Scheme} [IsIntegral X] (f : X ⟶ Y) [IsClosedImmersion f] |
| 22 | |
| 23 | def imageSupportIso : X ≅ Geometric.GenericPoint.reducedSupportScheme (Geometric.StratumClosure.integralImageClosure f) := |
| 24 | asIso f.toImage ≪≫ Geometric.StratumClosure.reducedImageClosureIso f |
| 25 | |
| 26 | theorem imageSupportIso_inclusion : |
| 27 | (imageSupportIso f).hom ≫ Geometric.GenericPoint.reducedSupportι (Geometric.StratumClosure.integralImageClosure f) = f := |
| 28 | Geometric.StratumClosure.toReducedImageClosure_inclusion f |
| 29 | |
| 30 | theorem imageClosure_genericPoint : IntersectionGeometry.supportPoint (Geometric.StratumClosure.integralImageClosure f) = f (genericPoint X) := by |
| 31 | have h := congrArg (fun k : X ⟶ Y => k (genericPoint X)) (imageSupportIso_inclusion f) |
| 32 | change Geometric.GenericPoint.reducedSupportι (Geometric.StratumClosure.integralImageClosure f) ((imageSupportIso f).hom (genericPoint X)) = f (genericPoint X) at h |
| 33 | rw [genericPoint_eq_of_isOpenImmersion, Geometric.GenericPoint.reducedSupport_genericPoint_eq] at h |
| 34 | exact h |
| 35 | |
| 36 | omit [IsClosedImmersion f] in |
| 37 | theorem image_mem (x : X) : f x ∈ (Geometric.StratumClosure.integralImageClosure f : Set Y) := |
| 38 | subset_closure (Set.mem_range_self x) |
| 39 | |
| 40 | theorem kernelPrime_eq_stalkMap_kernel (x : X) : |
| 41 | (StalkPrimeQuotient.Constructions.kernelPrime Y (Geometric.StratumClosure.integralImageClosure f) (f x) (image_mem f x)).asIdeal = |
| 42 | RingHom.ker (f.stalkMap x).hom := by |
| 43 | let p : Spec (Y.presheaf.stalk (f x)) := |
| 44 | ⟨RingHom.ker (f.stalkMap x).hom, Ideal.isPrime_bot.comap (f.stalkMap x).hom⟩ |
| 45 | apply StalkPrimeQuotient.Constructions.kernel_eq Y (Geometric.StratumClosure.integralImageClosure f) (f x) (image_mem f x) p |
| 46 | have hs := TorAlgebra.LocalSupportSpectrum.stalkMap_square f x (f x) rfl |
| 47 | have he := congrArg (fun k : Spec (X.presheaf.stalk x) ⟶ Y => k (genericPoint (Spec (X.presheaf.stalk x)))) hs |
| 48 | change Y.fromSpecStalk (f x) ((Spec.map (f.stalkMap x)) (genericPoint (Spec (X.presheaf.stalk x)))) = |
| 49 | f (X.fromSpecStalk x (genericPoint (Spec (X.presheaf.stalk x)))) at he |
| 50 | rw [SupportStalkModule.Constructions.genericPoint_image, genericPoint_eq_bot_of_affine] at he |
| 51 | exact he.trans (imageClosure_genericPoint f).symm |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImageStalkKernel.Constructions |