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.Integral.ClosedImage |
| 2 | |
| 3 | /-! # Prime Support -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.PrimeSupport.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: an actual prime quotient represents the geometric prime support |
| 11 | |
| 12 | The spectrum of R/P maps by the actual quotient ring homomorphism. |
| 13 | Its integral reduced image has generic point P. The constructed image |
| 14 | isomorphism transports its complete principal divisor to that geometric |
| 15 | support without changing any coefficient. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 19 | |
| 20 | variable (R : Type) [CommRing R] (P : Ideal R) [P.IsPrime] |
| 21 | |
| 22 | abbrev affinePrimePoint : Spec (CommRingCat.of R) := ⟨P, inferInstance⟩ |
| 23 | |
| 24 | def affinePrimeQuotientMap : Spec (CommRingCat.of (R ⧸ P)) ⟶ Spec (CommRingCat.of R) := |
| 25 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk P)) |
| 26 | |
| 27 | instance affinePrimeQuotientMap_isClosedImmersion : IsClosedImmersion (affinePrimeQuotientMap R P) := |
| 28 | IsClosedImmersion.spec_of_surjective (CommRingCat.ofHom (Ideal.Quotient.mk P)) Ideal.Quotient.mk_surjective |
| 29 | |
| 30 | theorem affinePrimeQuotientMap_genericPoint : |
| 31 | affinePrimeQuotientMap R P (genericPoint (Spec (CommRingCat.of (R ⧸ P)))) = |
| 32 | affinePrimePoint R P := by |
| 33 | rw [genericPoint_eq_bot_of_affine] |
| 34 | apply PrimeSpectrum.ext |
| 35 | exact Ideal.mk_ker |
| 36 | |
| 37 | theorem affinePrime_imageClosure : |
| 38 | CycleClass.Geometric.StratumClosure.integralImageClosure (affinePrimeQuotientMap R P) = |
| 39 | irreducibleSetEquivPoints.symm (affinePrimePoint R P) := by |
| 40 | apply irreducibleSetEquivPoints.injective |
| 41 | rw [irreducibleSetEquivPoints.apply_symm_apply] |
| 42 | exact (Integral.ClosedImage.BundleCycles.integralClosedImage_genericPoint (affinePrimeQuotientMap R P)).trans |
| 43 | (affinePrimeQuotientMap_genericPoint R P) |
| 44 | |
| 45 | def affinePrimeSupportIso : |
| 46 | Spec (CommRingCat.of (R ⧸ P)) ≅ CycleClass.Geometric.GenericPoint.reducedSupportScheme (CycleClass.Geometric.StratumClosure.integralImageClosure (affinePrimeQuotientMap R P)) := |
| 47 | Integral.ClosedImage.BundleCycles.integralClosedImageIso (affinePrimeQuotientMap R P) |
| 48 | |
| 49 | theorem affinePrimeSupport_principalDivisor [IsNoetherianRing R] |
| 50 | (g : (Spec (CommRingCat.of (R ⧸ P))).functionField) : |
| 51 | Finsupp.mapDomain (affinePrimeQuotientMap R P) |
| 52 | (RationalDivisorRestriction.BundleCycles.rationalPrincipalPointDivisor (Spec (CommRingCat.of (R ⧸ P))) g) = |
| 53 | Graded.GlobalSpecialization.BundleCycles.schemePrincipalPointDivisor (CycleClass.Geometric.StratumClosure.integralImageClosure (affinePrimeQuotientMap R P)) |
| 54 | (Integral.ClosedImage.BundleCycles.integralClosedImageFunction (affinePrimeQuotientMap R P) g) := |
| 55 | Integral.ClosedImage.BundleCycles.integralClosedImage_principalDivisor (affinePrimeQuotientMap R P) g |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.PrimeSupport.BundleCycles |