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.Divisors.LineBundles.StalkLocalization |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportMap |
| 3 | |
| 4 | /-! # Stalk Support Kernel -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.StalkSupportKernel.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: the actual support stalk is the quotient by the corresponding local prime |
| 12 | |
| 13 | The support's actual stalk map is surjective. Its kernel prime maps to |
| 14 | the support's generic point, so injectivity of the ambient stalk-spectrum |
| 15 | map identifies that kernel with the corresponding local prime. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 19 | |
| 20 | variable (X : Scheme) (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) |
| 21 | |
| 22 | def supportLocalPoint : CycleClass.Geometric.GenericPoint.reducedSupportScheme W := |
| 23 | Classical.choose ((congrArg (fun S : Set X => x ∈ S) (CycleClass.Geometric.GenericPoint.range_reducedSupportι W)).mpr hx) |
| 24 | |
| 25 | theorem supportLocalPoint_spec : CycleClass.Geometric.GenericPoint.reducedSupportι W (supportLocalPoint X W x hx) = x := |
| 26 | Classical.choose_spec ((congrArg (fun S : Set X => x ∈ S) (CycleClass.Geometric.GenericPoint.range_reducedSupportι W)).mpr hx) |
| 27 | |
| 28 | def supportLocalStalkMap : |
| 29 | X.presheaf.stalk x ⟶ (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (supportLocalPoint X W x hx) := |
| 30 | eqToHom (congrArg (fun y => X.presheaf.stalk y) (supportLocalPoint_spec X W x hx).symm) ≫ |
| 31 | (CycleClass.Geometric.GenericPoint.reducedSupportι W).stalkMap (supportLocalPoint X W x hx) |
| 32 | |
| 33 | theorem supportLocalStalkMap_surjective : Function.Surjective (supportLocalStalkMap X W x hx) := |
| 34 | ((CycleClass.Geometric.GenericPoint.reducedSupportι W).stalkMap_surjective _).comp |
| 35 | (ConcreteCategory.bijective_of_isIso (eqToHom |
| 36 | (congrArg (fun y => X.presheaf.stalk y) (supportLocalPoint_spec X W x hx).symm))).surjective |
| 37 | |
| 38 | omit W x hx in |
| 39 | theorem stalkMap_point_square {A : Scheme} (i : A ⟶ X) (a : A) (x : X) (h : i a = x) : |
| 40 | Spec.map (eqToHom (congrArg (fun y => X.presheaf.stalk y) h.symm) ≫ i.stalkMap a) ≫ |
| 41 | X.fromSpecStalk x = A.fromSpecStalk a ≫ i := by |
| 42 | subst x |
| 43 | simp only [eqToHom_refl, Category.id_comp] |
| 44 | exact Scheme.SpecMap_stalkMap_fromSpecStalk i |
| 45 | |
| 46 | def supportLocalKernelPrime : Spec (X.presheaf.stalk x) := |
| 47 | ⟨RingHom.ker (supportLocalStalkMap X W x hx).hom, |
| 48 | Ideal.isPrime_bot.comap (supportLocalStalkMap X W x hx).hom⟩ |
| 49 | |
| 50 | theorem supportLocalKernelPrime_image : |
| 51 | X.fromSpecStalk x (supportLocalKernelPrime X W x hx) = irreducibleSetEquivPoints W := by |
| 52 | let A := CycleClass.Geometric.GenericPoint.reducedSupportScheme W |
| 53 | let a := supportLocalPoint X W x hx |
| 54 | let T := A.presheaf.stalk a |
| 55 | have he := congrArg (fun j : Spec T ⟶ X => j (genericPoint (Spec T))) |
| 56 | (stalkMap_point_square X (CycleClass.Geometric.GenericPoint.reducedSupportι W) a x (supportLocalPoint_spec X W x hx)) |
| 57 | change X.fromSpecStalk x ((Spec.map (supportLocalStalkMap X W x hx)) (genericPoint (Spec T))) = |
| 58 | CycleClass.Geometric.GenericPoint.reducedSupportι W (A.fromSpecStalk a (genericPoint (Spec T))) at he |
| 59 | rw [StalkLocalization.BundleCycles.fromSpecStalk_genericPoint, CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq, genericPoint_eq_bot_of_affine] at he |
| 60 | exact he |
| 61 | |
| 62 | theorem supportLocalStalkMap_kernel (p : Spec (X.presheaf.stalk x)) |
| 63 | (hp : X.fromSpecStalk x p = irreducibleSetEquivPoints W) : |
| 64 | RingHom.ker (supportLocalStalkMap X W x hx).hom = p.asIdeal := by |
| 65 | have he : supportLocalKernelPrime X W x hx = p := |
| 66 | (X.fromSpecStalk x).isEmbedding.injective ((supportLocalKernelPrime_image X W x hx).trans hp.symm) |
| 67 | exact congrArg PrimeSpectrum.asIdeal he |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Divisors.LineBundles.StalkSupportKernel.BundleCycles |