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.Blowup.Charts |
| 2 | |
| 3 | /-! # Localization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Localization.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Localization and the open complement maps of the affine blowup for Blowups. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 16 | |
| 17 | /-- The chart embedding gives the localized base its natural chart-algebra structure. -/ |
| 18 | instance blowupChartLocalizationAlgebra (a : I) : |
| 19 | Algebra (Charts.Construction.blowupChart I a) (Localization.Away a.val) := |
| 20 | (Charts.Construction.blowupChartToLocalization I a).toAlgebra |
| 21 | |
| 22 | /-- Inverting `a` in the chart `R[I/a]` gives precisely `R[1/a]`. -/ |
| 23 | instance blowupChartLocalization_isLocalization (a : I) : |
| 24 | IsLocalization.Away (Charts.Construction.blowupChartConstants I a a.val) (Localization.Away a.val) := by |
| 25 | refine IsLocalization.Away.mk (Charts.Construction.blowupChartConstants I a a.val) ?_ ?_ ?_ |
| 26 | · change IsUnit (Charts.Construction.blowupChartToLocalization I a (Charts.Construction.blowupChartConstants I a a.val)) |
| 27 | rw [Charts.Construction.blowupChartToLocalization_constants] |
| 28 | exact IsLocalization.Away.algebraMap_isUnit (S := Localization.Away a.val) a.val |
| 29 | · intro z |
| 30 | obtain ⟨n, r, hr⟩ := IsLocalization.Away.surj (S := Localization.Away a.val) a.val z |
| 31 | refine ⟨n, Charts.Construction.blowupChartConstants I a r, ?_⟩ |
| 32 | change z * Charts.Construction.blowupChartToLocalization I a (Charts.Construction.blowupChartConstants I a a.val) ^ n = |
| 33 | Charts.Construction.blowupChartToLocalization I a (Charts.Construction.blowupChartConstants I a r) |
| 34 | simpa only [Charts.Construction.blowupChartToLocalization_constants] using hr |
| 35 | · intro x y hxy |
| 36 | have h : x = y := Charts.Construction.blowupChartToLocalization_injective I a hxy |
| 37 | exact ⟨0, by simpa using h⟩ |
| 38 | |
| 39 | /-- The standard affine localization morphism of the base scheme. -/ |
| 40 | def baseLocalizationMap (a : R) : Spec (.of (Localization.Away a)) ⟶ Spec (.of R) := |
| 41 | Spec.map (CommRingCat.ofHom (algebraMap R (Localization.Away a))) |
| 42 | |
| 43 | instance baseLocalizationMap_isOpenImmersion (a : R) : |
| 44 | IsOpenImmersion (baseLocalizationMap a) := |
| 45 | IsOpenImmersion.of_isLocalization a |
| 46 | |
| 47 | /-- The open map from the complement of `a = 0` into the affine blowup. -/ |
| 48 | def affineBlowupComplementMap (a : I) : |
| 49 | Spec (.of (Localization.Away a.val)) ⟶ ReesGrading.Construction.affineBlowup I := |
| 50 | Spec.map (CommRingCat.ofHom (Charts.Construction.blowupChartToLocalization I a)) ≫ |
| 51 | Proj.awayι (ReesGrading.Construction.reesGrade I) (Charts.Construction.reesGenerator I a) (Charts.Construction.reesGenerator_mem I a) (by decide) |
| 52 | |
| 53 | instance affineBlowupComplementMap_isOpenImmersion (a : I) : |
| 54 | IsOpenImmersion (affineBlowupComplementMap I a) := by |
| 55 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (Charts.Construction.blowupChartToLocalization I a))) := |
| 56 | IsOpenImmersion.of_isLocalization (Charts.Construction.blowupChartConstants I a a.val) |
| 57 | unfold affineBlowupComplementMap |
| 58 | infer_instance |
| 59 | |
| 60 | /-- The open complement map lies over the original affine base. -/ |
| 61 | theorem affineBlowupComplementMap_over (a : I) : |
| 62 | affineBlowupComplementMap I a ≫ ReesGrading.Construction.affineBlowupToSpec I = baseLocalizationMap a.val := by |
| 63 | rw [affineBlowupComplementMap, Category.assoc, Charts.Construction.affineBlowup_chart_structureMap, |
| 64 | ← Spec.map_comp] |
| 65 | unfold baseLocalizationMap |
| 66 | congr 1 |
| 67 | ext r |
| 68 | exact Charts.Construction.blowupChartToLocalization_constants I a r |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Localization.Construction |