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.Affine.SupportKernel |
| 2 | |
| 3 | /-! # Spec Support Kernel -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SpecSupportKernel.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! For every irreducible closed support of an affine spectrum, its |
| 10 | native reduced-support stalk kernel is the localization of the actual |
| 11 | generic-point prime ideal. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkPrimeQuotient.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Closed.ImageStalkKernel.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.SupportKernel.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (R : CommRingCat) (P : PrimeSpectrum R) |
| 21 | |
| 22 | local instance : P.asIdeal.IsPrime := P.isPrime |
| 23 | |
| 24 | def primeSupport : IrreducibleCloseds (Spec R) := |
| 25 | Geometric.StratumClosure.integralImageClosure (Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk P.asIdeal))) |
| 26 | |
| 27 | theorem primeSupport_genericPoint : IntersectionGeometry.supportPoint (primeSupport R P) = P := by |
| 28 | unfold primeSupport |
| 29 | rw [Closed.ImageStalkKernel.Constructions.imageClosure_genericPoint, genericPoint_eq_bot_of_affine] |
| 30 | apply PrimeSpectrum.ext |
| 31 | exact Ideal.mk_ker |
| 32 | |
| 33 | theorem primeSupport_eq (A : IrreducibleCloseds (Spec R)) : primeSupport R (IntersectionGeometry.supportPoint A) = A := |
| 34 | irreducibleSetEquivPoints.injective (primeSupport_genericPoint R (IntersectionGeometry.supportPoint A)) |
| 35 | |
| 36 | theorem support_coe (A : IrreducibleCloseds (Spec R)) : |
| 37 | (A : Set (Spec R)) = PrimeSpectrum.zeroLocus ((IntersectionGeometry.supportPoint A).asIdeal : Set R) := |
| 38 | (A.isIrreducible.isGenericPoint_genericPoint A.isClosed).symm.trans |
| 39 | (PrimeSpectrum.closure_singleton (IntersectionGeometry.supportPoint A)) |
| 40 | |
| 41 | theorem support_kernel (A : IrreducibleCloseds (Spec R)) (q : PrimeSpectrum R) (hq : q ∈ (A : Set (Spec R))) : |
| 42 | (StalkPrimeQuotient.Constructions.kernelPrime (Spec R) A q hq).asIdeal.map (Spec.stalkIso R q).hom.hom = |
| 43 | (IntersectionGeometry.supportPoint A).asIdeal.map (algebraMap R (Localization.AtPrime q.asIdeal)) := by |
| 44 | let P := IntersectionGeometry.supportPoint A |
| 45 | let : P.asIdeal.IsPrime := P.isPrime |
| 46 | let f : R ⟶ CommRingCat.of (R ⧸ P.asIdeal) := CommRingCat.ofHom (Ideal.Quotient.mk P.asIdeal) |
| 47 | let : IsClosedImmersion (Spec.map f) := IsClosedImmersion.spec_of_surjective f Ideal.Quotient.mk_surjective |
| 48 | have hA : Geometric.StratumClosure.integralImageClosure (Spec.map f) = A := primeSupport_eq R A |
| 49 | have hr : Set.range (Spec.map f) = (A : Set (Spec R)) := by |
| 50 | exact (Spec.map f).isClosedEmbedding.isClosed_range.closure_eq.symm.trans |
| 51 | (congrArg (fun B : IrreducibleCloseds (Spec R) => (B : Set (Spec R))) hA) |
| 52 | obtain ⟨y, hy⟩ := hr.symm ▸ hq |
| 53 | subst q |
| 54 | have h := Affine.SupportKernel.Constructions.support_kernel_localization R (CommRingCat.of (R ⧸ P.asIdeal)) f Ideal.Quotient.mk_surjective y |
| 55 | have hk : RingHom.ker f.hom = P.asIdeal := Ideal.mk_ker |
| 56 | change (StalkPrimeQuotient.Constructions.kernelPrime (Spec R) A ((Spec.map f) y) hq).asIdeal.map |
| 57 | (Spec.stalkIso R (y.comap f.hom)).hom.hom = P.asIdeal.map |
| 58 | (algebraMap R (Localization.AtPrime (y.comap f.hom).asIdeal)) |
| 59 | simpa only [hA, hk] using h |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.CycleClass.Thom.SpecSupportKernel.Constructions |