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.RegularRingEquiv |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SchemeIdealModule |
| 3 | import Mathlib.AlgebraicGeometry.IdealSheaf.Basic |
| 4 | |
| 5 | /-! # Spec Principal Image Ideal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SpecPrincipalImageIdeal.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A principal kernel of an actual affine ring map is the same |
| 12 | principal image ideal in scheme global sections. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable {A B : Type} [CommRing A] [CommRing B] (φ : A →+* B) |
| 17 | |
| 18 | theorem specMap_kernel_top : |
| 19 | RingHom.ker (Spec.map (CommRingCat.ofHom φ)).appTop.hom = |
| 20 | (RingHom.ker φ).comap (Scheme.ΓSpecIso (.of A)).hom.hom := by |
| 21 | ext r |
| 22 | change (Spec.map (CommRingCat.ofHom φ)).appTop r = 0 ↔ φ ((Scheme.ΓSpecIso (.of A)).hom r) = 0 |
| 23 | have h := ConcreteCategory.congr_hom (Scheme.ΓSpecIso_naturality (CommRingCat.ofHom φ)) r |
| 24 | change (Scheme.ΓSpecIso (.of B)).hom ((Spec.map (CommRingCat.ofHom φ)).appTop r) = |
| 25 | φ ((Scheme.ΓSpecIso (.of A)).hom r) at h |
| 26 | constructor |
| 27 | · intro hr |
| 28 | exact h.symm.trans (by rw [hr, map_zero]) |
| 29 | · intro hr |
| 30 | apply (ConcreteCategory.bijective_of_isIso (Scheme.ΓSpecIso (.of B)).hom).1 |
| 31 | rw [map_zero] |
| 32 | exact h.trans hr |
| 33 | |
| 34 | theorem specMap_principal_kernel (t : A) (hker : RingHom.ker φ = Ideal.span {t}) : |
| 35 | RingHom.ker (Spec.map (CommRingCat.ofHom φ)).appTop.hom = |
| 36 | Ideal.span {(Scheme.ΓSpecIso (.of A)).inv t} := by |
| 37 | rw [specMap_kernel_top, hker] |
| 38 | let e := (Scheme.ΓSpecIso (.of A)).commRingCatIsoToRingEquiv |
| 39 | exact (Ideal.map_symm e).symm.trans (by rw [Ideal.map_span, Set.image_singleton]; rfl) |
| 40 | |
| 41 | theorem spec_regular_globalSection (t : A) (ht : IsRegular t) : |
| 42 | IsRegular ((Scheme.ΓSpecIso (.of A)).inv t) := |
| 43 | RegularRingEquiv.BundleCycles.regular_ringEquiv (Scheme.ΓSpecIso (.of A)).commRingCatIsoToRingEquiv.symm t ht |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SpecPrincipalImageIdeal.BundleCycles |