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.Localization |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.SupportSpectrum |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 4 | |
| 5 | /-! # Prime Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A prime of an ambient stalk is the exact kernel of the local module |
| 12 | of the closure of its image. Thus its quotient is the native ThomClass support module. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 20 | |
| 21 | def kernelPrime (X : Scheme) (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) : |
| 22 | Spec (X.presheaf.stalk x) := |
| 23 | ⟨RingHom.ker (Local.Principal.supportStalkMap X W x hx).hom, |
| 24 | Ideal.isPrime_bot.comap (Local.Principal.supportStalkMap X W x hx).hom⟩ |
| 25 | |
| 26 | theorem kernelPrime_image (X : Scheme) (W : IrreducibleCloseds X) (x : X) |
| 27 | (hx : x ∈ (W : Set X)) : |
| 28 | X.fromSpecStalk x (kernelPrime X W x hx) = CycleClass.Thom.IntersectionGeometry.supportPoint W := by |
| 29 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme W |
| 30 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx |
| 31 | let T := Y.presheaf.stalk y |
| 32 | let σ := Local.Principal.supportStalkMap X W x hx |
| 33 | have hs := Local.SupportSpectrum.stalkMap_square (CycleClass.Geometric.GenericPoint.reducedSupportι W) y x |
| 34 | (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx) |
| 35 | have he := congrArg (fun f : Spec T ⟶ X => f (genericPoint (Spec T))) hs |
| 36 | change X.fromSpecStalk x ((Spec.map σ) (genericPoint (Spec T))) = |
| 37 | CycleClass.Geometric.GenericPoint.reducedSupportι W (Y.fromSpecStalk y (genericPoint (Spec T))) at he |
| 38 | rw [Localization.genericPoint_image, CycleClass.Geometric.GenericPoint.reducedSupport_genericPoint_eq] at he |
| 39 | rw [genericPoint_eq_bot_of_affine] at he |
| 40 | exact he |
| 41 | |
| 42 | theorem kernel_eq (X : Scheme) (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) |
| 43 | (p : Spec (X.presheaf.stalk x)) (hp : X.fromSpecStalk x p = CycleClass.Thom.IntersectionGeometry.supportPoint W) : |
| 44 | RingHom.ker (Local.Principal.supportStalkMap X W x hx).hom = p.asIdeal := by |
| 45 | have hprime : kernelPrime X W x hx = p := |
| 46 | (X.fromSpecStalk x).isEmbedding.injective ((kernelPrime_image X W x hx).trans hp.symm) |
| 47 | exact congrArg PrimeSpectrum.asIdeal hprime |
| 48 | |
| 49 | def moduleEquiv (X : Scheme) (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) |
| 50 | (p : Spec (X.presheaf.stalk x)) (hp : X.fromSpecStalk x p = CycleClass.Thom.IntersectionGeometry.supportPoint W) : |
| 51 | CycleClass.Thom.IntersectionGeometry.localSupportModule X W x hx ≃ₗ[X.presheaf.stalk x] (X.presheaf.stalk x ⧸ p.asIdeal) := by |
| 52 | let R := X.presheaf.stalk x |
| 53 | let T := (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx) |
| 54 | let σ := Local.Principal.supportStalkMap X W x hx |
| 55 | let : Algebra R T := σ.hom.toAlgebra |
| 56 | have hσ : Function.Surjective (Algebra.ofId R T) := Local.Principal.supportStalkMap_surjective X W x hx |
| 57 | exact (Ideal.quotientKerAlgEquivOfSurjective hσ).symm.toLinearEquiv.trans |
| 58 | (Submodule.quotEquivOfEq _ _ (kernel_eq X W x hx p hp)) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Stalk.PrimeQuotient |