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.Resolution.Blowups.Coefficient.ChartSupport |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Localization |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.BlowupKernelSheaf |
| 4 | |
| 5 | /-! # Regular Principal Dense Complement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.RegularPrincipalDenseComplement.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Regular principal affine centers have a dense complement, including on disconnected reduced charts. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem regular_basicOpen_dense {R : Type} [CommRing R] (r : R) (hr : IsRegular r) : |
| 16 | Dense (PrimeSpectrum.basicOpen r : Set (PrimeSpectrum R)) := by |
| 17 | have hi : Function.Injective (algebraMap R (Localization.Away r)) := by |
| 18 | apply (IsLocalization.injective_iff_isRegular (M := Submonoid.powers r)).mpr |
| 19 | rintro ⟨s, n, rfl⟩ |
| 20 | exact hr.pow n |
| 21 | have hd : DenseRange (PrimeSpectrum.comap (algebraMap R (Localization.Away r))) := by |
| 22 | apply (PrimeSpectrum.denseRange_comap_iff_ker_le_nilRadical _).mpr |
| 23 | rw [(RingHom.injective_iff_ker_eq_bot _).mp hi] |
| 24 | exact bot_le |
| 25 | have he := congrArg (fun U : (Spec (.of R)).Opens => (U : Set (Spec (.of R)))) |
| 26 | (Scheme.Hom.opensRange_localizationAway (R := CommRingCat.of R) r) |
| 27 | change (Set.range (PrimeSpectrum.comap (algebraMap R (Localization.Away r)))) = |
| 28 | (PrimeSpectrum.basicOpen r : Set (PrimeSpectrum R)) at he |
| 29 | exact he ▸ hd |
| 30 | |
| 31 | theorem regular_affineQuotientKernel_supportComplement_dense |
| 32 | {R : Type} [CommRing R] (r : R) (hr : IsRegular r) : |
| 33 | Dense ((Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {r})).support.compl : Set (Spec (.of R))) := by |
| 34 | have he : ((Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {r})).support.compl : Set (Spec (.of R))) = |
| 35 | (PrimeSpectrum.basicOpen r : Set (PrimeSpectrum R)) := by |
| 36 | have h := congrArg (fun s : Set (Spec (.of R)) => sᶜ) (Coefficient.ChartSupport.Construction.affineQuotientKernel_support (Ideal.span {r})) |
| 37 | refine h.trans ?_ |
| 38 | ext p |
| 39 | change ¬ Ideal.span {r} ≤ p.asIdeal ↔ r ∉ p.asIdeal |
| 40 | rw [Ideal.span_singleton_le_iff_mem] |
| 41 | exact he.symm ▸ regular_basicOpen_dense r hr |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.Resolution.Blowups.RegularPrincipalDenseComplement.Construction |